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-29887-jb5mq-fm11k-31782 Agent pingcap-tidb-ghpr-check2-29887-jb5mq-fm11k-31782 is provisioned from template pingcap_tidb_ghpr_check2_29887-jb5mq-fm11k --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29887/" runUrl: "job/pingcap/job/tidb/job/ghpr_check2/29887/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "c99c333ed5096ec2a3e83b8d6176142267eb5f75" jenkins/label: "pingcap_tidb_ghpr_check2_29887-jb5mq" name: "pingcap-tidb-ghpr-check2-29887-jb5mq-fm11k-31782" 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-29887-jb5mq-fm11k-31782" - name: "JENKINS_NAME" value: "pingcap-tidb-ghpr-check2-29887-jb5mq-fm11k-31782" - 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-29887-jb5mq-fm11k-31782 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/29887/display/redirect JENKINS_URL=https://do.pingcap.net/jenkins/ EXECUTOR_NUMBER=0 JOB_SPEC={"type":"presubmit","job":"pingcap/tidb/ghpr_check2","buildid":"1908136128448303107","prowjobid":"9a3b6091-8c9b-4b4f-8958-b0c3904260d3","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":60333,"author":"terry1purcell","sha":"3788203f0117c75b114b7d79571d10692a3291ea","title":"planner: add optimizer cost factors","head_ref":"costfactors","link":"https://github.com/pingcap/tidb/pull/60333","commit_link":"https://github.com/pingcap/tidb/pull/60333/commits/3788203f0117c75b114b7d79571d10692a3291ea","author_link":"https://github.com/terry1purcell"}]}} _=/usr/bin/printenv BUILD_ID=1908136128448303107 POD_LABEL=pingcap_tidb_ghpr_check2_29887-jb5mq HOSTNAME=pingcap-tidb-ghpr-check2-29887-jb5mq-fm11k-31782 OLDPWD=/home/jenkins RUN_CHANGES_DISPLAY_URL=https://do.pingcap.net/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29887/display/redirect?page=changes JENKINS_NODE_COOKIE=de979ef0-c5d8-4904-9545-719d2f051b9d 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=29887 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-29887-jb5mq-fm11k-31782 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/29887/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=9a3b6091-8c9b-4b4f-8958-b0c3904260d3 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/29887/display/redirect?page=artifacts BUILD_URL=https://do.pingcap.net/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29887/ TERM=xterm STAGE_NAME=Debug info JOB_URL=https://do.pingcap.net/jenkins/job/pingcap/job/tidb/job/ghpr_check2/ BUILD_DISPLAY_NAME=#29887 SHLVL=3 GIT_BRANCH=origin/main BUILD_TAG=jenkins-pingcap-tidb-ghpr_check2-29887 KUBERNETES_SERVICE_PORT=443 NODE_LABELS=pingcap_tidb_ghpr_check2_29887-jb5mq pingcap-tidb-ghpr-check2-29887-jb5mq-fm11k-31782 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-build2179224735=/tmp/go-build -gno-record-gcc-switches' + echo ------------------------- ------------------------- + echo 'debug command: kubectl -n jenkins-tidb exec -ti pingcap-tidb-ghpr-check2-29887-jb5mq-fm11k-31782 bash' debug command: kubectl -n jenkins-tidb exec -ti pingcap-tidb-ghpr-check2-29887-jb5mq-fm11k-31782 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: 24979 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1 ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 1232 ; COOKIE: e854490ab92021be (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: Fri Apr 04 12:35:08 UTC 2025 ;; MSG SIZE rcvd: 103 [Pipeline] script [Pipeline] { [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // container [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Checkout) [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] cache Cache restored successfully (git/pingcap/tidb/rev-d9fb3a5) 1213224960 bytes in 5.00 secs (242594069 bytes/sec) [Pipeline] { [Pipeline] retry [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] sh git version 2.43.5 Reinitialized existing Git repository in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.git/ .git HEAD is now at d9fb3a5337 ddl: Implement TableMode feature (#59009) POST git-upload-pack (656 bytes) POST git-upload-pack (973 bytes) From https://github.com/pingcap/tidb = [up to date] master -> origin/master 366d2f3058..3788203f01 refs/pull/60333/head -> origin/pr/60333/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 ... Auto-merging pkg/planner/core/planbuilder.go Merge made by the 'ort' strategy. Auto packing the repository in background for optimum performance. See "git help gc" for manual housekeeping. pkg/bindinfo/binding_auto.go | 112 +++++++++++++- pkg/bindinfo/binding_auto_hackathon.go | 168 +++++++++++++++++++++ pkg/executor/show.go | 3 +- pkg/planner/core/plan_cost_ver2.go | 54 +++++-- pkg/planner/core/plan_cost_ver2_test.go | 20 +-- pkg/planner/core/planbuilder.go | 4 +- pkg/sessionctx/vardef/tidb_vars.go | 30 ++++ pkg/sessionctx/variable/session.go | 28 ++++ pkg/sessionctx/variable/sysvar.go | 52 +++++++ tests/integrationtest/r/executor/explain.result | 4 +- tests/integrationtest/r/planner/core/cbo.result | 8 +- .../r/planner/core/plan_cache.result | 12 +- .../r/planner/core/plan_cost_ver2.result | 6 +- 13 files changed, 459 insertions(+), 42 deletions(-) create mode 100644 pkg/bindinfo/binding_auto_hackathon.go 🧾 Pre-merged result: 6966223d0bcf1d9c6eef744b4f5307f83ad97cfa 6966223d0b Merge commit '3788203f0117c75b114b7d79571d10692a3291ea' into HEAD 3788203f01 mege rule-based recommendation d0a456a540 update generation random values ✅ Pre merged 🎉 ✅ ~~~~~All done.~~~~~~ [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // retry [Pipeline] } Cache saved successfully (git/pingcap/tidb/rev-d9fb3a5-3788203) 1213337600 bytes in 16.48 secs (73607097 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-531-g6966223d0b" -X "github.com/pingcap/tidb/pkg/util/versioninfo.TiDBBuildTS=2025-04-04 12:35:43" -X "github.com/pingcap/tidb/pkg/util/versioninfo.TiDBGitHash=6966223d0bcf1d9c6eef744b4f5307f83ad97cfa" -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/pingcap/kvproto v0.0.0-20250224053625-b6a98c6bf02d go: downloading github.com/opentracing/opentracing-go v1.2.0 go: downloading github.com/pingcap/failpoint v0.0.0-20240528011301-b51a646c7c86 go: downloading github.com/grafana/pyroscope-go v1.2.1 go: downloading github.com/pingcap/errors v0.11.5-0.20240318064555-6bd07397691f go: downloading github.com/tikv/client-go/v2 v2.0.8-0.20250327030528-1906b778d741 go: downloading google.golang.org/grpc v1.63.2 go: downloading github.com/prometheus/client_golang v1.21.1 go: downloading github.com/BurntSushi/toml v1.5.0 go: downloading github.com/uber/jaeger-client-go v2.22.1+incompatible go: downloading go.uber.org/atomic v1.11.0 go: downloading go.uber.org/zap v1.27.0 go: downloading go.etcd.io/etcd/client/v3 v3.5.12 go: downloading github.com/pingcap/log v1.1.1-0.20241212030209-7e3ff8601a2a go: downloading go.uber.org/automaxprocs v1.6.0 go: downloading github.com/google/uuid v1.6.0 go: downloading github.com/tikv/pd/client v0.0.0-20250318085533-e8050f72d00d go: downloading github.com/pingcap/tipb v0.0.0-20250331100511-d2c561dad347 go: downloading github.com/ngaut/pools v0.0.0-20180318154953-b7bc8c42aac7 go: downloading golang.org/x/exp v0.0.0-20240909161429-701f63a606c0 go: downloading github.com/gogo/protobuf v1.3.2 go: downloading golang.org/x/sys v0.31.0 go: downloading github.com/golang/protobuf v1.5.4 go: downloading github.com/shirou/gopsutil/v3 v3.24.5 go: downloading github.com/grpc-ecosystem/go-grpc-middleware v1.4.0 go: downloading golang.org/x/net v0.38.0 go: downloading github.com/danjacques/gofslock v0.0.0-20191023191349-0a45f885bc37 go: downloading golang.org/x/sync v0.12.0 go: downloading github.com/google/pprof v0.0.0-20241001023024-f4c0cfd0cf1d go: downloading github.com/otiai10/copy v1.14.0 go: downloading github.com/dgraph-io/ristretto v0.1.1 go: downloading github.com/twmb/murmur3 v1.1.6 go: downloading github.com/cloudfoundry/gosigar v1.3.6 go: downloading github.com/stretchr/testify v1.10.0 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/blacktear23/go-proxyprotocol v1.0.6 go: downloading github.com/pingcap/sysutil v1.0.1-0.20240311050922-ae81ee01f3a5 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/coocood/freecache v1.2.1 go: downloading github.com/docker/go-units v0.5.0 go: downloading github.com/pkg/errors v0.9.1 go: downloading github.com/golang/snappy v0.0.4 go: downloading github.com/google/btree v1.1.2 go: downloading github.com/lestrrat-go/jwx/v2 v2.0.21 go: downloading github.com/prometheus/client_model v0.6.1 go: downloading github.com/wangjohn/quickselect v0.0.0-20161129230411-ed8402a42d5f go: downloading golang.org/x/text v0.23.0 go: downloading github.com/tiancaiamao/gp v0.0.0-20221230034425-4025bc8a4d4a go: downloading google.golang.org/protobuf v1.36.5 go: downloading github.com/opentracing/basictracer-go v1.0.0 go: downloading github.com/influxdata/tdigest v0.0.1 go: downloading github.com/json-iterator/go v1.1.12 go: downloading gopkg.in/yaml.v2 v2.4.0 go: downloading go.etcd.io/etcd/api/v3 v3.5.12 go: downloading github.com/ngaut/sync2 v0.0.0-20141008032647-7a24ed77b2ef go: downloading github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 go: downloading github.com/dolthub/swiss v0.2.1 go: downloading github.com/go-sql-driver/mysql v1.7.1 go: downloading gopkg.in/natefinch/lumberjack.v2 v2.2.1 go: downloading golang.org/x/time v0.11.0 go: downloading go.uber.org/multierr v1.11.0 go: downloading github.com/YangKeao/ldap/v3 v3.4.5-0.20230421065457-369a3bab1117 go: downloading github.com/grafana/pyroscope-go/godeltaprof v0.1.8 go: downloading github.com/qri-io/jsonschema v0.2.1 go: downloading github.com/bits-and-blooms/bitset v1.14.3 go: downloading github.com/coreos/go-semver v0.3.1 go: downloading github.com/prometheus/common v0.63.0 go: downloading github.com/sourcegraph/appdash v0.0.0-20190731080439-ebfcffb1b5c0 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/cespare/xxhash/v2 v2.3.0 go: downloading go.etcd.io/etcd/client/pkg/v3 v3.5.12 go: downloading golang.org/x/tools v0.31.0 go: downloading github.com/pingcap/badger v1.5.1-0.20241015064302-38533b6cbf8d go: downloading github.com/dgryski/go-farm v0.0.0-20240924180020-3414d57e47da go: downloading github.com/dolthub/maphash v0.1.0 go: downloading cloud.google.com/go/storage v1.38.0 go: downloading github.com/uber/jaeger-lib v2.4.1+incompatible go: downloading github.com/Azure/azure-sdk-for-go/sdk/azcore v1.14.0 go: downloading github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.7.0 go: downloading github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v1.0.0 go: downloading github.com/aliyun/alibaba-cloud-sdk-go v1.61.1581 go: downloading github.com/aws/aws-sdk-go v1.55.5 go: downloading github.com/go-resty/resty/v2 v2.11.0 go: downloading github.com/ks3sdklib/aws-sdk-go v1.2.9 go: downloading github.com/spf13/pflag v1.0.6 go: downloading golang.org/x/oauth2 v0.28.0 go: downloading google.golang.org/api v0.169.0 go: downloading github.com/beorn7/perks v1.0.1 go: downloading github.com/prometheus/procfs v0.16.0 go: downloading github.com/joho/sqltocsv v0.0.0-20210428211105-a6d6801d59df go: downloading cloud.google.com/go v0.112.1 go: downloading github.com/cheggaaa/pb/v3 v3.0.8 go: downloading golang.org/x/term v0.30.0 go: downloading github.com/carlmjohnson/flagext v0.21.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/jfcg/sorty/v2 v2.1.0 go: downloading github.com/robfig/cron/v3 v3.0.1 go: downloading github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd go: downloading github.com/modern-go/reflect2 v1.0.2 go: downloading go.uber.org/mock v0.4.0 go: downloading github.com/fatih/color v1.18.0 go: downloading github.com/vbauerster/mpb/v7 v7.5.3 go: downloading github.com/spf13/cobra v1.9.1 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/tklauser/go-sysconf v0.3.12 go: downloading google.golang.org/genproto/googleapis/api v0.0.0-20240318140521-94a12d6c2237 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/VividCortex/ewma v1.2.0 go: downloading github.com/dustin/go-humanize v1.0.1 go: downloading github.com/golang/glog v1.2.4 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 google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de go: downloading github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec go: downloading github.com/coreos/go-systemd/v22 v22.5.0 go: downloading github.com/qri-io/jsonpointer v0.1.1 go: downloading github.com/Azure/azure-sdk-for-go/sdk/internal v1.10.0 go: downloading github.com/AzureAD/microsoft-authentication-library-for-go v1.2.2 go: downloading golang.org/x/crypto v0.36.0 go: downloading github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 go: downloading github.com/mattn/go-colorable v0.1.14 go: downloading github.com/mattn/go-isatty v0.0.20 go: downloading github.com/mattn/go-runewidth v0.0.16 go: downloading github.com/zyedidia/generic v1.2.1 go: downloading cloud.google.com/go/compute/metadata v0.3.0 go: downloading github.com/jedib0t/go-pretty/v6 v6.2.2 go: downloading github.com/jfcg/sixb v1.3.8 go: downloading github.com/Masterminds/semver v1.5.0 go: downloading k8s.io/api v0.29.11 go: downloading github.com/emirpasic/gods v1.18.1 go: downloading github.com/acarl005/stripansi v0.0.0-20180116102854-5a71ef0e047d go: downloading github.com/apache/thrift v0.16.0 go: downloading cloud.google.com/go/iam v1.1.6 go: downloading github.com/googleapis/gax-go/v2 v2.12.2 go: downloading gopkg.in/yaml.v3 v3.0.1 go: downloading github.com/pingcap/goleveldb v0.0.0-20191226122134-f82aafb29989 go: downloading github.com/tklauser/numcpus v0.6.1 go: downloading github.com/lestrrat-go/httpcc v1.0.1 go: downloading github.com/ncw/directio v1.0.5 go: downloading github.com/coocood/rtutil v0.0.0-20190304133409-c84515f646f2 go: downloading github.com/coocood/bbloom v0.0.0-20190830030839-58deb6228d64 go: downloading github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c go: downloading github.com/kylelemons/godebug v1.1.0 go: downloading github.com/rivo/uniseg v0.4.7 go: downloading google.golang.org/genproto/googleapis/rpc v0.0.0-20240515191416-fc5f0ca64291 go: downloading github.com/apache/arrow/go/v12 v12.0.1 go: downloading github.com/goccy/go-reflect v1.2.0 go: downloading go.opencensus.io v0.24.0 go: downloading go.opentelemetry.io/otel v1.24.0 go: downloading go.opentelemetry.io/otel/trace v1.24.0 go: downloading github.com/klauspost/cpuid v1.3.1 go: downloading github.com/segmentio/fasthash v1.0.3 go: downloading github.com/golang-jwt/jwt/v5 v5.2.2 go: downloading github.com/pierrec/lz4/v4 v4.1.15 go: downloading cloud.google.com/go/kms v1.15.7 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/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/errors v1.11.3 go: downloading github.com/cockroachdb/tokenbucket v0.0.0-20230807174530-cc333fc44b06 go: downloading github.com/kr/pretty v0.3.1 go: downloading github.com/getsentry/sentry-go v0.27.0 go: downloading github.com/cockroachdb/logtags v0.0.0-20230118201751-21c54148d20b go: downloading github.com/kr/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/google/flatbuffers v2.0.8+incompatible go: downloading github.com/goccy/go-json v0.10.2 go: downloading github.com/zeebo/xxh3 v1.0.2 go: downloading github.com/andybalholm/brotli v1.0.5 go: downloading k8s.io/apimachinery v0.29.11 go: downloading github.com/klauspost/cpuid/v2 v2.0.9 go: downloading gopkg.in/inf.v0 v0.9.1 go: downloading k8s.io/klog/v2 v2.120.1 go: downloading github.com/google/gofuzz v1.2.0 go: downloading k8s.io/utils v0.0.0-20230726121419-3b25d923346b go: downloading sigs.k8s.io/structured-merge-diff/v4 v4.4.1 go: downloading sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd go: downloading 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-3788203f0117c75b114b7d79571d10692a3291ea) 253112320 bytes in 3.72 secs (68059433 bytes/sec) [Pipeline] // cache [Pipeline] script [Pipeline] { [Pipeline] echo computeBranchFromPR component: tikv, prTargetBranch: master, prTitle: planner: add optimizer cost factors, 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 621 0 --:--:-- --:--:-- --:--:-- 621 + sha1=3eb3439fd88f0db9de06ef92e845e80b32c9b49a + artifactUrl=http://fileserver.pingcap.net/download/builds/pingcap/tikv/3eb3439fd88f0db9de06ef92e845e80b32c9b49a/centos7/tikv-server.tar.gz + echo '⬇️📦 artifact url: http://fileserver.pingcap.net/download/builds/pingcap/tikv/3eb3439fd88f0db9de06ef92e845e80b32c9b49a/centos7/tikv-server.tar.gz' ⬇️📦 artifact url: http://fileserver.pingcap.net/download/builds/pingcap/tikv/3eb3439fd88f0db9de06ef92e845e80b32c9b49a/centos7/tikv-server.tar.gz ++ basename http://fileserver.pingcap.net/download/builds/pingcap/tikv/3eb3439fd88f0db9de06ef92e845e80b32c9b49a/centos7/tikv-server.tar.gz + saveFile=tikv-server.tar.gz + wget -q --retry-connrefused --waitretry=1 --read-timeout=20 --timeout=15 -t 3 -c -O tikv-server.tar.gz http://fileserver.pingcap.net/download/builds/pingcap/tikv/3eb3439fd88f0db9de06ef92e845e80b32c9b49a/centos7/tikv-server.tar.gz + echo '📂 extract bin from tikv-server.tar.gz ...' 📂 extract bin from tikv-server.tar.gz ... + tar -xzf tikv-server.tar.gz bin + rm tikv-server.tar.gz + echo '✅ extracted bin from tikv-server.tar.gz .' ✅ extracted bin from tikv-server.tar.gz . [Pipeline] echo computeBranchFromPR component: pd, prTargetBranch: master, prTitle: planner: add optimizer cost factors, 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 1025 0 --:--:-- --:--:-- --:--:-- 1025 + 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-3788203f0117c75b114b7d79571d10692a3291ea [Pipeline] } Cache saved successfully (ws/jenkins-pingcap-tidb-ghpr_check2-29887) 2925056000 bytes in 37.15 secs (78729585 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-29887-52g4f-4039b-d9nrv Created Pod: kubernetes jenkins-tidb/pingcap-tidb-ghpr-check2-29887-f1xk1-kxc0s-4lwmb 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-29887-b1vg2-8tf1q-h5d3s 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-29887-94h4k-frmc3-33jdj 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-29887-sbmgs-m0g4g-fbl43 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-29887-52g4f-4039b-d9nrv is provisioned from template pingcap_tidb_ghpr_check2_29887-52g4f-4039b --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29887/" runUrl: "job/pingcap/job/tidb/job/ghpr_check2/29887/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "a4a7131983a94f7c093c66b0e0fca619a48a0862" jenkins/label: "pingcap_tidb_ghpr_check2_29887-52g4f" name: "pingcap-tidb-ghpr-check2-29887-52g4f-4039b-d9nrv" 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-29887-52g4f-4039b-d9nrv" - name: "JENKINS_NAME" value: "pingcap-tidb-ghpr-check2-29887-52g4f-4039b-d9nrv" - 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-29887-68vts-1ln07-896vq Running on pingcap-tidb-ghpr-check2-29887-52g4f-4039b-d9nrv 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-29887-1bxzm-tqs5p-dmjjh No credentials specified Warning: JENKINS-30600: special launcher org.csanchez.jenkins.plugins.kubernetes.pipeline.ContainerExecDecorator$1@4e8cbb2d; decorates RemoteLauncher[hudson.remoting.Channel@4791d157:JNLP4-connect connection from 10.233.74.193/10.233.74.193:44598] will be ignored (a typical symptom is the Git executable not being run inside a designated container) Cloning the remote Git repository Using shallow clone with depth 1 Agent pingcap-tidb-ghpr-check2-29887-f1xk1-kxc0s-4lwmb is provisioned from template pingcap_tidb_ghpr_check2_29887-f1xk1-kxc0s --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29887/" runUrl: "job/pingcap/job/tidb/job/ghpr_check2/29887/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "c0771d45e41bb42303e8e5f70107bee1deac9b76" jenkins/label: "pingcap_tidb_ghpr_check2_29887-f1xk1" name: "pingcap-tidb-ghpr-check2-29887-f1xk1-kxc0s-4lwmb" 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-29887-f1xk1-kxc0s-4lwmb" - name: "JENKINS_NAME" value: "pingcap-tidb-ghpr-check2-29887-f1xk1-kxc0s-4lwmb" - 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-29887-f1xk1-kxc0s-4lwmb in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 [Pipeline] { [Pipeline] checkout The recommended git tool is: git Cloning repository https://github.com/PingCAP-QE/ci.git > git init /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 # timeout=10 Fetching upstream changes from https://github.com/PingCAP-QE/ci.git > git --version # timeout=10 > git --version # 'git version 2.39.2' > git fetch --tags --force --progress --depth=1 -- https://github.com/PingCAP-QE/ci.git +refs/heads/*:refs/remotes/origin/* # timeout=5 Obtained pipelines/pingcap/tidb/latest/pod-ghpr_check2.yaml from git https://github.com/PingCAP-QE/ci.git [Pipeline] podTemplate [Pipeline] { [Pipeline] node Created Pod: kubernetes jenkins-tidb/pingcap-tidb-ghpr-check2-29887-smjcp-t90nt-x1gns No credentials specified Warning: JENKINS-30600: special launcher org.csanchez.jenkins.plugins.kubernetes.pipeline.ContainerExecDecorator$1@43b6137c; decorates RemoteLauncher[hudson.remoting.Channel@50ea17e5:JNLP4-connect connection from 10.233.72.89/10.233.72.89:44754] will be ignored (a typical symptom is the Git executable not being run inside a designated container) Obtained pipelines/pingcap/tidb/latest/pod-ghpr_check2.yaml from git https://github.com/PingCAP-QE/ci.git Cloning the remote Git repository Using shallow clone with depth 1 [Pipeline] podTemplate [Pipeline] { [Pipeline] node Cloning repository https://github.com/PingCAP-QE/ci.git > git init /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 # timeout=10 Fetching upstream changes from https://github.com/PingCAP-QE/ci.git > git --version # timeout=10 > git --version # 'git version 2.39.2' > git fetch --tags --force --progress --depth=1 -- https://github.com/PingCAP-QE/ci.git +refs/heads/*:refs/remotes/origin/* # timeout=5 Created Pod: kubernetes jenkins-tidb/pingcap-tidb-ghpr-check2-29887-mpsdb-l8nzt-jhh1k 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-29887-kqbdx-9097c-3zksh 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 [Pipeline] podTemplate [Pipeline] { Agent pingcap-tidb-ghpr-check2-29887-b1vg2-8tf1q-h5d3s is provisioned from template pingcap_tidb_ghpr_check2_29887-b1vg2-8tf1q --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29887/" runUrl: "job/pingcap/job/tidb/job/ghpr_check2/29887/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "d612ba9b301ff6e2642fa6dd188874a1ca938041" jenkins/label: "pingcap_tidb_ghpr_check2_29887-b1vg2" name: "pingcap-tidb-ghpr-check2-29887-b1vg2-8tf1q-h5d3s" 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-29887-b1vg2-8tf1q-h5d3s" - name: "JENKINS_NAME" value: "pingcap-tidb-ghpr-check2-29887-b1vg2-8tf1q-h5d3s" - name: "JENKINS_AGENT_WORKDIR" value: "/home/jenkins/agent" - name: "JENKINS_URL" value: "http://jenkins.apps.svc.cluster.local:8080/jenkins/" image: "jenkins/inbound-agent:3206.vb_15dcf73f6a_9-2" name: "jnlp" resources: requests: memory: "256Mi" cpu: "100m" volumeMounts: - mountPath: "/home/jenkins/agent" name: "workspace-volume" readOnly: false restartPolicy: "Never" securityContext: fsGroup: 1000 volumes: - emptyDir: {} name: "bazel-out-merged" - name: "bazel-rc" secret: secretName: "bazel" - emptyDir: {} name: "bazel-out-overlay" - name: "gocache" persistentVolumeClaim: claimName: "gocache" - downwardAPI: items: - path: "cpu_limit" resourceFieldRef: containerName: "golang" resource: "limits.cpu" - path: "cpu_request" resourceFieldRef: containerName: "golang" resource: "requests.cpu" - path: "mem_limit" resourceFieldRef: containerName: "golang" resource: "limits.memory" - path: "mem_request" resourceFieldRef: containerName: "golang" resource: "requests.memory" name: "containerinfo" - name: "bazel-out-lower" persistentVolumeClaim: claimName: "bazel-out-data" - emptyDir: medium: "" name: "workspace-volume" - name: "gopathcache" persistentVolumeClaim: claimName: "gopathcache" - name: "bazel-repository-cache" persistentVolumeClaim: claimName: "bazel-repository-cache" [Pipeline] node Running on pingcap-tidb-ghpr-check2-29887-b1vg2-8tf1q-h5d3s in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 Agent pingcap-tidb-ghpr-check2-29887-94h4k-frmc3-33jdj is provisioned from template pingcap_tidb_ghpr_check2_29887-94h4k-frmc3 --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29887/" runUrl: "job/pingcap/job/tidb/job/ghpr_check2/29887/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "5837ed1d9bb2a0fbafedc3359001fbddd6d1ee0a" jenkins/label: "pingcap_tidb_ghpr_check2_29887-94h4k" name: "pingcap-tidb-ghpr-check2-29887-94h4k-frmc3-33jdj" 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-29887-94h4k-frmc3-33jdj" - name: "JENKINS_NAME" value: "pingcap-tidb-ghpr-check2-29887-94h4k-frmc3-33jdj" - 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-29887-68vts-1ln07-896vq is provisioned from template pingcap_tidb_ghpr_check2_29887-68vts-1ln07 --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29887/" runUrl: "job/pingcap/job/tidb/job/ghpr_check2/29887/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "d1eeb171cf161fdd5c62a5505201df680485e56d" jenkins/label: "pingcap_tidb_ghpr_check2_29887-68vts" name: "pingcap-tidb-ghpr-check2-29887-68vts-1ln07-896vq" 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-29887-68vts-1ln07-896vq" - name: "JENKINS_NAME" value: "pingcap-tidb-ghpr-check2-29887-68vts-1ln07-896vq" - 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-29887-94h4k-frmc3-33jdj in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 Running on pingcap-tidb-ghpr-check2-29887-68vts-1ln07-896vq 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)" [Pipeline] { [Pipeline] { [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] checkout [Pipeline] checkout Created Pod: kubernetes jenkins-tidb/pingcap-tidb-ghpr-check2-29887-sspb4-svvth-3dk24 The recommended git tool is: git [Pipeline] checkout Agent pingcap-tidb-ghpr-check2-29887-sbmgs-m0g4g-fbl43 is provisioned from template pingcap_tidb_ghpr_check2_29887-sbmgs-m0g4g --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29887/" runUrl: "job/pingcap/job/tidb/job/ghpr_check2/29887/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "d0c6d77a56d38972182c8ba74913195c26686c61" jenkins/label: "pingcap_tidb_ghpr_check2_29887-sbmgs" name: "pingcap-tidb-ghpr-check2-29887-sbmgs-m0g4g-fbl43" 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-29887-sbmgs-m0g4g-fbl43" - name: "JENKINS_NAME" value: "pingcap-tidb-ghpr-check2-29887-sbmgs-m0g4g-fbl43" - 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" The recommended git tool is: git Running on pingcap-tidb-ghpr-check2-29887-sbmgs-m0g4g-fbl43 in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 [Pipeline] container The recommended git tool is: git [Pipeline] { [Pipeline] { [Pipeline] checkout [Pipeline] stage [Pipeline] { (Test) The recommended git tool is: git [Pipeline] timeout Timeout set to expire in 50 min [Pipeline] { [Pipeline] withCredentials Agent pingcap-tidb-ghpr-check2-29887-1bxzm-tqs5p-dmjjh is provisioned from template pingcap_tidb_ghpr_check2_29887-1bxzm-tqs5p --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29887/" runUrl: "job/pingcap/job/tidb/job/ghpr_check2/29887/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "12ef1e32b07e8fa854c4334e214c8465d39b9c5f" jenkins/label: "pingcap_tidb_ghpr_check2_29887-1bxzm" name: "pingcap-tidb-ghpr-check2-29887-1bxzm-tqs5p-dmjjh" 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-29887-1bxzm-tqs5p-dmjjh" - name: "JENKINS_NAME" value: "pingcap-tidb-ghpr-check2-29887-1bxzm-tqs5p-dmjjh" - 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" Masking supported pattern matches of $CODECOV_TOKEN Running on pingcap-tidb-ghpr-check2-29887-1bxzm-tqs5p-dmjjh in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 [Pipeline] { > git config remote.origin.url https://github.com/PingCAP-QE/ci.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] { [Pipeline] checkout > git config remote.origin.url https://github.com/PingCAP-QE/ci.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse origin/main^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b2a59508c11c86ba701c4af25fc536a9475b82c6 # timeout=10 [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { 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] cache 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)" Created Pod: kubernetes jenkins-tidb/pingcap-tidb-ghpr-check2-29887-2vrpk-50750-g5bkp No credentials specified Warning: JENKINS-30600: special launcher org.csanchez.jenkins.plugins.kubernetes.pipeline.ContainerExecDecorator$1@3d2d5d68; decorates RemoteLauncher[hudson.remoting.Channel@120fb2d:JNLP4-connect connection from 10.233.68.113/10.233.68.113:56770] 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@1c4df778; decorates RemoteLauncher[hudson.remoting.Channel@539ac03e:JNLP4-connect connection from 10.233.66.67/10.233.66.67:51544] 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@6f73c36e; decorates RemoteLauncher[hudson.remoting.Channel@534db7ee:JNLP4-connect connection from 10.233.71.114/10.233.71.114:51694] 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 No credentials specified Warning: JENKINS-30600: special launcher org.csanchez.jenkins.plugins.kubernetes.pipeline.ContainerExecDecorator$1@43779809; decorates RemoteLauncher[hudson.remoting.Channel@5763003b:JNLP4-connect connection from 10.233.70.1/10.233.70.1:44512] 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 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@13301c4b; decorates RemoteLauncher[hudson.remoting.Channel@7fbe9969:JNLP4-connect connection from 10.233.69.228/10.233.69.228:39442] 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 > git rev-parse origin/main^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b2a59508c11c86ba701c4af25fc536a9475b82c6 # timeout=10 Cloning repository https://github.com/PingCAP-QE/ci.git > git init /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 # timeout=10 Fetching upstream changes from https://github.com/PingCAP-QE/ci.git > git --version # timeout=10 > git --version # 'git version 2.39.2' > git fetch --tags --force --progress --depth=1 -- https://github.com/PingCAP-QE/ci.git +refs/heads/*:refs/remotes/origin/* # timeout=5 Obtained pipelines/pingcap/tidb/latest/pod-ghpr_check2.yaml from git https://github.com/PingCAP-QE/ci.git Agent pingcap-tidb-ghpr-check2-29887-smjcp-t90nt-x1gns is provisioned from template pingcap_tidb_ghpr_check2_29887-smjcp-t90nt --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29887/" runUrl: "job/pingcap/job/tidb/job/ghpr_check2/29887/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "4a72795c822c00cd0d26ef5c06e434ea2fa4c3c1" jenkins/label: "pingcap_tidb_ghpr_check2_29887-smjcp" name: "pingcap-tidb-ghpr-check2-29887-smjcp-t90nt-x1gns" 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-29887-smjcp-t90nt-x1gns" - name: "JENKINS_NAME" value: "pingcap-tidb-ghpr-check2-29887-smjcp-t90nt-x1gns" - 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-29887-smjcp-t90nt-x1gns in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 Agent pingcap-tidb-ghpr-check2-29887-mpsdb-l8nzt-jhh1k is provisioned from template pingcap_tidb_ghpr_check2_29887-mpsdb-l8nzt --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29887/" runUrl: "job/pingcap/job/tidb/job/ghpr_check2/29887/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "a26a7e9120ab9026bf1c850c08a738dd6ffe31c0" jenkins/label: "pingcap_tidb_ghpr_check2_29887-mpsdb" name: "pingcap-tidb-ghpr-check2-29887-mpsdb-l8nzt-jhh1k" 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-29887-mpsdb-l8nzt-jhh1k" - name: "JENKINS_NAME" value: "pingcap-tidb-ghpr-check2-29887-mpsdb-l8nzt-jhh1k" - 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-29887-mpsdb-l8nzt-jhh1k 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-29887-kqbdx-9097c-3zksh is provisioned from template pingcap_tidb_ghpr_check2_29887-kqbdx-9097c --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29887/" runUrl: "job/pingcap/job/tidb/job/ghpr_check2/29887/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "ff9d9a9a7882015dc3edef8beb7e615de339e913" jenkins/label: "pingcap_tidb_ghpr_check2_29887-kqbdx" name: "pingcap-tidb-ghpr-check2-29887-kqbdx-9097c-3zksh" 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-29887-kqbdx-9097c-3zksh" - name: "JENKINS_NAME" value: "pingcap-tidb-ghpr-check2-29887-kqbdx-9097c-3zksh" - 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-29887-kqbdx-9097c-3zksh in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 > git config remote.origin.url https://github.com/PingCAP-QE/ci.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git 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) Avoid second fetch Checking out Revision b2a59508c11c86ba701c4af25fc536a9475b82c6 (origin/main) Avoid second fetch Checking out Revision b2a59508c11c86ba701c4af25fc536a9475b82c6 (origin/main) Avoid second fetch Checking out Revision b2a59508c11c86ba701c4af25fc536a9475b82c6 (origin/main) > git config remote.origin.url https://github.com/PingCAP-QE/ci.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse origin/main^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b2a59508c11c86ba701c4af25fc536a9475b82c6 # timeout=10 Agent pingcap-tidb-ghpr-check2-29887-sspb4-svvth-3dk24 is provisioned from template pingcap_tidb_ghpr_check2_29887-sspb4-svvth --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29887/" runUrl: "job/pingcap/job/tidb/job/ghpr_check2/29887/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "c1a57d76c51bd9a9da065a4a3dd955749ef1aa40" jenkins/label: "pingcap_tidb_ghpr_check2_29887-sspb4" name: "pingcap-tidb-ghpr-check2-29887-sspb4-svvth-3dk24" 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-29887-sspb4-svvth-3dk24" - name: "JENKINS_NAME" value: "pingcap-tidb-ghpr-check2-29887-sspb4-svvth-3dk24" - 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-29887-sspb4-svvth-3dk24 in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 Commit message: "feat(prow-jobs/pingcap-qe/ci): add periodic job to crawl pull requests and issues (#3449)" Commit message: "feat(prow-jobs/pingcap-qe/ci): add periodic job to crawl pull requests and issues (#3449)" 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 Obtained pipelines/pingcap/tidb/latest/pod-ghpr_check2.yaml from git https://github.com/PingCAP-QE/ci.git Avoid second fetch Checking out Revision b2a59508c11c86ba701c4af25fc536a9475b82c6 (origin/main) Commit message: "feat(prow-jobs/pingcap-qe/ci): add periodic job to crawl pull requests and issues (#3449)" > 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 Obtained pipelines/pingcap/tidb/latest/pod-ghpr_check2.yaml from git https://github.com/PingCAP-QE/ci.git > git rev-parse origin/main^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b2a59508c11c86ba701c4af25fc536a9475b82c6 # timeout=10 Agent pingcap-tidb-ghpr-check2-29887-2vrpk-50750-g5bkp is provisioned from template pingcap_tidb_ghpr_check2_29887-2vrpk-50750 --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29887/" runUrl: "job/pingcap/job/tidb/job/ghpr_check2/29887/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "16568cfccddf0cb7046faa960c9e5f9a71ed6c17" jenkins/label: "pingcap_tidb_ghpr_check2_29887-2vrpk" name: "pingcap-tidb-ghpr-check2-29887-2vrpk-50750-g5bkp" 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-29887-2vrpk-50750-g5bkp" - name: "JENKINS_NAME" value: "pingcap-tidb-ghpr-check2-29887-2vrpk-50750-g5bkp" - 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-29887-2vrpk-50750-g5bkp in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 Cache restored successfully (ws/jenkins-pingcap-tidb-ghpr_check2-29887) 2925056000 bytes in 8.04 secs (363912876 bytes/sec) [Pipeline] { [Pipeline] podTemplate [Pipeline] { [Pipeline] podTemplate [Pipeline] { [Pipeline] podTemplate [Pipeline] { [Pipeline] podTemplate [Pipeline] { [Pipeline] podTemplate [Pipeline] { [Pipeline] podTemplate [Pipeline] { [Pipeline] sh [Pipeline] node [Pipeline] node [Pipeline] node [Pipeline] node [Pipeline] node [Pipeline] node [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { + ls -l rev-3788203f0117c75b114b7d79571d10692a3291ea -rw-r--r-- 1 jenkins jenkins 0 Apr 4 12:39 rev-3788203f0117c75b114b7d79571d10692a3291ea [Pipeline] withEnv [Pipeline] { [Pipeline] { [Pipeline] { [Pipeline] { [Pipeline] { [Pipeline] container [Pipeline] { [Pipeline] container [Pipeline] { [Pipeline] container [Pipeline] { [Pipeline] container [Pipeline] { [Pipeline] container [Pipeline] { [Pipeline] container [Pipeline] { [Pipeline] checkout [Pipeline] checkout [Pipeline] checkout The recommended git tool is: git The recommended git tool is: git [Pipeline] checkout The recommended git tool is: git [Pipeline] { The recommended git tool is: git [Pipeline] checkout [Pipeline] stage [Pipeline] { (Test) [Pipeline] stage [Pipeline] { (Test) The recommended git tool is: git [Pipeline] stage [Pipeline] { (Test) [Pipeline] stage [Pipeline] { (Test) [Pipeline] stage [Pipeline] { (Test) [Pipeline] stage [Pipeline] { (Test) [Pipeline] } Created Pod: kubernetes jenkins-tidb/pingcap-tidb-ghpr-check2-29887-627nv-dqcm5-k81lj Cache not saved (ws/jenkins-pingcap-tidb-ghpr_check2-29887 already exists) Created Pod: kubernetes jenkins-tidb/pingcap-tidb-ghpr-check2-29887-8wlz1-s6q5r-x62vc Created Pod: kubernetes jenkins-tidb/pingcap-tidb-ghpr-check2-29887-lj6z5-qnxvv-tp03q Created Pod: kubernetes jenkins-tidb/pingcap-tidb-ghpr-check2-29887-qvtc6-k4jlf-2qr8m Created Pod: kubernetes jenkins-tidb/pingcap-tidb-ghpr-check2-29887-t1w5n-bfkxm-npxcg Created Pod: kubernetes jenkins-tidb/pingcap-tidb-ghpr-check2-29887-xbtnz-2qdrq-hbx5l [Pipeline] timeout Timeout set to expire in 50 min [Pipeline] { [Pipeline] timeout Timeout set to expire in 50 min [Pipeline] { [Pipeline] timeout Timeout set to expire in 50 min [Pipeline] { [Pipeline] timeout Timeout set to expire in 50 min [Pipeline] { [Pipeline] timeout Timeout set to expire in 50 min [Pipeline] { [Pipeline] timeout Timeout set to expire in 50 min [Pipeline] { [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] // cache [Pipeline] sh No credentials specified Warning: JENKINS-30600: special launcher org.csanchez.jenkins.plugins.kubernetes.pipeline.ContainerExecDecorator$1@12db23c8; decorates RemoteLauncher[hudson.remoting.Channel@59f3607f:JNLP4-connect connection from 10.233.74.63/10.233.74.63:41278] 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@12a4ce43; decorates RemoteLauncher[hudson.remoting.Channel@33c06c0f:JNLP4-connect connection from 10.233.77.102/10.233.77.102:43474] 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@ae93372; decorates RemoteLauncher[hudson.remoting.Channel@6e90e267:JNLP4-connect connection from 10.233.78.23/10.233.78.23:51038] 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@2591cad2; decorates RemoteLauncher[hudson.remoting.Channel@14f20476:JNLP4-connect connection from 10.233.67.212/10.233.67.212:55418] 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] { [Pipeline] { [Pipeline] { [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { 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] 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] { Cloning repository https://github.com/PingCAP-QE/ci.git > git init /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 # timeout=10 Fetching upstream changes from https://github.com/PingCAP-QE/ci.git > git --version # timeout=10 > git --version # 'git version 2.39.2' > git fetch --tags --force --progress --depth=1 -- https://github.com/PingCAP-QE/ci.git +refs/heads/*:refs/remotes/origin/* # timeout=5 [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { + chmod +x ../scripts/pingcap/tidb/br-lightning_run_group.sh ../scripts/pingcap/tidb/br-lightning_run_group_v2.sh ../scripts/pingcap/tidb/br_integration_test_download_dependency.sh ../scripts/pingcap/tidb/integrationtest.sh ../scripts/pingcap/tidb/integrationtest_v2.sh ../scripts/pingcap/tidb/integrationtest_with_tikv.sh ../scripts/pingcap/tidb/run_real_tikv_tests.sh ../scripts/pingcap/tidb/run_real_tikv_tests_with_gotest.sh Cloning repository https://github.com/PingCAP-QE/ci.git > git init /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 # timeout=10 Fetching upstream changes from https://github.com/PingCAP-QE/ci.git > git --version # timeout=10 > git --version # 'git version 2.39.2' > git fetch --tags --force --progress --depth=1 -- https://github.com/PingCAP-QE/ci.git +refs/heads/*:refs/remotes/origin/* # timeout=5 [Pipeline] cache No credentials specified Warning: JENKINS-30600: special launcher org.csanchez.jenkins.plugins.kubernetes.pipeline.ContainerExecDecorator$1@7901123a; decorates RemoteLauncher[hudson.remoting.Channel@4051e1c8:JNLP4-connect connection from 10.233.75.29/10.233.75.29:52324] 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) Avoid second fetch Checking out Revision b2a59508c11c86ba701c4af25fc536a9475b82c6 (origin/main) Commit message: "feat(prow-jobs/pingcap-qe/ci): add periodic job to crawl pull requests and issues (#3449)" > git config remote.origin.url https://github.com/PingCAP-QE/ci.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse origin/main^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b2a59508c11c86ba701c4af25fc536a9475b82c6 # timeout=10 Commit message: "feat(prow-jobs/pingcap-qe/ci): add periodic job to crawl pull requests and issues (#3449)" > git config remote.origin.url https://github.com/PingCAP-QE/ci.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch > 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 Checking out Revision b2a59508c11c86ba701c4af25fc536a9475b82c6 (origin/main) > git config remote.origin.url https://github.com/PingCAP-QE/ci.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse origin/main^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b2a59508c11c86ba701c4af25fc536a9475b82c6 # timeout=10 Avoid second fetch Checking out Revision b2a59508c11c86ba701c4af25fc536a9475b82c6 (origin/main) 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)" Agent pingcap-tidb-ghpr-check2-29887-xbtnz-2qdrq-hbx5l is provisioned from template pingcap_tidb_ghpr_check2_29887-xbtnz-2qdrq --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29887/" runUrl: "job/pingcap/job/tidb/job/ghpr_check2/29887/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "d7822fb3c497708c11e20611c1ad1c61c752aea5" jenkins/label: "pingcap_tidb_ghpr_check2_29887-xbtnz" name: "pingcap-tidb-ghpr-check2-29887-xbtnz-2qdrq-hbx5l" 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-29887-xbtnz-2qdrq-hbx5l" - name: "JENKINS_NAME" value: "pingcap-tidb-ghpr-check2-29887-xbtnz-2qdrq-hbx5l" - 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-29887-xbtnz-2qdrq-hbx5l in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 Agent pingcap-tidb-ghpr-check2-29887-qvtc6-k4jlf-2qr8m is provisioned from template pingcap_tidb_ghpr_check2_29887-qvtc6-k4jlf --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29887/" runUrl: "job/pingcap/job/tidb/job/ghpr_check2/29887/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "118547943959e6e883b1886468b7d20014274d4c" jenkins/label: "pingcap_tidb_ghpr_check2_29887-qvtc6" name: "pingcap-tidb-ghpr-check2-29887-qvtc6-k4jlf-2qr8m" 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-29887-qvtc6-k4jlf-2qr8m" - name: "JENKINS_NAME" value: "pingcap-tidb-ghpr-check2-29887-qvtc6-k4jlf-2qr8m" - 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-29887-qvtc6-k4jlf-2qr8m in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 Agent pingcap-tidb-ghpr-check2-29887-627nv-dqcm5-k81lj is provisioned from template pingcap_tidb_ghpr_check2_29887-627nv-dqcm5 --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29887/" runUrl: "job/pingcap/job/tidb/job/ghpr_check2/29887/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "a98027065b3428cf071a77b8c15774ea9bf29cef" jenkins/label: "pingcap_tidb_ghpr_check2_29887-627nv" name: "pingcap-tidb-ghpr-check2-29887-627nv-dqcm5-k81lj" 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-29887-627nv-dqcm5-k81lj" - name: "JENKINS_NAME" value: "pingcap-tidb-ghpr-check2-29887-627nv-dqcm5-k81lj" - 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-29887-627nv-dqcm5-k81lj in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 Agent pingcap-tidb-ghpr-check2-29887-lj6z5-qnxvv-tp03q is provisioned from template pingcap_tidb_ghpr_check2_29887-lj6z5-qnxvv --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29887/" runUrl: "job/pingcap/job/tidb/job/ghpr_check2/29887/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "270921be8af4c1ffb4c71181ab2399aba252e4fe" jenkins/label: "pingcap_tidb_ghpr_check2_29887-lj6z5" name: "pingcap-tidb-ghpr-check2-29887-lj6z5-qnxvv-tp03q" 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-29887-lj6z5-qnxvv-tp03q" - name: "JENKINS_NAME" value: "pingcap-tidb-ghpr-check2-29887-lj6z5-qnxvv-tp03q" - 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-29887-lj6z5-qnxvv-tp03q in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 Agent pingcap-tidb-ghpr-check2-29887-8wlz1-s6q5r-x62vc is provisioned from template pingcap_tidb_ghpr_check2_29887-8wlz1-s6q5r --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29887/" runUrl: "job/pingcap/job/tidb/job/ghpr_check2/29887/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "86866390f5fc1831cf993ce817eb9c46abda6c53" jenkins/label: "pingcap_tidb_ghpr_check2_29887-8wlz1" name: "pingcap-tidb-ghpr-check2-29887-8wlz1-s6q5r-x62vc" 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-29887-8wlz1-s6q5r-x62vc" - name: "JENKINS_NAME" value: "pingcap-tidb-ghpr-check2-29887-8wlz1-s6q5r-x62vc" - 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-29887-8wlz1-s6q5r-x62vc in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 Avoid second fetch Checking out Revision b2a59508c11c86ba701c4af25fc536a9475b82c6 (origin/main) Agent pingcap-tidb-ghpr-check2-29887-t1w5n-bfkxm-npxcg is provisioned from template pingcap_tidb_ghpr_check2_29887-t1w5n-bfkxm --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29887/" runUrl: "job/pingcap/job/tidb/job/ghpr_check2/29887/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "76e1cf17a9b360cab1965265730a10ee8da70618" jenkins/label: "pingcap_tidb_ghpr_check2_29887-t1w5n" name: "pingcap-tidb-ghpr-check2-29887-t1w5n-bfkxm-npxcg" 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-29887-t1w5n-bfkxm-npxcg" - name: "JENKINS_NAME" value: "pingcap-tidb-ghpr-check2-29887-t1w5n-bfkxm-npxcg" - 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-29887-t1w5n-bfkxm-npxcg 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 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 Cache restored successfully (ws/jenkins-pingcap-tidb-ghpr_check2-29887) 2925056000 bytes in 8.26 secs (354078488 bytes/sec) [Pipeline] { [Pipeline] cache Cache restored successfully (ws/jenkins-pingcap-tidb-ghpr_check2-29887) 2925056000 bytes in 8.21 secs (356405489 bytes/sec) [Pipeline] { [Pipeline] cache Cache restored successfully (ws/jenkins-pingcap-tidb-ghpr_check2-29887) 2925056000 bytes in 8.24 secs (354924788 bytes/sec) [Pipeline] { [Pipeline] cache Cache restored successfully (ws/jenkins-pingcap-tidb-ghpr_check2-29887) 2925056000 bytes in 8.68 secs (336802758 bytes/sec) [Pipeline] { [Pipeline] cache Cache restored successfully (ws/jenkins-pingcap-tidb-ghpr_check2-29887) 2925056000 bytes in 7.89 secs (370715636 bytes/sec) [Pipeline] { [Pipeline] cache Cache restored successfully (ws/jenkins-pingcap-tidb-ghpr_check2-29887) 2925056000 bytes in 8.68 secs (336994857 bytes/sec) [Pipeline] { [Pipeline] sh [Pipeline] sh + ls -l rev-3788203f0117c75b114b7d79571d10692a3291ea -rw-r--r--. 1 jenkins jenkins 0 Apr 4 12:39 rev-3788203f0117c75b114b7d79571d10692a3291ea [Pipeline] sh [Pipeline] sh + ls -l rev-3788203f0117c75b114b7d79571d10692a3291ea -rw-r--r--. 1 jenkins jenkins 0 Apr 4 12:39 rev-3788203f0117c75b114b7d79571d10692a3291ea + ls -l rev-3788203f0117c75b114b7d79571d10692a3291ea -rw-r--r--. 1 jenkins jenkins 0 Apr 4 12:39 rev-3788203f0117c75b114b7d79571d10692a3291ea [Pipeline] sh [Pipeline] sh + ls -l rev-3788203f0117c75b114b7d79571d10692a3291ea -rw-r--r--. 1 jenkins jenkins 0 Apr 4 12:39 rev-3788203f0117c75b114b7d79571d10692a3291ea + ls -l rev-3788203f0117c75b114b7d79571d10692a3291ea -rw-r--r--. 1 jenkins jenkins 0 Apr 4 12:39 rev-3788203f0117c75b114b7d79571d10692a3291ea [Pipeline] sh + ls -l rev-3788203f0117c75b114b7d79571d10692a3291ea -rw-r--r--. 1 jenkins jenkins 0 Apr 4 12:39 rev-3788203f0117c75b114b7d79571d10692a3291ea [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] } Cache not saved (ws/jenkins-pingcap-tidb-ghpr_check2-29887 already exists) [Pipeline] } Cache not saved (ws/jenkins-pingcap-tidb-ghpr_check2-29887 already exists) [Pipeline] } Cache not saved (ws/jenkins-pingcap-tidb-ghpr_check2-29887 already exists) [Pipeline] } Cache not saved (ws/jenkins-pingcap-tidb-ghpr_check2-29887 already exists) [Pipeline] } Cache not saved (ws/jenkins-pingcap-tidb-ghpr_check2-29887 already exists) [Pipeline] } Cache not saved (ws/jenkins-pingcap-tidb-ghpr_check2-29887 already exists) [Pipeline] container [Pipeline] { [Pipeline] container [Pipeline] { [Pipeline] container [Pipeline] { [Pipeline] container [Pipeline] { [Pipeline] container [Pipeline] { [Pipeline] { [Pipeline] { [Pipeline] { [Pipeline] { [Pipeline] { [Pipeline] { [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 The recommended git tool is: git [Pipeline] sh [Pipeline] // cache [Pipeline] // cache [Pipeline] // cache [Pipeline] // cache [Pipeline] // cache [Pipeline] sh + /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/scripts/pingcap/tidb/integrationtest_with_tikv.sh y ~/agent/workspace/pingcap/tidb/ghpr_check2/tidb/tests/integrationtest ~/agent/workspace/pingcap/tidb/ghpr_check2/tidb extracting statistics: s skip building tidb-server, using existing binary: /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/bin/integration_test_tidb-server building mysql-tester binary: ./mysql_tester go: downloading github.com/pingcap/mysql-tester v0.0.0-20241224064458-0d83955ea569 No credentials specified Warning: JENKINS-30600: special launcher org.csanchez.jenkins.plugins.kubernetes.pipeline.ContainerExecDecorator$1@6e1ec01b; decorates RemoteLauncher[hudson.remoting.Channel@39728dae:JNLP4-connect connection from 10.233.106.217/10.233.106.217:37728] 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@78c38986; decorates RemoteLauncher[hudson.remoting.Channel@18b37e68:JNLP4-connect connection from 10.233.108.203/10.233.108.203:48908] 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@5718158c; decorates RemoteLauncher[hudson.remoting.Channel@23f56068:JNLP4-connect connection from 10.233.76.161/10.233.76.161:44928] 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@6057a63d; decorates RemoteLauncher[hudson.remoting.Channel@531f6f6:JNLP4-connect connection from 10.233.90.221/10.233.90.221:57566] 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@6e4acb08; decorates RemoteLauncher[hudson.remoting.Channel@546faf5c:JNLP4-connect connection from 10.233.84.111/10.233.84.111:57846] 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@3b143403; decorates RemoteLauncher[hudson.remoting.Channel@37ec2427:JNLP4-connect connection from 10.233.72.155/10.233.72.155:52496] will be ignored (a typical symptom is the Git executable not being run inside a designated container) Cloning the remote Git repository Using shallow clone with depth 1 + chmod +x ../scripts/pingcap/tidb/br-lightning_run_group.sh ../scripts/pingcap/tidb/br-lightning_run_group_v2.sh ../scripts/pingcap/tidb/br_integration_test_download_dependency.sh ../scripts/pingcap/tidb/integrationtest.sh ../scripts/pingcap/tidb/integrationtest_v2.sh ../scripts/pingcap/tidb/integrationtest_with_tikv.sh ../scripts/pingcap/tidb/run_real_tikv_tests.sh ../scripts/pingcap/tidb/run_real_tikv_tests_with_gotest.sh 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 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 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 + chmod +x ../scripts/pingcap/tidb/br-lightning_run_group.sh ../scripts/pingcap/tidb/br-lightning_run_group_v2.sh ../scripts/pingcap/tidb/br_integration_test_download_dependency.sh ../scripts/pingcap/tidb/integrationtest.sh ../scripts/pingcap/tidb/integrationtest_v2.sh ../scripts/pingcap/tidb/integrationtest_with_tikv.sh ../scripts/pingcap/tidb/run_real_tikv_tests.sh ../scripts/pingcap/tidb/run_real_tikv_tests_with_gotest.sh [Pipeline] sh go: downloading go.uber.org/atomic v1.11.0 go: downloading golang.org/x/sys v0.5.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 + 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] stage [Pipeline] { (Test) [Pipeline] stage [Pipeline] { (Test) [Pipeline] stage [Pipeline] { (Test) [Pipeline] stage [Pipeline] { (Test) [Pipeline] stage [Pipeline] { (Test) [Pipeline] // cache [Pipeline] sh + chmod +x ../scripts/pingcap/tidb/br-lightning_run_group.sh ../scripts/pingcap/tidb/br-lightning_run_group_v2.sh ../scripts/pingcap/tidb/br_integration_test_download_dependency.sh ../scripts/pingcap/tidb/integrationtest.sh ../scripts/pingcap/tidb/integrationtest_v2.sh ../scripts/pingcap/tidb/integrationtest_with_tikv.sh ../scripts/pingcap/tidb/run_real_tikv_tests.sh ../scripts/pingcap/tidb/run_real_tikv_tests_with_gotest.sh [Pipeline] timeout Timeout set to expire in 50 min [Pipeline] { [Pipeline] timeout Timeout set to expire in 50 min [Pipeline] { [Pipeline] timeout Timeout set to expire in 50 min [Pipeline] { [Pipeline] timeout Timeout set to expire in 50 min [Pipeline] { [Pipeline] timeout Timeout set to expire in 50 min [Pipeline] { [Pipeline] 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 + 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 Masking supported pattern matches of $CODECOV_TOKEN [Pipeline] sh [Pipeline] sh Avoid second fetch Checking out Revision b2a59508c11c86ba701c4af25fc536a9475b82c6 (origin/main) + sed -i 's|repository_cache=/home/jenkins/.tidb/tmp|repository_cache=/share/.cache/bazel-repository-cache|g' Makefile.common + git diff . + git status HEAD detached at b2a5950 Untracked files: (use "git add ..." to include in what will be committed) ./ ../tidb@tmp/ nothing added to commit but untracked files present (use "git add" to track) Avoid second fetch [Pipeline] sh 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 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 Avoid second fetch start tidb-server, log file: ./integration-test.out tidb-server(PID: 1240) started run all integration test cases (enabled new collation) 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 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 > 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)" Avoid second fetch Checking out Revision b2a59508c11c86ba701c4af25fc536a9475b82c6 (origin/main) + 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 Commit message: "feat(prow-jobs/pingcap-qe/ci): add periodic job to crawl pull requests and issues (#3449)" Commit message: "feat(prow-jobs/pingcap-qe/ci): add periodic job to crawl pull requests and issues (#3449)" Commit message: "feat(prow-jobs/pingcap-qe/ci): add periodic job to crawl pull requests and issues (#3449)" Avoid second fetch Checking out Revision b2a59508c11c86ba701c4af25fc536a9475b82c6 (origin/main) + 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 Commit message: "feat(prow-jobs/pingcap-qe/ci): add periodic job to crawl pull requests and issues (#3449)" + 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] 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) > 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 [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/integrationtest_with_tikv.sh n ~/agent/workspace/pingcap/tidb/ghpr_check2/tidb/tests/integrationtest ~/agent/workspace/pingcap/tidb/ghpr_check2/tidb extracting statistics: s skip building tidb-server, using existing binary: /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/bin/integration_test_tidb-server building mysql-tester binary: ./mysql_tester go: downloading github.com/pingcap/mysql-tester v0.0.0-20241224064458-0d83955ea569 [Pipeline] sh ./t/show.test: ok! 3 test cases passed, take time 0.000508793 s ./t/access_path_selection.test: ok! 9 test cases passed, take time 0.023487176 s ./t/agg_predicate_pushdown.test: ok! 7 test cases passed, take time 0.022079556 s + /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/scripts/pingcap/tidb/run_real_tikv_tests.sh bazel_brietest [Pipeline] sh + /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/scripts/pingcap/tidb/run_real_tikv_tests.sh bazel_pessimistictest [Pipeline] withEnv go: downloading github.com/defined2014/mysql v0.0.0-20231121061906-fcfacaa39f49 go: downloading github.com/sirupsen/logrus v1.8.1 go: downloading github.com/pingcap/errors v0.11.5-0.20221009092201-b66cddb77c32 go: downloading go.uber.org/atomic v1.11.0 go: downloading golang.org/x/sys v0.5.0 [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sh + /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/scripts/pingcap/tidb/run_real_tikv_tests.sh bazel_statisticstest [Pipeline] container [Pipeline] { [Pipeline] container [Pipeline] { [Pipeline] container [Pipeline] { [Pipeline] container [Pipeline] { [Pipeline] container [Pipeline] { [Pipeline] container [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_sessiontest [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 ./t/bindinfo/bind.test: ok! 223 test cases passed, take time 1.516291829 s ./t/bindinfo/session_handle.test: ok! 21 test cases passed, take time 0.060318266 s ./t/bindinfo/temptable.test: ok! 38 test cases passed, take time 0.141860676 s ./t/black_list.test: ok! 55 test cases passed, take time 0.100227097 s start tidb-server, log file: ./integration-test.out tidb-server(PID: 1089) started run all integration test cases (disabled new collation) ./t/clustered_index.test: ok! 34 test cases passed, take time 1.376730778 s ./t/collation_agg_func.test: ok! 74 test cases passed, take time 0.697939499 s ./t/collation_agg_func.test: ok! 74 test cases passed, take time 0.702859531 s ./t/collation_check_use_collation.test: ok! 93 test cases passed, take time 0.558537617 s ./t/collation_check_use_collation.test: ok! 93 test cases passed, take time 0.614164931 s ./t/collation_misc.test: ok! 66 test cases passed, take time 0.468597072 s ./t/collation_misc.test: ok! 66 test cases passed, take time 0.531966902 s ./t/collation_pointget.test: ok! 106 test cases passed, take time 0.610626208 s ./t/common_collation.test: ok! 26 test cases passed, take time 0.159363767 s ./t/collation_pointget.test: ok! 106 test cases passed, take time 0.642942701 s Great, All tests passed integrationtest passed! ./run-tests.sh: line 1: kill: (1089) - No such process ~/agent/workspace/pingcap/tidb/ghpr_check2/tidb ./t/cte.test: ok! 237 test cases passed, take time 2.208843227 s ./t/db_integration.test: ok! 11 test cases passed, take time 0.04326584 s ./t/ddl/attributes_sql.test: ok! 30 test cases passed, take time 0.41957498 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) Cache restored successfully (ws/jenkins-pingcap-tidb-ghpr_check2-29887) 2925056000 bytes in 8.03 secs (364464037 bytes/sec) [Pipeline] { [Pipeline] cache GOBIN=/home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/tools/bin GO111MODULE=on go install github.com/pingcap/failpoint/failpoint-ctl@9b3b6e3 go: downloading github.com/pingcap/failpoint v0.0.0-20240527053858-9b3b6e34194a 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 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.19797456 s ./t/ddl/column.test: ok! 42 test cases passed, take time 0.527174442 s ./t/ddl/column_change.test: ok! 9 test cases passed, take time 0.054357598 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/column_modify.test: ok! 164 test cases passed, take time 2.9439738330000003 s Cache restored successfully (ws/jenkins-pingcap-tidb-ghpr_check2-29887) 2925056000 bytes in 7.41 secs (394568692 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... bazel --output_user_root=/home/jenkins/.tidb/tmp run --config=ci --repository_cache=/share/.cache/bazel-repository-cache //:gazelle Extracting Bazel installation... Starting local Bazel server and connecting to it... bazel --output_user_root=/home/jenkins/.tidb/tmp run --config=ci --repository_cache=/share/.cache/bazel-repository-cache //:gazelle Extracting Bazel installation... Starting local Bazel server and connecting to it... Starting local Bazel server and connecting to it... Starting local Bazel server and connecting to it... INFO: Invocation ID: 560fa3c5-1422-4db6-a0ed-e36b06b311aa INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_04_12_39_57.3841074632/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: 2e12ee55-177b-4160-a322-ba5456754b48 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_04_12_39_59.753561060/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: 5f94d114-7712-47a0-b315-e808ccf4c050 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_04_12_39_56.2511479780/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: 4ab0681f-8850-4e05-b78f-e9e98f7f489b INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_04_12_39_58.2661784483/bazel: Inherited 'build' options: --remote_cache=http://ats.apps.svc/brc/tidb --remote_timeout=30s INFO: Reading rc options for 'run' from /home/jenkins/.bazelrc: Inherited 'build' options: --local_ram_resources=29491 --local_cpu_resources=8 --jobs=8 --repository_cache=/share/.cache/bazel-repository-cache INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression INFO: Found applicable config definition run:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes Loading: Loading: Loading: Loading: Loading: Loading: 0 packages loaded Loading: Loading: 0 packages loaded Analyzing: target //:gazelle (1 packages loaded, 0 targets configured) Analyzing: target //:gazelle (1 packages loaded, 0 targets configured) Loading: Loading: Loading: 0 packages loaded Analyzing: target //:gazelle (1 packages loaded, 0 targets configured) Loading: Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Loading: Loading: 0 packages loaded Analyzing: target //:gazelle (1 packages loaded, 0 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Cache restored successfully (ws/jenkins-pingcap-tidb-ghpr_check2-29887) 2925056000 bytes in 7.10 secs (412066856 bytes/sec) [Pipeline] { [Pipeline] cache Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (52 packages loaded, 494 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (69 packages loaded, 3537 targets configured) Analyzing: target //:gazelle (48 packages loaded, 493 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (53 packages loaded, 1074 targets configured) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Cache restored successfully (ws/jenkins-pingcap-tidb-ghpr_check2-29887) 2925056000 bytes in 6.90 secs (423791828 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 (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (170 packages loaded, 5857 targets configured) Analyzing: target //:gazelle (411 packages loaded, 6325 targets configured) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (172 packages loaded, 5920 targets configured) INFO: Analyzed target //:gazelle (430 packages loaded, 6967 targets configured). INFO: Found 1 target... Analyzing: target //:gazelle (416 packages loaded, 6416 targets configured) Analyzing: target //:gazelle (418 packages loaded, 6369 targets configured) [0 / 96] [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) INFO: Analyzed target //:gazelle (430 packages loaded, 6967 targets configured). INFO: Found 1 target... [0 / 90] [Prepa] BazelWorkspaceStatusAction stable-status.txt ... ( 1 action running) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (170 packages loaded, 5908 targets configured) [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; 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) [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; 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) Analyzing: target //:gazelle (418 packages loaded, 6458 targets configured) [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/runtime.a, 3.9 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/tool/linux_amd64/compile, 14.0 MiB / 18.9 MiB; 1s remote-cache ... (4 actions, 0 running) INFO: Analyzed target //:gazelle (430 packages loaded, 6967 targets configured). INFO: Found 1 target... [0 / 88] [Prepa] BazelWorkspaceStatusAction stable-status.txt ... ( 1 action running) [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/net/http.a, 6.0 MiB / 8.3 MiB; 1s remote-cache ... (4 actions, 0 running) [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/net/http.a, 7.6 MiB / 8.3 MiB; 1s remote-cache ... (4 actions, 0 running) [23 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/runtime.a, 10.9 MiB / 12.2 MiB; 0s remote-cache ... (5 actions, 0 running) [26 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; 3s remote-cache ... (8 actions, 0 running) [25 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; 3s remote-cache ... (8 actions, 0 running) [26 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; 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.6 MiB / 18.9 MiB; 1s remote-cache ... (4 actions, 0 running) Cache restored successfully (ws/jenkins-pingcap-tidb-ghpr_check2-29887) 2925056000 bytes in 10.69 secs (273707615 bytes/sec) [Pipeline] { [Pipeline] sh [392 / 530] GoCompilePkg external/co_honnef_go_tools/simple/s1006/s1006.a [for tool]; 0s remote-cache ... (7 actions, 0 running) [Pipeline] sh Target //:gazelle up-to-date: bazel-bin/gazelle-runner.bash bazel-bin/gazelle INFO: Elapsed time: 30.288s, Critical Path: 4.52s INFO: 530 processes: 510 remote cache hit, 20 internal. INFO: Build completed successfully, 530 total actions INFO: Running command line: bazel-bin/gazelle [393 / 530] GoCompilePkg build/linter/copyloopvar/copyloopvar.a [for tool]; Downloading build/linter/copyloopvar/copyloopvar.x; 0s remote-cache ... (8 actions, 0 running) [Pipeline] sh + ls -l rev-3788203f0117c75b114b7d79571d10692a3291ea -rw-r--r--. 1 jenkins jenkins 0 Apr 4 12:39 rev-3788203f0117c75b114b7d79571d10692a3291ea [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 15.0 MiB / 18.9 MiB; 2s remote-cache ... (4 actions, 0 running) Target //:gazelle up-to-date: bazel-bin/gazelle-runner.bash bazel-bin/gazelle INFO: Elapsed time: 30.537s, Critical Path: 4.66s INFO: 530 processes: 510 remote cache hit, 20 internal. INFO: Build completed successfully, 530 total actions INFO: Running command line: bazel-bin/gazelle + ls -l rev-3788203f0117c75b114b7d79571d10692a3291ea -rw-r--r-- 1 jenkins jenkins 0 Apr 4 12:39 rev-3788203f0117c75b114b7d79571d10692a3291ea [Pipeline] sh [135 / 530] GoCompilePkg external/org_golang_x_tools/go/ssa/ssa.a [for tool]; 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: bc224b14-39f4-410a-aade-a18e5e3c818d INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_04_12_39_57.3841074632/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 + ls -l rev-3788203f0117c75b114b7d79571d10692a3291ea -rw-r--r-- 1 jenkins jenkins 0 Apr 4 12:39 rev-3788203f0117c75b114b7d79571d10692a3291ea [Pipeline] sh Loading: Loading: Loading: 0 packages loaded INFO: Build option --run_under has changed, discarding analysis cache. Analyzing: target //tools/tazel:tazel (1 packages loaded, 0 targets configured) bazel --output_user_root=/home/jenkins/.tidb/tmp run --config=ci --repository_cache=/share/.cache/bazel-repository-cache \ --run_under="cd /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb && " \ //tools/tazel:tazel INFO: Invocation ID: f774c424-fbc8-4b29-b12d-13662322cd64 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_04_12_39_59.753561060/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: + ls -l rev-3788203f0117c75b114b7d79571d10692a3291ea -rw-r--r-- 1 jenkins jenkins 0 Apr 4 12:39 rev-3788203f0117c75b114b7d79571d10692a3291ea [Pipeline] sh 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) [25 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/trace, 11.0 MiB / 12.0 MiB; 3s remote-cache ... (3 actions, 0 running) + ls -l rev-3788203f0117c75b114b7d79571d10692a3291ea -rw-r--r-- 1 jenkins jenkins 0 Apr 4 12:39 rev-3788203f0117c75b114b7d79571d10692a3291ea [486 / 530] [Prepa] Running nogo on @org_golang_x_mod//internal/lazyregexp:lazyregexp Target //:gazelle up-to-date: bazel-bin/gazelle-runner.bash bazel-bin/gazelle INFO: Elapsed time: 30.852s, 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 [Pipeline] stage [Pipeline] { (Test) [Pipeline] stage [Pipeline] { (Test) [Pipeline] stage [Pipeline] { (Test) [Pipeline] stage [Pipeline] { (Test) [Pipeline] stage [Pipeline] { (Test) [Pipeline] stage [Pipeline] { (Test) + /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/scripts/pingcap/tidb/run_real_tikv_tests.sh bazel_txntest [Pipeline] timeout Timeout set to expire in 50 min [Pipeline] { [Pipeline] timeout Timeout set to expire in 50 min [Pipeline] { [Pipeline] timeout Timeout set to expire in 50 min [Pipeline] { [Pipeline] timeout Timeout set to expire in 50 min [Pipeline] { [Pipeline] timeout Timeout set to expire in 50 min [Pipeline] { [Pipeline] timeout Timeout set to expire in 50 min [Pipeline] { 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: 50c25087-12a3-4a3a-975c-97951f401184 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_04_12_39_58.2661784483/bazel: Inherited 'build' options: --remote_cache=http://ats.apps.svc/brc/tidb --remote_timeout=30s INFO: Reading rc options for 'run' from /home/jenkins/.bazelrc: Inherited 'build' options: --local_ram_resources=29491 --local_cpu_resources=8 --jobs=8 --repository_cache=/share/.cache/bazel-repository-cache INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression INFO: Found applicable config definition run:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes Loading: Loading: Loading: 0 packages loaded Analyzing: target //tools/tazel:tazel (2 packages loaded, 5340 targets configured) [190 / 530] GoCompilePkg external/com_github_nbutton23_zxcvbn_go/zxcvbn-go.a [for tool]; Downloading external/com_github_nbutton23_zxcvbn_go/zxcvbn-go.a; 0s remote-cache ... (8 actions, 0 running) Analyzing: target //tools/tazel:tazel (2 packages loaded, 5515 targets configured) INFO: Build option --run_under has changed, discarding analysis cache. Analyzing: target //tools/tazel:tazel (1 packages loaded, 0 targets configured) [Pipeline] } Analyzing: target //tools/tazel:tazel (46 packages loaded, 7303 targets configured) Target //:gazelle up-to-date: bazel-bin/gazelle-runner.bash bazel-bin/gazelle INFO: Elapsed time: 33.191s, Critical Path: 4.98s 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 (39 packages loaded, 7202 targets configured) Analyzing: target //tools/tazel:tazel (2 packages loaded, 5324 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: b1f4f3f4-e08c-4058-acd1-f8b5faa9eef6 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_04_12_39_56.2511479780/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 (248 packages loaded, 7813 targets configured) Analyzing: target //tools/tazel:tazel (1 packages loaded, 0 targets configured) Analyzing: target //tools/tazel:tazel (39 packages loaded, 7202 targets configured) Analyzing: target //tools/tazel:tazel (258 packages loaded, 8309 targets configured) INFO: Analyzed target //tools/tazel:tazel (277 packages loaded, 8593 targets configured). INFO: Found 1 target... [0 / 4] [Prepa] BazelWorkspaceStatusAction stable-status.txt INFO: Analyzed target //tools/tazel:tazel (277 packages loaded, 8593 targets configured). INFO: Found 1 target... [0 / 3] [Prepa] BazelWorkspaceStatusAction stable-status.txt [Pipeline] } Cache not saved (ws/jenkins-pingcap-tidb-ghpr_check2-29887 already exists) [Pipeline] } Cache not saved (ws/jenkins-pingcap-tidb-ghpr_check2-29887 already exists) [Pipeline] } Cache not saved (ws/jenkins-pingcap-tidb-ghpr_check2-29887 already exists) [Pipeline] } Cache not saved (ws/jenkins-pingcap-tidb-ghpr_check2-29887 already exists) [Pipeline] } Cache not saved (ws/jenkins-pingcap-tidb-ghpr_check2-29887 already exists) [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] // dir Post stage Analyzing: target //tools/tazel:tazel (2 packages loaded, 5450 targets configured) Analyzing: target //tools/tazel:tazel (248 packages loaded, 7835 targets configured) [1,169 / 1,307] [Prepa] GoCompilePkg external/com_github_pingcap_kvproto/pkg/coprocessor/coprocessor.a ... (6 actions, 0 running) [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] junit Recording test results [Pipeline] // cache [Pipeline] // cache [Pipeline] // cache [Pipeline] sh [1,092 / 1,307] GoCompilePkg external/com_github_pingcap_kvproto/pkg/kvrpcpb/kvrpcpb.a; Downloading external/com_github_pingcap_kvproto/pkg/kvrpcpb/kvrpcpb.a, 9.0 MiB / 10.2 MiB; 0s remote-cache ... (8 actions, 0 running) None of the test reports contained any result [Checks API] No suitable checks publisher found. INFO: Analyzed target //tools/tazel:tazel (277 packages loaded, 8593 targets configured). INFO: Found 1 target... [0 / 7] [Prepa] BazelWorkspaceStatusAction stable-status.txt [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 Analyzing: target //tools/tazel:tazel (46 packages loaded, 7303 targets configured) [Pipeline] sh Target //tools/tazel:tazel up-to-date: bazel-bin/tools/tazel/tazel_/tazel INFO: Elapsed time: 5.491s, Critical Path: 1.32s 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.094s, Critical Path: 1.52s 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 ' + 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 test report files were found. Configuration error? [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 [1,142 / 1,307] GoCompilePkg external/com_github_pingcap_kvproto/pkg/kvrpcpb/kvrpcpb.a; Downloading external/com_github_pingcap_kvproto/pkg/kvrpcpb/kvrpcpb.a, 10.1 MiB / 10.2 MiB; 0s remote-cache ... (8 actions, 0 running) [Pipeline] // cache [Pipeline] { [Pipeline] { [Pipeline] { [Pipeline] { [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 Analyzing: target //tools/tazel:tazel (255 packages loaded, 8206 targets configured) [Pipeline] { [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] sh 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: 172af7c3-1806-4df3-89ca-a4df04eae605 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'test' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'test' from /data/..2025_04_04_12_39_59.753561060/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: Analyzed target //tools/tazel:tazel (277 packages loaded, 8593 targets configured). INFO: Found 1 target... [0 / 319] [Prepa] BazelWorkspaceStatusAction stable-status.txt ... (2 actions, 0 running) Target //tools/tazel:tazel up-to-date: bazel-bin/tools/tazel/tazel_/tazel INFO: Elapsed time: 6.060s, 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 ' [Pipeline] sh Loading: Loading: Loading: 0 packages loaded INFO: Build options --define, --run_under, and --test_env have changed, discarding analysis cache. + 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] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb Analyzing: target //tests/realtikvtest/statisticstest:statisticstest_test (1 packages loaded, 0 targets configured) [Pipeline] { 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: db7c554e-7d7b-4e56-9dbd-0b29a4d50b6c INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'test' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'test' from /data/..2025_04_04_12_39_57.3841074632/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. [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] sh + sed -i 's|repository_cache=/home/jenkins/.tidb/tmp|repository_cache=/share/.cache/bazel-repository-cache|g' Makefile.common + git diff . + git status HEAD detached at b2a5950 Untracked files: (use "git add ..." to include in what will be committed) ./ ../tidb@tmp/ nothing added to commit but untracked files present (use "git add" to track) [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] cache [1,162 / 1,307] GoCompilePkg external/com_github_pingcap_kvproto/pkg/kvrpcpb/kvrpcpb.a; 0s remote-cache ... (3 actions, 0 running) Analyzing: target //tests/realtikvtest/pessimistictest:pessimistictest_test (1 packages loaded, 0 targets configured) + 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) Analyzing: target //tests/realtikvtest/statisticstest:statisticstest_test (205 packages loaded, 5305 targets configured) Target //tools/tazel:tazel up-to-date: bazel-bin/tools/tazel/tazel_/tazel INFO: Elapsed time: 5.923s, 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 ' 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: bfcbc5bc-1330-4e15-a500-29e146e0042f INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'test' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'test' from /data/..2025_04_04_12_39_58.2661784483/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 (302 packages loaded, 4076 targets configured) Analyzing: target //tests/realtikvtest/sessiontest:sessiontest_test (1 packages loaded, 0 targets configured) Analyzing: target //tests/realtikvtest/statisticstest:statisticstest_test (858 packages loaded, 7176 targets configured) Analyzing: target //tests/realtikvtest/pessimistictest:pessimistictest_test (637 packages loaded, 5776 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 \ --@io_bazel_rules_go//go/config:cover_format=go_cover \ -- //tests/realtikvtest/brietest/... INFO: Invocation ID: 4ef69149-2608-44b1-a310-cd753d6cc588 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'test' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'test' from /data/..2025_04_04_12_39_56.2511479780/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/sessiontest:sessiontest_test (273 packages loaded, 5107 targets configured) go: downloading go1.23.8 (linux/amd64) Analyzing: target //tests/realtikvtest/statisticstest:statisticstest_test (1040 packages loaded, 9628 targets configured) Analyzing: target //tests/realtikvtest/brietest:brietest_test (1 packages loaded, 0 targets configured) Analyzing: target //tests/realtikvtest/pessimistictest:pessimistictest_test (1033 packages loaded, 7845 targets configured) Analyzing: target //tests/realtikvtest/sessiontest:sessiontest_test (648 packages loaded, 5671 targets configured) Analyzing: target //tests/realtikvtest/statisticstest:statisticstest_test (1205 packages loaded, 10914 targets configured) Analyzing: target //tests/realtikvtest/brietest:brietest_test (435 packages loaded, 813 targets configured) Analyzing: target //tests/realtikvtest/pessimistictest:pessimistictest_test (1180 packages loaded, 10167 targets configured) Analyzing: target //tests/realtikvtest/sessiontest:sessiontest_test (795 packages loaded, 7362 targets configured) Analyzing: target //tests/realtikvtest/statisticstest:statisticstest_test (1389 packages loaded, 12468 targets configured) ./t/ddl/column_type_change.test: ok! 1285 test cases passed, take time 43.61019237 s Analyzing: target //tests/realtikvtest/brietest:brietest_test (622 packages loaded, 5616 targets configured) Analyzing: target //tests/realtikvtest/pessimistictest:pessimistictest_test (1311 packages loaded, 10972 targets configured) Analyzing: target //tests/realtikvtest/sessiontest:sessiontest_test (1071 packages loaded, 8806 targets configured) ./t/ddl/constraint.test: ok! 440 test cases passed, take time 3.978247635 s Analyzing: target //tests/realtikvtest/statisticstest:statisticstest_test (1429 packages loaded, 12931 targets configured) Analyzing: target //tests/realtikvtest/brietest:brietest_test (807 packages loaded, 7350 targets configured) Analyzing: target //tests/realtikvtest/pessimistictest:pessimistictest_test (1424 packages loaded, 12174 targets configured) Analyzing: target //tests/realtikvtest/sessiontest:sessiontest_test (1197 packages loaded, 10502 targets configured) Analyzing: target //tests/realtikvtest/statisticstest:statisticstest_test (1509 packages loaded, 13653 targets configured) Analyzing: target //tests/realtikvtest/brietest:brietest_test (1101 packages loaded, 9226 targets configured) Analyzing: target //tests/realtikvtest/pessimistictest:pessimistictest_test (1483 packages loaded, 12503 targets configured) Analyzing: target //tests/realtikvtest/sessiontest:sessiontest_test (1300 packages loaded, 11451 targets configured) Analyzing: target //tests/realtikvtest/brietest:brietest_test (1198 packages loaded, 10767 targets configured) GOBIN=/home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/tools/bin GO111MODULE=on go install github.com/pingcap/failpoint/failpoint-ctl@9b3b6e3 go: downloading github.com/pingcap/failpoint v0.0.0-20240527053858-9b3b6e34194a go: downloading github.com/sergi/go-diff v1.1.0 Analyzing: target //tests/realtikvtest/pessimistictest:pessimistictest_test (1545 packages loaded, 13088 targets configured) Analyzing: target //tests/realtikvtest/statisticstest:statisticstest_test (1671 packages loaded, 14466 targets configured) Analyzing: target //tests/realtikvtest/sessiontest:sessiontest_test (1423 packages loaded, 12836 targets configured) Analyzing: target //tests/realtikvtest/brietest:brietest_test (1314 packages loaded, 11885 targets configured) Analyzing: target //tests/realtikvtest/pessimistictest:pessimistictest_test (1672 packages loaded, 13801 targets configured) Analyzing: target //tests/realtikvtest/sessiontest:sessiontest_test (1471 packages loaded, 13165 targets configured) Cache restored successfully (ws/jenkins-pingcap-tidb-ghpr_check2-29887) 2925056000 bytes in 7.87 secs (371859087 bytes/sec) [Pipeline] { [Pipeline] cache Analyzing: target //tests/realtikvtest/statisticstest:statisticstest_test (1671 packages loaded, 14466 targets configured) INFO: Analyzed target //tests/realtikvtest/statisticstest:statisticstest_test (1763 packages loaded, 15091 targets configured). INFO: Found 1 test target... [0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt Analyzing: target //tests/realtikvtest/brietest:brietest_test (1429 packages loaded, 12876 targets configured) Analyzing: target //tests/realtikvtest/pessimistictest:pessimistictest_test (1672 packages loaded, 13801 targets configured) INFO: Analyzed target //tests/realtikvtest/pessimistictest:pessimistictest_test (1764 packages loaded, 14427 targets configured). INFO: Found 1 test target... [0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt Analyzing: target //tests/realtikvtest/sessiontest:sessiontest_test (1509 packages loaded, 13655 targets configured) Analyzing: target //tests/realtikvtest/brietest:brietest_test (1502 packages loaded, 13453 targets configured) [21 / 4,573] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64_race/net/http.a, 3.0 MiB / 9.3 MiB; 1s remote-cache ... (3 actions, 0 running) Analyzing: target //tests/realtikvtest/sessiontest:sessiontest_test (1671 packages loaded, 14468 targets configured) Analyzing: target //tests/realtikvtest/brietest:brietest_test (1616 packages loaded, 14125 targets configured) [23 / 4,573] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; 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, 6.0 MiB / 18.9 MiB; 1s remote-cache ... (3 actions, 0 running) Analyzing: target //tests/realtikvtest/sessiontest:sessiontest_test (1728 packages loaded, 14762 targets configured) INFO: Analyzed target //tests/realtikvtest/sessiontest:sessiontest_test (1763 packages loaded, 15093 targets configured). INFO: Found 1 test target... [0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt Analyzing: target //tests/realtikvtest/brietest:brietest_test (1673 packages loaded, 14480 targets configured) [358 / 4,573] GoCompilePkg external/org_golang_google_protobuf/internal/order/order.a; Downloading external/org_golang_google_protobuf/internal/order/order.x; 0s remote-cache ... (7 actions, 0 running) ./t/ddl/db.test: ok! 288 test cases passed, take time 7.687245932 s [17 / 4,571] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; 2s remote-cache ... (7 actions, 0 running) INFO: Analyzed target //tests/realtikvtest/brietest:brietest_test (1765 packages loaded, 15108 targets configured). INFO: Found 1 test target... [0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt ./t/ddl/db_cache.test: ok! 50 test cases passed, take time 0.574600872 s [753 / 4,573] GoCompilePkg external/com_github_qri_io_jsonschema/jsonschema.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 //:gazelle Extracting Bazel installation... ./t/ddl/db_change.test: ok! 33 test cases passed, take time 0.540249237 s [527 / 4,571] GoCompilePkg external/com_github_gogo_protobuf/protoc-gen-gogo/descriptor/descriptor.a; 0s remote-cache ... (7 actions, 0 running) Starting local Bazel server and connecting to it... [21 / 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 ... (3 actions, 0 running) ./t/ddl/db_foreign_key.test: ok! 20 test cases passed, take time 0.262877093 s [1,188 / 4,573] GoCompilePkg external/com_github_apache_thrift/lib/go/thrift/thrift.a; 0s remote-cache ... (8 actions, 0 running) [20 / 4,582] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64_race/net/http.a, 6.3 MiB / 9.3 MiB; 0s remote-cache ... (4 actions, 0 running) [1,073 / 4,571] GoCompilePkg external/org_golang_google_api/googleapi/googleapi.a; Downloading external/org_golang_google_api/googleapi/googleapi.a; 0s remote-cache ... (8 actions, 0 running) [22 / 4,573] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/addr2line, 2.0 MiB / 2.7 MiB; 2s remote-cache ... (3 actions, 0 running) [1,651 / 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, 40.1 MiB / 77.2 MiB; 0s remote-cache ... (8 actions, 0 running) INFO: Invocation ID: 7c0c379d-4922-42b5-b554-3374901d5f50 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_04_12_40_00.644994577/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: [21 / 4,582] 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) [1,721 / 4,571] GoCompilePkg external/com_google_cloud_go_storage/internal/apiv2/storagepb/storagepb.a; Downloading external/com_google_cloud_go_storage/internal/apiv2/storagepb/storagepb.a, 1.2 MiB / 3.3 MiB; 0s remote-cache ... (8 actions, 0 running) [43 / 4,573] GoCompilePkg external/com_github_gogo_protobuf/proto/proto.a; Downloading external/com_github_gogo_protobuf/proto/proto.a, 6.0 MiB / 6.0 MiB; 0s remote-cache ... (8 actions, 0 running) Loading: [2,415 / 4,573] GoCompilePkg external/com_github_pingcap_kvproto/pkg/brpb/brpb.a; 0s remote-cache ... (7 actions, 0 running) [422 / 4,573] GoCompilePkg external/com_github_prometheus_client_golang/prometheus/prometheus.a; Downloading external/com_github_prometheus_client_golang/prometheus/prometheus.a; 0s remote-cache ... (8 actions, 0 running) Loading: Loading: 0 packages loaded [26 / 4,582] [Prepa] GoCompilePkg external/org_uber_go_multierr/multierr.a ... (5 actions, 0 running) Analyzing: target //:gazelle (1 packages loaded, 0 targets configured) [2,038 / 4,571] GoCompilePkg external/com_github_aws_aws_sdk_go/service/ec2/ec2.a; 0s remote-cache ... (8 actions, 0 running) [3,664 / 4,573] GoCompilePkg pkg/util/collate/collate.a; Downloading pkg/util/collate/collate.a, 4.2 MiB / 5.1 MiB; 0s remote-cache ... (8 actions, 0 running) [700 / 4,573] GoCompilePkg external/com_github_lestrrat_go_jwx_v2/jwk/jwk.a; Downloading external/com_github_lestrrat_go_jwx_v2/jwk/jwk.a; 0s remote-cache ... (7 actions, 0 running) [383 / 4,582] GoCompilePkg external/com_github_modern_go_reflect2/reflect2.a; Downloading external/com_github_modern_go_reflect2/reflect2.a, 1.4 MiB / 3.4 MiB; 0s remote-cache ... (8 actions, 0 running) Cache restored successfully (ws/jenkins-pingcap-tidb-ghpr_check2-29887) 2925056000 bytes in 7.68 secs (380700531 bytes/sec) [Pipeline] { [Pipeline] cache [2,855 / 4,571] GoCompilePkg external/com_github_pingcap_kvproto/pkg/tikvpb/tikvpb.a; Downloading external/com_github_pingcap_kvproto/pkg/tikvpb/tikvpb.a, 319.8 KiB / 4.5 MiB; 0s remote-cache ... (8 actions, 0 running) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) [4,063 / 4,573] GoCompilePkg pkg/expression/expression.a; Downloading pkg/expression/expression.a, 48.7 MiB / 108.6 MiB; 0s remote-cache ... (10 actions, 4 running) [694 / 4,582] GoCompilePkg external/co_honnef_go_tools/pattern/pattern.a [for tool]; Downloading external/co_honnef_go_tools/pattern/pattern.a, 991.8 KiB / 1.6 MiB; 0s remote-cache ... (8 actions, 0 running) [3,966 / 4,571] [Prepa] GoCompilePkg pkg/sessionctx/sysproctrack/sysproctrack.a [967 / 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, 15.9 MiB / 77.2 MiB; 0s remote-cache ... (8 actions, 0 running) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) [4,144 / 4,573] GoCompilePkg pkg/ddl/util/util.a; 0s remote-cache ... (6 actions, 0 running) [957 / 4,582] GoCompilePkg external/com_github_cockroachdb_pebble/internal/arenaskl/arenaskl.a; Downloading external/com_github_cockroachdb_pebble/internal/arenaskl/arenaskl.a; 0s remote-cache ... (8 actions, 0 running) [1,076 / 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, 7.0 MiB / 7.5 MiB; 0s remote-cache ... (8 actions, 0 running) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) [4,394 / 4,573] [Prepa] GoCompilePkg pkg/ddl/ingest/ingest.a [4,074 / 4,571] [Prepa] GoCompilePkg pkg/session/types/types.a ... (8 actions, 0 running) [1,139 / 4,582] GoCompilePkg external/com_github_cockroachdb_pebble/pebble.a; Downloading external/com_github_cockroachdb_pebble/pebble.a, 10.1 MiB / 10.5 MiB; 0s remote-cache ... (8 actions, 0 running) [1,182 / 4,573] GoCompilePkg external/io_etcd_go_etcd_api_v3/etcdserverpb/etcdserverpb.a; 0s remote-cache ... (8 actions, 0 running) [4,303 / 4,571] GoCompilePkg pkg/lightning/backend/kv/kv.a; Downloading pkg/lightning/backend/kv/kv.a; 0s remote-cache ... (7 actions, 0 running) [1,256 / 4,582] GoCompilePkg external/com_github_aws_aws_sdk_go/service/ec2/ec2.a; Downloading external/com_github_aws_aws_sdk_go/service/ec2/ec2.a, 41.0 MiB / 77.2 MiB; 0s remote-cache ... (8 actions, 0 running) [4,410 / 4,573] GoCompilePkg pkg/domain/domain.a; 0s remote-cache, linux-sandbox ... (3 actions, 2 running) [1,476 / 4,573] GoCompilePkg external/com_github_tikv_pd_client/clients/tso/tso.a; Downloading external/com_github_tikv_pd_client/clients/tso/tso.a, 1.3 MiB / 1.3 MiB; 0s remote-cache ... (2 actions, 0 running) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) [4,404 / 4,571] GoCompilePkg pkg/domain/domain.a; 0s remote-cache, linux-sandbox ... (4 actions running) [3,065 / 4,573] GoCompilePkg pkg/types/types.a; Downloading pkg/types/types.a, 3.2 MiB / 6.2 MiB; 0s remote-cache ... (8 actions, 0 running) [1,432 / 4,582] GoCompilePkg external/com_github_aws_aws_sdk_go/service/s3/s3iface/s3iface.a; 0s remote-cache ... (8 actions, 0 running) [4,411 / 4,573] GoCompilePkg pkg/domain/domain.a; 2s remote-cache, linux-sandbox Analyzing: target //:gazelle (45 packages loaded, 463 targets configured) [4,406 / 4,571] GoCompilePkg pkg/domain/domain.a; 1s remote-cache, linux-sandbox [2,766 / 4,582] GoCompilePkg pkg/types/types.a; Downloading pkg/types/types.a, 5.0 MiB / 6.2 MiB; 0s remote-cache ... (7 actions, 0 running) [3,945 / 4,573] GoCompilePkg pkg/expression/expression.a; Downloading pkg/expression/expression.a, 22.0 MiB / 108.6 MiB; 0s remote-cache ... (8 actions, 0 running) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) [3,836 / 4,582] GoCompilePkg pkg/expression/expression.a; Downloading pkg/expression/expression.a, 30.0 MiB / 108.6 MiB; 0s remote-cache ... (7 actions, 0 running) [4,412 / 4,573] [Prepa] GoCompilePkg pkg/planner/util/domainmisc/domainmisc.a ... (8 actions, 0 running) [4,084 / 4,573] GoCompilePkg pkg/table/table.a; 0s remote-cache ... (5 actions, 0 running) [4,415 / 4,571] GoCompilePkg pkg/plugin/plugin.a; 1s remote-cache, linux-sandbox ... (16 actions running) [4,079 / 4,582] [Prepa] GoCompilePkg pkg/session/types/types.a ... (5 actions, 0 running) [4,415 / 4,573] GoCompilePkg pkg/planner/util/domainmisc/domainmisc.a; 1s remote-cache, linux-sandbox ... (15 actions, 14 running) [4,256 / 4,573] GoCompilePkg pkg/privilege/privileges/privileges.a; 0s remote-cache ... (7 actions, 0 running) [4,417 / 4,571] GoCompilePkg pkg/plugin/plugin.a; 2s remote-cache, linux-sandbox ... (16 actions running) [4,246 / 4,582] GoCompilePkg pkg/privilege/privileges/privileges.a; Downloading pkg/privilege/privileges/privileges.a, 7.5 MiB / 9.5 MiB; 0s remote-cache ... (8 actions, 0 running) [4,419 / 4,573] GoCompilePkg pkg/planner/util/domainmisc/domainmisc.a; 2s remote-cache, linux-sandbox ... (15 actions, 14 running) [4,410 / 4,573] GoCompilePkg pkg/domain/domain.a; Downloading pkg/domain/domain.a, 7.4 MiB / 15.3 MiB; 0s remote-cache ... (2 actions, 0 running) Cache restored successfully (ws/jenkins-pingcap-tidb-ghpr_check2-29887) 2925056000 bytes in 7.42 secs (393983496 bytes/sec) [Pipeline] { [Pipeline] cache [4,409 / 4,582] [Prepa] GoCompilePkg pkg/domain/domain.a [4,423 / 4,573] GoCompilePkg pkg/planner/util/domainmisc/domainmisc.a; 3s remote-cache, linux-sandbox ... (15 actions, 14 running) [4,413 / 4,573] GoCompilePkg br/pkg/glue/glue.a; 0s remote-cache, linux-sandbox ... (15 actions, 14 running) [4,422 / 4,571] GoCompilePkg pkg/extension/extensionimpl/extensionimpl.a; 3s remote-cache, linux-sandbox ... (13 actions, 12 running) [4,423 / 4,582] GoCompilePkg pkg/planner/indexadvisor/indexadvisor.a; 0s remote-cache, linux-sandbox ... (15 actions, 14 running) [4,426 / 4,573] GoCompilePkg pkg/planner/util/domainmisc/domainmisc.a; 4s remote-cache, linux-sandbox ... (14 actions running) [4,433 / 4,571] GoCompilePkg pkg/planner/core/operator/logicalop/logicalop.a; 1s remote-cache, linux-sandbox ... (15 actions, 14 running) [4,433 / 4,573] GoCompilePkg br/pkg/glue/glue.a; 4s remote-cache, linux-sandbox ... (16 actions running) [4,426 / 4,573] GoCompilePkg br/pkg/glue/glue.a; 2s remote-cache, linux-sandbox ... (14 actions running) [4,426 / 4,582] GoCompilePkg pkg/planner/indexadvisor/indexadvisor.a; 2s remote-cache, linux-sandbox ... (14 actions running) [4,440 / 4,571] GoCompilePkg pkg/executor/lockstats/lockstats.a; 2s remote-cache, linux-sandbox ... (16 actions running) [4,447 / 4,571] GoCompilePkg br/pkg/conn/conn.a; 1s remote-cache, linux-sandbox ... (15 actions, 14 running) [4,427 / 4,573] GoCompilePkg br/pkg/glue/glue.a; 4s remote-cache, linux-sandbox ... (14 actions, 12 running) [4,444 / 4,573] GoCompilePkg pkg/planner/core/operator/logicalop/logicalop.a; 2s remote-cache, linux-sandbox ... (15 actions, 14 running) [4,427 / 4,582] GoCompilePkg pkg/planner/indexadvisor/indexadvisor.a; 4s remote-cache, linux-sandbox ... (14 actions, 12 running) [4,457 / 4,571] GoCompilePkg br/pkg/conn/conn.a; 2s remote-cache, linux-sandbox ... (10 actions running) [4,447 / 4,573] GoCompilePkg pkg/planner/core/operator/logicalop/logicalop.a; 1s remote-cache, linux-sandbox ... (13 actions, 12 running) [4,457 / 4,573] GoCompilePkg pkg/planner/core/operator/logicalop/logicalop.a; 3s remote-cache, linux-sandbox ... (12 actions running) [4,456 / 4,582] GoCompilePkg pkg/planner/core/operator/logicalop/logicalop.a; 1s remote-cache, linux-sandbox ... (14 actions running) [4,471 / 4,571] GoCompilePkg br/pkg/stream/stream.a; 0s remote-cache, linux-sandbox ... (13 actions, 12 running) [4,457 / 4,573] GoCompilePkg pkg/planner/core/operator/logicalop/logicalop.a; 2s remote-cache, linux-sandbox ... (12 actions running) [4,458 / 4,573] GoCompilePkg pkg/executor/internal/calibrateresource/calibrateresource.a; 4s remote-cache, linux-sandbox ... (16 actions running) [4,457 / 4,582] GoCompilePkg pkg/planner/core/operator/logicalop/logicalop.a; 2s remote-cache, linux-sandbox ... (12 actions running) [4,477 / 4,571] GoCompilePkg br/pkg/stream/stream.a; 1s remote-cache, linux-sandbox ... (15 actions, 14 running) [4,457 / 4,573] GoCompilePkg pkg/planner/core/operator/logicalop/logicalop.a; 3s remote-cache, linux-sandbox ... (12 actions running) [4,468 / 4,582] GoCompilePkg pkg/executor/lockstats/lockstats.a; 3s remote-cache, linux-sandbox ... (15 actions, 14 running) [4,471 / 4,573] GoCompilePkg br/pkg/conn/conn.a; 3s remote-cache, linux-sandbox ... (11 actions, 10 running) [4,478 / 4,573] GoCompilePkg br/pkg/checkpoint/checkpoint.a; 3s remote-cache, linux-sandbox ... (13 actions, 12 running) [4,487 / 4,571] GoCompilePkg br/pkg/backup/backup.a; 2s remote-cache, linux-sandbox ... (10 actions, 8 running) [4,483 / 4,573] Running nogo on //br/pkg/stream:stream; 0s remote-cache, linux-sandbox ... (15 actions, 14 running) Cache restored successfully (ws/jenkins-pingcap-tidb-ghpr_check2-29887) 2925056000 bytes in 7.52 secs (389154883 bytes/sec) [Pipeline] { [Pipeline] cache Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (170 packages loaded, 5909 targets configured) [4,487 / 4,582] GoCompilePkg br/pkg/stream/stream.a; 0s remote-cache, linux-sandbox ... (14 actions, 12 running) [4,501 / 4,571] GoCompilePkg pkg/planner/core/core.a; 0s remote-cache, linux-sandbox ... (7 actions, 6 running) [4,489 / 4,573] GoCompilePkg br/pkg/checkpoint/checkpoint.a; 4s remote-cache, linux-sandbox ... (11 actions, 10 running) [4,496 / 4,573] GoCompilePkg br/pkg/stream/stream.a; 1s remote-cache, linux-sandbox ... (11 actions, 10 running) [4,499 / 4,573] GoCompilePkg br/pkg/stream/stream.a; 2s remote-cache, linux-sandbox ... (11 actions, 10 running) Analyzing: target //:gazelle (417 packages loaded, 6441 targets configured) [4,495 / 4,582] GoCompilePkg br/pkg/stream/stream.a; 1s remote-cache, linux-sandbox ... (15 actions, 14 running) [4,503 / 4,571] GoCompilePkg pkg/planner/core/core.a; 1s remote-cache, linux-sandbox ... (8 actions running) INFO: Analyzed target //:gazelle (430 packages loaded, 6967 targets configured). INFO: Found 1 target... [0 / 91] [Prepa] BazelWorkspaceStatusAction stable-status.txt ... ( 1 action running) [4,501 / 4,573] GoCompilePkg br/pkg/stream/stream.a; 3s remote-cache, linux-sandbox ... (12 actions running) [4,501 / 4,582] GoCompilePkg br/pkg/stream/stream.a; 3s remote-cache, linux-sandbox ... (12 actions running) [4,501 / 4,573] GoCompilePkg br/pkg/stream/stream.a; 4s remote-cache, linux-sandbox ... (12 actions running) [23 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/vendor/golang.org/x/net/http2/hpack.a, 48.0 KiB / 409.9 KiB; 1s remote-cache ... (5 actions, 0 running) [4,505 / 4,571] GoCompilePkg pkg/planner/core/core.a; 3s remote-cache, linux-sandbox ... (6 actions running) [4,501 / 4,582] GoCompilePkg br/pkg/stream/stream.a; 5s remote-cache, linux-sandbox ... (12 actions running) [23 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/pprof, 8.0 MiB / 11.8 MiB; 2s remote-cache ... (5 actions, 0 running) [4,509 / 4,571] GoCompilePkg pkg/planner/core/core.a; 4s remote-cache, linux-sandbox ... (5 actions, 4 running) [4,502 / 4,573] GoCompilePkg br/pkg/stream/stream.a; 6s remote-cache, linux-sandbox ... (12 actions, 10 running) [4,502 / 4,573] GoCompilePkg br/pkg/stream/stream.a; 6s remote-cache, linux-sandbox ... (10 actions running) [26 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/pprof, 11.0 MiB / 11.8 MiB; 3s remote-cache ... (8 actions, 0 running) [4,503 / 4,582] GoCompilePkg br/pkg/stream/stream.a; 6s remote-cache, linux-sandbox ... (10 actions, 8 running) [4,510 / 4,571] GoCompilePkg pkg/planner/core/core.a; 6s remote-cache, linux-sandbox ... (4 actions running) [4,506 / 4,573] GoCompilePkg pkg/planner/core/core.a; 4s remote-cache, linux-sandbox ... (7 actions, 6 running) [4,508 / 4,573] GoCompilePkg pkg/planner/core/core.a; 4s remote-cache, linux-sandbox ... (5 actions, 4 running) [148 / 530] GoCompilePkg external/co_honnef_go_tools/go/ir/ir.a [for tool]; Downloading external/co_honnef_go_tools/go/ir/ir.a, 159.8 KiB / 6.2 MiB; 0s remote-cache ... (8 actions, 0 running) [4,509 / 4,573] GoCompilePkg pkg/planner/core/core.a; 5s remote-cache, linux-sandbox ... (4 actions running) [4,509 / 4,582] GoCompilePkg pkg/planner/core/core.a; 6s remote-cache, linux-sandbox ... (4 actions running) Target //:gazelle up-to-date: bazel-bin/gazelle-runner.bash bazel-bin/gazelle INFO: Elapsed time: 31.374s, Critical Path: 4.90s INFO: 530 processes: 510 remote cache hit, 20 internal. INFO: Build completed successfully, 530 total actions INFO: Running command line: bazel-bin/gazelle [4,509 / 4,573] GoCompilePkg pkg/planner/core/core.a; 6s 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 \ --run_under="cd /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb && " \ //tools/tazel:tazel INFO: Invocation ID: d3cfb37f-6c4f-4e0f-95c5-3c8cb4d878c6 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_04_12_40_00.644994577/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,511 / 4,571] GoCompilePkg pkg/planner/core/core.a; 8s remote-cache, linux-sandbox ... (3 actions, 2 running) [4,510 / 4,573] GoCompilePkg pkg/planner/core/core.a; 6s remote-cache, linux-sandbox ... (6 actions running) Analyzing: target //tools/tazel:tazel (1 packages loaded, 0 targets configured) [4,509 / 4,582] GoCompilePkg pkg/planner/core/core.a; 7s remote-cache, linux-sandbox ... (4 actions running) [4,512 / 4,573] GoCompilePkg pkg/planner/core/core.a; 7s remote-cache, linux-sandbox ... (4 actions running) Cache restored successfully (ws/jenkins-pingcap-tidb-ghpr_check2-29887) 2925056000 bytes in 7.52 secs (389062305 bytes/sec) [Pipeline] { [Pipeline] cache [4,512 / 4,571] GoCompilePkg pkg/planner/core/core.a; 9s remote-cache, linux-sandbox ... (5 actions, 4 running) [4,512 / 4,573] GoCompilePkg pkg/planner/core/core.a; 7s remote-cache, linux-sandbox ... (4 actions running) Analyzing: target //tools/tazel:tazel (2 packages loaded, 5416 targets configured) [4,512 / 4,582] GoCompilePkg pkg/planner/core/core.a; 9s remote-cache, linux-sandbox ... (4 actions running) [4,515 / 4,571] GoCompilePkg br/pkg/task/task.a; 2s remote-cache, linux-sandbox ... (15 actions, 14 running) Analyzing: target //tools/tazel:tazel (46 packages loaded, 7303 targets configured) [4,513 / 4,573] GoCompilePkg pkg/planner/core/core.a; 10s remote-cache, linux-sandbox ... (3 actions, 2 running) [4,520 / 4,571] GoCompilePkg pkg/planner/planner.a; 1s remote-cache, linux-sandbox ... (16 actions running) Analyzing: target //tools/tazel:tazel (255 packages loaded, 8194 targets configured) [4,513 / 4,573] GoCompilePkg pkg/planner/core/core.a; 10s 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 [4,513 / 4,582] GoCompilePkg pkg/planner/core/core.a; 11s remote-cache, linux-sandbox ... (4 actions, 2 running) [4,515 / 4,573] GoCompilePkg pkg/planner/core/core.a; 11s remote-cache, linux-sandbox ... (4 actions running) [4,527 / 4,571] GoCompilePkg pkg/sessiontxn/isolation/isolation.a; 3s remote-cache, linux-sandbox ... (15 actions, 14 running) [1,165 / 1,307] GoCompilePkg external/com_github_pingcap_kvproto/pkg/kvrpcpb/kvrpcpb.a; 0s remote-cache ... (3 actions, 0 running) [4,515 / 4,573] GoCompilePkg pkg/planner/core/core.a; 11s remote-cache, linux-sandbox ... (4 actions running) [4,515 / 4,582] GoCompilePkg pkg/planner/core/core.a; 12s remote-cache, linux-sandbox ... (4 actions running) Target //tools/tazel:tazel up-to-date: bazel-bin/tools/tazel/tazel_/tazel INFO: Elapsed time: 6.074s, 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 ' [4,539 / 4,571] GoCompilePkg pkg/executor/executor.a; 1s remote-cache, linux-sandbox ... (4 actions running) [4,516 / 4,573] GoCompilePkg pkg/planner/core/core.a; 14s remote-cache, linux-sandbox ... (4 actions, 2 running) bazel --output_user_root=/home/jenkins/.tidb/tmp test --config=ci --repository_cache=/share/.cache/bazel-repository-cache --test_arg=-with-real-tikv --define gotags=deadlock,intest \ -- //tests/realtikvtest/txntest/... INFO: Invocation ID: d7a8bb39-f20e-446c-ae9b-685334fdf47a INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'test' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'test' from /data/..2025_04_04_12_40_00.644994577/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,515 / 4,573] GoCompilePkg pkg/planner/core/core.a; 14s remote-cache, linux-sandbox ... (4 actions running) Analyzing: target //tests/realtikvtest/txntest:txntest_test (1 packages loaded, 0 targets configured) [4,516 / 4,582] GoCompilePkg pkg/planner/core/core.a; 15s remote-cache, linux-sandbox ... (4 actions, 2 running) [4,517 / 4,573] GoCompilePkg pkg/planner/core/core.a; 15s remote-cache, linux-sandbox ... (5 actions, 4 running) [4,517 / 4,573] GoCompilePkg pkg/planner/core/core.a; 15s remote-cache, linux-sandbox ... (5 actions, 4 running) Analyzing: target //tests/realtikvtest/txntest:txntest_test (228 packages loaded, 2048 targets configured) [4,540 / 4,571] GoCompilePkg pkg/executor/executor.a; 3s remote-cache, linux-sandbox ... (3 actions, 2 running) [4,517 / 4,582] GoCompilePkg pkg/planner/core/core.a; 16s remote-cache, linux-sandbox ... (5 actions, 4 running) Analyzing: target //tests/realtikvtest/txntest:txntest_test (621 packages loaded, 5878 targets configured) [4,518 / 4,573] GoCompilePkg pkg/planner/core/core.a; 16s remote-cache, linux-sandbox ... (4 actions running) [4,518 / 4,582] GoCompilePkg pkg/planner/core/core.a; 17s remote-cache, linux-sandbox ... (4 actions running) [4,541 / 4,571] GoCompilePkg pkg/executor/executor.a; 5s remote-cache, linux-sandbox [4,518 / 4,573] GoCompilePkg pkg/planner/core/core.a; 17s remote-cache, linux-sandbox ... (4 actions running) [4,518 / 4,582] GoCompilePkg pkg/planner/core/core.a; 18s remote-cache, linux-sandbox ... (4 actions running) Analyzing: target //tests/realtikvtest/txntest:txntest_test (825 packages loaded, 7629 targets configured) [4,519 / 4,573] GoCompilePkg br/pkg/task/task.a; 3s remote-cache, linux-sandbox ... (7 actions, 2 running) [4,519 / 4,573] GoCompilePkg br/pkg/task/task.a; 3s remote-cache, linux-sandbox ... (16 actions running) Cache restored successfully (ws/jenkins-pingcap-tidb-ghpr_check2-29887) 2925056000 bytes in 8.62 secs (339352874 bytes/sec) [Pipeline] { [Pipeline] sh Analyzing: target //tests/realtikvtest/txntest:txntest_test (1059 packages loaded, 8590 targets configured) [Pipeline] sh [4,541 / 4,571] GoCompilePkg pkg/executor/executor.a; 7s remote-cache, linux-sandbox [Pipeline] sh + ls -l rev-3788203f0117c75b114b7d79571d10692a3291ea -rw-r--r--. 1 jenkins jenkins 0 Apr 4 12:39 rev-3788203f0117c75b114b7d79571d10692a3291ea [4,520 / 4,582] GoCompilePkg br/pkg/task/task.a; 4s remote-cache, linux-sandbox ... (15 actions, 14 running) + ls -l rev-3788203f0117c75b114b7d79571d10692a3291ea -rw-r--r--. 1 jenkins jenkins 0 Apr 4 12:39 rev-3788203f0117c75b114b7d79571d10692a3291ea [Pipeline] sh + ls -l rev-3788203f0117c75b114b7d79571d10692a3291ea -rw-r--r-- 1 jenkins jenkins 0 Apr 4 12:39 rev-3788203f0117c75b114b7d79571d10692a3291ea [4,519 / 4,573] GoCompilePkg br/pkg/task/task.a; 5s remote-cache, linux-sandbox ... (16 actions running) [Pipeline] sh Analyzing: target //tests/realtikvtest/txntest:txntest_test (1150 packages loaded, 10521 targets configured) + ls -l rev-3788203f0117c75b114b7d79571d10692a3291ea -rw-r--r--. 1 jenkins jenkins 0 Apr 4 12:39 rev-3788203f0117c75b114b7d79571d10692a3291ea [Pipeline] sh + ls -l rev-3788203f0117c75b114b7d79571d10692a3291ea -rw-r--r-- 1 jenkins jenkins 0 Apr 4 12:39 rev-3788203f0117c75b114b7d79571d10692a3291ea [4,526 / 4,573] GoCompilePkg br/pkg/task/task.a; 5s remote-cache, linux-sandbox ... (15 actions, 14 running) [Pipeline] sh + ls -l rev-3788203f0117c75b114b7d79571d10692a3291ea -rw-r--r--. 1 jenkins jenkins 0 Apr 4 12:39 rev-3788203f0117c75b114b7d79571d10692a3291ea [4,543 / 4,571] GoCompilePkg pkg/session/session.a; 1s remote-cache, linux-sandbox ... (3 actions, 2 running) [Pipeline] sh [4,526 / 4,582] GoCompilePkg br/pkg/task/task.a; 5s remote-cache, linux-sandbox ... (15 actions, 14 running) Analyzing: target //tests/realtikvtest/txntest:txntest_test (1289 packages loaded, 11527 targets configured) + 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,530 / 4,573] GoCompilePkg pkg/planner/planner.a; 2s remote-cache, linux-sandbox ... (14 actions, 12 running) [Pipeline] // dir + 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,533 / 4,573] GoCompilePkg pkg/planner/planner.a; 3s remote-cache, linux-sandbox ... (13 actions, 12 running) [Pipeline] sh [4,537 / 4,582] GoCompilePkg pkg/sessiontxn/isolation/isolation.a; 3s remote-cache, linux-sandbox ... (15 actions, 14 running) + /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/scripts/pingcap/tidb/run_real_tikv_tests.sh bazel_addindextest + /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/scripts/pingcap/tidb/run_real_tikv_tests.sh bazel_addindextest1 [4,539 / 4,573] GoCompilePkg pkg/planner/planner.a; 3s remote-cache, linux-sandbox ... (9 actions, 8 running) Analyzing: target //tests/realtikvtest/txntest:txntest_test (1423 packages loaded, 12842 targets configured) [4,546 / 4,571] GoCompilePkg pkg/store/gcworker/gcworker.a; 0s remote-cache, linux-sandbox ... (3 actions, 2 running) [4,543 / 4,573] GoCompilePkg pkg/sessiontxn/isolation/isolation.a; 4s remote-cache, linux-sandbox ... (3 actions, 2 running) [4,543 / 4,582] GoCompilePkg pkg/sessiontxn/isolation/isolation.a; 4s remote-cache, linux-sandbox ... (8 actions running) [Pipeline] sh Analyzing: target //tests/realtikvtest/txntest:txntest_test (1485 packages loaded, 13204 targets configured) [4,553 / 4,571] GoCompilePkg pkg/testkit/testkit.a; 0s remote-cache, linux-sandbox + /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/scripts/pingcap/tidb/run_real_tikv_tests.sh bazel_addindextest2 [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; 2s remote-cache, linux-sandbox ... (6 actions running) [4,544 / 4,573] GoCompilePkg pkg/executor/executor.a; 0s remote-cache, linux-sandbox ... (4 actions running) Analyzing: target //tests/realtikvtest/txntest:txntest_test (1509 packages loaded, 13656 targets configured) [4,554 / 4,571] GoCompilePkg pkg/ddl/ingest/testutil/testutil.a; 0s remote-cache, linux-sandbox ... (8 actions running) [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [4,560 / 4,571] GoCompilePkg pkg/testkit/external/external.a; 1s remote-cache, linux-sandbox ... (5 actions, 4 running) Analyzing: target //tests/realtikvtest/txntest:txntest_test (1671 packages loaded, 14469 targets configured) [4,545 / 4,573] GoCompilePkg pkg/executor/executor.a; 3s remote-cache, linux-sandbox ... (3 actions, 2 running) [4,564 / 4,571] GoCompilePkg tests/realtikvtest/pessimistictest/pessimistictest_test.internal.a; 0s remote-cache, linux-sandbox ... (3 actions, 2 running) [4,547 / 4,582] GoCompilePkg pkg/executor/executor.a; 2s remote-cache, linux-sandbox ... (4 actions running) [4,545 / 4,573] GoCompilePkg pkg/executor/executor.a; 3s remote-cache, linux-sandbox ... (3 actions, 2 running) [Pipeline] script [Pipeline] { Analyzing: target //tests/realtikvtest/txntest:txntest_test (1671 packages loaded, 14469 targets configured) [4,547 / 4,582] GoCompilePkg pkg/executor/executor.a; 3s remote-cache, linux-sandbox ... (4 actions running) INFO: Analyzed target //tests/realtikvtest/txntest:txntest_test (1763 packages loaded, 15094 targets configured). INFO: Found 1 test target... [0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt [4,546 / 4,573] GoCompilePkg pkg/executor/executor.a; 5s remote-cache, linux-sandbox [4,570 / 4,571] [Prepa] GoLink tests/realtikvtest/pessimistictest/pessimistictest_test_/pessimistictest_test [4,546 / 4,573] GoCompilePkg pkg/executor/executor.a; 4s remote-cache, linux-sandbox [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, 5.0 MiB / 8.3 MiB; 1s remote-cache ... (3 actions, 0 running) [Pipeline] sh [21 / 4,573] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; 2s remote-cache ... (3 actions, 0 running) [Pipeline] } Cache not saved (ws/jenkins-pingcap-tidb-ghpr_check2-29887 already exists) [Pipeline] } [4,570 / 4,571] GoLink tests/realtikvtest/pessimistictest/pessimistictest_test_/pessimistictest_test; 1s remote-cache, linux-sandbox Cache not saved (ws/jenkins-pingcap-tidb-ghpr_check2-29887 already exists) [4,549 / 4,582] GoCompilePkg pkg/executor/executor.a; 5s remote-cache, linux-sandbox [Pipeline] } Cache not saved (ws/jenkins-pingcap-tidb-ghpr_check2-29887 already exists) [Pipeline] } Cache not saved (ws/jenkins-pingcap-tidb-ghpr_check2-29887 already exists) [Pipeline] } Cache not saved (ws/jenkins-pingcap-tidb-ghpr_check2-29887 already exists) [Pipeline] } Cache not saved (ws/jenkins-pingcap-tidb-ghpr_check2-29887 already exists) [Pipeline] sh [188 / 4,573] GoCompilePkg external/com_github_gogo_protobuf/proto/proto.a; Downloading external/com_github_gogo_protobuf/proto/proto.a, 4.0 MiB / 6.0 MiB; 0s remote-cache ... (8 actions, 0 running) [Pipeline] sh + /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/scripts/pingcap/tidb/run_real_tikv_tests.sh bazel_addindextest3 + /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/scripts/pingcap/tidb/run_real_tikv_tests.sh bazel_addindextest4 go: downloading go1.23.8 (linux/amd64) [670 / 4,573] GoCompilePkg external/com_github_prometheus_client_golang/prometheus/prometheus.a; 0s remote-cache ... (8 actions, 0 running) [Pipeline] // cache [Pipeline] // cache ./t/ddl/db_integration.test: ok! 726 test cases passed, take time 54.279808791 s [Pipeline] sh go: downloading go1.23.8 (linux/amd64) [Pipeline] sh + chmod +x ../scripts/pingcap/tidb/br-lightning_run_group.sh ../scripts/pingcap/tidb/br-lightning_run_group_v2.sh ../scripts/pingcap/tidb/br_integration_test_download_dependency.sh ../scripts/pingcap/tidb/integrationtest.sh ../scripts/pingcap/tidb/integrationtest_v2.sh ../scripts/pingcap/tidb/integrationtest_with_tikv.sh ../scripts/pingcap/tidb/run_real_tikv_tests.sh ../scripts/pingcap/tidb/run_real_tikv_tests_with_gotest.sh [Pipeline] } [Pipeline] // cache [Pipeline] // cache [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 [1,032 / 4,573] GoCompilePkg external/io_etcd_go_etcd_api_v3/etcdserverpb/etcdserverpb.a; Downloading external/io_etcd_go_etcd_api_v3/etcdserverpb/etcdserverpb.a, 3.0 MiB / 9.3 MiB; 0s remote-cache ... (8 actions, 0 running) [Pipeline] sh + chmod +x ../scripts/pingcap/tidb/br-lightning_run_group.sh ../scripts/pingcap/tidb/br-lightning_run_group_v2.sh ../scripts/pingcap/tidb/br_integration_test_download_dependency.sh ../scripts/pingcap/tidb/integrationtest.sh ../scripts/pingcap/tidb/integrationtest_v2.sh ../scripts/pingcap/tidb/integrationtest_with_tikv.sh ../scripts/pingcap/tidb/run_real_tikv_tests.sh ../scripts/pingcap/tidb/run_real_tikv_tests_with_gotest.sh [Pipeline] sh + chmod +x ../scripts/pingcap/tidb/br-lightning_run_group.sh ../scripts/pingcap/tidb/br-lightning_run_group_v2.sh ../scripts/pingcap/tidb/br_integration_test_download_dependency.sh ../scripts/pingcap/tidb/integrationtest.sh ../scripts/pingcap/tidb/integrationtest_v2.sh ../scripts/pingcap/tidb/integrationtest_with_tikv.sh ../scripts/pingcap/tidb/run_real_tikv_tests.sh ../scripts/pingcap/tidb/run_real_tikv_tests_with_gotest.sh [Pipeline] // cache [Pipeline] sh go: downloading go1.23.8 (linux/amd64) + chmod +x ../scripts/pingcap/tidb/br-lightning_run_group.sh ../scripts/pingcap/tidb/br-lightning_run_group_v2.sh ../scripts/pingcap/tidb/br_integration_test_download_dependency.sh ../scripts/pingcap/tidb/integrationtest.sh ../scripts/pingcap/tidb/integrationtest_v2.sh ../scripts/pingcap/tidb/integrationtest_with_tikv.sh ../scripts/pingcap/tidb/run_real_tikv_tests.sh ../scripts/pingcap/tidb/run_real_tikv_tests_with_gotest.sh [1,271 / 4,573] GoCompilePkg external/com_github_pingcap_kvproto/pkg/brpb/brpb.a; 0s remote-cache ... (8 actions, 0 running) + chmod +x ../scripts/pingcap/tidb/br-lightning_run_group.sh ../scripts/pingcap/tidb/br-lightning_run_group_v2.sh ../scripts/pingcap/tidb/br_integration_test_download_dependency.sh ../scripts/pingcap/tidb/integrationtest.sh ../scripts/pingcap/tidb/integrationtest_v2.sh ../scripts/pingcap/tidb/integrationtest_with_tikv.sh ../scripts/pingcap/tidb/run_real_tikv_tests.sh ../scripts/pingcap/tidb/run_real_tikv_tests_with_gotest.sh [Pipeline] // script [Pipeline] sh [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) [1,417 / 4,573] GoCompilePkg external/com_github_aws_aws_sdk_go/service/ec2/ec2.a; 0s remote-cache ... (8 actions, 0 running) [Pipeline] sh + sed -i 's|repository_cache=/home/jenkins/.tidb/tmp|repository_cache=/share/.cache/bazel-repository-cache|g' Makefile.common + git diff . + git status HEAD detached at b2a5950 Untracked files: (use "git add ..." to include in what will be committed) ./ ../tidb@tmp/ nothing added to commit but untracked files present (use "git add" to track) [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) [1,824 / 4,573] GoCompilePkg external/com_github_tikv_client_go_v2/tikv/tikv.a; Downloading external/com_github_tikv_client_go_v2/tikv/tikv.a, 2.5 MiB / 3.1 MiB; 0s remote-cache ... (8 actions, 0 running) [Pipeline] sh + sed -i 's|repository_cache=/home/jenkins/.tidb/tmp|repository_cache=/share/.cache/bazel-repository-cache|g' Makefile.common + git diff . + git status HEAD detached at b2a5950 Untracked files: (use "git add ..." to include in what will be committed) ./ ../tidb@tmp/ nothing added to commit but untracked files present (use "git add" to track) [Pipeline] // dir [Pipeline] sh + sed -i 's|repository_cache=/home/jenkins/.tidb/tmp|repository_cache=/share/.cache/bazel-repository-cache|g' Makefile.common + git diff . + git status HEAD detached at b2a5950 Untracked files: (use "git add ..." to include in what will be committed) ./ ../tidb@tmp/ nothing added to commit but untracked files present (use "git add" to track) [Pipeline] sh [3,661 / 4,573] GoCompilePkg pkg/store/helper/helper.a; 0s remote-cache ... (8 actions, 0 running) + /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/scripts/pingcap/tidb/run_real_tikv_tests.sh bazel_importintotest2 [Pipeline] sh + /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/scripts/pingcap/tidb/run_real_tikv_tests.sh bazel_importintotest4 [Pipeline] sh + /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/scripts/pingcap/tidb/run_real_tikv_tests.sh bazel_flashbacktest GOBIN=/home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/tools/bin GO111MODULE=on go install github.com/pingcap/failpoint/failpoint-ctl@9b3b6e3 go: downloading github.com/pingcap/failpoint v0.0.0-20240527053858-9b3b6e34194a go: downloading github.com/sergi/go-diff v1.1.0 [Pipeline] } [Pipeline] 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 go: downloading github.com/sergi/go-diff v1.1.0 + /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/scripts/pingcap/tidb/run_real_tikv_tests.sh bazel_importintotest3 [4,547 / 4,573] [Prepa] GoCompilePkg pkg/session/session.a [Pipeline] sh + /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/scripts/pingcap/tidb/run_real_tikv_tests.sh bazel_importintotest [4,570 / 4,571] GoLink tests/realtikvtest/pessimistictest/pessimistictest_test_/pessimistictest_test; 9s remote-cache, linux-sandbox [4,001 / 4,573] GoCompilePkg pkg/expression/expression.a; Downloading pkg/expression/expression.a, 73.1 MiB / 108.6 MiB; 0s remote-cache ... (8 actions, 0 running) [Pipeline] // withCredentials [4,547 / 4,573] [Prepa] GoCompilePkg pkg/session/session.a + /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/scripts/pingcap/tidb/run_real_tikv_tests.sh bazel_pipelineddmltest [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // container [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] } [4,158 / 4,573] GoCompilePkg pkg/executor/aggfuncs/aggfuncs.a; Downloading pkg/executor/aggfuncs/aggfuncs.a, 3.1 MiB / 5.9 MiB; 0s remote-cache ... (7 actions, 0 running) [Pipeline] // podTemplate GOBIN=/home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/tools/bin GO111MODULE=on go install github.com/pingcap/failpoint/failpoint-ctl@9b3b6e3 go: downloading github.com/pingcap/failpoint v0.0.0-20240527053858-9b3b6e34194a go: downloading github.com/sergi/go-diff v1.1.0 [Pipeline] } [4,547 / 4,573] GoCompilePkg pkg/session/session.a; 1s remote-cache, linux-sandbox ... (4 actions running) [4,548 / 4,573] GoCompilePkg pkg/session/session.a; 1s remote-cache, linux-sandbox ... (3 actions, 2 running) [Pipeline] // withEnv [Pipeline] } [4,571 / 4,572] [Prepa] Testing //tests/realtikvtest/pessimistictest:pessimistictest_test [Pipeline] // stage [Pipeline] } [4,549 / 4,582] GoCompilePkg pkg/executor/executor.a; 14s remote-cache, linux-sandbox [4,550 / 4,582] GoCompilePkg pkg/session/session.a; 0s remote-cache, linux-sandbox ... (4 actions running) [4,382 / 4,573] GoCompilePkg br/pkg/config/config.a; 0s remote-cache ... (6 actions, 0 running) [4,549 / 4,573] GoCompilePkg pkg/session/session.a; 2s remote-cache, linux-sandbox [4,571 / 4,572] Testing //tests/realtikvtest/pessimistictest:pessimistictest_test; 1s remote-cache, linux-sandbox [4,419 / 4,573] GoCompilePkg pkg/planner/util/domainmisc/domainmisc.a; Downloading pkg/planner/util/domainmisc/domainmisc.a, 8.0 MiB / 11.2 MiB; 0s remote-cache ... (8 actions, 0 running) go: downloading go1.23.8 (linux/amd64) [4,549 / 4,573] GoCompilePkg pkg/session/session.a; 3s remote-cache, linux-sandbox go: downloading go1.23.8 (linux/amd64) [4,552 / 4,582] GoCompilePkg pkg/session/session.a; 2s remote-cache, linux-sandbox [4,491 / 4,573] GoCompilePkg br/pkg/restore/restore.a; Downloading br/pkg/restore/restore.a, 11.3 MiB / 11.8 MiB; 0s remote-cache ... (7 actions, 0 running) [4,550 / 4,573] [Prepa] GoCompilePkg pkg/store/gcworker/gcworker.a [4,549 / 4,573] GoCompilePkg pkg/session/session.a; 4s remote-cache, linux-sandbox [4,521 / 4,573] GoCompilePkg br/pkg/task/task.a; 0s remote-cache ... (7 actions, 0 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) [4,554 / 4,573] GoCompilePkg pkg/store/driver/driver.a; 0s remote-cache, linux-sandbox ... (3 actions, 2 running) bazel --output_user_root=/home/jenkins/.tidb/tmp run --config=ci --repository_cache=/share/.cache/bazel-repository-cache //:gazelle Extracting Bazel installation... bazel --output_user_root=/home/jenkins/.tidb/tmp run --config=ci --repository_cache=/share/.cache/bazel-repository-cache //:gazelle Extracting Bazel installation... Starting local Bazel server and connecting to it... [4,560 / 4,582] GoCompilePkg br/pkg/gluetikv/gluetikv.a; 0s remote-cache, linux-sandbox ... (7 actions, 6 running) [4,557 / 4,573] GoCompilePkg pkg/testkit/testkit.a; 0s remote-cache, linux-sandbox ... (3 actions, 2 running) Starting local Bazel server and connecting to it... [4,558 / 4,573] GoCompilePkg pkg/testkit/testkit.a; 1s remote-cache, linux-sandbox [4,558 / 4,573] GoCompilePkg pkg/testkit/testkit.a; 1s remote-cache, linux-sandbox [4,563 / 4,582] GoCompilePkg br/pkg/gluetikv/gluetikv.a; 1s 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... INFO: Invocation ID: 42fd8675-ee1b-4ab2-be77-fb66459e4dd3 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_04_12_40_00.677538847/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,558 / 4,573] GoCompilePkg pkg/testkit/testkit.a; 1s remote-cache, linux-sandbox GOBIN=/home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/tools/bin GO111MODULE=on go install github.com/pingcap/failpoint/failpoint-ctl@9b3b6e3 go: downloading github.com/pingcap/failpoint v0.0.0-20240527053858-9b3b6e34194a go: downloading github.com/sergi/go-diff v1.1.0 Starting local Bazel server and connecting to it... INFO: Invocation ID: 72850718-3e08-4cf6-83af-0ff0c94807ef INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_04_12_40_01.514400279/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,559 / 4,573] [Prepa] GoCompilePkg pkg/ddl/ingest/testutil/testutil.a ... (2 actions, 0 running) Loading: go: downloading go1.23.8 (linux/amd64) [4,559 / 4,573] [Prepa] GoCompilePkg pkg/ddl/ingest/testutil/testutil.a ... (2 actions, 0 running) [4,564 / 4,582] GoCompilePkg pkg/testkit/testkit.a; 2s remote-cache, linux-sandbox ... (4 actions, 2 running) [4,558 / 4,573] GoCompilePkg pkg/testkit/testkit.a; 2s remote-cache, linux-sandbox go: downloading go1.23.8 (linux/amd64) Loading: go: downloading go1.23.8 (linux/amd64) Loading: Loading: 0 packages loaded go: downloading go1.23.8 (linux/amd64) Analyzing: target //:gazelle (1 packages loaded, 0 targets configured) INFO: Invocation ID: 3d6d5584-b182-48ac-a3e4-2efde12fc005 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_04_12_40_02.3702138031/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: go: downloading go1.23.8 (linux/amd64) GOBIN=/home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/tools/bin GO111MODULE=on go install github.com/pingcap/failpoint/failpoint-ctl@9b3b6e3 go: downloading github.com/pingcap/failpoint v0.0.0-20240527053858-9b3b6e34194a go: downloading github.com/sergi/go-diff v1.1.0 [4,563 / 4,573] GoCompilePkg tests/realtikvtest/realtikvtest.a; 0s remote-cache, linux-sandbox ... (3 actions, 2 running) [4,563 / 4,573] GoCompilePkg tests/realtikvtest/realtikvtest.a; 0s remote-cache, linux-sandbox ... (3 actions, 2 running) Loading: Loading: 0 packages loaded Analyzing: target //:gazelle (1 packages loaded, 0 targets configured) [4,563 / 4,573] GoCompilePkg tests/realtikvtest/realtikvtest.a; 0s remote-cache, linux-sandbox ... (3 actions, 2 running) go: downloading go1.23.8 (linux/amd64) Loading: [4,572 / 4,582] GoCompilePkg br/pkg/gluetidb/gluetidb.a; 1s remote-cache, linux-sandbox ... (4 actions running) [4,564 / 4,573] GoCompilePkg tests/realtikvtest/realtikvtest.a; 1s remote-cache, linux-sandbox Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) [4,564 / 4,573] GoCompilePkg tests/realtikvtest/realtikvtest.a; 1s remote-cache, linux-sandbox Loading: Loading: 0 packages loaded Analyzing: target //:gazelle (1 packages loaded, 0 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) [4,564 / 4,573] GoCompilePkg tests/realtikvtest/realtikvtest.a; 2s remote-cache, linux-sandbox Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) [4,565 / 4,573] [Prepa] GoCompilePkg tests/realtikvtest/sessiontest/sessiontest_test.internal.a ... (2 actions, 0 running) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) [4,565 / 4,573] Running nogo on //tests/realtikvtest/statisticstest:statisticstest_test; 0s remote-cache, linux-sandbox ... (4 actions running) [4,574 / 4,582] [Prepa] GoCompilePkg tests/realtikvtest/brietest/brietest_test.internal.a ... (2 actions, 0 running) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) [4,576 / 4,582] GoCompilePkg tests/realtikvtest/brietest/brietest_test.internal.a; 1s remote-cache, linux-sandbox Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) [4,568 / 4,573] [Prepa] GoCompilePkgExternal tests/realtikvtest/txntest/txntest_test_test.external.a Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) GOBIN=/home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/tools/bin GO111MODULE=on go install github.com/pingcap/failpoint/failpoint-ctl@9b3b6e3 go: downloading github.com/pingcap/failpoint v0.0.0-20240527053858-9b3b6e34194a go: downloading github.com/sergi/go-diff v1.1.0 [4,567 / 4,573] GoCompilePkg tests/realtikvtest/sessiontest/sessiontest_test.internal.a; 1s remote-cache, linux-sandbox Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) GOBIN=/home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/tools/bin GO111MODULE=on go install github.com/pingcap/failpoint/failpoint-ctl@9b3b6e3 go: downloading github.com/pingcap/failpoint v0.0.0-20240527053858-9b3b6e34194a go: downloading github.com/sergi/go-diff v1.1.0 [4,567 / 4,573] GoCompilePkg tests/realtikvtest/statisticstest/statisticstest_test.internal.a; 2s remote-cache, linux-sandbox GOBIN=/home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/tools/bin GO111MODULE=on go install github.com/pingcap/failpoint/failpoint-ctl@9b3b6e3 go: downloading github.com/pingcap/failpoint v0.0.0-20240527053858-9b3b6e34194a go: downloading github.com/sergi/go-diff v1.1.0 Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) bazel --output_user_root=/home/jenkins/.tidb/tmp run --config=ci --repository_cache=/share/.cache/bazel-repository-cache //:gazelle Extracting Bazel installation... 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,571 / 4,572] Testing //tests/realtikvtest/pessimistictest:pessimistictest_test; 11s remote-cache, linux-sandbox [4,572 / 4,573] GoLink tests/realtikvtest/txntest/txntest_test_/txntest_test; 0s remote-cache, linux-sandbox GOBIN=/home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/tools/bin GO111MODULE=on go install github.com/pingcap/failpoint/failpoint-ctl@9b3b6e3 go: downloading github.com/pingcap/failpoint v0.0.0-20240527053858-9b3b6e34194a go: downloading github.com/sergi/go-diff v1.1.0 Starting local Bazel server and connecting to it... [4,577 / 4,582] [Prepa] GoCompilePkgExternal tests/realtikvtest/brietest/brietest_test_test.external.a ... (2 actions, 0 running) GOBIN=/home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/tools/bin GO111MODULE=on go install github.com/pingcap/failpoint/failpoint-ctl@9b3b6e3 go: downloading github.com/pingcap/failpoint v0.0.0-20240527053858-9b3b6e34194a go: downloading github.com/sergi/go-diff v1.1.0 Analyzing: target //:gazelle (45 packages loaded, 462 targets configured) Analyzing: target //:gazelle (67 packages loaded, 3051 targets configured) [4,572 / 4,573] GoLink tests/realtikvtest/sessiontest/sessiontest_test_/sessiontest_test; 1s remote-cache, linux-sandbox [4,572 / 4,573] GoLink tests/realtikvtest/statisticstest/statisticstest_test_/statisticstest_test; 1s remote-cache, linux-sandbox Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (67 packages loaded, 2583 targets configured) INFO: Invocation ID: d943b342-c63d-4a60-a510-f10a69952aba INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_04_12_40_03.1478686703/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,581 / 4,582] GoLink tests/realtikvtest/brietest/brietest_test_/brietest_test; 0s remote-cache, linux-sandbox Analyzing: target //:gazelle (45 packages loaded, 462 targets configured) Loading: Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Loading: Loading: 0 packages loaded Analyzing: target //:gazelle (1 packages loaded, 0 targets configured) Analyzing: target //:gazelle (99 packages loaded, 5049 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) bazel --output_user_root=/home/jenkins/.tidb/tmp run --config=ci --repository_cache=/share/.cache/bazel-repository-cache //:gazelle Extracting Bazel installation... bazel --output_user_root=/home/jenkins/.tidb/tmp run --config=ci --repository_cache=/share/.cache/bazel-repository-cache //:gazelle Extracting Bazel installation... bazel --output_user_root=/home/jenkins/.tidb/tmp run --config=ci --repository_cache=/share/.cache/bazel-repository-cache //:gazelle Extracting Bazel installation... Starting local Bazel server and connecting to it... bazel --output_user_root=/home/jenkins/.tidb/tmp run --config=ci --repository_cache=/share/.cache/bazel-repository-cache //:gazelle Extracting Bazel installation... Starting local Bazel server and connecting to it... Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Starting local Bazel server and connecting to it... Starting local Bazel server and connecting to it... bazel --output_user_root=/home/jenkins/.tidb/tmp run --config=ci --repository_cache=/share/.cache/bazel-repository-cache //:gazelle Extracting Bazel installation... Starting local Bazel server and connecting to it... bazel --output_user_root=/home/jenkins/.tidb/tmp run --config=ci --repository_cache=/share/.cache/bazel-repository-cache //:gazelle Extracting Bazel installation... Starting local Bazel server and connecting to it... bazel --output_user_root=/home/jenkins/.tidb/tmp run --config=ci --repository_cache=/share/.cache/bazel-repository-cache //:gazelle Extracting Bazel installation... INFO: Invocation ID: aa65548f-2b57-4086-a63f-df450fb6c931 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_04_12_40_15.940418031/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... INFO: Invocation ID: a9f30089-c839-4c91-a5f5-cbbd16779dba INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_04_12_40_15.2252073240/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: 0e7a6060-f7cc-4e34-b87f-26d5515a021d INFO: Invocation ID: 539d39db-6e19-4eef-b4e5-c8824b43e420 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: 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 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: INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_04_12_40_15.3809675714/bazel: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution Inherited 'build' options: --remote_cache=http://ats.apps.svc/brc/tidb --remote_timeout=30s INFO: Reading rc options for 'run' from /data/..2025_04_04_12_40_15.3352495330/bazel: INFO: Reading rc options for 'run' from /home/jenkins/.bazelrc: 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 Inherited 'build' options: --local_ram_resources=29491 --local_cpu_resources=8 --jobs=8 --repository_cache=/share/.cache/bazel-repository-cache INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression INFO: Found applicable config definition run:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression INFO: Found applicable config definition run:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes Loading: Loading: INFO: Invocation ID: d1c4a4e8-369f-4bf0-8c6b-135752795b8e INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_04_12_40_15.1008628943/bazel: Inherited 'build' options: --remote_cache=http://ats.apps.svc/brc/tidb --remote_timeout=30s INFO: Reading rc options for 'run' from /home/jenkins/.bazelrc: Inherited 'build' options: --local_ram_resources=29491 --local_cpu_resources=8 --jobs=8 --repository_cache=/share/.cache/bazel-repository-cache INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression INFO: Found applicable config definition run:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes Loading: Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Loading: Loading: Loading: INFO: Invocation ID: ed2ed763-d87f-4ca3-bb60-b36401597445 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_04_12_40_04.3834937450/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: c3d99491-17ab-4bec-b6ee-fd354c116be5 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_04_12_40_15.3020786229/bazel: Inherited 'build' options: --remote_cache=http://ats.apps.svc/brc/tidb --remote_timeout=30s INFO: Reading rc options for 'run' from /home/jenkins/.bazelrc: Inherited 'build' options: --local_ram_resources=29491 --local_cpu_resources=8 --jobs=8 --repository_cache=/share/.cache/bazel-repository-cache INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression INFO: Found applicable config definition run:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes Loading: Loading: Loading: 0 packages loaded Analyzing: target //:gazelle (1 packages loaded, 0 targets configured) Loading: Analyzing: target //:gazelle (45 packages loaded, 463 targets configured) Loading: Loading: 0 packages loaded Analyzing: target //:gazelle (1 packages loaded, 0 targets configured) Loading: Loading: 0 packages loaded Analyzing: target //:gazelle (1 packages loaded, 0 targets configured) Loading: Loading: Loading: 0 packages loaded Loading: Loading: 0 packages loaded Loading: Analyzing: target //:gazelle (1 packages loaded, 0 targets configured) Loading: [4,572 / 4,573] GoLink tests/realtikvtest/txntest/txntest_test_/txntest_test; 10s remote-cache, linux-sandbox 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 (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Loading: Loading: Loading: 0 packages loaded Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) [4,572 / 4,573] GoLink tests/realtikvtest/txntest/txntest_test_/txntest_test; 11s remote-cache, linux-sandbox [4,572 / 4,573] GoLink tests/realtikvtest/sessiontest/sessiontest_test_/sessiontest_test; 11s remote-cache, linux-sandbox Analyzing: target //:gazelle (1 packages loaded, 0 targets configured) [4,572 / 4,573] GoLink tests/realtikvtest/statisticstest/statisticstest_test_/statisticstest_test; 10s remote-cache, linux-sandbox Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) 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,572 / 4,573] GoLink tests/realtikvtest/sessiontest/sessiontest_test_/sessiontest_test; 12s remote-cache, linux-sandbox [4,572 / 4,573] GoLink tests/realtikvtest/statisticstest/statisticstest_test_/statisticstest_test; 12s remote-cache, linux-sandbox Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) [4,573 / 4,574] Testing //tests/realtikvtest/txntest:txntest_test; 1s remote-cache, linux-sandbox Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (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,581 / 4,582] GoLink tests/realtikvtest/brietest/brietest_test_/brietest_test; 11s remote-cache, linux-sandbox [4,581 / 4,582] GoLink tests/realtikvtest/brietest/brietest_test_/brietest_test; 12s remote-cache, linux-sandbox Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) [4,573 / 4,574] Testing //tests/realtikvtest/sessiontest:sessiontest_test; 1s remote-cache, linux-sandbox Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) [4,573 / 4,574] Testing //tests/realtikvtest/statisticstest:statisticstest_test; 1s remote-cache, linux-sandbox Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (170 packages loaded, 5919 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (45 packages loaded, 463 targets configured) Analyzing: target //:gazelle (416 packages loaded, 6405 targets configured) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (170 packages loaded, 5918 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (45 packages loaded, 463 targets configured) [4,582 / 4,583] Testing //tests/realtikvtest/brietest:brietest_test; 1s remote-cache, linux-sandbox Analyzing: target //:gazelle (67 packages loaded, 2341 targets configured) Analyzing: target //:gazelle (399 packages loaded, 6282 targets configured) INFO: Analyzed target //:gazelle (430 packages loaded, 6967 targets configured). INFO: Found 1 target... [0 / 88] [Prepa] BazelWorkspaceStatusAction stable-status.txt ... ( 1 action running) Analyzing: target //:gazelle (73 packages loaded, 2471 targets configured) Analyzing: target //:gazelle (45 packages loaded, 463 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, 5863 targets configured) Analyzing: target //:gazelle (45 packages loaded, 463 targets configured) [0 / 91] [Prepa] BazelWorkspaceStatusAction stable-status.txt ... ( 1 action running) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (401 packages loaded, 6327 targets configured) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/cgo, 3.7 MiB / 3.9 MiB; 0s remote-cache ... (4 actions, 0 running) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/internal/trace/traceviewer.a, 3.0 MiB / 3.4 MiB; 1s remote-cache ... (4 actions, 0 running) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) INFO: Analyzed target //:gazelle (430 packages loaded, 6967 targets configured). INFO: Found 1 target... [0 / 91] [Prepa] BazelWorkspaceStatusAction stable-status.txt ... ( 1 action running) Analyzing: target //:gazelle (52 packages loaded, 493 targets configured) [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 17.0 MiB / 18.9 MiB; 1s remote-cache ... (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, 7.6 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/debug/elf.a, 761.6 KiB / 1.2 MiB; 0s remote-cache ... (4 actions, 0 running) [25 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; 2s remote-cache ... (3 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, 16.6 MiB / 18.9 MiB; 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/addr2line, 1.0 MiB / 2.7 MiB; 1s remote-cache ... (4 actions, 0 running) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) [84 / 530] GoCompilePkg external/org_golang_x_tools/internal/stdlib/stdlib.a [for tool]; 0s remote-cache ... (7 actions, 0 running) [70 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; 3s remote-cache [25 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 13.0 MiB / 18.9 MiB; 2s remote-cache ... (8 actions, 0 running) Target //:gazelle up-to-date: bazel-bin/gazelle-runner.bash bazel-bin/gazelle INFO: Elapsed time: 31.315s, Critical Path: 4.83s INFO: 530 processes: 510 remote cache hit, 20 internal. INFO: Build completed successfully, 530 total actions INFO: Running command line: bazel-bin/gazelle [387 / 530] GoCompilePkg build/linter/unconvert/unconvert.a [for tool]; 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: de7a427b-1173-41e8-b5cd-ccfc019fe77e INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_04_12_40_00.677538847/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 //:gazelle (100 packages loaded, 5086 targets configured) [47 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; 3s remote-cache ... (2 actions, 0 running) Analyzing: target //:gazelle (170 packages loaded, 5898 targets configured) Target //:gazelle up-to-date: bazel-bin/gazelle-runner.bash bazel-bin/gazelle INFO: Elapsed time: 31.796s, Critical Path: 5.12s INFO: 530 processes: 510 remote cache hit, 20 internal. INFO: Build completed successfully, 530 total actions INFO: Running command line: bazel-bin/gazelle 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: ba31bf97-7993-4d50-b2e3-29799057c68b INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_04_12_40_01.514400279/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) [343 / 530] GoCompilePkg external/co_honnef_go_tools/staticcheck/sa4010/sa4010.a [for tool]; Downloading external/co_honnef_go_tools/staticcheck/sa4010/sa4010.a; 0s remote-cache ... (8 actions, 0 running) Analyzing: target //:gazelle (271 packages loaded, 6324 targets configured) Analyzing: target //tools/tazel:tazel (2 packages loaded, 5389 targets configured) Target //:gazelle up-to-date: bazel-bin/gazelle-runner.bash bazel-bin/gazelle INFO: Elapsed time: 31.798s, Critical Path: 4.80s INFO: 530 processes: 510 remote cache hit, 20 internal. INFO: Build completed successfully, 530 total actions INFO: Running command line: bazel-bin/gazelle [4,573 / 4,574] Testing //tests/realtikvtest/sessiontest:sessiontest_test; 11s remote-cache, linux-sandbox [4,573 / 4,574] Testing //tests/realtikvtest/statisticstest:statisticstest_test; 11s remote-cache, linux-sandbox Analyzing: target //tools/tazel:tazel (3 packages loaded, 5106 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: dac3aaba-a147-49cf-ae30-7c07d2cc18c3 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_04_12_40_02.3702138031/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) [4,573 / 4,574] Testing //tests/realtikvtest/txntest:txntest_test; 11s remote-cache, linux-sandbox Analyzing: target //tools/tazel:tazel (1 packages loaded, 0 targets configured) INFO: Analyzed target //:gazelle (430 packages loaded, 6967 targets configured).  checking cached actions INFO: Found 1 target... [0 / 84] [Prepa] BazelWorkspaceStatusAction stable-status.txt ... ( 1 action running) Analyzing: target //tools/tazel:tazel (16 packages loaded, 6817 targets configured) [4,582 / 4,583] Testing //tests/realtikvtest/brietest:brietest_test; 11s remote-cache, linux-sandbox Analyzing: target //tools/tazel:tazel (255 packages loaded, 8091 targets configured) INFO: Analyzed target //tools/tazel:tazel (277 packages loaded, 8593 targets configured). INFO: Found 1 target... [0 / 3] [Prepa] BazelWorkspaceStatusAction stable-status.txt Analyzing: target //tools/tazel:tazel (3 packages loaded, 5413 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, 10.1 MiB / 12.2 MiB; 0s remote-cache ... (4 actions, 0 running) Analyzing: target //tools/tazel:tazel (128 packages loaded, 7551 targets configured) [1,167 / 1,307] GoCompilePkg external/com_github_pingcap_kvproto/pkg/kvrpcpb/kvrpcpb.a; Downloading external/com_github_pingcap_kvproto/pkg/kvrpcpb/kvrpcpb.a, 7.8 MiB / 10.2 MiB; 0s remote-cache ... (2 actions, 0 running) Analyzing: target //tools/tazel:tazel (46 packages loaded, 7303 targets configured) [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 14.0 MiB / 18.9 MiB; 1s remote-cache ... (4 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: 120.528s, Critical Path: 104.81s INFO: 4571 processes: 4450 remote cache hit, 13 internal, 108 linux-sandbox. INFO: Build completed successfully, 4571 total actions //tests/realtikvtest/statisticstest:statisticstest_test PASSED in 14.6s PASSED statisticstest_test.TestAsyncMergeFMSketch (1.5s) PASSED statisticstest_test.TestBlockMergeFMSketch (1.3s) PASSED statisticstest_test.TestNewCollationStatsWithPrefixIndex (6.0s) PASSED statisticstest_test.TestNoNeedIndexStatsLoading (3.3s) Test cases: finished with 4 passing and 0 failing out of 4 test cases Executed 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] { INFO: Analyzed target //tools/tazel:tazel (277 packages loaded, 8593 targets configured).  checking cached actions INFO: Found 1 target... [0 / 4] [Prepa] BazelWorkspaceStatusAction stable-status.txt [Pipeline] junit Recording test results Target //tools/tazel:tazel up-to-date: bazel-bin/tools/tazel/tazel_/tazel INFO: Elapsed time: 5.942s, Critical Path: 1.32s 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 ' None of the test reports contained any result [Checks API] No suitable checks publisher found. [Pipeline] } [Pipeline] // dir [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] sh Analyzing: target //tools/tazel:tazel (252 packages loaded, 8065 targets configured) [26 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/addr2line, 2.3 MiB / 2.7 MiB; 2s remote-cache ... (8 actions, 0 running) [1,125 / 1,307] GoCompilePkg external/io_etcd_go_etcd_api_v3/etcdserverpb/etcdserverpb.a; 0s remote-cache ... (8 actions, 0 running) INFO: Analyzed target //tools/tazel:tazel (277 packages loaded, 8593 targets configured). INFO: Found 1 target... [0 / 12] [Prepa] BazelWorkspaceStatusAction stable-status.txt No test report files were found. Configuration error? [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // dir Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (170 packages loaded, 5908 targets configured) [Pipeline] } Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (173 packages loaded, 5922 targets configured) [Pipeline] // withCredentials [Pipeline] } [Pipeline] // timeout [Pipeline] } Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (172 packages loaded, 5926 targets configured) [Pipeline] // stage [Pipeline] } [172 / 530] GoCompilePkg external/co_honnef_go_tools/go/ir/ir.a [for tool]; Downloading external/co_honnef_go_tools/go/ir/ir.a, 4.2 MiB / 6.2 MiB; 0s remote-cache ... (8 actions, 0 running) [Pipeline] // container [Pipeline] } Target //tools/tazel:tazel up-to-date: bazel-bin/tools/tazel/tazel_/tazel INFO: Elapsed time: 6.500s, 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 ' Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (173 packages loaded, 5944 targets configured) [Pipeline] // withEnv Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (170 packages loaded, 5919 targets configured) [Pipeline] } Analyzing: target //:gazelle (413 packages loaded, 6337 targets configured) [Pipeline] // node Analyzing: target //:gazelle (410 packages loaded, 6364 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: bf5e835a-4bee-4271-9c2b-e13cd19a4f5c INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'test' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'test' from /data/..2025_04_04_12_40_00.677538847/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. [Pipeline] } Analyzing: target //:gazelle (407 packages loaded, 6346 targets configured) Analyzing: target //:gazelle (404 packages loaded, 6324 targets configured) [Pipeline] // podTemplate [1,165 / 1,307] GoCompilePkg external/com_github_pingcap_kvproto/pkg/kvrpcpb/kvrpcpb.a; Downloading external/com_github_pingcap_kvproto/pkg/kvrpcpb/kvrpcpb.a, 8.0 MiB / 10.2 MiB; 0s remote-cache ... (3 actions, 0 running) Analyzing: target //tests/realtikvtest/addindextest:addindextest_test (1 packages loaded, 0 targets configured) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (170 packages loaded, 5914 targets configured) [Pipeline] } [Pipeline] // withEnv [Pipeline] } Target //:gazelle up-to-date: bazel-bin/gazelle-runner.bash bazel-bin/gazelle INFO: Elapsed time: 31.209s, Critical Path: 4.42s INFO: 530 processes: 510 remote cache hit, 20 internal. INFO: Build completed successfully, 530 total actions INFO: Running command line: bazel-bin/gazelle [Pipeline] // stage [Pipeline] } Analyzing: target //:gazelle (418 packages loaded, 6457 targets configured) Target //tools/tazel:tazel up-to-date: bazel-bin/tools/tazel/tazel_/tazel INFO: Elapsed time: 6.226s, Critical Path: 1.37s INFO: 867 processes: 864 remote cache hit, 3 internal. INFO: Build completed successfully, 867 total actions INFO: Analyzed target //:gazelle (430 packages loaded, 6967 targets configured). INFO: Found 1 target... INFO: Analyzed target //:gazelle (430 packages loaded, 6967 targets configured). INFO: Found 1 target... [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 / 85] [Prepa] BazelWorkspaceStatusAction stable-status.txt ... ( 1 action 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: a8288f74-3c27-43d2-9865-e2e0306cbdc9 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_04_12_40_03.1478686703/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. INFO: Running command line: /bin/bash -c 'cd /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb && bazel-bin/tools/tazel/tazel_/tazel ' INFO: Analyzed target //:gazelle (430 packages loaded, 6967 targets configured). INFO: Found 1 target... [0 / 88] [Prepa] BazelWorkspaceStatusAction stable-status.txt ... ( 1 action running) [0 / 87] [Prepa] BazelWorkspaceStatusAction stable-status.txt ... ( 1 action running) Analyzing: target //:gazelle (299 packages loaded, 6300 targets configured) INFO: Analyzed target //:gazelle (430 packages loaded, 6967 targets configured). INFO: Found 1 target... Analyzing: target //tools/tazel:tazel (1 packages loaded, 0 targets configured) [0 / 90] [Prepa] BazelWorkspaceStatusAction stable-status.txt ... (2 actions, 0 running) bazel --output_user_root=/home/jenkins/.tidb/tmp test --config=ci --repository_cache=/share/.cache/bazel-repository-cache --test_arg=-with-real-tikv --define gotags=deadlock,intest \ -- //tests/realtikvtest/addindextest1/... INFO: Invocation ID: 05baac74-674d-4585-b4f3-d22bb8a8959e INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'test' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'test' from /data/..2025_04_04_12_40_01.514400279/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/addindextest:addindextest_test (264 packages loaded, 4572 targets configured) [4,571 / 4,572] Testing //tests/realtikvtest/pessimistictest:pessimistictest_test; 41s remote-cache, linux-sandbox Analyzing: target //tests/realtikvtest/addindextest1:addindextest1_test (1 packages loaded, 0 targets configured) [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/os.a, 1.2 MiB / 1.6 MiB; 0s remote-cache ... (4 actions, 0 running) INFO: Analyzed target //:gazelle (430 packages loaded, 6967 targets configured).  checking cached actions INFO: Found 1 target... Analyzing: target //tools/tazel:tazel (2 packages loaded, 5129 targets configured) [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/runtime.a, 7.2 MiB / 12.2 MiB; 0s remote-cache ... (4 actions, 0 running) [0 / 90] [Prepa] BazelWorkspaceStatusAction stable-status.txt ... ( 1 action 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: 6da9b231-af8a-44f8-8848-f3c00e0e3f8b INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'test' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'test' from /data/..2025_04_04_12_40_02.3702138031/bazel: Inherited 'build' options: --remote_cache=http://ats.apps.svc/brc/tidb --remote_timeout=30s INFO: Reading rc options for 'test' from /home/jenkins/.bazelrc: Inherited 'build' options: --local_ram_resources=29491 --local_cpu_resources=8 --jobs=8 --repository_cache=/share/.cache/bazel-repository-cache INFO: Reading rc options for 'test' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: 'test' options: --test_output=errors --test_summary=detailed INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression INFO: Found applicable config definition test:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --verbose_failures --test_verbose_timeout_warnings --test_env=GO_TEST_WRAP_TESTV=1 --experimental_ui_max_stdouterr_bytes=268435456 --test_timeout=150,300,900,3600 --flaky_test_attempts=5 [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/net.a, 4.1 MiB / 4.1 MiB; 0s remote-cache ... (4 actions, 0 running) Analyzing: target //tests/realtikvtest/addindextest:addindextest_test (698 packages loaded, 6767 targets configured) Loading: Loading: Loading: 0 packages loaded INFO: Build options --define, --run_under, and --test_env have changed, discarding analysis cache. [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/runtime.a, 9.1 MiB / 12.2 MiB; 0s remote-cache ... (4 actions, 0 running) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (170 packages loaded, 5840 targets configured) [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/runtime.a, 10.2 MiB / 12.2 MiB; 1s remote-cache ... (4 actions, 0 running) [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/net/http.a, 4.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/linux_amd64/text/template.a; 1s remote-cache ... (4 actions, 0 running) Analyzing: target //tests/realtikvtest/addindextest1:addindextest1_test (168 packages loaded, 3914 targets configured) Analyzing: target //tests/realtikvtest/addindextest2:addindextest2_test (1 packages loaded, 0 targets configured) [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.4 MiB / 3.4 MiB; 1s remote-cache ... (4 actions, 0 running) Analyzing: target //tests/realtikvtest/addindextest:addindextest_test (1082 packages loaded, 9185 targets configured) Analyzing: target //tools/tazel:tazel (19 packages loaded, 6817 targets configured) [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/vendor/golang.org/x/text/unicode/bidi.a, 391.6 KiB / 481.6 KiB; 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, 8.3 MiB / 12.2 MiB; 1s remote-cache ... (4 actions, 0 running) Analyzing: target //:gazelle (238 packages loaded, 6320 targets configured) [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/cgo, 1.3 MiB / 3.9 MiB; 2s remote-cache ... (4 actions, 0 running) Analyzing: target //tests/realtikvtest/addindextest1:addindextest1_test (568 packages loaded, 5327 targets configured) Analyzing: target //tests/realtikvtest/addindextest2:addindextest2_test (283 packages loaded, 4474 targets configured) [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 16.0 MiB / 18.9 MiB; 2s remote-cache ... (4 actions, 0 running) [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 11.0 MiB / 18.9 MiB; 2s remote-cache ... (4 actions, 0 running) Analyzing: target //tests/realtikvtest/addindextest:addindextest_test (1222 packages loaded, 10342 targets configured) Analyzing: target //tools/tazel:tazel (136 packages loaded, 7779 targets configured) [24 / 530] 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; 2s remote-cache ... (4 actions, 0 running) Analyzing: target //:gazelle (430 packages loaded, 6967 targets configured) [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; 3s remote-cache ... (4 actions, 0 running) INFO: Analyzed target //:gazelle (430 packages loaded, 6967 targets configured). INFO: Found 1 target... [0 / 88] [Prepa] BazelWorkspaceStatusAction stable-status.txt ... ( 1 action running) Analyzing: target //tests/realtikvtest/addindextest1:addindextest1_test (848 packages loaded, 7246 targets configured) INFO: Analyzed target //tools/tazel:tazel (277 packages loaded, 8593 targets configured). INFO: Found 1 target... [0 / 193] [Prepa] BazelWorkspaceStatusAction stable-status.txt Analyzing: target //tests/realtikvtest/addindextest2:addindextest2_test (810 packages loaded, 6563 targets configured) [24 / 530] 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; 2s remote-cache ... (4 actions, 0 running) [56 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; 3s remote-cache ... (8 actions, 0 running) Analyzing: target //tests/realtikvtest/addindextest:addindextest_test (1352 packages loaded, 11259 targets configured) [184 / 530] GoCompilePkg external/com_github_daixiang0_gci/pkg/config/config.a [for tool]; Downloading external/com_github_daixiang0_gci/pkg/config/config.x; 0s remote-cache ... (7 actions, 0 running) [25 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; 3s remote-cache ... (8 actions, 0 running) [26 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; 3s remote-cache ... (8 actions, 0 running) Analyzing: target //tests/realtikvtest/addindextest1:addindextest1_test (911 packages loaded, 8620 targets configured) [1,161 / 1,307] GoCompilePkg external/com_github_pingcap_kvproto/pkg/kvrpcpb/kvrpcpb.a; 0s remote-cache ... (6 actions, 0 running) Target //:gazelle up-to-date: bazel-bin/gazelle-runner.bash bazel-bin/gazelle INFO: Elapsed time: 31.060s, Critical Path: 4.33s INFO: 530 processes: 510 remote cache hit, 20 internal. INFO: Build completed successfully, 530 total actions INFO: Running command line: bazel-bin/gazelle [192 / 530] GoCompilePkg external/com_github_golangci_gosec/rules/rules.a [for tool]; 0s remote-cache ... (8 actions, 0 running) [370 / 530] GoCompilePkg external/co_honnef_go_tools/simple/s1033/s1033.a [for tool]; 0s remote-cache ... (8 actions, 0 running) [276 / 530] GoCompilePkg external/co_honnef_go_tools/stylecheck/st1005/st1005.a [for tool]; Downloading external/co_honnef_go_tools/stylecheck/st1005/st1005.a; 0s remote-cache ... (8 actions, 0 running) Target //:gazelle up-to-date: bazel-bin/gazelle-runner.bash bazel-bin/gazelle Analyzing: target //tests/realtikvtest/addindextest2:addindextest2_test (926 packages loaded, 8502 targets configured) [27 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; 3s remote-cache ... (6 actions, 0 running) INFO: Elapsed time: 30.806s, Critical Path: 4.43s INFO: 530 processes: 510 remote cache hit, 20 internal. INFO: Build completed successfully, 530 total actions INFO: Running command line: bazel-bin/gazelle Target //:gazelle up-to-date: bazel-bin/gazelle-runner.bash bazel-bin/gazelle INFO: Elapsed time: 31.049s, Critical Path: 4.65s INFO: 530 processes: 510 remote cache hit, 20 internal. INFO: Build completed successfully, 530 total actions INFO: Running command line: bazel-bin/gazelle [357 / 530] GoCompilePkg external/co_honnef_go_tools/simple/s1038/s1038.a [for tool]; Downloading external/co_honnef_go_tools/simple/s1038/s1038.x; 0s remote-cache ... (8 actions, 0 running) Analyzing: target //tests/realtikvtest/addindextest:addindextest_test (1430 packages loaded, 12272 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, 6.5 MiB / 8.3 MiB; 1s remote-cache ... (4 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: 13f12e1f-389a-4c1d-8a49-a9f039f2ef11 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_04_12_40_15.940418031/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. Target //:gazelle up-to-date: bazel-bin/gazelle-runner.bash bazel-bin/gazelle INFO: Elapsed time: 30.950s, Critical Path: 4.86s INFO: 530 processes: 510 remote cache hit, 20 internal. INFO: Build completed successfully, 530 total actions INFO: Running command line: bazel-bin/gazelle Target //tools/tazel:tazel up-to-date: bazel-bin/tools/tazel/tazel_/tazel INFO: Elapsed time: 5.862s, Critical Path: 1.38s INFO: 867 processes: 864 remote cache hit, 3 internal. INFO: Build completed successfully, 867 total actions INFO: Running command line: /bin/bash -c 'cd /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb && bazel-bin/tools/tazel/tazel_/tazel ' Analyzing: target //tools/tazel:tazel (1 packages loaded, 0 targets configured) Target //:gazelle up-to-date: bazel-bin/gazelle-runner.bash bazel-bin/gazelle INFO: Elapsed time: 31.601s, Critical Path: 4.66s 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: e93e39b8-3284-4f01-a4ff-7a87419109da INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_04_12_40_15.3809675714/bazel: Inherited 'build' options: --remote_cache=http://ats.apps.svc/brc/tidb --remote_timeout=30s INFO: Reading rc options for 'run' from /home/jenkins/.bazelrc: Inherited 'build' options: --local_ram_resources=29491 --local_cpu_resources=8 --jobs=8 --repository_cache=/share/.cache/bazel-repository-cache INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression INFO: Found applicable config definition run:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes Loading: Loading: Loading: 0 packages loaded INFO: Build option --run_under has changed, discarding analysis cache. bazel --output_user_root=/home/jenkins/.tidb/tmp run --config=ci --repository_cache=/share/.cache/bazel-repository-cache \ --run_under="cd /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb && " \ //tools/tazel:tazel INFO: Invocation ID: 7584c525-1b1b-4068-acff-7b0d0452793d INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_04_12_40_15.3352495330/bazel: Inherited 'build' options: --remote_cache=http://ats.apps.svc/brc/tidb --remote_timeout=30s INFO: Reading rc options for 'run' from /home/jenkins/.bazelrc: Inherited 'build' options: --local_ram_resources=29491 --local_cpu_resources=8 --jobs=8 --repository_cache=/share/.cache/bazel-repository-cache INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression INFO: Found applicable config definition run:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes Loading: Loading: Loading: 0 packages loaded INFO: Build option --run_under has changed, discarding analysis cache. Analyzing: target //tests/realtikvtest/addindextest1:addindextest1_test (1160 packages loaded, 9693 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 Analyzing: target //tests/realtikvtest/addindextest2:addindextest2_test (1162 packages loaded, 9456 targets configured) [118 / 530] GoCompilePkg external/org_golang_x_tools/go/ssa/ssa.a [for tool]; 0s remote-cache ... (8 actions, 0 running) Analyzing: target //tools/tazel:tazel (1 packages loaded, 0 targets configured) Analyzing: target //tools/tazel:tazel (1 packages loaded, 0 targets configured) bazel --output_user_root=/home/jenkins/.tidb/tmp run --config=ci --repository_cache=/share/.cache/bazel-repository-cache \ --run_under="cd /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb && " \ //tools/tazel:tazel INFO: Invocation ID: 1eaafb6e-7fa9-4991-a46b-0033813458d9 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_04_12_40_15.1008628943/bazel: Inherited 'build' options: --remote_cache=http://ats.apps.svc/brc/tidb --remote_timeout=30s INFO: Reading rc options for 'run' from /home/jenkins/.bazelrc: Inherited 'build' options: --local_ram_resources=29491 --local_cpu_resources=8 --jobs=8 --repository_cache=/share/.cache/bazel-repository-cache INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression INFO: Found applicable config definition run:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes INFO: Invocation ID: c9fb498f-9d5e-41ac-ab04-b8a855312ab3 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_04_12_40_15.2252073240/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 //tests/realtikvtest/addindextest:addindextest_test (1503 packages loaded, 12929 targets configured) Loading: Loading: Loading: 0 packages loaded INFO: Build option --run_under has changed, discarding analysis cache. Analyzing: target //tools/tazel:tazel (1 packages loaded, 0 targets configured) [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 18.7 MiB / 18.9 MiB; 2s remote-cache ... (4 actions, 0 running) Analyzing: target //tools/tazel:tazel (2 packages loaded, 5556 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/addindextest3/... INFO: Invocation ID: cd205702-2af1-44de-afde-63a2fbd4ab6a INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'test' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'test' from /data/..2025_04_04_12_40_03.1478686703/bazel: Inherited 'build' options: --remote_cache=http://ats.apps.svc/brc/tidb --remote_timeout=30s INFO: Reading rc options for 'test' from /home/jenkins/.bazelrc: Inherited 'build' options: --local_ram_resources=29491 --local_cpu_resources=8 --jobs=8 --repository_cache=/share/.cache/bazel-repository-cache INFO: Reading rc options for 'test' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: 'test' options: --test_output=errors --test_summary=detailed INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression INFO: Found applicable config definition test:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --verbose_failures --test_verbose_timeout_warnings --test_env=GO_TEST_WRAP_TESTV=1 --experimental_ui_max_stdouterr_bytes=268435456 --test_timeout=150,300,900,3600 --flaky_test_attempts=5 Analyzing: target //tests/realtikvtest/addindextest1:addindextest1_test (1235 packages loaded, 10274 targets configured) Analyzing: target //tests/realtikvtest/addindextest2:addindextest2_test (1338 packages loaded, 11199 targets configured) [486 / 530] [Prepa] Running nogo on @bazel_gazelle//internal/wspace:wspace ... (8 actions, 0 running) Loading: Loading: Loading: 0 packages loaded INFO: Build options --define, --run_under, and --test_env have changed, discarding analysis cache. Analyzing: target //tests/realtikvtest/addindextest:addindextest_test (1671 packages loaded, 13758 targets configured) Target //:gazelle up-to-date: bazel-bin/gazelle-runner.bash bazel-bin/gazelle INFO: Elapsed time: 31.921s, Critical Path: 5.22s INFO: 530 processes: 510 remote cache hit, 20 internal. INFO: Build completed successfully, 530 total actions INFO: Running command line: bazel-bin/gazelle [30 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 12.8 MiB / 18.9 MiB; 3s remote-cache ... (8 actions, 0 running) Analyzing: target //tools/tazel:tazel (3 packages loaded, 5436 targets configured) Analyzing: target //tools/tazel:tazel (3 packages loaded, 5393 targets configured) Analyzing: target //tools/tazel:tazel (3 packages loaded, 5459 targets configured) Analyzing: target //tests/realtikvtest/addindextest3:addindextest3_test (1 packages loaded, 0 targets configured) Analyzing: target //tools/tazel:tazel (2 packages loaded, 5341 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: ff08c2d7-ce67-4081-bc90-ee23223ee8cc INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_04_12_40_15.3020786229/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 //tests/realtikvtest/addindextest1:addindextest1_test (1397 packages loaded, 11929 targets configured) Analyzing: target //tests/realtikvtest/addindextest2:addindextest2_test (1434 packages loaded, 12128 targets configured) Analyzing: target //tools/tazel:tazel (80 packages loaded, 7374 targets configured) INFO: Build option --run_under has changed, discarding analysis cache. Analyzing: target //tools/tazel:tazel (1 packages loaded, 0 targets configured) [310 / 530] GoCompilePkg external/co_honnef_go_tools/staticcheck/sa1010/sa1010.a [for tool]; Downloading external/co_honnef_go_tools/staticcheck/sa1010/sa1010.a, 338.4 KiB / 388.3 KiB; 0s remote-cache ... (8 actions, 0 running) Analyzing: target //tools/tazel:tazel (47 packages loaded, 7355 targets configured) Analyzing: target //tools/tazel:tazel (40 packages loaded, 7270 targets configured) Analyzing: target //tools/tazel:tazel (47 packages loaded, 7303 targets configured) Analyzing: target //tests/realtikvtest/addindextest:addindextest_test (1672 packages loaded, 13807 targets configured) Analyzing: target //tools/tazel:tazel (46 packages loaded, 7303 targets configured) Analyzing: target //tests/realtikvtest/addindextest3:addindextest3_test (320 packages loaded, 4493 targets configured) Analyzing: target //tests/realtikvtest/addindextest1:addindextest1_test (1431 packages loaded, 12265 targets configured) Analyzing: target //tests/realtikvtest/addindextest2:addindextest2_test (1460 packages loaded, 12310 targets configured) Target //:gazelle up-to-date: bazel-bin/gazelle-runner.bash bazel-bin/gazelle INFO: Elapsed time: 34.700s, Critical Path: 4.34s INFO: 530 processes: 510 remote cache hit, 20 internal. INFO: Build completed successfully, 530 total actions INFO: Running command line: bazel-bin/gazelle Analyzing: target //tools/tazel:tazel (265 packages loaded, 8347 targets configured) INFO: Analyzed target //tools/tazel:tazel (277 packages loaded, 8593 targets configured). INFO: Found 1 target... [0 / 23] [Prepa] BazelWorkspaceStatusAction stable-status.txt Analyzing: target //tools/tazel:tazel (258 packages loaded, 8315 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 Analyzing: target //tools/tazel:tazel (2 packages loaded, 5413 targets configured) Analyzing: target //tools/tazel:tazel (256 packages loaded, 8304 targets configured) INFO: Analyzed target //tests/realtikvtest/addindextest:addindextest_test (1764 packages loaded, 14433 targets configured). INFO: Found 1 test target...  checking cached actions [0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt 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 (255 packages loaded, 8284 targets configured) Analyzing: target //tests/realtikvtest/addindextest3:addindextest3_test (650 packages loaded, 5178 targets configured) INFO: Invocation ID: 02111f92-b41d-47b5-8be8-bb75ea1d6e49 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_04_12_40_04.3834937450/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 (226 packages loaded, 7836 targets configured) Analyzing: target //tools/tazel:tazel (1 packages loaded, 0 targets configured) INFO: Analyzed target //tools/tazel:tazel (277 packages loaded, 8593 targets configured). INFO: Found 1 target... [0 / 7] [Prepa] BazelWorkspaceStatusAction stable-status.txt INFO: Analyzed target //tools/tazel:tazel (277 packages loaded, 8593 targets configured). INFO: Found 1 target... [0 / 297] [Prepa] BazelWorkspaceStatusAction stable-status.txt Analyzing: target //tests/realtikvtest/addindextest1:addindextest1_test (1509 packages loaded, 12987 targets configured) INFO: Analyzed target //tools/tazel:tazel (277 packages loaded, 8593 targets configured). INFO: Found 1 target... [0 / 137] [Prepa] BazelWorkspaceStatusAction stable-status.txt [1,102 / 1,307] GoCompilePkg external/com_github_pingcap_kvproto/pkg/kvrpcpb/kvrpcpb.a; 0s remote-cache ... (7 actions, 0 running) Analyzing: target //tests/realtikvtest/addindextest2:addindextest2_test (1626 packages loaded, 13266 targets configured) Analyzing: target //tools/tazel:tazel (46 packages loaded, 7303 targets configured) [1,124 / 1,307] GoCompilePkg external/io_etcd_go_etcd_client_v3/client.a; 0s remote-cache ... (8 actions, 0 running) Analyzing: target //tests/realtikvtest/addindextest3:addindextest3_test (782 packages loaded, 6466 targets configured) [1,169 / 1,307] [Prepa] Running nogo on @com_github_pingcap_kvproto//pkg/coprocessor:coprocessor ... (6 actions, 0 running) Analyzing: target //tests/realtikvtest/addindextest1:addindextest1_test (1671 packages loaded, 13800 targets configured) [1,157 / 1,307] GoCompilePkg external/com_github_pingcap_kvproto/pkg/kvrpcpb/kvrpcpb.a; Downloading external/com_github_pingcap_kvproto/pkg/kvrpcpb/kvrpcpb.a, 4.1 MiB / 10.2 MiB; 0s remote-cache ... (6 actions, 0 running) Target //tools/tazel:tazel up-to-date: bazel-bin/tools/tazel/tazel_/tazel INFO: Elapsed time: 5.627s, 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 ' Analyzing: target //tests/realtikvtest/addindextest2:addindextest2_test (1692 packages loaded, 13865 targets configured) Analyzing: target //tools/tazel:tazel (3 packages loaded, 5154 targets configured) [1,162 / 1,307] GoCompilePkg external/com_github_pingcap_kvproto/pkg/kvrpcpb/kvrpcpb.a; Downloading external/com_github_pingcap_kvproto/pkg/kvrpcpb/kvrpcpb.a, 6.1 MiB / 10.2 MiB; 0s remote-cache ... (4 actions, 0 running) Analyzing: target //tools/tazel:tazel (251 packages loaded, 8116 targets configured) Target //tools/tazel:tazel up-to-date: bazel-bin/tools/tazel/tazel_/tazel INFO: Elapsed time: 5.854s, Critical Path: 1.41s INFO: 867 processes: 864 remote cache hit, 3 internal. INFO: Build completed successfully, 867 total actions INFO: Running command line: /bin/bash -c 'cd /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb && bazel-bin/tools/tazel/tazel_/tazel ' Analyzing: target //tests/realtikvtest/addindextest3:addindextest3_test (1055 packages loaded, 8897 targets configured) Target //tools/tazel:tazel up-to-date: bazel-bin/tools/tazel/tazel_/tazel INFO: Elapsed time: 5.789s, Critical Path: 1.39s INFO: 867 processes: 864 remote cache hit, 3 internal. INFO: Build completed successfully, 867 total actions INFO: Running command line: /bin/bash -c 'cd /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb && bazel-bin/tools/tazel/tazel_/tazel ' INFO: Analyzed target //tests/realtikvtest/addindextest2:addindextest2_test (1786 packages loaded, 14560 targets configured).  checking cached actions INFO: Found 1 test target... INFO: Analyzed target //tools/tazel:tazel (277 packages loaded, 8593 targets configured). INFO: Found 1 target... [0 / 4] [Prepa] BazelWorkspaceStatusAction stable-status.txt [16 / 4,571] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 16.0 MiB / 18.9 MiB; 1s remote-cache ... (3 actions, 0 running) Analyzing: target //tools/tazel:tazel (17 packages loaded, 6817 targets configured) [0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt Target //tools/tazel:tazel up-to-date: bazel-bin/tools/tazel/tazel_/tazel INFO: Elapsed time: 6.300s, Critical Path: 1.47s INFO: 867 processes: 864 remote cache hit, 3 internal. INFO: Build completed successfully, 867 total actions INFO: Running command line: /bin/bash -c 'cd /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb && bazel-bin/tools/tazel/tazel_/tazel ' Analyzing: target //tests/realtikvtest/addindextest1:addindextest1_test (1671 packages loaded, 13800 targets configured) Target //tools/tazel:tazel up-to-date: bazel-bin/tools/tazel/tazel_/tazel INFO: Elapsed time: 5.947s, 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 ' 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: 81a7f3ec-443c-40d3-9c48-9f6a7f945565 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'test' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'test' from /data/..2025_04_04_12_40_15.940418031/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 [59 / 4,571] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; 2s remote-cache ... (8 actions, 0 running) INFO: Analyzed target //tests/realtikvtest/addindextest1:addindextest1_test (1763 packages loaded, 14425 targets configured). INFO: Found 1 test target... [0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt Loading: Loading: Loading: 0 packages loaded INFO: Build options --define, --run_under, and --test_env have changed, discarding analysis cache. Analyzing: target //tests/realtikvtest/addindextest3:addindextest3_test (1218 packages loaded, 10087 targets configured) Analyzing: target //tests/realtikvtest/importintotest2:importintotest2_test (1 packages loaded, 0 targets configured) [1,156 / 1,307] GoCompilePkg external/com_github_pingcap_kvproto/pkg/coprocessor/coprocessor.a; 0s remote-cache ... (6 actions, 0 running) Analyzing: target //tools/tazel:tazel (101 packages loaded, 7484 targets configured) [16 / 4,637] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/runtime.a, 9.2 MiB / 12.2 MiB; 0s remote-cache ... (3 actions, 0 running) bazel --output_user_root=/home/jenkins/.tidb/tmp test --config=ci --repository_cache=/share/.cache/bazel-repository-cache --test_output=all --test_arg=-with-real-tikv --define gotags=deadlock,intest \ -- //tests/realtikvtest/importintotest3/... INFO: Invocation ID: 7779062c-877e-4a44-a28d-e4b59045d1a4 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'test' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'test' from /data/..2025_04_04_12_40_15.3809675714/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. [425 / 4,571] GoCompilePkg external/com_github_coocood_freecache/freecache.a; 0s remote-cache ... (8 actions, 0 running) bazel --output_user_root=/home/jenkins/.tidb/tmp test --config=ci --repository_cache=/share/.cache/bazel-repository-cache --test_output=all --test_arg=-with-real-tikv --define gotags=deadlock,intest \ -- //tests/realtikvtest/flashbacktest/... INFO: Invocation ID: 7f3c156f-fb46-4fa1-8545-89d637ba441e INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'test' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'test' from /data/..2025_04_04_12_40_15.3352495330/bazel: Inherited 'build' options: --remote_cache=http://ats.apps.svc/brc/tidb --remote_timeout=30s INFO: Reading rc options for 'test' from /home/jenkins/.bazelrc: Inherited 'build' options: --local_ram_resources=29491 --local_cpu_resources=8 --jobs=8 --repository_cache=/share/.cache/bazel-repository-cache INFO: Reading rc options for 'test' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: 'test' options: --test_output=errors --test_summary=detailed INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression INFO: Found applicable config definition test:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --verbose_failures --test_verbose_timeout_warnings --test_env=GO_TEST_WRAP_TESTV=1 --experimental_ui_max_stdouterr_bytes=268435456 --test_timeout=150,300,900,3600 --flaky_test_attempts=5 Loading: Analyzing: target //tests/realtikvtest/importintotest3:importintotest3_test (1 packages loaded, 0 targets configured) Analyzing: target //tests/realtikvtest/addindextest3:addindextest3_test (1356 packages loaded, 11398 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/importintotest/... INFO: Invocation ID: 10852d32-5b53-4711-a628-5b311d599ee0 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'test' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'test' from /data/..2025_04_04_12_40_15.1008628943/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_output=all --test_arg=-with-real-tikv --define gotags=deadlock,intest \ -- //tests/realtikvtest/importintotest4/... INFO: Invocation ID: 16e7ae50-c65b-4780-abb6-c0ac2ef9c05a INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'test' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'test' from /data/..2025_04_04_12_40_15.2252073240/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.111s, Critical Path: 1.44s INFO: 867 processes: 864 remote cache hit, 3 internal. INFO: Build completed successfully, 867 total actions INFO: Running command line: /bin/bash -c 'cd /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb && bazel-bin/tools/tazel/tazel_/tazel ' Loading: Loading: 0 packages loaded INFO: Build options --define, --run_under, and --test_env have changed, discarding analysis cache. INFO: Analyzed target //tools/tazel:tazel (277 packages loaded, 8593 targets configured).  checking cached actions INFO: Found 1 target... [0 / 4] [Prepa] BazelWorkspaceStatusAction stable-status.txt INFO: Build options --define, --run_under, and --test_env have changed, discarding analysis cache. Analyzing: target //tests/realtikvtest/importintotest4:importintotest4_test (1 packages loaded, 0 targets configured) Analyzing: target //tests/realtikvtest/importintotest:importintotest_test (1 packages loaded, 0 targets configured) Analyzing: target //tests/realtikvtest/importintotest2:importintotest2_test (224 packages loaded, 5039 targets configured) Analyzing: target //tests/realtikvtest/flashbacktest:flashbacktest_test (1 packages loaded, 0 targets configured) [16 / 4,568] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 12.0 MiB / 18.9 MiB; 1s remote-cache ... (3 actions, 0 running) Analyzing: target //tests/realtikvtest/importintotest3:importintotest3_test (52 packages loaded, 220 targets configured) Analyzing: target //tests/realtikvtest/addindextest3:addindextest3_test (1429 packages loaded, 12262 targets configured) [1,127 / 1,307] GoCompilePkg external/io_etcd_go_etcd_api_v3/etcdserverpb/etcdserverpb.a; 0s remote-cache ... (8 actions, 0 running) [720 / 4,571] GoCompilePkg build/linter/gosec/gosec.a [for tool]; 0s remote-cache ... (8 actions, 0 running) [17 / 4,637] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; 2s remote-cache ... (8 actions, 0 running) Analyzing: target //tests/realtikvtest/importintotest2:importintotest2_test (731 packages loaded, 7634 targets configured) Analyzing: target //tests/realtikvtest/flashbacktest:flashbacktest_test (161 packages loaded, 4971 targets configured) Analyzing: target //tests/realtikvtest/importintotest4:importintotest4_test (192 packages loaded, 4989 targets configured) ./t/ddl/db_partition.test: ok! 1110 test cases passed, take time 63.874260673 s ./t/ddl/db_rename.test: ok! 21 test cases passed, take time 4.216807707 s ./t/ddl/db_table.test: ok! 58 test cases passed, take time 0.865121753 s ./t/ddl/ddl_error.test: ok! 14 test cases passed, take time 0.104202594 s [20 / 4,568] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 6.0 MiB / 18.9 MiB; 2s remote-cache ... (8 actions, 0 running) Analyzing: target //tests/realtikvtest/importintotest:importintotest_test (351 packages loaded, 1804 targets configured) ./t/ddl/ddl_tiflash.test: ok! 14 test cases passed, take time 0.048508853 s 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: 521223b3-cc0b-4e0f-b9e5-262dbbc00f68 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'test' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'test' from /data/..2025_04_04_12_40_15.3020786229/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. [992 / 4,571] GoCompilePkg external/com_github_apache_arrow_go_v12/arrow/array/array.a; Downloading external/com_github_apache_arrow_go_v12/arrow/array/array.a, 10.1 MiB / 11.6 MiB; 0s remote-cache ... (6 actions, 0 running) [404 / 4,637] GoCompilePkg external/org_golang_x_net/http2/http2.a; Downloading external/org_golang_x_net/http2/http2.a, 2.2 MiB / 3.9 MiB; 0s remote-cache ... (7 actions, 0 running) Analyzing: target //tests/realtikvtest/addindextest3:addindextest3_test (1500 packages loaded, 12750 targets configured) Analyzing: target //tests/realtikvtest/importintotest3:importintotest3_test (512 packages loaded, 6072 targets configured) Analyzing: target //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test (1 packages loaded, 0 targets configured) Analyzing: target //tests/realtikvtest/importintotest2:importintotest2_test (1050 packages loaded, 9788 targets configured) Target //tools/tazel:tazel up-to-date: bazel-bin/tools/tazel/tazel_/tazel INFO: Elapsed time: 6.584s, Critical Path: 1.46s 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/importintotest4:importintotest4_test (685 packages loaded, 6724 targets configured) [310 / 4,568] GoCompilePkg pkg/parser/mysql/mysql.a; Downloading pkg/parser/mysql/mysql.a; 0s remote-cache ... (8 actions, 0 running) Analyzing: target //tests/realtikvtest/importintotest:importintotest_test (679 packages loaded, 6023 targets configured) Analyzing: target //tests/realtikvtest/flashbacktest:flashbacktest_test (501 packages loaded, 5780 targets configured) [1,262 / 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, 26.4 MiB / 71.4 MiB; 0s remote-cache ... (8 actions, 0 running) [880 / 4,637] GoCompilePkg external/com_github_pingcap_tipb/sharedbytes/sharedbytes.a; Downloading external/com_github_pingcap_tipb/sharedbytes/sharedbytes.a; 0s remote-cache ... (8 actions, 0 running) Analyzing: target //tests/realtikvtest/importintotest3:importintotest3_test (1100 packages loaded, 9345 targets configured) Analyzing: target //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test (128 packages loaded, 4801 targets configured) Analyzing: target //tests/realtikvtest/importintotest4:importintotest4_test (1019 packages loaded, 9641 targets configured) [719 / 4,568] GoCompilePkg external/com_github_modern_go_concurrent/concurrent.a; Downloading external/com_github_modern_go_concurrent/concurrent.a, 63.8 KiB / 290.0 KiB; 0s remote-cache ... (8 actions, 0 running) Analyzing: target //tests/realtikvtest/addindextest3:addindextest3_test (1617 packages loaded, 13473 targets configured) Analyzing: target //tests/realtikvtest/importintotest2:importintotest2_test (1127 packages loaded, 10449 targets configured) Analyzing: target //tests/realtikvtest/importintotest:importintotest_test (1014 packages loaded, 8151 targets configured) bazel --output_user_root=/home/jenkins/.tidb/tmp test --config=ci --repository_cache=/share/.cache/bazel-repository-cache --test_arg=-with-real-tikv --define gotags=deadlock,intest \ -- //tests/realtikvtest/addindextest4/... INFO: Invocation ID: ecf3015e-03e0-4a21-b795-b4e7a0da8c77 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'test' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'test' from /data/..2025_04_04_12_40_04.3834937450/bazel: Inherited 'build' options: --remote_cache=http://ats.apps.svc/brc/tidb --remote_timeout=30s INFO: Reading rc options for 'test' from /home/jenkins/.bazelrc: Inherited 'build' options: --local_ram_resources=29491 --local_cpu_resources=8 --jobs=8 --repository_cache=/share/.cache/bazel-repository-cache INFO: Reading rc options for 'test' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: 'test' options: --test_output=errors --test_summary=detailed INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression INFO: Found applicable config definition test:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --verbose_failures --test_verbose_timeout_warnings --test_env=GO_TEST_WRAP_TESTV=1 --experimental_ui_max_stdouterr_bytes=268435456 --test_timeout=150,300,900,3600 --flaky_test_attempts=5 Analyzing: target //tests/realtikvtest/flashbacktest:flashbacktest_test (617 packages loaded, 7042 targets configured) [1,379 / 4,571] GoCompilePkg external/com_google_cloud_go_storage/internal/apiv2/apiv2.a; 0s remote-cache ... (8 actions, 0 running) [1,209 / 4,637] GoCompilePkg external/io_k8s_api/core/v1/core.a; Downloading external/io_k8s_api/core/v1/core.a, 2.0 MiB / 21.1 MiB; 0s remote-cache ... (8 actions, 0 running) Analyzing: target //tests/realtikvtest/importintotest3:importintotest3_test (1240 packages loaded, 10915 targets configured) Loading: Loading: Loading: 0 packages loaded INFO: Build options --define, --run_under, and --test_env have changed, discarding analysis cache. Analyzing: target //tests/realtikvtest/addindextest4:addindextest4_test (1 packages loaded, 0 targets configured) Analyzing: target //tests/realtikvtest/importintotest4:importintotest4_test (1187 packages loaded, 10663 targets configured) [1,002 / 4,568] GoCompilePkg external/com_github_apache_thrift/lib/go/thrift/thrift.a; 0s remote-cache ... (8 actions, 0 running) Analyzing: target //tests/realtikvtest/addindextest3:addindextest3_test (1672 packages loaded, 13804 targets configured) Analyzing: target //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test (570 packages loaded, 6146 targets configured) Analyzing: target //tests/realtikvtest/importintotest2:importintotest2_test (1352 packages loaded, 11922 targets configured) Analyzing: target //tests/realtikvtest/importintotest:importintotest_test (1069 packages loaded, 9550 targets configured) [4,571 / 4,572] 1 / 1 tests; Testing //tests/realtikvtest/pessimistictest:pessimistictest_test; 62s 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: 141.598s, Critical Path: 122.70s INFO: 4272 processes: 4154 remote cache hit, 3 internal, 115 linux-sandbox. INFO: Build completed successfully, 4272 total actions //tests/realtikvtest/pessimistictest:pessimistictest_test PASSED in 62.4s PASSED pessimistictest_test.Test1PCWithSchemaChange (0.0s) PASSED pessimistictest_test.TestAsyncCommitAndForeignKey (0.2s) PASSED pessimistictest_test.TestAsyncCommitCalTSFail (0.2s) PASSED pessimistictest_test.TestAsyncCommitWithSchemaChange (0.0s) PASSED pessimistictest_test.TestAsyncRollBackNoWait (0.3s) PASSED pessimistictest_test.TestBankTransfer (0.2s) PASSED pessimistictest_test.TestBatchPointGetAlreadyLocked (0.2s) PASSED pessimistictest_test.TestBatchPointGetLockIndex (1.2s) PASSED pessimistictest_test.TestBatchPointGetWriteConflict (0.1s) PASSED pessimistictest_test.TestConcurrentInsert (0.2s) PASSED pessimistictest_test.TestDeadlock (0.0s) PASSED pessimistictest_test.TestDupLockInconsistency (0.2s) PASSED pessimistictest_test.TestEndTxnOnLockExpire (5.4s) PASSED pessimistictest_test.TestEndTxnOnLockExpire/CommitBin (1.0s) PASSED pessimistictest_test.TestEndTxnOnLockExpire/CommitTxt (1.0s) PASSED pessimistictest_test.TestEndTxnOnLockExpire/RollbackBin (1.0s) PASSED pessimistictest_test.TestEndTxnOnLockExpire/RollbackTxt (1.0s) PASSED pessimistictest_test.TestFairLockingBasic (0.8s) PASSED pessimistictest_test.TestFairLockingInsert (0.4s) PASSED pessimistictest_test.TestFairLockingLockWithConflictIdempotency (0.3s) PASSED pessimistictest_test.TestFairLockingRetry (0.5s) PASSED pessimistictest_test.TestFirstStatementFail (0.2s) PASSED pessimistictest_test.TestForShareWithPromotion (4.7s) PASSED pessimistictest_test.TestForShareWithPromotionPlanCache (0.7s) PASSED pessimistictest_test.TestGenerateColPointGet (0.3s) PASSED pessimistictest_test.TestInnodbLockWaitTimeout (4.3s) PASSED pessimistictest_test.TestInnodbLockWaitTimeoutWaitStart (1.2s) PASSED pessimistictest_test.TestInsertDupKeyAfterLock (0.2s) PASSED pessimistictest_test.TestInsertDupKeyAfterLockBatchPointGet (0.2s) PASSED pessimistictest_test.TestInsertOnDup (0.2s) PASSED pessimistictest_test.TestIssue28011 (0.4s) PASSED pessimistictest_test.TestIssue28011/BatchSelectForUpdate (0.1s) PASSED pessimistictest_test.TestIssue28011/BatchUpdate (0.1s) PASSED pessimistictest_test.TestIssue28011/SelectForUpdate (0.1s) PASSED pessimistictest_test.TestIssue28011/Update (0.0s) PASSED pessimistictest_test.TestIssue40114 (1.3s) PASSED pessimistictest_test.TestIssue42937 (1.5s) PASSED pessimistictest_test.TestIssueBatchResolveLocks (1.5s) PASSED pessimistictest_test.TestKeyExistsCheck (0.2s) PASSED pessimistictest_test.TestKillStopTTLManager (6.2s) PASSED pessimistictest_test.TestKillWaitLockTxn (6.1s) PASSED pessimistictest_test.TestLazyUniquenessCheck (1.0s) PASSED pessimistictest_test.TestLazyUniquenessCheckForInsertIgnore (0.4s) PASSED pessimistictest_test.TestLazyUniquenessCheckForSimpleInserts (0.2s) PASSED pessimistictest_test.TestLazyUniquenessCheckWithInconsistentReadResult (0.2s) PASSED pessimistictest_test.TestLazyUniquenessCheckWithSavepoint (0.1s) PASSED pessimistictest_test.TestLazyUniquenessCheckWithStatementRetry (0.2s) PASSED pessimistictest_test.TestLockGotKeysInRC (0.2s) PASSED pessimistictest_test.TestLockUnchangedRowKey (0.2s) PASSED pessimistictest_test.TestNonAutoCommitWithPessimisticMode (0.2s) PASSED pessimistictest_test.TestOptimisticConflicts (2.7s) 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.3s) 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.  INFO: Analyzed target //tests/realtikvtest/addindextest3:addindextest3_test (1764 packages loaded, 14430 targets configured). INFO: Found 1 test target... [Pipeline] } Analyzing: target //tests/realtikvtest/flashbacktest:flashbacktest_test (970 packages loaded, 7830 targets configured) [Pipeline] // dir [2,355 / 4,571] GoCompilePkg external/com_github_tikv_client_go_v2/internal/mockstore/mocktikv/mocktikv.a; 0s remote-cache ... (8 actions, 0 running) Post stage [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] junit Recording test results Analyzing: target //tests/realtikvtest/importintotest3:importintotest3_test (1364 packages loaded, 11994 targets configured) [0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt Analyzing: target //tests/realtikvtest/addindextest4:addindextest4_test (237 packages loaded, 4565 targets configured) None of the test reports contained any result [Checks API] No suitable checks publisher found. Analyzing: target //tests/realtikvtest/importintotest4:importintotest4_test (1299 packages loaded, 11671 targets configured) [Pipeline] } [1,239 / 4,568] GoCompilePkg external/io_k8s_api/core/v1/core.a; 0s remote-cache ... (8 actions, 0 running) [1,564 / 4,637] GoCompilePkg external/com_github_aws_aws_sdk_go/service/ec2/ec2.a; 0s remote-cache ... (8 actions, 0 running) [Pipeline] // dir [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb Analyzing: target //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test (953 packages loaded, 7250 targets configured) [Pipeline] { [Pipeline] script Analyzing: target //tests/realtikvtest/importintotest2:importintotest2_test (1457 packages loaded, 12955 targets configured) [Pipeline] { [Pipeline] sh Analyzing: target //tests/realtikvtest/flashbacktest:flashbacktest_test (1087 packages loaded, 9664 targets configured) [3,826 / 4,571] GoCompilePkg pkg/util/servermemorylimit/servermemorylimit.a; 0s remote-cache ... (8 actions, 0 running) Analyzing: target //tests/realtikvtest/importintotest:importintotest_test (1183 packages loaded, 10650 targets configured) No test report files were found. Configuration error? [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // dir [Pipeline] } [2,611 / 4,637] GoCompilePkg external/io_etcd_go_etcd_client_v3/concurrency/concurrency.a; Downloading external/io_etcd_go_etcd_client_v3/concurrency/concurrency.a, 295.8 KiB / 709.3 KiB; 0s remote-cache ... (8 actions, 0 running) Analyzing: target //tests/realtikvtest/importintotest3:importintotest3_test (1438 packages loaded, 12929 targets configured) [16 / 4,571] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/addr2line, 2.0 MiB / 2.7 MiB; 1s remote-cache ... (3 actions, 0 running) [Pipeline] // withCredentials Analyzing: target //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test (1013 packages loaded, 9160 targets configured) [Pipeline] } Analyzing: target //tests/realtikvtest/importintotest2:importintotest2_test (1588 packages loaded, 13673 targets configured) [Pipeline] // timeout [Pipeline] } Analyzing: target //tests/realtikvtest/addindextest4:addindextest4_test (600 packages loaded, 5115 targets configured) Analyzing: target //tests/realtikvtest/flashbacktest:flashbacktest_test (1163 packages loaded, 10650 targets configured) [Pipeline] // stage Analyzing: target //tests/realtikvtest/importintotest4:importintotest4_test (1416 packages loaded, 12627 targets configured) [Pipeline] } [1,443 / 4,568] GoLink build/tidb_nogo_actual_/tidb_nogo_actual [for tool]; Downloading build/tidb_nogo_actual_/tidb_nogo_actual, 7.0 MiB / 13.1 MiB; 0s remote-cache ... (8 actions, 0 running) [Pipeline] // container [Pipeline] } Analyzing: target //tests/realtikvtest/importintotest:importintotest_test (1323 packages loaded, 11685 targets configured) [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // podTemplate [Pipeline] } [3,825 / 4,637] GoCompilePkg pkg/types/types.a; Downloading pkg/types/types.a, 5.0 MiB / 5.3 MiB; 0s remote-cache ... (7 actions, 0 running) [Pipeline] // withEnv Analyzing: target //tests/realtikvtest/importintotest3:importintotest3_test (1535 packages loaded, 13432 targets configured) [Pipeline] } Analyzing: target //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test (1136 packages loaded, 10598 targets configured) [Pipeline] // stage [Pipeline] } Analyzing: target //tests/realtikvtest/addindextest4:addindextest4_test (720 packages loaded, 6691 targets configured) Analyzing: target //tests/realtikvtest/flashbacktest:flashbacktest_test (1303 packages loaded, 11811 targets configured) Analyzing: target //tests/realtikvtest/importintotest4:importintotest4_test (1443 packages loaded, 12955 targets configured) [1,867 / 4,568] GoCompilePkg external/com_github_aws_aws_sdk_go/service/ec2/ec2.a; 1s remote-cache ... (6 actions, 0 running) [4,074 / 4,571] [Prepa] Running nogo on //pkg/executor/internal/vecgroupchecker:vecgroupchecker ... (8 actions, 0 running) [16 / 4,571] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; 2s remote-cache ... (3 actions, 0 running) Analyzing: target //tests/realtikvtest/importintotest2:importintotest2_test (1638 packages loaded, 14268 targets configured) Analyzing: target //tests/realtikvtest/importintotest:importintotest_test (1441 packages loaded, 12869 targets configured) [4,132 / 4,637] GoCompilePkg pkg/expression/expression.a; Downloading pkg/expression/expression.a, 60.0 MiB / 94.8 MiB; 0s remote-cache ... (5 actions, 0 running) Analyzing: target //tests/realtikvtest/addindextest4:addindextest4_test (1081 packages loaded, 8788 targets configured) Analyzing: target //tests/realtikvtest/importintotest4:importintotest4_test (1667 packages loaded, 14170 targets configured) [3,509 / 4,568] GoCompilePkg pkg/util/chunk/chunk.a; 0s remote-cache ... (6 actions, 0 running) [4,264 / 4,571] GoCompilePkg pkg/ddl/session/session.a; Downloading pkg/ddl/session/session.x, 119.8 KiB / 763.6 KiB; 0s remote-cache ... (8 actions, 0 running) Analyzing: target //tests/realtikvtest/importintotest3:importintotest3_test (1638 packages loaded, 14268 targets configured) [308 / 4,571] GoCompilePkg external/in_gopkg_yaml_v3/yaml_v3.a [for tool]; 0s remote-cache ... (8 actions, 0 running) Analyzing: target //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test (1292 packages loaded, 11773 targets configured) Analyzing: target //tests/realtikvtest/importintotest:importintotest_test (1509 packages loaded, 13380 targets configured) Analyzing: target //tests/realtikvtest/flashbacktest:flashbacktest_test (1411 packages loaded, 12714 targets configured) [4,275 / 4,637] [Prepa] Running nogo on //pkg/store/mockstore/unistore/server:server Analyzing: target //tests/realtikvtest/importintotest2:importintotest2_test (1693 packages loaded, 14599 targets configured) Analyzing: target //tests/realtikvtest/addindextest4:addindextest4_test (1149 packages loaded, 9726 targets configured) INFO: Analyzed target //tests/realtikvtest/importintotest2:importintotest2_test (1785 packages loaded, 15225 targets configured). INFO: Found 1 test target... [0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt [3,999 / 4,568] GoCompilePkg pkg/expression/expression.a; Downloading pkg/expression/expression.a, 42.0 MiB / 94.8 MiB; 0s remote-cache ... (8 actions, 0 running) [4,407 / 4,571] [Prepa] GoCompilePkg pkg/planner/util/domainmisc/domainmisc.a [692 / 4,571] GoCompilePkg external/com_github_azuread_microsoft_authentication_library_for_go/apps/confidential/confidential.a; 0s remote-cache ... (7 actions, 0 running) Analyzing: target //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test (1427 packages loaded, 12908 targets configured) Analyzing: target //tests/realtikvtest/flashbacktest:flashbacktest_test (1463 packages loaded, 13076 targets configured) Analyzing: target //tests/realtikvtest/importintotest4:importintotest4_test (1694 packages loaded, 14602 targets configured) Analyzing: target //tests/realtikvtest/importintotest3:importintotest3_test (1693 packages loaded, 14599 targets configured) Analyzing: target //tests/realtikvtest/importintotest:importintotest_test (1738 packages loaded, 14796 targets configured) Analyzing: target //tests/realtikvtest/addindextest4:addindextest4_test (1250 packages loaded, 10490 targets configured) [4,136 / 4,568] GoCompilePkg pkg/planner/core/operator/physicalop/physicalop.a; 0s remote-cache ... (8 actions, 0 running) [4,458 / 4,637] [Prepa] GoCompilePkg pkg/ddl/schematracker/schematracker.a ... (6 actions, 0 running) [4,464 / 4,571] GoCompilePkg br/pkg/checkpoint/checkpoint.a; 0s remote-cache ... (8 actions, 0 running) [921 / 4,571] GoCompilePkg external/com_github_apache_arrow_go_v12/internal/utils/utils.a; 0s remote-cache ... (8 actions, 0 running) INFO: Analyzed target //tests/realtikvtest/importintotest3:importintotest3_test (1785 packages loaded, 15225 targets configured). INFO: Found 1 test target... [0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt Analyzing: target //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test (1499 packages loaded, 13412 targets configured) Analyzing: target //tests/realtikvtest/flashbacktest:flashbacktest_test (1566 packages loaded, 13846 targets configured) [21 / 4,639] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 14.0 MiB / 18.9 MiB; 1s remote-cache ... (3 actions, 0 running) Analyzing: target //tests/realtikvtest/importintotest:importintotest_test (1738 packages loaded, 14796 targets configured) [4,573 / 4,574] Testing //tests/realtikvtest/sessiontest:sessiontest_test; 41s remote-cache, linux-sandbox Analyzing: target //tests/realtikvtest/importintotest4:importintotest4_test (1694 packages loaded, 14602 targets configured) [4,532 / 4,637] GoCompilePkg br/pkg/restore/restore.a; 0s remote-cache ... (6 actions, 0 running) [4,511 / 4,571] GoCompilePkg pkg/planner/core/core.a; 0s remote-cache ... (3 actions, 0 running) [1,130 / 4,571] GoCompilePkg external/com_github_aws_aws_sdk_go/service/ec2/ec2.a; Downloading external/com_github_aws_aws_sdk_go/service/ec2/ec2.a, 11.0 MiB / 71.4 MiB; 0s remote-cache ... (8 actions, 0 running) Analyzing: target //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test (1564 packages loaded, 13833 targets configured) Analyzing: target //tests/realtikvtest/addindextest4:addindextest4_test (1413 packages loaded, 12057 targets configured) [4,339 / 4,568] GoCompilePkg pkg/statistics/handle/cache/cache.a; Downloading pkg/statistics/handle/cache/cache.a; 0s remote-cache ... (5 actions, 0 running) INFO: Analyzed target //tests/realtikvtest/importintotest4:importintotest4_test (1786 packages loaded, 15229 targets configured). INFO: Found 1 test target... [0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt [4,573 / 4,574] Testing //tests/realtikvtest/txntest:txntest_test; 41s remote-cache, linux-sandbox INFO: Analyzed target //tests/realtikvtest/importintotest:importintotest_test (1822 packages loaded, 15380 targets configured). INFO: Found 1 test target... [0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt Analyzing: target //tests/realtikvtest/flashbacktest:flashbacktest_test (1671 packages loaded, 14466 targets configured) [23 / 4,639] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; 2s remote-cache ... (3 actions, 0 running) [4,579 / 4,637] GoCompilePkg pkg/sessiontxn/isolation/isolation.a; Downloading pkg/sessiontxn/isolation/isolation.a, 4.0 MiB / 10.9 MiB; 0s remote-cache ... (8 actions, 0 running) [22 / 4,639] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64_race/net/http.a, 4.0 MiB / 9.3 MiB; 1s remote-cache ... (7 actions, 0 running) Analyzing: target //tests/realtikvtest/addindextest4:addindextest4_test (1448 packages loaded, 12289 targets configured) [4,582 / 4,583] Testing //tests/realtikvtest/brietest:brietest_test; 41s remote-cache, linux-sandbox [4,408 / 4,568] GoCompilePkg pkg/plugin/plugin.a; Downloading pkg/plugin/plugin.a, 4.0 MiB / 10.3 MiB; 0s remote-cache ... (8 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, 7.0 MiB / 18.9 MiB; 0s remote-cache ... (3 actions, 0 running) [1,255 / 4,571] GoCompilePkg external/com_github_aws_aws_sdk_go/service/ec2/ec2iface/ec2iface.a; 0s remote-cache ... (8 actions, 0 running) [4,545 / 4,571] [Prepa] GoCompilePkg pkg/store/gcworker/gcworker.a ... (2 actions, 0 running) Analyzing: target //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test (1671 packages loaded, 14466 targets configured) [21 / 4,750] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/runtime.a, 8.1 MiB / 12.2 MiB; 0s remote-cache ... (3 actions, 0 running) Analyzing: target //tests/realtikvtest/flashbacktest:flashbacktest_test (1671 packages loaded, 14466 targets configured) [207 / 4,639] GoCompilePkg external/org_golang_x_sys/unix/unix.a; 0s remote-cache ... (7 actions, 0 running) [4,623 / 4,637] Running nogo on //pkg/disttask/framework/testutil:testutil; 0s remote-cache, linux-sandbox ... (6 actions, 4 running) [41 / 4,639] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 16.1 MiB / 18.9 MiB; 2s remote-cache ... (8 actions, 0 running) Analyzing: target //tests/realtikvtest/addindextest4:addindextest4_test (1499 packages loaded, 12746 targets configured) INFO: Analyzed target //tests/realtikvtest/flashbacktest:flashbacktest_test (1763 packages loaded, 15091 targets configured). INFO: Found 1 test target... [0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt [4,472 / 4,568] GoCompilePkg br/pkg/stream/stream.a; 0s remote-cache ... (8 actions, 0 running) [1,500 / 4,571] GoCompilePkg external/com_github_tikv_client_go_v2/txnkv/txnsnapshot/txnsnapshot.a; Downloading external/com_github_tikv_client_go_v2/txnkv/txnsnapshot/txnsnapshot.a; 0s remote-cache ... (2 actions, 0 running) [4,563 / 4,571] [Prepa] Running nogo on //tests/realtikvtest/addindextest:addindextest_test ... (2 actions, 0 running) Analyzing: target //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test (1763 packages loaded, 15091 targets configured) INFO: Analyzed target //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test (1763 packages loaded, 15091 targets configured). INFO: Found 1 test target... [0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt [21 / 4,750] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 14.0 MiB / 18.9 MiB; 1s remote-cache ... (3 actions, 0 running) [590 / 4,639] GoCompilePkg external/org_golang_google_protobuf/types/known/durationpb/durationpb.a; Downloading external/org_golang_google_protobuf/types/known/durationpb/durationpb.x; 0s remote-cache ... (8 actions, 0 running) [24 / 4,642] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 3.4 MiB / 18.9 MiB; 2s remote-cache ... (7 actions, 0 running) [430 / 4,639] GoCompilePkg external/com_github_prometheus_client_golang/prometheus/prometheus.a; Downloading external/com_github_prometheus_client_golang/prometheus/prometheus.a, 2.6 MiB / 3.2 MiB; 0s remote-cache ... (8 actions, 0 running) [4,630 / 4,637] GoCompilePkg tests/realtikvtest/addindextest2/addindextest2_test.internal.a; 0s remote-cache, linux-sandbox ... (3 actions, 2 running) [3,041 / 4,571] [Prepa] Running nogo on @org_golang_x_oauth2//jwt:jwt ... (7 actions, 0 running) [857 / 4,639] GoCompilePkg external/io_k8s_api/core/v1/core.a; Downloading external/io_k8s_api/core/v1/core.a, 21.0 MiB / 25.4 MiB; 0s remote-cache ... (8 actions, 0 running) [4,515 / 4,568] GoCompilePkg br/pkg/task/task.a; Downloading br/pkg/task/task.a, 7.0 MiB / 15.3 MiB; 0s remote-cache ... (8 actions, 0 running) [4,570 / 4,571] GoLink tests/realtikvtest/addindextest/addindextest_test_/addindextest_test; 0s remote-cache, linux-sandbox [23 / 4,750] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64_race/net/http.a, 9.0 MiB / 9.3 MiB; 2s remote-cache ... (8 actions, 0 running) [779 / 4,639] GoCompilePkg external/org_golang_google_grpc/grpc.a; 0s remote-cache ... (8 actions, 0 running) Analyzing: target //tests/realtikvtest/addindextest4:addindextest4_test (1671 packages loaded, 13800 targets configured) [249 / 4,642] GoCompilePkg pkg/errno/errno.a; Downloading pkg/errno/errno.a, 1.6 MiB / 1.6 MiB; 0s remote-cache ... (8 actions, 0 running) [21 / 4,573] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 10.0 MiB / 18.9 MiB; 1s remote-cache ... (3 actions, 0 running) [4,636 / 4,637] GoLink tests/realtikvtest/addindextest2/addindextest2_test_/addindextest2_test; 0s remote-cache [3,848 / 4,571] GoCompilePkg pkg/expression/expression.a; Downloading pkg/expression/expression.a, 29.0 MiB / 94.8 MiB; 0s remote-cache ... (8 actions, 0 running) [1,165 / 4,639] GoCompilePkg external/com_github_aws_aws_sdk_go/service/kms/kms.a; Downloading external/com_github_aws_aws_sdk_go/service/kms/kms.a, 5.0 MiB / 6.7 MiB; 0s remote-cache ... (8 actions, 0 running) [4,545 / 4,568] [Prepa] GoCompilePkg pkg/store/gcworker/gcworker.a ... (2 actions, 0 running) INFO: Analyzed target //tests/realtikvtest/addindextest4:addindextest4_test (1763 packages loaded, 14425 targets configured). INFO: Found 1 test target... [22 / 4,573] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64_race/net/http.a, 8.0 MiB / 9.3 MiB; 2s remote-cache ... (3 actions, 0 running) [277 / 4,750] GoCompilePkg external/com_github_tklauser_go_sysconf/go-sysconf.a; Downloading external/com_github_tklauser_go_sysconf/go-sysconf.a; 0s remote-cache ... (7 actions, 0 running) [0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt [21 / 4,573] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; 1s remote-cache ... (3 actions, 0 running) [585 / 4,642] GoCompilePkg pkg/parser/parser.a; Downloading pkg/parser/parser.a, 12.0 MiB / 13.1 MiB; 0s remote-cache ... (8 actions, 0 running) [4,118 / 4,571] GoCompilePkg pkg/ddl/util/util.a; 0s remote-cache ... (8 actions, 0 running) [1,070 / 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, 2.5 MiB / 77.2 MiB; 0s remote-cache ... (8 actions, 0 running) [4,563 / 4,568] [Prepa] GoCompilePkgExternal tests/realtikvtest/addindextest1/addindextest1_test_test.external.a ... (2 actions, 0 running) [4,636 / 4,637] GoLink tests/realtikvtest/addindextest2/addindextest2_test_/addindextest2_test; 1s remote-cache, linux-sandbox [59 / 4,573] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; 2s remote-cache ... (8 actions, 0 running) [620 / 4,750] GoCompilePkg external/com_github_go_sql_driver_mysql/mysql.a; 0s remote-cache ... (7 actions, 0 running) [16 / 4,568] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/runtime.a, 12.2 MiB / 12.2 MiB; 0s remote-cache ... (3 actions, 0 running) [1,290 / 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, 69.4 MiB / 77.2 MiB; 0s remote-cache ... (8 actions, 0 running) [856 / 4,642] GoCompilePkg external/io_k8s_api/core/v1/core.a; 0s remote-cache ... (8 actions, 0 running) [191 / 4,573] GoCompilePkg external/org_uber_go_zap/zapcore/zapcore.a [for tool]; 0s remote-cache ... (8 actions, 0 running) [1,211 / 4,639] GoCompilePkg external/com_github_aws_aws_sdk_go/service/ec2/ec2iface/ec2iface.a; 0s remote-cache ... (8 actions, 0 running) [4,315 / 4,571] Running nogo on //pkg/lightning/errormanager:errormanager; 0s remote-cache ... (8 actions, 0 running) [464 / 4,573] GoCompilePkg external/io_k8s_apimachinery/pkg/util/validation/field/field.a; Downloading external/io_k8s_apimachinery/pkg/util/validation/field/field.a; 0s remote-cache ... (8 actions, 0 running) [880 / 4,750] GoCompilePkg external/com_github_getsentry_sentry_go/sentry-go.a; Downloading external/com_github_getsentry_sentry_go/sentry-go.a, 2.0 MiB / 2.4 MiB; 0s remote-cache ... (8 actions, 0 running) [16 / 4,568] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/trace, 10.8 MiB / 12.0 MiB; 1s remote-cache ... (3 actions, 0 running) [1,439 / 4,639] GoCompilePkg external/com_google_cloud_go_storage/storage.a; 0s remote-cache ... (8 actions, 0 running) [1,143 / 4,642] GoCompilePkg external/io_etcd_go_etcd_api_v3/etcdserverpb/etcdserverpb.a; 0s remote-cache ... (8 actions, 0 running) [521 / 4,573] GoCompilePkg external/org_golang_x_net/publicsuffix/publicsuffix.a; Downloading external/org_golang_x_net/publicsuffix/publicsuffix.a, 95.8 KiB / 147.2 KiB; 0s remote-cache ... (8 actions, 0 running) [1,497 / 4,639] GoCompilePkg build/tidb_nogo_actual~nogo.a [for tool]; 0s remote-cache ... (3 actions, 0 running) [4,409 / 4,571] GoCompilePkg pkg/extension/extensionimpl/extensionimpl.a; Downloading pkg/extension/extensionimpl/extensionimpl.a, 4.0 MiB / 10.1 MiB; 0s remote-cache ... (8 actions, 0 running) [4,567 / 4,568] GoLink tests/realtikvtest/addindextest1/addindextest1_test_/addindextest1_test; 1s remote-cache, linux-sandbox [875 / 4,573] GoCompilePkg external/com_github_apache_arrow_go_v12/parquet/internal/gen-go/parquet/parquet.a; 0s remote-cache ... (7 actions, 0 running) [2,349 / 4,639] GoCompilePkg external/com_github_tikv_client_go_v2/txnkv/txnlock/txnlock.a; 0s remote-cache ... (7 actions, 0 running) [1,291 / 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, 67.0 MiB / 77.2 MiB; 0s remote-cache ... (8 actions, 0 running) [821 / 4,573] GoCompilePkg external/io_k8s_api/core/v1/core.a; 0s remote-cache ... (8 actions, 0 running) [1,054 / 4,750] GoCompilePkg external/com_github_aws_aws_sdk_go/service/ec2/ec2.a; Downloading external/com_github_aws_aws_sdk_go/service/ec2/ec2.a, 60.0 MiB / 77.2 MiB; 0s remote-cache ... (8 actions, 0 running) [2,800 / 4,639] GoCompilePkg pkg/types/parser_driver/parser_driver.a; 0s remote-cache ... (8 actions, 0 running) [109 / 4,568] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; 2s remote-cache ... (8 actions, 0 running) [4,473 / 4,571] GoCompilePkg br/pkg/stream/stream.a; Downloading br/pkg/stream/stream.a, 9.0 MiB / 12.7 MiB; 0s remote-cache ... (8 actions, 0 running) [3,764 / 4,639] GoCompilePkg pkg/util/util.a; 0s remote-cache ... (2 actions, 0 running) [1,153 / 4,573] GoCompilePkg external/com_github_vbauerster_mpb_v7/decor/decor.a; 0s remote-cache ... (8 actions, 0 running) [1,073 / 4,573] GoCompilePkg external/com_github_apache_arrow_go_v12/arrow/array/array.a; Downloading external/com_github_apache_arrow_go_v12/arrow/array/array.a, 7.0 MiB / 13.4 MiB; 0s remote-cache ... (8 actions, 0 running) [1,277 / 4,750] GoCompilePkg external/com_github_aws_aws_sdk_go/service/s3/s3.a; Downloading external/com_github_aws_aws_sdk_go/service/s3/s3.a, 5.0 MiB / 15.7 MiB; 0s remote-cache ... (8 actions, 0 running) [3,793 / 4,639] GoCompilePkg pkg/expression/expression.a; Downloading pkg/expression/expression.a, 18.1 MiB / 108.6 MiB; 0s remote-cache ... (8 actions, 0 running) [485 / 4,568] GoCompilePkg external/com_github_andybalholm_brotli/brotli.a; Downloading external/com_github_andybalholm_brotli/brotli.a, 279.8 KiB / 3.7 MiB; 0s remote-cache ... (8 actions, 0 running) [1,469 / 4,642] GoCompilePkg build/linter/staticcheck/S1040.a [for tool]; Downloading build/linter/staticcheck/S1040.a; 0s remote-cache ... (8 actions, 0 running) [4,520 / 4,571] GoCompilePkg pkg/planner/planner.a; Downloading pkg/planner/planner.a; 0s remote-cache ... (8 actions, 0 running) [4,019 / 4,639] GoCompilePkg pkg/expression/expression.a; Downloading pkg/expression/expression.a, 70.0 MiB / 108.6 MiB; 0s remote-cache ... (8 actions, 0 running) [1,333 / 4,573] GoCompilePkg external/com_github_aws_aws_sdk_go/service/s3/s3.a; Downloading external/com_github_aws_aws_sdk_go/service/s3/s3.a, 15.0 MiB / 15.7 MiB; 0s remote-cache ... (8 actions, 0 running) [1,168 / 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, 62.5 MiB / 77.2 MiB; 0s remote-cache ... (8 actions, 0 running) [1,417 / 4,750] GoCompilePkg external/com_github_pingcap_kvproto/pkg/kvrpcpb/kvrpcpb.a; Downloading external/com_github_pingcap_kvproto/pkg/kvrpcpb/kvrpcpb.a, 5.0 MiB / 12.2 MiB; 0s remote-cache ... (8 actions, 0 running) [828 / 4,568] GoCompilePkg pkg/util/israce/israce.a; Downloading pkg/util/israce/israce.x; 0s remote-cache ... (8 actions, 0 running) [2,552 / 4,642] Running nogo on @com_github_apache_arrow_go_v12//arrow:arrow; Downloading external/com_github_apache_arrow_go_v12/arrow/arrow.facts; 0s remote-cache ... (7 actions, 0 running) [4,142 / 4,639] [Prepa] GoCompilePkg pkg/session/types/types.a ... (6 actions, 0 running) [4,554 / 4,571] GoCompilePkg pkg/ddl/testutil/testutil.a; 0s remote-cache, linux-sandbox ... (6 actions, 4 running) [1,441 / 4,573] GoCompilePkg external/com_github_aws_aws_sdk_go/service/ec2/ec2.a; 0s remote-cache ... (8 actions, 0 running) [1,937 / 4,750] GoCompilePkg external/com_github_tikv_client_go_v2/internal/unionstore/art/art.a; Downloading external/com_github_tikv_client_go_v2/internal/unionstore/art/art.a, 1.2 MiB / 1.4 MiB; 0s remote-cache ... (8 actions, 0 running) [1,164 / 4,568] GoCompilePkg external/com_github_go_resty_resty_v2/resty.a; 0s remote-cache ... (8 actions, 0 running) [4,208 / 4,639] GoCompilePkg br/pkg/streamhelper/streamhelper.a; 0s remote-cache ... (7 actions, 0 running) [3,817 / 4,642] GoCompilePkg pkg/planner/planctx/planctx.a; 0s remote-cache ... (4 actions, 0 running) [1,306 / 4,573] GoCompilePkg external/org_golang_google_api/storage/v1/storage.a; Downloading external/org_golang_google_api/storage/v1/storage.a, 2.1 MiB / 5.1 MiB; 0s remote-cache ... (7 actions, 0 running) [4,305 / 4,639] GoCompilePkg pkg/privilege/privileges/privileges.a; Downloading pkg/privilege/privileges/privileges.a, 7.0 MiB / 9.5 MiB; 0s remote-cache ... (8 actions, 0 running) [2,705 / 4,573] GoCompilePkg pkg/sessionctx/vardef/vardef.a; 0s remote-cache ... (8 actions, 0 running) [3,493 / 4,750] Validating nogo output for @com_github_cockroachdb_errors//join:join; 0s remote-cache ... (8 actions, 0 running) [1,335 / 4,568] GoCompilePkg external/io_k8s_api/core/v1/core.a; Downloading external/io_k8s_api/core/v1/core.a, 4.4 MiB / 21.1 MiB; 0s remote-cache ... (8 actions, 0 running) [4,398 / 4,639] GoCompilePkg pkg/lightning/errormanager/errormanager.a; 0s remote-cache ... (8 actions, 0 running) [4,058 / 4,642] GoCompilePkg pkg/expression/expression.a; 0s remote-cache ... (4 actions, 0 running) [4,564 / 4,571] GoCompilePkg tests/realtikvtest/addindextest3/addindextest3_test.internal.a; 0s remote-cache, linux-sandbox ... (3 actions, 2 running) [1,559 / 4,573] GoCompilePkg pkg/types/types.a; 0s remote-cache ... (8 actions, 0 running) [4,472 / 4,639] [Prepa] GoCompilePkg pkg/domain/domain.a ./t/ddl/default_as_expression.test: ok! 411 test cases passed, take time 20.712950788 s ./t/ddl/fail_db.test: ok! 12 test cases passed, take time 0.178805461 s [3,887 / 4,573] GoCompilePkg pkg/expression/expression.a; Downloading pkg/expression/expression.a, 23.4 MiB / 108.6 MiB; 0s remote-cache ... (8 actions, 0 running) [4,477 / 4,639] GoCompilePkg pkg/extension/extensionimpl/extensionimpl.a; Downloading pkg/extension/extensionimpl/extensionimpl.a; 0s remote-cache ... (8 actions, 0 running) [4,278 / 4,642] GoCompilePkg pkg/store/mockstore/unistore/server/server.a; 0s remote-cache ... (4 actions, 0 running) [4,567 / 4,571] GoCompilePkgExternal tests/realtikvtest/addindextest3/addindextest3_test_test.external.a; 0s remote-cache, linux-sandbox ... (3 actions, 2 running) [2,910 / 4,573] [Prepa] Running nogo on @org_golang_google_grpc//resolver/dns:dns ... (6 actions, 0 running) [4,091 / 4,750] GoCompilePkg pkg/expression/expression.a; Downloading pkg/expression/expression.a, 28.0 MiB / 108.6 MiB; 0s remote-cache ... (7 actions, 0 running) [4,523 / 4,639] GoCompilePkg pkg/executor/internal/querywatch/querywatch.a; Downloading pkg/executor/internal/querywatch/querywatch.a, 9.0 MiB / 11.4 MiB; 0s remote-cache ... (8 actions, 0 running) [1,685 / 4,568] GoCompilePkg external/com_github_pingcap_kvproto/pkg/coprocessor/coprocessor.a; Downloading external/com_github_pingcap_kvproto/pkg/coprocessor/coprocessor.a, 416.8 KiB / 862.0 KiB; 0s remote-cache ... (8 actions, 0 running) [4,570 / 4,571] GoLink tests/realtikvtest/addindextest/addindextest_test_/addindextest_test; 10s remote-cache, linux-sandbox [4,541 / 4,639] GoCompilePkg br/pkg/stream/stream.a; Downloading br/pkg/stream/stream.a, 13.1 MiB / 14.2 MiB; 0s remote-cache ... (8 actions, 0 running) [4,460 / 4,642] [Prepa] GoCompilePkg pkg/ddl/ddl.a [4,097 / 4,573] [Prepa] GoCompilePkg pkg/statistics/handle/cache/internal/internal.a [3,609 / 4,573] GoCompilePkg pkg/expression/expression.a; 0s remote-cache ... (8 actions, 0 running) [4,223 / 4,750] [Prepa] GoCompilePkg pkg/session/types/types.a [2,988 / 4,568] GoCompilePkg pkg/util/collate/collate.a; 0s remote-cache ... (8 actions, 0 running) [4,570 / 4,571] GoLink tests/realtikvtest/addindextest3/addindextest3_test_/addindextest3_test; 0s remote-cache, linux-sandbox [4,581 / 4,639] GoCompilePkg pkg/planner/core/core.a; 0s remote-cache ... (2 actions, 0 running) [4,571 / 4,572] Testing //tests/realtikvtest/addindextest:addindextest_test; 0s remote-cache, linux-sandbox [3,999 / 4,573] GoCompilePkg pkg/infoschema/infoschema.a; Downloading pkg/infoschema/infoschema.a, 6.1 MiB / 9.3 MiB; 0s remote-cache ... (3 actions, 0 running) [4,295 / 4,573] GoCompilePkg pkg/statistics/handle/types/types.a; 0s remote-cache ... (8 actions, 0 running) [4,388 / 4,750] GoCompilePkg pkg/ddl/copr/copr.a; Downloading pkg/ddl/copr/copr.a, 24.0 KiB / 493.6 KiB; 0s remote-cache ... (8 actions, 0 running) [3,997 / 4,568] GoCompilePkg pkg/expression/expression.a; Downloading pkg/expression/expression.a, 3.0 MiB / 94.8 MiB; 0s remote-cache ... (8 actions, 0 running) [4,582 / 4,639] GoCompilePkg br/pkg/task/task.a; Downloading br/pkg/task/task.a, 14.1 MiB / 17.2 MiB; 0s remote-cache ... (7 actions, 0 running) [4,480 / 4,642] GoCompilePkg pkg/planner/indexadvisor/indexadvisor.a; Downloading pkg/planner/indexadvisor/indexadvisor.a, 12.1 MiB / 12.4 MiB; 0s remote-cache ... (8 actions, 0 running) [4,613 / 4,639] [Prepa] GoCompilePkg pkg/store/gcworker/gcworker.a ... (2 actions, 0 running) [4,636 / 4,637] GoLink tests/realtikvtest/addindextest2/addindextest2_test_/addindextest2_test; 10s remote-cache, linux-sandbox [4,637 / 4,638] [Prepa] Testing //tests/realtikvtest/addindextest2:addindextest2_test [4,412 / 4,573] [Prepa] GoCompilePkg pkg/planner/util/domainmisc/domainmisc.a ... (7 actions, 0 running) [4,085 / 4,568] GoCompilePkg pkg/util/ranger/ranger.a; Downloading pkg/util/ranger/ranger.a, 1.5 MiB / 1.7 MiB; 0s remote-cache ... (3 actions, 0 running) [4,613 / 4,639] [Prepa] GoCompilePkg pkg/store/gcworker/gcworker.a [4,564 / 4,642] GoCompilePkg br/pkg/restore/internal/prealloc_db/prealloc_db.a; 0s remote-cache ... (3 actions, 0 running) [4,400 / 4,573] [Prepa] GoCompilePkg pkg/ddl/schematracker/schematracker.a ... (5 actions, 0 running) [4,550 / 4,750] [Prepa] GoCompilePkg pkg/ddl/schematracker/schematracker.a [4,632 / 4,639] GoCompilePkg tests/realtikvtest/importintotest3/importintotest3_test.internal.a; 0s remote-cache, linux-sandbox ... (3 actions, 2 running) [4,467 / 4,573] Running nogo on //br/pkg/conn:conn; Downloading br/pkg/conn/conn.facts; 0s remote-cache ... (8 actions, 0 running) [4,285 / 4,568] GoCompilePkg pkg/lightning/config/config.a; 0s remote-cache ... (8 actions, 0 running) [4,608 / 4,642] GoCompilePkg pkg/executor/executor.a; Downloading pkg/executor/executor.a, 7.6 MiB / 51.0 MiB; 0s remote-cache ... (2 actions, 0 running) [4,452 / 4,573] GoCompilePkg br/pkg/checkpoint/checkpoint.a; 0s remote-cache ... (8 actions, 0 running) [4,590 / 4,750] GoCompilePkg pkg/executor/internal/calibrateresource/calibrateresource.a; Downloading pkg/executor/internal/calibrateresource/calibrateresource.a, 9.9 MiB / 11.6 MiB; 0s remote-cache ... (8 actions, 0 running) [4,567 / 4,568] GoLink tests/realtikvtest/addindextest1/addindextest1_test_/addindextest1_test; 10s remote-cache, linux-sandbox [4,567 / 4,568] GoLink tests/realtikvtest/addindextest1/addindextest1_test_/addindextest1_test; 11s remote-cache, linux-sandbox [4,632 / 4,639] GoCompilePkg tests/realtikvtest/importintotest2/importintotest2_test.internal.a; 0s remote-cache, linux-sandbox ... (3 actions, 2 running) [4,637 / 4,638] Testing //tests/realtikvtest/addindextest2:addindextest2_test; 1s remote-cache, linux-sandbox [4,638 / 4,639] [Prepa] GoLink tests/realtikvtest/importintotest3/importintotest3_test_/importintotest3_test [4,516 / 4,573] GoCompilePkg pkg/planner/core/core.a; 0s remote-cache ... (3 actions, 0 running) [4,661 / 4,750] GoCompilePkg pkg/planner/core/core.a; Downloading pkg/planner/core/core.a, 12.3 MiB / 53.0 MiB; 0s remote-cache ... (3 actions, 0 running) [4,409 / 4,568] GoCompilePkg pkg/extension/extensionimpl/extensionimpl.a; Downloading pkg/extension/extensionimpl/extensionimpl.a, 3.0 MiB / 10.1 MiB; 0s remote-cache ... (8 actions, 0 running) [4,568 / 4,569] Testing //tests/realtikvtest/addindextest1:addindextest1_test; 0s remote-cache, linux-sandbox [4,632 / 4,642] GoCompilePkg tests/realtikvtest/testutils/testutils.a; 0s remote-cache, linux-sandbox ... (3 actions, 2 running) [4,516 / 4,573] GoCompilePkg pkg/planner/core/core.a; Downloading pkg/planner/core/core.a, 48.9 MiB / 53.0 MiB; 0s remote-cache ... (3 actions, 0 running) [4,633 / 4,639] GoCompilePkg tests/realtikvtest/importintotest2/importintotest2_test.internal.a; 1s remote-cache, linux-sandbox [4,550 / 4,573] [Prepa] GoCompilePkg pkg/store/gcworker/gcworker.a ... (2 actions, 0 running) ./t/ddl/foreign_key.test: ok! 181 test cases passed, take time 6.931143523 s [4,681 / 4,750] Running nogo on //pkg/server/internal/resultset:resultset; 0s remote-cache, linux-sandbox ... (10 actions, 4 running) [4,471 / 4,568] GoCompilePkg br/pkg/restore/restore.a; 0s remote-cache ... (8 actions, 0 running) [4,547 / 4,573] [Prepa] GoCompilePkg pkg/session/session.a [4,638 / 4,639] GoLink tests/realtikvtest/importintotest3/importintotest3_test_/importintotest3_test; 1s remote-cache, linux-sandbox [4,634 / 4,639] Running nogo on //tests/realtikvtest/importintotest2:importintotest2_test; 0s remote-cache, linux-sandbox ... (4 actions running) [4,635 / 4,642] GoCompilePkg tests/realtikvtest/importintotest4/importintotest4_test.internal.a; 0s remote-cache, linux-sandbox ... (3 actions, 2 running) [4,712 / 4,750] GoCompilePkg pkg/server/handler/handler.a; 0s remote-cache, linux-sandbox ... (8 actions, 4 running) [4,516 / 4,568] GoCompilePkg pkg/executor/internal/mpp/mpp.a; Downloading pkg/executor/internal/mpp/mpp.a, 1023.8 KiB / 1.8 MiB; 0s remote-cache ... (8 actions, 0 running) [4,640 / 4,642] [Prepa] GoCompilePkg tests/realtikvtest/importintotest4/importintotest4_test~testmain.a [4,567 / 4,573] GoCompilePkg tests/realtikvtest/flashbacktest/flashbacktest_test.internal.a; 0s remote-cache, linux-sandbox [4,568 / 4,573] [Prepa] GoCompilePkgExternal tests/realtikvtest/pipelineddmltest/pipelineddmltest_test_test.external.a ... (2 actions, 0 running) [4,558 / 4,568] GoCompilePkg tests/realtikvtest/realtikvtest.a; Downloading tests/realtikvtest/realtikvtest.a, 3.2 MiB / 10.4 MiB; 0s remote-cache ... (2 actions, 0 running) [4,641 / 4,642] GoLink tests/realtikvtest/importintotest4/importintotest4_test_/importintotest4_test; 0s remote-cache, linux-sandbox [4,572 / 4,573] GoLink tests/realtikvtest/pipelineddmltest/pipelineddmltest_test_/pipelineddmltest_test; 0s remote-cache, linux-sandbox [4,723 / 4,750] GoCompilePkg pkg/server/handler/handler.a; 1s remote-cache, linux-sandbox [4,573 / 4,574] 1 / 1 tests; Testing //tests/realtikvtest/sessiontest:sessiontest_test; 63s remote-cache, linux-sandbox Target //tests/realtikvtest/sessiontest:sessiontest_test up-to-date: bazel-bin/tests/realtikvtest/sessiontest/sessiontest_test_/sessiontest_test INFO: Elapsed time: 167.922s, Critical Path: 149.38s INFO: 4571 processes: 4470 remote cache hit, 13 internal, 88 linux-sandbox. INFO: Build completed successfully, 4571 total actions //tests/realtikvtest/sessiontest:sessiontest_test PASSED in 63.9s PASSED sessiontest_test.TestAutoCommitNeedNotLinearizability (0.6s) PASSED sessiontest_test.TestClusterTableSendError (0.5s) PASSED sessiontest_test.TestFailStatementCommitInRetry (0.6s) PASSED sessiontest_test.TestGCOldVersion (13.0s) PASSED sessiontest_test.TestGetTSFailDirtyState (0.5s) PASSED sessiontest_test.TestGetTSFailDirtyStateInretry (1.0s) PASSED sessiontest_test.TestIndexLookUpWithStaticPrune (0.7s) PASSED sessiontest_test.TestIndexReaderWithPaging (1.6s) PASSED sessiontest_test.TestIssue42426 (0.4s) PASSED sessiontest_test.TestIssue57530 (0.5s) PASSED sessiontest_test.TestKill (0.3s) PASSED sessiontest_test.TestKillFlagInBackoff (9.6s) PASSED sessiontest_test.TestPagingActRowsAndProcessKeys (26.1s) PASSED sessiontest_test.TestTiKVClientReadTimeout (3.8s) 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 [4,638 / 4,639] GoLink tests/realtikvtest/importintotest2/importintotest2_test_/importintotest2_test; 1s 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,724 / 4,750] GoCompilePkg pkg/server/handler/ttlhandler/ttlhandler.a; 0s remote-cache, linux-sandbox ... (16 actions running) [4,566 / 4,568] [Prepa] GoCompilePkg tests/realtikvtest/addindextest4/addindextest4_test~testmain.a No test report files were found. Configuration error? [Pipeline] } [Pipeline] // script [4,572 / 4,573] GoLink tests/realtikvtest/flashbacktest/flashbacktest_test_/flashbacktest_test; 1s remote-cache, linux-sandbox [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // container [Pipeline] } [4,567 / 4,568] GoLink tests/realtikvtest/addindextest4/addindextest4_test_/addindextest4_test; 1s remote-cache, linux-sandbox [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // podTemplate [Pipeline] } [4,570 / 4,571] GoLink tests/realtikvtest/addindextest3/addindextest3_test_/addindextest3_test; 9s remote-cache, linux-sandbox [4,571 / 4,572] Testing //tests/realtikvtest/addindextest3:addindextest3_test; 0s remote-cache, linux-sandbox [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [4,733 / 4,750] GoCompilePkg pkg/server/handler/ttlhandler/ttlhandler.a; 2s remote-cache, linux-sandbox ... (6 actions running) [4,735 / 4,750] GoCompilePkg pkg/server/handler/tikvhandler/tikvhandler.a; 3s remote-cache, linux-sandbox [4,571 / 4,572] Testing //tests/realtikvtest/addindextest:addindextest_test; 11s remote-cache, linux-sandbox [4,737 / 4,750] GoCompilePkg pkg/server/server.a; 0s remote-cache, linux-sandbox ... (3 actions, 2 running) [4,637 / 4,638] Testing //tests/realtikvtest/addindextest2:addindextest2_test; 11s remote-cache, linux-sandbox [4,738 / 4,750] GoCompilePkg pkg/server/server.a; 2s remote-cache, linux-sandbox ./t/ddl/index_modify.test: ok! 39 test cases passed, take time 9.633780895 s [4,638 / 4,639] GoLink tests/realtikvtest/importintotest3/importintotest3_test_/importintotest3_test; 11s remote-cache, linux-sandbox [4,739 / 4,750] [Prepa] GoCompilePkg br/pkg/mock/mock.a [4,568 / 4,569] Testing //tests/realtikvtest/addindextest1:addindextest1_test; 11s remote-cache, linux-sandbox [4,639 / 4,640] [Prepa] Testing //tests/realtikvtest/importintotest3:importintotest3_test [4,641 / 4,642] GoLink tests/realtikvtest/importintotest4/importintotest4_test_/importintotest4_test; 10s remote-cache, linux-sandbox [4,741 / 4,750] GoCompilePkg br/pkg/mock/mock.a; 1s remote-cache, linux-sandbox [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,639 / 4,640] Testing //tests/realtikvtest/importintotest3:importintotest3_test; 1s remote-cache, linux-sandbox [4,572 / 4,573] GoLink tests/realtikvtest/flashbacktest/flashbacktest_test_/flashbacktest_test; 11s remote-cache, linux-sandbox [4,642 / 4,643] [Prepa] Testing //tests/realtikvtest/importintotest4:importintotest4_test [4,567 / 4,568] GoLink tests/realtikvtest/addindextest4/addindextest4_test_/addindextest4_test; 10s remote-cache, linux-sandbox [4,639 / 4,640] Testing //tests/realtikvtest/importintotest2:importintotest2_test; 1s remote-cache, linux-sandbox [4,567 / 4,568] GoLink tests/realtikvtest/addindextest4/addindextest4_test_/addindextest4_test; 11s remote-cache, linux-sandbox [4,572 / 4,573] GoLink tests/realtikvtest/pipelineddmltest/pipelineddmltest_test_/pipelineddmltest_test; 11s remote-cache, linux-sandbox [4,573 / 4,574] [Prepa] Testing //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test [4,572 / 4,573] GoLink tests/realtikvtest/flashbacktest/flashbacktest_test_/flashbacktest_test; 12s 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,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: 42.524s, Critical Path: 24.75s INFO: 4269 processes: 4259 remote cache hit, 3 internal, 7 linux-sandbox. INFO: Build completed successfully, 4269 total actions //tests/realtikvtest/addindextest4:addindextest4_test PASSED in 1.1s PASSED addindextest4_test.TestAddIndexIngestRecoverPartition (0.0s) Test cases: finished with 1 passing and 0 failing out of 1 test cases Executed 1 out of 1 test: 1 test passes.  [Pipeline] } [Pipeline] // dir Post stage [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] junit Recording test results None of the test reports contained any result [Checks API] No suitable checks publisher found. [Pipeline] } [4,744 / 4,750] GoCompilePkg tests/realtikvtest/importintotest/importintotest_test.internal.a; 1s remote-cache, linux-sandbox [4,573 / 4,574] Testing //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test; 1s remote-cache, linux-sandbox [Pipeline] // dir [4,573 / 4,574] Testing //tests/realtikvtest/flashbacktest:flashbacktest_test; 1s remote-cache, linux-sandbox [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] sh [4,571 / 4,572] Testing //tests/realtikvtest/addindextest3:addindextest3_test; 11s remote-cache, linux-sandbox No test report files were found. Configuration error? [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // timeout [Pipeline] } ./t/ddl/integration.test: ok! 91 test cases passed, take time 7.617210675 s [Pipeline] // stage [Pipeline] } [Pipeline] // container [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // podTemplate [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [4,745 / 4,750] [Prepa] GoCompilePkgExternal tests/realtikvtest/importintotest/importintotest_test_test.external.a ... (2 actions, 0 running) [4,749 / 4,750] GoLink tests/realtikvtest/importintotest/importintotest_test_/importintotest_test; 0s remote-cache, linux-sandbox [4,639 / 4,640] Testing //tests/realtikvtest/importintotest3:importintotest3_test; 11s remote-cache, linux-sandbox [4,639 / 4,640] Testing //tests/realtikvtest/importintotest2:importintotest2_test; 11s remote-cache, linux-sandbox [4,642 / 4,643] Testing //tests/realtikvtest/importintotest4:importintotest4_test; 11s remote-cache, linux-sandbox [4,573 / 4,574] Testing //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test; 11s remote-cache, linux-sandbox [4,573 / 4,574] Testing //tests/realtikvtest/flashbacktest:flashbacktest_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/04 12:45:29.150 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 12:45:29.150 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:45:29.151 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437826531169072] [2025/04/04 12:45:29.152 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:45:29.152 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:45:29.153 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:45:29.153 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:45:29.153 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:45:29.153 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:45:29.153 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:45:29.153 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:45:29.159 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 12:45:29.165 +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/04 12:45:29.166 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:45:29.167 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:45:29.189 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/04 12:45:29.190 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/04 12:45:29.195 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/04 12:45:29.195 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/04 12:45:29.206 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/04 12:45:29.228 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489437826531169072] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 12:45:29.250 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 12:45:29.292 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1886] ["lease id"=6f189600d430c0dc] [2025/04/04 12:45:29.294 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/04 12:45:29.300 +00:00] [WARN] [domain.go:318] ["failed to get schema version"] [error="There is no Write MVCC info for the schema version"] [errorVerbose="There is no Write MVCC info for the schema version\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:448\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:316\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init\n\tpkg/domain/domain.go:1506\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).getWithEtcdClient.func1\n\tpkg/session/tidb.go:104\ngithub.com/pingcap/tidb/pkg/util.RunWithRetry\n\tpkg/util/misc.go:72\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).getWithEtcdClient\n\tpkg/session/tidb.go:91\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).Get\n\tpkg/session/tidb.go:66\ngithub.com/pingcap/tidb/pkg/session.createSessionWithOpt\n\tpkg/session/session.go:3794\ngithub.com/pingcap/tidb/pkg/session.createSession\n\tpkg/session/session.go:3786\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3722\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3477\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/importintotest3/importintotest3_test.(*mockGCSSuite).SetupSuite\n\ttests/realtikvtest/importintotest3/main_test.go:63\ngithub.com/stretchr/testify/suite.Run\n\texternal/com_github_stretchr_testify/suite/suite.go:157\ntests/realtikvtest/importintotest3/importintotest3_test.TestImportInto\n\ttests/realtikvtest/importintotest3/main_test.go:48\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [version=0] [2025/04/04 12:45:29.404 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=0] ["elapsed time"=103.058873ms] [2025/04/04 12:45:29.404 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 12:45:29.405 +00:00] [INFO] [ddl.go:964] ["change job version in use"] [category=ddl] [old=v1] [new=v2] [2025/04/04 12:45:29.405 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=6a6aa2cc-5d4c-42e3-b6bb-78803defca9b] [runWorker=true] [jobVersion=v2] [2025/04/04 12:45:29.405 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 12:45:29.407 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=6a6aa2cc-5d4c-42e3-b6bb-78803defca9b] [2025/04/04 12:45:29.409 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 12:45:29.409 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 320860438528/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 12:45:29.409 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:45:29.409 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:45:29.409 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:45:29.409 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:45:29.409 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:45:29.409 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:45:29.409 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:45:29.409 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:45:29.409 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:45:29.409 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 12:45:29.409 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:45:29.409 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 12:45:29.410 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=9730f4b4-1ec8-427f-b1ab-68c2ff1733e8] [2025/04/04 12:45:29.411 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319600d430c14b] [ownerID=6a6aa2cc-5d4c-42e3-b6bb-78803defca9b] [op=none] [2025/04/04 12:45:29.411 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=6a6aa2cc-5d4c-42e3-b6bb-78803defca9b] [2025/04/04 12:45:29.411 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=6a6aa2cc-5d4c-42e3-b6bb-78803defca9b] [ownerKey=/tidb/ddl/fg/owner/22319600d430c14b] [currRev=92] [2025/04/04 12:45:29.412 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:45:29.412 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=9730f4b4-1ec8-427f-b1ab-68c2ff1733e8] [daemon-id=LogBackup::Advancer] [2025/04/04 12:45:29.413 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa9600d430c1eb] [ownerID=9730f4b4-1ec8-427f-b1ab-68c2ff1733e8] [op=none] [2025/04/04 12:45:29.413 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=9730f4b4-1ec8-427f-b1ab-68c2ff1733e8] [2025/04/04 12:45:29.413 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 12:45:29.413 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=9730f4b4-1ec8-427f-b1ab-68c2ff1733e8] [ownerKey=/tidb/br-stream/owner/3eaa9600d430c1eb] [currRev=93] [2025/04/04 12:45:29.413 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319600d430c14b] [ownerID=6a6aa2cc-5d4c-42e3-b6bb-78803defca9b] [op=none] [2025/04/04 12:45:29.414 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=6a6aa2cc-5d4c-42e3-b6bb-78803defca9b] [op=none] [2025/04/04 12:45:29.414 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 12:45:29.416 +00:00] [WARN] [domain.go:318] ["failed to get schema version"] [error="There is no Write MVCC info for the schema version"] [errorVerbose="There is no Write MVCC info for the schema version\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:448\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:316\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/ddl.(*jobScheduler).mustReloadSchemas\n\tpkg/ddl/job_scheduler.go:455\ngithub.com/pingcap/tidb/pkg/ddl.(*jobScheduler).schedule\n\tpkg/ddl/job_scheduler.go:301\ngithub.com/pingcap/tidb/pkg/ddl.(*jobScheduler).scheduleLoop\n\tpkg/ddl/job_scheduler.go:268\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [version=0] [2025/04/04 12:45:29.431 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:29.399 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:29.431 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:29.399 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE IF NOT EXISTS test"] [2025/04/04 12:45:29.437 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=3] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:29.399 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:29.577 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=1] ["elapsed time"=124.887481ms] [2025/04/04 12:45:29.577 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 12:45:29.582 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:29.582 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1] [2025/04/04 12:45:29.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=1] ["take time"=134.187974ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:29.399 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:29.597 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=3] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:29.399 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:29.611 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=3] [2025/04/04 12:45:29.612 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2025/04/04 12:45:29.613 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2025/04/04 12:45:29.617 +00:00] [INFO] [helper.go:189] ["set random timezone for getStmtTimestamp"] [timezone=UTC] [2025/04/04 12:45:29.642 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:29.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:29.642 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:29.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_reuse_history smallint unsigned DEFAULT NULL,\n\t\tPassword_reuse_time smallint unsigned DEFAULT NULL,\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPassword_expired\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_last_changed\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP(),\n\t\tPassword_lifetime\t\tSMALLINT UNSIGNED DEFAULT NULL,\n\t\tMax_user_connections \tINT UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (Host, User),\n\t\tKEY i_user (User));"] [2025/04/04 12:45:29.650 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=5] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:29.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:29.706 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=1] [neededSchemaVersion=2] ["elapsed time"=7.532721ms] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:29.709 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:29.709 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2] [2025/04/04 12:45:29.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=2] ["take time"=14.25351ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:29.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:29.730 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=5] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:29.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:29.761 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=5] [2025/04/04 12:45:29.761 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=2] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_reuse_history smallint unsigned DEFAULT NULL,\n\t\tPassword_reuse_time smallint unsigned DEFAULT NULL,\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPassword_expired\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_last_changed\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP(),\n\t\tPassword_lifetime\t\tSMALLINT UNSIGNED DEFAULT NULL,\n\t\tMax_user_connections \tINT UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (Host, User),\n\t\tKEY i_user (User));"] [user=] [2025/04/04 12:45:29.775 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:29.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:29.775 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:29.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.password_history (\n Host char(255) NOT NULL DEFAULT '',\n User char(32) NOT NULL DEFAULT '',\n Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n Password text,\n PRIMARY KEY (Host,User,Password_timestamp )\n ) COMMENT='Password history for user accounts' "] [2025/04/04 12:45:29.781 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=7] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:29.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:29.801 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=2] [neededSchemaVersion=3] ["elapsed time"=2.091058ms] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:29.805 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:29.805 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3] [2025/04/04 12:45:29.806 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=3] ["take time"=9.031994ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:29.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:29.818 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=7] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:29.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:29.830 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=7] [2025/04/04 12:45:29.831 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=3] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.password_history (\n Host char(255) NOT NULL DEFAULT '',\n User char(32) NOT NULL DEFAULT '',\n Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n Password text,\n PRIMARY KEY (Host,User,Password_timestamp )\n ) COMMENT='Password history for user accounts' "] [user=] [2025/04/04 12:45:29.844 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:29.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:29.844 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:29.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User),KEY i_user (User))"] [2025/04/04 12:45:29.850 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=9] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:29.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:29.869 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=3] [neededSchemaVersion=4] ["elapsed time"=2.020446ms] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:29.872 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:29.872 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4] [2025/04/04 12:45:29.874 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=4] ["take time"=8.604169ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:29.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:29.884 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=9] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:29.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:29.896 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=9] [2025/04/04 12:45:29.897 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=4] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User),KEY i_user (User))"] [user=] [2025/04/04 12:45:29.917 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:29.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:29.917 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:29.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User),\n\t\tKEY i_user (User));"] [2025/04/04 12:45:29.928 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=11] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:29.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:29.964 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=4] [neededSchemaVersion=5] ["elapsed time"=4.35541ms] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:29.967 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:29.967 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5] [2025/04/04 12:45:29.969 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=5] ["take time"=11.531759ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:29.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:29.983 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=11] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:29.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:30.004 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=11] [2025/04/04 12:45:30.004 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=5] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User),\n\t\tKEY i_user (User));"] [user=] [2025/04/04 12:45:30.020 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:29.999 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:30.020 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:29.999 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name),\n\t\tKEY i_user (User));"] [2025/04/04 12:45:30.026 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=13] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:29.999 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:30.049 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=5] [neededSchemaVersion=6] ["elapsed time"=2.652896ms] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:30.052 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:30.052 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6] [2025/04/04 12:45:30.054 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=6] ["take time"=9.045493ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:29.999 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:30.065 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=13] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:29.999 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:30.081 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=13] [2025/04/04 12:45:30.081 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=6] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name),\n\t\tKEY i_user (User));"] [user=] [2025/04/04 12:45:30.096 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:30.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tColumn_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name),\n\t\tKEY i_user (User));"] [2025/04/04 12:45:30.097 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:30.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:30.102 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=15] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:30.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:30.124 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=6] [neededSchemaVersion=7] ["elapsed time"=2.44808ms] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:30.127 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:30.127 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7] [2025/04/04 12:45:30.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=7] ["take time"=8.906282ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:30.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:30.140 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=15] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:30.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:30.155 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=15] [2025/04/04 12:45:30.155 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=7] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tColumn_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name),\n\t\tKEY i_user (User));"] [user=] [2025/04/04 12:45:30.168 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:30.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:30.168 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:30.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(16383) DEFAULT NULL);"] [2025/04/04 12:45:30.173 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=17] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:30.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:30.190 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=7] [neededSchemaVersion=8] ["elapsed time"=1.651176ms] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:30.193 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:30.193 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8] [2025/04/04 12:45:30.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=8] ["take time"=7.850839ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:30.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:30.204 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=17] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:30.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:30.214 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=17] [2025/04/04 12:45:30.214 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=8] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(16383) DEFAULT NULL);"] [user=] [2025/04/04 12:45:30.227 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:30.199 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:30.227 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:30.199 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [2025/04/04 12:45:30.232 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=19] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:30.199 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:30.248 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=8] [neededSchemaVersion=9] ["elapsed time"=1.752606ms] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:30.251 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:30.251 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9] [2025/04/04 12:45:30.253 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=9] ["take time"=7.71619ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:30.199 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:30.262 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=19] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:30.199 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:30.273 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=19] [2025/04/04 12:45:30.273 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=9] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [user=] [2025/04/04 12:45:30.287 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:30.249 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:30.287 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:30.249 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [2025/04/04 12:45:30.293 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=21] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:30.249 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:30.312 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=9] [neededSchemaVersion=10] ["elapsed time"=2.127339ms] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:30.316 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:30.316 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10] [2025/04/04 12:45:30.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=10] ["take time"=9.114213ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:30.249 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:30.328 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=21] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:30.249 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:30.339 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=21] [2025/04/04 12:45:30.340 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=10] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [user=] [2025/04/04 12:45:30.353 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:30.298 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:30.353 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:30.298 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [2025/04/04 12:45:30.359 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=23] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:30.298 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:30.379 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=10] [neededSchemaVersion=11] ["elapsed time"=2.184451ms] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:30.382 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:30.382 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11] [2025/04/04 12:45:30.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=11] ["take time"=8.675167ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:30.298 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:30.393 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=23] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:30.298 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:30.405 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=23] [2025/04/04 12:45:30.406 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=11] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [user=] [2025/04/04 12:45:30.407 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl] [2025/04/04 12:45:30.410 +00:00] [WARN] [runaway.go:85] ["failed to start runaway manager loop, please check whether the bootstrap or update is finished"] [error="[schema:1146]Table 'mysql.tidb_runaway_watch' doesn't exist"] [errorVerbose="[schema:1146]Table 'mysql.tidb_runaway_watch' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternalStmt\n\tpkg/session/session.go:2019\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1984\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1970\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1974\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.ExecRCRestrictedSQL\n\tpkg/resourcegroup/runaway/record.go:382\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*systemTableReader).Read\n\tpkg/resourcegroup/runaway/syncer.go:192\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.getRunawayWatchRecord\n\tpkg/resourcegroup/runaway/syncer.go:76\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*syncer).getWatchRecord\n\tpkg/resourcegroup/runaway/syncer.go:67\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*syncer).getNewWatchRecords\n\tpkg/resourcegroup/runaway/syncer.go:59\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*Manager).UpdateNewAndDoneWatch\n\tpkg/resourcegroup/runaway/manager.go:402\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).runawayStartLoop\n\tpkg/domain/runaway.go:75\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:45:30.421 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:30.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:30.421 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:30.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [2025/04/04 12:45:30.428 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=25] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:30.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:30.454 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=11] [neededSchemaVersion=12] ["elapsed time"=3.104802ms] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:30.457 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:30.457 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12] [2025/04/04 12:45:30.459 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=12] ["take time"=9.881901ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:30.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:30.472 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=25] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:30.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:30.488 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=25] [2025/04/04 12:45:30.488 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=12] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2025/04/04 12:45:30.503 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:30.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:30.503 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:30.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [2025/04/04 12:45:30.509 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=27] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:30.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:30.531 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=12] [neededSchemaVersion=13] ["elapsed time"=2.615096ms] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:30.534 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:30.534 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13] [2025/04/04 12:45:30.536 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=13] ["take time"=8.920979ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:30.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:30.547 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=27] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:30.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:30.561 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=27] [2025/04/04 12:45:30.562 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=13] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [user=] [2025/04/04 12:45:30.575 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:30.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:30.575 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:30.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [2025/04/04 12:45:30.581 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=29] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:30.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:30.601 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=13] [neededSchemaVersion=14] ["elapsed time"=2.229357ms] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:30.604 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:30.604 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14] [2025/04/04 12:45:30.605 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=14] ["take time"=8.997632ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:30.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:30.616 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=29] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:30.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:30.635 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=29] [2025/04/04 12:45:30.635 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=14] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [user=] [2025/04/04 12:45:30.649 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:30.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:30.649 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:30.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [2025/04/04 12:45:30.655 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=31] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:30.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:30.675 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=14] [neededSchemaVersion=15] ["elapsed time"=2.066404ms] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:30.678 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:30.678 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15] [2025/04/04 12:45:30.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=15] ["take time"=8.778057ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:30.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:30.690 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=31] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:30.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:30.703 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=31] [2025/04/04 12:45:30.703 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=15] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [user=] [2025/04/04 12:45:30.716 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:30.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:30.716 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:30.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [2025/04/04 12:45:30.723 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=33] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:30.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:30.742 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=15] [neededSchemaVersion=16] ["elapsed time"=2.027344ms] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:30.746 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:30.746 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16] [2025/04/04 12:45:30.747 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=16] ["take time"=9.091027ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:30.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:30.758 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=33] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:30.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:30.770 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=33] [2025/04/04 12:45:30.770 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=16] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [user=] [2025/04/04 12:45:30.784 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:30.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:30.784 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:30.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [2025/04/04 12:45:30.789 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=35] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:30.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:30.809 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=16] [neededSchemaVersion=17] ["elapsed time"=2.120317ms] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:30.813 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:30.813 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17] [2025/04/04 12:45:30.814 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=17] ["take time"=9.063418ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:30.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:30.825 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=35] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:30.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:30.838 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=35] [2025/04/04 12:45:30.838 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=17] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [user=] [2025/04/04 12:45:30.852 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:30.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:30.852 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:30.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER),\n\t\tKEY i_user (USER))"] [2025/04/04 12:45:30.857 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=37] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:30.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:30.876 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=17] [neededSchemaVersion=18] ["elapsed time"=2.1707ms] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:30.879 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:30.880 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18] [2025/04/04 12:45:30.881 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=18] ["take time"=8.919142ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:30.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:30.892 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=37] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:30.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:30.904 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=37] [2025/04/04 12:45:30.904 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=18] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER),\n\t\tKEY i_user (USER))"] [user=] [2025/04/04 12:45:30.920 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:30.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:30.920 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:30.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql LONGTEXT NOT NULL,\n\t\tbind_sql LONGTEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tsql_digest varchar(64) DEFAULT NULL,\n\t\tplan_digest varchar(64) DEFAULT NULL,\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\",\n\t\tUNIQUE INDEX digest_index(plan_digest, sql_digest) COMMENT \"avoid duplicated records\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2025/04/04 12:45:30.926 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=39] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:30.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:30.950 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=18] [neededSchemaVersion=19] ["elapsed time"=2.919366ms] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:30.953 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:30.953 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19] [2025/04/04 12:45:30.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=19] ["take time"=8.70256ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:30.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:30.966 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=39] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:30.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:30.981 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=39] [2025/04/04 12:45:30.982 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=19] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql LONGTEXT NOT NULL,\n\t\tbind_sql LONGTEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tsql_digest varchar(64) DEFAULT NULL,\n\t\tplan_digest varchar(64) DEFAULT NULL,\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\",\n\t\tUNIQUE INDEX digest_index(plan_digest, sql_digest) COMMENT \"avoid duplicated records\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2025/04/04 12:45:31.000 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:30.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:31.000 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:30.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [2025/04/04 12:45:31.005 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=41] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:30.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:31.025 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=19] [neededSchemaVersion=20] ["elapsed time"=2.125633ms] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:31.028 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:31.028 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20] [2025/04/04 12:45:31.029 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=20] ["take time"=8.683263ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:30.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:31.039 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=41] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:30.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:31.052 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=41] [2025/04/04 12:45:31.052 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=20] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2025/04/04 12:45:31.064 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:31.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:31.064 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:31.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [2025/04/04 12:45:31.069 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=43] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:31.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:31.086 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=20] [neededSchemaVersion=21] ["elapsed time"=1.749858ms] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:31.090 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:31.090 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21] [2025/04/04 12:45:31.091 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=21] ["take time"=8.312045ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:31.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:31.101 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=43] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:31.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:31.112 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=43] [2025/04/04 12:45:31.112 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=21] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [user=] [2025/04/04 12:45:31.123 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:31.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:31.124 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:31.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [2025/04/04 12:45:31.129 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=45] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:31.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:31.144 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=21] [neededSchemaVersion=22] ["elapsed time"=1.420193ms] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:31.147 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:31.147 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22] [2025/04/04 12:45:31.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=22] ["take time"=8.120582ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:31.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:31.159 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=45] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:31.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:31.160 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/04 12:45:31.169 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=45] [2025/04/04 12:45:31.170 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=22] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [user=] [2025/04/04 12:45:31.184 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:31.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:31.184 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:31.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [2025/04/04 12:45:31.190 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=47] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:31.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:31.211 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=22] [neededSchemaVersion=23] ["elapsed time"=2.501911ms] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:31.215 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:31.215 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23] [2025/04/04 12:45:31.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=23] ["take time"=9.417078ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:31.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:31.227 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=47] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:31.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:31.241 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=47] [2025/04/04 12:45:31.242 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=23] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [user=] [2025/04/04 12:45:31.255 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:31.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:31.255 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:31.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [2025/04/04 12:45:31.260 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=49] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:31.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:31.279 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=23] [neededSchemaVersion=24] ["elapsed time"=1.934031ms] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:31.282 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:31.282 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24] [2025/04/04 12:45:31.284 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=24] ["take time"=8.64671ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:31.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:31.294 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=49] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:31.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:31.306 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=49] [2025/04/04 12:45:31.306 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=24] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2025/04/04 12:45:31.320 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:31.298 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:31.320 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:31.298 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV),\n\t\tKEY i_user (USER)\n\t);"] [2025/04/04 12:45:31.326 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=51] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:31.298 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:31.345 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=24] [neededSchemaVersion=25] ["elapsed time"=2.104426ms] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:31.349 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:31.349 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25] [2025/04/04 12:45:31.350 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=25] ["take time"=9.37587ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:31.298 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:31.366 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=51] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:31.298 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:31.379 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=51] [2025/04/04 12:45:31.380 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=25] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV),\n\t\tKEY i_user (USER)\n\t);"] [user=] [2025/04/04 12:45:31.393 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:31.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:31.393 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:31.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [2025/04/04 12:45:31.398 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=53] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:31.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:31.409 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/04 12:45:31.410 +00:00] [WARN] [info.go:562] ["response not 200"] [method=GET] [host=127.0.0.1:2379] [url=/pd/api/v1/config/rule_group/tiflash] ["http status"=404] [2025/04/04 12:45:31.418 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=25] [neededSchemaVersion=26] ["elapsed time"=1.902172ms] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:31.422 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:31.422 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26] [2025/04/04 12:45:31.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=26] ["take time"=10.296424ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:31.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:31.434 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=53] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:31.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:31.446 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=53] [2025/04/04 12:45:31.447 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=26] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [user=] [2025/04/04 12:45:31.460 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:31.449 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:31.460 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:31.449 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [2025/04/04 12:45:31.466 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=55] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:31.449 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:31.484 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=26] [neededSchemaVersion=27] ["elapsed time"=1.926942ms] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:31.487 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:31.487 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27] [2025/04/04 12:45:31.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=27] ["take time"=8.743932ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:31.449 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:31.500 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=55] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:31.449 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:31.512 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=55] [2025/04/04 12:45:31.512 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=27] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [user=] [2025/04/04 12:45:31.525 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:31.499 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:31.525 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:31.499 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [2025/04/04 12:45:31.531 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=57] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:31.499 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:31.550 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=27] [neededSchemaVersion=28] ["elapsed time"=1.89054ms] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:31.553 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:31.553 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28] [2025/04/04 12:45:31.555 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=28] ["take time"=8.54009ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:31.499 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:31.565 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=57] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:31.499 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:31.577 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=57] [2025/04/04 12:45:31.577 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=28] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [user=] [2025/04/04 12:45:31.579 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl] [2025/04/04 12:45:31.591 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:31.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:31.591 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:31.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [2025/04/04 12:45:31.596 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=59] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:31.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:31.616 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=28] [neededSchemaVersion=29] ["elapsed time"=2.199096ms] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:31.619 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:31.619 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29] [2025/04/04 12:45:31.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=29] ["take time"=8.828803ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:31.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:31.631 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=59] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:31.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:31.645 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=59] [2025/04/04 12:45:31.645 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=29] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [user=] [2025/04/04 12:45:31.659 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:31.649 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:31.659 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:31.649 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [2025/04/04 12:45:31.665 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=61] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:31.649 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:31.687 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=29] [neededSchemaVersion=30] ["elapsed time"=2.469275ms] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:31.691 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:31.691 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30] [2025/04/04 12:45:31.692 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=30] ["take time"=9.394004ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:31.649 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:31.703 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=61] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:31.649 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:31.717 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=61] [2025/04/04 12:45:31.717 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=30] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2025/04/04 12:45:31.732 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:31.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:31.732 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:31.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [2025/04/04 12:45:31.737 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=63] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:31.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:31.759 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=30] [neededSchemaVersion=31] ["elapsed time"=2.437477ms] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:31.762 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:31.762 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31] [2025/04/04 12:45:31.763 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=31] ["take time"=9.070127ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:31.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:31.774 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=63] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:31.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:31.789 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=63] [2025/04/04 12:45:31.789 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=31] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2025/04/04 12:45:31.807 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:31.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:31.807 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:31.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time),\n\t\tINDEX idx_schema_table_state (table_schema, table_name, state),\n\t\tINDEX idx_schema_table_partition_state (table_schema, table_name, partition_name, state)\n\t);"] [2025/04/04 12:45:31.813 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=65] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:31.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:31.842 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=31] [neededSchemaVersion=32] ["elapsed time"=3.489714ms] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:31.845 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:31.845 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32] [2025/04/04 12:45:31.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=32] ["take time"=10.393267ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:31.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:31.859 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=65] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:31.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:31.876 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=65] [2025/04/04 12:45:31.877 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=32] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time),\n\t\tINDEX idx_schema_table_state (table_schema, table_name, state),\n\t\tINDEX idx_schema_table_partition_state (table_schema, table_name, partition_name, state)\n\t);"] [user=] [2025/04/04 12:45:31.889 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:31.849 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:31.889 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:31.849 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [2025/04/04 12:45:31.895 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=67] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:31.849 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:31.911 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=32] [neededSchemaVersion=33] ["elapsed time"=1.630647ms] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:31.915 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:31.915 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33] [2025/04/04 12:45:31.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=33] ["take time"=8.718219ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:31.849 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:31.926 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=67] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:31.849 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:31.937 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=67] [2025/04/04 12:45:31.938 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=33] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [user=] [2025/04/04 12:45:31.954 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:31.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:31.954 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:31.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE OR REPLACE SQL SECURITY INVOKER VIEW mysql.tidb_mdl_view as (\n\t\tSELECT tidb_mdl_info.job_id,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.schema_name\")) as db_name,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.table_name\")) as table_name,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.query\")) as query,\n\t\t\tsession_id,\n\t\t\tcluster_tidb_trx.start_time,\n\t\t\ttidb_decode_sql_digests(all_sql_digests, 4096) AS SQL_DIGESTS\n\t\tFROM mysql.tidb_ddl_job,\n\t\t\tmysql.tidb_mdl_info,\n\t\t\tinformation_schema.cluster_tidb_trx\n\t\tWHERE tidb_ddl_job.job_id=tidb_mdl_info.job_id\n\t\t\tAND CONCAT(',', tidb_mdl_info.table_ids, ',') REGEXP CONCAT(',(', REPLACE(cluster_tidb_trx.related_table_ids, ',', '|'), '),') != 0\n\t);"] [2025/04/04 12:45:31.960 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=69] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:31.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:31.982 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=33] [neededSchemaVersion=34] ["elapsed time"=2.277028ms] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2025/04/04 12:45:31.985 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:31.985 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34] [2025/04/04 12:45:31.986 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=34] ["take time"=8.936073ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:31.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:31.997 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=69] [job="ID:69, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:31.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.012 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=69] [2025/04/04 12:45:32.026 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:31.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:32.026 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:31.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [2025/04/04 12:45:32.032 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=71] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:31.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.052 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=34] [neededSchemaVersion=35] ["elapsed time"=2.198549ms] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:32.056 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:32.056 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35] [2025/04/04 12:45:32.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=35] ["take time"=8.953625ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:31.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.068 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=71] [job="ID:71, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:31.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.082 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=71] [2025/04/04 12:45:32.082 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=35] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [user=] [2025/04/04 12:45:32.095 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:32.095 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [2025/04/04 12:45:32.101 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=73] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:32.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.120 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=35] [neededSchemaVersion=36] ["elapsed time"=1.990431ms] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:32.123 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:32.123 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36] [2025/04/04 12:45:32.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=36] ["take time"=8.815796ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.136 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=73] [job="ID:73, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:32.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.153 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=73] [2025/04/04 12:45:32.153 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=36] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [user=] [2025/04/04 12:45:32.167 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:32.167 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [2025/04/04 12:45:32.174 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=75] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:32.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.191 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=36] [neededSchemaVersion=37] ["elapsed time"=1.877355ms] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:32.195 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:32.195 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37] [2025/04/04 12:45:32.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=37] ["take time"=8.591181ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.206 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=75] [job="ID:75, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:32.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.219 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=75] [2025/04/04 12:45:32.219 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=37] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [user=] [2025/04/04 12:45:32.236 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:32.236 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [2025/04/04 12:45:32.242 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=77] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:32.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.271 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=37] [neededSchemaVersion=38] ["elapsed time"=3.341231ms] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:32.274 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:32.274 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38] [2025/04/04 12:45:32.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=38] ["take time"=10.434944ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.289 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=77] [job="ID:77, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:32.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.307 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=77] [2025/04/04 12:45:32.307 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=38] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [user=] [2025/04/04 12:45:32.323 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.298 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [2025/04/04 12:45:32.323 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.298 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:32.329 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=79] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:32.298 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.355 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=38] [neededSchemaVersion=39] ["elapsed time"=3.23425ms] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:32.358 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:32.358 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39] [2025/04/04 12:45:32.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=39] ["take time"=9.891242ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.298 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.373 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=79] [job="ID:79, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:32.298 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.388 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=79] [2025/04/04 12:45:32.389 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=39] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [user=] [2025/04/04 12:45:32.405 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [2025/04/04 12:45:32.405 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:32.412 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=81] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:32.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.441 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=39] [neededSchemaVersion=40] ["elapsed time"=3.498245ms] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:32.444 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:32.444 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40] [2025/04/04 12:45:32.446 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=40] ["take time"=10.183058ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.458 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=81] [job="ID:81, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:32.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.476 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=81] [2025/04/04 12:45:32.477 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=40] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [user=] [2025/04/04 12:45:32.494 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.449 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:32.494 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.449 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [2025/04/04 12:45:32.500 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=83] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:32.449 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.531 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=40] [neededSchemaVersion=41] ["elapsed time"=3.716974ms] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:32.534 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:32.534 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41] [2025/04/04 12:45:32.536 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=41] ["take time"=10.62414ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.449 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.549 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=83] [job="ID:83, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:32.449 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.567 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=83] [2025/04/04 12:45:32.567 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=41] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2025/04/04 12:45:32.586 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:32.586 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task_history (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [2025/04/04 12:45:32.592 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=85] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:32.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.623 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=41] [neededSchemaVersion=42] ["elapsed time"=3.797567ms] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:32.626 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:32.626 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42] [2025/04/04 12:45:32.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=42] ["take time"=10.788855ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.640 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=85] [job="ID:85, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:32.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.660 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=85] [2025/04/04 12:45:32.660 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=42] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task_history (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2025/04/04 12:45:32.678 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:32.678 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_import_jobs (\n\t\tid bigint(64) NOT NULL AUTO_INCREMENT,\n\t\tcreate_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n\t\tstart_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tupdate_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tend_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\ttable_schema VARCHAR(64) NOT NULL,\n\t\ttable_name VARCHAR(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcreated_by VARCHAR(300) NOT NULL,\n\t\tparameters text NOT NULL,\n\t\tsource_file_size bigint(64) NOT NULL,\n\t\tstatus VARCHAR(64) NOT NULL,\n\t\tstep VARCHAR(64) NOT NULL,\n\t\tsummary text DEFAULT NULL,\n\t\terror_message TEXT DEFAULT NULL,\n\t\tPRIMARY KEY (id),\n\t\tKEY (created_by),\n\t\tKEY (status));"] [2025/04/04 12:45:32.684 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=87] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:32.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.711 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=42] [neededSchemaVersion=43] ["elapsed time"=3.419026ms] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:32.714 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:32.714 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43] [2025/04/04 12:45:32.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=43] ["take time"=10.203155ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.728 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=87] [job="ID:87, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:32.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.745 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=87] [2025/04/04 12:45:32.746 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=43] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_import_jobs (\n\t\tid bigint(64) NOT NULL AUTO_INCREMENT,\n\t\tcreate_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n\t\tstart_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tupdate_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tend_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\ttable_schema VARCHAR(64) NOT NULL,\n\t\ttable_name VARCHAR(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcreated_by VARCHAR(300) NOT NULL,\n\t\tparameters text NOT NULL,\n\t\tsource_file_size bigint(64) NOT NULL,\n\t\tstatus VARCHAR(64) NOT NULL,\n\t\tstep VARCHAR(64) NOT NULL,\n\t\tsummary text DEFAULT NULL,\n\t\terror_message TEXT DEFAULT NULL,\n\t\tPRIMARY KEY (id),\n\t\tKEY (created_by),\n\t\tKEY (status));"] [user=] [2025/04/04 12:45:32.761 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:32.761 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tINDEX sql_index(resource_group_name,watch_text(700)) COMMENT \"accelerate the speed when select quarantined query\",\n\t\tINDEX time_index(end_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2025/04/04 12:45:32.767 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=89] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:32.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.791 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=43] [neededSchemaVersion=44] ["elapsed time"=2.851353ms] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:32.794 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:32.794 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44] [2025/04/04 12:45:32.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=44] ["take time"=9.854074ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.808 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=89] [job="ID:89, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:32.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.823 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=89] [2025/04/04 12:45:32.824 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=44] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tINDEX sql_index(resource_group_name,watch_text(700)) COMMENT \"accelerate the speed when select quarantined query\",\n\t\tINDEX time_index(end_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2025/04/04 12:45:32.840 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:32.840 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time TIMESTAMP NOT NULL,\n\t\trepeats int default 1,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(64) NOT NULL,\n\t\tsample_sql TEXT NOT NULL,\n\t\tsql_digest varchar(64) NOT NULL,\n\t\tplan_digest varchar(64) NOT NULL,\n\t\ttidb_server varchar(512),\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(start_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2025/04/04 12:45:32.846 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=91] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:32.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.870 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=44] [neededSchemaVersion=45] ["elapsed time"=2.881014ms] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:32.873 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:32.873 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45] [2025/04/04 12:45:32.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=45] ["take time"=9.53468ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.886 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=91] [job="ID:91, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:32.799 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.901 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=91] [2025/04/04 12:45:32.901 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=45] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time TIMESTAMP NOT NULL,\n\t\trepeats int default 1,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(64) NOT NULL,\n\t\tsample_sql TEXT NOT NULL,\n\t\tsql_digest varchar(64) NOT NULL,\n\t\tplan_digest varchar(64) NOT NULL,\n\t\ttidb_server varchar(512),\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(start_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2025/04/04 12:45:32.924 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS `mysql`.`tidb_timers` (\n\t\tID BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tNAMESPACE VARCHAR(256) NOT NULL,\n\t\tTIMER_KEY VARCHAR(256) NOT NULL,\n\t\tTIMER_DATA BLOB,\n\t\tTIMEZONE VARCHAR(64) NOT NULL,\n\t\tSCHED_POLICY_TYPE VARCHAR(32) NOT NULL,\n\t\tSCHED_POLICY_EXPR VARCHAR(256) NOT NULL,\n\t\tHOOK_CLASS VARCHAR(64) NOT NULL,\n\t\tWATERMARK TIMESTAMP DEFAULT NULL,\n\t\tENABLE TINYINT(2) NOT NULL,\n\t\tTIMER_EXT JSON NOT NULL,\n\t\tEVENT_STATUS VARCHAR(32) NOT NULL,\n\t\tEVENT_ID VARCHAR(64) NOT NULL,\n\t\tEVENT_DATA BLOB,\n\t\tEVENT_START TIMESTAMP DEFAULT NULL,\n\t\tSUMMARY_DATA BLOB,\n\t\tCREATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\tUPDATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tVERSION BIGINT(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (ID),\n\t\tUNIQUE KEY timer_key(NAMESPACE, TIMER_KEY),\n\t\tKEY hook_class(HOOK_CLASS)\n\t)"] [2025/04/04 12:45:32.924 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:32.931 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=93] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:32.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.961 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=45] [neededSchemaVersion=46] ["elapsed time"=3.923632ms] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:32.965 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:32.965 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46] [2025/04/04 12:45:32.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=46] ["take time"=10.686546ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.980 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=93] [job="ID:93, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:32.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.999 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=93] [2025/04/04 12:45:32.999 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=46] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS `mysql`.`tidb_timers` (\n\t\tID BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tNAMESPACE VARCHAR(256) NOT NULL,\n\t\tTIMER_KEY VARCHAR(256) NOT NULL,\n\t\tTIMER_DATA BLOB,\n\t\tTIMEZONE VARCHAR(64) NOT NULL,\n\t\tSCHED_POLICY_TYPE VARCHAR(32) NOT NULL,\n\t\tSCHED_POLICY_EXPR VARCHAR(256) NOT NULL,\n\t\tHOOK_CLASS VARCHAR(64) NOT NULL,\n\t\tWATERMARK TIMESTAMP DEFAULT NULL,\n\t\tENABLE TINYINT(2) NOT NULL,\n\t\tTIMER_EXT JSON NOT NULL,\n\t\tEVENT_STATUS VARCHAR(32) NOT NULL,\n\t\tEVENT_ID VARCHAR(64) NOT NULL,\n\t\tEVENT_DATA BLOB,\n\t\tEVENT_START TIMESTAMP DEFAULT NULL,\n\t\tSUMMARY_DATA BLOB,\n\t\tCREATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\tUPDATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tVERSION BIGINT(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (ID),\n\t\tUNIQUE KEY timer_key(NAMESPACE, TIMER_KEY),\n\t\tKEY hook_class(HOOK_CLASS)\n\t)"] [user=] [2025/04/04 12:45:33.014 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.999 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:33.014 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.999 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch_done (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\trecord_id BIGINT(20) not null,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2025/04/04 12:45:33.020 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=95] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:32.999 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.044 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=46] [neededSchemaVersion=47] ["elapsed time"=2.832334ms] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:33.047 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:33.047 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47] [2025/04/04 12:45:33.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=47] ["take time"=9.494352ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.999 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.060 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=95] [job="ID:95, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:32.999 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.076 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=95] [2025/04/04 12:45:33.076 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=47] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch_done (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\trecord_id BIGINT(20) not null,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2025/04/04 12:45:33.089 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:33.089 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.dist_framework_meta (\n host VARCHAR(261) NOT NULL PRIMARY KEY,\n role VARCHAR(64),\n cpu_count int default 0,\n keyspace_id bigint(8) NOT NULL DEFAULT -1\n );"] [2025/04/04 12:45:33.095 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=97] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.113 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=47] [neededSchemaVersion=48] ["elapsed time"=2.04296ms] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:33.116 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:33.117 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48] [2025/04/04 12:45:33.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=48] ["take time"=8.934018ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.129 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=97] [job="ID:97, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.141 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=97] [2025/04/04 12:45:33.141 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=48] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.dist_framework_meta (\n host VARCHAR(261) NOT NULL PRIMARY KEY,\n role VARCHAR(64),\n cpu_count int default 0,\n keyspace_id bigint(8) NOT NULL DEFAULT -1\n );"] [user=] [2025/04/04 12:45:33.155 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:33.155 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.request_unit_by_group (\n\t\tstart_time TIMESTAMP(6) NOT NULL,\n\t\tend_time TIMESTAMP(6) NOT NULL,\n\t\tresource_group VARCHAR(32) NOT null,\n\t\ttotal_ru bigint(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (start_time, end_time, resource_group),\n\t\tKEY (resource_group)\n\t);"] [2025/04/04 12:45:33.161 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=99] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.180 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=48] [neededSchemaVersion=49] ["elapsed time"=2.091929ms] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:33.183 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:33.183 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49] [2025/04/04 12:45:33.185 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=49] ["take time"=8.649728ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.195 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=99] [job="ID:99, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.207 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=99] [2025/04/04 12:45:33.208 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=49] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.request_unit_by_group (\n\t\tstart_time TIMESTAMP(6) NOT NULL,\n\t\tend_time TIMESTAMP(6) NOT NULL,\n\t\tresource_group VARCHAR(32) NOT null,\n\t\ttotal_ru bigint(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (start_time, end_time, resource_group),\n\t\tKEY (resource_group)\n\t);"] [user=] [2025/04/04 12:45:33.209 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(524288) to MEDIUMBLOB"] [category=ddl] [2025/04/04 12:45:33.222 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:33.222 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_pitr_id_map (\n\t\trestored_ts BIGINT NOT NULL,\n\t\tupstream_cluster_id BIGINT NOT NULL,\n\t\tsegment_id BIGINT NOT NULL,\n\t\tid_map BLOB(524288) NOT NULL,\n\t\tupdate_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (restored_ts, upstream_cluster_id, segment_id));"] [2025/04/04 12:45:33.227 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=101] [job="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.247 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=49] [neededSchemaVersion=50] ["elapsed time"=2.265119ms] [gotSchemaVersion=50] [phyTblIDs="[100]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:33.250 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:33.250 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50] [2025/04/04 12:45:33.252 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=50] ["take time"=9.240094ms] [job="ID:101, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:100, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.263 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=101] [job="ID:101, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:100, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.276 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=101] [2025/04/04 12:45:33.276 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=50] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_pitr_id_map (\n\t\trestored_ts BIGINT NOT NULL,\n\t\tupstream_cluster_id BIGINT NOT NULL,\n\t\tsegment_id BIGINT NOT NULL,\n\t\tid_map BLOB(524288) NOT NULL,\n\t\tupdate_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (restored_ts, upstream_cluster_id, segment_id));"] [user=] [2025/04/04 12:45:33.288 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:103, Type:create schema, State:queueing, SchemaState:none, SchemaID:102, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.248 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE IF NOT EXISTS sys;"] [2025/04/04 12:45:33.288 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:103, Type:create schema, State:queueing, SchemaState:none, SchemaID:102, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.248 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:33.293 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=103] [job="ID:103, Type:create schema, State:queueing, SchemaState:none, SchemaID:102, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.248 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.305 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=50] [neededSchemaVersion=51] ["elapsed time"=629.713µs] [gotSchemaVersion=51] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 12:45:33.309 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:33.309 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51] [2025/04/04 12:45:33.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=51] ["take time"=7.262928ms] [job="ID:103, Type:create schema, State:done, SchemaState:public, SchemaID:102, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.248 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.320 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=103] [job="ID:103, Type:create schema, State:synced, SchemaState:public, SchemaID:102, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.248 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.329 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=103] [2025/04/04 12:45:33.329 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=51] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS sys;"] [user=] [2025/04/04 12:45:33.343 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:105, Type:create view, State:queueing, SchemaState:none, SchemaID:102, TableID:104, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.298 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:33.343 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:105, Type:create view, State:queueing, SchemaState:none, SchemaID:102, TableID:104, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.298 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE OR REPLACE VIEW sys.schema_unused_indexes AS\n\t\tSELECT\n\t\t\ttable_schema as object_schema,\n\t\t\ttable_name as object_name,\n\t\t\tindex_name\n\t\tFROM information_schema.cluster_tidb_index_usage\n\t\tWHERE\n\t\t\ttable_schema not in ('sys', 'mysql', 'INFORMATION_SCHEMA', 'PERFORMANCE_SCHEMA') and\n\t\t\tindex_name != 'PRIMARY'\n\t\tGROUP BY table_schema, table_name, index_name\n\t\tHAVING\n\t\t\tsum(last_access_time) is null;"] [2025/04/04 12:45:33.348 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=105] [job="ID:105, Type:create view, State:queueing, SchemaState:none, SchemaID:102, TableID:104, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.298 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.366 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=51] [neededSchemaVersion=52] ["elapsed time"=1.839999ms] [gotSchemaVersion=52] [phyTblIDs="[104]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2025/04/04 12:45:33.370 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:33.370 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=105] [version=52] [2025/04/04 12:45:33.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=52] ["take time"=8.423664ms] [job="ID:105, Type:create view, State:done, SchemaState:public, SchemaID:102, TableID:104, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.298 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.382 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=105] [job="ID:105, Type:create view, State:synced, SchemaState:public, SchemaID:102, TableID:104, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.298 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.394 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=105] [2025/04/04 12:45:33.409 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:106, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.399 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:33.409 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:106, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.399 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.index_advisor_results (\n id bigint primary key not null auto_increment,\n created_at datetime not null,\n updated_at datetime not null,\n\n schema_name varchar(64) not null,\n table_name varchar(64) not null,\n index_name varchar(127) not null,\n index_columns varchar(500) not null COMMENT 'split by \",\", e.g. \"c1\", \"c1,c2\", \"c1,c2,c3,c4,c5\"',\n\n index_details json, -- est_index_size, reason, DDL to create this index, ...\n top_impacted_queries json, -- improvement, plan before and after this index, ...\n workload_impact json, -- improvement and more details, ...\n extra json, -- for the cloud env to save more info like RU, cost_saving, ...\n index idx_create(created_at),\n index idx_update(updated_at),\n unique index idx(schema_name, table_name, index_columns));"] [2025/04/04 12:45:33.416 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=107] [job="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:106, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.399 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.417 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/04 12:45:33.417 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 12:45:33.417 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 12:45:33.417 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:45:33.442 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=52] [neededSchemaVersion=53] ["elapsed time"=3.188085ms] [gotSchemaVersion=53] [phyTblIDs="[106]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:33.445 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:33.445 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=107] [version=53] [2025/04/04 12:45:33.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=53] ["take time"=9.954532ms] [job="ID:107, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:106, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.399 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.459 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=107] [job="ID:107, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:106, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.399 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.474 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=107] [2025/04/04 12:45:33.475 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=53] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.index_advisor_results (\n id bigint primary key not null auto_increment,\n created_at datetime not null,\n updated_at datetime not null,\n\n schema_name varchar(64) not null,\n table_name varchar(64) not null,\n index_name varchar(127) not null,\n index_columns varchar(500) not null COMMENT 'split by \",\", e.g. \"c1\", \"c1,c2\", \"c1,c2,c3,c4,c5\"',\n\n index_details json, -- est_index_size, reason, DDL to create this index, ...\n top_impacted_queries json, -- improvement, plan before and after this index, ...\n workload_impact json, -- improvement and more details, ...\n extra json, -- for the cloud env to save more info like RU, cost_saving, ...\n index idx_create(created_at),\n index idx_update(updated_at),\n unique index idx(schema_name, table_name, index_columns));"] [user=] [2025/04/04 12:45:33.488 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:108, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:33.488 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:108, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_kernel_options (\n module varchar(128),\n name varchar(128),\n value varchar(128),\n updated_at datetime,\n status varchar(128),\n description text,\n primary key(module, name));"] [2025/04/04 12:45:33.494 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=109] [job="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:108, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.514 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=53] [neededSchemaVersion=54] ["elapsed time"=2.242442ms] [gotSchemaVersion=54] [phyTblIDs="[108]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:33.517 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:33.517 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=109] [version=54] [2025/04/04 12:45:33.519 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=54] ["take time"=9.17316ms] [job="ID:109, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:108, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.529 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=109] [job="ID:109, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:108, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.542 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=109] [2025/04/04 12:45:33.543 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=54] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_kernel_options (\n module varchar(128),\n name varchar(128),\n value varchar(128),\n updated_at datetime,\n status varchar(128),\n description text,\n primary key(module, name));"] [user=] [2025/04/04 12:45:33.556 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:111, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:110, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:33.556 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:111, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:110, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_workload_values (\n\t\tid bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tversion bigint(20) NOT NULL,\n\t\tcategory varchar(64) NOT NULL,\n\t\ttype varchar(64) NOT NULL,\n\t\ttable_id bigint(20) NOT NULL,\n\t\tvalue json NOT NULL,\n\t\tindex idx_version_category_type (version, category, type),\n\t\tindex idx_table_id (table_id));"] [2025/04/04 12:45:33.562 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=111] [job="ID:111, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:110, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.583 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=54] [neededSchemaVersion=55] ["elapsed time"=2.317643ms] [gotSchemaVersion=55] [phyTblIDs="[110]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:33.586 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:33.586 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=111] [version=55] [2025/04/04 12:45:33.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=55] ["take time"=8.614673ms] [job="ID:111, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:110, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.599 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=111] [job="ID:111, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:110, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.612 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=111] [2025/04/04 12:45:33.612 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=55] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_workload_values (\n\t\tid bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tversion bigint(20) NOT NULL,\n\t\tcategory varchar(64) NOT NULL,\n\t\ttype varchar(64) NOT NULL,\n\t\ttable_id bigint(20) NOT NULL,\n\t\tvalue json NOT NULL,\n\t\tindex idx_version_category_type (version, category, type),\n\t\tindex idx_table_id (table_id));"] [user=] [2025/04/04 12:45:33.759 +00:00] [INFO] [bootstrap.go:823] ["bootstrap successful"] ["take time"=4.34650223s] [2025/04/04 12:45:33.761 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 12:45:33.762 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 12:45:33.762 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=6a6aa2cc-5d4c-42e3-b6bb-78803defca9b] [] [2025/04/04 12:45:33.762 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=6a6aa2cc-5d4c-42e3-b6bb-78803defca9b] [2025/04/04 12:45:33.762 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:45:33.762 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:45:33.762 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 6, tp general"] ["take time"=55.075µs] [2025/04/04 12:45:33.762 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 7, tp general"] ["take time"=44.45µs] [2025/04/04 12:45:33.762 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 8, tp general"] ["take time"=38.312µs] [2025/04/04 12:45:33.762 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 9, tp general"] ["take time"=46.66µs] [2025/04/04 12:45:33.762 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 10, tp general"] ["take time"=47.972µs] [2025/04/04 12:45:33.763 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 1, tp general"] ["take time"=39.68µs] [2025/04/04 12:45:33.763 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 2, tp general"] ["take time"=47.448µs] [2025/04/04 12:45:33.763 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 3, tp general"] ["take time"=39.366µs] [2025/04/04 12:45:33.763 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 4, tp general"] ["take time"=38.577µs] [2025/04/04 12:45:33.763 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 5, tp general"] ["take time"=48.456µs] [2025/04/04 12:45:33.763 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=6a6aa2cc-5d4c-42e3-b6bb-78803defca9b] [2025/04/04 12:45:33.763 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=6a6aa2cc-5d4c-42e3-b6bb-78803defca9b] [2025/04/04 12:45:33.764 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 12:45:33.764 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 12:45:33.773 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=6a6aa2cc-5d4c-42e3-b6bb-78803defca9b] ["take time"=11.781571ms] [2025/04/04 12:45:33.773 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=6a6aa2cc-5d4c-42e3-b6bb-78803defca9b] [2025/04/04 12:45:33.774 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1886] [2025/04/04 12:45:33.774 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=9730f4b4-1ec8-427f-b1ab-68c2ff1733e8] [] [2025/04/04 12:45:33.774 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 12:45:33.774 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 12:45:33.774 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 12:45:33.774 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=9730f4b4-1ec8-427f-b1ab-68c2ff1733e8] [2025/04/04 12:45:33.774 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:45:33.774 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:45:33.774 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 12:45:33.774 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:45:33.774 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=9730f4b4-1ec8-427f-b1ab-68c2ff1733e8] [2025/04/04 12:45:33.774 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 12:45:33.774 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 12:45:33.775 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=9730f4b4-1ec8-427f-b1ab-68c2ff1733e8] [2025/04/04 12:45:33.775 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:45:33.775 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:45:33.774 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 12:45:33.776 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=9730f4b4-1ec8-427f-b1ab-68c2ff1733e8] [daemon-id=LogBackup::Advancer] [2025/04/04 12:45:33.776 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 12:45:33.776 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 12:45:33.776 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:45:33.776 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:45:33.776 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 12:45:33.776 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:45:33.776 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 12:45:33.780 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=18.370422ms] [2025/04/04 12:45:33.780 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489437826531169072] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 12:45:33.790 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 12:45:33.826 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=385] ["lease id"=22319600d430c1bd] [2025/04/04 12:45:33.828 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/04 12:45:33.948 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=55] ["elapsed time"=117.577637ms] [2025/04/04 12:45:33.948 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 12:45:33.957 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=6a6aa2cc-5d4c-42e3-b6bb-78803defca9b] [runWorker=true] [jobVersion=v2] [2025/04/04 12:45:33.957 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 12:45:33.959 +00:00] [INFO] [manager.go:294] ["start campaign owner with existing session"] [key=/tidb/ddl/fg/owner] [id=6a6aa2cc-5d4c-42e3-b6bb-78803defca9b] [lease=22319600d430c14b] [2025/04/04 12:45:33.959 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 12:45:33.959 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 320860487680/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 12:45:33.959 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:45:33.959 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:45:33.959 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:45:33.959 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:45:33.959 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:45:33.960 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:45:33.960 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:45:33.960 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:45:33.960 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 12:45:33.960 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:45:33.960 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:45:33.960 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 12:45:33.960 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=9e249c58-5aee-442f-b7d7-a2cef6cca033] [2025/04/04 12:45:33.961 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319600d430c14b] [ownerID=6a6aa2cc-5d4c-42e3-b6bb-78803defca9b] [op=none] [2025/04/04 12:45:33.962 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=6a6aa2cc-5d4c-42e3-b6bb-78803defca9b] [2025/04/04 12:45:33.962 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=6a6aa2cc-5d4c-42e3-b6bb-78803defca9b] [ownerKey=/tidb/ddl/fg/owner/22319600d430c14b] [currRev=272] [2025/04/04 12:45:33.962 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:45:33.962 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=9e249c58-5aee-442f-b7d7-a2cef6cca033] [daemon-id=LogBackup::Advancer] [2025/04/04 12:45:33.963 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 12:45:33.963 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f189600d430c156] [ownerID=9e249c58-5aee-442f-b7d7-a2cef6cca033] [op=none] [2025/04/04 12:45:33.963 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=9e249c58-5aee-442f-b7d7-a2cef6cca033] [2025/04/04 12:45:33.963 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=9e249c58-5aee-442f-b7d7-a2cef6cca033] [ownerKey=/tidb/br-stream/owner/6f189600d430c156] [currRev=273] [2025/04/04 12:45:33.964 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319600d430c14b] [ownerID=6a6aa2cc-5d4c-42e3-b6bb-78803defca9b] [op=none] [2025/04/04 12:45:33.964 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=6a6aa2cc-5d4c-42e3-b6bb-78803defca9b] [op=none] [2025/04/04 12:45:33.964 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 12:45:33.970 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=6a6aa2cc-5d4c-42e3-b6bb-78803defca9b] [2025/04/04 12:45:33.971 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:45:33.971 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 12:45:33.973 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/bindinfo/owner] ["owner key"=/tidb/bindinfo/owner/22319600d430c1c5] [ownerID=6a6aa2cc-5d4c-42e3-b6bb-78803defca9b] [op=none] [2025/04/04 12:45:33.973 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/bindinfo/owner] [id=6a6aa2cc-5d4c-42e3-b6bb-78803defca9b] [2025/04/04 12:45:33.973 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/bindinfo/owner] [id=6a6aa2cc-5d4c-42e3-b6bb-78803defca9b] [ownerKey=/tidb/bindinfo/owner/22319600d430c1c5] [currRev=274] [2025/04/04 12:45:33.979 +00:00] [INFO] [sysvar.go:3019] ["set resource control"] [enable=true] [2025/04/04 12:45:33.982 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 12:45:33.983 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:45:33.990 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:45:33.997 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:45:33.997 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:45:33.997 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:45:33.997 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 12:45:33.997 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:45:33.997 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 12:45:33.997 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 12:45:33.997 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 12:45:33.997 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 12:45:33.998 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:45:33.998 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=6a6aa2cc-5d4c-42e3-b6bb-78803defca9b] [2025/04/04 12:45:33.999 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:45:33.999 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:45:33.999 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:45:33.999 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:45:33.999 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:45:33.999 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 12:45:33.999 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:45:33.999 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 12:45:33.999 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:45:33.999 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:45:33.999 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=10] [2025/04/04 12:45:33.999 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:45:33.999 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:45:33.999 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:45:34.000 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:45:34.001 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/6f189600d430c15b] [ownerID=6a6aa2cc-5d4c-42e3-b6bb-78803defca9b] [op=none] [2025/04/04 12:45:34.001 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=6a6aa2cc-5d4c-42e3-b6bb-78803defca9b] [2025/04/04 12:45:34.001 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=6a6aa2cc-5d4c-42e3-b6bb-78803defca9b] [ownerKey=/tidb/stats/owner/6f189600d430c15b] [currRev=275] [2025/04/04 12:45:34.001 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=52] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/04 12:45:34.004 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/71038084-3720-4bec-93de-b974f02eee37] [2025/04/04 12:45:34.004 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=6a6aa2cc-5d4c-42e3-b6bb-78803defca9b] [ttl-worker=task-manager] [ttl-worker=6a6aa2cc-5d4c-42e3-b6bb-78803defca9b] [originalCount=0] [newCount=4] [2025/04/04 12:45:34.004 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=6a6aa2cc-5d4c-42e3-b6bb-78803defca9b] [ttl-worker=task-manager] [ttl-worker=6a6aa2cc-5d4c-42e3-b6bb-78803defca9b] [originalCount=0] [newCount=4] [2025/04/04 12:45:34.004 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=6a6aa2cc-5d4c-42e3-b6bb-78803defca9b] [2025/04/04 12:45:34.007 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 12:45:34.012 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:45:34.012 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 12:45:34.013 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743770734013197435 [2025/04/04 12:45:34.015 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 12:45:34.023 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=24.760356ms] [2025/04/04 12:45:34.023 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:45:34.023 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 12:45:34.026 +00:00] [INFO] [set.go:172] ["set global var"] [conn=1] [name=innodb_lock_wait_timeout] [val=50] testkit.go:123: RefreshSession rand seed: 1743770734028235066 === RUN TestImportInto/TestGzipAndMixedCompression [2025/04/04 12:45:34.032 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=55] [cur_db=] [sql="drop database if exists gzip"] [user=] [2025/04/04 12:45:34.044 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:113, Type:create schema, State:queueing, SchemaState:none, SchemaID:112, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database gzip"] [2025/04/04 12:45:34.044 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:113, Type:create schema, State:queueing, SchemaState:none, SchemaID:112, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:34.050 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=113] [conn=2] [job="ID:113, Type:create schema, State:queueing, SchemaState:none, SchemaID:112, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.064 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=55] [neededSchemaVersion=56] ["elapsed time"=613.47µs] [gotSchemaVersion=56] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 12:45:34.068 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=113] [version=56] [2025/04/04 12:45:34.069 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=56] ["take time"=7.805106ms] [job="ID:113, Type:create schema, State:done, SchemaState:public, SchemaID:112, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.080 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=113] [conn=2] [job="ID:113, Type:create schema, State:synced, SchemaState:public, SchemaID:112, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.094 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=113] [2025/04/04 12:45:34.094 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=56] [cur_db=] [sql="create database gzip"] [user=] [2025/04/04 12:45:34.107 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:115, Type:create table, State:queueing, SchemaState:none, SchemaID:112, TableID:114, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.099 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:34.107 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:115, Type:create table, State:queueing, SchemaState:none, SchemaID:112, TableID:114, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.099 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE gzip.t (i INT PRIMARY KEY, s varchar(32));"] [2025/04/04 12:45:34.112 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=115] [conn=2] [job="ID:115, Type:create table, State:queueing, SchemaState:none, SchemaID:112, TableID:114, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.099 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.117 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 114, Table Name: t)"] [2025/04/04 12:45:34.133 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=56] [neededSchemaVersion=57] ["elapsed time"=1.607446ms] [gotSchemaVersion=57] [phyTblIDs="[114]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:34.137 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=115] [version=57] [2025/04/04 12:45:34.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=57] ["take time"=8.464398ms] [job="ID:115, Type:create table, State:done, SchemaState:public, SchemaID:112, TableID:114, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.099 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.150 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=115] [conn=2] [job="ID:115, Type:create table, State:synced, SchemaState:public, SchemaID:112, TableID:114, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.099 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.161 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=115] [2025/04/04 12:45:34.162 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=57] [cur_db=gzip] [sql="CREATE TABLE gzip.t (i INT PRIMARY KEY, s varchar(32));"] [user=] [2025/04/04 12:45:34.365 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:34.424 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://gzip/compress.*?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/04 12:45:34.451 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=1] [task-id=1] [data-size=111B] [thread-cnt=1] [global-sort=false] [2025/04/04 12:45:34.972 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/04 12:45:34.972 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 12:45:34.972 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 12:45:34.972 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:45:35.004 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/04 12:45:35.004 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/04 12:45:35.004 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/71038084-3720-4bec-93de-b974f02eee37] [watcherID=a98e2c45-ad93-4459-a03e-d44f0399ea67] [2025/04/04 12:45:35.013 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/04 12:45:35.017 +00:00] [INFO] [slots.go:207] ["update slot capacity"] [old=16] [new=52] [2025/04/04 12:45:35.017 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/04 12:45:35.017 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/04 12:45:35.017 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/04 12:45:35.017 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/04 12:45:35.033 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=1] [2025/04/04 12:45:35.033 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/04 12:45:35.135 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 12:45:35.136 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:45:35.137 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=1] [curr-step=init] [next-step=import] [2025/04/04 12:45:35.145 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:35.158 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 12:45:35.158 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=111] [2025/04/04 12:45:35.158 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=111] [cost=97.773µs] [2025/04/04 12:45:35.158 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=238.159µs] [] [2025/04/04 12:45:35.159 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=1] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 12:45:35.159 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/04 12:45:35.196 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=1] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 12:45:35.216 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=1] [step=import] [2025/04/04 12:45:35.216 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:35.217 +00:00] [INFO] [table_import.go:119] ["import dir not exists, create it"] [table=t] [import_dir=/tmp/tidb/import-4000] [2025/04/04 12:45:35.224 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:45:35.224 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437826531169072] [2025/04/04 12:45:35.225 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:45:35.225 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:45:35.225 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:45:35.225 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:45:35.225 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:45:35.225 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:45:35.226 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:45:35.226 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:45:35.240 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:45:35.242 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 12:45:35.242 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=1] [mode=Import] [2025/04/04 12:45:35.242 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 12:45:35.242 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=1] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 12:45:35.242 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=1] [disk-quota=348.5GiB] [2025/04/04 12:45:35.242 +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/04 12:45:35.252 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [subtaskID=1] [step=import] [2025/04/04 12:45:35.252 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=1] [step=import] [subtask-id=1] [2025/04/04 12:45:35.262 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=1] [2025/04/04 12:45:35.278 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`gzip`.`t`:0] [engineUUID=a44d817b-cb07-5b2e-a759-37c0e04df925] [2025/04/04 12:45:35.282 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`gzip`.`t`:-1] [engineUUID=f882bfdb-7ec8-58cc-95d6-d70a2c99a1d9] [2025/04/04 12:45:35.282 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=114] [2025/04/04 12:45:35.286 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=114] [key=compress.001.csv.gz:0] [2025/04/04 12:45:35.286 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=114] [key=compress.001.csv.gz:0] [readDur=84.671µs] [encodeDur=138.092µs] [checksum="{cksum=14262047008891545520,size=66,kvs=2}"] [deliverDur=18.123µs] [type=file] [takeTime=571.558µs] [] [2025/04/04 12:45:35.287 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=114] [2025/04/04 12:45:35.287 +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/47631d02-f0eb-40b5-8a57-c667ecfbc048.sst] [firstKey=7480000000000000725F728000000000000001] [lastKey=7480000000000000725F728000000000000002] [2025/04/04 12:45:35.302 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=114] [key=compress.001.csv.gzip:0] [2025/04/04 12:45:35.303 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=114] [key=compress.001.csv.gzip:0] [readDur=89.764µs] [encodeDur=216.77µs] [checksum="{cksum=6510788178300023669,size=66,kvs=2}"] [deliverDur=34.819µs] [type=file] [takeTime=621.425µs] [] [2025/04/04 12:45:35.304 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=114] [2025/04/04 12:45:35.304 +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/8a6a08d1-9cbc-4abc-83f8-524af238a4c8.sst] [firstKey=7480000000000000725F728000000000000003] [lastKey=7480000000000000725F728000000000000004] [2025/04/04 12:45:35.391 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=114] [key=compress.002.csv:0] [2025/04/04 12:45:35.393 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=114] [key=compress.002.csv:0] [readDur=883.203µs] [encodeDur=222.268µs] [checksum="{cksum=17289666951678080828,size=165,kvs=5}"] [deliverDur=33.417µs] [type=file] [takeTime=1.339797ms] [] [2025/04/04 12:45:35.393 +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/3bf87209-9fbe-48bc-be5e-f4fb9582b1fa.sst] [firstKey=7480000000000000725F728000000000000005] [lastKey=7480000000000000725F728000000000000009] [2025/04/04 12:45:35.394 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=1] [step=import] [engine-id=0] [2025/04/04 12:45:35.394 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=1] [step=import] [engine-id=0] [2025/04/04 12:45:35.394 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`gzip`.`t`:0] [engineUUID=a44d817b-cb07-5b2e-a759-37c0e04df925] [2025/04/04 12:45:35.396 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`gzip`.`t`:0] [engineUUID=a44d817b-cb07-5b2e-a759-37c0e04df925] [takeTime=2.010391ms] [] [2025/04/04 12:45:35.396 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`gzip`.`t`:0] [engineUUID=a44d817b-cb07-5b2e-a759-37c0e04df925] [retryCnt=0] [2025/04/04 12:45:35.400 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:45:35.422 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=a44d817b-cb07-5b2e-a759-37c0e04df925] ["region ranges"=1] [count=9] [size=297] [2025/04/04 12:45:35.422 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:45:35.425 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000725f728000000000000001] [endOfAllRanges=7480000000000000725f72800000000000000a] [startKeyOfFirstRegion=7480000000000000ff725f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff725f728000000000ff00000a0000000000fa] [2025/04/04 12:45:35.437 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=a44d817b-cb07-5b2e-a759-37c0e04df925] [size=297] [kvs=9] [importedSize=297] [importedCount=9] [2025/04/04 12:45:35.439 +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.104529ms] [] [2025/04/04 12:45:35.439 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`gzip`.`t`:0] [engineUUID=a44d817b-cb07-5b2e-a759-37c0e04df925] [2025/04/04 12:45:35.440 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`gzip`.`t`:0] [engineUUID=a44d817b-cb07-5b2e-a759-37c0e04df925] [takeTime=1.196846ms] [] [2025/04/04 12:45:35.440 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=1] [step=import] [engine-id=0] [2025/04/04 12:45:35.440 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`gzip`.`t`:-1] [engineUUID=f882bfdb-7ec8-58cc-95d6-d70a2c99a1d9] [2025/04/04 12:45:35.442 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`gzip`.`t`:-1] [engineUUID=f882bfdb-7ec8-58cc-95d6-d70a2c99a1d9] [takeTime=1.416483ms] [] [2025/04/04 12:45:35.442 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`gzip`.`t`:-1] [engineUUID=f882bfdb-7ec8-58cc-95d6-d70a2c99a1d9] [retryCnt=0] [2025/04/04 12:45:35.445 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=f882bfdb-7ec8-58cc-95d6-d70a2c99a1d9] [2025/04/04 12:45:35.446 +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.643515ms] [] [2025/04/04 12:45:35.446 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`gzip`.`t`:-1] [engineUUID=f882bfdb-7ec8-58cc-95d6-d70a2c99a1d9] [2025/04/04 12:45:35.447 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`gzip`.`t`:-1] [engineUUID=f882bfdb-7ec8-58cc-95d6-d70a2c99a1d9] [takeTime=956.306µs] [] [2025/04/04 12:45:35.447 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=1] [step=import] [subtask-id=1] [takeTime=195.032861ms] [] [2025/04/04 12:45:35.447 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [subtaskID=1] [step=import] [takeTime=195.240236ms] [] [2025/04/04 12:45:35.540 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 12:45:35.541 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:45:35.542 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=1] [curr-step=import] [next-step=post-process] [2025/04/04 12:45:35.542 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=1] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 12:45:35.571 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=1] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":9}"] [2025/04/04 12:45:35.572 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=1] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 12:45:35.572 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/04 12:45:35.594 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [2025/04/04 12:45:35.594 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=1] [step=import] [2025/04/04 12:45:35.596 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:45:35.596 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:45:35.596 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:45:35.596 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:45:35.596 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:45:35.596 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:45:35.596 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:45:35.596 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:35.596 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-2] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:45:35.596 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:35.596 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:35.596 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:45:35.598 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:45:35.598 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:35.598 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:35.598 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:35.598 +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.155579ms] [] [2025/04/04 12:45:35.598 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=1] [type=ImportInto] [2025/04/04 12:45:35.604 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=1] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 12:45:35.625 +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/04 12:45:35.632 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [subtaskID=2] [step=post-process] [2025/04/04 12:45:35.632 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [2025/04/04 12:45:35.632 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [2025/04/04 12:45:35.632 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [2025/04/04 12:45:35.632 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [takeTime=2.047µs] [] [2025/04/04 12:45:35.632 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [groupId=-1] [size=297] [kvs=9] [checksum=8090491426016633849] [2025/04/04 12:45:35.632 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [checksum="{cksum=8090491426016633849,size=297,kvs=9}"] [2025/04/04 12:45:35.632 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [weight=30] [2025/04/04 12:45:35.632 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [concurrency=15] [2025/04/04 12:45:35.634 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=114] [physicalTableID=114] [indexID=-1] [checksum=8090491426016633849] [totalKvs=9] [totalBytes=297] [2025/04/04 12:45:35.635 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 12:45:35.635 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [local="{cksum=8090491426016633849,size=297,kvs=9}"] [2025/04/04 12:45:35.635 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [takeTime=2.602044ms] [] [2025/04/04 12:45:35.635 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [takeTime=2.725644ms] [] [2025/04/04 12:45:35.635 +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.846005ms] [] [2025/04/04 12:45:35.635 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 12:45:35.740 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 12:45:35.740 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=1] [step=post-process] [state=running] [] [2025/04/04 12:45:35.742 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=1] [2025/04/04 12:45:35.768 +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=143.507255ms] [] [2025/04/04 12:45:35.768 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=1] [type=ImportInto] [2025/04/04 12:45:35.835 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=1] [2025/04/04 12:45:35.841 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 12:45:35.841 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=1] [2025/04/04 12:45:35.871 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 12:45:35.959 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/04 12:45:35.968 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 1.801417603\n# Parse_time: 0.000190856\n# Compile_time: 0.000499363\n# Rewrite_time: 0.000110132\n# Optimize_time: 0.000073844\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('R/BGMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjEuOHMsIG9wZW46NzQzbnMsIGNsb3NlOjEuMjTCtXMsIGxvb3BzOjIJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('YvBPCl4KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi10aW1lOjEuOHMsIG9wZW46NzQzbnMsIGNsb3NlOjEuMjTCtXMsIGxvb3BzOjJw//////8BAzQBeP///////////wEYAQ==')\n# Resource_group: default\nuse gzip;\nIMPORT INTO `gzip`.`t` FROM 'gs://gzip/compress.*?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1;"] [2025/04/04 12:45:35.983 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:117, Type:truncate table, State:queueing, SchemaState:none, SchemaID:112, TableID:114, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:35.983 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:117, Type:truncate table, State:queueing, SchemaState:none, SchemaID:112, TableID:114, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table gzip.t"] [2025/04/04 12:45:35.988 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=117] [conn=2] [job="ID:117, Type:truncate table, State:queueing, SchemaState:none, SchemaID:112, TableID:114, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:35.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.995 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 116, Table Name: t, Old Table ID: 114, Old Table Name: t)"] [2025/04/04 12:45:36.010 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=57] [neededSchemaVersion=58] ["elapsed time"=1.711896ms] [gotSchemaVersion=58] [phyTblIDs="[114,116]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 12:45:36.013 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=117] [version=58] [2025/04/04 12:45:36.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=58] ["take time"=8.873179ms] [job="ID:117, Type:truncate table, State:done, SchemaState:public, SchemaID:112, TableID:114, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.026 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=117] [tableIDs="[114]"] [comment="truncate table: table ID"] [2025/04/04 12:45:36.034 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=117] [jobType="truncate table"] [2025/04/04 12:45:36.035 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=117] [conn=2] [job="ID:117, Type:truncate table, State:synced, SchemaState:public, SchemaID:112, TableID:114, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.054 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=117] [2025/04/04 12:45:36.055 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=58] [cur_db=gzip] [sql="truncate table gzip.t"] [user=] [2025/04/04 12:45:36.060 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:36.118 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://gzip/compress.*?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"skip_rows\":\"1\",\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/04 12:45:36.136 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=2] [task-id=2] [data-size=111B] [thread-cnt=1] [global-sort=false] [2025/04/04 12:45:36.150 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=2] [2025/04/04 12:45:36.150 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/04 12:45:36.253 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 12:45:36.254 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:45:36.255 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=2] [curr-step=init] [next-step=import] [2025/04/04 12:45:36.263 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:36.275 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 12:45:36.275 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=111] [2025/04/04 12:45:36.275 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=111] [cost=85.738µs] [2025/04/04 12:45:36.275 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=199.464µs] [] [2025/04/04 12:45:36.276 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=2] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 12:45:36.276 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/04 12:45:36.306 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=2] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 12:45:36.327 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=2] [step=import] [2025/04/04 12:45:36.327 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:36.335 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:45:36.335 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437826531169072] [2025/04/04 12:45:36.336 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:45:36.336 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:45:36.336 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:45:36.336 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:45:36.336 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:45:36.336 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:45:36.336 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:45:36.336 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:45:36.349 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:45:36.351 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 12:45:36.351 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 12:45:36.351 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=2] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 12:45:36.351 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=2] [disk-quota=348.5GiB] [2025/04/04 12:45:36.351 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/04 12:45:36.359 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=2] [mode=Import] [2025/04/04 12:45:36.359 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=3] [step=import] [2025/04/04 12:45:36.360 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=2] [step=import] [subtask-id=3] [2025/04/04 12:45:36.364 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`gzip`.`t`:0] [engineUUID=a44d817b-cb07-5b2e-a759-37c0e04df925] [2025/04/04 12:45:36.368 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`gzip`.`t`:-1] [engineUUID=f882bfdb-7ec8-58cc-95d6-d70a2c99a1d9] [2025/04/04 12:45:36.368 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=116] [2025/04/04 12:45:36.372 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=116] [key=compress.001.csv.gz:0] [2025/04/04 12:45:36.373 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=116] [key=compress.001.csv.gz:0] [readDur=53.265µs] [encodeDur=572.258µs] [checksum="{cksum=7821157384024914867,size=33,kvs=1}"] [deliverDur=100.18µs] [type=file] [takeTime=1.08092ms] [] [2025/04/04 12:45:36.374 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=116] [2025/04/04 12:45:36.374 +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/5592d9dd-9dc9-4915-89b6-b1c0f2fe4cb3.sst] [firstKey=7480000000000000745F728000000000000002] [lastKey=7480000000000000745F728000000000000002] [2025/04/04 12:45:36.378 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=116] [key=compress.001.csv.gzip:0] [2025/04/04 12:45:36.378 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=116] [key=compress.001.csv.gzip:0] [readDur=50.801µs] [encodeDur=180.884µs] [checksum="{cksum=8469875042060741206,size=33,kvs=1}"] [deliverDur=29.849µs] [type=file] [takeTime=479.456µs] [] [2025/04/04 12:45:36.379 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=2] [2025/04/04 12:45:36.379 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=116] [2025/04/04 12:45:36.379 +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/8b2da629-bec1-4f42-bd28-8684d75eefce.sst] [firstKey=7480000000000000745F728000000000000004] [lastKey=7480000000000000745F728000000000000004] [2025/04/04 12:45:36.382 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=116] [key=compress.002.csv:0] [2025/04/04 12:45:36.383 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=116] [key=compress.002.csv:0] [readDur=87.958µs] [encodeDur=162.205µs] [checksum="{cksum=0,size=132,kvs=4}"] [deliverDur=37.671µs] [type=file] [takeTime=491.521µs] [] [2025/04/04 12:45:36.384 +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/d6743587-4f5c-4f1a-b742-d5feccba89c0.sst] [firstKey=7480000000000000745F728000000000000006] [lastKey=7480000000000000745F728000000000000009] [2025/04/04 12:45:36.384 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=2] [step=import] [engine-id=0] [2025/04/04 12:45:36.384 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=2] [step=import] [engine-id=0] [2025/04/04 12:45:36.384 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`gzip`.`t`:0] [engineUUID=a44d817b-cb07-5b2e-a759-37c0e04df925] [2025/04/04 12:45:36.386 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`gzip`.`t`:0] [engineUUID=a44d817b-cb07-5b2e-a759-37c0e04df925] [takeTime=2.168573ms] [] [2025/04/04 12:45:36.386 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`gzip`.`t`:0] [engineUUID=a44d817b-cb07-5b2e-a759-37c0e04df925] [retryCnt=0] [2025/04/04 12:45:36.391 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:45:36.412 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=a44d817b-cb07-5b2e-a759-37c0e04df925] ["region ranges"=1] [count=6] [size=198] [2025/04/04 12:45:36.412 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:45:36.414 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000745f728000000000000002] [endOfAllRanges=7480000000000000745f72800000000000000a] [startKeyOfFirstRegion=7480000000000000ff745f728000000000ff0000020000000000fa] [endKeyOfLastRegion=7480000000000000ff745f728000000000ff00000a0000000000fa] [2025/04/04 12:45:36.427 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=a44d817b-cb07-5b2e-a759-37c0e04df925] [size=198] [kvs=6] [importedSize=198] [importedCount=6] [2025/04/04 12:45:36.429 +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.71911ms] [] [2025/04/04 12:45:36.429 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`gzip`.`t`:0] [engineUUID=a44d817b-cb07-5b2e-a759-37c0e04df925] [2025/04/04 12:45:36.430 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`gzip`.`t`:0] [engineUUID=a44d817b-cb07-5b2e-a759-37c0e04df925] [takeTime=1.224201ms] [] [2025/04/04 12:45:36.430 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=2] [step=import] [engine-id=0] [2025/04/04 12:45:36.430 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`gzip`.`t`:-1] [engineUUID=f882bfdb-7ec8-58cc-95d6-d70a2c99a1d9] [2025/04/04 12:45:36.432 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`gzip`.`t`:-1] [engineUUID=f882bfdb-7ec8-58cc-95d6-d70a2c99a1d9] [takeTime=1.812644ms] [] [2025/04/04 12:45:36.432 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`gzip`.`t`:-1] [engineUUID=f882bfdb-7ec8-58cc-95d6-d70a2c99a1d9] [retryCnt=0] [2025/04/04 12:45:36.436 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=f882bfdb-7ec8-58cc-95d6-d70a2c99a1d9] [2025/04/04 12:45:36.436 +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.761348ms] [] [2025/04/04 12:45:36.436 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`gzip`.`t`:-1] [engineUUID=f882bfdb-7ec8-58cc-95d6-d70a2c99a1d9] [2025/04/04 12:45:36.437 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`gzip`.`t`:-1] [engineUUID=f882bfdb-7ec8-58cc-95d6-d70a2c99a1d9] [takeTime=933.497µs] [] [2025/04/04 12:45:36.437 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=2] [step=import] [subtask-id=3] [takeTime=77.596949ms] [] [2025/04/04 12:45:36.437 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=3] [step=import] [takeTime=77.760951ms] [] [2025/04/04 12:45:36.458 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 12:45:36.459 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:45:36.460 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=2] [curr-step=import] [next-step=post-process] [2025/04/04 12:45:36.460 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=2] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 12:45:36.495 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=2] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":6}"] [2025/04/04 12:45:36.496 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=2] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 12:45:36.496 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/04 12:45:36.525 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 12:45:36.532 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=2] [step=import] [2025/04/04 12:45:36.535 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:45:36.535 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:45:36.535 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:45:36.535 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:45:36.535 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:45:36.535 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:45:36.535 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:45:36.535 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:36.535 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:36.535 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-3] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:45:36.535 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:36.535 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:45:36.537 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:45:36.537 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:36.537 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:36.537 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:36.537 +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=186.381688ms] [] [2025/04/04 12:45:36.539 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/04 12:45:36.546 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=4] [step=post-process] [2025/04/04 12:45:36.547 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [2025/04/04 12:45:36.547 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [2025/04/04 12:45:36.547 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [2025/04/04 12:45:36.547 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [takeTime=2.368µs] [] [2025/04/04 12:45:36.547 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [groupId=-1] [size=198] [kvs=6] [checksum=1801826099013898725] [2025/04/04 12:45:36.547 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [checksum="{cksum=1801826099013898725,size=198,kvs=6}"] [2025/04/04 12:45:36.547 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [weight=30] [2025/04/04 12:45:36.547 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [concurrency=15] [2025/04/04 12:45:36.549 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=116] [physicalTableID=116] [indexID=-1] [checksum=1801826099013898725] [totalKvs=6] [totalBytes=198] [2025/04/04 12:45:36.550 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 12:45:36.550 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [local="{cksum=1801826099013898725,size=198,kvs=6}"] [2025/04/04 12:45:36.550 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [takeTime=2.959409ms] [] [2025/04/04 12:45:36.550 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [takeTime=3.103356ms] [] [2025/04/04 12:45:36.550 +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=3.29859ms] [] [2025/04/04 12:45:36.556 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 12:45:36.658 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 12:45:36.658 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=2] [step=post-process] [state=running] [] [2025/04/04 12:45:36.661 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=2] [2025/04/04 12:45:36.693 +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=154.326447ms] [] [2025/04/04 12:45:36.693 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=2] [type=ImportInto] [2025/04/04 12:45:36.752 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=2] [2025/04/04 12:45:36.754 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.698411986\n# Parse_time: 0.0001226\n# Compile_time: 0.000461574\n# Rewrite_time: 0.000093488\n# Optimize_time: 0.000242148\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('SvBJMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY5Ny41bXMsIG9wZW46NzcwbnMsIGNsb3NlOjEuMDHCtXMsIGxvb3BzOjIJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('ZfBSCmEKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWjB0aW1lOjY5Ny41bXMsIG9wZW46NzcwbnMsIGNsb3NlOjEuMDHCtXMsIGxvb3BzOjJw//////8BAzQBeP///////////wEYAQ==')\n# Resource_group: default\nIMPORT INTO `gzip`.`t` FROM 'gs://gzip/compress.*?endpoint=http://127.0.0.1:4443/storage/v1/' WITH skip_rows=1, thread=1;"] --- PASS: TestImportInto/TestGzipAndMixedCompression (2.73s) === NAME TestImportInto === RUN TestImportInto/TestImportFromServer [2025/04/04 12:45:36.760 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=58] [cur_db=gzip] [sql="drop database if exists from_server"] [user=] [2025/04/04 12:45:36.760 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 12:45:36.760 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=2] [2025/04/04 12:45:36.772 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:119, Type:create schema, State:queueing, SchemaState:none, SchemaID:118, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:36.772 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:119, Type:create schema, State:queueing, SchemaState:none, SchemaID:118, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database from_server"] [2025/04/04 12:45:36.778 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=119] [conn=2] [job="ID:119, Type:create schema, State:queueing, SchemaState:none, SchemaID:118, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:36.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.781 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 12:45:36.791 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=58] [neededSchemaVersion=59] ["elapsed time"=662.419µs] [gotSchemaVersion=59] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 12:45:36.794 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=119] [version=59] [2025/04/04 12:45:36.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=59] ["take time"=7.563011ms] [job="ID:119, Type:create schema, State:done, SchemaState:public, SchemaID:118, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.806 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=119] [conn=2] [job="ID:119, Type:create schema, State:synced, SchemaState:public, SchemaID:118, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:36.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.816 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=119] [2025/04/04 12:45:36.817 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=59] [cur_db=gzip] [sql="create database from_server"] [user=] [2025/04/04 12:45:36.831 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:121, Type:create table, State:queueing, SchemaState:none, SchemaID:118, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:36.831 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:121, Type:create table, State:queueing, SchemaState:none, SchemaID:118, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100));"] [2025/04/04 12:45:36.837 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=121] [conn=2] [job="ID:121, Type:create table, State:queueing, SchemaState:none, SchemaID:118, TableID:120, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:36.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.842 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 120, Table Name: t)"] [2025/04/04 12:45:36.856 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=59] [neededSchemaVersion=60] ["elapsed time"=1.780449ms] [gotSchemaVersion=60] [phyTblIDs="[120]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:36.860 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=121] [version=60] [2025/04/04 12:45:36.862 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=60] ["take time"=9.064133ms] [job="ID:121, Type:create table, State:done, SchemaState:public, SchemaID:118, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.873 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=121] [conn=2] [job="ID:121, Type:create table, State:synced, SchemaState:public, SchemaID:118, TableID:120, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:36.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.884 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=121] [2025/04/04 12:45:36.884 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=60] [cur_db=from_server] [sql="create table t (a bigint, b varchar(100));"] [user=] [2025/04/04 12:45:36.937 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"/tmp/TestImportIntoTestImportFromServer2412777445/001/server-0.csv\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/04 12:45:36.937 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 12:45:36.937 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=18] [2025/04/04 12:45:36.938 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=18] [cost=53.561µs] [2025/04/04 12:45:36.938 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=153.161µs] [] [2025/04/04 12:45:36.958 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=3] [task-id=3] [data-size=18B] [thread-cnt=8] [global-sort=false] [2025/04/04 12:45:36.973 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=3] [2025/04/04 12:45:36.973 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/04 12:45:37.002 +00:00] [INFO] [read.go:801] ["Table statistics item not found, possibly due to table being dropped"] [category=stats] [sampled=] [tableID=24] [indexID=1] [2025/04/04 12:45:37.003 +00:00] [INFO] [read.go:686] ["Column information not found, possibly due to column being dropped"] [category=stats] [sampled=] [tableID=30] [columnID=8] [2025/04/04 12:45:37.075 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 12:45:37.077 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:45:37.078 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=3] [curr-step=init] [next-step=import] [2025/04/04 12:45:37.086 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=3] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 12:45:37.086 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/04 12:45:37.125 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=3] [type=ImportInto] [concurrency=8] [remaining-slots=44] [2025/04/04 12:45:37.147 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=3] [step=import] [2025/04/04 12:45:37.155 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:45:37.155 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437826531169072] [2025/04/04 12:45:37.155 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:45:37.155 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:45:37.155 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:45:37.155 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:45:37.155 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:45:37.155 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:45:37.156 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:45:37.156 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:45:37.169 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:45:37.170 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 12:45:37.170 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 12:45:37.171 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=3] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 12:45:37.171 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=3] [disk-quota=348.5GiB] [2025/04/04 12:45:37.171 +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/04 12:45:37.178 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [subtaskID=5] [step=import] [2025/04/04 12:45:37.178 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=3] [step=import] [subtask-id=5] [2025/04/04 12:45:37.182 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=3] [mode=Import] [2025/04/04 12:45:37.182 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_server`.`t`:0] [engineUUID=490acc05-2370-5ec4-8393-939390984a58] [2025/04/04 12:45:37.186 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_server`.`t`:-1] [engineUUID=cdc70700-12ab-529a-b4ba-b188e4e6e47d] [2025/04/04 12:45:37.187 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=120] [2025/04/04 12:45:37.187 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=120] [key=server-0.csv:0] [2025/04/04 12:45:37.188 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=120] [key=server-0.csv:0] [readDur=73.058µs] [encodeDur=199.084µs] [checksum="{cksum=4217614283895359297,size=76,kvs=2}"] [deliverDur=231.266µs] [type=file] [takeTime=819.564µs] [] [2025/04/04 12:45:37.189 +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/69d7417e-9b18-492a-8dff-3d28b399194e.sst] [firstKey=7480000000000000785F728000000000000001] [lastKey=7480000000000000785F728000000000000002] [2025/04/04 12:45:37.189 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=3] [step=import] [engine-id=0] [2025/04/04 12:45:37.189 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=3] [step=import] [engine-id=0] [2025/04/04 12:45:37.189 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_server`.`t`:0] [engineUUID=490acc05-2370-5ec4-8393-939390984a58] [2025/04/04 12:45:37.192 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`from_server`.`t`:0] [engineUUID=490acc05-2370-5ec4-8393-939390984a58] [takeTime=3.132629ms] [] [2025/04/04 12:45:37.192 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`from_server`.`t`:0] [engineUUID=490acc05-2370-5ec4-8393-939390984a58] [retryCnt=0] [2025/04/04 12:45:37.198 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:45:37.203 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=3] [2025/04/04 12:45:37.219 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=490acc05-2370-5ec4-8393-939390984a58] ["region ranges"=1] [count=2] [size=76] [2025/04/04 12:45:37.220 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:45:37.221 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000785f728000000000000001] [endOfAllRanges=7480000000000000785f728000000000000003] [startKeyOfFirstRegion=7480000000000000ff785f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff785f728000000000ff0000030000000000fa] [2025/04/04 12:45:37.232 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=490acc05-2370-5ec4-8393-939390984a58] [size=76] [kvs=2] [importedSize=76] [importedCount=2] [2025/04/04 12:45:37.234 +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.581225ms] [] [2025/04/04 12:45:37.234 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_server`.`t`:0] [engineUUID=490acc05-2370-5ec4-8393-939390984a58] [2025/04/04 12:45:37.235 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_server`.`t`:0] [engineUUID=490acc05-2370-5ec4-8393-939390984a58] [takeTime=1.100613ms] [] [2025/04/04 12:45:37.235 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=3] [step=import] [engine-id=0] [2025/04/04 12:45:37.235 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_server`.`t`:-1] [engineUUID=cdc70700-12ab-529a-b4ba-b188e4e6e47d] [2025/04/04 12:45:37.237 +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.599793ms] [] [2025/04/04 12:45:37.237 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`from_server`.`t`:-1] [engineUUID=cdc70700-12ab-529a-b4ba-b188e4e6e47d] [retryCnt=0] [2025/04/04 12:45:37.241 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=cdc70700-12ab-529a-b4ba-b188e4e6e47d] [2025/04/04 12:45:37.241 +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.753535ms] [] [2025/04/04 12:45:37.241 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_server`.`t`:-1] [engineUUID=cdc70700-12ab-529a-b4ba-b188e4e6e47d] [2025/04/04 12:45:37.242 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_server`.`t`:-1] [engineUUID=cdc70700-12ab-529a-b4ba-b188e4e6e47d] [takeTime=904.965µs] [] [2025/04/04 12:45:37.242 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=3] [step=import] [subtask-id=5] [takeTime=63.506704ms] [] [2025/04/04 12:45:37.242 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [subtaskID=5] [step=import] [takeTime=63.663606ms] [] [2025/04/04 12:45:37.280 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 12:45:37.281 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:45:37.282 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=3] [curr-step=import] [next-step=post-process] [2025/04/04 12:45:37.282 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=3] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 12:45:37.312 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=3] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/04 12:45:37.313 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=3] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 12:45:37.313 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/04 12:45:37.342 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 12:45:37.349 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=3] [step=import] [2025/04/04 12:45:37.352 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:45:37.352 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:45:37.352 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:45:37.352 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:45:37.352 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:45:37.352 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:45:37.352 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:45:37.352 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:37.352 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:37.352 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-4] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:45:37.352 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:37.352 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:45:37.354 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:45:37.354 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:37.354 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:37.354 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:37.354 +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=183.466629ms] [] [2025/04/04 12:45:37.355 +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/04 12:45:37.363 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [subtaskID=6] [step=post-process] [2025/04/04 12:45:37.363 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [2025/04/04 12:45:37.363 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [2025/04/04 12:45:37.363 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [2025/04/04 12:45:37.369 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [takeTime=5.499779ms] [] [2025/04/04 12:45:37.369 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [groupId=-1] [size=76] [kvs=2] [checksum=4217614283895359297] [2025/04/04 12:45:37.369 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [checksum="{cksum=4217614283895359297,size=76,kvs=2}"] [2025/04/04 12:45:37.369 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [weight=30] [2025/04/04 12:45:37.369 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [concurrency=15] [2025/04/04 12:45:37.371 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=120] [physicalTableID=120] [indexID=-1] [checksum=4217614283895359297] [totalKvs=2] [totalBytes=76] [2025/04/04 12:45:37.371 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 12:45:37.371 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [local="{cksum=4217614283895359297,size=76,kvs=2}"] [2025/04/04 12:45:37.371 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [takeTime=8.046174ms] [] [2025/04/04 12:45:37.371 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [takeTime=8.199665ms] [] [2025/04/04 12:45:37.371 +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.341943ms] [] [2025/04/04 12:45:37.376 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 12:45:37.381 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 12:45:37.381 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=3] [step=post-process] [state=running] [] [2025/04/04 12:45:37.383 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=3] [2025/04/04 12:45:37.397 +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=41.89938ms] [] [2025/04/04 12:45:37.397 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=3] [type=ImportInto] [2025/04/04 12:45:37.475 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=3] [2025/04/04 12:45:37.481 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 12:45:37.481 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=3] [2025/04/04 12:45:37.502 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 12:45:37.574 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.689145084\n# Parse_time: 0.000077774\n# Compile_time: 0.000508264\n# Rewrite_time: 0.000122564\n# Optimize_time: 0.000419852\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('SvBJMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY4OC4zbXMsIG9wZW46MS4wOcK1cywgY2xvc2U6Nzg0bnMsIGxvb3BzOjIJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('ZfBSCmEKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWjB0aW1lOjY4OC4zbXMsIG9wZW46MS4wOcK1cywgY2xvc2U6Nzg0bnMsIGxvb3BzOjJw//////8BAzQBeP///////////wEYAQ==')\n# Resource_group: default\nuse from_server;\nIMPORT INTO `from_server`.`t` FROM '/tmp/TestImportIntoTestImportFromServer2412777445/001/server-0.csv';"] [2025/04/04 12:45:37.588 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:123, Type:truncate table, State:queueing, SchemaState:none, SchemaID:118, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:37.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:37.588 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:123, Type:truncate table, State:queueing, SchemaState:none, SchemaID:118, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:37.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table t"] [2025/04/04 12:45:37.593 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=123] [conn=2] [job="ID:123, Type:truncate table, State:queueing, SchemaState:none, SchemaID:118, TableID:120, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:37.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:37.601 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 122, Table Name: t, Old Table ID: 120, Old Table Name: t)"] [2025/04/04 12:45:37.616 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=60] [neededSchemaVersion=61] ["elapsed time"=1.675607ms] [gotSchemaVersion=61] [phyTblIDs="[120,122]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 12:45:37.619 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=123] [version=61] [2025/04/04 12:45:37.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=61] ["take time"=8.462903ms] [job="ID:123, Type:truncate table, State:done, SchemaState:public, SchemaID:118, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:37.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:37.631 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=123] [tableIDs="[120]"] [comment="truncate table: table ID"] [2025/04/04 12:45:37.635 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=123] [jobType="truncate table"] [2025/04/04 12:45:37.636 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=123] [conn=2] [job="ID:123, Type:truncate table, State:synced, SchemaState:public, SchemaID:118, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:37.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:37.652 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=123] [2025/04/04 12:45:37.652 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=61] [cur_db=from_server] [sql="truncate table t"] [user=] [2025/04/04 12:45:37.696 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"/tmp/TestImportIntoTestImportFromServer2412777445/001/server-*.csv\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/04 12:45:37.696 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 12:45:37.696 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=54] [2025/04/04 12:45:37.696 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=54] [cost=86.058µs] [2025/04/04 12:45:37.696 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=247.623µs] [] [2025/04/04 12:45:37.716 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=4] [task-id=4] [data-size=54B] [thread-cnt=8] [global-sort=false] [2025/04/04 12:45:37.729 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=4] [2025/04/04 12:45:37.729 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/04 12:45:37.832 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 12:45:37.834 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:45:37.836 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=4] [curr-step=init] [next-step=import] [2025/04/04 12:45:37.844 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=4] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 12:45:37.844 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/04 12:45:37.875 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=4] [type=ImportInto] [concurrency=8] [remaining-slots=44] [2025/04/04 12:45:37.894 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=4] [step=import] [2025/04/04 12:45:37.902 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:45:37.902 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437826531169072] [2025/04/04 12:45:37.902 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:45:37.903 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:45:37.903 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:45:37.903 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:45:37.903 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:45:37.903 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:45:37.903 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:45:37.903 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:45:37.916 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:45:37.917 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 12:45:37.918 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 12:45:37.918 +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/04 12:45:37.918 +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/04 12:45:37.918 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=4] [disk-quota=348.5GiB] [2025/04/04 12:45:37.925 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [subtaskID=7] [step=import] [2025/04/04 12:45:37.926 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=4] [step=import] [subtask-id=7] [2025/04/04 12:45:37.929 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_server`.`t`:0] [engineUUID=490acc05-2370-5ec4-8393-939390984a58] [2025/04/04 12:45:37.933 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_server`.`t`:-1] [engineUUID=cdc70700-12ab-529a-b4ba-b188e4e6e47d] [2025/04/04 12:45:37.934 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=122] [2025/04/04 12:45:37.934 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=122] [2025/04/04 12:45:37.934 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=122] [2025/04/04 12:45:37.937 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=122] [key=server-2.csv:0] [2025/04/04 12:45:37.937 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=122] [key=server-0.csv:0] [2025/04/04 12:45:37.938 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=122] [key=server-0.csv:0] [readDur=108.619µs] [encodeDur=239.964µs] [checksum="{cksum=4217614283895359297,size=76,kvs=2}"] [deliverDur=376.72µs] [type=file] [takeTime=1.074294ms] [] [2025/04/04 12:45:37.938 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=122] [key=server-2.csv:0] [readDur=119.692µs] [encodeDur=728.111µs] [checksum="{cksum=13627491968562561727,size=76,kvs=2}"] [deliverDur=248.378µs] [type=file] [takeTime=1.489356ms] [] [2025/04/04 12:45:37.939 +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/69f3744f-682d-41a0-b9c0-05b49e0c333a.sst] [firstKey=74800000000000007A5F728000000000000001] [lastKey=74800000000000007A5F728000000000000002] [2025/04/04 12:45:37.940 +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/b7d38ec2-a00c-4b4e-a1ff-e33c1dc14a7a.sst] [firstKey=74800000000000007A5F728000000000000013] [lastKey=74800000000000007A5F728000000000000014] [2025/04/04 12:45:37.941 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=4] [mode=Import] [2025/04/04 12:45:37.945 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=122] [key=server-1.csv:0] [2025/04/04 12:45:37.946 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=122] [key=server-1.csv:0] [readDur=161.288µs] [encodeDur=243.745µs] [checksum="{cksum=8740164075696154046,size=76,kvs=2}"] [deliverDur=355.816µs] [type=file] [takeTime=1.131782ms] [] [2025/04/04 12:45:37.947 +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/e40a43d7-d6a2-456e-aed1-51e4d5576832.sst] [firstKey=74800000000000007A5F72800000000000000A] [lastKey=74800000000000007A5F72800000000000000B] [2025/04/04 12:45:37.948 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=4] [step=import] [engine-id=0] [2025/04/04 12:45:37.948 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=4] [step=import] [engine-id=0] [2025/04/04 12:45:37.948 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_server`.`t`:0] [engineUUID=490acc05-2370-5ec4-8393-939390984a58] [2025/04/04 12:45:37.952 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`from_server`.`t`:0] [engineUUID=490acc05-2370-5ec4-8393-939390984a58] [takeTime=3.796062ms] [] [2025/04/04 12:45:37.952 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`from_server`.`t`:0] [engineUUID=490acc05-2370-5ec4-8393-939390984a58] [retryCnt=0] [2025/04/04 12:45:37.956 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:45:37.961 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=4] [2025/04/04 12:45:37.978 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=490acc05-2370-5ec4-8393-939390984a58] ["region ranges"=1] [count=6] [size=228] [2025/04/04 12:45:37.978 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:45:37.980 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000007a5f728000000000000001] [endOfAllRanges=74800000000000007a5f728000000000000015] [startKeyOfFirstRegion=7480000000000000ff7a5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff7a5f728000000000ff0000150000000000fa] [2025/04/04 12:45:37.991 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=490acc05-2370-5ec4-8393-939390984a58] [size=228] [kvs=6] [importedSize=228] [importedCount=6] [2025/04/04 12:45:37.993 +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.570382ms] [] [2025/04/04 12:45:37.993 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_server`.`t`:0] [engineUUID=490acc05-2370-5ec4-8393-939390984a58] [2025/04/04 12:45:37.995 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_server`.`t`:0] [engineUUID=490acc05-2370-5ec4-8393-939390984a58] [takeTime=1.193028ms] [] [2025/04/04 12:45:37.995 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=4] [step=import] [engine-id=0] [2025/04/04 12:45:37.995 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_server`.`t`:-1] [engineUUID=cdc70700-12ab-529a-b4ba-b188e4e6e47d] [2025/04/04 12:45:37.996 +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.575536ms] [] [2025/04/04 12:45:37.996 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`from_server`.`t`:-1] [engineUUID=cdc70700-12ab-529a-b4ba-b188e4e6e47d] [retryCnt=0] [2025/04/04 12:45:38.000 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=cdc70700-12ab-529a-b4ba-b188e4e6e47d] [2025/04/04 12:45:38.000 +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.46878ms] [] [2025/04/04 12:45:38.000 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_server`.`t`:-1] [engineUUID=cdc70700-12ab-529a-b4ba-b188e4e6e47d] [2025/04/04 12:45:38.001 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_server`.`t`:-1] [engineUUID=cdc70700-12ab-529a-b4ba-b188e4e6e47d] [takeTime=1.150167ms] [] [2025/04/04 12:45:38.001 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=4] [step=import] [subtask-id=7] [takeTime=75.672512ms] [] [2025/04/04 12:45:38.001 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [subtaskID=7] [step=import] [takeTime=75.812296ms] [] [2025/04/04 12:45:38.036 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 12:45:38.037 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:45:38.038 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=4] [curr-step=import] [next-step=post-process] [2025/04/04 12:45:38.038 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=4] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 12:45:38.067 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=4] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":6}"] [2025/04/04 12:45:38.068 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=4] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 12:45:38.068 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/04 12:45:38.101 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 12:45:38.107 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=4] [step=import] [2025/04/04 12:45:38.110 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:45:38.110 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:45:38.110 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:45:38.110 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:45:38.110 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:45:38.110 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:45:38.110 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:45:38.110 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:38.110 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:38.110 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-5] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:45:38.110 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:38.110 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:45:38.112 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:45:38.112 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:38.112 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:38.112 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:38.112 +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=194.141694ms] [] [2025/04/04 12:45:38.113 +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/04 12:45:38.121 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [subtaskID=8] [step=post-process] [2025/04/04 12:45:38.121 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [2025/04/04 12:45:38.121 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [2025/04/04 12:45:38.121 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [2025/04/04 12:45:38.126 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [takeTime=5.063149ms] [] [2025/04/04 12:45:38.126 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [groupId=-1] [size=228] [kvs=6] [checksum=18361781019534991424] [2025/04/04 12:45:38.126 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [checksum="{cksum=18361781019534991424,size=228,kvs=6}"] [2025/04/04 12:45:38.126 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [weight=30] [2025/04/04 12:45:38.126 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [concurrency=15] [2025/04/04 12:45:38.128 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=122] [physicalTableID=122] [indexID=-1] [checksum=18361781019534991424] [totalKvs=6] [totalBytes=228] [2025/04/04 12:45:38.129 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 12:45:38.129 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [local="{cksum=18361781019534991424,size=228,kvs=6}"] [2025/04/04 12:45:38.129 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [takeTime=7.655586ms] [] [2025/04/04 12:45:38.129 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [takeTime=7.788225ms] [] [2025/04/04 12:45:38.129 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [subtaskID=8] [step=post-process] [takeTime=7.916616ms] [] [2025/04/04 12:45:38.134 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 12:45:38.236 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 12:45:38.236 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=4] [step=post-process] [state=running] [] [2025/04/04 12:45:38.239 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=4] [2025/04/04 12:45:38.260 +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=147.222394ms] [] [2025/04/04 12:45:38.261 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=4] [type=ImportInto] [2025/04/04 12:45:38.331 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=4] [2025/04/04 12:45:38.333 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.680201842\n# Parse_time: 0.000063629\n# Compile_time: 0.000462436\n# Rewrite_time: 0.00012148\n# Optimize_time: 0.000249358\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('SvBJMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY3OS40bXMsIG9wZW46OTc2bnMsIGNsb3NlOjEuMzPCtXMsIGxvb3BzOjIJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('ZfBSCmEKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWjB0aW1lOjY3OS40bXMsIG9wZW46OTc2bnMsIGNsb3NlOjEuMzPCtXMsIGxvb3BzOjJw//////8BAzQBeP///////////wEYAQ==')\n# Resource_group: default\nIMPORT INTO `from_server`.`t` FROM '/tmp/TestImportIntoTestImportFromServer2412777445/001/server-*.csv';"] [2025/04/04 12:45:38.338 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 12:45:38.338 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=4] [2025/04/04 12:45:38.355 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:125, Type:truncate table, State:queueing, SchemaState:none, SchemaID:118, TableID:122, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:38.298 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table t"] [2025/04/04 12:45:38.355 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:125, Type:truncate table, State:queueing, SchemaState:none, SchemaID:118, TableID:122, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:38.298 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:38.361 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=125] [conn=2] [job="ID:125, Type:truncate table, State:queueing, SchemaState:none, SchemaID:118, TableID:122, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:38.298 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:38.362 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 12:45:38.369 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 124, Table Name: t, Old Table ID: 122, Old Table Name: t)"] [2025/04/04 12:45:38.384 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=61] [neededSchemaVersion=62] ["elapsed time"=1.549351ms] [gotSchemaVersion=62] [phyTblIDs="[122,124]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 12:45:38.387 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=125] [version=62] [2025/04/04 12:45:38.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=62] ["take time"=8.330927ms] [job="ID:125, Type:truncate table, State:done, SchemaState:public, SchemaID:118, TableID:122, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:38.298 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:38.399 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=125] [tableIDs="[122]"] [comment="truncate table: table ID"] [2025/04/04 12:45:38.404 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=125] [jobType="truncate table"] [2025/04/04 12:45:38.405 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=125] [conn=2] [job="ID:125, Type:truncate table, State:synced, SchemaState:public, SchemaID:118, TableID:122, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:38.298 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:38.422 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=125] [2025/04/04 12:45:38.422 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=62] [cur_db=from_server] [sql="truncate table t"] [user=] [2025/04/04 12:45:38.467 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"/tmp/TestImportIntoTestImportFromServer2412777445/001/test.csv.gz\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/04 12:45:38.467 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 12:45:38.467 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=36] [2025/04/04 12:45:38.467 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=36] [cost=37.461µs] [2025/04/04 12:45:38.467 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=125.541µs] [] [2025/04/04 12:45:38.484 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=5] [task-id=5] [data-size=36B] [thread-cnt=8] [global-sort=false] [2025/04/04 12:45:38.498 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=5] [2025/04/04 12:45:38.498 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/04 12:45:38.600 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 12:45:38.601 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:45:38.602 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=5] [curr-step=init] [next-step=import] [2025/04/04 12:45:38.609 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=5] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 12:45:38.609 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/04 12:45:38.645 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=5] [type=ImportInto] [concurrency=8] [remaining-slots=44] [2025/04/04 12:45:38.664 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=5] [step=import] [2025/04/04 12:45:38.671 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:45:38.671 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437826531169072] [2025/04/04 12:45:38.671 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:45:38.671 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:45:38.671 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:45:38.671 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:45:38.671 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:45:38.671 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:45:38.672 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:45:38.672 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:45:38.682 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:45:38.684 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 12:45:38.684 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 12:45:38.684 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=5] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 12:45:38.684 +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/04 12:45:38.684 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=5] [disk-quota=348.5GiB] [2025/04/04 12:45:38.696 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=9] [step=import] [2025/04/04 12:45:38.696 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=5] [step=import] [subtask-id=9] [2025/04/04 12:45:38.699 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_server`.`t`:0] [engineUUID=490acc05-2370-5ec4-8393-939390984a58] [2025/04/04 12:45:38.703 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_server`.`t`:-1] [engineUUID=cdc70700-12ab-529a-b4ba-b188e4e6e47d] [2025/04/04 12:45:38.703 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=124] [2025/04/04 12:45:38.705 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=5] [mode=Import] [2025/04/04 12:45:38.714 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=124] [key=test.csv.gz:0] [2025/04/04 12:45:38.715 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=124] [key=test.csv.gz:0] [readDur=79.526µs] [encodeDur=195.76µs] [checksum="{cksum=3639429438335945898,size=74,kvs=2}"] [deliverDur=203.543µs] [type=file] [takeTime=771.305µs] [] [2025/04/04 12:45:38.715 +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/2c9dea01-c740-44cd-8f96-ce04430708ac.sst] [firstKey=74800000000000007C5F728000000000000001] [lastKey=74800000000000007C5F728000000000000002] [2025/04/04 12:45:38.716 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=5] [step=import] [engine-id=0] [2025/04/04 12:45:38.716 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=5] [step=import] [engine-id=0] [2025/04/04 12:45:38.716 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_server`.`t`:0] [engineUUID=490acc05-2370-5ec4-8393-939390984a58] [2025/04/04 12:45:38.718 +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.812032ms] [] [2025/04/04 12:45:38.719 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`from_server`.`t`:0] [engineUUID=490acc05-2370-5ec4-8393-939390984a58] [retryCnt=0] [2025/04/04 12:45:38.784 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:45:38.785 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=5] [2025/04/04 12:45:38.806 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=490acc05-2370-5ec4-8393-939390984a58] ["region ranges"=1] [count=2] [size=74] [2025/04/04 12:45:38.806 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:45:38.808 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000007c5f728000000000000001] [endOfAllRanges=74800000000000007c5f728000000000000003] [startKeyOfFirstRegion=7480000000000000ff7c5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff7c5f728000000000ff0000030000000000fa] [2025/04/04 12:45:38.820 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=490acc05-2370-5ec4-8393-939390984a58] [size=74] [kvs=2] [importedSize=74] [importedCount=2] [2025/04/04 12:45:38.822 +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=103.28835ms] [] [2025/04/04 12:45:38.822 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_server`.`t`:0] [engineUUID=490acc05-2370-5ec4-8393-939390984a58] [2025/04/04 12:45:38.823 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_server`.`t`:0] [engineUUID=490acc05-2370-5ec4-8393-939390984a58] [takeTime=1.464009ms] [] [2025/04/04 12:45:38.824 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=5] [step=import] [engine-id=0] [2025/04/04 12:45:38.824 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_server`.`t`:-1] [engineUUID=cdc70700-12ab-529a-b4ba-b188e4e6e47d] [2025/04/04 12:45:38.825 +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.729805ms] [] [2025/04/04 12:45:38.825 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`from_server`.`t`:-1] [engineUUID=cdc70700-12ab-529a-b4ba-b188e4e6e47d] [retryCnt=0] [2025/04/04 12:45:38.829 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=cdc70700-12ab-529a-b4ba-b188e4e6e47d] [2025/04/04 12:45:38.830 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`from_server`.`t`:-1] [engineUUID=cdc70700-12ab-529a-b4ba-b188e4e6e47d] [retryCnt=0] [takeTime=4.001145ms] [] [2025/04/04 12:45:38.830 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_server`.`t`:-1] [engineUUID=cdc70700-12ab-529a-b4ba-b188e4e6e47d] [2025/04/04 12:45:38.831 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_server`.`t`:-1] [engineUUID=cdc70700-12ab-529a-b4ba-b188e4e6e47d] [takeTime=924.247µs] [] [2025/04/04 12:45:38.831 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=5] [step=import] [subtask-id=9] [takeTime=134.880864ms] [] [2025/04/04 12:45:38.831 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=9] [step=import] [takeTime=135.041894ms] [] [2025/04/04 12:45:38.904 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 12:45:38.906 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:45:38.907 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=5] [curr-step=import] [next-step=post-process] [2025/04/04 12:45:38.907 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=5] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 12:45:38.938 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=5] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/04 12:45:38.939 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=5] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 12:45:38.939 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/04 12:45:38.972 +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/04 12:45:38.980 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=5] [step=import] [2025/04/04 12:45:38.982 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:45:38.982 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:45:38.982 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:45:38.982 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:45:38.983 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:45:38.983 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:45:38.983 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:45:38.983 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-6] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:45:38.983 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:38.983 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:38.983 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:38.983 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:45:38.985 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:45:38.985 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:38.985 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:38.985 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:38.985 +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=301.093954ms] [] [2025/04/04 12:45:38.987 +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/04 12:45:38.994 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=10] [step=post-process] [2025/04/04 12:45:38.994 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [2025/04/04 12:45:38.994 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [2025/04/04 12:45:38.994 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [2025/04/04 12:45:38.999 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [takeTime=5.052044ms] [] [2025/04/04 12:45:38.999 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [groupId=-1] [size=74] [kvs=2] [checksum=3639429438335945898] [2025/04/04 12:45:38.999 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [checksum="{cksum=3639429438335945898,size=74,kvs=2}"] [2025/04/04 12:45:38.999 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [weight=30] [2025/04/04 12:45:39.000 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [concurrency=15] [2025/04/04 12:45:39.001 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=124] [physicalTableID=124] [indexID=-1] [checksum=3639429438335945898] [totalKvs=2] [totalBytes=74] [2025/04/04 12:45:39.002 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 12:45:39.002 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [local="{cksum=3639429438335945898,size=74,kvs=2}"] [2025/04/04 12:45:39.002 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [takeTime=7.663846ms] [] [2025/04/04 12:45:39.002 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [takeTime=7.796013ms] [] [2025/04/04 12:45:39.002 +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=7.951233ms] [] [2025/04/04 12:45:39.004 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 12:45:39.105 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 12:45:39.105 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=5] [step=post-process] [state=running] [] [2025/04/04 12:45:39.107 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=5] [2025/04/04 12:45:39.124 +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=137.306449ms] [] [2025/04/04 12:45:39.124 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=5] [type=ImportInto] [2025/04/04 12:45:39.200 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=5] [2025/04/04 12:45:39.206 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 12:45:39.206 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=5] [2025/04/04 12:45:39.228 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 12:45:39.402 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.979149984\n# Parse_time: 0.000059232\n# Compile_time: 0.000450409\n# Rewrite_time: 0.000107362\n# Optimize_time: 0.000385042\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk3OC4zbXMsIG9wZW46NjA1bnMsIGNsb3NlOjY3N25zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk3OC4zbXMsIG9wZW46NjA1bnMsIGNsb3NlOjY3N25zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\nIMPORT INTO `from_server`.`t` FROM '/tmp/TestImportIntoTestImportFromServer2412777445/001/test.csv.gz';"] --- PASS: TestImportInto/TestImportFromServer (2.66s) === NAME TestImportInto === RUN TestImportInto/TestSnappy [2025/04/04 12:45:39.417 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=62] [cur_db=from_server] [sql="drop database if exists snappy"] [user=] [2025/04/04 12:45:39.429 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:127, Type:create schema, State:queueing, SchemaState:none, SchemaID:126, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:39.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database snappy"] [2025/04/04 12:45:39.429 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:127, Type:create schema, State:queueing, SchemaState:none, SchemaID:126, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:39.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:39.435 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=127] [conn=2] [job="ID:127, Type:create schema, State:queueing, SchemaState:none, SchemaID:126, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:39.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:39.449 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=62] [neededSchemaVersion=63] ["elapsed time"=714.577µs] [gotSchemaVersion=63] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 12:45:39.452 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=127] [version=63] [2025/04/04 12:45:39.454 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=63] ["take time"=8.131863ms] [job="ID:127, Type:create schema, State:done, SchemaState:public, SchemaID:126, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:39.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:39.464 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=127] [conn=2] [job="ID:127, Type:create schema, State:synced, SchemaState:public, SchemaID:126, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:39.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:39.475 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=127] [2025/04/04 12:45:39.475 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=63] [cur_db=from_server] [sql="create database snappy"] [user=] [2025/04/04 12:45:39.488 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:129, Type:create table, State:queueing, SchemaState:none, SchemaID:126, TableID:128, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:39.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:39.488 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:129, Type:create table, State:queueing, SchemaState:none, SchemaID:126, TableID:128, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:39.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE snappy.t (i INT PRIMARY KEY, s varchar(32));"] [2025/04/04 12:45:39.493 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=129] [conn=2] [job="ID:129, Type:create table, State:queueing, SchemaState:none, SchemaID:126, TableID:128, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:39.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:39.498 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 128, Table Name: t)"] [2025/04/04 12:45:39.513 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=63] [neededSchemaVersion=64] ["elapsed time"=1.727803ms] [gotSchemaVersion=64] [phyTblIDs="[128]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:39.517 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=129] [version=64] [2025/04/04 12:45:39.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=64] ["take time"=8.836821ms] [job="ID:129, Type:create table, State:done, SchemaState:public, SchemaID:126, TableID:128, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:39.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:39.529 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=129] [conn=2] [job="ID:129, Type:create table, State:synced, SchemaState:public, SchemaID:126, TableID:128, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:39.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:39.540 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=129] [2025/04/04 12:45:39.540 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=64] [cur_db=snappy] [sql="CREATE TABLE snappy.t (i INT PRIMARY KEY, s varchar(32));"] [user=] [2025/04/04 12:45:39.547 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:39.602 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://snappy/t.*?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/04 12:45:39.623 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=6] [task-id=6] [data-size=33B] [thread-cnt=1] [global-sort=false] [2025/04/04 12:45:39.638 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=6] [2025/04/04 12:45:39.639 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/04 12:45:39.741 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 12:45:39.742 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:45:39.743 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=6] [curr-step=init] [next-step=import] [2025/04/04 12:45:39.751 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:39.758 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 12:45:39.758 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=33] [2025/04/04 12:45:39.758 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=33] [cost=52.694µs] [2025/04/04 12:45:39.759 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=162.239µs] [] [2025/04/04 12:45:39.759 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=6] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 12:45:39.759 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/04 12:45:39.795 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=6] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 12:45:39.815 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=6] [step=import] [2025/04/04 12:45:39.815 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:39.822 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:45:39.823 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437826531169072] [2025/04/04 12:45:39.823 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:45:39.823 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:45:39.823 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:45:39.823 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:45:39.823 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:45:39.823 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:45:39.824 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:45:39.824 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:45:39.835 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:45:39.837 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 12:45:39.838 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 12:45:39.838 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=6] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 12:45:39.838 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=6] [disk-quota=348.5GiB] [2025/04/04 12:45:39.838 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/04 12:45:39.846 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [subtaskID=11] [step=import] [2025/04/04 12:45:39.846 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=6] [step=import] [subtask-id=11] [2025/04/04 12:45:39.848 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=6] [mode=Import] [2025/04/04 12:45:39.850 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`snappy`.`t`:0] [engineUUID=a921513b-a672-5c3e-93ed-fa772552849b] [2025/04/04 12:45:39.853 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`snappy`.`t`:-1] [engineUUID=bc711958-5bcc-5308-aaa0-eede094ecd2e] [2025/04/04 12:45:39.853 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=128] [2025/04/04 12:45:39.871 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=6] [2025/04/04 12:45:40.003 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=128] [key=t.01.csv.snappy:0] [2025/04/04 12:45:40.006 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=128] [key=t.01.csv.snappy:0] [readDur=953.339µs] [encodeDur=432.479µs] [checksum="{cksum=14262047008891545520,size=66,kvs=2}"] [deliverDur=120.316µs] [type=file] [takeTime=2.017828ms] [] [2025/04/04 12:45:40.007 +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/b219718f-a58f-4bc9-b4cf-0bea1cd249d8.sst] [firstKey=7480000000000000805F728000000000000001] [lastKey=7480000000000000805F728000000000000002] [2025/04/04 12:45:40.007 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=6] [step=import] [engine-id=0] [2025/04/04 12:45:40.007 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=6] [step=import] [engine-id=0] [2025/04/04 12:45:40.007 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`snappy`.`t`:0] [engineUUID=a921513b-a672-5c3e-93ed-fa772552849b] [2025/04/04 12:45:40.009 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`snappy`.`t`:0] [engineUUID=a921513b-a672-5c3e-93ed-fa772552849b] [takeTime=2.16146ms] [] [2025/04/04 12:45:40.009 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`snappy`.`t`:0] [engineUUID=a921513b-a672-5c3e-93ed-fa772552849b] [retryCnt=0] [2025/04/04 12:45:40.014 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:45:40.036 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=a921513b-a672-5c3e-93ed-fa772552849b] ["region ranges"=1] [count=2] [size=66] [2025/04/04 12:45:40.036 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:45:40.038 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000805f728000000000000001] [endOfAllRanges=7480000000000000805f728000000000000003] [startKeyOfFirstRegion=7480000000000000ff805f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff805f728000000000ff0000030000000000fa] [2025/04/04 12:45:40.049 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=a921513b-a672-5c3e-93ed-fa772552849b] [size=66] [kvs=2] [importedSize=66] [importedCount=2] [2025/04/04 12:45:40.051 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`snappy`.`t`:0] [engineUUID=a921513b-a672-5c3e-93ed-fa772552849b] [retryCnt=0] [takeTime=41.482771ms] [] [2025/04/04 12:45:40.051 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`snappy`.`t`:0] [engineUUID=a921513b-a672-5c3e-93ed-fa772552849b] [2025/04/04 12:45:40.052 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`snappy`.`t`:0] [engineUUID=a921513b-a672-5c3e-93ed-fa772552849b] [takeTime=1.201319ms] [] [2025/04/04 12:45:40.052 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=6] [step=import] [engine-id=0] [2025/04/04 12:45:40.052 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`snappy`.`t`:-1] [engineUUID=bc711958-5bcc-5308-aaa0-eede094ecd2e] [2025/04/04 12:45:40.054 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`snappy`.`t`:-1] [engineUUID=bc711958-5bcc-5308-aaa0-eede094ecd2e] [takeTime=2.039895ms] [] [2025/04/04 12:45:40.055 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`snappy`.`t`:-1] [engineUUID=bc711958-5bcc-5308-aaa0-eede094ecd2e] [retryCnt=0] [2025/04/04 12:45:40.060 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=bc711958-5bcc-5308-aaa0-eede094ecd2e] [2025/04/04 12:45:40.060 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`snappy`.`t`:-1] [engineUUID=bc711958-5bcc-5308-aaa0-eede094ecd2e] [retryCnt=0] [takeTime=5.046607ms] [] [2025/04/04 12:45:40.060 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`snappy`.`t`:-1] [engineUUID=bc711958-5bcc-5308-aaa0-eede094ecd2e] [2025/04/04 12:45:40.061 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`snappy`.`t`:-1] [engineUUID=bc711958-5bcc-5308-aaa0-eede094ecd2e] [takeTime=962.958µs] [] [2025/04/04 12:45:40.061 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=6] [step=import] [subtask-id=11] [takeTime=215.238002ms] [] [2025/04/04 12:45:40.061 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [subtaskID=11] [step=import] [takeTime=215.402149ms] [] [2025/04/04 12:45:40.146 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 12:45:40.147 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:45:40.148 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=6] [curr-step=import] [next-step=post-process] [2025/04/04 12:45:40.148 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=6] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 12:45:40.177 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=6] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/04 12:45:40.179 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=6] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 12:45:40.179 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/04 12:45:40.211 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 12:45:40.218 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=6] [step=import] [2025/04/04 12:45:40.221 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:45:40.221 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:45:40.221 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:45:40.221 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:45:40.221 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:45:40.221 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:45:40.221 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:45:40.221 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:40.221 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:40.221 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:40.221 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-7] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:45:40.221 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:45:40.223 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:45:40.223 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:40.223 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:40.223 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:40.223 +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=385.21168ms] [] [2025/04/04 12:45:40.224 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/04 12:45:40.231 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [subtaskID=12] [step=post-process] [2025/04/04 12:45:40.231 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=12] [2025/04/04 12:45:40.231 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=12] [2025/04/04 12:45:40.231 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=12] [2025/04/04 12:45:40.231 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=12] [takeTime=1.858µs] [] [2025/04/04 12:45:40.231 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=12] [groupId=-1] [size=66] [kvs=2] [checksum=14262047008891545520] [2025/04/04 12:45:40.231 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=12] [checksum="{cksum=14262047008891545520,size=66,kvs=2}"] [2025/04/04 12:45:40.232 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=12] [weight=30] [2025/04/04 12:45:40.232 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=12] [concurrency=15] [2025/04/04 12:45:40.233 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=128] [physicalTableID=128] [indexID=-1] [checksum=14262047008891545520] [totalKvs=2] [totalBytes=66] [2025/04/04 12:45:40.234 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 12:45:40.234 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=12] [local="{cksum=14262047008891545520,size=66,kvs=2}"] [2025/04/04 12:45:40.234 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=12] [takeTime=2.340059ms] [] [2025/04/04 12:45:40.234 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=12] [takeTime=2.474811ms] [] [2025/04/04 12:45:40.234 +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.599104ms] [] [2025/04/04 12:45:40.241 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 12:45:40.245 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 12:45:40.246 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=6] [step=post-process] [state=running] [] [2025/04/04 12:45:40.248 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=6] [2025/04/04 12:45:40.280 +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=55.758468ms] [] [2025/04/04 12:45:40.280 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=6] [type=ImportInto] [2025/04/04 12:45:40.341 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=6] [2025/04/04 12:45:40.347 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 12:45:40.347 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=6] [2025/04/04 12:45:40.369 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 12:45:40.540 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.999177638\n# Parse_time: 0.000103041\n# Compile_time: 0.000490112\n# Rewrite_time: 0.000098898\n# Optimize_time: 0.000388582\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5OC4zbXMsIG9wZW46OTE2bnMsIGNsb3NlOjkyMm5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk5OC4zbXMsIG9wZW46OTE2bnMsIGNsb3NlOjkyMm5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\nuse snappy;\nIMPORT INTO `snappy`.`t` FROM 'gs://snappy/t.*?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1;"] --- PASS: TestImportInto/TestSnappy (1.13s) === NAME TestImportInto === RUN TestImportInto/TestZStd [2025/04/04 12:45:40.545 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=64] [cur_db=snappy] [sql="drop database if exists zstd"] [user=] [2025/04/04 12:45:40.556 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:131, Type:create schema, State:queueing, SchemaState:none, SchemaID:130, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:40.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:40.556 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:131, Type:create schema, State:queueing, SchemaState:none, SchemaID:130, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:40.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database zstd"] [2025/04/04 12:45:40.562 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=131] [conn=2] [job="ID:131, Type:create schema, State:queueing, SchemaState:none, SchemaID:130, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:40.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:40.575 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=64] [neededSchemaVersion=65] ["elapsed time"=689.364µs] [gotSchemaVersion=65] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 12:45:40.579 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=131] [version=65] [2025/04/04 12:45: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=65] ["take time"=7.587783ms] [job="ID:131, Type:create schema, State:done, SchemaState:public, SchemaID:130, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:40.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:40.592 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=131] [conn=2] [job="ID:131, Type:create schema, State:synced, SchemaState:public, SchemaID:130, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:40.549 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:40.602 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=131] [2025/04/04 12:45:40.602 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=65] [cur_db=snappy] [sql="create database zstd"] [user=] [2025/04/04 12:45:40.618 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:133, Type:create table, State:queueing, SchemaState:none, SchemaID:130, TableID:132, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:40.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE zstd.t (i INT PRIMARY KEY, s varchar(32));"] [2025/04/04 12:45:40.618 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:133, Type:create table, State:queueing, SchemaState:none, SchemaID:130, TableID:132, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:40.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:40.625 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=133] [conn=2] [job="ID:133, Type:create table, State:queueing, SchemaState:none, SchemaID:130, TableID:132, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:40.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:40.630 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 132, Table Name: t)"] [2025/04/04 12:45:40.645 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=65] [neededSchemaVersion=66] ["elapsed time"=1.705613ms] [gotSchemaVersion=66] [phyTblIDs="[132]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:40.649 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=133] [version=66] [2025/04/04 12:45:40.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=66] ["take time"=8.749689ms] [job="ID:133, Type:create table, State:done, SchemaState:public, SchemaID:130, TableID:132, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:40.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:40.662 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=133] [conn=2] [job="ID:133, Type:create table, State:synced, SchemaState:public, SchemaID:130, TableID:132, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:40.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:40.674 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=133] [2025/04/04 12:45:40.674 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=66] [cur_db=zstd] [sql="CREATE TABLE zstd.t (i INT PRIMARY KEY, s varchar(32));"] [user=] [2025/04/04 12:45:40.688 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:40.744 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://zstd/t.*?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/04 12:45:40.763 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=7] [task-id=7] [data-size=56B] [thread-cnt=1] [global-sort=false] [2025/04/04 12:45:40.777 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=7] [2025/04/04 12:45:40.777 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/04 12:45:40.879 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 12:45:40.880 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:45:40.881 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=7] [curr-step=init] [next-step=import] [2025/04/04 12:45:40.889 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:40.901 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 12:45:40.901 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=56] [2025/04/04 12:45:40.901 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=2] [MaxChunkSize=268435456] [RegionsCount=2] [BatchSize=56] [cost=59.749µs] [2025/04/04 12:45:40.901 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=191.41µs] [] [2025/04/04 12:45:40.901 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=7] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 12:45:40.901 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/04 12:45:40.935 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=7] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 12:45:40.954 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=7] [step=import] [2025/04/04 12:45:40.954 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:40.962 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:45:40.962 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437826531169072] [2025/04/04 12:45:40.963 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:45:40.963 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:45:40.963 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:45:40.963 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:45:40.963 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:45:40.963 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:45:40.964 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:45:40.964 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:45:40.976 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:45:40.977 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 12:45:40.977 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 12:45:40.977 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=7] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 12:45:40.978 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/04 12:45:40.978 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=7] [disk-quota=348.5GiB] [2025/04/04 12:45:40.985 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [subtaskID=13] [step=import] [2025/04/04 12:45:40.985 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=7] [step=import] [subtask-id=13] [2025/04/04 12:45:40.986 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=7] [mode=Import] [2025/04/04 12:45:41.006 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`zstd`.`t`:0] [engineUUID=dbc9135c-0d8b-582b-8c22-5316c1b4dadf] [2025/04/04 12:45:41.010 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`zstd`.`t`:-1] [engineUUID=e9c114a8-45b3-5791-b514-c60a7e19a6dd] [2025/04/04 12:45:41.010 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=132] [2025/04/04 12:45:41.018 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=7] [2025/04/04 12:45:41.085 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=132] [key=t.01.csv.zst:0] [2025/04/04 12:45:41.087 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=132] [key=t.01.csv.zst:0] [readDur=1.019077ms] [encodeDur=618.021µs] [checksum="{cksum=14262047008891545520,size=66,kvs=2}"] [deliverDur=99.027µs] [type=file] [takeTime=2.001188ms] [] [2025/04/04 12:45:41.088 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=132] [2025/04/04 12:45:41.088 +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/146ebeab-5939-4362-ac29-953007952032.sst] [firstKey=7480000000000000845F728000000000000001] [lastKey=7480000000000000845F728000000000000002] [2025/04/04 12:45:41.162 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=132] [key=t.02.csv.zstd:0] [2025/04/04 12:45:41.164 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=132] [key=t.02.csv.zstd:0] [readDur=1.086936ms] [encodeDur=154.259µs] [checksum="{cksum=6510788178300023669,size=66,kvs=2}"] [deliverDur=28.095µs] [type=file] [takeTime=1.518259ms] [] [2025/04/04 12:45:41.165 +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/8e1dfefb-f82e-4677-a4e6-762e1021f089.sst] [firstKey=7480000000000000845F728000000000000003] [lastKey=7480000000000000845F728000000000000004] [2025/04/04 12:45:41.165 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=7] [step=import] [engine-id=0] [2025/04/04 12:45:41.165 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=7] [step=import] [engine-id=0] [2025/04/04 12:45:41.165 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`zstd`.`t`:0] [engineUUID=dbc9135c-0d8b-582b-8c22-5316c1b4dadf] [2025/04/04 12:45:41.167 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`zstd`.`t`:0] [engineUUID=dbc9135c-0d8b-582b-8c22-5316c1b4dadf] [takeTime=2.176681ms] [] [2025/04/04 12:45:41.167 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`zstd`.`t`:0] [engineUUID=dbc9135c-0d8b-582b-8c22-5316c1b4dadf] [retryCnt=0] [2025/04/04 12:45:41.172 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:45:41.193 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=dbc9135c-0d8b-582b-8c22-5316c1b4dadf] ["region ranges"=1] [count=4] [size=132] [2025/04/04 12:45:41.193 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:45:41.195 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000845f728000000000000001] [endOfAllRanges=7480000000000000845f728000000000000005] [startKeyOfFirstRegion=7480000000000000ff845f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff845f728000000000ff0000050000000000fa] [2025/04/04 12:45:41.207 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=dbc9135c-0d8b-582b-8c22-5316c1b4dadf] [size=132] [kvs=4] [importedSize=132] [importedCount=4] [2025/04/04 12:45:41.208 +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.315496ms] [] [2025/04/04 12:45:41.208 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`zstd`.`t`:0] [engineUUID=dbc9135c-0d8b-582b-8c22-5316c1b4dadf] [2025/04/04 12:45:41.210 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`zstd`.`t`:0] [engineUUID=dbc9135c-0d8b-582b-8c22-5316c1b4dadf] [takeTime=1.149066ms] [] [2025/04/04 12:45:41.210 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=7] [step=import] [engine-id=0] [2025/04/04 12:45:41.210 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`zstd`.`t`:-1] [engineUUID=e9c114a8-45b3-5791-b514-c60a7e19a6dd] [2025/04/04 12:45:41.211 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`zstd`.`t`:-1] [engineUUID=e9c114a8-45b3-5791-b514-c60a7e19a6dd] [takeTime=1.642392ms] [] [2025/04/04 12:45:41.212 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`zstd`.`t`:-1] [engineUUID=e9c114a8-45b3-5791-b514-c60a7e19a6dd] [retryCnt=0] [2025/04/04 12:45:41.215 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=e9c114a8-45b3-5791-b514-c60a7e19a6dd] [2025/04/04 12:45:41.215 +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.595614ms] [] [2025/04/04 12:45:41.215 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`zstd`.`t`:-1] [engineUUID=e9c114a8-45b3-5791-b514-c60a7e19a6dd] [2025/04/04 12:45:41.216 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`zstd`.`t`:-1] [engineUUID=e9c114a8-45b3-5791-b514-c60a7e19a6dd] [takeTime=972.698µs] [] [2025/04/04 12:45:41.216 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=7] [step=import] [subtask-id=13] [takeTime=231.076606ms] [] [2025/04/04 12:45:41.217 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [subtaskID=13] [step=import] [takeTime=231.668199ms] [] [2025/04/04 12:45:41.284 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 12:45:41.285 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:45:41.286 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=7] [curr-step=import] [next-step=post-process] [2025/04/04 12:45:41.286 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=7] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 12:45:41.316 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=7] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":4}"] [2025/04/04 12:45:41.317 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=7] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 12:45:41.317 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/04 12:45:41.357 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 12:45:41.369 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=7] [step=import] [2025/04/04 12:45:41.372 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:45:41.372 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:45:41.372 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:45:41.372 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:45:41.372 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:45:41.372 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:45:41.372 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:45:41.372 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:41.372 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-8] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:45:41.372 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:41.372 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:41.372 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:45:41.374 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:45:41.374 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:41.374 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:41.374 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:41.375 +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=396.924144ms] [] [2025/04/04 12:45:41.376 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/04 12:45:41.388 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [subtaskID=14] [step=post-process] [2025/04/04 12:45:41.389 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=14] [2025/04/04 12:45:41.389 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=14] [2025/04/04 12:45:41.389 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=14] [2025/04/04 12:45:41.389 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=14] [takeTime=1.675µs] [] [2025/04/04 12:45:41.389 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=14] [groupId=-1] [size=132] [kvs=4] [checksum=11508402849382241477] [2025/04/04 12:45:41.389 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=14] [checksum="{cksum=11508402849382241477,size=132,kvs=4}"] [2025/04/04 12:45:41.389 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=14] [weight=30] [2025/04/04 12:45:41.389 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=14] [concurrency=15] [2025/04/04 12:45:41.391 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=132] [physicalTableID=132] [indexID=-1] [checksum=11508402849382241477] [totalKvs=4] [totalBytes=132] [2025/04/04 12:45:41.391 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 12:45:41.391 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=14] [local="{cksum=11508402849382241477,size=132,kvs=4}"] [2025/04/04 12:45:41.391 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=14] [takeTime=2.642703ms] [] [2025/04/04 12:45:41.391 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=14] [takeTime=2.786126ms] [] [2025/04/04 12:45:41.391 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [subtaskID=14] [step=post-process] [takeTime=2.926531ms] [] [2025/04/04 12:45:41.404 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 12:45:41.484 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 12:45:41.485 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=7] [step=post-process] [state=running] [] [2025/04/04 12:45:41.487 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=7] [2025/04/04 12:45:41.515 +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=139.549904ms] [] [2025/04/04 12:45:41.515 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=7] [type=ImportInto] [2025/04/04 12:45:41.579 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=7] [2025/04/04 12:45:41.586 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 12:45:41.586 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=7] [2025/04/04 12:45:41.608 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 12:45:41.680 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.99825314\n# Parse_time: 0.000087444\n# Compile_time: 0.000482952\n# Rewrite_time: 0.000101469\n# Optimize_time: 0.000269292\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5Ny40bXMsIG9wZW46NzIybnMsIGNsb3NlOjkzMG5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk5Ny40bXMsIG9wZW46NzIybnMsIGNsb3NlOjkzMG5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\nuse zstd;\nIMPORT INTO `zstd`.`t` FROM 'gs://zstd/t.*?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1;"] --- PASS: TestImportInto/TestZStd (1.14s) === NAME TestImportInto [2025/04/04 12:45:41.688 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 12:45:41.688 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 12:45:41.688 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=6a6aa2cc-5d4c-42e3-b6bb-78803defca9b] [] [2025/04/04 12:45:41.688 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=6a6aa2cc-5d4c-42e3-b6bb-78803defca9b] [2025/04/04 12:45:41.688 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:45:41.688 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:45:41.689 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 12, tp general"] ["take time"=109.678µs] [2025/04/04 12:45:41.689 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 13, tp general"] ["take time"=90.862µs] [2025/04/04 12:45:41.689 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 14, tp general"] ["take time"=65.976µs] [2025/04/04 12:45:41.689 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 15, tp general"] ["take time"=47.307µs] [2025/04/04 12:45:41.689 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 16, tp general"] ["take time"=64.954µs] [2025/04/04 12:45:41.689 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 17, tp general"] ["take time"=80.627µs] [2025/04/04 12:45:41.689 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 18, tp general"] ["take time"=56.55µs] [2025/04/04 12:45:41.689 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 19, tp general"] ["take time"=37.815µs] [2025/04/04 12:45:41.689 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 20, tp general"] ["take time"=38.205µs] [2025/04/04 12:45:41.690 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 11, tp general"] ["take time"=37.53µs] [2025/04/04 12:45:41.690 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=6a6aa2cc-5d4c-42e3-b6bb-78803defca9b] [2025/04/04 12:45:41.690 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=6a6aa2cc-5d4c-42e3-b6bb-78803defca9b] [2025/04/04 12:45:41.691 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 12:45:41.691 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 12:45:41.696 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=6a6aa2cc-5d4c-42e3-b6bb-78803defca9b] ["take time"=8.306146ms] [2025/04/04 12:45:41.696 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=6a6aa2cc-5d4c-42e3-b6bb-78803defca9b] [2025/04/04 12:45:41.696 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 12:45:41.697 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/71038084-3720-4bec-93de-b974f02eee37] [watcherID=a98e2c45-ad93-4459-a03e-d44f0399ea67] [2025/04/04 12:45:41.697 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/04 12:45:41.697 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/71038084-3720-4bec-93de-b974f02eee37] [2025/04/04 12:45:41.697 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=6a6aa2cc-5d4c-42e3-b6bb-78803defca9b] [ttl-worker=task-manager] [ttl-worker=6a6aa2cc-5d4c-42e3-b6bb-78803defca9b] [originalCount=4] [newCount=0] [2025/04/04 12:45:41.697 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:45:41.697 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:45:41.697 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:45:41.697 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:45:41.697 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=6a6aa2cc-5d4c-42e3-b6bb-78803defca9b] [ttl-worker=task-manager] [ttl-worker=6a6aa2cc-5d4c-42e3-b6bb-78803defca9b] [originalCount=4] [newCount=0] [2025/04/04 12:45:41.700 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:45:41.700 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:45:41.700 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:45:41.701 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:45:41.703 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=6a6aa2cc-5d4c-42e3-b6bb-78803defca9b] [2025/04/04 12:45:41.703 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 12:45:41.704 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=385] [2025/04/04 12:45:41.704 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 12:45:41.704 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 12:45:41.704 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 12:45:41.704 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=6a6aa2cc-5d4c-42e3-b6bb-78803defca9b] [2025/04/04 12:45:41.704 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:45:41.704 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:45:41.704 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 12:45:41.704 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 12:45:41.704 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:45:41.704 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:45:41.704 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 12:45:41.704 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 12:45:41.704 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:45:41.704 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:45:41.704 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/04 12:45:41.704 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:45:41.704 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 12:45:41.704 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 12:45:41.704 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:45:41.704 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=6a6aa2cc-5d4c-42e3-b6bb-78803defca9b] [] [2025/04/04 12:45:41.704 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:45:41.704 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 12:45:41.704 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:45:41.704 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 12:45:41.704 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/04 12:45:41.704 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 12:45:41.704 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 12:45:41.704 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 12:45:41.704 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=9e249c58-5aee-442f-b7d7-a2cef6cca033] [] [2025/04/04 12:45:41.704 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:45:41.704 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:45:41.704 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:45:41.704 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:45:41.704 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/04 12:45:41.704 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:45:41.704 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:45:41.704 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 12:45:41.704 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 12:45:41.704 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 12:45:41.704 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 12:45:41.704 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:45:41.704 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:45:41.704 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 12:45:41.704 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:45:41.704 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:45:41.704 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:45:41.705 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:45:41.705 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 12:45:41.704 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 12:45:41.705 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:45:41.704 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 12:45:41.704 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/04 12:45:41.704 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:45:41.704 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:45:41.705 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:45:41.704 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 12:45:41.705 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:45:41.704 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=6a6aa2cc-5d4c-42e3-b6bb-78803defca9b] [2025/04/04 12:45:41.704 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 12:45:41.704 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 12:45:41.705 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:45:41.705 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=6a6aa2cc-5d4c-42e3-b6bb-78803defca9b] [2025/04/04 12:45:41.705 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:45:41.704 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:45:41.704 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 12:45:41.705 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=6a6aa2cc-5d4c-42e3-b6bb-78803defca9b] [2025/04/04 12:45:41.705 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:45:41.704 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:45:41.705 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:45:41.704 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:45:41.704 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=9e249c58-5aee-442f-b7d7-a2cef6cca033] [2025/04/04 12:45:41.704 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:45:41.705 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=9e249c58-5aee-442f-b7d7-a2cef6cca033] [2025/04/04 12:45:41.705 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:45:41.704 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:45:41.705 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=9e249c58-5aee-442f-b7d7-a2cef6cca033] [2025/04/04 12:45:41.704 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:45:41.705 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:45:41.705 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:45:41.705 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:45:41.705 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:45:41.705 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=6a6aa2cc-5d4c-42e3-b6bb-78803defca9b] [2025/04/04 12:45:41.705 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 12:45:41.705 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 12:45:41.706 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 12:45:41.706 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 12:45:41.706 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:45:41.707 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 12:45:41.707 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 12:45:41.707 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=9e249c58-5aee-442f-b7d7-a2cef6cca033] [daemon-id=LogBackup::Advancer] [2025/04/04 12:45:41.707 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:45:41.707 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 12:45:41.707 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/bindinfo/owner] [id=6a6aa2cc-5d4c-42e3-b6bb-78803defca9b] [] [2025/04/04 12:45:41.707 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:45:41.707 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/bindinfo/owner] [id=6a6aa2cc-5d4c-42e3-b6bb-78803defca9b] [2025/04/04 12:45:41.707 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/bindinfo/owner] [id=6a6aa2cc-5d4c-42e3-b6bb-78803defca9b] [2025/04/04 12:45:41.707 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=6a6aa2cc-5d4c-42e3-b6bb-78803defca9b] [2025/04/04 12:45:41.707 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:45:41.707 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 12:45:41.707 +00:00] [WARN] [txn.go:692] ["wait tso failed"] [error="context canceled"] [errorVerbose="context canceled\ngithub.com/tikv/pd/client/clients/tso.(*Request).waitCtx\n\texternal/com_github_tikv_pd_client/clients/tso/request.go:98\ngithub.com/tikv/pd/client/clients/tso.(*Request).Wait\n\texternal/com_github_tikv_pd_client/clients/tso/request.go:73\ngithub.com/tikv/client-go/v2/util.interceptedTsFuture.Wait\n\texternal/com_github_tikv_client_go_v2/util/pd_interceptor.go:81\ngithub.com/tikv/client-go/v2/oracle/oracles.(*tsFuture).Wait\n\texternal/com_github_tikv_client_go_v2/oracle/oracles/pd.go:239\ngithub.com/pingcap/tidb/pkg/session.(*txnFuture).wait\n\tpkg/session/txn.go:684\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).changePendingToValid\n\tpkg/session/txn.go:293\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Wait\n\tpkg/session/txn.go:609\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*baseTxnContextProvider).ActivateTxn\n\tpkg/sessiontxn/isolation/base.go:299\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*baseTxnContextProvider).GetStmtReadTS\n\tpkg/sessiontxn/isolation/base.go:189\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*OptimisticTxnContextProvider).GetStmtReadTS\n\tpkg/sessiontxn/isolation/optimistic.go:111\ngithub.com/pingcap/tidb/pkg/session.(*txnManager).GetStmtReadTS\n\tpkg/session/txnmanager.go:98\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).getSnapshotTS\n\tpkg/executor/builder.go:2142\ngithub.com/pingcap/tidb/pkg/executor.buildNoRangeIndexLookUpReader\n\tpkg/executor/builder.go:4137\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).buildIndexLookUpReader\n\tpkg/executor/builder.go:4198\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).build\n\tpkg/executor/builder.go:297\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).buildHashAgg\n\tpkg/executor/builder.go:1918\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).build\n\tpkg/executor/builder.go:275\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).buildProjection\n\tpkg/executor/builder.go:2090\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).build\n\tpkg/executor/builder.go:279\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).buildExecutor\n\tpkg/executor/adapter.go:1234\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:575\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/util/sqlexec.ExecSQL\n\tpkg/util/sqlexec/restricted_sql_executor.go:256\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).GetTaskExecInfoByExecID.func1\n\tpkg/disttask/framework/storage/task_table.go:317\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).WithNewSession\n\tpkg/disttask/framework/storage/task_table.go:169\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).GetTaskExecInfoByExecID\n\tpkg/disttask/framework/storage/task_table.go:313\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).handleTasks\n\tpkg/disttask/framework/taskexecutor/manager.go:172\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).handleTasksLoop\n\tpkg/disttask/framework/taskexecutor/manager.go:151\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:167\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700\ngithub.com/tikv/client-go/v2/oracle/oracles.(*tsFuture).Wait\n\texternal/com_github_tikv_client_go_v2/oracle/oracles/pd.go:242\ngithub.com/pingcap/tidb/pkg/session.(*txnFuture).wait\n\tpkg/session/txn.go:684\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).changePendingToValid\n\tpkg/session/txn.go:293\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Wait\n\tpkg/session/txn.go:609\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*baseTxnContextProvider).ActivateTxn\n\tpkg/sessiontxn/isolation/base.go:299\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*baseTxnContextProvider).GetStmtReadTS\n\tpkg/sessiontxn/isolation/base.go:189\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*OptimisticTxnContextProvider).GetStmtReadTS\n\tpkg/sessiontxn/isolation/optimistic.go:111\ngithub.com/pingcap/tidb/pkg/session.(*txnManager).GetStmtReadTS\n\tpkg/session/txnmanager.go:98\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).getSnapshotTS\n\tpkg/executor/builder.go:2142\ngithub.com/pingcap/tidb/pkg/executor.buildNoRangeIndexLookUpReader\n\tpkg/executor/builder.go:4137\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).buildIndexLookUpReader\n\tpkg/executor/builder.go:4198\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).build\n\tpkg/executor/builder.go:297\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).buildHashAgg\n\tpkg/executor/builder.go:1918\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).build\n\tpkg/executor/builder.go:275\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).buildProjection\n\tpkg/executor/builder.go:2090\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).build\n\tpkg/executor/builder.go:279\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).buildExecutor\n\tpkg/executor/adapter.go:1234\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:575\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/util/sqlexec.ExecSQL\n\tpkg/util/sqlexec/restricted_sql_executor.go:256\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).GetTaskExecInfoByExecID.func1\n\tpkg/disttask/framework/storage/task_table.go:317\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).WithNewSession\n\tpkg/disttask/framework/storage/task_table.go:169\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).GetTaskExecInfoByExecID\n\tpkg/disttask/framework/storage/task_table.go:313\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).handleTasks\n\tpkg/disttask/framework/taskexecutor/manager.go:172\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).handleTasksLoop\n\tpkg/disttask/framework/taskexecutor/manager.go:151\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:167\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:45:41.710 +00:00] [ERROR] [select_result.go:556] ["invalid cop task execution summaries length"] [expected=1] [received=0] [stack="github.com/pingcap/tidb/pkg/distsql.(*selectResult).updateCopRuntimeStats\n\tpkg/distsql/select_result.go:556\ngithub.com/pingcap/tidb/pkg/distsql.(*selectResult).Close\n\tpkg/distsql/select_result.go:611\ngithub.com/pingcap/tidb/pkg/executor.(*IndexLookUpExecutor).startIndexWorker.func1\n\tpkg/executor/distsql.go:810\ngithub.com/pingcap/tidb/pkg/executor.(*workerPool).run\n\tpkg/executor/utils.go:243"] [2025/04/04 12:45:41.710 +00:00] [ERROR] [manager.go:373] ["task manager met error"] [server-id=:4000] [error="[127.0.0.1:20160](1) context canceled"] [errorVerbose="[127.0.0.1:20160](1) context canceled\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/store/driver/error.ToTiDBErr\n\tpkg/store/driver/error/error.go:208\ngithub.com/pingcap/tidb/pkg/store/copr.(*copIteratorWorker).handleTaskOnce\n\tpkg/store/copr/coprocessor.go:1425\ngithub.com/pingcap/tidb/pkg/store/copr.(*liteCopIteratorWorker).liteSendReq\n\tpkg/store/copr/coprocessor.go:1197\ngithub.com/pingcap/tidb/pkg/store/copr.(*copIterator).Next\n\tpkg/store/copr/coprocessor.go:1112\ngithub.com/pingcap/tidb/pkg/distsql.(*selectResult).fetchResp\n\tpkg/distsql/select_result.go:317\ngithub.com/pingcap/tidb/pkg/distsql.(*selectResult).Next\n\tpkg/distsql/select_result.go:382\ngithub.com/pingcap/tidb/pkg/executor.(*indexWorker).extractTaskHandles\n\tpkg/executor/distsql.go:1142\ngithub.com/pingcap/tidb/pkg/executor.(*indexWorker).fetchHandles\n\tpkg/executor/distsql.go:1064\ngithub.com/pingcap/tidb/pkg/executor.(*IndexLookUpExecutor).startIndexWorker.func1\n\tpkg/executor/distsql.go:807\ngithub.com/pingcap/tidb/pkg/executor.(*workerPool).run\n\tpkg/executor/utils.go:243\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).logErr\n\tpkg/disttask/framework/taskexecutor/manager.go:373\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).handleTasks\n\tpkg/disttask/framework/taskexecutor/manager.go:174\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).handleTasksLoop\n\tpkg/disttask/framework/taskexecutor/manager.go:151\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:167"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).logErr\n\tpkg/disttask/framework/taskexecutor/manager.go:373\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).handleTasks\n\tpkg/disttask/framework/taskexecutor/manager.go:174\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).handleTasksLoop\n\tpkg/disttask/framework/taskexecutor/manager.go:151\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:167"] [2025/04/04 12:45:41.710 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 12:45:41.710 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 12:45:41.711 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:45:41.766 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=6a6aa2cc-5d4c-42e3-b6bb-78803defca9b] [error="context canceled"] [2025/04/04 12:45:41.766 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 12:45:41.766 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:45:41.777 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=88.654358ms] [2025/04/04 12:45:41.779 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:45:41.779 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:45:41.779 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:45:41.779 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:45:41.779 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:45:41.779 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:45:41.779 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:45:41.779 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:41.779 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-1] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:45:41.779 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:41.779 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:41.779 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:45:41.781 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestImportInto (12.65s) === NAME PASS ================================================================================ Target //tests/realtikvtest/importintotest3:importintotest3_test up-to-date: bazel-bin/tests/realtikvtest/importintotest3/importintotest3_test_/importintotest3_test INFO: Elapsed time: 58.923s, Critical Path: 41.12s INFO: 4637 processes: 4615 remote cache hit, 13 internal, 9 linux-sandbox. INFO: Build completed successfully, 4637 total actions //tests/realtikvtest/importintotest3:importintotest3_test PASSED in 16.3s PASSED importintotest3_test.TestImportInto (12.7s) PASSED importintotest3_test.TestImportInto/TestGzipAndMixedCompression (2.7s) PASSED importintotest3_test.TestImportInto/TestImportFromServer (2.7s) PASSED importintotest3_test.TestImportInto/TestSnappy (1.1s) PASSED importintotest3_test.TestImportInto/TestZStd (1.1s) Test cases: finished with 5 passing and 0 failing out of 5 test cases Executed 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,749 / 4,750] GoLink tests/realtikvtest/importintotest/importintotest_test_/importintotest_test; 10s 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,749 / 4,750] GoLink tests/realtikvtest/importintotest/importintotest_test_/importintotest_test; 11s remote-cache, linux-sandbox ./t/ddl/modify_column.test: ok! 672 test cases passed, take time 14.978308844 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/04 12:45:30.659 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 12:45:30.660 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 12:45:30.661 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437829623651060] [2025/04/04 12:45:30.662 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:45:30.662 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 12:45:30.663 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:45:30.663 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:45:30.663 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:45:30.663 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:45:30.663 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:45:30.664 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:45:30.669 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 12:45:30.676 +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/04 12:45:30.676 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=4] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:45:30.677 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=5] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:45:30.701 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/04 12:45:30.701 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/04 12:45:30.707 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/04 12:45:30.707 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/04 12:45:30.719 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/04 12:45:30.744 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489437829623651060] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 12:45:30.767 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 12:45:30.811 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1174] ["lease id"=3eaa9600d42da6f3] [2025/04/04 12:45:30.814 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/04 12:45:30.820 +00:00] [WARN] [domain.go:318] ["failed to get schema version"] [error="There is no Write MVCC info for the schema version"] [errorVerbose="There is no Write MVCC info for the schema version\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:448\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:316\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init\n\tpkg/domain/domain.go:1506\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).getWithEtcdClient.func1\n\tpkg/session/tidb.go:104\ngithub.com/pingcap/tidb/pkg/util.RunWithRetry\n\tpkg/util/misc.go:72\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).getWithEtcdClient\n\tpkg/session/tidb.go:91\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).Get\n\tpkg/session/tidb.go:66\ngithub.com/pingcap/tidb/pkg/session.createSessionWithOpt\n\tpkg/session/session.go:3794\ngithub.com/pingcap/tidb/pkg/session.createSession\n\tpkg/session/session.go:3786\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3722\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3477\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/importintotest2/importintotest2_test.(*mockGCSSuite).SetupSuite\n\ttests/realtikvtest/importintotest2/main_test.go:63\ngithub.com/stretchr/testify/suite.Run\n\texternal/com_github_stretchr_testify/suite/suite.go:157\ntests/realtikvtest/importintotest2/importintotest2_test.TestImportInto\n\ttests/realtikvtest/importintotest2/main_test.go:48\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [version=0] [2025/04/04 12:45:30.923 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=0] ["elapsed time"=102.646095ms] [2025/04/04 12:45:30.923 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 12:45:30.924 +00:00] [INFO] [ddl.go:964] ["change job version in use"] [category=ddl] [old=v1] [new=v2] [2025/04/04 12:45:30.924 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=3a6e8a2b-9ff5-4bff-b8ce-202c0275c3fc] [runWorker=true] [jobVersion=v2] [2025/04/04 12:45:30.924 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 12:45:30.926 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=3a6e8a2b-9ff5-4bff-b8ce-202c0275c3fc] [2025/04/04 12:45:30.928 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 12:45:30.928 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 265980346368/468329922560, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 12:45:30.928 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:45:30.928 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:45:30.928 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:45:30.928 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:45:30.928 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:45:30.928 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:45:30.928 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:45:30.928 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:45:30.928 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:45:30.928 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:45:30.928 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 12:45:30.929 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 12:45:30.929 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=14ac25be-e95f-4af1-af5c-4a6a8e3cc837] [2025/04/04 12:45:30.930 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f189600d42dab5b] [ownerID=3a6e8a2b-9ff5-4bff-b8ce-202c0275c3fc] [op=none] [2025/04/04 12:45:30.930 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=3a6e8a2b-9ff5-4bff-b8ce-202c0275c3fc] [2025/04/04 12:45:30.931 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=3a6e8a2b-9ff5-4bff-b8ce-202c0275c3fc] [ownerKey=/tidb/ddl/fg/owner/6f189600d42dab5b] [currRev=94] [2025/04/04 12:45:30.932 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:45:30.932 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 12:45:30.932 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=14ac25be-e95f-4af1-af5c-4a6a8e3cc837] [daemon-id=LogBackup::Advancer] [2025/04/04 12:45:30.932 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/22319600d42da5eb] [ownerID=14ac25be-e95f-4af1-af5c-4a6a8e3cc837] [op=none] [2025/04/04 12:45:30.932 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=14ac25be-e95f-4af1-af5c-4a6a8e3cc837] [2025/04/04 12:45:30.932 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=14ac25be-e95f-4af1-af5c-4a6a8e3cc837] [ownerKey=/tidb/br-stream/owner/22319600d42da5eb] [currRev=95] [2025/04/04 12:45:30.933 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f189600d42dab5b] [ownerID=3a6e8a2b-9ff5-4bff-b8ce-202c0275c3fc] [op=none] [2025/04/04 12:45:30.933 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=3a6e8a2b-9ff5-4bff-b8ce-202c0275c3fc] [op=none] [2025/04/04 12:45:30.933 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 12:45:30.935 +00:00] [WARN] [domain.go:318] ["failed to get schema version"] [error="There is no Write MVCC info for the schema version"] [errorVerbose="There is no Write MVCC info for the schema version\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:448\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:316\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/ddl.(*jobScheduler).mustReloadSchemas\n\tpkg/ddl/job_scheduler.go:455\ngithub.com/pingcap/tidb/pkg/ddl.(*jobScheduler).schedule\n\tpkg/ddl/job_scheduler.go:301\ngithub.com/pingcap/tidb/pkg/ddl.(*jobScheduler).scheduleLoop\n\tpkg/ddl/job_scheduler.go:268\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [version=0] [2025/04/04 12:45:30.952 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:30.911 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE IF NOT EXISTS test"] [2025/04/04 12:45:30.952 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:30.911 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:30.957 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=3] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:30.911 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:31.095 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=1] ["elapsed time"=121.429967ms] [2025/04/04 12:45:31.095 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 12:45:31.101 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:31.101 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1] [2025/04/04 12:45:31.103 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=1] ["take time"=131.225021ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:30.911 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:31.117 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=3] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:30.911 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:31.131 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=3] [2025/04/04 12:45:31.132 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2025/04/04 12:45:31.133 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2025/04/04 12:45:31.137 +00:00] [INFO] [helper.go:189] ["set random timezone for getStmtTimestamp"] [timezone=America/Los_Angeles] [2025/04/04 12:45:31.162 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:31.11 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:31.162 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:31.11 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_reuse_history smallint unsigned DEFAULT NULL,\n\t\tPassword_reuse_time smallint unsigned DEFAULT NULL,\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPassword_expired\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_last_changed\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP(),\n\t\tPassword_lifetime\t\tSMALLINT UNSIGNED DEFAULT NULL,\n\t\tMax_user_connections \tINT UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (Host, User),\n\t\tKEY i_user (User));"] [2025/04/04 12:45:31.171 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=5] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:31.11 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:31.228 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=1] [neededSchemaVersion=2] ["elapsed time"=7.618032ms] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:31.231 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:31.232 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2] [2025/04/04 12:45:31.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=2] ["take time"=15.173513ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:31.11 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:31.253 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=5] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:31.11 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:31.289 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=5] [2025/04/04 12:45:31.289 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=2] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_reuse_history smallint unsigned DEFAULT NULL,\n\t\tPassword_reuse_time smallint unsigned DEFAULT NULL,\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPassword_expired\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_last_changed\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP(),\n\t\tPassword_lifetime\t\tSMALLINT UNSIGNED DEFAULT NULL,\n\t\tMax_user_connections \tINT UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (Host, User),\n\t\tKEY i_user (User));"] [user=] [2025/04/04 12:45:31.304 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:31.26 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:31.304 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:31.26 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.password_history (\n Host char(255) NOT NULL DEFAULT '',\n User char(32) NOT NULL DEFAULT '',\n Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n Password text,\n PRIMARY KEY (Host,User,Password_timestamp )\n ) COMMENT='Password history for user accounts' "] [2025/04/04 12:45:31.309 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=7] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:31.26 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:31.328 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=2] [neededSchemaVersion=3] ["elapsed time"=1.925099ms] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:31.331 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:31.331 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3] [2025/04/04 12:45:31.333 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=3] ["take time"=8.649163ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:31.26 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:31.344 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=7] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:31.26 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:31.356 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=7] [2025/04/04 12:45:31.356 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=3] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.password_history (\n Host char(255) NOT NULL DEFAULT '',\n User char(32) NOT NULL DEFAULT '',\n Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n Password text,\n PRIMARY KEY (Host,User,Password_timestamp )\n ) COMMENT='Password history for user accounts' "] [user=] [2025/04/04 12:45:31.370 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:31.36 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:31.370 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:31.36 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User),KEY i_user (User))"] [2025/04/04 12:45:31.375 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=9] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:31.36 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:31.395 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=3] [neededSchemaVersion=4] ["elapsed time"=1.945978ms] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:31.398 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:31.398 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4] [2025/04/04 12:45:31.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=4] ["take time"=8.903623ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:31.36 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:31.412 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=9] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:31.36 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:31.425 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=9] [2025/04/04 12:45:31.425 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=4] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User),KEY i_user (User))"] [user=] [2025/04/04 12:45:31.446 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:31.41 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:31.446 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:31.41 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User),\n\t\tKEY i_user (User));"] [2025/04/04 12:45:31.453 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=11] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:31.41 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:31.492 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=4] [neededSchemaVersion=5] ["elapsed time"=4.27715ms] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:31.496 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:31.496 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5] [2025/04/04 12:45:31.498 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=5] ["take time"=11.237307ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:31.41 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:31.511 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=11] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:31.41 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:31.533 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=11] [2025/04/04 12:45:31.533 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=5] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User),\n\t\tKEY i_user (User));"] [user=] [2025/04/04 12:45:31.550 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:31.51 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:31.550 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:31.51 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name),\n\t\tKEY i_user (User));"] [2025/04/04 12:45:31.556 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=13] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:31.51 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:31.580 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=5] [neededSchemaVersion=6] ["elapsed time"=2.743338ms] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:31.583 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:31.583 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6] [2025/04/04 12:45:31.585 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=6] ["take time"=9.716913ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:31.51 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:31.597 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=13] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:31.51 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:31.612 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=13] [2025/04/04 12:45:31.613 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=6] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name),\n\t\tKEY i_user (User));"] [user=] [2025/04/04 12:45:31.628 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:31.611 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:31.628 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:31.611 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tColumn_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name),\n\t\tKEY i_user (User));"] [2025/04/04 12:45:31.634 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=15] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:31.611 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:31.657 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=6] [neededSchemaVersion=7] ["elapsed time"=2.529658ms] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:31.660 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:31.660 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7] [2025/04/04 12:45:31.662 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=7] ["take time"=9.067965ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:31.611 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:31.673 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=15] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:31.611 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:31.689 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=15] [2025/04/04 12:45:31.689 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=7] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tColumn_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name),\n\t\tKEY i_user (User));"] [user=] [2025/04/04 12:45:31.702 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:31.66 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:31.702 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:31.66 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(16383) DEFAULT NULL);"] [2025/04/04 12:45:31.708 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=17] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:31.66 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:31.725 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=7] [neededSchemaVersion=8] ["elapsed time"=1.605699ms] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:31.728 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:31.728 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8] [2025/04/04 12:45:31.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=8] ["take time"=7.982963ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:31.66 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:31.740 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=17] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:31.66 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:31.753 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=17] [2025/04/04 12:45:31.753 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=8] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(16383) DEFAULT NULL);"] [user=] [2025/04/04 12:45:31.767 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:31.711 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:31.767 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:31.711 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [2025/04/04 12:45:31.772 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=19] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:31.711 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:31.792 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=8] [neededSchemaVersion=9] ["elapsed time"=1.871533ms] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:31.795 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:31.795 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9] [2025/04/04 12:45:31.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=9] ["take time"=9.099375ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:31.711 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:31.808 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=19] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:31.711 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:31.820 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=19] [2025/04/04 12:45:31.820 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=9] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [user=] [2025/04/04 12:45:31.835 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:31.811 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:31.835 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:31.811 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [2025/04/04 12:45:31.841 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=21] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:31.811 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:31.862 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=9] [neededSchemaVersion=10] ["elapsed time"=2.193381ms] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:31.865 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:31.865 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10] [2025/04/04 12:45:31.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=10] ["take time"=9.019582ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:31.811 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:31.879 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=21] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:31.811 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:31.892 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=21] [2025/04/04 12:45:31.892 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=10] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [user=] [2025/04/04 12:45:31.907 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:31.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:31.907 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:31.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [2025/04/04 12:45:31.912 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=23] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:31.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:31.929 +00:00] [WARN] [runaway.go:85] ["failed to start runaway manager loop, please check whether the bootstrap or update is finished"] [error="[schema:1146]Table 'mysql.tidb_runaway_watch' doesn't exist"] [errorVerbose="[schema:1146]Table 'mysql.tidb_runaway_watch' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternalStmt\n\tpkg/session/session.go:2019\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1984\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1970\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1974\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.ExecRCRestrictedSQL\n\tpkg/resourcegroup/runaway/record.go:382\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*systemTableReader).Read\n\tpkg/resourcegroup/runaway/syncer.go:192\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.getRunawayWatchRecord\n\tpkg/resourcegroup/runaway/syncer.go:76\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*syncer).getWatchRecord\n\tpkg/resourcegroup/runaway/syncer.go:67\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*syncer).getNewWatchRecords\n\tpkg/resourcegroup/runaway/syncer.go:59\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*Manager).UpdateNewAndDoneWatch\n\tpkg/resourcegroup/runaway/manager.go:402\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).runawayStartLoop\n\tpkg/domain/runaway.go:75\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:45:31.932 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=10] [neededSchemaVersion=11] ["elapsed time"=2.167243ms] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:31.935 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:31.936 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11] [2025/04/04 12:45:31.937 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=11] ["take time"=7.907054ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:31.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:31.949 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=23] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:31.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:31.962 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=23] [2025/04/04 12:45:31.962 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=11] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [user=] [2025/04/04 12:45:31.964 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl] [2025/04/04 12:45:31.980 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:31.96 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:31.980 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:31.96 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [2025/04/04 12:45:31.986 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=25] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:31.96 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.015 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=11] [neededSchemaVersion=12] ["elapsed time"=3.246114ms] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:32.018 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:32.018 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12] [2025/04/04 12:45:32.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=12] ["take time"=10.459866ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:31.96 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.033 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=25] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:31.96 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.051 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=25] [2025/04/04 12:45:32.051 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=12] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2025/04/04 12:45:32.066 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:32.066 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [2025/04/04 12:45:32.072 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=27] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:32.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.096 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=12] [neededSchemaVersion=13] ["elapsed time"=2.622247ms] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:32.100 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:32.100 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13] [2025/04/04 12:45:32.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=13] ["take time"=9.366926ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.113 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=27] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:32.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.128 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=27] [2025/04/04 12:45:32.128 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=13] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [user=] [2025/04/04 12:45:32.144 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.111 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:32.144 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.111 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [2025/04/04 12:45:32.149 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=29] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:32.111 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.172 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=13] [neededSchemaVersion=14] ["elapsed time"=2.114289ms] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:32.175 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:32.175 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14] [2025/04/04 12:45:32.177 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=14] ["take time"=9.368856ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.111 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.192 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=29] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:32.111 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.206 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=29] [2025/04/04 12:45:32.206 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=14] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [user=] [2025/04/04 12:45:32.220 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.211 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:32.220 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.211 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [2025/04/04 12:45:32.226 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=31] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:32.211 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.247 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=14] [neededSchemaVersion=15] ["elapsed time"=2.147822ms] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:32.250 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:32.250 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15] [2025/04/04 12:45:32.252 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=15] ["take time"=9.117967ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.211 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.263 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=31] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:32.211 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.276 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=31] [2025/04/04 12:45:32.277 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=15] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [user=] [2025/04/04 12:45:32.290 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.26 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:32.290 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.26 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [2025/04/04 12:45:32.296 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=33] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:32.26 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.314 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=15] [neededSchemaVersion=16] ["elapsed time"=1.833036ms] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:32.318 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:32.318 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16] [2025/04/04 12:45:32.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=16] ["take time"=8.270219ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.26 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.330 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=33] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:32.26 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.342 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=33] [2025/04/04 12:45:32.342 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=16] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [user=] [2025/04/04 12:45:32.357 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.31 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:32.357 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.31 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [2025/04/04 12:45:32.362 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=35] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:32.31 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.382 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=16] [neededSchemaVersion=17] ["elapsed time"=2.044545ms] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:32.385 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:32.385 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17] [2025/04/04 12:45:32.387 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=17] ["take time"=9.106013ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.31 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.398 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=35] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:32.31 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.411 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=35] [2025/04/04 12:45:32.411 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=17] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [user=] [2025/04/04 12:45:32.426 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.41 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:32.426 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.41 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER),\n\t\tKEY i_user (USER))"] [2025/04/04 12:45:32.431 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=37] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:32.41 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.452 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=17] [neededSchemaVersion=18] ["elapsed time"=2.18983ms] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:32.455 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:32.455 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18] [2025/04/04 12:45:32.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=18] ["take time"=8.892461ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.41 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.467 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=37] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:32.41 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.480 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=37] [2025/04/04 12:45:32.481 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=18] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER),\n\t\tKEY i_user (USER))"] [user=] [2025/04/04 12:45:32.498 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.461 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:32.498 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.461 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql LONGTEXT NOT NULL,\n\t\tbind_sql LONGTEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tsql_digest varchar(64) DEFAULT NULL,\n\t\tplan_digest varchar(64) DEFAULT NULL,\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\",\n\t\tUNIQUE INDEX digest_index(plan_digest, sql_digest) COMMENT \"avoid duplicated records\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2025/04/04 12:45:32.504 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=39] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:32.461 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.531 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=18] [neededSchemaVersion=19] ["elapsed time"=3.180191ms] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:32.534 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:32.534 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19] [2025/04/04 12:45:32.536 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=19] ["take time"=9.980161ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.461 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.554 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=39] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:32.461 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.571 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=39] [2025/04/04 12:45:32.571 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=19] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql LONGTEXT NOT NULL,\n\t\tbind_sql LONGTEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tsql_digest varchar(64) DEFAULT NULL,\n\t\tplan_digest varchar(64) DEFAULT NULL,\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\",\n\t\tUNIQUE INDEX digest_index(plan_digest, sql_digest) COMMENT \"avoid duplicated records\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2025/04/04 12:45:32.593 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.561 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:32.593 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.561 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [2025/04/04 12:45:32.599 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=41] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:32.561 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.619 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=19] [neededSchemaVersion=20] ["elapsed time"=2.114487ms] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:32.623 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:32.623 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20] [2025/04/04 12:45:32.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=20] ["take time"=9.125545ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.561 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.635 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=41] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:32.561 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.649 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=41] [2025/04/04 12:45:32.649 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=20] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2025/04/04 12:45:32.662 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.61 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:32.662 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.61 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [2025/04/04 12:45:32.667 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=43] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:32.61 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.669 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/04 12:45:32.688 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=20] [neededSchemaVersion=21] ["elapsed time"=1.801962ms] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:32.691 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:32.691 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21] [2025/04/04 12:45:32.693 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=21] ["take time"=11.103514ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.61 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.703 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=43] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:32.61 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.716 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=43] [2025/04/04 12:45:32.716 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=21] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [user=] [2025/04/04 12:45:32.728 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.71 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:32.728 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.71 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [2025/04/04 12:45:32.733 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=45] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:32.71 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.750 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=21] [neededSchemaVersion=22] ["elapsed time"=1.459986ms] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:32.753 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:32.753 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22] [2025/04/04 12:45:32.755 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=22] ["take time"=7.959844ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.71 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.765 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=45] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:32.71 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.776 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=45] [2025/04/04 12:45:32.776 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=22] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [user=] [2025/04/04 12:45:32.792 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.76 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:32.792 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.76 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [2025/04/04 12:45:32.797 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=47] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:32.76 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.820 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=22] [neededSchemaVersion=23] ["elapsed time"=2.556252ms] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:32.823 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:32.823 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23] [2025/04/04 12:45:32.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=23] ["take time"=9.351392ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.76 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.837 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=47] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:32.76 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.852 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=47] [2025/04/04 12:45:32.853 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=23] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [user=] [2025/04/04 12:45:32.866 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.81 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:32.866 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.81 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [2025/04/04 12:45:32.872 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=49] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:32.81 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.892 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=23] [neededSchemaVersion=24] ["elapsed time"=2.004476ms] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:32.896 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:32.896 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24] [2025/04/04 12:45:32.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=24] ["take time"=8.836042ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.81 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.908 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=49] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:32.81 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.922 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=49] [2025/04/04 12:45:32.923 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=24] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2025/04/04 12:45:32.928 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/04 12:45:32.929 +00:00] [WARN] [info.go:562] ["response not 200"] [method=GET] [host=127.0.0.1:2384] [url=/pd/api/v1/config/rule_group/tiflash] ["http status"=404] [2025/04/04 12:45:32.940 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.91 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:32.940 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.91 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV),\n\t\tKEY i_user (USER)\n\t);"] [2025/04/04 12:45:32.946 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=51] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:32.91 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.967 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=24] [neededSchemaVersion=25] ["elapsed time"=2.029141ms] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:32.970 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:32.970 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25] [2025/04/04 12:45:32.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=25] ["take time"=8.744704ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.91 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.983 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=51] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:32.91 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.995 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=51] [2025/04/04 12:45:32.996 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=25] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV),\n\t\tKEY i_user (USER)\n\t);"] [user=] [2025/04/04 12:45:33.009 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.96 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:33.009 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.96 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [2025/04/04 12:45:33.015 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=53] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:32.96 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.034 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=25] [neededSchemaVersion=26] ["elapsed time"=1.863776ms] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:33.037 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:33.037 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26] [2025/04/04 12:45:33.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=26] ["take time"=8.734859ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.96 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.049 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=53] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:32.96 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.062 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=53] [2025/04/04 12:45:33.062 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=26] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [user=] [2025/04/04 12:45:33.076 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.06 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [2025/04/04 12:45:33.076 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.06 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:33.081 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=55] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.06 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.101 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=26] [neededSchemaVersion=27] ["elapsed time"=1.946284ms] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:33.104 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:33.104 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27] [2025/04/04 12:45:33.106 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=27] ["take time"=9.060204ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.06 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.117 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=55] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.06 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.129 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=55] [2025/04/04 12:45:33.130 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=27] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [user=] [2025/04/04 12:45:33.144 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.11 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:33.144 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.11 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [2025/04/04 12:45:33.149 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=57] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.11 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.169 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=27] [neededSchemaVersion=28] ["elapsed time"=1.915754ms] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:33.172 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:33.172 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28] [2025/04/04 12:45:33.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=28] ["take time"=8.649781ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.11 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.184 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=57] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.11 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.197 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=57] [2025/04/04 12:45:33.197 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=28] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [user=] [2025/04/04 12:45:33.199 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl] [2025/04/04 12:45:33.213 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.16 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:33.213 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.16 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [2025/04/04 12:45:33.218 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=59] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.16 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.240 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=28] [neededSchemaVersion=29] ["elapsed time"=2.209974ms] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:33.243 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:33.243 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29] [2025/04/04 12:45:33.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=29] ["take time"=8.949778ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.16 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.256 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=59] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.16 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.269 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=59] [2025/04/04 12:45:33.269 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=29] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [user=] [2025/04/04 12:45:33.284 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.261 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:33.284 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.261 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [2025/04/04 12:45:33.289 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=61] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.261 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.311 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=29] [neededSchemaVersion=30] ["elapsed time"=2.422433ms] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:33.314 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:33.315 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30] [2025/04/04 12:45:33.316 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=30] ["take time"=9.291334ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.261 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.328 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=61] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.261 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.341 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=61] [2025/04/04 12:45:33.341 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=30] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2025/04/04 12:45:33.356 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.311 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:33.356 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.311 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [2025/04/04 12:45:33.362 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=63] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.311 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.384 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=30] [neededSchemaVersion=31] ["elapsed time"=2.41859ms] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:33.387 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:33.387 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31] [2025/04/04 12:45:33.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=31] ["take time"=9.233621ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.311 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.401 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=63] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.311 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.415 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=63] [2025/04/04 12:45:33.415 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=31] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2025/04/04 12:45:33.433 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.411 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:33.433 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.411 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time),\n\t\tINDEX idx_schema_table_state (table_schema, table_name, state),\n\t\tINDEX idx_schema_table_partition_state (table_schema, table_name, partition_name, state)\n\t);"] [2025/04/04 12:45:33.440 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=65] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.411 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.469 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=31] [neededSchemaVersion=32] ["elapsed time"=3.355124ms] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:33.472 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:33.472 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32] [2025/04/04 12:45:33.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=32] ["take time"=10.326248ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.411 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.487 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=65] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.411 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.504 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=65] [2025/04/04 12:45:33.504 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=32] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time),\n\t\tINDEX idx_schema_table_state (table_schema, table_name, state),\n\t\tINDEX idx_schema_table_partition_state (table_schema, table_name, partition_name, state)\n\t);"] [user=] [2025/04/04 12:45:33.517 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:33.517 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [2025/04/04 12:45:33.522 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=67] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.540 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=32] [neededSchemaVersion=33] ["elapsed time"=1.565958ms] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:33.543 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:33.543 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33] [2025/04/04 12:45:33.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=33] ["take time"=8.595272ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.555 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=67] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.567 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=67] [2025/04/04 12:45:33.567 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=33] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [user=] [2025/04/04 12:45:33.585 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.561 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:33.585 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.561 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE OR REPLACE SQL SECURITY INVOKER VIEW mysql.tidb_mdl_view as (\n\t\tSELECT tidb_mdl_info.job_id,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.schema_name\")) as db_name,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.table_name\")) as table_name,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.query\")) as query,\n\t\t\tsession_id,\n\t\t\tcluster_tidb_trx.start_time,\n\t\t\ttidb_decode_sql_digests(all_sql_digests, 4096) AS SQL_DIGESTS\n\t\tFROM mysql.tidb_ddl_job,\n\t\t\tmysql.tidb_mdl_info,\n\t\t\tinformation_schema.cluster_tidb_trx\n\t\tWHERE tidb_ddl_job.job_id=tidb_mdl_info.job_id\n\t\t\tAND CONCAT(',', tidb_mdl_info.table_ids, ',') REGEXP CONCAT(',(', REPLACE(cluster_tidb_trx.related_table_ids, ',', '|'), '),') != 0\n\t);"] [2025/04/04 12:45:33.594 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=69] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.561 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.619 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=33] [neededSchemaVersion=34] ["elapsed time"=2.469763ms] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2025/04/04 12:45:33.623 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:33.623 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34] [2025/04/04 12:45:33.625 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=34] ["take time"=10.246776ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.561 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.637 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=69] [job="ID:69, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.561 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.653 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=69] [2025/04/04 12:45:33.669 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.611 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:33.669 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.611 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [2025/04/04 12:45:33.675 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=71] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.611 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.698 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=34] [neededSchemaVersion=35] ["elapsed time"=2.328444ms] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:33.701 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:33.701 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35] [2025/04/04 12:45:33.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=35] ["take time"=9.424899ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.611 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.719 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=71] [job="ID:71, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.611 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.733 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=71] [2025/04/04 12:45:33.733 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=35] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [user=] [2025/04/04 12:45:33.747 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.71 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:33.747 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.71 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [2025/04/04 12:45:33.752 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=73] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.71 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.771 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=35] [neededSchemaVersion=36] ["elapsed time"=1.802836ms] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:33.774 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:33.774 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36] [2025/04/04 12:45:33.776 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=36] ["take time"=8.623157ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.71 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.787 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=73] [job="ID:73, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.71 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.799 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=73] [2025/04/04 12:45:33.799 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=36] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [user=] [2025/04/04 12:45:33.817 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.76 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:33.817 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.76 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [2025/04/04 12:45:33.823 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=75] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.76 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.843 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=36] [neededSchemaVersion=37] ["elapsed time"=1.864307ms] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:33.846 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:33.846 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37] [2025/04/04 12:45:33.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=37] ["take time"=8.892265ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.76 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.859 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=75] [job="ID:75, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.76 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.872 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=75] [2025/04/04 12:45:33.872 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=37] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [user=] [2025/04/04 12:45:33.890 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:33.890 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [2025/04/04 12:45:33.896 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=77] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.925 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=37] [neededSchemaVersion=38] ["elapsed time"=3.418688ms] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:33.928 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:33.928 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38] [2025/04/04 12:45:33.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=38] ["take time"=10.425037ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.943 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=77] [job="ID:77, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.961 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=77] [2025/04/04 12:45:33.962 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=38] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [user=] [2025/04/04 12:45:33.979 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.96 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:33.979 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.96 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [2025/04/04 12:45:33.985 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=79] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.96 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.013 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=38] [neededSchemaVersion=39] ["elapsed time"=3.28257ms] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:34.016 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:34.016 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39] [2025/04/04 12:45:34.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=39] ["take time"=10.220858ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.96 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.031 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=79] [job="ID:79, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.96 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.048 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=79] [2025/04/04 12:45:34.049 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=39] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [user=] [2025/04/04 12:45:34.067 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:34.067 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [2025/04/04 12:45:34.073 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=81] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.103 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=39] [neededSchemaVersion=40] ["elapsed time"=3.437599ms] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:34.106 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:34.106 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40] [2025/04/04 12:45:34.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=40] ["take time"=10.080421ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.120 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=81] [job="ID:81, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.138 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=81] [2025/04/04 12:45:34.139 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=40] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [user=] [2025/04/04 12:45:34.158 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.111 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:34.158 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.111 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [2025/04/04 12:45:34.164 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=83] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.111 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.196 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=40] [neededSchemaVersion=41] ["elapsed time"=3.823889ms] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:34.199 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:34.199 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41] [2025/04/04 12:45:34.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=41] ["take time"=10.743629ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.111 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.214 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=83] [job="ID:83, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.111 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.233 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=83] [2025/04/04 12:45:34.234 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=41] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2025/04/04 12:45:34.252 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.211 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:34.252 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.211 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task_history (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [2025/04/04 12:45:34.259 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=85] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.211 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.290 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=41] [neededSchemaVersion=42] ["elapsed time"=3.681794ms] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:34.294 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:34.294 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42] [2025/04/04 12:45:34.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=42] ["take time"=10.676667ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.211 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.309 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=85] [job="ID:85, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.211 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.327 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=85] [2025/04/04 12:45:34.328 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=42] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task_history (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2025/04/04 12:45:34.345 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.311 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:34.345 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.311 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_import_jobs (\n\t\tid bigint(64) NOT NULL AUTO_INCREMENT,\n\t\tcreate_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n\t\tstart_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tupdate_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tend_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\ttable_schema VARCHAR(64) NOT NULL,\n\t\ttable_name VARCHAR(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcreated_by VARCHAR(300) NOT NULL,\n\t\tparameters text NOT NULL,\n\t\tsource_file_size bigint(64) NOT NULL,\n\t\tstatus VARCHAR(64) NOT NULL,\n\t\tstep VARCHAR(64) NOT NULL,\n\t\tsummary text DEFAULT NULL,\n\t\terror_message TEXT DEFAULT NULL,\n\t\tPRIMARY KEY (id),\n\t\tKEY (created_by),\n\t\tKEY (status));"] [2025/04/04 12:45:34.351 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=87] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.311 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.380 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=42] [neededSchemaVersion=43] ["elapsed time"=3.30115ms] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:34.383 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:34.383 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43] [2025/04/04 12:45:34.385 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=43] ["take time"=10.490218ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.311 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.398 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=87] [job="ID:87, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.311 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.416 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=87] [2025/04/04 12:45:34.416 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=43] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_import_jobs (\n\t\tid bigint(64) NOT NULL AUTO_INCREMENT,\n\t\tcreate_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n\t\tstart_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tupdate_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tend_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\ttable_schema VARCHAR(64) NOT NULL,\n\t\ttable_name VARCHAR(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcreated_by VARCHAR(300) NOT NULL,\n\t\tparameters text NOT NULL,\n\t\tsource_file_size bigint(64) NOT NULL,\n\t\tstatus VARCHAR(64) NOT NULL,\n\t\tstep VARCHAR(64) NOT NULL,\n\t\tsummary text DEFAULT NULL,\n\t\terror_message TEXT DEFAULT NULL,\n\t\tPRIMARY KEY (id),\n\t\tKEY (created_by),\n\t\tKEY (status));"] [user=] [2025/04/04 12:45:34.432 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.41 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:34.432 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.41 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tINDEX sql_index(resource_group_name,watch_text(700)) COMMENT \"accelerate the speed when select quarantined query\",\n\t\tINDEX time_index(end_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2025/04/04 12:45:34.439 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=89] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.41 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.464 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=43] [neededSchemaVersion=44] ["elapsed time"=2.834516ms] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:34.467 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:34.467 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44] [2025/04/04 12:45:34.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=44] ["take time"=10.043582ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.41 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.481 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=89] [job="ID:89, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.41 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.498 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=89] [2025/04/04 12:45:34.498 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=44] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tINDEX sql_index(resource_group_name,watch_text(700)) COMMENT \"accelerate the speed when select quarantined query\",\n\t\tINDEX time_index(end_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2025/04/04 12:45:34.518 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:34.519 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time TIMESTAMP NOT NULL,\n\t\trepeats int default 1,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(64) NOT NULL,\n\t\tsample_sql TEXT NOT NULL,\n\t\tsql_digest varchar(64) NOT NULL,\n\t\tplan_digest varchar(64) NOT NULL,\n\t\ttidb_server varchar(512),\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(start_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2025/04/04 12:45:34.525 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=91] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.550 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=44] [neededSchemaVersion=45] ["elapsed time"=2.658492ms] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:34.553 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:34.553 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45] [2025/04/04 12:45:34.555 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=45] ["take time"=9.444532ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.566 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=91] [job="ID:91, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.581 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=91] [2025/04/04 12:45:34.582 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=45] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time TIMESTAMP NOT NULL,\n\t\trepeats int default 1,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(64) NOT NULL,\n\t\tsample_sql TEXT NOT NULL,\n\t\tsql_digest varchar(64) NOT NULL,\n\t\tplan_digest varchar(64) NOT NULL,\n\t\ttidb_server varchar(512),\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(start_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2025/04/04 12:45:34.600 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.561 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:34.600 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.561 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS `mysql`.`tidb_timers` (\n\t\tID BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tNAMESPACE VARCHAR(256) NOT NULL,\n\t\tTIMER_KEY VARCHAR(256) NOT NULL,\n\t\tTIMER_DATA BLOB,\n\t\tTIMEZONE VARCHAR(64) NOT NULL,\n\t\tSCHED_POLICY_TYPE VARCHAR(32) NOT NULL,\n\t\tSCHED_POLICY_EXPR VARCHAR(256) NOT NULL,\n\t\tHOOK_CLASS VARCHAR(64) NOT NULL,\n\t\tWATERMARK TIMESTAMP DEFAULT NULL,\n\t\tENABLE TINYINT(2) NOT NULL,\n\t\tTIMER_EXT JSON NOT NULL,\n\t\tEVENT_STATUS VARCHAR(32) NOT NULL,\n\t\tEVENT_ID VARCHAR(64) NOT NULL,\n\t\tEVENT_DATA BLOB,\n\t\tEVENT_START TIMESTAMP DEFAULT NULL,\n\t\tSUMMARY_DATA BLOB,\n\t\tCREATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\tUPDATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tVERSION BIGINT(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (ID),\n\t\tUNIQUE KEY timer_key(NAMESPACE, TIMER_KEY),\n\t\tKEY hook_class(HOOK_CLASS)\n\t)"] [2025/04/04 12:45:34.606 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=93] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.561 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.638 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=45] [neededSchemaVersion=46] ["elapsed time"=3.848125ms] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:34.641 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:34.641 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46] [2025/04/04 12:45:34.643 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=46] ["take time"=10.571209ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.561 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.657 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=93] [job="ID:93, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.561 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.676 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=93] [2025/04/04 12:45:34.676 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=46] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS `mysql`.`tidb_timers` (\n\t\tID BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tNAMESPACE VARCHAR(256) NOT NULL,\n\t\tTIMER_KEY VARCHAR(256) NOT NULL,\n\t\tTIMER_DATA BLOB,\n\t\tTIMEZONE VARCHAR(64) NOT NULL,\n\t\tSCHED_POLICY_TYPE VARCHAR(32) NOT NULL,\n\t\tSCHED_POLICY_EXPR VARCHAR(256) NOT NULL,\n\t\tHOOK_CLASS VARCHAR(64) NOT NULL,\n\t\tWATERMARK TIMESTAMP DEFAULT NULL,\n\t\tENABLE TINYINT(2) NOT NULL,\n\t\tTIMER_EXT JSON NOT NULL,\n\t\tEVENT_STATUS VARCHAR(32) NOT NULL,\n\t\tEVENT_ID VARCHAR(64) NOT NULL,\n\t\tEVENT_DATA BLOB,\n\t\tEVENT_START TIMESTAMP DEFAULT NULL,\n\t\tSUMMARY_DATA BLOB,\n\t\tCREATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\tUPDATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tVERSION BIGINT(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (ID),\n\t\tUNIQUE KEY timer_key(NAMESPACE, TIMER_KEY),\n\t\tKEY hook_class(HOOK_CLASS)\n\t)"] [user=] [2025/04/04 12:45:34.692 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.66 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:34.692 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.66 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch_done (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\trecord_id BIGINT(20) not null,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2025/04/04 12:45:34.698 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=95] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.66 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.724 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=46] [neededSchemaVersion=47] ["elapsed time"=2.822782ms] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:34.727 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:34.727 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47] [2025/04/04 12:45:34.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=47] ["take time"=9.77042ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.66 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.741 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=95] [job="ID:95, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.66 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.758 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=95] [2025/04/04 12:45:34.758 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=47] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch_done (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\trecord_id BIGINT(20) not null,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2025/04/04 12:45:34.773 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.76 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:34.773 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.76 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.dist_framework_meta (\n host VARCHAR(261) NOT NULL PRIMARY KEY,\n role VARCHAR(64),\n cpu_count int default 0,\n keyspace_id bigint(8) NOT NULL DEFAULT -1\n );"] [2025/04/04 12:45:34.778 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=97] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.76 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.798 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=47] [neededSchemaVersion=48] ["elapsed time"=1.8653ms] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:34.801 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:34.801 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48] [2025/04/04 12:45:34.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=48] ["take time"=8.857273ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.76 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.814 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=97] [job="ID:97, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.76 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.827 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=97] [2025/04/04 12:45:34.827 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=48] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.dist_framework_meta (\n host VARCHAR(261) NOT NULL PRIMARY KEY,\n role VARCHAR(64),\n cpu_count int default 0,\n keyspace_id bigint(8) NOT NULL DEFAULT -1\n );"] [user=] [2025/04/04 12:45:34.841 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.81 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.request_unit_by_group (\n\t\tstart_time TIMESTAMP(6) NOT NULL,\n\t\tend_time TIMESTAMP(6) NOT NULL,\n\t\tresource_group VARCHAR(32) NOT null,\n\t\ttotal_ru bigint(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (start_time, end_time, resource_group),\n\t\tKEY (resource_group)\n\t);"] [2025/04/04 12:45:34.841 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.81 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:34.847 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=99] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.81 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.867 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=48] [neededSchemaVersion=49] ["elapsed time"=2.048326ms] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:34.870 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:34.870 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49] [2025/04/04 12:45:34.872 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=49] ["take time"=8.777972ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.81 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.883 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=99] [job="ID:99, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.81 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.896 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=99] [2025/04/04 12:45:34.896 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=49] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.request_unit_by_group (\n\t\tstart_time TIMESTAMP(6) NOT NULL,\n\t\tend_time TIMESTAMP(6) NOT NULL,\n\t\tresource_group VARCHAR(32) NOT null,\n\t\ttotal_ru bigint(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (start_time, end_time, resource_group),\n\t\tKEY (resource_group)\n\t);"] [user=] [2025/04/04 12:45:34.898 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(524288) to MEDIUMBLOB"] [category=ddl] [2025/04/04 12:45:34.911 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.86 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:34.911 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.86 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_pitr_id_map (\n\t\trestored_ts BIGINT NOT NULL,\n\t\tupstream_cluster_id BIGINT NOT NULL,\n\t\tsegment_id BIGINT NOT NULL,\n\t\tid_map BLOB(524288) NOT NULL,\n\t\tupdate_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (restored_ts, upstream_cluster_id, segment_id));"] [2025/04/04 12:45:34.916 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=101] [job="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.86 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.936 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/04 12:45:34.936 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 12:45:34.936 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 12:45:34.936 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:45:34.937 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=49] [neededSchemaVersion=50] ["elapsed time"=2.213738ms] [gotSchemaVersion=50] [phyTblIDs="[100]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:34.941 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:34.941 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50] [2025/04/04 12:45:34.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=50] ["take time"=9.284583ms] [job="ID:101, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:100, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.86 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.953 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=101] [job="ID:101, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:100, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.86 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.966 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=101] [2025/04/04 12:45:34.967 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=50] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_pitr_id_map (\n\t\trestored_ts BIGINT NOT NULL,\n\t\tupstream_cluster_id BIGINT NOT NULL,\n\t\tsegment_id BIGINT NOT NULL,\n\t\tid_map BLOB(524288) NOT NULL,\n\t\tupdate_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (restored_ts, upstream_cluster_id, segment_id));"] [user=] [2025/04/04 12:45:34.979 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:103, Type:create schema, State:queueing, SchemaState:none, SchemaID:102, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.961 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:34.979 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:103, Type:create schema, State:queueing, SchemaState:none, SchemaID:102, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.961 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE IF NOT EXISTS sys;"] [2025/04/04 12:45:34.983 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=103] [job="ID:103, Type:create schema, State:queueing, SchemaState:none, SchemaID:102, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.961 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.997 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=50] [neededSchemaVersion=51] ["elapsed time"=632.459µs] [gotSchemaVersion=51] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 12:45:35.000 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:35.000 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51] [2025/04/04 12:45:35.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=51] ["take time"=7.606949ms] [job="ID:103, Type:create schema, State:done, SchemaState:public, SchemaID:102, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.961 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.011 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=103] [job="ID:103, Type:create schema, State:synced, SchemaState:public, SchemaID:102, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.961 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.021 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=103] [2025/04/04 12:45:35.022 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=51] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS sys;"] [user=] [2025/04/04 12:45:35.035 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:105, Type:create view, State:queueing, SchemaState:none, SchemaID:102, TableID:104, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.011 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:35.035 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:105, Type:create view, State:queueing, SchemaState:none, SchemaID:102, TableID:104, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.011 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE OR REPLACE VIEW sys.schema_unused_indexes AS\n\t\tSELECT\n\t\t\ttable_schema as object_schema,\n\t\t\ttable_name as object_name,\n\t\t\tindex_name\n\t\tFROM information_schema.cluster_tidb_index_usage\n\t\tWHERE\n\t\t\ttable_schema not in ('sys', 'mysql', 'INFORMATION_SCHEMA', 'PERFORMANCE_SCHEMA') and\n\t\t\tindex_name != 'PRIMARY'\n\t\tGROUP BY table_schema, table_name, index_name\n\t\tHAVING\n\t\t\tsum(last_access_time) is null;"] [2025/04/04 12:45:35.042 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=105] [job="ID:105, Type:create view, State:queueing, SchemaState:none, SchemaID:102, TableID:104, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:35.011 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.062 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=51] [neededSchemaVersion=52] ["elapsed time"=1.697188ms] [gotSchemaVersion=52] [phyTblIDs="[104]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2025/04/04 12:45:35.065 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:35.066 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=105] [version=52] [2025/04/04 12:45:35.067 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=52] ["take time"=8.489144ms] [job="ID:105, Type:create view, State:done, SchemaState:public, SchemaID:102, TableID:104, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.011 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.078 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=105] [job="ID:105, Type:create view, State:synced, SchemaState:public, SchemaID:102, TableID:104, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:35.011 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.091 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=105] [2025/04/04 12:45:35.108 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:106, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.06 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:35.108 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:106, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.06 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.index_advisor_results (\n id bigint primary key not null auto_increment,\n created_at datetime not null,\n updated_at datetime not null,\n\n schema_name varchar(64) not null,\n table_name varchar(64) not null,\n index_name varchar(127) not null,\n index_columns varchar(500) not null COMMENT 'split by \",\", e.g. \"c1\", \"c1,c2\", \"c1,c2,c3,c4,c5\"',\n\n index_details json, -- est_index_size, reason, DDL to create this index, ...\n top_impacted_queries json, -- improvement, plan before and after this index, ...\n workload_impact json, -- improvement and more details, ...\n extra json, -- for the cloud env to save more info like RU, cost_saving, ...\n index idx_create(created_at),\n index idx_update(updated_at),\n unique index idx(schema_name, table_name, index_columns));"] [2025/04/04 12:45:35.114 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=107] [job="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:106, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:35.06 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.140 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=52] [neededSchemaVersion=53] ["elapsed time"=3.098855ms] [gotSchemaVersion=53] [phyTblIDs="[106]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:35.143 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:35.143 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=107] [version=53] [2025/04/04 12:45:35.145 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=53] ["take time"=9.954625ms] [job="ID:107, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:106, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.06 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.158 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=107] [job="ID:107, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:106, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:35.06 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.174 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=107] [2025/04/04 12:45:35.174 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=53] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.index_advisor_results (\n id bigint primary key not null auto_increment,\n created_at datetime not null,\n updated_at datetime not null,\n\n schema_name varchar(64) not null,\n table_name varchar(64) not null,\n index_name varchar(127) not null,\n index_columns varchar(500) not null COMMENT 'split by \",\", e.g. \"c1\", \"c1,c2\", \"c1,c2,c3,c4,c5\"',\n\n index_details json, -- est_index_size, reason, DDL to create this index, ...\n top_impacted_queries json, -- improvement, plan before and after this index, ...\n workload_impact json, -- improvement and more details, ...\n extra json, -- for the cloud env to save more info like RU, cost_saving, ...\n index idx_create(created_at),\n index idx_update(updated_at),\n unique index idx(schema_name, table_name, index_columns));"] [user=] [2025/04/04 12:45:35.189 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:108, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.16 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:35.189 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:108, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.16 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_kernel_options (\n module varchar(128),\n name varchar(128),\n value varchar(128),\n updated_at datetime,\n status varchar(128),\n description text,\n primary key(module, name));"] [2025/04/04 12:45:35.195 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=109] [job="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:108, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:35.16 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.218 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=53] [neededSchemaVersion=54] ["elapsed time"=2.494799ms] [gotSchemaVersion=54] [phyTblIDs="[108]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:35.221 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:35.221 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=109] [version=54] [2025/04/04 12:45:35.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=54] ["take time"=9.860944ms] [job="ID:109, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:108, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.16 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.235 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=109] [job="ID:109, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:108, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:35.16 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.249 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=109] [2025/04/04 12:45:35.249 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=54] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_kernel_options (\n module varchar(128),\n name varchar(128),\n value varchar(128),\n updated_at datetime,\n status varchar(128),\n description text,\n primary key(module, name));"] [user=] [2025/04/04 12:45:35.265 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:111, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:110, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.21 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:35.265 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:111, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:110, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.21 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_workload_values (\n\t\tid bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tversion bigint(20) NOT NULL,\n\t\tcategory varchar(64) NOT NULL,\n\t\ttype varchar(64) NOT NULL,\n\t\ttable_id bigint(20) NOT NULL,\n\t\tvalue json NOT NULL,\n\t\tindex idx_version_category_type (version, category, type),\n\t\tindex idx_table_id (table_id));"] [2025/04/04 12:45:35.271 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=111] [job="ID:111, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:110, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:35.21 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.293 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=54] [neededSchemaVersion=55] ["elapsed time"=2.281835ms] [gotSchemaVersion=55] [phyTblIDs="[110]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:35.296 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:35.296 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=111] [version=55] [2025/04/04 12:45:35.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=55] ["take time"=8.966222ms] [job="ID:111, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:110, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.21 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.309 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=111] [job="ID:111, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:110, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:35.21 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.323 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=111] [2025/04/04 12:45:35.324 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=55] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_workload_values (\n\t\tid bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tversion bigint(20) NOT NULL,\n\t\tcategory varchar(64) NOT NULL,\n\t\ttype varchar(64) NOT NULL,\n\t\ttable_id bigint(20) NOT NULL,\n\t\tvalue json NOT NULL,\n\t\tindex idx_version_category_type (version, category, type),\n\t\tindex idx_table_id (table_id));"] [user=] [2025/04/04 12:45:35.476 +00:00] [INFO] [bootstrap.go:823] ["bootstrap successful"] ["take time"=4.54379824s] [2025/04/04 12:45:35.479 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 12:45:35.479 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 12:45:35.479 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=3a6e8a2b-9ff5-4bff-b8ce-202c0275c3fc] [] [2025/04/04 12:45:35.479 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=3a6e8a2b-9ff5-4bff-b8ce-202c0275c3fc] [2025/04/04 12:45:35.479 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:45:35.479 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:45:35.479 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 6, tp general"] ["take time"=69.649µs] [2025/04/04 12:45:35.479 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 7, tp general"] ["take time"=42.737µs] [2025/04/04 12:45:35.480 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 8, tp general"] ["take time"=31.907µs] [2025/04/04 12:45:35.480 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 9, tp general"] ["take time"=36.062µs] [2025/04/04 12:45:35.480 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 10, tp general"] ["take time"=36.422µs] [2025/04/04 12:45:35.480 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 1, tp general"] ["take time"=26.911µs] [2025/04/04 12:45:35.480 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 2, tp general"] ["take time"=26.824µs] [2025/04/04 12:45:35.480 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 3, tp general"] ["take time"=30.682µs] [2025/04/04 12:45:35.480 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 4, tp general"] ["take time"=31.904µs] [2025/04/04 12:45:35.480 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 5, tp general"] ["take time"=28.515µs] [2025/04/04 12:45:35.480 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=3a6e8a2b-9ff5-4bff-b8ce-202c0275c3fc] [2025/04/04 12:45:35.480 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=3a6e8a2b-9ff5-4bff-b8ce-202c0275c3fc] [2025/04/04 12:45:35.481 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 12:45:35.482 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 12:45:35.490 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=3a6e8a2b-9ff5-4bff-b8ce-202c0275c3fc] ["take time"=11.499701ms] [2025/04/04 12:45:35.490 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=3a6e8a2b-9ff5-4bff-b8ce-202c0275c3fc] [2025/04/04 12:45:35.491 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1174] [2025/04/04 12:45:35.491 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 12:45:35.491 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 12:45:35.491 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 12:45:35.491 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:45:35.491 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 12:45:35.492 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 12:45:35.492 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 12:45:35.492 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:45:35.492 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:45:35.492 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 12:45:35.492 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=14ac25be-e95f-4af1-af5c-4a6a8e3cc837] [] [2025/04/04 12:45:35.492 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:45:35.492 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:45:35.492 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=14ac25be-e95f-4af1-af5c-4a6a8e3cc837] [2025/04/04 12:45:35.492 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=14ac25be-e95f-4af1-af5c-4a6a8e3cc837] [2025/04/04 12:45:35.492 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=14ac25be-e95f-4af1-af5c-4a6a8e3cc837] [2025/04/04 12:45:35.494 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=14ac25be-e95f-4af1-af5c-4a6a8e3cc837] [daemon-id=LogBackup::Advancer] [2025/04/04 12:45:35.494 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 12:45:35.494 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 12:45:35.494 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:45:35.494 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:45:35.494 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 12:45:35.494 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:45:35.494 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 12:45:35.499 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=20.140116ms] [2025/04/04 12:45:35.499 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489437829623651060] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 12:45:35.510 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 12:45:35.549 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1810] ["lease id"=6f189600d42dabd1] [2025/04/04 12:45:35.552 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/04 12:45:35.670 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=55] ["elapsed time"=115.98631ms] [2025/04/04 12:45:35.670 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 12:45:35.679 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=3a6e8a2b-9ff5-4bff-b8ce-202c0275c3fc] [runWorker=true] [jobVersion=v2] [2025/04/04 12:45:35.679 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 12:45:35.682 +00:00] [INFO] [manager.go:294] ["start campaign owner with existing session"] [key=/tidb/ddl/fg/owner] [id=3a6e8a2b-9ff5-4bff-b8ce-202c0275c3fc] [lease=6f189600d42dab5b] [2025/04/04 12:45:35.682 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 12:45:35.682 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 265980407808/468329922560, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 12:45:35.682 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:45:35.682 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:45:35.682 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:45:35.682 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:45:35.682 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:45:35.682 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:45:35.682 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:45:35.682 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 12:45:35.682 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:45:35.682 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:45:35.682 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:45:35.683 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 12:45:35.683 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=e0e4fe65-4e6d-40db-9c0c-fa8567b81ba9] [2025/04/04 12:45:35.685 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f189600d42dab5b] [ownerID=3a6e8a2b-9ff5-4bff-b8ce-202c0275c3fc] [op=none] [2025/04/04 12:45:35.685 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=3a6e8a2b-9ff5-4bff-b8ce-202c0275c3fc] [2025/04/04 12:45:35.685 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=3a6e8a2b-9ff5-4bff-b8ce-202c0275c3fc] [ownerKey=/tidb/ddl/fg/owner/6f189600d42dab5b] [currRev=275] [2025/04/04 12:45:35.686 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:45:35.686 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 12:45:35.686 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=e0e4fe65-4e6d-40db-9c0c-fa8567b81ba9] [daemon-id=LogBackup::Advancer] [2025/04/04 12:45:35.687 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa9600d42da767] [ownerID=e0e4fe65-4e6d-40db-9c0c-fa8567b81ba9] [op=none] [2025/04/04 12:45:35.687 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=e0e4fe65-4e6d-40db-9c0c-fa8567b81ba9] [2025/04/04 12:45:35.687 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=e0e4fe65-4e6d-40db-9c0c-fa8567b81ba9] [ownerKey=/tidb/br-stream/owner/3eaa9600d42da767] [currRev=276] [2025/04/04 12:45:35.687 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f189600d42dab5b] [ownerID=3a6e8a2b-9ff5-4bff-b8ce-202c0275c3fc] [op=none] [2025/04/04 12:45:35.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=3a6e8a2b-9ff5-4bff-b8ce-202c0275c3fc] [op=none] [2025/04/04 12:45:35.687 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 12:45:35.695 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=3a6e8a2b-9ff5-4bff-b8ce-202c0275c3fc] [2025/04/04 12:45:35.696 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:45:35.697 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 12:45:35.699 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/bindinfo/owner] ["owner key"=/tidb/bindinfo/owner/6f189600d42dabd9] [ownerID=3a6e8a2b-9ff5-4bff-b8ce-202c0275c3fc] [op=none] [2025/04/04 12:45:35.699 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/bindinfo/owner] [id=3a6e8a2b-9ff5-4bff-b8ce-202c0275c3fc] [2025/04/04 12:45:35.699 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/bindinfo/owner] [id=3a6e8a2b-9ff5-4bff-b8ce-202c0275c3fc] [ownerKey=/tidb/bindinfo/owner/6f189600d42dabd9] [currRev=277] [2025/04/04 12:45:35.704 +00:00] [INFO] [sysvar.go:3019] ["set resource control"] [enable=true] [2025/04/04 12:45:35.707 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 12:45:35.708 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:45:35.714 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:45:35.721 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:45:35.722 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:45:35.722 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 12:45:35.722 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:45:35.722 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 12:45:35.722 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 12:45:35.722 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:45:35.722 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 12:45:35.722 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 12:45:35.723 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:45:35.723 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=3a6e8a2b-9ff5-4bff-b8ce-202c0275c3fc] [2025/04/04 12:45:35.724 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:45:35.724 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:45:35.724 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:45:35.724 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:45:35.724 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 12:45:35.724 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:45:35.724 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:45:35.724 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 12:45:35.724 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:45:35.724 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:45:35.724 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=10] [2025/04/04 12:45:35.724 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:45:35.724 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:45:35.724 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:45:35.725 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:45:35.726 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/3eaa9600d42da76b] [ownerID=3a6e8a2b-9ff5-4bff-b8ce-202c0275c3fc] [op=none] [2025/04/04 12:45:35.726 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=3a6e8a2b-9ff5-4bff-b8ce-202c0275c3fc] [2025/04/04 12:45:35.726 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=3a6e8a2b-9ff5-4bff-b8ce-202c0275c3fc] [ownerKey=/tidb/stats/owner/3eaa9600d42da76b] [currRev=278] [2025/04/04 12:45:35.727 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=52] [total-mem=32GiB] [total-disk=436.2GiB] [2025/04/04 12:45:35.729 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/1f94e9f8-5c7d-4364-8f9e-ed1ac53f7956] [2025/04/04 12:45:35.729 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=3a6e8a2b-9ff5-4bff-b8ce-202c0275c3fc] [ttl-worker=task-manager] [ttl-worker=3a6e8a2b-9ff5-4bff-b8ce-202c0275c3fc] [originalCount=0] [newCount=4] [2025/04/04 12:45:35.729 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=3a6e8a2b-9ff5-4bff-b8ce-202c0275c3fc] [ttl-worker=task-manager] [ttl-worker=3a6e8a2b-9ff5-4bff-b8ce-202c0275c3fc] [originalCount=0] [newCount=4] [2025/04/04 12:45:35.729 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=3a6e8a2b-9ff5-4bff-b8ce-202c0275c3fc] [2025/04/04 12:45:35.730 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 12:45:35.738 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:45:35.739 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 12:45:35.739 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] [2025/04/04 12:45:35.739 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] testkit.go:123: RefreshSession rand seed: 1743770735739357154 [2025/04/04 12:45:35.746 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=23.40752ms] [2025/04/04 12:45:35.746 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:45:35.746 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 12:45:35.752 +00:00] [INFO] [set.go:172] ["set global var"] [conn=1] [name=innodb_lock_wait_timeout] [val=50] testkit.go:123: RefreshSession rand seed: 1743770735754015435 === RUN TestImportInto/TestCastNegativeToUnsigned [2025/04/04 12:45:35.757 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=55] [cur_db=] [sql="drop database if exists from_select"] [user=] [2025/04/04 12:45:35.770 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:113, Type:create schema, State:queueing, SchemaState:none, SchemaID:112, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.761 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:35.770 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:113, Type:create schema, State:queueing, SchemaState:none, SchemaID:112, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.761 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database from_select"] [2025/04/04 12:45:35.775 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=113] [conn=2] [job="ID:113, Type:create schema, State:queueing, SchemaState:none, SchemaID:112, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:35.761 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.791 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=55] [neededSchemaVersion=56] ["elapsed time"=639.117µs] [gotSchemaVersion=56] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 12:45:35.794 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=113] [version=56] [2025/04/04 12:45:35.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=56] ["take time"=8.022167ms] [job="ID:113, Type:create schema, State:done, SchemaState:public, SchemaID:112, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.761 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.807 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=113] [conn=2] [job="ID:113, Type:create schema, State:synced, SchemaState:public, SchemaID:112, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:35.761 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.821 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=113] [2025/04/04 12:45:35.821 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=56] [cur_db=] [sql="create database from_select"] [user=] [2025/04/04 12:45:35.835 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:115, Type:create table, State:queueing, SchemaState:none, SchemaID:112, TableID:114, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.81 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table dt(id int unsigned)"] [2025/04/04 12:45:35.835 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:115, Type:create table, State:queueing, SchemaState:none, SchemaID:112, TableID:114, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.81 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:35.841 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=115] [conn=2] [job="ID:115, Type:create table, State:queueing, SchemaState:none, SchemaID:112, TableID:114, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:35.81 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.845 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 114, Table Name: dt)"] [2025/04/04 12:45:35.862 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=56] [neededSchemaVersion=57] ["elapsed time"=1.43344ms] [gotSchemaVersion=57] [phyTblIDs="[114]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:35.865 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=115] [version=57] [2025/04/04 12:45:35.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=57] ["take time"=9.592381ms] [job="ID:115, Type:create table, State:done, SchemaState:public, SchemaID:112, TableID:114, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.81 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.882 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=115] [conn=2] [job="ID:115, Type:create table, State:synced, SchemaState:public, SchemaID:112, TableID:114, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:35.81 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.893 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=115] [2025/04/04 12:45:35.894 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=57] [cur_db=from_select] [sql="create table dt(id int unsigned)"] [user=] [2025/04/04 12:45:35.933 +00:00] [INFO] [import_into.go:266] ["importing data from select statement"] [import-id=e0295834-0a14-4c66-9636-f3ec8939021f] [concurrency=2] [target-table=`from_select`.`dt`] [target-table-id=114] [2025/04/04 12:45:35.933 +00:00] [INFO] [table_import.go:119] ["import dir not exists, create it"] [table=dt] [import_dir=/tmp/tidb/import-4000] [2025/04/04 12:45:35.940 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 12:45:35.940 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437829623651060] [2025/04/04 12:45:35.940 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:45:35.940 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 12:45:35.940 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:45:35.940 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:45:35.940 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:45:35.940 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:45:35.941 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:45:35.941 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:45:35.953 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:45:35.955 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 12:45:35.955 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=dt] [quota=374.7GB] [2025/04/04 12:45:35.961 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:1] [engineUUID=fcd3180d-f69e-5c83-84c0-56cb80b9aeb7] [2025/04/04 12:45:35.966 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:-1] [engineUUID=3673866f-2ff7-5a15-9f3f-29210836fea8] [2025/04/04 12:45:35.966 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dt] [import-id=e0295834-0a14-4c66-9636-f3ec8939021f] [key=import-from-select] [2025/04/04 12:45:35.966 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dt] [import-id=e0295834-0a14-4c66-9636-f3ec8939021f] [key=import-from-select] [2025/04/04 12:45:35.967 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dt] [import-id=e0295834-0a14-4c66-9636-f3ec8939021f] [key=import-from-select] [readDur=0s] [encodeDur=0s] [checksum="{cksum=0,size=0,kvs=0}"] [deliverDur=0s] [type=query] [takeTime=229.382µs] [] [2025/04/04 12:45:35.967 +00:00] [ERROR] [chunk_process.go:334] ["process chunk failed"] [table=dt] [import-id=e0295834-0a14-4c66-9636-f3ec8939021f] [key=import-from-select] [takeTime=174.912µs] [error="[Lightning:Restore:ErrEncodeKV]encode kv error in file import-from-select at offset -1: [types:1690]constant -1 overflows int"] [stack="github.com/pingcap/tidb/pkg/executor/importer.(*baseChunkProcessor).Process.func1\n\tpkg/executor/importer/chunk_process.go:334\ngithub.com/pingcap/tidb/pkg/executor/importer.(*baseChunkProcessor).Process\n\tpkg/executor/importer/chunk_process.go:354\ngithub.com/pingcap/tidb/pkg/executor/importer.ProcessChunkWithWriter\n\tpkg/executor/importer/engine_process.go:113\ngithub.com/pingcap/tidb/pkg/executor/importer.ProcessChunk\n\tpkg/executor/importer/engine_process.go:67\ngithub.com/pingcap/tidb/pkg/executor/importer.(*TableImporter).ImportSelectedRows.func2\n\tpkg/executor/importer/table_import.go:677\ngithub.com/pingcap/tidb/pkg/executor/importer.(*TableImporter).ImportSelectedRows.(*ErrorGroupWithRecover).Go.func3\n\tpkg/util/wait_group_wrapper.go:260\ngolang.org/x/sync/errgroup.(*Group).Go.func1\n\texternal/org_golang_x_sync/errgroup/errgroup.go:78"] [2025/04/04 12:45:35.967 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:1] [engineUUID=fcd3180d-f69e-5c83-84c0-56cb80b9aeb7] [2025/04/04 12:45:35.969 +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.842489ms] [] [2025/04/04 12:45:35.969 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:1] [engineUUID=fcd3180d-f69e-5c83-84c0-56cb80b9aeb7] [2025/04/04 12:45:35.970 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:1] [engineUUID=fcd3180d-f69e-5c83-84c0-56cb80b9aeb7] [takeTime=1.059663ms] [] [2025/04/04 12:45:35.970 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:-1] [engineUUID=3673866f-2ff7-5a15-9f3f-29210836fea8] [2025/04/04 12:45:35.972 +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.790494ms] [] [2025/04/04 12:45:35.972 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:-1] [engineUUID=3673866f-2ff7-5a15-9f3f-29210836fea8] [2025/04/04 12:45:35.973 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:-1] [engineUUID=3673866f-2ff7-5a15-9f3f-29210836fea8] [takeTime=1.062786ms] [] [2025/04/04 12:45:35.974 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:45:35.974 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:45:35.974 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:45:35.974 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:45:35.974 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:45:35.974 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:45:35.974 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:45:35.974 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:35.974 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:35.974 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-2] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:45:35.974 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:35.974 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:45:35.976 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:45:35.976 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:35.976 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:35.977 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:35.977 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/04 12:45:35.977 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=57] [error="[Lightning:Restore:ErrEncodeKV]encode kv error in file import-from-select at offset -1: [types:1690]constant -1 overflows int"] [errorVerbose="[Lightning:Restore:ErrEncodeKV]encode kv error in file import-from-select at offset -1: [types:1690]constant -1 overflows int\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/executor/importer.(*chunkEncoder).encodeLoop\n\tpkg/executor/importer/chunk_process.go:286\ngithub.com/pingcap/tidb/pkg/executor/importer.(*baseChunkProcessor).Process.func3\n\tpkg/executor/importer/chunk_process.go:346\ngithub.com/pingcap/tidb/pkg/executor/importer.(*baseChunkProcessor).Process.(*ErrorGroupWithRecover).Go.func5\n\tpkg/util/wait_group_wrapper.go:260\ngolang.org/x/sync/errgroup.(*Group).Go.func1\n\texternal/org_golang_x_sync/errgroup/errgroup.go:78\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [session="{\n \"currDBName\": \"from_select\",\n \"id\": 2,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2025/04/04 12:45:36.019 +00:00] [INFO] [import_into.go:266] ["importing data from select statement"] [import-id=e9e38da7-c657-4495-a343-9fbd6cbbea68] [concurrency=2] [target-table=`from_select`.`dt`] [target-table-id=114] [2025/04/04 12:45:36.025 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 12:45:36.025 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437829623651060] [2025/04/04 12:45:36.025 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:45:36.025 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 12:45:36.025 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:45:36.025 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:45:36.025 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:45:36.026 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:45:36.026 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:45:36.026 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:45:36.037 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:45:36.039 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 12:45:36.039 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=dt] [quota=374.7GB] [2025/04/04 12:45:36.044 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:1] [engineUUID=fcd3180d-f69e-5c83-84c0-56cb80b9aeb7] [2025/04/04 12:45:36.049 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:-1] [engineUUID=3673866f-2ff7-5a15-9f3f-29210836fea8] [2025/04/04 12:45:36.050 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dt] [import-id=e9e38da7-c657-4495-a343-9fbd6cbbea68] [key=import-from-select] [2025/04/04 12:45:36.051 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dt] [import-id=e9e38da7-c657-4495-a343-9fbd6cbbea68] [key=import-from-select] [readDur=4.257µs] [encodeDur=115.883µs] [checksum="{cksum=1186353398217297746,size=29,kvs=1}"] [deliverDur=208.592µs] [type=query] [takeTime=795.351µs] [] [2025/04/04 12:45:36.052 +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/e9e38da7-c657-4495-a343-9fbd6cbbea68/fcd3180d-f69e-5c83-84c0-56cb80b9aeb7.sst/9efccc08-f99c-4506-a739-412ed01ed8fb.sst] [firstKey=7480000000000000725F728000000000000001] [lastKey=7480000000000000725F728000000000000001] [2025/04/04 12:45:36.053 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dt] [import-id=e9e38da7-c657-4495-a343-9fbd6cbbea68] [key=import-from-select] [2025/04/04 12:45:36.053 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dt] [import-id=e9e38da7-c657-4495-a343-9fbd6cbbea68] [key=import-from-select] [readDur=0s] [encodeDur=0s] [checksum="{cksum=0,size=0,kvs=0}"] [deliverDur=0s] [type=query] [takeTime=76.996µs] [] [2025/04/04 12:45:36.053 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:1] [engineUUID=fcd3180d-f69e-5c83-84c0-56cb80b9aeb7] [2025/04/04 12:45:36.055 +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.007327ms] [] [2025/04/04 12:45:36.055 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:1] [engineUUID=fcd3180d-f69e-5c83-84c0-56cb80b9aeb7] [retryCnt=0] [2025/04/04 12:45:36.061 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:45:36.083 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=fcd3180d-f69e-5c83-84c0-56cb80b9aeb7] ["region ranges"=1] [count=1] [size=29] [2025/04/04 12:45:36.083 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:45:36.085 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000725f728000000000000001] [endOfAllRanges=7480000000000000725f728000000000000002] [startKeyOfFirstRegion=7480000000000000ff725f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff725f728000000000ff0000020000000000fa] [2025/04/04 12:45:36.100 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=fcd3180d-f69e-5c83-84c0-56cb80b9aeb7] [size=29] [kvs=1] [importedSize=29] [importedCount=1] [2025/04/04 12:45:36.102 +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=46.754772ms] [] [2025/04/04 12:45:36.102 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:-1] [engineUUID=3673866f-2ff7-5a15-9f3f-29210836fea8] [2025/04/04 12:45:36.104 +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.900623ms] [] [2025/04/04 12:45:36.104 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:-1] [engineUUID=3673866f-2ff7-5a15-9f3f-29210836fea8] [retryCnt=0] [2025/04/04 12:45:36.108 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=3673866f-2ff7-5a15-9f3f-29210836fea8] [2025/04/04 12:45:36.108 +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.64924ms] [] [2025/04/04 12:45:36.108 +00:00] [INFO] [table_import.go:761] ["post process start"] [table=dt] [import-id=e9e38da7-c657-4495-a343-9fbd6cbbea68] [checksum="{\"id=-1\"=\"{cksum=1186353398217297746,size=29,kvs=1}\"}"] [2025/04/04 12:45:36.108 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [table=dt] [import-id=e9e38da7-c657-4495-a343-9fbd6cbbea68] [2025/04/04 12:45:36.114 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [table=dt] [import-id=e9e38da7-c657-4495-a343-9fbd6cbbea68] [takeTime=5.512962ms] [] [2025/04/04 12:45:36.114 +00:00] [INFO] [table_import.go:835] ["local checksum"] [table=dt] [import-id=e9e38da7-c657-4495-a343-9fbd6cbbea68] [checksum="{cksum=1186353398217297746,size=29,kvs=1}"] [2025/04/04 12:45:36.114 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [table=dt] [import-id=e9e38da7-c657-4495-a343-9fbd6cbbea68] [weight=30] [2025/04/04 12:45:36.114 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [table=dt] [import-id=e9e38da7-c657-4495-a343-9fbd6cbbea68] [concurrency=15] [2025/04/04 12:45:36.116 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=114] [physicalTableID=114] [indexID=-1] [checksum=1186353398217297746] [totalKvs=1] [totalBytes=29] [2025/04/04 12:45:36.116 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 12:45:36.116 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [table=dt] [import-id=e9e38da7-c657-4495-a343-9fbd6cbbea68] [local="{cksum=1186353398217297746,size=29,kvs=1}"] [2025/04/04 12:45:36.116 +00:00] [INFO] [table_import.go:763] ["post process completed"] [table=dt] [import-id=e9e38da7-c657-4495-a343-9fbd6cbbea68] [checksum="{\"id=-1\"=\"{cksum=1186353398217297746,size=29,kvs=1}\"}"] [takeTime=8.054458ms] [] [2025/04/04 12:45:36.116 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:1] [engineUUID=fcd3180d-f69e-5c83-84c0-56cb80b9aeb7] [2025/04/04 12:45:36.116 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:1] [engineUUID=fcd3180d-f69e-5c83-84c0-56cb80b9aeb7] [takeTime=6.755µs] [] [2025/04/04 12:45:36.116 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:1] [engineUUID=fcd3180d-f69e-5c83-84c0-56cb80b9aeb7] [2025/04/04 12:45:36.118 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:1] [engineUUID=fcd3180d-f69e-5c83-84c0-56cb80b9aeb7] [takeTime=1.251693ms] [] [2025/04/04 12:45:36.118 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:-1] [engineUUID=3673866f-2ff7-5a15-9f3f-29210836fea8] [2025/04/04 12:45:36.118 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:-1] [engineUUID=3673866f-2ff7-5a15-9f3f-29210836fea8] [takeTime=5.377µs] [] [2025/04/04 12:45:36.118 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:-1] [engineUUID=3673866f-2ff7-5a15-9f3f-29210836fea8] [2025/04/04 12:45:36.119 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:-1] [engineUUID=3673866f-2ff7-5a15-9f3f-29210836fea8] [takeTime=1.20869ms] [] [2025/04/04 12:45:36.122 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:45:36.122 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:45:36.122 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:45:36.122 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:45:36.122 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:45:36.122 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:45:36.122 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:36.122 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:45:36.122 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:36.122 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-3] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:45:36.122 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:36.122 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:45:36.124 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:45:36.124 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:36.124 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:36.124 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] --- PASS: TestImportInto/TestCastNegativeToUnsigned (0.37s) === NAME TestImportInto === RUN TestImportInto/TestImportFromSelectBasic [2025/04/04 12:45:36.139 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:116, Type:drop schema, State:queueing, SchemaState:public, SchemaID:112, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.11 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:36.139 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:116, Type:drop schema, State:queueing, SchemaState:public, SchemaID:112, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.11 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop database if exists from_select"] [2025/04/04 12:45:36.144 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=116] [conn=2] [job="ID:116, Type:drop schema, State:queueing, SchemaState:public, SchemaID:112, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:36.11 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.162 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=57] [neededSchemaVersion=58] ["elapsed time"=1.430491ms] [gotSchemaVersion=58] [phyTblIDs="[114]"] [actionTypes="[2]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 12:45:36.165 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=116] [version=58] [2025/04/04 12:45:36.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=58] ["take time"=8.664222ms] [job="ID:116, Type:drop schema, State:running, SchemaState:write only, SchemaID:112, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.11 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.177 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=116] [conn=2] [job="ID:116, Type:drop schema, State:running, SchemaState:write only, SchemaID:112, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:36.11 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.192 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=58] [neededSchemaVersion=59] ["elapsed time"=134.756µs] [gotSchemaVersion=59] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 12:45:36.195 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=116] [version=59] [2025/04/04 12:45:36.197 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=59] ["take time"=7.261145ms] [job="ID:116, Type:drop schema, State:running, SchemaState:delete only, SchemaID:112, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:36.11 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.206 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=116] [conn=2] [job="ID:116, Type:drop schema, State:running, SchemaState:delete only, SchemaID:112, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:36.11 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.211 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/04 12:45:36.221 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=59] [neededSchemaVersion=60] ["elapsed time"=129.408µs] [gotSchemaVersion=60] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 12:45:36.225 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=116] [version=60] [2025/04/04 12:45:36.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=60] ["take time"=7.24246ms] [job="ID:116, Type:drop schema, State:done, SchemaState:none, SchemaID:112, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.11 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.236 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=116] [tableIDs="[114]"] [comment="drop schema: table IDs"] [2025/04/04 12:45:36.245 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=116] [jobType="drop schema"] [2025/04/04 12:45:36.246 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=116] [conn=2] [job="ID:116, Type:drop schema, State:synced, SchemaState:none, SchemaID:112, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.11 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.265 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=116] [2025/04/04 12:45:36.265 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=60] [cur_db=] [sql="drop database if exists from_select"] [user=] [2025/04/04 12:45:36.276 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:118, Type:create schema, State:queueing, SchemaState:none, SchemaID:117, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.261 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:36.276 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:118, Type:create schema, State:queueing, SchemaState:none, SchemaID:117, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.261 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database from_select"] [2025/04/04 12:45:36.282 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=118] [conn=2] [job="ID:118, Type:create schema, State:queueing, SchemaState:none, SchemaID:117, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:36.261 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.296 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=60] [neededSchemaVersion=61] ["elapsed time"=615.827µs] [gotSchemaVersion=61] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 12:45:36.299 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=118] [version=61] [2025/04/04 12:45:36.301 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=61] ["take time"=7.506699ms] [job="ID:118, Type:create schema, State:done, SchemaState:public, SchemaID:117, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.261 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.312 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=118] [conn=2] [job="ID:118, Type:create schema, State:synced, SchemaState:public, SchemaID:117, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:36.261 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.322 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=118] [2025/04/04 12:45:36.323 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=61] [cur_db=] [sql="create database from_select"] [user=] [2025/04/04 12:45:36.336 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:120, Type:create table, State:queueing, SchemaState:none, SchemaID:117, TableID:119, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.311 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:36.336 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:120, Type:create table, State:queueing, SchemaState:none, SchemaID:117, TableID:119, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.311 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table src(id int, v varchar(64))"] [2025/04/04 12:45:36.342 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=120] [conn=2] [job="ID:120, Type:create table, State:queueing, SchemaState:none, SchemaID:117, TableID:119, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:36.311 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.347 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 119, Table Name: src)"] [2025/04/04 12:45:36.362 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=61] [neededSchemaVersion=62] ["elapsed time"=1.656604ms] [gotSchemaVersion=62] [phyTblIDs="[119]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:36.365 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=120] [version=62] [2025/04/04 12:45:36.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=62] ["take time"=8.536809ms] [job="ID:120, Type:create table, State:done, SchemaState:public, SchemaID:117, TableID:119, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.311 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.378 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=120] [conn=2] [job="ID:120, Type:create table, State:synced, SchemaState:public, SchemaID:117, TableID:119, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:36.311 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.390 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=120] [2025/04/04 12:45:36.390 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=62] [cur_db=from_select] [sql="create table src(id int, v varchar(64))"] [user=] [2025/04/04 12:45:36.403 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:122, Type:create table, State:queueing, SchemaState:none, SchemaID:117, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.361 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:36.403 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:122, Type:create table, State:queueing, SchemaState:none, SchemaID:117, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.361 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table dst(id int, v varchar(64))"] [2025/04/04 12:45:36.408 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=122] [conn=2] [job="ID:122, Type:create table, State:queueing, SchemaState:none, SchemaID:117, TableID:121, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:36.361 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.413 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 121, Table Name: dst)"] [2025/04/04 12:45:36.428 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=62] [neededSchemaVersion=63] ["elapsed time"=1.524328ms] [gotSchemaVersion=63] [phyTblIDs="[121]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:36.431 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=122] [version=63] [2025/04/04 12:45:36.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=63] ["take time"=8.193996ms] [job="ID:122, Type:create table, State:done, SchemaState:public, SchemaID:117, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.361 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.445 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=122] [conn=2] [job="ID:122, Type:create table, State:synced, SchemaState:public, SchemaID:117, TableID:121, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:36.361 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.457 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=122] [2025/04/04 12:45:36.457 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=63] [cur_db=from_select] [sql="create table dst(id int, v varchar(64))"] [user=] [2025/04/04 12:45:36.464 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="[planner:1136]Column count doesn't match value count at row 1"] [errorVerbose="[planner:1136]Column count doesn't match value count at row 1\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).buildImportInto\n\tpkg/planner/core/planbuilder.go:4684\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).Build\n\tpkg/planner/core/planbuilder.go:522\ngithub.com/pingcap/tidb/pkg/planner.buildLogicalPlan\n\tpkg/planner/optimize.go:547\ngithub.com/pingcap/tidb/pkg/planner.optimize\n\tpkg/planner/optimize.go:466\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:333\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:101\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ntests/realtikvtest/importintotest2/importintotest2_test.(*mockGCSSuite).TestImportFromSelectBasic\n\ttests/realtikvtest/importintotest2/from_select_test.go:36\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL="import into dst FROM select id from src"] [2025/04/04 12:45:36.465 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="[planner:1136]Column count doesn't match value count at row 1"] [errorVerbose="[planner:1136]Column count doesn't match value count at row 1\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).buildImportInto\n\tpkg/planner/core/planbuilder.go:4684\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).Build\n\tpkg/planner/core/planbuilder.go:522\ngithub.com/pingcap/tidb/pkg/planner.buildLogicalPlan\n\tpkg/planner/optimize.go:547\ngithub.com/pingcap/tidb/pkg/planner.optimize\n\tpkg/planner/optimize.go:466\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:333\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:101\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ntests/realtikvtest/importintotest2/importintotest2_test.(*mockGCSSuite).TestImportFromSelectBasic\n\ttests/realtikvtest/importintotest2/from_select_test.go:37\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL="import into dst(id) FROM select * from src"] [2025/04/04 12:45:36.512 +00:00] [INFO] [import_into.go:266] ["importing data from select statement"] [import-id=f95309c8-353a-4cdb-a187-a2173847ffdd] [concurrency=2] [target-table=`from_select`.`dst`] [target-table-id=121] [2025/04/04 12:45:36.518 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 12:45:36.518 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437829623651060] [2025/04/04 12:45:36.519 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:45:36.519 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 12:45:36.519 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:45:36.519 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:45:36.519 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:45:36.519 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:45:36.520 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:45:36.520 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:45:36.531 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:45:36.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/04 12:45:36.533 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=dst] [quota=374.7GB] [2025/04/04 12:45:36.538 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/04 12:45:36.543 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 12:45:36.543 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=f95309c8-353a-4cdb-a187-a2173847ffdd] [key=import-from-select] [2025/04/04 12:45:36.544 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=f95309c8-353a-4cdb-a187-a2173847ffdd] [key=import-from-select] [readDur=22.313µs] [encodeDur=253.708µs] [checksum="{cksum=4613872053217128256,size=152,kvs=4}"] [deliverDur=183.386µs] [type=query] [takeTime=773.363µs] [] [2025/04/04 12:45:36.545 +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/f95309c8-353a-4cdb-a187-a2173847ffdd/c4140e3b-040a-536c-9317-e3490dc4bcf9.sst/117c65ed-b500-4ec2-9dca-957a174e2991.sst] [firstKey=7480000000000000795F728000000000000001] [lastKey=7480000000000000795F728000000000000004] [2025/04/04 12:45:36.578 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=f95309c8-353a-4cdb-a187-a2173847ffdd] [key=import-from-select] [2025/04/04 12:45:36.578 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=f95309c8-353a-4cdb-a187-a2173847ffdd] [key=import-from-select] [readDur=0s] [encodeDur=0s] [checksum="{cksum=0,size=0,kvs=0}"] [deliverDur=0s] [type=query] [takeTime=81.883µs] [] [2025/04/04 12:45:36.578 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/04 12:45:36.580 +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.95618ms] [] [2025/04/04 12:45:36.580 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [retryCnt=0] [2025/04/04 12:45:36.584 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:45:36.606 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=c4140e3b-040a-536c-9317-e3490dc4bcf9] ["region ranges"=1] [count=4] [size=152] [2025/04/04 12:45:36.606 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:45:36.608 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000795f728000000000000001] [endOfAllRanges=7480000000000000795f728000000000000005] [startKeyOfFirstRegion=7480000000000000ff795f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff795f728000000000ff0000050000000000fa] [2025/04/04 12:45:36.626 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=c4140e3b-040a-536c-9317-e3490dc4bcf9] [size=152] [kvs=4] [importedSize=152] [importedCount=4] [2025/04/04 12:45:36.628 +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=47.72191ms] [] [2025/04/04 12:45:36.628 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 12:45:36.630 +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.980652ms] [] [2025/04/04 12:45:36.630 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [retryCnt=0] [2025/04/04 12:45:36.634 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 12:45:36.634 +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.597781ms] [] [2025/04/04 12:45:36.634 +00:00] [INFO] [table_import.go:761] ["post process start"] [table=dst] [import-id=f95309c8-353a-4cdb-a187-a2173847ffdd] [checksum="{\"id=-1\"=\"{cksum=4613872053217128256,size=152,kvs=4}\"}"] [2025/04/04 12:45:36.634 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [table=dst] [import-id=f95309c8-353a-4cdb-a187-a2173847ffdd] [2025/04/04 12:45:36.640 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [table=dst] [import-id=f95309c8-353a-4cdb-a187-a2173847ffdd] [takeTime=5.552308ms] [] [2025/04/04 12:45:36.640 +00:00] [INFO] [table_import.go:835] ["local checksum"] [table=dst] [import-id=f95309c8-353a-4cdb-a187-a2173847ffdd] [checksum="{cksum=4613872053217128256,size=152,kvs=4}"] [2025/04/04 12:45:36.640 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [table=dst] [import-id=f95309c8-353a-4cdb-a187-a2173847ffdd] [weight=30] [2025/04/04 12:45:36.640 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [table=dst] [import-id=f95309c8-353a-4cdb-a187-a2173847ffdd] [concurrency=15] [2025/04/04 12:45:36.642 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=121] [physicalTableID=121] [indexID=-1] [checksum=4613872053217128256] [totalKvs=4] [totalBytes=152] [2025/04/04 12:45:36.642 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 12:45:36.642 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [table=dst] [import-id=f95309c8-353a-4cdb-a187-a2173847ffdd] [local="{cksum=4613872053217128256,size=152,kvs=4}"] [2025/04/04 12:45:36.642 +00:00] [INFO] [table_import.go:763] ["post process completed"] [table=dst] [import-id=f95309c8-353a-4cdb-a187-a2173847ffdd] [checksum="{\"id=-1\"=\"{cksum=4613872053217128256,size=152,kvs=4}\"}"] [takeTime=8.146055ms] [] [2025/04/04 12:45:36.642 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/04 12:45:36.642 +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.507µs] [] [2025/04/04 12:45:36.642 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/04 12:45:36.644 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [takeTime=1.204533ms] [] [2025/04/04 12:45:36.644 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 12:45:36.644 +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.991µs] [] [2025/04/04 12:45:36.644 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 12:45:36.645 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [takeTime=1.08432ms] [] [2025/04/04 12:45:36.648 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:45:36.648 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:45:36.648 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:45:36.648 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:45:36.648 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:45:36.648 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:36.648 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:45:36.648 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:45:36.648 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:36.648 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-4] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:45:36.648 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:36.648 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:45:36.650 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:45:36.650 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:36.650 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:36.650 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:36.660 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/04 12:45:36.660 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=63] [error="[executor:8173]PreCheck failed: target table is not empty"] [session="{\n \"currDBName\": \"from_select\",\n \"id\": 2,\n \"status\": 2,\n \"strictMode\": false,\n \"user\": null\n}"] [2025/04/04 12:45:36.672 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:124, Type:truncate table, State:queueing, SchemaState:none, SchemaID:117, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.661 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table dst"] [2025/04/04 12:45:36.673 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:124, Type:truncate table, State:queueing, SchemaState:none, SchemaID:117, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.661 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:36.678 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=124] [conn=2] [job="ID:124, Type:truncate table, State:queueing, SchemaState:none, SchemaID:117, TableID:121, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:36.661 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.686 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 123, Table Name: dst, Old Table ID: 121, Old Table Name: dst)"] [2025/04/04 12:45:36.696 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/04 12:45:36.696 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 12:45:36.696 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 12:45:36.696 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:45:36.702 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=63] [neededSchemaVersion=64] ["elapsed time"=1.777783ms] [gotSchemaVersion=64] [phyTblIDs="[121,123]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 12:45:36.706 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=124] [version=64] [2025/04/04 12:45:36.708 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=64] ["take time"=9.216628ms] [job="ID:124, Type:truncate table, State:done, SchemaState:public, SchemaID:117, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.661 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.719 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=124] [tableIDs="[121]"] [comment="truncate table: table ID"] [2025/04/04 12:45:36.723 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=124] [jobType="truncate table"] [2025/04/04 12:45:36.724 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=124] [conn=2] [job="ID:124, Type:truncate table, State:synced, SchemaState:public, SchemaID:117, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.661 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.729 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/04 12:45:36.729 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/04 12:45:36.729 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/1f94e9f8-5c7d-4364-8f9e-ed1ac53f7956] [watcherID=a3d577b1-8051-4308-b73f-3cbaa9ad4a40] [2025/04/04 12:45:36.739 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/04 12:45:36.743 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=124] [2025/04/04 12:45:36.744 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=64] [cur_db=from_select] [sql="truncate table dst"] [user=] [2025/04/04 12:45:36.744 +00:00] [INFO] [slots.go:207] ["update slot capacity"] [old=16] [new=52] [2025/04/04 12:45:36.744 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/04 12:45:36.744 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/04 12:45:36.744 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/04 12:45:36.744 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/04 12:45:36.787 +00:00] [INFO] [import_into.go:266] ["importing data from select statement"] [import-id=13fa118f-df42-404a-9055-491d9c1e85d1] [concurrency=2] [target-table=`from_select`.`dst`] [target-table-id=123] [2025/04/04 12:45:36.794 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 12:45:36.794 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437829623651060] [2025/04/04 12:45:36.795 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:45:36.795 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 12:45:36.795 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:45:36.795 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:45:36.795 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:45:36.795 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:45:36.796 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:45:36.796 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:45:36.808 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:45:36.809 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 12:45:36.809 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=dst] [quota=374.7GB] [2025/04/04 12:45:36.815 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/04 12:45:36.820 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 12:45:36.820 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=13fa118f-df42-404a-9055-491d9c1e85d1] [key=import-from-select] [2025/04/04 12:45:36.820 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=13fa118f-df42-404a-9055-491d9c1e85d1] [key=import-from-select] [2025/04/04 12:45:36.821 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=13fa118f-df42-404a-9055-491d9c1e85d1] [key=import-from-select] [readDur=24.959µs] [encodeDur=209.279µs] [checksum="{cksum=2314861639778060572,size=38,kvs=1}"] [deliverDur=272.658µs] [type=query] [takeTime=852.64µs] [] [2025/04/04 12:45:36.822 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=13fa118f-df42-404a-9055-491d9c1e85d1] [key=import-from-select] [readDur=7.606µs] [encodeDur=531.052µs] [checksum="{cksum=17677677924021734206,size=38,kvs=1}"] [deliverDur=239.239µs] [type=query] [takeTime=1.046592ms] [] [2025/04/04 12:45:36.822 +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/13fa118f-df42-404a-9055-491d9c1e85d1/c4140e3b-040a-536c-9317-e3490dc4bcf9.sst/390713c9-f08c-4321-b643-514e8430bcf5.sst] [firstKey=74800000000000007B5F728000000000000002] [lastKey=74800000000000007B5F728000000000000002] [2025/04/04 12:45:36.823 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/04 12:45:36.824 +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/13fa118f-df42-404a-9055-491d9c1e85d1/c4140e3b-040a-536c-9317-e3490dc4bcf9.sst/28c17b89-4527-489c-b046-f749eb577630.sst] [firstKey=74800000000000007B5F728000000000000001] [lastKey=74800000000000007B5F728000000000000001] [2025/04/04 12:45:36.827 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [takeTime=4.509928ms] [] [2025/04/04 12:45:36.827 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [retryCnt=0] [2025/04/04 12:45:36.831 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:45:36.854 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=c4140e3b-040a-536c-9317-e3490dc4bcf9] ["region ranges"=1] [count=2] [size=76] [2025/04/04 12:45:36.854 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:45:36.856 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000007b5f728000000000000001] [endOfAllRanges=74800000000000007b5f728000000000000003] [startKeyOfFirstRegion=7480000000000000ff7b5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff7b5f728000000000ff0000030000000000fa] [2025/04/04 12:45:36.872 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=c4140e3b-040a-536c-9317-e3490dc4bcf9] [size=76] [kvs=2] [importedSize=76] [importedCount=2] [2025/04/04 12:45:36.873 +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=46.266895ms] [] [2025/04/04 12:45:36.874 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 12:45:36.876 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [takeTime=2.104913ms] [] [2025/04/04 12:45:36.876 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [retryCnt=0] [2025/04/04 12:45:36.879 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 12:45:36.879 +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.537642ms] [] [2025/04/04 12:45:36.879 +00:00] [INFO] [table_import.go:761] ["post process start"] [table=dst] [import-id=13fa118f-df42-404a-9055-491d9c1e85d1] [checksum="{\"id=-1\"=\"{cksum=15380830721546568226,size=76,kvs=2}\"}"] [2025/04/04 12:45:36.879 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [table=dst] [import-id=13fa118f-df42-404a-9055-491d9c1e85d1] [2025/04/04 12:45:36.886 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [table=dst] [import-id=13fa118f-df42-404a-9055-491d9c1e85d1] [takeTime=6.029433ms] [] [2025/04/04 12:45:36.886 +00:00] [INFO] [table_import.go:835] ["local checksum"] [table=dst] [import-id=13fa118f-df42-404a-9055-491d9c1e85d1] [checksum="{cksum=15380830721546568226,size=76,kvs=2}"] [2025/04/04 12:45:36.886 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [table=dst] [import-id=13fa118f-df42-404a-9055-491d9c1e85d1] [weight=30] [2025/04/04 12:45:36.886 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [table=dst] [import-id=13fa118f-df42-404a-9055-491d9c1e85d1] [concurrency=15] [2025/04/04 12:45:36.888 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=123] [physicalTableID=123] [indexID=-1] [checksum=15380830721546568226] [totalKvs=2] [totalBytes=76] [2025/04/04 12:45:36.888 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 12:45:36.888 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [table=dst] [import-id=13fa118f-df42-404a-9055-491d9c1e85d1] [local="{cksum=15380830721546568226,size=76,kvs=2}"] [2025/04/04 12:45:36.888 +00:00] [INFO] [table_import.go:763] ["post process completed"] [table=dst] [import-id=13fa118f-df42-404a-9055-491d9c1e85d1] [checksum="{\"id=-1\"=\"{cksum=15380830721546568226,size=76,kvs=2}\"}"] [takeTime=8.576801ms] [] [2025/04/04 12:45:36.888 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/04 12:45:36.888 +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.581µs] [] [2025/04/04 12:45:36.888 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/04 12:45:36.890 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [takeTime=1.291482ms] [] [2025/04/04 12:45:36.890 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 12:45:36.890 +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.444µs] [] [2025/04/04 12:45:36.890 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 12:45:36.891 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [takeTime=1.147993ms] [] [2025/04/04 12:45:36.894 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:45:36.894 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:45:36.894 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:45:36.894 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:45:36.894 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:45:36.894 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:45:36.894 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:36.894 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:45:36.894 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-5] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:45:36.894 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:36.894 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:36.894 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:45:36.896 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:45:36.896 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:36.896 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:36.896 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:36.911 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:126, Type:truncate table, State:queueing, SchemaState:none, SchemaID:117, TableID:119, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:36.911 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:126, Type:truncate table, State:queueing, SchemaState:none, SchemaID:117, TableID:119, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table src"] [2025/04/04 12:45:36.916 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=126] [conn=2] [job="ID:126, Type:truncate table, State:queueing, SchemaState:none, SchemaID:117, TableID:119, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:36.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.923 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 125, Table Name: src, Old Table ID: 119, Old Table Name: src)"] [2025/04/04 12:45:36.941 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=64] [neededSchemaVersion=65] ["elapsed time"=1.547697ms] [gotSchemaVersion=65] [phyTblIDs="[119,125]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 12:45:36.945 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=126] [version=65] [2025/04/04 12:45:36.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=65] ["take time"=11.075052ms] [job="ID:126, Type:truncate table, State:done, SchemaState:public, SchemaID:117, TableID:119, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.957 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=126] [tableIDs="[119]"] [comment="truncate table: table ID"] [2025/04/04 12:45:36.962 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=126] [jobType="truncate table"] [2025/04/04 12:45:36.962 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=126] [conn=2] [job="ID:126, Type:truncate table, State:synced, SchemaState:public, SchemaID:117, TableID:119, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.861 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.980 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=126] [2025/04/04 12:45:36.980 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=65] [cur_db=from_select] [sql="truncate table src"] [user=] [2025/04/04 12:45:36.993 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:128, Type:truncate table, State:queueing, SchemaState:none, SchemaID:117, TableID:123, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.96 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:36.993 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:128, Type:truncate table, State:queueing, SchemaState:none, SchemaID:117, TableID:123, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.96 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table dst"] [2025/04/04 12:45:36.998 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=128] [conn=2] [job="ID:128, Type:truncate table, State:queueing, SchemaState:none, SchemaID:117, TableID:123, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:36.96 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:37.006 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 127, Table Name: dst, Old Table ID: 123, Old Table Name: dst)"] [2025/04/04 12:45:37.021 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=65] [neededSchemaVersion=66] ["elapsed time"=1.783858ms] [gotSchemaVersion=66] [phyTblIDs="[123,127]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 12:45:37.025 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=128] [version=66] [2025/04/04 12:45:37.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=66] ["take time"=8.934882ms] [job="ID:128, Type:truncate table, State:done, SchemaState:public, SchemaID:117, TableID:123, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.96 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:37.037 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=128] [tableIDs="[123]"] [comment="truncate table: table ID"] [2025/04/04 12:45:37.042 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=128] [jobType="truncate table"] [2025/04/04 12:45:37.043 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=128] [conn=2] [job="ID:128, Type:truncate table, State:synced, SchemaState:public, SchemaID:117, TableID:123, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.96 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:37.060 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=128] [2025/04/04 12:45:37.061 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=66] [cur_db=from_select] [sql="truncate table dst"] [user=] [2025/04/04 12:45:37.460 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 457119036122071049\n# Conn_ID: 2\n# Query_time: 0.363793395\n# Parse_time: 0.052281984\n# Compile_time: 0.078599869\n# Rewrite_time: 0.017895229\n# Optimize_time: 0.000253879\n# Wait_TS: 0.00009743\n# Prewrite_time: 0.018705429 Commit_time: 0.009574722 Get_commit_ts_time: 0.000320587 Slowest_prewrite_rpc_detail: {total:0.014s, region_id: 10, store: 127.0.0.1:20162, time_detail: {total_process_time: 790.5µs, total_suspend_time: 3.28ms, tikv_grpc_process_time: 52.2µs, tikv_grpc_wait_time: 8.42µs, tikv_wall_time: 4.41ms}, scan_detail: {get_snapshot_time: 5.44µs, rocksdb: {block: {}}}, write_detail: {store_batch_wait: 100.2µs, propose_send_wait: 0s, persist_log: {total: 953.1µs, write_leader_wait: 65ns, sync_log: 563.8µs, write_memtable: 415ns}, commit_log: 1.3ms, apply_batch_wait: 376.2µs, apply: {total:1.49ms, mutex_lock: 0s, write_leader_wait: 0s, write_wal: 35.7µs, write_memtable: 294.3µs}, scheduler: {process: 4.05ms, latch_wait: 276µs}}} Commit_primary_rpc_detail: {total:0.006s, region_id: 10, store: 127.0.0.1:20162, time_detail: {total_process_time: 1.67ms, total_suspend_time: 3.44ms, tikv_grpc_process_time: 130.6µs, tikv_grpc_wait_time: 30µs, tikv_wall_time: 5.4ms}, scan_detail: {get_snapshot_time: 6.96µs, rocksdb: {block: {}}}, write_detail: {store_batch_wait: 61.7µs, propose_send_wait: 0s, persist_log: {total: 647.8µs, write_leader_wait: 118ns, sync_log: 532.3µs, write_memtable: 1.8µs}, commit_log: 1.21ms, apply_batch_wait: 8.38µs, apply: {total:2.13ms, mutex_lock: 0s, write_leader_wait: 0s, write_wal: 86.8µs, write_memtable: 1.31ms}, scheduler: {process: 5.07ms, latch_wait: 131.1µ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('7hrwyTAJMjdfMQkwCTAJTi9BCTAJdGltZToxOTNtcywgb3BlbjoxMC4xwrVzLCBjbG9zZToyMC43wrVzLCBsb29wczoxLCBwcmVwYXJlOiB7dG90YWw6IDMzLjhtcywgYXV0b19pZF9hbGxvY2F0b3I6IHthbGxvY19jbnQ6IDEsIEdldDp7bnVtX3JwYzoxLCB0b3RhbF90aW1lOjM3MC45wrVzfSwgdGltZV9kZXRhaWw6IHt0b3RhbF9wcm9jZXNzX3RpbWU6IDMzLjgFlQWCFF93YWl0XwXJCCAyMQ2vCRosa3ZfcmVhZF93YWxsDSIANhHgIHRpa3ZfZ3JwYzpdAAwxLjYyCV0VIR1hDDExLjQZHh1YBDczBXokfSwgc2Nhbl9kZTLAABBrZXlzOiEDKGdldF9zbmFwc2hvEbQMNy4yNwVTsHJvY2tzZGI6IHtibG9jazoge2NhY2hlX2hpdF9jb3VudDogMn19fSwgY29tbQHzRHhuOiB7cHJld3JpdGU6MS4yNSHHAWMRIhBzOjMyOA2yCRQQOjEuMDEBJxxzbG93ZXN0XxFAAF8hlQAgKXDAOiAwLjAwMXMsIHJlZ2lvbl9pZDogNiwgc3RvcmU6IDEyNy4wLjAuMToyMDE2MiwgdIKzAQw3MC44BeUpmRhzdXNwZW5kMZQMNzMuNQkeNXQQcHJvY2U18ggxMS5JlhkhLpUBADMRXQE/LpUBFDc1LjnCtUaWASEkOocBCDYuOLqHASV3OeolHRRfYmF0Y2gFnQw6IDI2BdUgcHJvcG9zZV9zAfIBt0A6IDBzLCBwZXJzaXN0X2xvZzl4CDI2NkVIACwNXhRsZWFkZXINNigzMDZucywgc3luYwk2CDIxMjIuABhtZW10YWJsIaMELjkN+Sn3CTAINTM3DTAQYXBwbHkyrQAEMTUthAUbFZIINjEuCcYUbXV0ZXhfSZkBvwn+MqAAGRcAd4EZADEpUAkpGZsIOS43YWFlKhhoZWR1bGVyRccl8BA6IDcxME2xAGw9SwwxLjUzIcld/xhwcmltYXJ5/rgCdrgCBDM5UXkMb3RhbDq4Agg0ODZFXwAsXZc6uAIAMkIhAEEBTfg1vj64AgQ1NQlZJSQuTgRKuAIINC4xKaFGPwQlLil/lZBGpgIEMTAt4q6oAggxNzEN2glgMggCBDM1NqcCCDE0N22hCS1ZDAwzNzduAeYupQIIMzc3TQFFijalAnHqBRtVpQQ0Nw2NyqUCADINbT6bAAg5LjJFcggsIHNOpwIENDmJWwAsOqcCRdtBpq06CG51beE2CV7FBwAxcdwUYnl0ZTozqdMsaW5zZXJ0OjE1OS4yoZ4tET7jBQg4LjcBHkEHESKh4zHCCRQMOjkuNQUnguMFCDE0czLjBQgxMCzu5AUEOTCNQ04tAwwzLjI4AbxF7Ep4BwQ1MiU8LkwDfSsIOC40IVoNHr3jEDQuNDFtQUM2dwchIjrhBQg1LjTpu+YpAwAwDaOuKgMIOTUzjUNJBDIqAwA2OioDBDU2UeEJLXkqCDQxNUIqAwQxLhK4CWUMMicDCDM3Ng2qBRx1KAwxLjQ5IYTGJwMEMzXNOT6YAAwyOTQucigDBC4wEpYIAGy9zQQyN4GyZSZJsmbMBQQ2c/6hAl2hDDEuNjcB/1afAgQ0NAUcDkMISp8CBDEzcWUZIl2gBDMw5esFHF2eCDUuNJadAgg2LjkhFAAs4p0CADYe+gqunAIANjqZBTKcAggxMTg2xwUINTMyJeuRwFmdBDEuDt0JAH0imgoS0wgIMS4yEmkKRYMynwIIOC4zATAALAkbVZ4IMi4xRdDGngIEODYFgU6ZAAAzkR4AaEZrCAg1LjBFEABsXZwEMTMWawpFnmLEBQw1MDAwEW6lx1AyMDM3NjJ9CTcyNy41IEtCCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('+hrw1wr1GgoISW5zZXJ0XzE4AUABUgNOL0FaMHRpbWU6MTkzbXMsIG9wZW46MTAuMcK1cywgY2xvc2U6MjAuN8K1cywgbG9vcHM6MWLkDnByZXBhcmU6IHt0b3RhbDogMzMuOG1zLCBhdXRvX2lkX2FsbG9jYXRvcjoge2FsbG9jX2NudDogMSwgR2V0OntudW1fcnBjOjEsIHRvdGFsX3RpbWU6MzcwLjnCtXN9LCB0aW1lX2RldGFpbDoge3RvdGFsX3Byb2Nlc3NfdGltZTogMzMuOMK1cywgdAGCEF93YWl0CUYMIDIxLgmwCVssa3ZfcmVhZF93YWxsDSIENjAN4TB0aWt2X2dycGNfcHJvHV0MMS42MiUCGSEdYQwxMS40GR4dWAQ3MwV6HH0sIHNjYW5fOsAAEGtleXM6IQMoZ2V0X3NuYXBzaG8RtAg3LjIJtLByb2Nrc2RiOiB7YmxvY2s6IHtjYWNoZV9oaXRfY291bnQ6IDJ9fX0sIGNvbW0B80R4bjoge3ByZXdyaXRlOjEuMjUhyAFjESIQczozMjgNsgkUEDoxLjAxASccc2xvd2VzdF8RQAxfcnBjMXBoOiAwLjAwMXMsIHJlZ2lvbl9pZDogNiwgc3RvIfo8MTI3LjAuMC4xOjIwMTYyLIqzAQg3MC4uswEYc3VzcGVuZDGUDDczLjU5Vk6VAQAxQrYBLpUBADMRXSHULpUBCDc1Lk1WNpYBISQ6hwEINi44uocBJXc56iUdFF9iYXRjaAWdDDogMjYF1SBwcm9wb3NlX3MB8gG3QDogMHMsIHBlcnNpc3RfbG9nOXgIMjY2RUgALA1eFGxlYWRlcg02KDMwNm5zLCBzeW5jCTYIMjEyMi4AMG1lbXRhYmxlOiAxLjkN+Sn3CTAINTM3DTAQYXBwbHkyrQAEMTUthAUbFZIINjEuCcYUbXV0ZXhfSZkBvwn+MqAAGRcUd2FsOiAxKVAJKRmbCDkuN2FhZSoYaGVkdWxlckXHZYUQOiA3MTBNsQBsPUscMS41M8K1c31d/xhwcmltYXJ5/rgCdrgCBDM5UXmFaza4Agg0ODZFX2EBWk0EADJCIQBBAU34Nb4+uAIENTUJWSUkLk4ESrgCCDQuMSmhRj8EJS4pf5WQRqYCBDEwLeKuqAIIMTcxDdoJYDIIAgQzNTanAggxNDdtoQktWQwMMzc3bgHmLqUCCDM3N00BRYo2pQJx6gUbVaUENDcNjcqlAgAyDW0+mwAIOS4yRXIILCBzTqcCBDQ5iVsALDqnAkXbQaatOhBudW06MXHOxQcVDhRieXRlOjOp0wBp5ZwoOjE1OS4ybXNitwstEj7kBQg4LjehvUEIESKh5DHDCRQMOjkuNQUnguQFCDE0czLkBQgxMCzu5QUEOTCNRE4uAwgzLjISKAhF7UrkBQQ1MiU9Lk0DfSwIOC40IVsNHr3kEDQuNDFtQUSC4gUINS406bzmKgMAMA2jrisDCDk1M41ESWMyKwMANjorAwQ1NlHiCS15Kwg0MTVCKwMEMS4SugllDTIoAwgzNzYNqgUcdSkMMS40OUFAxigDBDM1zTo+mAAMMjk0LnIpAwQuMBKXCABsvc4EMjeBs2UnSbJmzQUENnP+oQJdoQwxLjY3Af9WnwIENDQFHF7LBQAzcWUZIl2gBDMw5ewFHF2eCDUuNJadAgg2LjkhFAAs4p0CADYe+wqunAIANjqaBTKcAggxMTg2yAUINTMyJeuRz1mdBDEuDt4JAH0imwoS1AgIMS4yEmoKRYMynwIIOC4zATAALAkbVZ4IMi4xRdDGngIEODYFgU6ZAAAzkR4AaEZsCAg1LjBFEABsXZwEMTMWbApFnmLFBQw1MDAwEW6lyFwyMDM3NjJ9cKi8LXj///////////8BGAE=')\n# Resource_group: default\nuse from_select;\ninsert into src values (0, 'abc-0'),(1, 'abc-1'),(2, 'abc-2'),(3, 'abc-3'),(4, 'abc-4'),(5, 'abc-5'),(6, 'abc-6'),(7, 'abc-7'),(8, 'abc-8'),(9, 'abc-9'),(10, 'abc-10'),(11, 'abc-11'),(12, 'abc-12'),(13, 'abc-13'),(14, 'abc-14'),(15, 'abc-15'),(16, 'abc-16'),(17, 'abc-17'),(18, 'abc-18'),(19, 'abc-19'),(20, 'abc-20'),(21, 'abc-21'),(22, 'abc-22'),(23, 'abc-23'),(24, 'abc-24'),(25, 'abc-25'),(26, 'abc-26'),(27, 'abc-27'),(28, 'abc-28'),(29, 'abc-29'),(30, 'abc-30'),(31, 'abc-31'),(32, 'abc-32'),(33, 'abc-33'),(34, 'abc-34'),(35, 'abc-35'),(36, 'abc-36'),(37, 'abc-37'),(38, 'abc-38'),(39, 'abc-39'),(40, 'abc-40'),(41, 'abc-41'),(42, 'abc-42'),(43, 'abc-43'),(44, 'abc-44'),(45, 'abc-45'),(46, 'abc-46'),(47, 'abc-47'),(48, 'abc-48'),(49, 'abc-49'),(50, 'abc-50'),(51, 'abc-51'),(52, 'abc-52'),(53, 'abc-53'),(54, 'abc-54'),(55, 'abc-55'),(56, 'abc-56'),(57, 'abc-57'),(58, 'abc-58'),(59, 'abc-59'),(60, 'abc-60'),(61, 'abc-61'),(62, 'abc-62'),(63, 'abc-63'),(64, 'abc-64'),(65, 'abc-65'),(66, 'abc-66'),(67, 'abc-67'),(68, 'abc-68'),(69, 'abc-69'),(70, 'abc-70'),(71, 'abc-71'),(72, 'abc-72'),(73, 'abc-73'),(74, 'abc-74'),(75, 'abc-75'),(76, 'abc-76'),(77, 'abc-77'),(78, 'abc-78'),(79, 'abc-79'),(80, 'abc-80'),(81, 'abc-81'),(82, 'abc-82'),(83, 'abc-83'),(84, 'abc-84'),(85, 'abc-85'),(86, 'abc-86'),(87, 'abc-87'),(88, 'abc-88'),(89, 'abc-89'),(90, 'abc-90'),(91, 'abc-91'),(92, 'abc-92'),(93, 'abc-93'),(94, 'abc-94'),(95, 'abc-95'),(96, 'abc-96'),(97, 'abc-97'),(98, 'abc-98'),(99, 'abc-99'),(100, 'abc-100'),(101, 'abc-101'),(102, 'abc-102'),(103, 'abc-103'),(104, 'abc-104'),(105, 'abc-105'),(106, 'abc-106'),(107, 'abc-107'),(108, 'abc-108'),(109, 'abc-109'),(110, 'abc-110'),(111, 'abc-111'),(112, 'abc-112'),(113, 'abc-113'),(114, 'abc-114'),(115, 'abc-115'),(116, 'abc-116'),(117, 'abc-117'),(118, 'abc-118'),(119, 'abc-119'),(120, 'abc-120'),(121, 'abc-121'),(122, 'abc-122'),(123, 'abc-123'),(124, 'abc-124'),(125, 'abc-125'),(126, 'abc-126'),(127, 'abc-127'),(128, 'abc-128'),(129, 'abc-129'),(130, 'abc-130'),(131, 'abc-131'),(132, 'abc-132'),(133, 'abc-133'),(134, 'abc-134'),(135, 'abc-135'),(136, 'abc-136'),(137, 'abc-137'),(138, 'abc-138'),(139, 'abc-139'),(140, 'abc-140'),(141, 'abc-141'),(142, 'abc-142'),(143, 'abc-143'),(144, 'abc-144'),(145, 'abc-145'),(146, 'abc-146'),(147, 'abc-147'),(148, 'abc-148'),(149, 'abc-149'),(150, 'abc-150'),(151, 'abc-151'),(152, 'abc-152'),(153, 'abc-153'),(154, 'abc-154'),(155, 'abc-155'),(156, 'abc-156'),(157, 'abc-157'),(158, 'abc-158'),(159, 'abc-159'),(160, 'abc-160'),(161, 'abc-161'),(162, 'abc-162'),(163, 'abc-163'),(164, 'abc-164'),(165, 'abc-165'),(166, 'abc-166'),(167, 'abc-167'),(168, 'abc-168'),(169, 'abc-169'),(170, 'abc-170'),(171, 'abc-171'),(172, 'abc-172'),(173, 'abc-173'),(174, 'abc-174'),(175, 'abc-175'),(176, 'abc-176'),(177, 'abc-177'),(178, 'abc-178'),(179, 'abc-179'),(180, 'abc-180'),(181, 'abc-181'),(182, 'abc-182'),(183, 'abc-183'),(184, 'abc-184'),(185, 'abc-185'),(186, 'abc-186'),(187, 'abc-187'),(188, 'abc-188'),(189, 'abc-189'),(190, 'abc-190'),(191, 'abc-191'),(192, 'abc-192'),(193, 'abc-193'),(194, 'abc-194'),(195, 'abc-195'),(196, 'abc-196'),(197, 'abc-197'),(198, 'abc-198'),(199, 'abc-199'),(200, 'abc-200'),(201, 'abc-201'),(202, 'abc-202'),(203, 'abc-203'),(204, 'abc-204'),(205, 'abc-205'),(206, 'abc-206'),(207, 'abc-207'),(208, 'abc-208'),(209, 'abc-209'),(210, 'abc-210'),(211, 'abc-211'),(212, 'abc-212'),(213, 'abc-213'),(214, 'abc-214'),(215, 'abc-215'),(216, 'abc-216'),(217, 'abc-217'),(218, 'abc-218'),(219, 'abc-219'),(220, 'abc-220'),(221, 'abc-221'),(222, 'abc-222'),(223, 'abc-223'),(224, 'abc-224'),(225, 'abc-225'),(226, 'abc-226'),(227, 'abc-227'),(228, 'abc-228'),(229, 'abc-229'),(230, 'abc-230'),(231, 'abc-231'),(232, 'abc-232'),(233, 'abc-233'),(234, 'abc-234'),(235, 'abc-235'),(236, 'abc-236'),(237, 'abc-237'),(238, 'abc-238'),(239, 'abc-239'),(240, 'abc-240'),(241, 'abc-241'),(242, 'abc-242'),(243, 'abc-243'),(244, 'abc-244'),(245, 'abc-245'),(246, 'abc-246'),(247, 'abc-247'),(248, 'abc-248'),(249, 'abc-249'),(250, 'abc-250'),(251, 'abc-251'),(252, 'ab(len:92802);"] [2025/04/04 12:45:37.507 +00:00] [INFO] [import_into.go:266] ["importing data from select statement"] [import-id=9cf8cf4c-8747-45f0-86d9-3f0005b09952] [concurrency=8] [target-table=`from_select`.`dst`] [target-table-id=127] [2025/04/04 12:45:37.513 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 12:45:37.513 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437829623651060] [2025/04/04 12:45:37.514 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:45:37.514 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 12:45:37.514 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:45:37.514 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:45:37.514 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:45:37.514 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:45:37.515 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:45:37.515 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:45:37.527 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:45:37.528 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 12:45:37.528 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=dst] [quota=374.7GB] [2025/04/04 12:45:37.534 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/04 12:45:37.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/04 12:45:37.541 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=9cf8cf4c-8747-45f0-86d9-3f0005b09952] [key=import-from-select] [2025/04/04 12:45:37.541 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=9cf8cf4c-8747-45f0-86d9-3f0005b09952] [key=import-from-select] [2025/04/04 12:45:37.541 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=9cf8cf4c-8747-45f0-86d9-3f0005b09952] [key=import-from-select] [2025/04/04 12:45:37.541 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=9cf8cf4c-8747-45f0-86d9-3f0005b09952] [key=import-from-select] [2025/04/04 12:45:37.541 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=9cf8cf4c-8747-45f0-86d9-3f0005b09952] [key=import-from-select] [2025/04/04 12:45:37.541 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=9cf8cf4c-8747-45f0-86d9-3f0005b09952] [key=import-from-select] [2025/04/04 12:45:37.541 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=9cf8cf4c-8747-45f0-86d9-3f0005b09952] [key=import-from-select] [2025/04/04 12:45:37.541 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=9cf8cf4c-8747-45f0-86d9-3f0005b09952] [key=import-from-select] [2025/04/04 12:45:37.602 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=9cf8cf4c-8747-45f0-86d9-3f0005b09952] [key=import-from-select] [readDur=31.316162ms] [encodeDur=24.702845ms] [checksum="{cksum=3170130488808863709,size=25305,kvs=621}"] [deliverDur=1.945332ms] [type=query] [takeTime=60.667344ms] [] [2025/04/04 12:45:37.602 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=9cf8cf4c-8747-45f0-86d9-3f0005b09952] [key=import-from-select] [readDur=31.916725ms] [encodeDur=24.097206ms] [checksum="{cksum=8046248283547465814,size=25402,kvs=623}"] [deliverDur=2.257955ms] [type=query] [takeTime=61.225452ms] [] [2025/04/04 12:45:37.603 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=25305] [kvs=621] [files=1] [sstFileSize=8196] [file=/tmp/tidb/import-4000/9cf8cf4c-8747-45f0-86d9-3f0005b09952/c4140e3b-040a-536c-9317-e3490dc4bcf9.sst/b643bfb4-96d8-4bf3-b869-3a62de92bea6.sst] [firstKey=74800000000000007F5F728000000000000015] [lastKey=74800000000000007F5F728000000000001382] [2025/04/04 12:45:37.604 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=9cf8cf4c-8747-45f0-86d9-3f0005b09952] [key=import-from-select] [readDur=34.17146ms] [encodeDur=23.973998ms] [checksum="{cksum=13988927020077207790,size=25187,kvs=618}"] [deliverDur=2.16698ms] [type=query] [takeTime=62.77948ms] [] [2025/04/04 12:45:37.605 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=25402] [kvs=623] [files=1] [sstFileSize=8181] [file=/tmp/tidb/import-4000/9cf8cf4c-8747-45f0-86d9-3f0005b09952/c4140e3b-040a-536c-9317-e3490dc4bcf9.sst/007f1e88-27f0-493b-a0b1-eb5437323c15.sst] [firstKey=74800000000000007F5F728000000000000014] [lastKey=74800000000000007F5F728000000000001385] [2025/04/04 12:45:37.606 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=9cf8cf4c-8747-45f0-86d9-3f0005b09952] [key=import-from-select] [readDur=31.558055ms] [encodeDur=24.655464ms] [checksum="{cksum=16230915409033813156,size=26322,kvs=646}"] [deliverDur=2.043324ms] [type=query] [takeTime=64.57949ms] [] [2025/04/04 12:45:37.606 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=9cf8cf4c-8747-45f0-86d9-3f0005b09952] [key=import-from-select] [readDur=32.265769ms] [encodeDur=24.043954ms] [checksum="{cksum=6187448088517233040,size=25560,kvs=627}"] [deliverDur=3.01107ms] [type=query] [takeTime=65.025914ms] [] [2025/04/04 12:45:37.607 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=25187] [kvs=618] [files=1] [sstFileSize=8128] [file=/tmp/tidb/import-4000/9cf8cf4c-8747-45f0-86d9-3f0005b09952/c4140e3b-040a-536c-9317-e3490dc4bcf9.sst/e7815886-0235-4c17-8e72-00ba72745b1a.sst] [firstKey=74800000000000007F5F728000000000000013] [lastKey=74800000000000007F5F728000000000001388] [2025/04/04 12:45:37.608 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=9cf8cf4c-8747-45f0-86d9-3f0005b09952] [key=import-from-select] [readDur=32.651528ms] [encodeDur=23.181508ms] [checksum="{cksum=12537501933925595531,size=24666,kvs=605}"] [deliverDur=2.764912ms] [type=query] [takeTime=66.332396ms] [] [2025/04/04 12:45:37.608 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=9cf8cf4c-8747-45f0-86d9-3f0005b09952] [key=import-from-select] [readDur=32.922431ms] [encodeDur=23.515837ms] [checksum="{cksum=17668569355608387490,size=25743,kvs=632}"] [deliverDur=1.893496ms] [type=query] [takeTime=67.72747ms] [] [2025/04/04 12:45:37.609 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=26322] [kvs=646] [files=1] [sstFileSize=8404] [file=/tmp/tidb/import-4000/9cf8cf4c-8747-45f0-86d9-3f0005b09952/c4140e3b-040a-536c-9317-e3490dc4bcf9.sst/9180a831-7725-48ab-bd5b-2dd8fc0d6360.sst] [firstKey=74800000000000007F5F728000000000000006] [lastKey=74800000000000007F5F728000000000001387] [2025/04/04 12:45:37.610 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=9cf8cf4c-8747-45f0-86d9-3f0005b09952] [key=import-from-select] [readDur=33.296169ms] [encodeDur=23.191678ms] [checksum="{cksum=4863016650847420039,size=25577,kvs=628}"] [deliverDur=2.798884ms] [type=query] [takeTime=69.102158ms] [] [2025/04/04 12:45:37.611 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/04 12:45:37.617 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=25560] [kvs=627] [files=1] [sstFileSize=8311] [file=/tmp/tidb/import-4000/9cf8cf4c-8747-45f0-86d9-3f0005b09952/c4140e3b-040a-536c-9317-e3490dc4bcf9.sst/9ac8d46b-d00a-49e9-a002-ac68ed30b2b7.sst] [firstKey=74800000000000007F5F728000000000000004] [lastKey=74800000000000007F5F728000000000001383] [2025/04/04 12:45:37.620 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=25743] [kvs=632] [files=1] [sstFileSize=8253] [file=/tmp/tidb/import-4000/9cf8cf4c-8747-45f0-86d9-3f0005b09952/c4140e3b-040a-536c-9317-e3490dc4bcf9.sst/5dc179b5-fc07-49da-9a00-1b563f4f5e2a.sst] [firstKey=74800000000000007F5F728000000000000001] [lastKey=74800000000000007F5F728000000000001381] [2025/04/04 12:45:37.622 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=24666] [kvs=605] [files=1] [sstFileSize=8021] [file=/tmp/tidb/import-4000/9cf8cf4c-8747-45f0-86d9-3f0005b09952/c4140e3b-040a-536c-9317-e3490dc4bcf9.sst/363b2fd8-27a5-472d-aad7-da37fd7c33d7.sst] [firstKey=74800000000000007F5F72800000000000001D] [lastKey=74800000000000007F5F728000000000001386] [2025/04/04 12:45:37.624 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=25577] [kvs=628] [files=1] [sstFileSize=8291] [file=/tmp/tidb/import-4000/9cf8cf4c-8747-45f0-86d9-3f0005b09952/c4140e3b-040a-536c-9317-e3490dc4bcf9.sst/6fae88b3-8a8f-443c-97c6-ebaf2e715424.sst] [firstKey=74800000000000007F5F728000000000000002] [lastKey=74800000000000007F5F728000000000001384] [2025/04/04 12:45:37.628 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [takeTime=17.659005ms] [] [2025/04/04 12:45:37.628 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [retryCnt=0] [2025/04/04 12:45:37.634 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:45:37.657 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=c4140e3b-040a-536c-9317-e3490dc4bcf9] ["region ranges"=1] [count=5000] [size=203762] [2025/04/04 12:45:37.657 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:45:37.660 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000007f5f728000000000000001] [endOfAllRanges=74800000000000007f5f728000000000001389] [startKeyOfFirstRegion=7480000000000000ff7f5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff7f5f728000000000ff0013890000000000fa] [2025/04/04 12:45:37.682 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/04 12:45:37.740 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=c4140e3b-040a-536c-9317-e3490dc4bcf9] [size=203762] [kvs=5000] [importedSize=203762] [importedCount=5000] [2025/04/04 12:45:37.742 +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=113.085275ms] [] [2025/04/04 12:45:37.742 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 12:45:37.744 +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.849203ms] [] [2025/04/04 12:45:37.744 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [retryCnt=0] [2025/04/04 12:45:37.747 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 12:45:37.747 +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.659327ms] [] [2025/04/04 12:45:37.747 +00:00] [INFO] [table_import.go:761] ["post process start"] [table=dst] [import-id=9cf8cf4c-8747-45f0-86d9-3f0005b09952] [checksum="{\"id=-1\"=\"{cksum=2965160055807091455,size=203762,kvs=5000}\"}"] [2025/04/04 12:45:37.747 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [table=dst] [import-id=9cf8cf4c-8747-45f0-86d9-3f0005b09952] [2025/04/04 12:45:37.753 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [table=dst] [import-id=9cf8cf4c-8747-45f0-86d9-3f0005b09952] [takeTime=5.833981ms] [] [2025/04/04 12:45:37.753 +00:00] [INFO] [table_import.go:835] ["local checksum"] [table=dst] [import-id=9cf8cf4c-8747-45f0-86d9-3f0005b09952] [checksum="{cksum=2965160055807091455,size=203762,kvs=5000}"] [2025/04/04 12:45:37.753 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [table=dst] [import-id=9cf8cf4c-8747-45f0-86d9-3f0005b09952] [weight=30] [2025/04/04 12:45:37.753 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [table=dst] [import-id=9cf8cf4c-8747-45f0-86d9-3f0005b09952] [concurrency=15] [2025/04/04 12:45:37.758 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=127] [physicalTableID=127] [indexID=-1] [checksum=2965160055807091455] [totalKvs=5000] [totalBytes=203762] [2025/04/04 12:45:37.759 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 12:45:37.759 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [table=dst] [import-id=9cf8cf4c-8747-45f0-86d9-3f0005b09952] [local="{cksum=2965160055807091455,size=203762,kvs=5000}"] [2025/04/04 12:45:37.759 +00:00] [INFO] [table_import.go:763] ["post process completed"] [table=dst] [import-id=9cf8cf4c-8747-45f0-86d9-3f0005b09952] [checksum="{\"id=-1\"=\"{cksum=2965160055807091455,size=203762,kvs=5000}\"}"] [takeTime=11.274486ms] [] [2025/04/04 12:45:37.759 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/04 12:45:37.759 +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.056µs] [] [2025/04/04 12:45:37.759 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/04 12:45:37.761 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [takeTime=1.799918ms] [] [2025/04/04 12:45:37.761 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 12:45:37.761 +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.552µs] [] [2025/04/04 12:45:37.761 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 12:45:37.762 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [takeTime=1.360703ms] [] [2025/04/04 12:45:37.765 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:45:37.765 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:45:37.765 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:45:37.765 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:45:37.765 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:45:37.765 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:45:37.765 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:45:37.765 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:37.765 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-6] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:45:37.765 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:37.765 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:37.765 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:45:37.767 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:45:37.767 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:37.767 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:37.767 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:37.768 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 457119036200714241\n# Conn_ID: 2\n# Query_time: 0.306148331\n# Parse_time: 0.000151268\n# Compile_time: 0.001083375\n# Rewrite_time: 0.000624028\n# Optimize_time: 0.000253879\n# Wait_TS: 0.00011653\n# Cop_time: 0.004852501 Wait_time: 0.000125525 Request_count: 5 Process_keys: 5000 Total_keys: 5005 Get_snapshot_time: 0.000 Rocksdb_delete_skipped_count: 18664 Rocksdb_key_skipped_count: 23664\n# DB: from_select\n# Is_internal: false\n# Digest: 732118ea7aa678f28e4cb142520f56d3d03c46000e09ced082cbbc8664c18b0b\n# Stats: src:pseudo[10000;0]\n# Num_cop_tasks: 5\n# Cop_proc_avg: 0 Cop_proc_p90: 0 Cop_proc_max: 0 Cop_proc_addr: 127.0.0.1:20162\n# Cop_wait_avg: 2.5105e-05 Cop_wait_p90: 3.4131e-05 Cop_wait_max: 3.4131e-05 Cop_wait_addr: 127.0.0.1:20162\n# Mem_max: 258048\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# 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('ogfwQzAJNTlfMgkwCTAJTi9BCTAJdGltZTozMDQuNG1zLCBvcGVuOjEwNi44wrVzLCBjbG9zZToyMS4zwrVzLCBsb29wczoxBTqgTi9BCjEJMzFfNwkwCTEwMDAwCWRhdGE6VGFibGVGdWxsU2Nhbl82CTUBGgVlADYyYwAIMS41HWMMMTguMgUPCWN0NywgY29wX3Rhc2s6IHtudW06IDUsIG1heDogMi41AakgbWluOiAxLjQxAQ0IYXZnAQ0AOAEMCHA5NRklSGF4X3Byb2Nfa2V5czogMjAxNiwBIUYVAIBjb3ByX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgYnVpbGQFjAhfZHUFGgF7CDYuNwWxAWSYZGlzdHNxbF9jb25jdXJyZW5jeTogMX0sIHJwY19pbmZvOntDb3A6Ack0X3JwYzo1LCB0b3RhbF8lGEA4LjY5bXN9fQk3OC4xIEtCCSFbIDIJNDNfNgkxXzFdqHRhYmxlOnNyYywga2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvCTUpcgRrdgW0FDp7cHJvYwGnBDoyISAhOQgwcywtNAESCHA4MAkbITsFJIhpdGVyczoyNCwgdGFza3M6NX0sIHNjYW5fZGV0YWlsOiB7dAW/AVoIZXNzLV8ENTAhLgnZLhoAMF9zaXplOiAyNDM3NjIR+gBrJZJENTAwNSwgZ2V0X3NuYXBzaG90KRMIIDQyJV2Qcm9ja3NkYjoge2RlbGV0ZV9za2lwcGVkX2NvdW50OiAxODY2NCERAHk+GgAIMjM2ARoMYmxvY0FDEH19fSwgIW4+wwAId2FpEXQMMTI1LkmUCcQoa3ZfcmVhZF93YWwtqgAgRXsAdCFbAGch2xHmAVkUOiA3MS45BbYZIR1eDDgzLjMZHi5UADguMjRtc30JTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('jAigCocICgxJbXBvcnRJbnRvXzISogcKDVRhYmxlUmVhZGVyXzcSqgQKD1QBElBGdWxsU2Nhbl82IWTCmlW+DlRBKQABAfB5iMNAMIgnOAJAAkoUChIKC2Zyb21fc2VsZWN0EgNzcmNSHmtlZXAgb3JkZXI6ZmFsc2UsIHN0YXRzOnBzZXVkb2qxA3Rpa3ZfdGFzazp7cHJvYyBtYXg6Mm1zLCBtaW46MHMsIGF2ZzogMW1zLCBwODA6Mm1zLCBwOTUJJPA8aXRlcnM6MjQsIHRhc2tzOjV9LCBzY2FuX2RldGFpbDoge3RvdGFsX3Byb2Nlc3Nfa2V5czogNTAwMCwgdEIaADRfc2l6ZTogMjQzNzYyLA0hAGsRM/BGNSwgZ2V0X3NuYXBzaG90X3RpbWU6IDQywrVzLCByb2Nrc2RiOiB7ZGVsZXRlX3NraXBwZWRfY291bnQ6IDE4NjY0LCBrZXk+GgAEMjMFGjBibG9jazoge319fSwgAVs+wwAId2FpEXQQMTI1LjUFdwB0BcQsa3ZfcmVhZF93YWxsDZcANSEwAHQhWwxncnBjNQABWRQ6IDcxLjkJPxUhHV4MODMuMxkeLlQAHC4yNG1zfXD/EQEEAXgRCiT/ASGcVh+lh38gNhkCJAFAAVIUZGF0YTpFWllIBFoxBYsINi40Aakcb3BlbjoxMDEN1iBjbG9zZToxOC4pXEBsb29wczo3YvIBY29wX3RhcyEoHG51bTogNSwgQS8IIDIuBfBBMhAgMS40MQFUBGF2QTcELjgBDAhwOTUZJQRheCUPLdkQMjAxNiwBIUYVAIBjb3ByX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgYnVpbGQFjAhfZHUFGhhuOiAxNi43JToBZGBkaXN0c3FsX2NvbmN1cnJlbmN5OiAxfSwgIZAkaW5mbzp7Q29wOgHJFF9ycGM6NVFxJRkwOC42OW1zfX1wxPAEeDlmJVEUA04vQVozBScIMzA0MkIBCDYuOAWBAGMlQgQyMS3KKUIAMVa6AQQYAQ==')\n# Resource_group: default\nIMPORT INTO `from_select`.`dst` FROM SELECT * FROM `from_select`.`src` WITH thread=8;"] --- PASS: TestImportInto/TestImportFromSelectBasic (1.71s) === NAME TestImportInto === RUN TestImportInto/TestImportFromSelectColumnList [2025/04/04 12:45:37.849 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:129, Type:drop schema, State:queueing, SchemaState:public, SchemaID:117, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:37.81 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:37.849 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:129, Type:drop schema, State:queueing, SchemaState:public, SchemaID:117, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:37.81 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop database if exists from_select"] [2025/04/04 12:45:37.855 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=129] [conn=2] [job="ID:129, Type:drop schema, State:queueing, SchemaState:public, SchemaID:117, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:37.81 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:37.874 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=66] [neededSchemaVersion=67] ["elapsed time"=2.542836ms] [gotSchemaVersion=67] [phyTblIDs="[125,127]"] [actionTypes="[2,2]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 12:45:37.877 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=129] [version=67] [2025/04/04 12:45:37.879 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=67] ["take time"=9.61586ms] [job="ID:129, Type:drop schema, State:running, SchemaState:write only, SchemaID:117, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:37.81 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:37.888 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=129] [conn=2] [job="ID:129, Type:drop schema, State:running, SchemaState:write only, SchemaID:117, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:37.81 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:37.900 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=67] [neededSchemaVersion=68] ["elapsed time"=130.134µs] [gotSchemaVersion=68] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 12:45:37.904 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=129] [version=68] [2025/04/04 12:45:37.905 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=68] ["take time"=6.782938ms] [job="ID:129, Type:drop schema, State:running, SchemaState:delete only, SchemaID:117, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:37.81 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:37.914 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=129] [conn=2] [job="ID:129, Type:drop schema, State:running, SchemaState:delete only, SchemaID:117, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:37.81 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:37.919 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/04 12:45:37.930 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=68] [neededSchemaVersion=69] ["elapsed time"=117.73µs] [gotSchemaVersion=69] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 12:45:37.933 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=129] [version=69] [2025/04/04 12:45:37.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=69] ["take time"=7.048733ms] [job="ID:129, Type:drop schema, State:done, SchemaState:none, SchemaID:117, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:37.81 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:37.944 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=129] [tableIDs="[125,127]"] [comment="drop schema: table IDs"] [2025/04/04 12:45:37.949 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=129] [jobType="drop schema"] [2025/04/04 12:45:37.950 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=129] [conn=2] [job="ID:129, Type:drop schema, State:synced, SchemaState:none, SchemaID:117, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:37.81 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:37.966 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=129] [2025/04/04 12:45:37.966 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=69] [cur_db=] [sql="drop database if exists from_select"] [user=] [2025/04/04 12:45:37.977 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:131, Type:create schema, State:queueing, SchemaState:none, SchemaID:130, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:37.961 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:37.977 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:131, Type:create schema, State:queueing, SchemaState:none, SchemaID:130, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:37.961 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database from_select"] [2025/04/04 12:45:37.982 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=131] [conn=2] [job="ID:131, Type:create schema, State:queueing, SchemaState:none, SchemaID:130, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:37.961 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:37.995 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=69] [neededSchemaVersion=70] ["elapsed time"=663.578µs] [gotSchemaVersion=70] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 12:45:37.999 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=131] [version=70] [2025/04/04 12:45:38.001 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=70] ["take time"=7.62753ms] [job="ID:131, Type:create schema, State:done, SchemaState:public, SchemaID:130, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:37.961 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:38.011 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=131] [conn=2] [job="ID:131, Type:create schema, State:synced, SchemaState:public, SchemaID:130, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:37.961 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:38.021 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=131] [2025/04/04 12:45:38.021 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=70] [cur_db=] [sql="create database from_select"] [user=] [2025/04/04 12:45:38.034 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:133, Type:create table, State:queueing, SchemaState:none, SchemaID:130, TableID:132, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:38.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:38.034 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:133, Type:create table, State:queueing, SchemaState:none, SchemaID:130, TableID:132, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:38.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table src(id int, a varchar(64))"] [2025/04/04 12:45:38.039 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=133] [conn=2] [job="ID:133, Type:create table, State:queueing, SchemaState:none, SchemaID:130, TableID:132, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:38.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:38.044 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 132, Table Name: src)"] [2025/04/04 12:45:38.059 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=70] [neededSchemaVersion=71] ["elapsed time"=1.593884ms] [gotSchemaVersion=71] [phyTblIDs="[132]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:38.062 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=133] [version=71] [2025/04/04 12:45:38.064 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=71] ["take time"=8.559541ms] [job="ID:133, Type:create table, State:done, SchemaState:public, SchemaID:130, TableID:132, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:38.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:38.075 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=133] [conn=2] [job="ID:133, Type:create table, State:synced, SchemaState:public, SchemaID:130, TableID:132, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:38.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:38.086 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=133] [2025/04/04 12:45:38.087 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=71] [cur_db=from_select] [sql="create table src(id int, a varchar(64))"] [user=] [2025/04/04 12:45:38.100 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:135, Type:create table, State:queueing, SchemaState:none, SchemaID:130, TableID:134, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:38.06 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:38.100 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:135, Type:create table, State:queueing, SchemaState:none, SchemaID:130, TableID:134, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:38.06 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table dst(id int auto_increment primary key, a varchar(64), b int default 10, c int)"] [2025/04/04 12:45:38.105 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=135] [conn=2] [job="ID:135, Type:create table, State:queueing, SchemaState:none, SchemaID:130, TableID:134, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:38.06 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:38.110 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 134, Table Name: dst)"] [2025/04/04 12:45:38.127 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=71] [neededSchemaVersion=72] ["elapsed time"=1.749353ms] [gotSchemaVersion=72] [phyTblIDs="[134]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:38.130 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=135] [version=72] [2025/04/04 12:45:38.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=72] ["take time"=8.524048ms] [job="ID:135, Type:create table, State:done, SchemaState:public, SchemaID:130, TableID:134, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:38.06 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:38.143 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=135] [conn=2] [job="ID:135, Type:create table, State:synced, SchemaState:public, SchemaID:130, TableID:134, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:38.06 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:38.155 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=135] [2025/04/04 12:45:38.155 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=72] [cur_db=from_select] [sql="create table dst(id int auto_increment primary key, a varchar(64), b int default 10, c int)"] [user=] [2025/04/04 12:45:38.202 +00:00] [INFO] [import_into.go:266] ["importing data from select statement"] [import-id=31336df8-8f2c-4228-8bc1-b0bd1b5f434a] [concurrency=2] [target-table=`from_select`.`dst`] [target-table-id=134] [2025/04/04 12:45:38.209 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 12:45:38.209 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437829623651060] [2025/04/04 12:45:38.209 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:45:38.209 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 12:45:38.210 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:45:38.210 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:45:38.210 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:45:38.210 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:45:38.210 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:45:38.210 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:45:38.221 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:45:38.223 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 12:45:38.223 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=dst] [quota=374.7GB] [2025/04/04 12:45:38.228 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/04 12:45:38.233 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 12:45:38.335 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=31336df8-8f2c-4228-8bc1-b0bd1b5f434a] [key=import-from-select] [2025/04/04 12:45:38.336 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=31336df8-8f2c-4228-8bc1-b0bd1b5f434a] [key=import-from-select] [readDur=27.754µs] [encodeDur=313.96µs] [checksum="{cksum=6223226670940176578,size=168,kvs=4}"] [deliverDur=205.217µs] [type=query] [takeTime=891.239µs] [] [2025/04/04 12:45:38.338 +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/31336df8-8f2c-4228-8bc1-b0bd1b5f434a/c4140e3b-040a-536c-9317-e3490dc4bcf9.sst/91c24e9e-5530-41a8-8028-e6bf8583e605.sst] [firstKey=7480000000000000865F728000000000000001] [lastKey=7480000000000000865F728000000000000004] [2025/04/04 12:45:38.358 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=31336df8-8f2c-4228-8bc1-b0bd1b5f434a] [key=import-from-select] [2025/04/04 12:45:38.358 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=31336df8-8f2c-4228-8bc1-b0bd1b5f434a] [key=import-from-select] [readDur=0s] [encodeDur=0s] [checksum="{cksum=0,size=0,kvs=0}"] [deliverDur=0s] [type=query] [takeTime=90.546µs] [] [2025/04/04 12:45:38.359 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/04 12:45:38.361 +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.194005ms] [] [2025/04/04 12:45:38.361 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [retryCnt=0] [2025/04/04 12:45:38.365 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:45:38.387 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=c4140e3b-040a-536c-9317-e3490dc4bcf9] ["region ranges"=1] [count=4] [size=168] [2025/04/04 12:45:38.387 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:45:38.388 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000865f728000000000000001] [endOfAllRanges=7480000000000000865f728000000000000005] [startKeyOfFirstRegion=7480000000000000ff865f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff865f728000000000ff0000050000000000fa] [2025/04/04 12:45:38.404 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=c4140e3b-040a-536c-9317-e3490dc4bcf9] [size=168] [kvs=4] [importedSize=168] [importedCount=4] [2025/04/04 12:45:38.406 +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=44.570164ms] [] [2025/04/04 12:45:38.406 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 12:45:38.407 +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.831837ms] [] [2025/04/04 12:45:38.408 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [retryCnt=0] [2025/04/04 12:45:38.411 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 12:45:38.411 +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.512664ms] [] [2025/04/04 12:45:38.411 +00:00] [INFO] [table_import.go:761] ["post process start"] [table=dst] [import-id=31336df8-8f2c-4228-8bc1-b0bd1b5f434a] [checksum="{\"id=-1\"=\"{cksum=6223226670940176578,size=168,kvs=4}\"}"] [2025/04/04 12:45:38.411 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [table=dst] [import-id=31336df8-8f2c-4228-8bc1-b0bd1b5f434a] [2025/04/04 12:45:38.417 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [table=dst] [import-id=31336df8-8f2c-4228-8bc1-b0bd1b5f434a] [takeTime=5.941494ms] [] [2025/04/04 12:45:38.417 +00:00] [INFO] [table_import.go:835] ["local checksum"] [table=dst] [import-id=31336df8-8f2c-4228-8bc1-b0bd1b5f434a] [checksum="{cksum=6223226670940176578,size=168,kvs=4}"] [2025/04/04 12:45:38.417 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [table=dst] [import-id=31336df8-8f2c-4228-8bc1-b0bd1b5f434a] [weight=30] [2025/04/04 12:45:38.417 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [table=dst] [import-id=31336df8-8f2c-4228-8bc1-b0bd1b5f434a] [concurrency=15] [2025/04/04 12:45:38.419 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=134] [physicalTableID=134] [indexID=-1] [checksum=6223226670940176578] [totalKvs=4] [totalBytes=168] [2025/04/04 12:45:38.420 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 12:45:38.420 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [table=dst] [import-id=31336df8-8f2c-4228-8bc1-b0bd1b5f434a] [local="{cksum=6223226670940176578,size=168,kvs=4}"] [2025/04/04 12:45:38.420 +00:00] [INFO] [table_import.go:763] ["post process completed"] [table=dst] [import-id=31336df8-8f2c-4228-8bc1-b0bd1b5f434a] [checksum="{\"id=-1\"=\"{cksum=6223226670940176578,size=168,kvs=4}\"}"] [takeTime=8.560201ms] [] [2025/04/04 12:45:38.420 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/04 12:45:38.420 +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.896µs] [] [2025/04/04 12:45:38.420 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/04 12:45:38.421 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [takeTime=1.285816ms] [] [2025/04/04 12:45:38.421 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 12:45:38.422 +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.329µs] [] [2025/04/04 12:45:38.422 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 12:45:38.423 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [takeTime=1.291604ms] [] [2025/04/04 12:45:38.426 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:45:38.426 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:45:38.426 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:45:38.426 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:45:38.426 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:45:38.426 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:38.426 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:45:38.426 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:45:38.426 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:38.426 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-7] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:45:38.426 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:38.426 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:45:38.428 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:45:38.428 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:38.428 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:38.428 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:38.443 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:137, Type:truncate table, State:queueing, SchemaState:none, SchemaID:130, TableID:134, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:38.41 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:38.443 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:137, Type:truncate table, State:queueing, SchemaState:none, SchemaID:130, TableID:134, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:38.41 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table dst"] [2025/04/04 12:45:38.448 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=137] [conn=2] [job="ID:137, Type:truncate table, State:queueing, SchemaState:none, SchemaID:130, TableID:134, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:38.41 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:38.457 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 136, Table Name: dst, Old Table ID: 134, Old Table Name: dst)"] [2025/04/04 12:45:38.474 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=72] [neededSchemaVersion=73] ["elapsed time"=2.013717ms] [gotSchemaVersion=73] [phyTblIDs="[134,136]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 12:45:38.477 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=137] [version=73] [2025/04/04 12:45:38.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=73] ["take time"=9.006484ms] [job="ID:137, Type:truncate table, State:done, SchemaState:public, SchemaID:130, TableID:134, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:38.41 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:38.490 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=137] [tableIDs="[134]"] [comment="truncate table: table ID"] [2025/04/04 12:45:38.494 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=137] [jobType="truncate table"] [2025/04/04 12:45:38.495 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=137] [conn=2] [job="ID:137, Type:truncate table, State:synced, SchemaState:public, SchemaID:130, TableID:134, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:38.41 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:38.515 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=137] [2025/04/04 12:45:38.515 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=73] [cur_db=from_select] [sql="truncate table dst"] [user=] [2025/04/04 12:45:38.527 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:139, Type:create table, State:queueing, SchemaState:none, SchemaID:130, TableID:138, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:38.51 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:38.527 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:139, Type:create table, State:queueing, SchemaState:none, SchemaID:130, TableID:138, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:38.51 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table src2(id int, a varchar(64))"] [2025/04/04 12:45:38.533 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=139] [conn=2] [job="ID:139, Type:create table, State:queueing, SchemaState:none, SchemaID:130, TableID:138, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:38.51 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:38.538 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 138, Table Name: src2)"] [2025/04/04 12:45:38.553 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=73] [neededSchemaVersion=74] ["elapsed time"=1.551616ms] [gotSchemaVersion=74] [phyTblIDs="[138]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:38.556 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=139] [version=74] [2025/04/04 12:45:38.558 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=74] ["take time"=8.327556ms] [job="ID:139, Type:create table, State:done, SchemaState:public, SchemaID:130, TableID:138, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:38.51 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:38.569 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=139] [conn=2] [job="ID:139, Type:create table, State:synced, SchemaState:public, SchemaID:130, TableID:138, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:38.51 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:38.581 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=139] [2025/04/04 12:45:38.581 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=74] [cur_db=from_select] [sql="create table src2(id int, a varchar(64))"] [user=] [2025/04/04 12:45:38.633 +00:00] [INFO] [import_into.go:266] ["importing data from select statement"] [import-id=698a9f68-725e-4675-a68d-4b393b386325] [concurrency=2] [target-table=`from_select`.`dst`] [target-table-id=136] [2025/04/04 12:45:38.639 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 12:45:38.639 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437829623651060] [2025/04/04 12:45:38.640 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:45:38.640 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 12:45:38.640 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:45:38.640 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:45:38.640 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:45:38.640 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:45:38.641 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:45:38.641 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:45:38.652 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:45:38.653 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 12:45:38.653 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=dst] [quota=374.7GB] [2025/04/04 12:45:38.659 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/04 12:45:38.665 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 12:45:38.706 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=698a9f68-725e-4675-a68d-4b393b386325] [key=import-from-select] [2025/04/04 12:45:38.706 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=698a9f68-725e-4675-a68d-4b393b386325] [key=import-from-select] [2025/04/04 12:45:38.706 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=698a9f68-725e-4675-a68d-4b393b386325] [key=import-from-select] [readDur=10.847µs] [encodeDur=503.415µs] [checksum="{cksum=315885457693033213,size=40,kvs=1}"] [deliverDur=21.19µs] [type=query] [takeTime=801.557µs] [] [2025/04/04 12:45:38.707 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=698a9f68-725e-4675-a68d-4b393b386325] [key=import-from-select] [readDur=127.845µs] [encodeDur=583.094µs] [checksum="{cksum=8441901628172813032,size=40,kvs=1}"] [deliverDur=271.781µs] [type=query] [takeTime=1.268867ms] [] [2025/04/04 12:45:38.708 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=40] [kvs=1] [files=1] [sstFileSize=938] [file=/tmp/tidb/import-4000/698a9f68-725e-4675-a68d-4b393b386325/c4140e3b-040a-536c-9317-e3490dc4bcf9.sst/66c519c7-702f-427f-b221-93b7f718393c.sst] [firstKey=7480000000000000885F728000000000000001] [lastKey=7480000000000000885F728000000000000001] [2025/04/04 12:45:38.708 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/04 12:45:38.709 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=40] [kvs=1] [files=1] [sstFileSize=938] [file=/tmp/tidb/import-4000/698a9f68-725e-4675-a68d-4b393b386325/c4140e3b-040a-536c-9317-e3490dc4bcf9.sst/02015be4-eb00-4433-9a10-4ba7df5eb2fc.sst] [firstKey=7480000000000000885F728000000000000002] [lastKey=7480000000000000885F728000000000000002] [2025/04/04 12:45:38.712 +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.796534ms] [] [2025/04/04 12:45:38.712 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [retryCnt=0] [2025/04/04 12:45:38.717 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:45:38.728 +00:00] [INFO] [read.go:801] ["Table statistics item not found, possibly due to table being dropped"] [category=stats] [sampled=] [tableID=24] [indexID=1] [2025/04/04 12:45:38.728 +00:00] [INFO] [read.go:674] ["Table information not found, possibly due to table being dropped"] [category=stats] [sampled=] [tableID=119] [columnID=3] [2025/04/04 12:45:38.728 +00:00] [INFO] [read.go:686] ["Column information not found, possibly due to column being dropped"] [category=stats] [sampled=] [tableID=132] [columnID=5] [2025/04/04 12:45:38.739 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=c4140e3b-040a-536c-9317-e3490dc4bcf9] ["region ranges"=1] [count=2] [size=80] [2025/04/04 12:45:38.739 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:45:38.741 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000885f728000000000000001] [endOfAllRanges=7480000000000000885f728000000000000003] [startKeyOfFirstRegion=7480000000000000ff885f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff885f728000000000ff0000030000000000fa] [2025/04/04 12:45:38.759 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=c4140e3b-040a-536c-9317-e3490dc4bcf9] [size=80] [kvs=2] [importedSize=80] [importedCount=2] [2025/04/04 12:45:38.761 +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=48.796714ms] [] [2025/04/04 12:45:38.761 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 12:45:38.763 +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.886ms] [] [2025/04/04 12:45:38.763 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [retryCnt=0] [2025/04/04 12:45:38.766 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 12:45:38.767 +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.600855ms] [] [2025/04/04 12:45:38.767 +00:00] [INFO] [table_import.go:761] ["post process start"] [table=dst] [import-id=698a9f68-725e-4675-a68d-4b393b386325] [checksum="{\"id=-1\"=\"{cksum=8162185998638841877,size=80,kvs=2}\"}"] [2025/04/04 12:45:38.767 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [table=dst] [import-id=698a9f68-725e-4675-a68d-4b393b386325] [2025/04/04 12:45:38.772 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [table=dst] [import-id=698a9f68-725e-4675-a68d-4b393b386325] [takeTime=5.582734ms] [] [2025/04/04 12:45:38.772 +00:00] [INFO] [table_import.go:835] ["local checksum"] [table=dst] [import-id=698a9f68-725e-4675-a68d-4b393b386325] [checksum="{cksum=8162185998638841877,size=80,kvs=2}"] [2025/04/04 12:45:38.772 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [table=dst] [import-id=698a9f68-725e-4675-a68d-4b393b386325] [weight=30] [2025/04/04 12:45:38.772 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [table=dst] [import-id=698a9f68-725e-4675-a68d-4b393b386325] [concurrency=15] [2025/04/04 12:45:38.774 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=136] [physicalTableID=136] [indexID=-1] [checksum=8162185998638841877] [totalKvs=2] [totalBytes=80] [2025/04/04 12:45:38.775 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 12:45:38.775 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [table=dst] [import-id=698a9f68-725e-4675-a68d-4b393b386325] [local="{cksum=8162185998638841877,size=80,kvs=2}"] [2025/04/04 12:45:38.775 +00:00] [INFO] [table_import.go:763] ["post process completed"] [table=dst] [import-id=698a9f68-725e-4675-a68d-4b393b386325] [checksum="{\"id=-1\"=\"{cksum=8162185998638841877,size=80,kvs=2}\"}"] [takeTime=8.408976ms] [] [2025/04/04 12:45:38.775 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/04 12:45:38.775 +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.212µs] [] [2025/04/04 12:45:38.775 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/04 12:45:38.777 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [takeTime=1.439515ms] [] [2025/04/04 12:45:38.777 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 12:45:38.777 +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.567µs] [] [2025/04/04 12:45:38.777 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 12:45:38.778 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [takeTime=1.268529ms] [] [2025/04/04 12:45:38.781 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:45:38.781 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:45:38.781 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:45:38.781 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:45:38.781 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:45:38.781 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:45:38.781 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:45:38.782 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:38.781 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-8] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:45:38.782 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:38.782 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:38.782 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:45:38.784 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:45:38.784 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:38.784 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:38.784 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] --- PASS: TestImportInto/TestImportFromSelectColumnList (0.95s) === NAME TestImportInto === RUN TestImportInto/TestImportFromSelectStaleRead [2025/04/04 12:45:38.801 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:140, Type:drop schema, State:queueing, SchemaState:public, SchemaID:130, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:38.76 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:38.801 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:140, Type:drop schema, State:queueing, SchemaState:public, SchemaID:130, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:38.76 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop database if exists from_select"] [2025/04/04 12:45:38.806 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=140] [conn=2] [job="ID:140, Type:drop schema, State:queueing, SchemaState:public, SchemaID:130, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:38.76 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:38.826 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=74] [neededSchemaVersion=75] ["elapsed time"=2.589399ms] [gotSchemaVersion=75] [phyTblIDs="[132,136,138]"] [actionTypes="[2,2,2]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 12:45:38.830 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=140] [version=75] [2025/04/04 12:45:38.832 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=75] ["take time"=9.723268ms] [job="ID:140, Type:drop schema, State:running, SchemaState:write only, SchemaID:130, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:38.76 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:38.842 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=140] [conn=2] [job="ID:140, Type:drop schema, State:running, SchemaState:write only, SchemaID:130, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:38.76 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:38.856 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=75] [neededSchemaVersion=76] ["elapsed time"=143.946µs] [gotSchemaVersion=76] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 12:45:38.859 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=140] [version=76] [2025/04/04 12:45:38.861 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=76] ["take time"=7.270981ms] [job="ID:140, Type:drop schema, State:running, SchemaState:delete only, SchemaID:130, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:38.76 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:38.870 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=140] [conn=2] [job="ID:140, Type:drop schema, State:running, SchemaState:delete only, SchemaID:130, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:38.76 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:38.876 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/04 12:45:38.888 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=76] [neededSchemaVersion=77] ["elapsed time"=125.413µs] [gotSchemaVersion=77] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 12:45:38.891 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=140] [version=77] [2025/04/04 12:45:38.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=77] ["take time"=7.229818ms] [job="ID:140, Type:drop schema, State:done, SchemaState:none, SchemaID:130, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:38.76 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:38.902 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=140] [tableIDs="[132,136,138]"] [comment="drop schema: table IDs"] [2025/04/04 12:45:38.907 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=140] [jobType="drop schema"] [2025/04/04 12:45:38.908 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=140] [conn=2] [job="ID:140, Type:drop schema, State:synced, SchemaState:none, SchemaID:130, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:38.76 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:38.925 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=140] [2025/04/04 12:45:38.925 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=77] [cur_db=] [sql="drop database if exists from_select"] [user=] [2025/04/04 12:45:38.937 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:142, Type:create schema, State:queueing, SchemaState:none, SchemaID:141, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:38.91 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database from_select"] [2025/04/04 12:45:38.937 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:142, Type:create schema, State:queueing, SchemaState:none, SchemaID:141, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:38.91 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:38.942 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=142] [conn=2] [job="ID:142, Type:create schema, State:queueing, SchemaState:none, SchemaID:141, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:38.91 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:38.957 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=77] [neededSchemaVersion=78] ["elapsed time"=589.31µs] [gotSchemaVersion=78] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 12:45:38.960 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=142] [version=78] [2025/04/04 12:45:38.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=78] ["take time"=7.28948ms] [job="ID:142, Type:create schema, State:done, SchemaState:public, SchemaID:141, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:38.91 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:38.972 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=142] [conn=2] [job="ID:142, Type:create schema, State:synced, SchemaState:public, SchemaID:141, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:38.91 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:38.983 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=142] [2025/04/04 12:45:38.983 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=78] [cur_db=] [sql="create database from_select"] [user=] [2025/04/04 12:45:39.003 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:144, Type:create table, State:queueing, SchemaState:none, SchemaID:141, TableID:143, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:38.96 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:39.003 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:144, Type:create table, State:queueing, SchemaState:none, SchemaID:141, TableID:143, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:38.96 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table src(id int, v varchar(64))"] [2025/04/04 12:45:39.009 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=144] [conn=2] [job="ID:144, Type:create table, State:queueing, SchemaState:none, SchemaID:141, TableID:143, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:38.96 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:39.014 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 143, Table Name: src)"] [2025/04/04 12:45:39.029 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=78] [neededSchemaVersion=79] ["elapsed time"=1.656805ms] [gotSchemaVersion=79] [phyTblIDs="[143]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:39.032 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=144] [version=79] [2025/04/04 12:45:39.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=79] ["take time"=8.706656ms] [job="ID:144, Type:create table, State:done, SchemaState:public, SchemaID:141, TableID:143, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:38.96 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:39.046 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=144] [conn=2] [job="ID:144, Type:create table, State:synced, SchemaState:public, SchemaID:141, TableID:143, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:38.96 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:39.058 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=144] [2025/04/04 12:45:39.058 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=79] [cur_db=from_select] [sql="create table src(id int, v varchar(64))"] [user=] [2025/04/04 12:45:39.269 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119036672573442] [2025/04/04 12:45:39.274 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=500ms] [requiredStaleness=95ms] [prevState=normal] [newState=adapting] [2025/04/04 12:45:39.294 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:146, Type:create table, State:queueing, SchemaState:none, SchemaID:141, TableID:145, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:39.26 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table dst(id int, v varchar(64))"] [2025/04/04 12:45:39.294 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:146, Type:create table, State:queueing, SchemaState:none, SchemaID:141, TableID:145, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:39.26 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:39.299 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=146] [conn=2] [job="ID:146, Type:create table, State:queueing, SchemaState:none, SchemaID:141, TableID:145, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:39.26 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:39.304 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 145, Table Name: dst)"] [2025/04/04 12:45:39.319 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=79] [neededSchemaVersion=80] ["elapsed time"=1.483997ms] [gotSchemaVersion=80] [phyTblIDs="[145]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:39.322 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=146] [version=80] [2025/04/04 12:45:39.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=80] ["take time"=8.237527ms] [job="ID:146, Type:create table, State:done, SchemaState:public, SchemaID:141, TableID:145, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:39.26 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:39.334 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=146] [conn=2] [job="ID:146, Type:create table, State:synced, SchemaState:public, SchemaID:141, TableID:145, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:39.26 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:39.346 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=146] [2025/04/04 12:45:39.346 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=80] [cur_db=from_select] [sql="create table dst(id int, v varchar(64))"] [user=] [2025/04/04 12:45:39.349 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=2] [SnapshotTS=457119036647669760] [2025/04/04 12:45:39.350 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="[schema:1146]Table 'from_select.dst' doesn't exist"] [errorVerbose="[schema:1146]Table 'from_select.dst' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ntests/realtikvtest/importintotest2/importintotest2_test.(*mockGCSSuite).TestImportFromSelectStaleRead\n\ttests/realtikvtest/importintotest2/from_select_test.go:115\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL="import into dst from select * from src as of timestamp '2025-04-04 12:45:39.165674'"] [2025/04/04 12:45:39.350 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="[schema:1146]Table 'from_select.dst' doesn't exist"] [errorVerbose="[schema:1146]Table 'from_select.dst' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ntests/realtikvtest/importintotest2/importintotest2_test.(*mockGCSSuite).TestImportFromSelectStaleRead\n\ttests/realtikvtest/importintotest2/from_select_test.go:116\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL="import into dst from select * from src"] [2025/04/04 12:45:39.392 +00:00] [INFO] [import_into.go:266] ["importing data from select statement"] [import-id=9b15c4b9-6b6f-4a70-b65e-56bb8812a8db] [concurrency=2] [target-table=`from_select`.`dst`] [target-table-id=145] [2025/04/04 12:45:39.399 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 12:45:39.399 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437829623651060] [2025/04/04 12:45:39.399 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:45:39.399 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 12:45:39.399 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:45:39.399 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:45:39.400 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:45:39.400 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:45:39.400 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:45:39.400 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:45:39.412 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:45:39.414 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 12:45:39.414 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=dst] [quota=374.7GB] [2025/04/04 12:45:39.419 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/04 12:45:39.425 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 12:45:39.425 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=9b15c4b9-6b6f-4a70-b65e-56bb8812a8db] [key=import-from-select] [2025/04/04 12:45:39.425 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=9b15c4b9-6b6f-4a70-b65e-56bb8812a8db] [key=import-from-select] [2025/04/04 12:45:39.425 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=9b15c4b9-6b6f-4a70-b65e-56bb8812a8db] [key=import-from-select] [readDur=0s] [encodeDur=0s] [checksum="{cksum=0,size=0,kvs=0}"] [deliverDur=0s] [type=query] [takeTime=189.135µs] [] [2025/04/04 12:45:39.426 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=9b15c4b9-6b6f-4a70-b65e-56bb8812a8db] [key=import-from-select] [readDur=7.677µs] [encodeDur=235.246µs] [checksum="{cksum=15050668223368551470,size=33,kvs=1}"] [deliverDur=218.015µs] [type=query] [takeTime=750.907µs] [] [2025/04/04 12:45:39.427 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/04 12:45:39.427 +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/9b15c4b9-6b6f-4a70-b65e-56bb8812a8db/c4140e3b-040a-536c-9317-e3490dc4bcf9.sst/717c5d0b-bd40-44f3-9622-d08b5b45e493.sst] [firstKey=7480000000000000915F728000000000000001] [lastKey=7480000000000000915F728000000000000001] [2025/04/04 12:45:39.430 +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.896567ms] [] [2025/04/04 12:45:39.430 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [retryCnt=0] [2025/04/04 12:45:39.434 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:45:39.456 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=c4140e3b-040a-536c-9317-e3490dc4bcf9] ["region ranges"=1] [count=1] [size=33] [2025/04/04 12:45:39.457 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:45:39.458 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000915f728000000000000001] [endOfAllRanges=7480000000000000915f728000000000000002] [startKeyOfFirstRegion=7480000000000000ff915f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff915f728000000000ff0000020000000000fa] [2025/04/04 12:45:39.475 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=c4140e3b-040a-536c-9317-e3490dc4bcf9] [size=33] [kvs=1] [importedSize=33] [importedCount=1] [2025/04/04 12:45:39.477 +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=46.897192ms] [] [2025/04/04 12:45:39.477 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 12:45:39.479 +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.8861ms] [] [2025/04/04 12:45:39.479 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [retryCnt=0] [2025/04/04 12:45:39.482 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 12:45:39.482 +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.555219ms] [] [2025/04/04 12:45:39.482 +00:00] [INFO] [table_import.go:761] ["post process start"] [table=dst] [import-id=9b15c4b9-6b6f-4a70-b65e-56bb8812a8db] [checksum="{\"id=-1\"=\"{cksum=15050668223368551470,size=33,kvs=1}\"}"] [2025/04/04 12:45:39.483 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [table=dst] [import-id=9b15c4b9-6b6f-4a70-b65e-56bb8812a8db] [2025/04/04 12:45:39.488 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [table=dst] [import-id=9b15c4b9-6b6f-4a70-b65e-56bb8812a8db] [takeTime=5.62384ms] [] [2025/04/04 12:45:39.488 +00:00] [INFO] [table_import.go:835] ["local checksum"] [table=dst] [import-id=9b15c4b9-6b6f-4a70-b65e-56bb8812a8db] [checksum="{cksum=15050668223368551470,size=33,kvs=1}"] [2025/04/04 12:45:39.488 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [table=dst] [import-id=9b15c4b9-6b6f-4a70-b65e-56bb8812a8db] [weight=30] [2025/04/04 12:45:39.488 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [table=dst] [import-id=9b15c4b9-6b6f-4a70-b65e-56bb8812a8db] [concurrency=15] [2025/04/04 12:45:39.490 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=145] [physicalTableID=145] [indexID=-1] [checksum=15050668223368551470] [totalKvs=1] [totalBytes=33] [2025/04/04 12:45:39.491 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 12:45:39.491 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [table=dst] [import-id=9b15c4b9-6b6f-4a70-b65e-56bb8812a8db] [local="{cksum=15050668223368551470,size=33,kvs=1}"] [2025/04/04 12:45:39.491 +00:00] [INFO] [table_import.go:763] ["post process completed"] [table=dst] [import-id=9b15c4b9-6b6f-4a70-b65e-56bb8812a8db] [checksum="{\"id=-1\"=\"{cksum=15050668223368551470,size=33,kvs=1}\"}"] [takeTime=8.376945ms] [] [2025/04/04 12:45:39.491 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/04 12:45:39.491 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [takeTime=4.713µs] [] [2025/04/04 12:45:39.491 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/04 12:45:39.492 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [takeTime=1.170818ms] [] [2025/04/04 12:45:39.492 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 12:45:39.492 +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.209µs] [] [2025/04/04 12:45:39.492 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 12:45:39.494 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [takeTime=1.173786ms] [] [2025/04/04 12:45:39.497 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:45:39.497 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:45:39.497 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:45:39.497 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:45:39.497 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:45:39.497 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:45:39.497 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:39.497 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:45:39.497 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:39.497 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-9] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:45:39.497 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:39.497 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:45:39.499 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:45:39.499 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:39.499 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:39.499 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:39.514 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:148, Type:truncate table, State:queueing, SchemaState:none, SchemaID:141, TableID:145, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:39.461 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table dst"] [2025/04/04 12:45:39.514 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:148, Type:truncate table, State:queueing, SchemaState:none, SchemaID:141, TableID:145, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:39.461 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:39.520 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=148] [conn=2] [job="ID:148, Type:truncate table, State:queueing, SchemaState:none, SchemaID:141, TableID:145, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:39.461 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:39.528 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 147, Table Name: dst, Old Table ID: 145, Old Table Name: dst)"] [2025/04/04 12:45:39.544 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=80] [neededSchemaVersion=81] ["elapsed time"=1.740855ms] [gotSchemaVersion=81] [phyTblIDs="[145,147]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 12:45:39.549 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=148] [version=81] [2025/04/04 12:45:39.551 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=81] ["take time"=10.557198ms] [job="ID:148, Type:truncate table, State:done, SchemaState:public, SchemaID:141, TableID:145, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:39.461 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:39.563 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=148] [tableIDs="[145]"] [comment="truncate table: table ID"] [2025/04/04 12:45:39.567 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=148] [jobType="truncate table"] [2025/04/04 12:45:39.568 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=148] [conn=2] [job="ID:148, Type:truncate table, State:synced, SchemaState:public, SchemaID:141, TableID:145, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:39.461 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:39.586 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=148] [2025/04/04 12:45:39.587 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=81] [cur_db=from_select] [sql="truncate table dst"] [user=] [2025/04/04 12:45:39.794 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119036803645446] [2025/04/04 12:45:39.801 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=2] [SnapshotTS=457119036784508928] [2025/04/04 12:45:39.803 +00:00] [INFO] [session.go:4296] ["use snapshot schema"] [conn=2] [schemaVersion=81] [2025/04/04 12:45:39.803 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/04 12:45:39.803 +00:00] [INFO] [session.go:4296] ["use snapshot schema"] [conn=2] [schemaVersion=81] [2025/04/04 12:45:39.803 +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\": 457119036784508928,\n \"status\": 2,\n \"strictMode\": false,\n \"user\": null\n}"] [2025/04/04 12:45:39.805 +00:00] [INFO] [session.go:4296] ["use snapshot schema"] [conn=2] [schemaVersion=81] [2025/04/04 12:45:39.805 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/04 12:45:39.805 +00:00] [INFO] [session.go:4296] ["use snapshot schema"] [conn=2] [schemaVersion=81] [2025/04/04 12:45:39.805 +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\": 457119036784508928,\n \"status\": 2,\n \"strictMode\": false,\n \"user\": null\n}"] [2025/04/04 12:45:39.852 +00:00] [INFO] [import_into.go:266] ["importing data from select statement"] [import-id=edb83c29-a737-4235-89d6-0c35e5671e85] [concurrency=2] [target-table=`from_select`.`dst`] [target-table-id=147] [2025/04/04 12:45:39.859 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 12:45:39.859 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437829623651060] [2025/04/04 12:45:39.860 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:45:39.860 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 12:45:39.860 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:45:39.860 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:45:39.860 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:45:39.860 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:45:39.861 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:45:39.861 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:45:39.874 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:45:39.875 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 12:45:39.875 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=dst] [quota=374.7GB] [2025/04/04 12:45:39.881 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/04 12:45:39.886 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 12:45:39.887 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=edb83c29-a737-4235-89d6-0c35e5671e85] [key=import-from-select] [2025/04/04 12:45:39.887 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=edb83c29-a737-4235-89d6-0c35e5671e85] [key=import-from-select] [2025/04/04 12:45:39.887 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=edb83c29-a737-4235-89d6-0c35e5671e85] [key=import-from-select] [readDur=6.262µs] [encodeDur=220.896µs] [checksum="{cksum=1618577960176647419,size=33,kvs=1}"] [deliverDur=219.646µs] [type=query] [takeTime=753.229µs] [] [2025/04/04 12:45:39.888 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=edb83c29-a737-4235-89d6-0c35e5671e85] [key=import-from-select] [readDur=78.639µs] [encodeDur=504.005µs] [checksum="{cksum=3360013604723935324,size=33,kvs=1}"] [deliverDur=209.517µs] [type=query] [takeTime=1.092249ms] [] [2025/04/04 12:45:39.888 +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/edb83c29-a737-4235-89d6-0c35e5671e85/c4140e3b-040a-536c-9317-e3490dc4bcf9.sst/5b34a1d6-37fa-4678-a7e7-3365992fc128.sst] [firstKey=7480000000000000935F728000000000000001] [lastKey=7480000000000000935F728000000000000001] [2025/04/04 12:45:39.889 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/04 12:45:39.889 +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/edb83c29-a737-4235-89d6-0c35e5671e85/c4140e3b-040a-536c-9317-e3490dc4bcf9.sst/8fc68650-ade6-4826-88d0-8e3210300ec1.sst] [firstKey=7480000000000000935F728000000000000002] [lastKey=7480000000000000935F728000000000000002] [2025/04/04 12:45:39.892 +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.597036ms] [] [2025/04/04 12:45:39.892 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [retryCnt=0] [2025/04/04 12:45:39.897 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:45:39.920 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=c4140e3b-040a-536c-9317-e3490dc4bcf9] ["region ranges"=1] [count=2] [size=66] [2025/04/04 12:45:39.920 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:45:39.922 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000935f728000000000000001] [endOfAllRanges=7480000000000000935f728000000000000003] [startKeyOfFirstRegion=7480000000000000ff935f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff935f728000000000ff0000030000000000fa] [2025/04/04 12:45:39.988 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=c4140e3b-040a-536c-9317-e3490dc4bcf9] [size=66] [kvs=2] [importedSize=66] [importedCount=2] [2025/04/04 12:45:39.991 +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=98.132115ms] [] [2025/04/04 12:45:39.991 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 12:45:39.993 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [takeTime=2.158127ms] [] [2025/04/04 12:45:39.993 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [retryCnt=0] [2025/04/04 12:45:39.997 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 12:45:39.997 +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.92346ms] [] [2025/04/04 12:45:39.997 +00:00] [INFO] [table_import.go:761] ["post process start"] [table=dst] [import-id=edb83c29-a737-4235-89d6-0c35e5671e85] [checksum="{\"id=-1\"=\"{cksum=4095868306028115111,size=66,kvs=2}\"}"] [2025/04/04 12:45:39.997 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [table=dst] [import-id=edb83c29-a737-4235-89d6-0c35e5671e85] [2025/04/04 12:45:40.003 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [table=dst] [import-id=edb83c29-a737-4235-89d6-0c35e5671e85] [takeTime=6.113002ms] [] [2025/04/04 12:45:40.003 +00:00] [INFO] [table_import.go:835] ["local checksum"] [table=dst] [import-id=edb83c29-a737-4235-89d6-0c35e5671e85] [checksum="{cksum=4095868306028115111,size=66,kvs=2}"] [2025/04/04 12:45:40.003 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [table=dst] [import-id=edb83c29-a737-4235-89d6-0c35e5671e85] [weight=30] [2025/04/04 12:45:40.003 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [table=dst] [import-id=edb83c29-a737-4235-89d6-0c35e5671e85] [concurrency=15] [2025/04/04 12:45:40.005 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=147] [physicalTableID=147] [indexID=-1] [checksum=4095868306028115111] [totalKvs=2] [totalBytes=66] [2025/04/04 12:45:40.006 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 12:45:40.006 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [table=dst] [import-id=edb83c29-a737-4235-89d6-0c35e5671e85] [local="{cksum=4095868306028115111,size=66,kvs=2}"] [2025/04/04 12:45:40.006 +00:00] [INFO] [table_import.go:763] ["post process completed"] [table=dst] [import-id=edb83c29-a737-4235-89d6-0c35e5671e85] [checksum="{\"id=-1\"=\"{cksum=4095868306028115111,size=66,kvs=2}\"}"] [takeTime=8.832991ms] [] [2025/04/04 12:45:40.006 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/04 12:45:40.006 +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.566µs] [] [2025/04/04 12:45:40.006 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/04 12:45:40.008 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [takeTime=1.642182ms] [] [2025/04/04 12:45:40.008 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 12:45:40.008 +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.095µs] [] [2025/04/04 12:45:40.008 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 12:45:40.009 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [takeTime=1.331029ms] [] [2025/04/04 12:45:40.013 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:45:40.013 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:45:40.013 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:45:40.013 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:45:40.013 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:45:40.013 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:45:40.013 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:45:40.013 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:40.013 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-10] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:45:40.013 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:40.013 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:40.013 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:45:40.015 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:45:40.016 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:40.016 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:40.016 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:40.034 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:150, Type:truncate table, State:queueing, SchemaState:none, SchemaID:141, TableID:147, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:40.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:40.034 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:150, Type:truncate table, State:queueing, SchemaState:none, SchemaID:141, TableID:147, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:40.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table dst"] [2025/04/04 12:45:40.040 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=150] [conn=2] [job="ID:150, Type:truncate table, State:queueing, SchemaState:none, SchemaID:141, TableID:147, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:40.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:40.048 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 149, Table Name: dst, Old Table ID: 147, Old Table Name: dst)"] [2025/04/04 12:45:40.064 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=81] [neededSchemaVersion=82] ["elapsed time"=1.717354ms] [gotSchemaVersion=82] [phyTblIDs="[147,149]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 12:45:40.067 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=150] [version=82] [2025/04/04 12:45:40.070 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=82] ["take time"=9.204085ms] [job="ID:150, Type:truncate table, State:done, SchemaState:public, SchemaID:141, TableID:147, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:40.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:40.080 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=150] [tableIDs="[147]"] [comment="truncate table: table ID"] [2025/04/04 12:45:40.084 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=150] [jobType="truncate table"] [2025/04/04 12:45:40.085 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=150] [conn=2] [job="ID:150, Type:truncate table, State:synced, SchemaState:public, SchemaID:141, TableID:147, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:40.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:40.102 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=150] [2025/04/04 12:45:40.103 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=82] [cur_db=from_select] [sql="truncate table dst"] [user=] [2025/04/04 12:45:40.106 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=2] [SnapshotTS=457119036784508928] [2025/04/04 12:45:40.107 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="can not execute IMPORT statement when 'tidb_snapshot' is set"] [errorVerbose="can not execute IMPORT statement when 'tidb_snapshot' is set\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).buildImportInto\n\tpkg/planner/core/planbuilder.go:4656\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).Build\n\tpkg/planner/core/planbuilder.go:522\ngithub.com/pingcap/tidb/pkg/planner.buildLogicalPlan\n\tpkg/planner/optimize.go:547\ngithub.com/pingcap/tidb/pkg/planner.optimize\n\tpkg/planner/optimize.go:466\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:333\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:101\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ntests/realtikvtest/importintotest2/importintotest2_test.(*mockGCSSuite).TestImportFromSelectStaleRead\n\ttests/realtikvtest/importintotest2/from_select_test.go:149\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL="import into dst from select * from src as of timestamp '2025-04-04 12:45:39.687987'"] [2025/04/04 12:45:40.107 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="can not execute IMPORT statement when 'tidb_snapshot' is set"] [errorVerbose="can not execute IMPORT statement when 'tidb_snapshot' is set\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).buildImportInto\n\tpkg/planner/core/planbuilder.go:4656\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).Build\n\tpkg/planner/core/planbuilder.go:522\ngithub.com/pingcap/tidb/pkg/planner.buildLogicalPlan\n\tpkg/planner/optimize.go:547\ngithub.com/pingcap/tidb/pkg/planner.optimize\n\tpkg/planner/optimize.go:466\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:333\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:101\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ntests/realtikvtest/importintotest2/importintotest2_test.(*mockGCSSuite).TestImportFromSelectStaleRead\n\ttests/realtikvtest/importintotest2/from_select_test.go:151\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL="import into dst from select * from src"] [2025/04/04 12:45:40.149 +00:00] [INFO] [import_into.go:266] ["importing data from select statement"] [import-id=e4831fce-4acb-4d2b-8622-4d86618eeb5f] [concurrency=2] [target-table=`from_select`.`dst`] [target-table-id=149] [2025/04/04 12:45:40.155 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 12:45:40.156 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437829623651060] [2025/04/04 12:45:40.156 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:45:40.156 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 12:45:40.156 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:45:40.156 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:45:40.156 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:45:40.156 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:45:40.157 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:45:40.157 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:45:40.168 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:45:40.170 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 12:45:40.170 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=dst] [quota=374.7GB] [2025/04/04 12:45:40.176 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/04 12:45:40.181 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 12:45:40.181 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=e4831fce-4acb-4d2b-8622-4d86618eeb5f] [key=import-from-select] [2025/04/04 12:45:40.181 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=e4831fce-4acb-4d2b-8622-4d86618eeb5f] [key=import-from-select] [2025/04/04 12:45:40.182 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=e4831fce-4acb-4d2b-8622-4d86618eeb5f] [key=import-from-select] [readDur=5.61µs] [encodeDur=176.705µs] [checksum="{cksum=14940627997602284289,size=33,kvs=1}"] [deliverDur=252.035µs] [type=query] [takeTime=716.012µs] [] [2025/04/04 12:45:40.182 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=e4831fce-4acb-4d2b-8622-4d86618eeb5f] [key=import-from-select] [readDur=53.549µs] [encodeDur=502.549µs] [checksum="{cksum=17834453017471039398,size=33,kvs=1}"] [deliverDur=209.751µs] [type=query] [takeTime=1.059223ms] [] [2025/04/04 12:45:40.183 +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/e4831fce-4acb-4d2b-8622-4d86618eeb5f/c4140e3b-040a-536c-9317-e3490dc4bcf9.sst/df293215-05ba-4563-bf8a-bcebcb9d62a7.sst] [firstKey=7480000000000000955F728000000000000001] [lastKey=7480000000000000955F728000000000000001] [2025/04/04 12:45:40.183 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/04 12:45:40.184 +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/e4831fce-4acb-4d2b-8622-4d86618eeb5f/c4140e3b-040a-536c-9317-e3490dc4bcf9.sst/dc692746-e6c9-4d1b-b054-85ad45f5a7c7.sst] [firstKey=7480000000000000955F728000000000000002] [lastKey=7480000000000000955F728000000000000002] [2025/04/04 12:45:40.187 +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.726137ms] [] [2025/04/04 12:45:40.187 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [retryCnt=0] [2025/04/04 12:45:40.191 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:45:40.213 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=c4140e3b-040a-536c-9317-e3490dc4bcf9] ["region ranges"=1] [count=2] [size=66] [2025/04/04 12:45:40.213 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:45:40.215 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000955f728000000000000001] [endOfAllRanges=7480000000000000955f728000000000000003] [startKeyOfFirstRegion=7480000000000000ff955f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff955f728000000000ff0000030000000000fa] [2025/04/04 12:45:40.231 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=c4140e3b-040a-536c-9317-e3490dc4bcf9] [size=66] [kvs=2] [importedSize=66] [importedCount=2] [2025/04/04 12:45:40.233 +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=45.924095ms] [] [2025/04/04 12:45:40.233 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 12:45:40.235 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [takeTime=2.0049ms] [] [2025/04/04 12:45:40.235 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [retryCnt=0] [2025/04/04 12:45:40.239 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 12:45:40.239 +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.521256ms] [] [2025/04/04 12:45:40.239 +00:00] [INFO] [table_import.go:761] ["post process start"] [table=dst] [import-id=e4831fce-4acb-4d2b-8622-4d86618eeb5f] [checksum="{\"id=-1\"=\"{cksum=4095868306028115111,size=66,kvs=2}\"}"] [2025/04/04 12:45:40.239 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [table=dst] [import-id=e4831fce-4acb-4d2b-8622-4d86618eeb5f] [2025/04/04 12:45:40.245 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [table=dst] [import-id=e4831fce-4acb-4d2b-8622-4d86618eeb5f] [takeTime=5.901735ms] [] [2025/04/04 12:45:40.245 +00:00] [INFO] [table_import.go:835] ["local checksum"] [table=dst] [import-id=e4831fce-4acb-4d2b-8622-4d86618eeb5f] [checksum="{cksum=4095868306028115111,size=66,kvs=2}"] [2025/04/04 12:45:40.245 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [table=dst] [import-id=e4831fce-4acb-4d2b-8622-4d86618eeb5f] [weight=30] [2025/04/04 12:45:40.245 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [table=dst] [import-id=e4831fce-4acb-4d2b-8622-4d86618eeb5f] [concurrency=15] [2025/04/04 12:45:40.247 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=149] [physicalTableID=149] [indexID=-1] [checksum=4095868306028115111] [totalKvs=2] [totalBytes=66] [2025/04/04 12:45:40.247 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 12:45:40.247 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [table=dst] [import-id=e4831fce-4acb-4d2b-8622-4d86618eeb5f] [local="{cksum=4095868306028115111,size=66,kvs=2}"] [2025/04/04 12:45:40.248 +00:00] [INFO] [table_import.go:763] ["post process completed"] [table=dst] [import-id=e4831fce-4acb-4d2b-8622-4d86618eeb5f] [checksum="{\"id=-1\"=\"{cksum=4095868306028115111,size=66,kvs=2}\"}"] [takeTime=8.814301ms] [] [2025/04/04 12:45:40.248 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/04 12:45:40.248 +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.123µs] [] [2025/04/04 12:45:40.248 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/04 12:45:40.249 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [takeTime=1.446029ms] [] [2025/04/04 12:45:40.249 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 12:45:40.249 +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.456µs] [] [2025/04/04 12:45:40.249 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/04 12:45:40.251 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [takeTime=1.220774ms] [] [2025/04/04 12:45:40.253 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:45:40.253 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:45:40.253 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:45:40.253 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:45:40.253 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:45:40.253 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:45:40.254 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:45:40.254 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:40.254 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:40.253 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-11] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:45:40.254 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:40.254 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:45:40.255 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:45:40.255 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:40.255 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:40.255 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] --- PASS: TestImportInto/TestImportFromSelectStaleRead (1.47s) === NAME TestImportInto === RUN TestImportInto/TestWriteAfterImportFromFile [2025/04/04 12:45:40.260 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=82] [cur_db=from_select] [sql="drop database if exists write_after_import"] [user=] [2025/04/04 12:45:40.272 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:152, Type:create schema, State:queueing, SchemaState:none, SchemaID:151, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:40.26 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:40.272 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:152, Type:create schema, State:queueing, SchemaState:none, SchemaID:151, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:40.26 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database write_after_import"] [2025/04/04 12:45:40.277 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=152] [conn=2] [job="ID:152, Type:create schema, State:queueing, SchemaState:none, SchemaID:151, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:40.26 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:40.291 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=82] [neededSchemaVersion=83] ["elapsed time"=609.496µs] [gotSchemaVersion=83] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 12:45:40.294 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=152] [version=83] [2025/04/04 12:45:40.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=83] ["take time"=7.371994ms] [job="ID:152, Type:create schema, State:done, SchemaState:public, SchemaID:151, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:40.26 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:40.306 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=152] [conn=2] [job="ID:152, Type:create schema, State:synced, SchemaState:public, SchemaID:151, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:40.26 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:40.315 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=152] [2025/04/04 12:45:40.316 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=83] [cur_db=from_select] [sql="create database write_after_import"] [user=] === RUN TestImportInto/TestWriteAfterImportFromFile/case-0 current case CREATE TABLE t (id int AUTO_INCREMENT PRIMARY KEY CLUSTERED, v varchar(64)) [2025/04/04 12:45:40.318 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=83] [cur_db=write_after_import] [sql="drop table if exists t;"] [user=] [2025/04/04 12:45:40.332 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:154, Type:create table, State:queueing, SchemaState:none, SchemaID:151, TableID:153, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:40.31 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t (id int AUTO_INCREMENT PRIMARY KEY CLUSTERED, v varchar(64))"] [2025/04/04 12:45:40.332 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:154, Type:create table, State:queueing, SchemaState:none, SchemaID:151, TableID:153, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:40.31 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:40.337 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=154] [conn=2] [job="ID:154, Type:create table, State:queueing, SchemaState:none, SchemaID:151, TableID:153, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:40.31 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:40.342 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 153, Table Name: t)"] [2025/04/04 12:45:40.357 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=83] [neededSchemaVersion=84] ["elapsed time"=1.542687ms] [gotSchemaVersion=84] [phyTblIDs="[153]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:40.361 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=154] [version=84] [2025/04/04 12:45:40.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=84] ["take time"=8.494622ms] [job="ID:154, Type:create table, State:done, SchemaState:public, SchemaID:151, TableID:153, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:40.31 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:40.373 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=154] [conn=2] [job="ID:154, Type:create table, State:synced, SchemaState:public, SchemaID:151, TableID:153, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:40.31 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:40.386 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=154] [2025/04/04 12:45:40.386 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=84] [cur_db=write_after_import] [sql="CREATE TABLE t (id int AUTO_INCREMENT PRIMARY KEY CLUSTERED, v varchar(64))"] [user=] [2025/04/04 12:45:40.593 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:40.647 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://write_after_import/*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/04 12:45:40.673 +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/04 12:45:40.688 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=1] [2025/04/04 12:45:40.688 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/04 12:45:40.790 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 12:45:40.791 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:45:40.792 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=1] [curr-step=init] [next-step=import] [2025/04/04 12:45:40.801 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:40.803 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 12:45:40.803 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=36] [2025/04/04 12:45:40.804 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=2] [MaxChunkSize=268435456] [RegionsCount=2] [BatchSize=36] [cost=69.411µs] [2025/04/04 12:45:40.804 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=239.858µs] [] [2025/04/04 12:45:40.804 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=1] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 12:45:40.804 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/04 12:45:40.842 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=1] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 12:45:40.862 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=1] [step=import] [2025/04/04 12:45:40.862 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:40.869 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 12:45:40.870 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437829623651060] [2025/04/04 12:45:40.870 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:45:40.870 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 12:45:40.870 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:45:40.870 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:45:40.870 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:45:40.870 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:45:40.871 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:45:40.871 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:45:40.883 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:45:40.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/04 12:45:40.885 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.7GB] [2025/04/04 12:45:40.885 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=1] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 12:45:40.885 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 12:45:40.885 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=1] [disk-quota=348.9GiB] [2025/04/04 12:45:40.893 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [subtaskID=1] [step=import] [2025/04/04 12:45:40.894 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=1] [step=import] [subtask-id=1] [2025/04/04 12:45:40.896 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=1] [mode=Import] [2025/04/04 12:45:40.899 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [2025/04/04 12:45:40.905 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/04 12:45:40.905 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=153] [2025/04/04 12:45:40.905 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=153] [2025/04/04 12:45:40.908 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=153] [key=1.csv:0] [2025/04/04 12:45:40.908 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=153] [key=2.csv:0] [2025/04/04 12:45:40.910 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=153] [key=1.csv:0] [readDur=826.041µs] [encodeDur=279.751µs] [checksum="{cksum=8870261354621979222,size=68,kvs=2}"] [deliverDur=68.039µs] [type=file] [takeTime=1.692608ms] [] [2025/04/04 12:45:40.910 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=153] [key=2.csv:0] [readDur=911.05µs] [encodeDur=743.18µs] [checksum="{cksum=13585057687600554216,size=68,kvs=2}"] [deliverDur=265.65µs] [type=file] [takeTime=2.127233ms] [] [2025/04/04 12:45:40.911 +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/49ed17ab-af38-4511-ba95-79efc2461968.sst] [firstKey=7480000000000000995F728000000000000004] [lastKey=7480000000000000995F728000000000000005] [2025/04/04 12:45:40.911 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=1] [step=import] [engine-id=0] [2025/04/04 12:45:40.911 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=1] [step=import] [engine-id=0] [2025/04/04 12:45:40.911 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [2025/04/04 12:45:40.913 +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/4c32f677-acb8-46d5-9ffc-1458fef32d3f.sst] [firstKey=7480000000000000995F728000000000000006] [lastKey=7480000000000000995F728000000000000007] [2025/04/04 12:45:40.916 +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=4.327785ms] [] [2025/04/04 12:45:40.916 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [retryCnt=0] [2025/04/04 12:45:40.921 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:45:40.921 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=1] [2025/04/04 12:45:40.943 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] ["region ranges"=1] [count=4] [size=136] [2025/04/04 12:45:40.943 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:45:40.945 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000995f728000000000000004] [endOfAllRanges=7480000000000000995f728000000000000008] [startKeyOfFirstRegion=7480000000000000ff995f728000000000ff0000040000000000fa] [endKeyOfLastRegion=7480000000000000ff995f728000000000ff0000080000000000fa] [2025/04/04 12:45:40.961 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [size=136] [kvs=4] [importedSize=136] [importedCount=4] [2025/04/04 12:45:40.964 +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=48.364765ms] [] [2025/04/04 12:45:40.964 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [2025/04/04 12:45:40.966 +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.371026ms] [] [2025/04/04 12:45:40.966 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=1] [step=import] [engine-id=0] [2025/04/04 12:45:40.966 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/04 12:45:40.968 +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.033701ms] [] [2025/04/04 12:45:40.968 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [retryCnt=0] [2025/04/04 12:45:40.972 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/04 12:45:40.972 +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.728985ms] [] [2025/04/04 12:45:40.972 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/04 12:45:40.973 +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.10572ms] [] [2025/04/04 12:45:40.973 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=1] [step=import] [subtask-id=1] [takeTime=79.603633ms] [] [2025/04/04 12:45:40.973 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [subtaskID=1] [step=import] [takeTime=79.837589ms] [] [2025/04/04 12:45:40.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=import] [next-step=post-process] [2025/04/04 12:45:40.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/04 12:45:40.997 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=1] [curr-step=import] [next-step=post-process] [2025/04/04 12:45:40.997 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=1] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 12:45:41.033 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=1] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":4}"] [2025/04/04 12:45:41.035 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=1] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 12:45:41.035 +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/04 12:45:41.061 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 12:45:41.068 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=1] [step=import] [2025/04/04 12:45:41.070 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:45:41.070 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:45:41.070 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:45:41.070 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:45:41.070 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:45:41.070 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:45:41.070 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:45:41.070 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:41.070 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:41.070 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-12] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:45:41.070 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:41.071 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:45:41.072 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:45:41.072 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:41.073 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:41.073 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:41.073 +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=187.256562ms] [] [2025/04/04 12:45:41.074 +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/04 12:45:41.082 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [subtaskID=2] [step=post-process] [2025/04/04 12:45:41.082 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [2025/04/04 12:45:41.082 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [2025/04/04 12:45:41.082 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [2025/04/04 12:45:41.088 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [takeTime=5.895312ms] [] [2025/04/04 12:45:41.088 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [groupId=-1] [size=136] [kvs=4] [checksum=14384125892341312190] [2025/04/04 12:45:41.088 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [checksum="{cksum=14384125892341312190,size=136,kvs=4}"] [2025/04/04 12:45:41.088 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [weight=30] [2025/04/04 12:45:41.088 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [concurrency=15] [2025/04/04 12:45:41.090 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=153] [physicalTableID=153] [indexID=-1] [checksum=14384125892341312190] [totalKvs=4] [totalBytes=136] [2025/04/04 12:45:41.091 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 12:45:41.091 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [local="{cksum=14384125892341312190,size=136,kvs=4}"] [2025/04/04 12:45:41.091 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [takeTime=8.829058ms] [] [2025/04/04 12:45:41.091 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [takeTime=8.959348ms] [] [2025/04/04 12:45:41.091 +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=9.088631ms] [] [2025/04/04 12:45:41.098 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 12:45:41.195 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 12:45:41.195 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=1] [step=post-process] [state=running] [] [2025/04/04 12:45:41.198 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=1] [2025/04/04 12:45:41.227 +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=152.803176ms] [] [2025/04/04 12:45:41.227 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=1] [type=ImportInto] [2025/04/04 12:45:41.290 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=1] [2025/04/04 12:45:41.290 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.903501246\n# Parse_time: 0.000083096\n# Compile_time: 0.00051986\n# Rewrite_time: 0.000132156\n# Optimize_time: 0.000278576\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('SvBJMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjkwMi42bXMsIG9wZW46ODk5bnMsIGNsb3NlOjEuMjXCtXMsIGxvb3BzOjIJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('ZfBSCmEKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWjB0aW1lOjkwMi42bXMsIG9wZW46ODk5bnMsIGNsb3NlOjEuMjXCtXMsIGxvb3BzOjJw//////8BAzQBeP///////////wEYAQ==')\n# Resource_group: default\nuse write_after_import;\nIMPORT INTO `write_after_import`.`t` FROM 'gs://write_after_import/*.csv?endpoint=http://127.0.0.1:4443/storage/v1/';"] [2025/04/04 12:45:41.296 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 12:45:41.296 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=1] --- PASS: TestImportInto/TestWriteAfterImportFromFile/case-0 (0.99s) === NAME TestImportInto/TestWriteAfterImportFromFile === RUN TestImportInto/TestWriteAfterImportFromFile/case-1 write_after_import_test.go:217: auto_id_cache=1 test is not supported in real-tikv-test now --- SKIP: TestImportInto/TestWriteAfterImportFromFile/case-1 (0.00s) === NAME TestImportInto/TestWriteAfterImportFromFile === RUN TestImportInto/TestWriteAfterImportFromFile/case-2 current case CREATE TABLE t (id int AUTO_INCREMENT PRIMARY KEY NONCLUSTERED, v varchar(64)) [2025/04/04 12:45:41.316 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:155, Type:drop table, State:queueing, SchemaState:public, SchemaID:151, TableID:153, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:41.26 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:41.316 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:155, Type:drop table, State:queueing, SchemaState:public, SchemaID:151, TableID:153, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:41.26 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/04 12:45:41.322 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=155] [conn=2] [job="ID:155, Type:drop table, State:queueing, SchemaState:public, SchemaID:151, TableID:153, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:41.26 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:41.328 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 12:45:41.340 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=84] [neededSchemaVersion=85] ["elapsed time"=2.239602ms] [gotSchemaVersion=85] [phyTblIDs="[153]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:45:41.344 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=155] [version=85] [2025/04/04 12:45:41.346 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=85] ["take time"=9.4546ms] [job="ID:155, Type:drop table, State:running, SchemaState:write only, SchemaID:151, TableID:153, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:41.26 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:41.356 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=155] [conn=2] [job="ID:155, Type:drop table, State:running, SchemaState:write only, SchemaID:151, TableID:153, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:41.26 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:41.373 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=85] [neededSchemaVersion=86] ["elapsed time"=1.972446ms] [gotSchemaVersion=86] [phyTblIDs="[153]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:45:41.376 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=155] [version=86] [2025/04/04 12:45:41.378 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=86] ["take time"=8.7667ms] [job="ID:155, Type:drop table, State:running, SchemaState:delete only, SchemaID:151, TableID:153, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:41.26 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:41.387 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=155] [conn=2] [job="ID:155, Type:drop table, State:running, SchemaState:delete only, SchemaID:151, TableID:153, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:41.26 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:41.393 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 153, Old Table Name: t)"] [2025/04/04 12:45:41.407 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=86] [neededSchemaVersion=87] ["elapsed time"=1.120014ms] [gotSchemaVersion=87] [phyTblIDs="[153]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:45:41.411 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=155] [version=87] [2025/04/04 12:45: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=87] ["take time"=8.373886ms] [job="ID:155, Type:drop table, State:done, SchemaState:none, SchemaID:151, TableID:153, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:41.26 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:41.422 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=155] [tableIDs="[153]"] [comment="drop table: table ID"] [2025/04/04 12:45:41.427 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=155] [jobType="drop table"] [2025/04/04 12:45:41.428 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=155] [conn=2] [job="ID:155, Type:drop table, State:synced, SchemaState:none, SchemaID:151, TableID:153, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:41.26 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:41.446 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=155] [2025/04/04 12:45:41.446 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=87] [cur_db=write_after_import] [sql="drop table if exists t;"] [user=] [2025/04/04 12:45:41.460 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:157, Type:create table, State:queueing, SchemaState:none, SchemaID:151, TableID:156, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:41.411 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:41.461 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:157, Type:create table, State:queueing, SchemaState:none, SchemaID:151, TableID:156, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:41.411 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t (id int AUTO_INCREMENT PRIMARY KEY NONCLUSTERED, v varchar(64))"] [2025/04/04 12:45:41.466 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=157] [conn=2] [job="ID:157, Type:create table, State:queueing, SchemaState:none, SchemaID:151, TableID:156, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:41.411 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:41.471 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 156, Table Name: t)"] [2025/04/04 12:45:41.487 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=87] [neededSchemaVersion=88] ["elapsed time"=1.769909ms] [gotSchemaVersion=88] [phyTblIDs="[156]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:41.492 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=157] [version=88] [2025/04/04 12:45:41.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=88] ["take time"=9.600693ms] [job="ID:157, Type:create table, State:done, SchemaState:public, SchemaID:151, TableID:156, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:41.411 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:41.505 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=157] [conn=2] [job="ID:157, Type:create table, State:synced, SchemaState:public, SchemaID:151, TableID:156, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:41.411 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:41.520 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=157] [2025/04/04 12:45:41.520 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=88] [cur_db=write_after_import] [sql="CREATE TABLE t (id int AUTO_INCREMENT PRIMARY KEY NONCLUSTERED, v varchar(64))"] [user=] [2025/04/04 12:45:41.526 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:41.572 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://write_after_import/*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/04 12:45:41.591 +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/04 12:45:41.605 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=2] [2025/04/04 12:45:41.605 +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/04 12:45:41.707 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 12:45:41.709 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:45:41.710 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=2] [curr-step=init] [next-step=import] [2025/04/04 12:45:41.718 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:41.720 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 12:45:41.720 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=36] [2025/04/04 12:45:41.720 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=2] [MaxChunkSize=268435456] [RegionsCount=2] [BatchSize=36] [cost=87.225µs] [2025/04/04 12:45:41.720 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=204.153µs] [] [2025/04/04 12:45:41.720 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=2] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 12:45:41.720 +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/04 12:45:41.751 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=2] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 12:45:41.771 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=2] [step=import] [2025/04/04 12:45:41.772 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:41.779 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 12:45:41.780 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437829623651060] [2025/04/04 12:45:41.780 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:45:41.780 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 12:45:41.780 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:45:41.780 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:45:41.780 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:45:41.780 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:45:41.781 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:45:41.781 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:45:41.794 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:45:41.796 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 12:45:41.796 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.7GB] [2025/04/04 12:45:41.796 +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/04 12:45:41.796 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=2] [disk-quota=348.9GiB] [2025/04/04 12:45:41.796 +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/04 12:45:41.804 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=3] [step=import] [2025/04/04 12:45:41.804 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=2] [step=import] [subtask-id=3] [2025/04/04 12:45:41.810 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [2025/04/04 12:45:41.814 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=2] [mode=Import] [2025/04/04 12:45:41.815 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/04 12:45:41.815 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=156] [2025/04/04 12:45:41.815 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=156] [2025/04/04 12:45:41.818 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=156] [key=1.csv:0] [2025/04/04 12:45:41.818 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=156] [key=2.csv:0] [2025/04/04 12:45:41.820 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=156] [key=1.csv:0] [readDur=990.601µs] [encodeDur=448.585µs] [checksum="{cksum=3543191561364936534,size=148,kvs=4}"] [deliverDur=298.621µs] [type=file] [takeTime=2.09705ms] [] [2025/04/04 12:45:41.820 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=156] [key=2.csv:0] [readDur=946.476µs] [encodeDur=603.417µs] [checksum="{cksum=4755199630144978764,size=148,kvs=4}"] [deliverDur=684.419µs] [type=file] [takeTime=2.502069ms] [] [2025/04/04 12:45:41.822 +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/605db7c8-fc80-43e2-8953-5f107b543eda.sst] [firstKey=74800000000000009C5F728000000000000001] [lastKey=74800000000000009C5F728000000000000002] [2025/04/04 12:45:41.822 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=2] [step=import] [engine-id=0] [2025/04/04 12:45:41.822 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=2] [step=import] [engine-id=0] [2025/04/04 12:45:41.822 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [2025/04/04 12:45:41.823 +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/5ab8b542-111e-4ee6-9a61-71cda6f81f10.sst] [firstKey=74800000000000009C5F72800000000000000A] [lastKey=74800000000000009C5F72800000000000000B] [2025/04/04 12:45:41.827 +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=5.110077ms] [] [2025/04/04 12:45:41.827 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [retryCnt=0] [2025/04/04 12:45:41.832 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:45:41.840 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=2] [2025/04/04 12:45:41.854 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] ["region ranges"=1] [count=4] [size=152] [2025/04/04 12:45:41.854 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:45:41.856 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000009c5f728000000000000001] [endOfAllRanges=74800000000000009c5f72800000000000000c] [startKeyOfFirstRegion=7480000000000000ff9c5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff9c5f728000000000ff00000c0000000000fa] [2025/04/04 12:45:41.872 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [size=152] [kvs=4] [importedSize=152] [importedCount=4] [2025/04/04 12:45:41.874 +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=46.309021ms] [] [2025/04/04 12:45:41.874 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [2025/04/04 12:45:41.875 +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.533666ms] [] [2025/04/04 12:45:41.875 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=2] [step=import] [engine-id=0] [2025/04/04 12:45:41.876 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/04 12:45:41.877 +00:00] [INFO] [engine.go:1695] ["compact sst"] [category=ddl-ingest] [fileCount=2] [size=144] [count=4] [cost=1.786355ms] [file=/tmp/tidb/import-4000/2/630083e6-fc50-5cd2-8645-c17b147197ce.sst/c82bd78d-bf16-4c5b-9476-b595a94b4177.sst] [2025/04/04 12:45:41.877 +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/c82bd78d-bf16-4c5b-9476-b595a94b4177.sst] [firstKey=74800000000000009C5F698000000000000001038000000000000004] [lastKey=74800000000000009C5F698000000000000001038000000000000007] [2025/04/04 12:45:41.881 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [takeTime=4.932255ms] [] [2025/04/04 12:45:41.881 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [retryCnt=0] [2025/04/04 12:45:41.885 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:45:41.907 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=630083e6-fc50-5cd2-8645-c17b147197ce] ["region ranges"=1] [count=4] [size=144] [2025/04/04 12:45:41.907 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:45:41.909 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000009c5f698000000000000001038000000000000004] [endOfAllRanges=74800000000000009c5f69800000000000000103800000000000000700] [startKeyOfFirstRegion=7480000000000000ff9c5f698000000000ff0000010380000000ff0000000400000000fb] [endKeyOfLastRegion=7480000000000000ff9c5f698000000000ff0000010380000000ff0000000700000000fc] [2025/04/04 12:45:41.927 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=630083e6-fc50-5cd2-8645-c17b147197ce] [size=144] [kvs=4] [importedSize=144] [importedCount=4] [2025/04/04 12:45:41.929 +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=48.686747ms] [] [2025/04/04 12:45:41.929 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/04 12:45:41.931 +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.24749ms] [] [2025/04/04 12:45:41.931 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=2] [step=import] [subtask-id=3] [takeTime=126.710402ms] [] [2025/04/04 12:45:41.931 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=3] [step=import] [takeTime=126.870845ms] [] [2025/04/04 12:45:42.012 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 12:45:42.014 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:45:42.015 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=2] [curr-step=import] [next-step=post-process] [2025/04/04 12:45:42.015 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=2] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 12:45:42.051 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=2] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":4}"] [2025/04/04 12:45:42.052 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=2] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 12:45:42.052 +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/04 12:45:42.076 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [2025/04/04 12:45:42.076 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=2] [step=import] [2025/04/04 12:45:42.080 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:45:42.080 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:45:42.080 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:45:42.080 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:45:42.080 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:45:42.080 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:45:42.080 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:45:42.080 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-13] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:45:42.080 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:42.080 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:42.080 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:42.080 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:45:42.082 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:45:42.082 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:42.082 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:42.082 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:42.082 +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=286.109961ms] [] [2025/04/04 12:45:42.082 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=2] [type=ImportInto] [2025/04/04 12:45:42.091 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=2] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 12:45:42.111 +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/04 12:45:42.119 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=4] [step=post-process] [2025/04/04 12:45:42.119 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [2025/04/04 12:45:42.119 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [2025/04/04 12:45:42.119 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [2025/04/04 12:45:42.125 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [takeTime=6.095726ms] [] [2025/04/04 12:45:42.125 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [groupId=-1] [size=152] [kvs=4] [checksum=9534713575869581377] [2025/04/04 12:45:42.125 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [groupId=1] [size=144] [kvs=4] [checksum=17619267392293085275] [2025/04/04 12:45:42.125 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [checksum="{cksum=8130735849710921754,size=296,kvs=8}"] [2025/04/04 12:45:42.125 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [weight=30] [2025/04/04 12:45:42.125 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [concurrency=15] [2025/04/04 12:45:42.131 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=156] [physicalTableID=156] [indexID=-1] [checksum=9534713575869581377] [totalKvs=4] [totalBytes=152] [2025/04/04 12:45:42.134 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=156] [physicalTableID=156] [indexID=1] [checksum=17619267392293085275] [totalKvs=4] [totalBytes=144] [2025/04/04 12:45:42.135 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 12:45:42.135 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [local="{cksum=8130735849710921754,size=296,kvs=8}"] [2025/04/04 12:45:42.135 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [takeTime=16.104472ms] [] [2025/04/04 12:45:42.135 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [takeTime=16.276848ms] [] [2025/04/04 12:45:42.135 +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=16.416443ms] [] [2025/04/04 12:45:42.145 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 12:45:42.213 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 12:45:42.213 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=2] [step=post-process] [state=running] [] [2025/04/04 12:45:42.217 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=2] [2025/04/04 12:45:42.235 +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=124.403161ms] [] [2025/04/04 12:45:42.235 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=2] [type=ImportInto] [2025/04/04 12:45:42.308 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=2] [2025/04/04 12:45:42.314 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 12:45:42.314 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=2] [2025/04/04 12:45:42.335 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 12:45:42.509 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.988932795\n# Parse_time: 0.000076172\n# Compile_time: 0.000473202\n# Rewrite_time: 0.000097094\n# Optimize_time: 0.000239652\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4OC4xbXMsIG9wZW46NzA0bnMsIGNsb3NlOjU5M25zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk4OC4xbXMsIG9wZW46NzA0bnMsIGNsb3NlOjU5M25zLCBsb29wczoycP////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.22s) === NAME TestImportInto/TestWriteAfterImportFromFile === RUN TestImportInto/TestWriteAfterImportFromFile/case-3 write_after_import_test.go:217: auto_id_cache=1 test is not supported in real-tikv-test now --- SKIP: TestImportInto/TestWriteAfterImportFromFile/case-3 (0.00s) === NAME TestImportInto/TestWriteAfterImportFromFile === RUN TestImportInto/TestWriteAfterImportFromFile/case-4 current case CREATE TABLE t (id int PRIMARY KEY CLUSTERED, v varchar(64)) [2025/04/04 12:45:42.536 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:158, Type:drop table, State:queueing, SchemaState:public, SchemaID:151, TableID:156, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:42.51 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:42.536 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:158, Type:drop table, State:queueing, SchemaState:public, SchemaID:151, TableID:156, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:42.51 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/04 12:45:42.541 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=158] [conn=2] [job="ID:158, Type:drop table, State:queueing, SchemaState:public, SchemaID:151, TableID:156, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:42.51 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:42.559 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=88] [neededSchemaVersion=89] ["elapsed time"=2.310911ms] [gotSchemaVersion=89] [phyTblIDs="[156]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:45:42.563 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=158] [version=89] [2025/04/04 12:45:42.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=89] ["take time"=9.789619ms] [job="ID:158, Type:drop table, State:running, SchemaState:write only, SchemaID:151, TableID:156, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:42.51 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:42.575 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=158] [conn=2] [job="ID:158, Type:drop table, State:running, SchemaState:write only, SchemaID:151, TableID:156, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:42.51 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:42.593 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=89] [neededSchemaVersion=90] ["elapsed time"=2.363496ms] [gotSchemaVersion=90] [phyTblIDs="[156]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:45:42.597 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=158] [version=90] [2025/04/04 12:45:42.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=90] ["take time"=9.87567ms] [job="ID:158, Type:drop table, State:running, SchemaState:delete only, SchemaID:151, TableID:156, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:42.51 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:42.607 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=158] [conn=2] [job="ID:158, Type:drop table, State:running, SchemaState:delete only, SchemaID:151, TableID:156, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:42.51 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:42.614 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 156, Old Table Name: t)"] [2025/04/04 12:45:42.629 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=90] [neededSchemaVersion=91] ["elapsed time"=1.153083ms] [gotSchemaVersion=91] [phyTblIDs="[156]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:45:42.632 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=158] [version=91] [2025/04/04 12:45:42.634 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=91] ["take time"=8.830975ms] [job="ID:158, Type:drop table, State:done, SchemaState:none, SchemaID:151, TableID:156, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:42.51 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:42.645 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=158] [tableIDs="[156]"] [comment="drop table: table ID"] [2025/04/04 12:45:42.650 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=158] [jobType="drop table"] [2025/04/04 12:45:42.651 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=158] [conn=2] [job="ID:158, Type:drop table, State:synced, SchemaState:none, SchemaID:151, TableID:156, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:42.51 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:42.671 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=158] [2025/04/04 12:45:42.671 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=91] [cur_db=write_after_import] [sql="drop table if exists t;"] [user=] [2025/04/04 12:45:42.684 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:160, Type:create table, State:queueing, SchemaState:none, SchemaID:151, TableID:159, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:42.66 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t (id int PRIMARY KEY CLUSTERED, v varchar(64))"] [2025/04/04 12:45:42.685 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:160, Type:create table, State:queueing, SchemaState:none, SchemaID:151, TableID:159, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:42.66 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:42.690 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=160] [conn=2] [job="ID:160, Type:create table, State:queueing, SchemaState:none, SchemaID:151, TableID:159, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:42.66 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:42.696 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 159, Table Name: t)"] [2025/04/04 12:45:42.711 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=91] [neededSchemaVersion=92] ["elapsed time"=1.545975ms] [gotSchemaVersion=92] [phyTblIDs="[159]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:42.715 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=160] [version=92] [2025/04/04 12:45:42.717 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=92] ["take time"=8.416325ms] [job="ID:160, Type:create table, State:done, SchemaState:public, SchemaID:151, TableID:159, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:42.66 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:42.728 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=160] [conn=2] [job="ID:160, Type:create table, State:synced, SchemaState:public, SchemaID:151, TableID:159, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:42.66 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:42.741 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=160] [2025/04/04 12:45:42.741 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=92] [cur_db=write_after_import] [sql="CREATE TABLE t (id int PRIMARY KEY CLUSTERED, v varchar(64))"] [user=] [2025/04/04 12:45:42.747 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:42.794 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://write_after_import/*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/04 12:45:42.813 +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/04 12:45:42.826 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=3] [2025/04/04 12:45:42.826 +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/04 12:45:42.929 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 12:45:42.930 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:45:42.931 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=3] [curr-step=init] [next-step=import] [2025/04/04 12:45:42.940 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:42.943 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 12:45:42.943 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=36] [2025/04/04 12:45:42.943 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=2] [MaxChunkSize=268435456] [RegionsCount=2] [BatchSize=36] [cost=83.221µs] [2025/04/04 12:45:42.943 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=229.44µs] [] [2025/04/04 12:45:42.943 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=3] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 12:45:42.943 +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/04 12:45:42.982 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=3] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 12:45:43.002 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=3] [step=import] [2025/04/04 12:45:43.002 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:43.011 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 12:45:43.011 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437829623651060] [2025/04/04 12:45:43.012 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:45:43.012 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 12:45:43.012 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:45:43.012 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:45:43.012 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:45:43.012 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:45:43.012 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:45:43.013 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:45:43.025 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:45:43.027 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 12:45:43.027 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.7GB] [2025/04/04 12:45:43.027 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=3] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 12:45:43.027 +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/04 12:45:43.027 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=3] [disk-quota=348.9GiB] [2025/04/04 12:45:43.035 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=3] [mode=Import] [2025/04/04 12:45:43.036 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [subtaskID=5] [step=import] [2025/04/04 12:45:43.036 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=3] [step=import] [subtask-id=5] [2025/04/04 12:45:43.043 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [2025/04/04 12:45:43.050 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/04 12:45:43.050 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=159] [2025/04/04 12:45:43.050 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=159] [2025/04/04 12:45:43.053 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=159] [key=2.csv:0] [2025/04/04 12:45:43.053 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=159] [key=1.csv:0] [2025/04/04 12:45:43.054 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=159] [key=1.csv:0] [readDur=870.767µs] [encodeDur=231.856µs] [checksum="{cksum=8870261354621979222,size=68,kvs=2}"] [deliverDur=165.315µs] [type=file] [takeTime=1.604892ms] [] [2025/04/04 12:45:43.055 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=159] [key=2.csv:0] [readDur=885.463µs] [encodeDur=596.683µs] [checksum="{cksum=13585057687600554216,size=68,kvs=2}"] [deliverDur=331.534µs] [type=file] [takeTime=2.119187ms] [] [2025/04/04 12:45:43.056 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=68] [kvs=2] [files=1] [sstFileSize=979] [file=/tmp/tidb/import-4000/3/d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5.sst/46d5790a-72b6-42cf-9f0f-892c2f24cf61.sst] [firstKey=74800000000000009F5F728000000000000004] [lastKey=74800000000000009F5F728000000000000005] [2025/04/04 12:45:43.056 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=3] [step=import] [engine-id=0] [2025/04/04 12:45:43.056 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=3] [step=import] [engine-id=0] [2025/04/04 12:45:43.056 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [2025/04/04 12:45:43.057 +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/715ee66f-ff65-455a-ba98-4496ab73b88a.sst] [firstKey=74800000000000009F5F728000000000000006] [lastKey=74800000000000009F5F728000000000000007] [2025/04/04 12:45:43.060 +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.911565ms] [] [2025/04/04 12:45:43.060 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [retryCnt=0] [2025/04/04 12:45:43.063 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=3] [2025/04/04 12:45:43.065 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:45:43.087 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] ["region ranges"=1] [count=4] [size=136] [2025/04/04 12:45:43.087 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:45:43.089 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000009f5f728000000000000004] [endOfAllRanges=74800000000000009f5f728000000000000008] [startKeyOfFirstRegion=7480000000000000ff9f5f728000000000ff0000040000000000fa] [endKeyOfLastRegion=7480000000000000ff9f5f728000000000ff0000080000000000fa] [2025/04/04 12:45:43.108 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [size=136] [kvs=4] [importedSize=136] [importedCount=4] [2025/04/04 12:45:43.110 +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=49.224851ms] [] [2025/04/04 12:45:43.110 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [2025/04/04 12:45:43.111 +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.387849ms] [] [2025/04/04 12:45:43.111 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=3] [step=import] [engine-id=0] [2025/04/04 12:45:43.111 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/04 12:45:43.114 +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.248846ms] [] [2025/04/04 12:45:43.114 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [retryCnt=0] [2025/04/04 12:45:43.117 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/04 12:45:43.117 +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.67357ms] [] [2025/04/04 12:45:43.117 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/04 12:45:43.119 +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.094901ms] [] [2025/04/04 12:45:43.119 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=3] [step=import] [subtask-id=5] [takeTime=82.59121ms] [] [2025/04/04 12:45:43.119 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [subtaskID=5] [step=import] [takeTime=82.778901ms] [] [2025/04/04 12:45:43.133 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 12:45:43.134 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:45:43.135 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=3] [curr-step=import] [next-step=post-process] [2025/04/04 12:45:43.135 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=3] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 12:45:43.173 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=3] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":4}"] [2025/04/04 12:45:43.174 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=3] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 12:45:43.174 +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/04 12:45:43.204 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 12:45:43.211 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=3] [step=import] [2025/04/04 12:45:43.213 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:45:43.213 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:45:43.213 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:45:43.213 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:45:43.213 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:45:43.213 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:45:43.213 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:45:43.213 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:43.213 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:43.214 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:43.213 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-14] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:45:43.214 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:45:43.215 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:45:43.216 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:43.216 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:43.216 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:43.216 +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=188.185921ms] [] [2025/04/04 12:45:43.217 +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/04 12:45:43.224 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [subtaskID=6] [step=post-process] [2025/04/04 12:45:43.224 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [2025/04/04 12:45:43.225 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [2025/04/04 12:45:43.225 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [2025/04/04 12:45:43.225 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [takeTime=2.295µs] [] [2025/04/04 12:45:43.225 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [groupId=-1] [size=136] [kvs=4] [checksum=14384125892341312190] [2025/04/04 12:45:43.225 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [checksum="{cksum=14384125892341312190,size=136,kvs=4}"] [2025/04/04 12:45:43.225 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [weight=30] [2025/04/04 12:45:43.225 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [concurrency=15] [2025/04/04 12:45:43.227 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=159] [physicalTableID=159] [indexID=-1] [checksum=14384125892341312190] [totalKvs=4] [totalBytes=136] [2025/04/04 12:45:43.227 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 12:45:43.227 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [local="{cksum=14384125892341312190,size=136,kvs=4}"] [2025/04/04 12:45:43.227 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [takeTime=2.56496ms] [] [2025/04/04 12:45:43.227 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [takeTime=2.706321ms] [] [2025/04/04 12:45:43.227 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [subtaskID=6] [step=post-process] [takeTime=2.853198ms] [] [2025/04/04 12:45:43.234 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 12:45:43.333 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 12:45:43.333 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=3] [step=post-process] [state=running] [] [2025/04/04 12:45:43.337 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=3] [2025/04/04 12:45:43.367 +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=150.532131ms] [] [2025/04/04 12:45:43.367 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=3] [type=ImportInto] [2025/04/04 12:45:43.428 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=3] [2025/04/04 12:45:43.429 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.688075258\n# Parse_time: 0.000105909\n# Compile_time: 0.000575199\n# Rewrite_time: 0.000089346\n# Optimize_time: 0.000369317\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('RvBFMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY4N21zLCBvcGVuOjg0N25zLCBjbG9zZTo5NTZucywgbG9vcHM6MglOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('YfBMCl0KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWix0aW1lOjY4N21zLCBvcGVuOjg0N25zLCBjbG9zZTo5NTZucywgbG9vcHM6MnD///8JAzQBeP///////////wEYAQ==')\n# Resource_group: default\nIMPORT INTO `write_after_import`.`t` FROM 'gs://write_after_import/*.csv?endpoint=http://127.0.0.1:4443/storage/v1/';"] [2025/04/04 12:45:43.435 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 12:45:43.435 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=3] [2025/04/04 12:45:43.435 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119037760471050] --- PASS: TestImportInto/TestWriteAfterImportFromFile/case-4 (0.92s) === NAME TestImportInto/TestWriteAfterImportFromFile === RUN TestImportInto/TestWriteAfterImportFromFile/case-5 write_after_import_test.go:217: auto_id_cache=1 test is not supported in real-tikv-test now --- SKIP: TestImportInto/TestWriteAfterImportFromFile/case-5 (0.00s) === NAME TestImportInto/TestWriteAfterImportFromFile === RUN TestImportInto/TestWriteAfterImportFromFile/case-6 current case CREATE TABLE t (id int, v varchar(64)) [2025/04/04 12:45:43.453 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:161, Type:drop table, State:queueing, SchemaState:public, SchemaID:151, TableID:159, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:43.41 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/04 12:45:43.453 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:161, Type:drop table, State:queueing, SchemaState:public, SchemaID:151, TableID:159, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:43.41 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:43.457 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 12:45:43.459 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=161] [conn=2] [job="ID:161, Type:drop table, State:queueing, SchemaState:public, SchemaID:151, TableID:159, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:43.41 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:43.476 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=92] [neededSchemaVersion=93] ["elapsed time"=2.121112ms] [gotSchemaVersion=93] [phyTblIDs="[159]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:45:43.480 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=161] [version=93] [2025/04/04 12:45:43.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=93] ["take time"=9.314313ms] [job="ID:161, Type:drop table, State:running, SchemaState:write only, SchemaID:151, TableID:159, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:43.41 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:43.492 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=161] [conn=2] [job="ID:161, Type:drop table, State:running, SchemaState:write only, SchemaID:151, TableID:159, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:43.41 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:43.509 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=93] [neededSchemaVersion=94] ["elapsed time"=2.14851ms] [gotSchemaVersion=94] [phyTblIDs="[159]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:45:43.513 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=161] [version=94] [2025/04/04 12:45:43.515 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=94] ["take time"=9.324636ms] [job="ID:161, Type:drop table, State:running, SchemaState:delete only, SchemaID:151, TableID:159, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:43.41 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:43.523 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=161] [conn=2] [job="ID:161, Type:drop table, State:running, SchemaState:delete only, SchemaID:151, TableID:159, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:43.41 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:43.530 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 159, Old Table Name: t)"] [2025/04/04 12:45:43.544 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=94] [neededSchemaVersion=95] ["elapsed time"=1.109009ms] [gotSchemaVersion=95] [phyTblIDs="[159]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:45:43.548 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=161] [version=95] [2025/04/04 12:45:43.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=95] ["take time"=9.146366ms] [job="ID:161, Type:drop table, State:done, SchemaState:none, SchemaID:151, TableID:159, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:43.41 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:43.560 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=161] [tableIDs="[159]"] [comment="drop table: table ID"] [2025/04/04 12:45:43.565 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=161] [jobType="drop table"] [2025/04/04 12:45:43.566 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=161] [conn=2] [job="ID:161, Type:drop table, State:synced, SchemaState:none, SchemaID:151, TableID:159, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:43.41 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:43.585 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=161] [2025/04/04 12:45:43.585 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=95] [cur_db=write_after_import] [sql="drop table if exists t;"] [user=] [2025/04/04 12:45:43.599 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:163, Type:create table, State:queueing, SchemaState:none, SchemaID:151, TableID:162, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:43.56 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:43.599 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:163, Type:create table, State:queueing, SchemaState:none, SchemaID:151, TableID:162, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:43.56 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t (id int, v varchar(64))"] [2025/04/04 12:45:43.605 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=163] [conn=2] [job="ID:163, Type:create table, State:queueing, SchemaState:none, SchemaID:151, TableID:162, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:43.56 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:43.610 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 162, Table Name: t)"] [2025/04/04 12:45:43.625 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=95] [neededSchemaVersion=96] ["elapsed time"=1.619004ms] [gotSchemaVersion=96] [phyTblIDs="[162]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:43.629 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=163] [version=96] [2025/04/04 12:45:43.630 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=96] ["take time"=8.63899ms] [job="ID:163, Type:create table, State:done, SchemaState:public, SchemaID:151, TableID:162, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:43.56 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:43.642 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=163] [conn=2] [job="ID:163, Type:create table, State:synced, SchemaState:public, SchemaID:151, TableID:162, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:43.56 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:43.655 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=163] [2025/04/04 12:45:43.655 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=96] [cur_db=write_after_import] [sql="CREATE TABLE t (id int, v varchar(64))"] [user=] [2025/04/04 12:45:43.661 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:43.717 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://write_after_import/*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/04 12:45:43.737 +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/04 12:45:43.751 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=4] [2025/04/04 12:45:43.751 +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/04 12:45:43.854 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 12:45:43.855 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:45:43.856 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=4] [curr-step=init] [next-step=import] [2025/04/04 12:45:43.864 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:43.866 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 12:45:43.866 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=36] [2025/04/04 12:45:43.866 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=2] [MaxChunkSize=268435456] [RegionsCount=2] [BatchSize=36] [cost=57.142µs] [2025/04/04 12:45:43.867 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=153.173µs] [] [2025/04/04 12:45:43.867 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=4] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 12:45:43.867 +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/04 12:45:43.901 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=4] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 12:45:43.921 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=4] [step=import] [2025/04/04 12:45:43.921 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:43.928 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 12:45:43.929 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437829623651060] [2025/04/04 12:45:43.929 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:45:43.929 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 12:45:43.929 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:45:43.929 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:45:43.929 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:45:43.929 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:45:43.930 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:45:43.930 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:45:43.942 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:45:43.944 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 12:45:43.944 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.7GB] [2025/04/04 12:45:43.944 +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/04 12:45:43.944 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=4] [disk-quota=348.9GiB] [2025/04/04 12:45:43.944 +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/04 12:45:43.952 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [subtaskID=7] [step=import] [2025/04/04 12:45:43.952 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=4] [step=import] [subtask-id=7] [2025/04/04 12:45:43.957 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [2025/04/04 12:45:43.959 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=4] [mode=Import] [2025/04/04 12:45:43.962 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/04 12:45:43.963 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=162] [2025/04/04 12:45:43.963 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=162] [2025/04/04 12:45:43.965 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=162] [key=1.csv:0] [2025/04/04 12:45:43.965 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=162] [key=2.csv:0] [2025/04/04 12:45:43.967 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=162] [key=2.csv:0] [readDur=853.867µs] [encodeDur=174.751µs] [checksum="{cksum=10862406597896790237,size=76,kvs=2}"] [deliverDur=304.96µs] [type=file] [takeTime=1.673122ms] [] [2025/04/04 12:45:43.967 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=162] [key=1.csv:0] [readDur=773.502µs] [encodeDur=532.667µs] [checksum="{cksum=1363779544899807388,size=76,kvs=2}"] [deliverDur=217.918µs] [type=file] [takeTime=1.858128ms] [] [2025/04/04 12:45:43.968 +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/6d30c2be-f5aa-473c-8143-d9c476d5a7cd.sst] [firstKey=7480000000000000A25F72800000000000000A] [lastKey=7480000000000000A25F72800000000000000B] [2025/04/04 12:45:43.968 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=4] [step=import] [engine-id=0] [2025/04/04 12:45:43.968 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=4] [step=import] [engine-id=0] [2025/04/04 12:45:43.968 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [2025/04/04 12:45:43.970 +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/887e85f4-c541-4e80-bc3e-dbcacb5b09c8.sst] [firstKey=7480000000000000A25F728000000000000001] [lastKey=7480000000000000A25F728000000000000002] [2025/04/04 12:45:43.974 +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=5.241196ms] [] [2025/04/04 12:45:43.974 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [retryCnt=0] [2025/04/04 12:45:43.978 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:45:43.984 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=4] [2025/04/04 12:45:44.000 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] ["region ranges"=1] [count=4] [size=152] [2025/04/04 12:45:44.000 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:45:44.002 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000a25f728000000000000001] [endOfAllRanges=7480000000000000a25f72800000000000000c] [startKeyOfFirstRegion=7480000000000000ffa25f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffa25f728000000000ff00000c0000000000fa] [2025/04/04 12:45:44.021 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [size=152] [kvs=4] [importedSize=152] [importedCount=4] [2025/04/04 12:45:44.022 +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=48.718671ms] [] [2025/04/04 12:45:44.023 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [2025/04/04 12:45:44.024 +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.323924ms] [] [2025/04/04 12:45:44.024 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=4] [step=import] [engine-id=0] [2025/04/04 12:45:44.024 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/04 12:45:44.026 +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.102373ms] [] [2025/04/04 12:45:44.026 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [retryCnt=0] [2025/04/04 12:45:44.030 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/04 12:45:44.030 +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.71898ms] [] [2025/04/04 12:45:44.030 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/04 12:45:44.031 +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.187987ms] [] [2025/04/04 12:45:44.031 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=4] [step=import] [subtask-id=7] [takeTime=79.357598ms] [] [2025/04/04 12:45:44.032 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [subtaskID=7] [step=import] [takeTime=79.532619ms] [] [2025/04/04 12:45:44.058 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 12:45:44.059 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:45:44.060 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=4] [curr-step=import] [next-step=post-process] [2025/04/04 12:45:44.060 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=4] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 12:45:44.095 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=4] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":4}"] [2025/04/04 12:45:44.097 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=4] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 12:45:44.097 +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/04 12:45:44.127 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 12:45:44.134 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=4] [step=import] [2025/04/04 12:45:44.137 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:45:44.137 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:45:44.137 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:45:44.137 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:45:44.137 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:45:44.137 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:45:44.137 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:44.137 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:45:44.137 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-15] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:45:44.137 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:44.137 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:44.137 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:45:44.139 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:45:44.139 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:44.139 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:44.139 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:44.139 +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=195.212993ms] [] [2025/04/04 12:45:44.141 +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/04 12:45:44.149 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [subtaskID=8] [step=post-process] [2025/04/04 12:45:44.149 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [2025/04/04 12:45:44.149 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [2025/04/04 12:45:44.149 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [2025/04/04 12:45:44.155 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [takeTime=5.676767ms] [] [2025/04/04 12:45:44.155 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [groupId=-1] [size=152] [kvs=4] [checksum=9534713575869581377] [2025/04/04 12:45:44.155 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [checksum="{cksum=9534713575869581377,size=152,kvs=4}"] [2025/04/04 12:45:44.155 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [weight=30] [2025/04/04 12:45:44.155 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [concurrency=15] [2025/04/04 12:45:44.157 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=162] [physicalTableID=162] [indexID=-1] [checksum=9534713575869581377] [totalKvs=4] [totalBytes=152] [2025/04/04 12:45:44.157 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 12:45:44.157 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [local="{cksum=9534713575869581377,size=152,kvs=4}"] [2025/04/04 12:45:44.157 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [takeTime=8.200308ms] [] [2025/04/04 12:45:44.157 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [takeTime=8.381578ms] [] [2025/04/04 12:45:44.157 +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.510743ms] [] [2025/04/04 12:45:44.166 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 12:45:44.258 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 12:45:44.258 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=4] [step=post-process] [state=running] [] [2025/04/04 12:45:44.261 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=4] [2025/04/04 12:45:44.277 +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=136.534619ms] [] [2025/04/04 12:45:44.277 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=4] [type=ImportInto] [2025/04/04 12:45:44.353 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=4] [2025/04/04 12:45:44.354 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.699005619\n# Parse_time: 0.000063223\n# Compile_time: 0.000433665\n# Rewrite_time: 0.000086345\n# Optimize_time: 0.000254209\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY5OC4ybXMsIG9wZW46NTcwbnMsIGNsb3NlOjc4MW5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY5OC4ybXMsIG9wZW46NTcwbnMsIGNsb3NlOjc4MW5zLCBsb29wczoycP////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/04 12:45:44.359 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 12:45:44.359 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=4] --- PASS: TestImportInto/TestWriteAfterImportFromFile/case-6 (0.93s) === NAME TestImportInto/TestWriteAfterImportFromFile === RUN TestImportInto/TestWriteAfterImportFromFile/case-7 write_after_import_test.go:217: auto_id_cache=1 test is not supported in real-tikv-test now --- SKIP: TestImportInto/TestWriteAfterImportFromFile/case-7 (0.00s) === NAME TestImportInto/TestWriteAfterImportFromFile === RUN TestImportInto/TestWriteAfterImportFromFile/case-8 current case CREATE TABLE t (id int PRIMARY KEY NONCLUSTERED, v varchar(64)) [2025/04/04 12:45:44.379 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:164, Type:drop table, State:queueing, SchemaState:public, SchemaID:151, TableID:162, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:44.36 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:44.379 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:164, Type:drop table, State:queueing, SchemaState:public, SchemaID:151, TableID:162, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:44.36 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/04 12:45:44.380 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 12:45:44.384 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=164] [conn=2] [job="ID:164, Type:drop table, State:queueing, SchemaState:public, SchemaID:151, TableID:162, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:44.36 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:44.401 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=96] [neededSchemaVersion=97] ["elapsed time"=2.101176ms] [gotSchemaVersion=97] [phyTblIDs="[162]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:45:44.404 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=164] [version=97] [2025/04/04 12:45:44.406 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=97] ["take time"=9.083474ms] [job="ID:164, Type:drop table, State:running, SchemaState:write only, SchemaID:151, TableID:162, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:44.36 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:44.416 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=164] [conn=2] [job="ID:164, Type:drop table, State:running, SchemaState:write only, SchemaID:151, TableID:162, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:44.36 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:44.432 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=97] [neededSchemaVersion=98] ["elapsed time"=2.149704ms] [gotSchemaVersion=98] [phyTblIDs="[162]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:45:44.436 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=164] [version=98] [2025/04/04 12:45:44.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=98] ["take time"=9.340137ms] [job="ID:164, Type:drop table, State:running, SchemaState:delete only, SchemaID:151, TableID:162, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:44.36 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:44.447 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=164] [conn=2] [job="ID:164, Type:drop table, State:running, SchemaState:delete only, SchemaID:151, TableID:162, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:44.36 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:44.454 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 162, Old Table Name: t)"] [2025/04/04 12:45:44.468 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=98] [neededSchemaVersion=99] ["elapsed time"=1.063863ms] [gotSchemaVersion=99] [phyTblIDs="[162]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:45:44.471 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=164] [version=99] [2025/04/04 12:45:44.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=99] ["take time"=7.741053ms] [job="ID:164, Type:drop table, State:done, SchemaState:none, SchemaID:151, TableID:162, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:44.36 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:44.482 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=164] [tableIDs="[162]"] [comment="drop table: table ID"] [2025/04/04 12:45:44.487 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=164] [jobType="drop table"] [2025/04/04 12:45:44.488 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=164] [conn=2] [job="ID:164, Type:drop table, State:synced, SchemaState:none, SchemaID:151, TableID:162, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:44.36 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:44.505 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=164] [2025/04/04 12:45:44.505 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=99] [cur_db=write_after_import] [sql="drop table if exists t;"] [user=] [2025/04/04 12:45:44.518 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:166, Type:create table, State:queueing, SchemaState:none, SchemaID:151, TableID:165, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:44.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:44.518 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:166, Type:create table, State:queueing, SchemaState:none, SchemaID:151, TableID:165, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:44.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t (id int PRIMARY KEY NONCLUSTERED, v varchar(64))"] [2025/04/04 12:45:44.523 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=166] [conn=2] [job="ID:166, Type:create table, State:queueing, SchemaState:none, SchemaID:151, TableID:165, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:44.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:44.528 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 165, Table Name: t)"] [2025/04/04 12:45:44.544 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=99] [neededSchemaVersion=100] ["elapsed time"=1.823046ms] [gotSchemaVersion=100] [phyTblIDs="[165]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:44.547 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=166] [version=100] [2025/04/04 12:45:44.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=100] ["take time"=8.788477ms] [job="ID:166, Type:create table, State:done, SchemaState:public, SchemaID:151, TableID:165, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:44.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:44.561 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=166] [conn=2] [job="ID:166, Type:create table, State:synced, SchemaState:public, SchemaID:151, TableID:165, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:44.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:44.573 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=166] [2025/04/04 12:45:44.573 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=100] [cur_db=write_after_import] [sql="CREATE TABLE t (id int PRIMARY KEY NONCLUSTERED, v varchar(64))"] [user=] [2025/04/04 12:45:44.580 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:44.627 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://write_after_import/*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/04 12:45:44.646 +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/04 12:45:44.660 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=5] [2025/04/04 12:45:44.660 +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/04 12:45:44.762 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 12:45:44.764 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:45:44.766 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=5] [curr-step=init] [next-step=import] [2025/04/04 12:45:44.775 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:44.777 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 12:45:44.777 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=36] [2025/04/04 12:45:44.777 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=2] [MaxChunkSize=268435456] [RegionsCount=2] [BatchSize=36] [cost=66.513µs] [2025/04/04 12:45:44.777 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=181.61µs] [] [2025/04/04 12:45:44.777 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=5] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 12:45:44.777 +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/04 12:45:44.811 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=5] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 12:45:44.831 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=5] [step=import] [2025/04/04 12:45:44.831 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:44.838 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 12:45:44.839 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437829623651060] [2025/04/04 12:45:44.839 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:45:44.839 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 12:45:44.839 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:45:44.839 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:45:44.839 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:45:44.839 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:45:44.840 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:45:44.840 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:45:44.852 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:45:44.854 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 12:45:44.854 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.7GB] [2025/04/04 12:45:44.854 +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/04 12:45:44.854 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=5] [disk-quota=348.9GiB] [2025/04/04 12:45:44.854 +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/04 12:45:44.862 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=9] [step=import] [2025/04/04 12:45:44.862 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=5] [step=import] [subtask-id=9] [2025/04/04 12:45:44.867 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [2025/04/04 12:45:44.869 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=5] [mode=Import] [2025/04/04 12:45:44.873 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/04 12:45:44.873 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=165] [2025/04/04 12:45:44.873 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=165] [2025/04/04 12:45:44.875 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=165] [key=2.csv:0] [2025/04/04 12:45:44.875 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=165] [key=1.csv:0] [2025/04/04 12:45:44.877 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=165] [key=2.csv:0] [readDur=959.88µs] [encodeDur=140.604µs] [checksum="{cksum=4755199630144978764,size=148,kvs=4}"] [deliverDur=249.085µs] [type=file] [takeTime=1.74795ms] [] [2025/04/04 12:45:44.878 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=165] [key=1.csv:0] [readDur=974.796µs] [encodeDur=261.693µs] [checksum="{cksum=3543191561364936534,size=148,kvs=4}"] [deliverDur=597.32µs] [type=file] [takeTime=2.064456ms] [] [2025/04/04 12:45:44.879 +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/648b9212-2752-44a8-9e12-d6951afcdc32.sst] [firstKey=7480000000000000A55F72800000000000000A] [lastKey=7480000000000000A55F72800000000000000B] [2025/04/04 12:45:44.880 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=5] [step=import] [engine-id=0] [2025/04/04 12:45:44.880 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=5] [step=import] [engine-id=0] [2025/04/04 12:45:44.880 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [2025/04/04 12:45:44.881 +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/1f82ff03-e2e9-45ad-b646-e5f4270e5e0b.sst] [firstKey=7480000000000000A55F728000000000000001] [lastKey=7480000000000000A55F728000000000000002] [2025/04/04 12:45:44.886 +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=6.010741ms] [] [2025/04/04 12:45:44.886 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [retryCnt=0] [2025/04/04 12:45:44.891 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:45:44.895 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=5] [2025/04/04 12:45:44.913 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] ["region ranges"=1] [count=4] [size=152] [2025/04/04 12:45:44.913 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:45:44.915 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000a55f728000000000000001] [endOfAllRanges=7480000000000000a55f72800000000000000c] [startKeyOfFirstRegion=7480000000000000ffa55f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffa55f728000000000ff00000c0000000000fa] [2025/04/04 12:45:44.931 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [size=152] [kvs=4] [importedSize=152] [importedCount=4] [2025/04/04 12:45:44.932 +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=46.39899ms] [] [2025/04/04 12:45:44.933 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [2025/04/04 12:45:44.934 +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.396244ms] [] [2025/04/04 12:45:44.934 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=5] [step=import] [engine-id=0] [2025/04/04 12:45:44.934 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/04 12:45:44.936 +00:00] [INFO] [engine.go:1695] ["compact sst"] [category=ddl-ingest] [fileCount=2] [size=144] [count=4] [cost=1.474367ms] [file=/tmp/tidb/import-4000/5/630083e6-fc50-5cd2-8645-c17b147197ce.sst/246c54d5-014b-4f6d-b094-56969d3a5b12.sst] [2025/04/04 12:45:44.936 +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/246c54d5-014b-4f6d-b094-56969d3a5b12.sst] [firstKey=7480000000000000A55F698000000000000001038000000000000004] [lastKey=7480000000000000A55F698000000000000001038000000000000007] [2025/04/04 12:45:44.939 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [takeTime=4.797152ms] [] [2025/04/04 12:45:44.939 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [retryCnt=0] [2025/04/04 12:45:44.943 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:45:44.965 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=630083e6-fc50-5cd2-8645-c17b147197ce] ["region ranges"=1] [count=4] [size=144] [2025/04/04 12:45:44.965 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:45:44.967 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000a55f698000000000000001038000000000000004] [endOfAllRanges=7480000000000000a55f69800000000000000103800000000000000700] [startKeyOfFirstRegion=7480000000000000ffa55f698000000000ff0000010380000000ff0000000400000000fb] [endKeyOfLastRegion=7480000000000000ffa55f698000000000ff0000010380000000ff0000000700000000fc] [2025/04/04 12:45:44.982 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=630083e6-fc50-5cd2-8645-c17b147197ce] [size=144] [kvs=4] [importedSize=144] [importedCount=4] [2025/04/04 12:45:44.984 +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=44.569093ms] [] [2025/04/04 12:45:44.984 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/04 12:45:44.985 +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.259798ms] [] [2025/04/04 12:45:44.985 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=5] [step=import] [subtask-id=9] [takeTime=123.202654ms] [] [2025/04/04 12:45:44.985 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=9] [step=import] [takeTime=123.359315ms] [] [2025/04/04 12:45:45.067 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 12:45:45.068 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:45:45.070 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=5] [curr-step=import] [next-step=post-process] [2025/04/04 12:45:45.070 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=5] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 12:45:45.106 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=5] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":4}"] [2025/04/04 12:45:45.108 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=5] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 12:45:45.108 +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/04 12:45:45.137 +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/04 12:45:45.144 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=5] [step=import] [2025/04/04 12:45:45.147 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:45:45.147 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:45:45.147 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:45:45.147 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:45:45.147 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:45:45.147 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:45:45.147 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:45:45.148 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:45.147 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-16] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:45:45.148 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:45.148 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:45.148 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:45:45.149 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:45:45.149 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:45.150 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:45.150 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:45.150 +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.328768ms] [] [2025/04/04 12:45:45.151 +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/04 12:45:45.159 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=10] [step=post-process] [2025/04/04 12:45:45.159 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [2025/04/04 12:45:45.159 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [2025/04/04 12:45:45.159 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [2025/04/04 12:45:45.165 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [takeTime=5.65599ms] [] [2025/04/04 12:45:45.165 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [groupId=-1] [size=152] [kvs=4] [checksum=9534713575869581377] [2025/04/04 12:45:45.165 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [groupId=1] [size=144] [kvs=4] [checksum=17619267392293085275] [2025/04/04 12:45:45.165 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [checksum="{cksum=8130735849710921754,size=296,kvs=8}"] [2025/04/04 12:45:45.165 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [weight=30] [2025/04/04 12:45:45.165 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [concurrency=15] [2025/04/04 12:45:45.171 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=165] [physicalTableID=165] [indexID=-1] [checksum=9534713575869581377] [totalKvs=4] [totalBytes=152] [2025/04/04 12:45:45.172 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=165] [physicalTableID=165] [indexID=1] [checksum=17619267392293085275] [totalKvs=4] [totalBytes=144] [2025/04/04 12:45:45.172 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 12:45:45.172 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [local="{cksum=8130735849710921754,size=296,kvs=8}"] [2025/04/04 12:45:45.172 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [takeTime=13.130263ms] [] [2025/04/04 12:45:45.172 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [takeTime=13.270121ms] [] [2025/04/04 12:45:45.172 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=10] [step=post-process] [takeTime=13.407972ms] [] [2025/04/04 12:45:45.184 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 12:45:45.267 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 12:45:45.267 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=5] [step=post-process] [state=running] [] [2025/04/04 12:45:45.270 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=5] [2025/04/04 12:45:45.292 +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=140.588085ms] [] [2025/04/04 12:45:45.292 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=5] [type=ImportInto] [2025/04/04 12:45:45.363 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=5] [2025/04/04 12:45:45.369 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 12:45:45.369 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=5] [2025/04/04 12:45:45.390 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 12:45:45.562 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.988454996\n# Parse_time: 0.000092618\n# Compile_time: 0.000448212\n# Rewrite_time: 0.000081405\n# Optimize_time: 0.000259347\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4Ny42bXMsIG9wZW46ODgzbnMsIGNsb3NlOjYyOW5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk4Ny42bXMsIG9wZW46ODgzbnMsIGNsb3NlOjYyOW5zLCBsb29wczoycP////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/04 12:45:45.587 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:167, Type:drop table, State:queueing, SchemaState:public, SchemaID:151, TableID:165, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:45.56 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/04 12:45:45.587 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:167, Type:drop table, State:queueing, SchemaState:public, SchemaID:151, TableID:165, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:45.56 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:45.592 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=167] [conn=2] [job="ID:167, Type:drop table, State:queueing, SchemaState:public, SchemaID:151, TableID:165, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:45.56 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:45.610 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=100] [neededSchemaVersion=101] ["elapsed time"=2.274761ms] [gotSchemaVersion=101] [phyTblIDs="[165]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:45:45.613 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=167] [version=101] [2025/04/04 12:45:45.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=101] ["take time"=9.417354ms] [job="ID:167, Type:drop table, State:running, SchemaState:write only, SchemaID:151, TableID:165, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:45.56 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:45.626 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=167] [conn=2] [job="ID:167, Type:drop table, State:running, SchemaState:write only, SchemaID:151, TableID:165, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:45.56 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:45.644 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=101] [neededSchemaVersion=102] ["elapsed time"=2.303727ms] [gotSchemaVersion=102] [phyTblIDs="[165]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:45:45.648 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=167] [version=102] [2025/04/04 12:45:45.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=102] ["take time"=9.633949ms] [job="ID:167, Type:drop table, State:running, SchemaState:delete only, SchemaID:151, TableID:165, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:45.56 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:45.660 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=167] [conn=2] [job="ID:167, Type:drop table, State:running, SchemaState:delete only, SchemaID:151, TableID:165, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:45.56 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:45.667 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 165, Old Table Name: t)"] [2025/04/04 12:45:45.682 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=102] [neededSchemaVersion=103] ["elapsed time"=1.079978ms] [gotSchemaVersion=103] [phyTblIDs="[165]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:45:45.685 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=167] [version=103] [2025/04/04 12:45:45.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=103] ["take time"=8.277554ms] [job="ID:167, Type:drop table, State:done, SchemaState:none, SchemaID:151, TableID:165, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:45.56 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:45.698 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=167] [tableIDs="[165]"] [comment="drop table: table ID"] [2025/04/04 12:45:45.703 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=167] [jobType="drop table"] [2025/04/04 12:45:45.704 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=167] [conn=2] [job="ID:167, Type:drop table, State:synced, SchemaState:none, SchemaID:151, TableID:165, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:45.56 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:45.731 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=167] [2025/04/04 12:45:45.731 +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.47s) === NAME TestImportInto === RUN TestImportInto/TestWriteAfterImportFromSelect [2025/04/04 12:45:45.744 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:168, Type:drop schema, State:queueing, SchemaState:public, SchemaID:141, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:45.71 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:45.744 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:168, Type:drop schema, State:queueing, SchemaState:public, SchemaID:141, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:45.71 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop database if exists from_select"] [2025/04/04 12:45:45.749 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=168] [conn=2] [job="ID:168, Type:drop schema, State:queueing, SchemaState:public, SchemaID:141, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:45.71 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:45.768 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=103] [neededSchemaVersion=104] ["elapsed time"=2.168174ms] [gotSchemaVersion=104] [phyTblIDs="[143,149]"] [actionTypes="[2,2]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 12:45:45.772 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=168] [version=104] [2025/04/04 12:45:45.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=104] ["take time"=9.005538ms] [job="ID:168, Type:drop schema, State:running, SchemaState:write only, SchemaID:141, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:45.71 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:45.784 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=168] [conn=2] [job="ID:168, Type:drop schema, State:running, SchemaState:write only, SchemaID:141, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:45.71 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:45.796 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=104] [neededSchemaVersion=105] ["elapsed time"=151.825µs] [gotSchemaVersion=105] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 12:45:45.800 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=168] [version=105] [2025/04/04 12:45:45.801 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=105] ["take time"=6.616109ms] [job="ID:168, Type:drop schema, State:running, SchemaState:delete only, SchemaID:141, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:45.71 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:45.809 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=168] [conn=2] [job="ID:168, Type:drop schema, State:running, SchemaState:delete only, SchemaID:141, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:45.71 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:45.815 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/04 12:45:45.826 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=105] [neededSchemaVersion=106] ["elapsed time"=122.872µs] [gotSchemaVersion=106] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 12:45:45.829 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=168] [version=106] [2025/04/04 12:45:45.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=106] ["take time"=6.617681ms] [job="ID:168, Type:drop schema, State:done, SchemaState:none, SchemaID:141, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:45.71 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:45.840 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=168] [tableIDs="[143,149]"] [comment="drop schema: table IDs"] [2025/04/04 12:45:45.845 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=168] [jobType="drop schema"] [2025/04/04 12:45:45.846 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=168] [conn=2] [job="ID:168, Type:drop schema, State:synced, SchemaState:none, SchemaID:141, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:45.71 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:45.862 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=168] [2025/04/04 12:45:45.862 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=106] [cur_db=write_after_import] [sql="drop database if exists from_select"] [user=] [2025/04/04 12:45:45.874 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:170, Type:create schema, State:queueing, SchemaState:none, SchemaID:169, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:45.86 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:45.874 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:170, Type:create schema, State:queueing, SchemaState:none, SchemaID:169, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:45.86 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database from_select"] [2025/04/04 12:45:45.879 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=170] [conn=2] [job="ID:170, Type:create schema, State:queueing, SchemaState:none, SchemaID:169, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:45.86 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:45.893 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=106] [neededSchemaVersion=107] ["elapsed time"=699.758µs] [gotSchemaVersion=107] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 12:45:45.896 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=170] [version=107] [2025/04/04 12:45:45.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=107] ["take time"=7.781295ms] [job="ID:170, Type:create schema, State:done, SchemaState:public, SchemaID:169, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:45.86 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:45.910 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=170] [conn=2] [job="ID:170, Type:create schema, State:synced, SchemaState:public, SchemaID:169, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:45.86 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:45.920 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=170] [2025/04/04 12:45:45.921 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=107] [cur_db=write_after_import] [sql="create database from_select"] [user=] [2025/04/04 12:45:45.934 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:172, Type:create table, State:queueing, SchemaState:none, SchemaID:169, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:45.911 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table dt(id int, v varchar(64))"] [2025/04/04 12:45:45.934 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:172, Type:create table, State:queueing, SchemaState:none, SchemaID:169, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:45.911 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:45.940 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=172] [conn=2] [job="ID:172, Type:create table, State:queueing, SchemaState:none, SchemaID:169, TableID:171, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:45.911 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:45.944 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 171, Table Name: dt)"] [2025/04/04 12:45:45.960 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=107] [neededSchemaVersion=108] ["elapsed time"=1.669416ms] [gotSchemaVersion=108] [phyTblIDs="[171]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:45.964 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=172] [version=108] [2025/04/04 12:45:45.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=108] ["take time"=8.843194ms] [job="ID:172, Type:create table, State:done, SchemaState:public, SchemaID:169, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:45.911 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:45.977 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=172] [conn=2] [job="ID:172, Type:create table, State:synced, SchemaState:public, SchemaID:169, TableID:171, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:45.911 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:45.989 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=172] [2025/04/04 12:45:45.989 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=108] [cur_db=from_select] [sql="create table dt(id int, v varchar(64))"] [user=] [2025/04/04 12:45:46.007 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:173, Type:drop schema, State:queueing, SchemaState:public, SchemaID:151, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:45.961 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:46.007 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:173, Type:drop schema, State:queueing, SchemaState:public, SchemaID:151, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:45.961 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop database if exists write_after_import"] [2025/04/04 12:45:46.012 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=173] [conn=2] [job="ID:173, Type:drop schema, State:queueing, SchemaState:public, SchemaID:151, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:45.961 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:46.027 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=108] [neededSchemaVersion=109] ["elapsed time"=1.039425ms] [gotSchemaVersion=109] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 12:45:46.030 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=173] [version=109] [2025/04/04 12:45:46.032 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=109] ["take time"=7.823131ms] [job="ID:173, Type:drop schema, State:running, SchemaState:write only, SchemaID:151, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:45.961 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:46.042 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=173] [conn=2] [job="ID:173, Type:drop schema, State:running, SchemaState:write only, SchemaID:151, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:45.961 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:46.056 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=109] [neededSchemaVersion=110] ["elapsed time"=152.445µs] [gotSchemaVersion=110] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 12:45:46.059 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=173] [version=110] [2025/04/04 12:45: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=110] ["take time"=7.16957ms] [job="ID:173, Type:drop schema, State:running, SchemaState:delete only, SchemaID:151, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:45.961 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:46.069 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=173] [conn=2] [job="ID:173, Type:drop schema, State:running, SchemaState:delete only, SchemaID:151, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:45.961 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:46.084 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=110] [neededSchemaVersion=111] ["elapsed time"=139.814µs] [gotSchemaVersion=111] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 12:45:46.087 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=173] [version=111] [2025/04/04 12:45:46.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=111] ["take time"=7.135159ms] [job="ID:173, Type:drop schema, State:done, SchemaState:none, SchemaID:151, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:45.961 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:46.099 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=173] [jobType="drop schema"] [2025/04/04 12:45:46.100 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=173] [conn=2] [job="ID:173, Type:drop schema, State:synced, SchemaState:none, SchemaID:151, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:45.961 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:46.116 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=173] [2025/04/04 12:45:46.116 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=111] [cur_db=from_select] [sql="drop database if exists write_after_import"] [user=] [2025/04/04 12:45:46.128 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:175, Type:create schema, State:queueing, SchemaState:none, SchemaID:174, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:46.11 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database write_after_import"] [2025/04/04 12:45:46.128 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:175, Type:create schema, State:queueing, SchemaState:none, SchemaID:174, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:46.11 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:46.133 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=175] [conn=2] [job="ID:175, Type:create schema, State:queueing, SchemaState:none, SchemaID:174, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:46.11 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:46.148 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=111] [neededSchemaVersion=112] ["elapsed time"=718.824µs] [gotSchemaVersion=112] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 12:45:46.151 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=175] [version=112] [2025/04/04 12:45:46.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=112] ["take time"=7.798552ms] [job="ID:175, Type:create schema, State:done, SchemaState:public, SchemaID:174, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:46.11 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:46.164 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=175] [conn=2] [job="ID:175, Type:create schema, State:synced, SchemaState:public, SchemaID:174, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:46.11 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:46.174 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=175] [2025/04/04 12:45:46.175 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=112] [cur_db=from_select] [sql="create database write_after_import"] [user=] === RUN TestImportInto/TestWriteAfterImportFromSelect/case-0 current case CREATE TABLE t (id int AUTO_INCREMENT PRIMARY KEY CLUSTERED, v varchar(64)) [2025/04/04 12:45:46.177 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=112] [cur_db=write_after_import] [sql="drop table if exists t;"] [user=] [2025/04/04 12:45:46.191 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:177, Type:create table, State:queueing, SchemaState:none, SchemaID:174, TableID:176, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:46.16 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t (id int AUTO_INCREMENT PRIMARY KEY CLUSTERED, v varchar(64))"] [2025/04/04 12:45:46.191 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:177, Type:create table, State:queueing, SchemaState:none, SchemaID:174, TableID:176, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:46.16 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:46.197 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=177] [conn=2] [job="ID:177, Type:create table, State:queueing, SchemaState:none, SchemaID:174, TableID:176, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:46.16 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:46.202 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 176, Table Name: t)"] [2025/04/04 12:45:46.218 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=112] [neededSchemaVersion=113] ["elapsed time"=1.773519ms] [gotSchemaVersion=113] [phyTblIDs="[176]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:46.222 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=177] [version=113] [2025/04/04 12:45:46.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=113] ["take time"=8.637153ms] [job="ID:177, Type:create table, State:done, SchemaState:public, SchemaID:174, TableID:176, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:46.16 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:46.235 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=177] [conn=2] [job="ID:177, Type:create table, State:synced, SchemaState:public, SchemaID:174, TableID:176, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:46.16 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:46.247 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=177] [2025/04/04 12:45:46.248 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=113] [cur_db=write_after_import] [sql="CREATE TABLE t (id int AUTO_INCREMENT PRIMARY KEY CLUSTERED, v varchar(64))"] [user=] [2025/04/04 12:45:46.291 +00:00] [INFO] [import_into.go:266] ["importing data from select statement"] [import-id=591af18f-6dd0-4b86-95f9-74607a91c4c1] [concurrency=2] [target-table=`write_after_import`.`t`] [target-table-id=176] [2025/04/04 12:45:46.298 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 12:45:46.298 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437829623651060] [2025/04/04 12:45:46.298 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:45:46.298 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 12:45:46.299 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:45:46.299 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:45:46.299 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:45:46.299 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:45:46.299 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:45:46.299 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:45:46.311 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:45:46.313 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 12:45:46.313 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.7GB] [2025/04/04 12:45:46.318 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [2025/04/04 12:45:46.324 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/04 12:45:46.324 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=t] [import-id=591af18f-6dd0-4b86-95f9-74607a91c4c1] [key=import-from-select] [2025/04/04 12:45:46.324 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=t] [import-id=591af18f-6dd0-4b86-95f9-74607a91c4c1] [key=import-from-select] [2025/04/04 12:45:46.325 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=t] [import-id=591af18f-6dd0-4b86-95f9-74607a91c4c1] [key=import-from-select] [readDur=6.085µs] [encodeDur=298.38µs] [checksum="{cksum=9691373280097766432,size=34,kvs=1}"] [deliverDur=28.04µs] [type=query] [takeTime=603.454µs] [] [2025/04/04 12:45:46.325 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=t] [import-id=591af18f-6dd0-4b86-95f9-74607a91c4c1] [key=import-from-select] [readDur=42.981µs] [encodeDur=231.883µs] [checksum="{cksum=4746797234252687006,size=102,kvs=3}"] [deliverDur=505.972µs] [type=query] [takeTime=1.052931ms] [] [2025/04/04 12:45:46.326 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=34] [kvs=1] [files=1] [sstFileSize=925] [file=/tmp/tidb/import-4000/591af18f-6dd0-4b86-95f9-74607a91c4c1/102b1544-1a0b-5f02-9523-0f5011224f00.sst/a342b680-0582-4e4a-941f-9fbfdc58fbab.sst] [firstKey=7480000000000000B05F728000000000000004] [lastKey=7480000000000000B05F728000000000000004] [2025/04/04 12:45:46.326 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [2025/04/04 12:45:46.327 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=102] [kvs=3] [files=1] [sstFileSize=991] [file=/tmp/tidb/import-4000/591af18f-6dd0-4b86-95f9-74607a91c4c1/102b1544-1a0b-5f02-9523-0f5011224f00.sst/0cab8bdd-3fdf-4e8a-b3fc-2bd9e5a319e3.sst] [firstKey=7480000000000000B05F728000000000000005] [lastKey=7480000000000000B05F728000000000000007] [2025/04/04 12:45:46.330 +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.772999ms] [] [2025/04/04 12:45:46.330 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [retryCnt=0] [2025/04/04 12:45:46.334 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:45:46.357 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=102b1544-1a0b-5f02-9523-0f5011224f00] ["region ranges"=1] [count=4] [size=136] [2025/04/04 12:45:46.357 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:45:46.359 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000b05f728000000000000004] [endOfAllRanges=7480000000000000b05f728000000000000008] [startKeyOfFirstRegion=7480000000000000ffb05f728000000000ff0000040000000000fa] [endKeyOfLastRegion=7480000000000000ffb05f728000000000ff0000080000000000fa] [2025/04/04 12:45:46.374 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=102b1544-1a0b-5f02-9523-0f5011224f00] [size=136] [kvs=4] [importedSize=136] [importedCount=4] [2025/04/04 12:45:46.377 +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=46.311499ms] [] [2025/04/04 12:45:46.377 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/04 12:45:46.378 +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.866792ms] [] [2025/04/04 12:45:46.379 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [retryCnt=0] [2025/04/04 12:45:46.382 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/04 12:45:46.382 +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.484152ms] [] [2025/04/04 12:45:46.382 +00:00] [INFO] [table_import.go:761] ["post process start"] [table=t] [import-id=591af18f-6dd0-4b86-95f9-74607a91c4c1] [checksum="{\"id=-1\"=\"{cksum=14384125892341312190,size=136,kvs=4}\"}"] [2025/04/04 12:45:46.382 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [table=t] [import-id=591af18f-6dd0-4b86-95f9-74607a91c4c1] [2025/04/04 12:45:46.388 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [table=t] [import-id=591af18f-6dd0-4b86-95f9-74607a91c4c1] [takeTime=5.62227ms] [] [2025/04/04 12:45:46.388 +00:00] [INFO] [table_import.go:835] ["local checksum"] [table=t] [import-id=591af18f-6dd0-4b86-95f9-74607a91c4c1] [checksum="{cksum=14384125892341312190,size=136,kvs=4}"] [2025/04/04 12:45:46.388 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [table=t] [import-id=591af18f-6dd0-4b86-95f9-74607a91c4c1] [weight=30] [2025/04/04 12:45:46.388 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [table=t] [import-id=591af18f-6dd0-4b86-95f9-74607a91c4c1] [concurrency=15] [2025/04/04 12:45:46.390 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=176] [physicalTableID=176] [indexID=-1] [checksum=14384125892341312190] [totalKvs=4] [totalBytes=136] [2025/04/04 12:45:46.390 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 12:45:46.390 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [table=t] [import-id=591af18f-6dd0-4b86-95f9-74607a91c4c1] [local="{cksum=14384125892341312190,size=136,kvs=4}"] [2025/04/04 12:45:46.390 +00:00] [INFO] [table_import.go:763] ["post process completed"] [table=t] [import-id=591af18f-6dd0-4b86-95f9-74607a91c4c1] [checksum="{\"id=-1\"=\"{cksum=14384125892341312190,size=136,kvs=4}\"}"] [takeTime=8.283122ms] [] [2025/04/04 12:45:46.391 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [2025/04/04 12:45:46.391 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [takeTime=5.583µs] [] [2025/04/04 12:45:46.391 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [2025/04/04 12:45:46.392 +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.323852ms] [] [2025/04/04 12:45:46.392 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/04 12:45:46.392 +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.406µs] [] [2025/04/04 12:45:46.392 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/04 12:45:46.394 +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.310109ms] [] [2025/04/04 12:45:46.396 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:45:46.396 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:45:46.396 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:45:46.396 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:45:46.397 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:45:46.397 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:45:46.397 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:46.397 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:45:46.396 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-17] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:45:46.397 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:46.397 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:46.397 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:45:46.399 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:45:46.399 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:46.399 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:46.399 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] --- PASS: TestImportInto/TestWriteAfterImportFromSelect/case-0 (0.24s) === NAME TestImportInto/TestWriteAfterImportFromSelect === RUN TestImportInto/TestWriteAfterImportFromSelect/case-1 write_after_import_test.go:217: auto_id_cache=1 test is not supported in real-tikv-test now --- SKIP: TestImportInto/TestWriteAfterImportFromSelect/case-1 (0.00s) === NAME TestImportInto/TestWriteAfterImportFromSelect === RUN TestImportInto/TestWriteAfterImportFromSelect/case-2 current case CREATE TABLE t (id int AUTO_INCREMENT PRIMARY KEY NONCLUSTERED, v varchar(64)) [2025/04/04 12:45:46.424 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:178, Type:drop table, State:queueing, SchemaState:public, SchemaID:174, TableID:176, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:46.41 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:46.424 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:178, Type:drop table, State:queueing, SchemaState:public, SchemaID:174, TableID:176, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:46.41 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/04 12:45:46.429 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=178] [conn=2] [job="ID:178, Type:drop table, State:queueing, SchemaState:public, SchemaID:174, TableID:176, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:46.41 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:46.447 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=113] [neededSchemaVersion=114] ["elapsed time"=2.079362ms] [gotSchemaVersion=114] [phyTblIDs="[176]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:45:46.450 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=178] [version=114] [2025/04/04 12:45:46.452 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=114] ["take time"=9.149954ms] [job="ID:178, Type:drop table, State:running, SchemaState:write only, SchemaID:174, TableID:176, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:46.41 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:46.463 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=178] [conn=2] [job="ID:178, Type:drop table, State:running, SchemaState:write only, SchemaID:174, TableID:176, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:46.41 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:46.479 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=114] [neededSchemaVersion=115] ["elapsed time"=2.135569ms] [gotSchemaVersion=115] [phyTblIDs="[176]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:45:46.482 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=178] [version=115] [2025/04/04 12:45:46.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"=8.955909ms] [job="ID:178, Type:drop table, State:running, SchemaState:delete only, SchemaID:174, TableID:176, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:46.41 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:46.493 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=178] [conn=2] [job="ID:178, Type:drop table, State:running, SchemaState:delete only, SchemaID:174, TableID:176, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:46.41 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:46.500 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 176, Old Table Name: t)"] [2025/04/04 12:45:46.513 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=115] [neededSchemaVersion=116] ["elapsed time"=1.136857ms] [gotSchemaVersion=116] [phyTblIDs="[176]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:45:46.518 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=178] [version=116] [2025/04/04 12:45:46.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=116] ["take time"=9.601666ms] [job="ID:178, Type:drop table, State:done, SchemaState:none, SchemaID:174, TableID:176, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:46.41 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:46.529 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=178] [tableIDs="[176]"] [comment="drop table: table ID"] [2025/04/04 12:45:46.534 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=178] [jobType="drop table"] [2025/04/04 12:45:46.535 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=178] [conn=2] [job="ID:178, Type:drop table, State:synced, SchemaState:none, SchemaID:174, TableID:176, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:46.41 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:46.555 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=178] [2025/04/04 12:45:46.555 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=116] [cur_db=write_after_import] [sql="drop table if exists t;"] [user=] [2025/04/04 12:45:46.568 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:180, Type:create table, State:queueing, SchemaState:none, SchemaID:174, TableID:179, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:46.51 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:46.568 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:180, Type:create table, State:queueing, SchemaState:none, SchemaID:174, TableID:179, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:46.51 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t (id int AUTO_INCREMENT PRIMARY KEY NONCLUSTERED, v varchar(64))"] [2025/04/04 12:45:46.574 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=180] [conn=2] [job="ID:180, Type:create table, State:queueing, SchemaState:none, SchemaID:174, TableID:179, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:46.51 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:46.578 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 179, Table Name: t)"] [2025/04/04 12:45:46.595 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=116] [neededSchemaVersion=117] ["elapsed time"=1.83173ms] [gotSchemaVersion=117] [phyTblIDs="[179]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:46.598 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=180] [version=117] [2025/04/04 12:45:46.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=117] ["take time"=8.786135ms] [job="ID:180, Type:create table, State:done, SchemaState:public, SchemaID:174, TableID:179, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:46.51 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:46.612 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=180] [conn=2] [job="ID:180, Type:create table, State:synced, SchemaState:public, SchemaID:174, TableID:179, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:46.51 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:46.624 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=180] [2025/04/04 12:45:46.624 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=117] [cur_db=write_after_import] [sql="CREATE TABLE t (id int AUTO_INCREMENT PRIMARY KEY NONCLUSTERED, v varchar(64))"] [user=] [2025/04/04 12:45:46.670 +00:00] [INFO] [import_into.go:266] ["importing data from select statement"] [import-id=ba0bbf90-8996-44bf-a51b-b2e149ab55e1] [concurrency=2] [target-table=`write_after_import`.`t`] [target-table-id=179] [2025/04/04 12:45:46.677 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 12:45:46.677 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437829623651060] [2025/04/04 12:45:46.677 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:45:46.677 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 12:45:46.678 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:45:46.678 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:45:46.678 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:45:46.678 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:45:46.678 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:45:46.678 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:45:46.690 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:45:46.691 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 12:45:46.691 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.7GB] [2025/04/04 12:45:46.697 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [2025/04/04 12:45:46.702 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/04 12:45:46.704 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=t] [import-id=ba0bbf90-8996-44bf-a51b-b2e149ab55e1] [key=import-from-select] [2025/04/04 12:45:46.706 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=t] [import-id=ba0bbf90-8996-44bf-a51b-b2e149ab55e1] [key=import-from-select] [2025/04/04 12:45:46.707 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=t] [import-id=ba0bbf90-8996-44bf-a51b-b2e149ab55e1] [key=import-from-select] [readDur=0s] [encodeDur=0s] [checksum="{cksum=0,size=0,kvs=0}"] [deliverDur=0s] [type=query] [takeTime=276.966µs] [] [2025/04/04 12:45:46.707 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=t] [import-id=ba0bbf90-8996-44bf-a51b-b2e149ab55e1] [key=import-from-select] [readDur=36.204µs] [encodeDur=566.991µs] [checksum="{cksum=4311923599730848115,size=296,kvs=8}"] [deliverDur=1.116086ms] [type=query] [takeTime=2.730004ms] [] [2025/04/04 12:45:46.709 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [2025/04/04 12:45:46.710 +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/ba0bbf90-8996-44bf-a51b-b2e149ab55e1/102b1544-1a0b-5f02-9523-0f5011224f00.sst/0b8316c9-cc2a-428b-b6b5-33bde5c6f880.sst] [firstKey=7480000000000000B35F728000000000000001] [lastKey=7480000000000000B35F728000000000000004] [2025/04/04 12:45:46.714 +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=4.74558ms] [] [2025/04/04 12:45:46.714 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [retryCnt=0] [2025/04/04 12:45:46.719 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:45:46.741 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=102b1544-1a0b-5f02-9523-0f5011224f00] ["region ranges"=1] [count=4] [size=152] [2025/04/04 12:45:46.741 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:45:46.743 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000b35f728000000000000001] [endOfAllRanges=7480000000000000b35f728000000000000005] [startKeyOfFirstRegion=7480000000000000ffb35f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffb35f728000000000ff0000050000000000fa] [2025/04/04 12:45:46.761 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=102b1544-1a0b-5f02-9523-0f5011224f00] [size=152] [kvs=4] [importedSize=152] [importedCount=4] [2025/04/04 12:45:46.763 +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=48.879251ms] [] [2025/04/04 12:45:46.763 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/04 12:45:46.763 +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/ba0bbf90-8996-44bf-a51b-b2e149ab55e1/630083e6-fc50-5cd2-8645-c17b147197ce.sst/a8e49272-43e1-4b7e-8d1f-dd53ba1a4040.sst] [firstKey=7480000000000000B35F698000000000000001038000000000000004] [lastKey=7480000000000000B35F698000000000000001038000000000000007] [2025/04/04 12:45:46.767 +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.322553ms] [] [2025/04/04 12:45:46.767 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [retryCnt=0] [2025/04/04 12:45:46.771 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:45:46.793 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=630083e6-fc50-5cd2-8645-c17b147197ce] ["region ranges"=1] [count=4] [size=144] [2025/04/04 12:45:46.793 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:45:46.795 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000b35f698000000000000001038000000000000004] [endOfAllRanges=7480000000000000b35f69800000000000000103800000000000000700] [startKeyOfFirstRegion=7480000000000000ffb35f698000000000ff0000010380000000ff0000000400000000fb] [endKeyOfLastRegion=7480000000000000ffb35f698000000000ff0000010380000000ff0000000700000000fc] [2025/04/04 12:45:46.813 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=630083e6-fc50-5cd2-8645-c17b147197ce] [size=144] [kvs=4] [importedSize=144] [importedCount=4] [2025/04/04 12:45:46.814 +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=47.586107ms] [] [2025/04/04 12:45:46.815 +00:00] [INFO] [table_import.go:761] ["post process start"] [table=t] [import-id=ba0bbf90-8996-44bf-a51b-b2e149ab55e1] [checksum="{\"id=-1\"=\"{cksum=4613872053217128256,size=152,kvs=4}\",\"id=1\"=\"{cksum=8921845837811637811,size=144,kvs=4}\"}"] [2025/04/04 12:45:46.815 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [table=t] [import-id=ba0bbf90-8996-44bf-a51b-b2e149ab55e1] [2025/04/04 12:45:46.824 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [table=t] [import-id=ba0bbf90-8996-44bf-a51b-b2e149ab55e1] [takeTime=9.232603ms] [] [2025/04/04 12:45:46.824 +00:00] [INFO] [table_import.go:835] ["local checksum"] [table=t] [import-id=ba0bbf90-8996-44bf-a51b-b2e149ab55e1] [checksum="{cksum=4311923599730848115,size=296,kvs=8}"] [2025/04/04 12:45:46.824 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [table=t] [import-id=ba0bbf90-8996-44bf-a51b-b2e149ab55e1] [weight=30] [2025/04/04 12:45:46.824 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [table=t] [import-id=ba0bbf90-8996-44bf-a51b-b2e149ab55e1] [concurrency=15] [2025/04/04 12:45:46.831 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=179] [physicalTableID=179] [indexID=-1] [checksum=4613872053217128256] [totalKvs=4] [totalBytes=152] [2025/04/04 12:45:46.832 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=179] [physicalTableID=179] [indexID=1] [checksum=8921845837811637811] [totalKvs=4] [totalBytes=144] [2025/04/04 12:45:46.833 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 12:45:46.833 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [table=t] [import-id=ba0bbf90-8996-44bf-a51b-b2e149ab55e1] [local="{cksum=4311923599730848115,size=296,kvs=8}"] [2025/04/04 12:45:46.833 +00:00] [INFO] [table_import.go:763] ["post process completed"] [table=t] [import-id=ba0bbf90-8996-44bf-a51b-b2e149ab55e1] [checksum="{\"id=-1\"=\"{cksum=4613872053217128256,size=152,kvs=4}\",\"id=1\"=\"{cksum=8921845837811637811,size=144,kvs=4}\"}"] [takeTime=18.094709ms] [] [2025/04/04 12:45:46.833 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [2025/04/04 12:45:46.833 +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.236µs] [] [2025/04/04 12:45:46.833 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [2025/04/04 12:45:46.834 +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.367619ms] [] [2025/04/04 12:45:46.834 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/04 12:45:46.834 +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.562µs] [] [2025/04/04 12:45:46.835 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/04 12:45:46.836 +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.33459ms] [] [2025/04/04 12:45:46.840 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:45:46.840 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:45:46.840 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:45:46.840 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:45:46.840 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:45:46.840 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:45:46.840 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:45:46.840 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:46.840 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:46.840 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-18] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:45:46.840 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:46.840 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:45:46.842 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:45:46.842 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:46.842 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:46.842 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] --- PASS: TestImportInto/TestWriteAfterImportFromSelect/case-2 (0.45s) === NAME TestImportInto/TestWriteAfterImportFromSelect === RUN TestImportInto/TestWriteAfterImportFromSelect/case-3 write_after_import_test.go:217: auto_id_cache=1 test is not supported in real-tikv-test now --- SKIP: TestImportInto/TestWriteAfterImportFromSelect/case-3 (0.00s) === NAME TestImportInto/TestWriteAfterImportFromSelect === RUN TestImportInto/TestWriteAfterImportFromSelect/case-4 current case CREATE TABLE t (id int PRIMARY KEY CLUSTERED, v varchar(64)) [2025/04/04 12:45:46.877 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:181, Type:drop table, State:queueing, SchemaState:public, SchemaID:174, TableID:179, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:46.86 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:46.877 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:181, Type:drop table, State:queueing, SchemaState:public, SchemaID:174, TableID:179, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:46.86 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/04 12:45:46.883 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=181] [conn=2] [job="ID:181, Type:drop table, State:queueing, SchemaState:public, SchemaID:174, TableID:179, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:46.86 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:46.901 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=117] [neededSchemaVersion=118] ["elapsed time"=2.35896ms] [gotSchemaVersion=118] [phyTblIDs="[179]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:45:46.905 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=181] [version=118] [2025/04/04 12:45:46.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=118] ["take time"=10.214717ms] [job="ID:181, Type:drop table, State:running, SchemaState:write only, SchemaID:174, TableID:179, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:46.86 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:46.917 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=181] [conn=2] [job="ID:181, Type:drop table, State:running, SchemaState:write only, SchemaID:174, TableID:179, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:46.86 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:46.935 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=118] [neededSchemaVersion=119] ["elapsed time"=2.324054ms] [gotSchemaVersion=119] [phyTblIDs="[179]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:45:46.939 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=181] [version=119] [2025/04/04 12:45: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=119] ["take time"=10.422013ms] [job="ID:181, Type:drop table, State:running, SchemaState:delete only, SchemaID:174, TableID:179, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:46.86 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:46.951 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=181] [conn=2] [job="ID:181, Type:drop table, State:running, SchemaState:delete only, SchemaID:174, TableID:179, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:46.86 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:46.958 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 179, Old Table Name: t)"] [2025/04/04 12:45:46.973 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=119] [neededSchemaVersion=120] ["elapsed time"=1.216787ms] [gotSchemaVersion=120] [phyTblIDs="[179]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:45:46.977 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=181] [version=120] [2025/04/04 12:45:46.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=120] ["take time"=8.789536ms] [job="ID:181, Type:drop table, State:done, SchemaState:none, SchemaID:174, TableID:179, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:46.86 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:46.989 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=181] [tableIDs="[179]"] [comment="drop table: table ID"] [2025/04/04 12:45:46.994 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=181] [jobType="drop table"] [2025/04/04 12:45:46.995 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=181] [conn=2] [job="ID:181, Type:drop table, State:synced, SchemaState:none, SchemaID:174, TableID:179, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:46.86 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:47.017 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=181] [2025/04/04 12:45:47.017 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=120] [cur_db=write_after_import] [sql="drop table if exists t;"] [user=] [2025/04/04 12:45:47.031 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:183, Type:create table, State:queueing, SchemaState:none, SchemaID:174, TableID:182, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:47.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:47.031 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:183, Type:create table, State:queueing, SchemaState:none, SchemaID:174, TableID:182, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:47.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t (id int PRIMARY KEY CLUSTERED, v varchar(64))"] [2025/04/04 12:45:47.037 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=183] [conn=2] [job="ID:183, Type:create table, State:queueing, SchemaState:none, SchemaID:174, TableID:182, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:47.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:47.043 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 182, Table Name: t)"] [2025/04/04 12:45:47.059 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=120] [neededSchemaVersion=121] ["elapsed time"=1.721514ms] [gotSchemaVersion=121] [phyTblIDs="[182]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:47.063 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=183] [version=121] [2025/04/04 12:45:47.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=121] ["take time"=9.132796ms] [job="ID:183, Type:create table, State:done, SchemaState:public, SchemaID:174, TableID:182, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:47.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:47.077 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=183] [conn=2] [job="ID:183, Type:create table, State:synced, SchemaState:public, SchemaID:174, TableID:182, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:47.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:47.090 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=183] [2025/04/04 12:45:47.090 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=121] [cur_db=write_after_import] [sql="CREATE TABLE t (id int PRIMARY KEY CLUSTERED, v varchar(64))"] [user=] [2025/04/04 12:45:47.141 +00:00] [INFO] [import_into.go:266] ["importing data from select statement"] [import-id=d0a14052-bbfc-47ce-890f-8272d2c6c538] [concurrency=2] [target-table=`write_after_import`.`t`] [target-table-id=182] [2025/04/04 12:45:47.166 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 12:45:47.166 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437829623651060] [2025/04/04 12:45:47.167 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:45:47.167 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 12:45:47.167 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:45:47.167 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:45:47.167 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:45:47.167 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:45:47.168 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:45:47.168 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:45:47.181 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:45:47.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/04 12:45:47.183 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.7GB] [2025/04/04 12:45:47.189 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [2025/04/04 12:45:47.195 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/04 12:45:47.262 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=t] [import-id=d0a14052-bbfc-47ce-890f-8272d2c6c538] [key=import-from-select] [2025/04/04 12:45:47.263 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=t] [import-id=d0a14052-bbfc-47ce-890f-8272d2c6c538] [key=import-from-select] [readDur=28.779µs] [encodeDur=329.45µs] [checksum="{cksum=14384125892341312190,size=136,kvs=4}"] [deliverDur=553.858µs] [type=query] [takeTime=1.443613ms] [] [2025/04/04 12:45:47.265 +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/d0a14052-bbfc-47ce-890f-8272d2c6c538/102b1544-1a0b-5f02-9523-0f5011224f00.sst/6ffded00-5db5-4d6b-b5b1-80580fb271f5.sst] [firstKey=7480000000000000B65F728000000000000004] [lastKey=7480000000000000B65F728000000000000007] [2025/04/04 12:45:47.302 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=t] [import-id=d0a14052-bbfc-47ce-890f-8272d2c6c538] [key=import-from-select] [2025/04/04 12:45:47.303 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=t] [import-id=d0a14052-bbfc-47ce-890f-8272d2c6c538] [key=import-from-select] [readDur=0s] [encodeDur=0s] [checksum="{cksum=0,size=0,kvs=0}"] [deliverDur=0s] [type=query] [takeTime=119.817µs] [] [2025/04/04 12:45:47.303 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [2025/04/04 12:45:47.305 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [takeTime=2.152884ms] [] [2025/04/04 12:45:47.305 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [retryCnt=0] [2025/04/04 12:45:47.309 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:45:47.331 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=102b1544-1a0b-5f02-9523-0f5011224f00] ["region ranges"=1] [count=4] [size=136] [2025/04/04 12:45:47.331 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:45:47.333 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000b65f728000000000000004] [endOfAllRanges=7480000000000000b65f728000000000000008] [startKeyOfFirstRegion=7480000000000000ffb65f728000000000ff0000040000000000fa] [endKeyOfLastRegion=7480000000000000ffb65f728000000000ff0000080000000000fa] [2025/04/04 12:45:47.349 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=102b1544-1a0b-5f02-9523-0f5011224f00] [size=136] [kvs=4] [importedSize=136] [importedCount=4] [2025/04/04 12:45:47.351 +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=45.932531ms] [] [2025/04/04 12:45:47.351 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/04 12:45:47.353 +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.085316ms] [] [2025/04/04 12:45:47.353 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [retryCnt=0] [2025/04/04 12:45:47.357 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/04 12:45:47.357 +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.532525ms] [] [2025/04/04 12:45:47.357 +00:00] [INFO] [table_import.go:761] ["post process start"] [table=t] [import-id=d0a14052-bbfc-47ce-890f-8272d2c6c538] [checksum="{\"id=-1\"=\"{cksum=14384125892341312190,size=136,kvs=4}\"}"] [2025/04/04 12:45:47.357 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [table=t] [import-id=d0a14052-bbfc-47ce-890f-8272d2c6c538] [2025/04/04 12:45:47.357 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [table=t] [import-id=d0a14052-bbfc-47ce-890f-8272d2c6c538] [takeTime=2.053µs] [] [2025/04/04 12:45:47.357 +00:00] [INFO] [table_import.go:835] ["local checksum"] [table=t] [import-id=d0a14052-bbfc-47ce-890f-8272d2c6c538] [checksum="{cksum=14384125892341312190,size=136,kvs=4}"] [2025/04/04 12:45:47.357 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [table=t] [import-id=d0a14052-bbfc-47ce-890f-8272d2c6c538] [weight=30] [2025/04/04 12:45:47.357 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [table=t] [import-id=d0a14052-bbfc-47ce-890f-8272d2c6c538] [concurrency=15] [2025/04/04 12:45:47.359 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=182] [physicalTableID=182] [indexID=-1] [checksum=14384125892341312190] [totalKvs=4] [totalBytes=136] [2025/04/04 12:45:47.360 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 12:45:47.360 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [table=t] [import-id=d0a14052-bbfc-47ce-890f-8272d2c6c538] [local="{cksum=14384125892341312190,size=136,kvs=4}"] [2025/04/04 12:45:47.360 +00:00] [INFO] [table_import.go:763] ["post process completed"] [table=t] [import-id=d0a14052-bbfc-47ce-890f-8272d2c6c538] [checksum="{\"id=-1\"=\"{cksum=14384125892341312190,size=136,kvs=4}\"}"] [takeTime=2.797409ms] [] [2025/04/04 12:45:47.360 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [2025/04/04 12:45:47.360 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [takeTime=5.958µs] [] [2025/04/04 12:45:47.360 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [2025/04/04 12:45:47.361 +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.256329ms] [] [2025/04/04 12:45:47.361 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/04 12:45:47.361 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [takeTime=8.349µs] [] [2025/04/04 12:45:47.361 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/04 12:45:47.363 +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.355149ms] [] [2025/04/04 12:45:47.366 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:45:47.366 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:45:47.366 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:45:47.366 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:45:47.366 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:45:47.366 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:45:47.366 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:45:47.366 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:47.366 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-19] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:45:47.366 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:47.366 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:47.366 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:45:47.368 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:45:47.368 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:47.368 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:47.368 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:47.374 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119038795939844] --- PASS: TestImportInto/TestWriteAfterImportFromSelect/case-4 (0.51s) === NAME TestImportInto/TestWriteAfterImportFromSelect === RUN TestImportInto/TestWriteAfterImportFromSelect/case-5 write_after_import_test.go:217: auto_id_cache=1 test is not supported in real-tikv-test now --- SKIP: TestImportInto/TestWriteAfterImportFromSelect/case-5 (0.00s) === NAME TestImportInto/TestWriteAfterImportFromSelect === RUN TestImportInto/TestWriteAfterImportFromSelect/case-6 current case CREATE TABLE t (id int, v varchar(64)) [2025/04/04 12:45:47.392 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:184, Type:drop table, State:queueing, SchemaState:public, SchemaID:174, TableID:182, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:47.36 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:47.392 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:184, Type:drop table, State:queueing, SchemaState:public, SchemaID:174, TableID:182, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:47.36 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/04 12:45:47.398 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=184] [conn=2] [job="ID:184, Type:drop table, State:queueing, SchemaState:public, SchemaID:174, TableID:182, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:47.36 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:47.415 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=121] [neededSchemaVersion=122] ["elapsed time"=2.213556ms] [gotSchemaVersion=122] [phyTblIDs="[182]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:45:47.419 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=184] [version=122] [2025/04/04 12:45:47.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=122] ["take time"=9.683284ms] [job="ID:184, Type:drop table, State:running, SchemaState:write only, SchemaID:174, TableID:182, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:47.36 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:47.431 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=184] [conn=2] [job="ID:184, Type:drop table, State:running, SchemaState:write only, SchemaID:174, TableID:182, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:47.36 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:47.449 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=122] [neededSchemaVersion=123] ["elapsed time"=2.268008ms] [gotSchemaVersion=123] [phyTblIDs="[182]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:45:47.453 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=184] [version=123] [2025/04/04 12:45:47.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=123] ["take time"=9.984882ms] [job="ID:184, Type:drop table, State:running, SchemaState:delete only, SchemaID:174, TableID:182, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:47.36 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:47.463 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=184] [conn=2] [job="ID:184, Type:drop table, State:running, SchemaState:delete only, SchemaID:174, TableID:182, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:47.36 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:47.470 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 182, Old Table Name: t)"] [2025/04/04 12:45:47.485 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=123] [neededSchemaVersion=124] ["elapsed time"=1.243659ms] [gotSchemaVersion=124] [phyTblIDs="[182]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:45:47.488 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=184] [version=124] [2025/04/04 12:45:47.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=124] ["take time"=8.453722ms] [job="ID:184, Type:drop table, State:done, SchemaState:none, SchemaID:174, TableID:182, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:47.36 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:47.500 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=184] [tableIDs="[182]"] [comment="drop table: table ID"] [2025/04/04 12:45:47.506 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=184] [jobType="drop table"] [2025/04/04 12:45:47.506 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=184] [conn=2] [job="ID:184, Type:drop table, State:synced, SchemaState:none, SchemaID:174, TableID:182, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:47.36 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:47.527 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=184] [2025/04/04 12:45:47.527 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=124] [cur_db=write_after_import] [sql="drop table if exists t;"] [user=] [2025/04/04 12:45:47.542 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:186, Type:create table, State:queueing, SchemaState:none, SchemaID:174, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:47.51 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t (id int, v varchar(64))"] [2025/04/04 12:45:47.542 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:186, Type:create table, State:queueing, SchemaState:none, SchemaID:174, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:47.51 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:47.547 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=186] [conn=2] [job="ID:186, Type:create table, State:queueing, SchemaState:none, SchemaID:174, TableID:185, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:47.51 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:47.553 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 185, Table Name: t)"] [2025/04/04 12:45:47.568 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=124] [neededSchemaVersion=125] ["elapsed time"=1.782966ms] [gotSchemaVersion=125] [phyTblIDs="[185]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:47.572 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=186] [version=125] [2025/04/04 12:45:47.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=125] ["take time"=9.027142ms] [job="ID:186, Type:create table, State:done, SchemaState:public, SchemaID:174, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:47.51 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:47.586 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=186] [conn=2] [job="ID:186, Type:create table, State:synced, SchemaState:public, SchemaID:174, TableID:185, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:47.51 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:47.598 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=186] [2025/04/04 12:45:47.598 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=125] [cur_db=write_after_import] [sql="CREATE TABLE t (id int, v varchar(64))"] [user=] [2025/04/04 12:45:47.643 +00:00] [INFO] [import_into.go:266] ["importing data from select statement"] [import-id=08231364-33c3-4ffc-92c3-0185b675db30] [concurrency=2] [target-table=`write_after_import`.`t`] [target-table-id=185] [2025/04/04 12:45:47.649 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 12:45:47.649 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437829623651060] [2025/04/04 12:45:47.650 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:45:47.650 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 12:45:47.650 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:45:47.650 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:45:47.650 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:45:47.650 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:45:47.651 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:45:47.651 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:45:47.663 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:45:47.665 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 12:45:47.665 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.7GB] [2025/04/04 12:45:47.671 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [2025/04/04 12:45:47.676 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/04 12:45:47.686 +00:00] [INFO] [owner_daemon.go:56] ["daemon became owner"] [id=e0e4fe65-4e6d-40db-9c0c-fa8567b81ba9] [daemon-id=LogBackup::Advancer] [2025/04/04 12:45:47.686 +00:00] [INFO] [advancer.go:518] ["Subscription handler spawned."] [category="log backup subscription manager"] [2025/04/04 12:45:47.687 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 12:45:47.759 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=t] [import-id=08231364-33c3-4ffc-92c3-0185b675db30] [key=import-from-select] [2025/04/04 12:45:47.760 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=t] [import-id=08231364-33c3-4ffc-92c3-0185b675db30] [key=import-from-select] [readDur=38.735µs] [encodeDur=460.946µs] [checksum="{cksum=4613872053217128256,size=152,kvs=4}"] [deliverDur=346.983µs] [type=query] [takeTime=1.29092ms] [] [2025/04/04 12:45:47.761 +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/08231364-33c3-4ffc-92c3-0185b675db30/102b1544-1a0b-5f02-9523-0f5011224f00.sst/87e7f068-bdf1-4357-a2bd-8db926811275.sst] [firstKey=7480000000000000B95F728000000000000001] [lastKey=7480000000000000B95F728000000000000004] [2025/04/04 12:45:47.766 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=t] [import-id=08231364-33c3-4ffc-92c3-0185b675db30] [key=import-from-select] [2025/04/04 12:45:47.766 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=t] [import-id=08231364-33c3-4ffc-92c3-0185b675db30] [key=import-from-select] [readDur=0s] [encodeDur=0s] [checksum="{cksum=0,size=0,kvs=0}"] [deliverDur=0s] [type=query] [takeTime=112.562µs] [] [2025/04/04 12:45:47.766 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [2025/04/04 12:45:47.769 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [takeTime=2.143863ms] [] [2025/04/04 12:45:47.769 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [retryCnt=0] [2025/04/04 12:45:47.907 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:45:47.930 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=102b1544-1a0b-5f02-9523-0f5011224f00] ["region ranges"=1] [count=4] [size=152] [2025/04/04 12:45:47.930 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:45:47.932 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000b95f728000000000000001] [endOfAllRanges=7480000000000000b95f728000000000000005] [startKeyOfFirstRegion=7480000000000000ffb95f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffb95f728000000000ff0000050000000000fa] [2025/04/04 12:45:47.950 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=102b1544-1a0b-5f02-9523-0f5011224f00] [size=152] [kvs=4] [importedSize=152] [importedCount=4] [2025/04/04 12:45:47.952 +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=183.630997ms] [] [2025/04/04 12:45:47.952 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/04 12:45:47.955 +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.372223ms] [] [2025/04/04 12:45:47.955 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [retryCnt=0] [2025/04/04 12:45:47.959 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/04 12:45:47.959 +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.713052ms] [] [2025/04/04 12:45:47.959 +00:00] [INFO] [table_import.go:761] ["post process start"] [table=t] [import-id=08231364-33c3-4ffc-92c3-0185b675db30] [checksum="{\"id=-1\"=\"{cksum=4613872053217128256,size=152,kvs=4}\"}"] [2025/04/04 12:45:47.959 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [table=t] [import-id=08231364-33c3-4ffc-92c3-0185b675db30] [2025/04/04 12:45:47.966 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [table=t] [import-id=08231364-33c3-4ffc-92c3-0185b675db30] [takeTime=6.670733ms] [] [2025/04/04 12:45:47.966 +00:00] [INFO] [table_import.go:835] ["local checksum"] [table=t] [import-id=08231364-33c3-4ffc-92c3-0185b675db30] [checksum="{cksum=4613872053217128256,size=152,kvs=4}"] [2025/04/04 12:45:47.966 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [table=t] [import-id=08231364-33c3-4ffc-92c3-0185b675db30] [weight=30] [2025/04/04 12:45:47.966 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [table=t] [import-id=08231364-33c3-4ffc-92c3-0185b675db30] [concurrency=15] [2025/04/04 12:45:47.968 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=185] [physicalTableID=185] [indexID=-1] [checksum=4613872053217128256] [totalKvs=4] [totalBytes=152] [2025/04/04 12:45:47.968 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 12:45:47.968 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [table=t] [import-id=08231364-33c3-4ffc-92c3-0185b675db30] [local="{cksum=4613872053217128256,size=152,kvs=4}"] [2025/04/04 12:45:47.968 +00:00] [INFO] [table_import.go:763] ["post process completed"] [table=t] [import-id=08231364-33c3-4ffc-92c3-0185b675db30] [checksum="{\"id=-1\"=\"{cksum=4613872053217128256,size=152,kvs=4}\"}"] [takeTime=9.363541ms] [] [2025/04/04 12:45:47.969 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [2025/04/04 12:45:47.969 +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.095µs] [] [2025/04/04 12:45:47.969 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [2025/04/04 12:45:47.970 +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.570466ms] [] [2025/04/04 12:45:47.970 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/04 12:45:47.970 +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.296µs] [] [2025/04/04 12:45:47.970 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/04 12:45:47.972 +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.240255ms] [] [2025/04/04 12:45:47.975 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:45:47.975 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:45:47.975 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:45:47.975 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:45:47.975 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:45:47.975 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:47.975 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:45:47.975 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:45:47.975 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-20] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:45:47.975 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:47.976 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:47.976 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:45:47.978 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:45:47.978 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:47.978 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:47.978 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:47.979 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 457119038848368656\n# Conn_ID: 2\n# Query_time: 0.379737116\n# Parse_time: 0.00008278\n# Compile_time: 0.000888021\n# Rewrite_time: 0.000480588\n# Optimize_time: 0.000288277\n# Wait_TS: 0.000094336\n# Cop_time: 0.000694619 Wait_time: 0.000023331 Request_count: 1 Process_keys: 4 Total_keys: 5 Get_snapshot_time: 0.000 Rocksdb_key_skipped_count: 4 Rocksdb_block_cache_hit_count: 2\n# DB: write_after_import\n# Is_internal: false\n# Digest: 4a4b6a4c30dc8ee1bebc60bd07e28678e357952a078d55330f553cd904684a3e\n# Stats: dt:pseudo[10000;0]\n# Num_cop_tasks: 1\n# Cop_proc_avg: 0 Cop_proc_addr: 127.0.0.1:20162\n# Cop_wait_avg: 2.3331e-05 Cop_wait_addr: 127.0.0.1:20162\n# Mem_max: 354\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# 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('/gXwQzAJNTlfMgkwCTAJTi9BCTAJdGltZTozNzguMm1zLCBvcGVuOjExMy4ywrVzLCBjbG9zZTo4My4xwrVzLCBsb29wczoxBTqgTi9BCjEJMzFfNwkwCTEwMDAwCWRhdGE6VGFibGVGdWxsU2Nhbl82CTQJYhA5OTMuOQVUDWMAMDJjAAQ3NA0eCWNwMiwgY29wX3Rhc2s6IHtudW06IDEsIG1heDogNjARSSxwcm9jX2tleXM6IDQFMHRyX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgYnVpbGQFTghfZHUFGhhuOiAzNS4zBZGobWF4X2Rpc3RzcWxfY29uY3VycmVuY3k6IDF9LCBycGNfaW5mbzp7Q29wOgGLNF9ycGM6MSwgdG90YWxfJT9QNDk5LjXCtXN9fQkzNTQgQnl0ZXMJISEgMgk0M182CTFfMSO4dGFibGU6ZHQsIGtlZXAgb3JkZXI6ZmFsc2UsIHN0YXRzOnBzZXVkbwk0CXRpa3YFtAQ6ewVlDDBzLCApHgGYNHNjYW5fZGV0YWlsOiB7CYwYcHJvY2VzczkURhcAJF9zaXplOiAxODQRwSlBODUsIGdldF9zbmFwc2hvdAnXECA4LjA0JSNocm9ja3NkYjoge2tleV9za2lwcGVkX2NvdW50JX0MYmxvYyGqOYANHBQyfX19LCABwD6tAAh3YWkRZwQyMy2KBfMAZyFzEcsBOgw6IDEyJV8BSQRrdgkhHT8MMTYuNwWmBT8Md2FsbBU3PDkuN8K1c30JTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('6QagCuQGCgxJbXBvcnRJbnRvXzIS/wUKDVRhYmxlUmVhZGVyXzcSwgMKD1QBElBGdWxsU2Nhbl82IWTCmlW+DlRBKQABAfCQiMNAMAQ4AkACShMKEQoLZnJvbV9zZWxlY3QSAmR0Uh5rZWVwIG9yZGVyOmZhbHNlLCBzdGF0czpwc2V1ZG9qywJ0aWt2X3Rhc2s6e3RpbWU6MHMsIGxvb3BzOjF9LCBzY2FuX2RldGFpbDoge3RvdGFsX3Byb2Nlc3Nfa2V5czogNCwgdG90YWxfcHJvY2VzcwUXJF9zaXplOiAxODQRHlhrZXlzOiA1LCBnZXRfc25hcHNob3RfdAFy6CA4LjA0wrVzLCByb2Nrc2RiOiB7a2V5X3NraXBwZWRfY291bnQ6IDQsIGJsb2NrOiB7Y2FjaGVfaGl0ERwUMn19fSwgAU4IX2RlMq0ACHdhaRFnDDIzLjMFZwXzDGdycGMVywE6FDogMTIuNTohAB0/DDE2LjcZHgx3YWxsFTcAOQUaCH1w/xEBBAF4EQok/wEhnFYfpYd/IDKxASgBQAFSFGRhdGE6VDbfAQRaNAWMEDk5My45BW4kb3BlbjoxMTAuMgUPHGNsb3NlOjc0DR44bG9vcHM6MmK2AWNvcF90IcdAIHtudW06IDEsIG1heDogNjARSgxwcm9jLYggNCwgY29wcl9jNUlEcmF0aW86IDAuMDAsIGJ1aWxkBU4IX2R1BRoQbjogMzUtP3BtYXhfZGlzdHNxbF9jb25jdXJyZW5jeTogMX0sICFWJGluZm86e0NvcDoBixRfcnBjOjFRCAXeCDQ5OSVqFH19cOICeDkrADghFxQDTi9BWjMFKBwzNzguMm1zLDEFBDMuLgUBDDgzLjElFCkFADFWfwEEGAE=')\n# Resource_group: default\nuse write_after_import;\nIMPORT INTO `write_after_import`.`t` FROM SELECT * FROM `from_select`.`dt`;"] --- PASS: TestImportInto/TestWriteAfterImportFromSelect/case-6 (0.61s) === NAME TestImportInto/TestWriteAfterImportFromSelect === RUN TestImportInto/TestWriteAfterImportFromSelect/case-7 write_after_import_test.go:217: auto_id_cache=1 test is not supported in real-tikv-test now --- SKIP: TestImportInto/TestWriteAfterImportFromSelect/case-7 (0.00s) === NAME TestImportInto/TestWriteAfterImportFromSelect === RUN TestImportInto/TestWriteAfterImportFromSelect/case-8 current case CREATE TABLE t (id int PRIMARY KEY NONCLUSTERED, v varchar(64)) [2025/04/04 12:45:48.006 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:187, Type:drop table, State:queueing, SchemaState:public, SchemaID:174, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:47.961 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/04 12:45:48.006 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:187, Type:drop table, State:queueing, SchemaState:public, SchemaID:174, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:47.961 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:48.012 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=187] [conn=2] [job="ID:187, Type:drop table, State:queueing, SchemaState:public, SchemaID:174, TableID:185, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:47.961 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:48.031 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=125] [neededSchemaVersion=126] ["elapsed time"=2.599546ms] [gotSchemaVersion=126] [phyTblIDs="[185]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:45:48.034 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=187] [version=126] [2025/04/04 12:45:48.036 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=126] ["take time"=10.472213ms] [job="ID:187, Type:drop table, State:running, SchemaState:write only, SchemaID:174, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:47.961 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:48.048 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=187] [conn=2] [job="ID:187, Type:drop table, State:running, SchemaState:write only, SchemaID:174, TableID:185, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:47.961 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:48.066 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=126] [neededSchemaVersion=127] ["elapsed time"=2.059844ms] [gotSchemaVersion=127] [phyTblIDs="[185]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:45:48.069 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=187] [version=127] [2025/04/04 12:45: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=127] ["take time"=9.527272ms] [job="ID:187, Type:drop table, State:running, SchemaState:delete only, SchemaID:174, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:47.961 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:48.080 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=187] [conn=2] [job="ID:187, Type:drop table, State:running, SchemaState:delete only, SchemaID:174, TableID:185, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:47.961 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:48.087 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 185, Old Table Name: t)"] [2025/04/04 12:45:48.102 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=127] [neededSchemaVersion=128] ["elapsed time"=1.171014ms] [gotSchemaVersion=128] [phyTblIDs="[185]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:45:48.105 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=187] [version=128] [2025/04/04 12:45:48.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=128] ["take time"=8.580315ms] [job="ID:187, Type:drop table, State:done, SchemaState:none, SchemaID:174, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:47.961 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:48.117 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=187] [tableIDs="[185]"] [comment="drop table: table ID"] [2025/04/04 12:45:48.122 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=187] [jobType="drop table"] [2025/04/04 12:45:48.123 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=187] [conn=2] [job="ID:187, Type:drop table, State:synced, SchemaState:none, SchemaID:174, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:47.961 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:48.142 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=187] [2025/04/04 12:45:48.142 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=128] [cur_db=write_after_import] [sql="drop table if exists t;"] [user=] [2025/04/04 12:45:48.156 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:189, Type:create table, State:queueing, SchemaState:none, SchemaID:174, TableID:188, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:48.11 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t (id int PRIMARY KEY NONCLUSTERED, v varchar(64))"] [2025/04/04 12:45:48.156 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:189, Type:create table, State:queueing, SchemaState:none, SchemaID:174, TableID:188, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:48.11 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:48.162 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=189] [conn=2] [job="ID:189, Type:create table, State:queueing, SchemaState:none, SchemaID:174, TableID:188, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:48.11 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:48.167 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 188, Table Name: t)"] [2025/04/04 12:45:48.184 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=128] [neededSchemaVersion=129] ["elapsed time"=1.844543ms] [gotSchemaVersion=129] [phyTblIDs="[188]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:48.187 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=189] [version=129] [2025/04/04 12:45:48.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=129] ["take time"=9.105134ms] [job="ID:189, Type:create table, State:done, SchemaState:public, SchemaID:174, TableID:188, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:48.11 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:48.202 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=189] [conn=2] [job="ID:189, Type:create table, State:synced, SchemaState:public, SchemaID:174, TableID:188, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:48.11 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:48.214 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=189] [2025/04/04 12:45:48.214 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=129] [cur_db=write_after_import] [sql="CREATE TABLE t (id int PRIMARY KEY NONCLUSTERED, v varchar(64))"] [user=] [2025/04/04 12:45:48.262 +00:00] [INFO] [import_into.go:266] ["importing data from select statement"] [import-id=6c734e6b-11e4-450b-b4a3-e721e5452379] [concurrency=2] [target-table=`write_after_import`.`t`] [target-table-id=188] [2025/04/04 12:45:48.269 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/04 12:45:48.269 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437829623651060] [2025/04/04 12:45:48.270 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:45:48.270 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/04 12:45:48.270 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:45:48.270 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:45:48.270 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:45:48.270 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:45:48.271 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:45:48.271 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:45:48.285 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:45:48.287 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 12:45:48.287 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.7GB] [2025/04/04 12:45:48.293 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [2025/04/04 12:45:48.299 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/04 12:45:48.398 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=t] [import-id=6c734e6b-11e4-450b-b4a3-e721e5452379] [key=import-from-select] [2025/04/04 12:45:48.399 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=t] [import-id=6c734e6b-11e4-450b-b4a3-e721e5452379] [key=import-from-select] [2025/04/04 12:45:48.400 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=t] [import-id=6c734e6b-11e4-450b-b4a3-e721e5452379] [key=import-from-select] [readDur=15.536µs] [encodeDur=348.401µs] [checksum="{cksum=3295158911158983317,size=222,kvs=6}"] [deliverDur=587.385µs] [type=query] [takeTime=1.396878ms] [] [2025/04/04 12:45:48.400 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=t] [import-id=6c734e6b-11e4-450b-b4a3-e721e5452379] [key=import-from-select] [readDur=4.769µs] [encodeDur=624.426µs] [checksum="{cksum=1616165790058064870,size=74,kvs=2}"] [deliverDur=526.033µs] [type=query] [takeTime=1.403976ms] [] [2025/04/04 12:45:48.402 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=114] [kvs=3] [files=1] [sstFileSize=995] [file=/tmp/tidb/import-4000/6c734e6b-11e4-450b-b4a3-e721e5452379/102b1544-1a0b-5f02-9523-0f5011224f00.sst/3545ffc6-8c4d-4e98-aa3a-aa64f7eb6517.sst] [firstKey=7480000000000000BC5F728000000000000001] [lastKey=7480000000000000BC5F728000000000000004] [2025/04/04 12:45:48.402 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [2025/04/04 12:45:48.403 +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/6c734e6b-11e4-450b-b4a3-e721e5452379/102b1544-1a0b-5f02-9523-0f5011224f00.sst/b9350ad5-0529-487b-9a63-c68ccded9dc1.sst] [firstKey=7480000000000000BC5F728000000000000002] [lastKey=7480000000000000BC5F728000000000000002] [2025/04/04 12:45:48.407 +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=4.771134ms] [] [2025/04/04 12:45:48.407 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [retryCnt=0] [2025/04/04 12:45:48.411 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:45:48.433 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=102b1544-1a0b-5f02-9523-0f5011224f00] ["region ranges"=1] [count=4] [size=152] [2025/04/04 12:45:48.433 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:45:48.435 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000bc5f728000000000000001] [endOfAllRanges=7480000000000000bc5f728000000000000005] [startKeyOfFirstRegion=7480000000000000ffbc5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffbc5f728000000000ff0000050000000000fa] [2025/04/04 12:45:48.452 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=102b1544-1a0b-5f02-9523-0f5011224f00] [size=152] [kvs=4] [importedSize=152] [importedCount=4] [2025/04/04 12:45:48.454 +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=46.74953ms] [] [2025/04/04 12:45:48.454 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/04 12:45:48.455 +00:00] [INFO] [engine.go:1695] ["compact sst"] [category=ddl-ingest] [fileCount=2] [size=144] [count=4] [cost=1.355129ms] [file=/tmp/tidb/import-4000/6c734e6b-11e4-450b-b4a3-e721e5452379/630083e6-fc50-5cd2-8645-c17b147197ce.sst/6882ce33-54f9-400c-9880-3773dbe5ed3f.sst] [2025/04/04 12:45:48.455 +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/6c734e6b-11e4-450b-b4a3-e721e5452379/630083e6-fc50-5cd2-8645-c17b147197ce.sst/6882ce33-54f9-400c-9880-3773dbe5ed3f.sst] [firstKey=7480000000000000BC5F698000000000000001038000000000000004] [lastKey=7480000000000000BC5F698000000000000001038000000000000007] [2025/04/04 12:45:48.458 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [takeTime=4.519153ms] [] [2025/04/04 12:45:48.458 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [retryCnt=0] [2025/04/04 12:45:48.463 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:45:48.485 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=630083e6-fc50-5cd2-8645-c17b147197ce] ["region ranges"=1] [count=4] [size=144] [2025/04/04 12:45:48.485 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:45:48.487 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000bc5f698000000000000001038000000000000004] [endOfAllRanges=7480000000000000bc5f69800000000000000103800000000000000700] [startKeyOfFirstRegion=7480000000000000ffbc5f698000000000ff0000010380000000ff0000000400000000fb] [endKeyOfLastRegion=7480000000000000ffbc5f698000000000ff0000010380000000ff0000000700000000fc] [2025/04/04 12:45:48.501 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=630083e6-fc50-5cd2-8645-c17b147197ce] [size=144] [kvs=4] [importedSize=144] [importedCount=4] [2025/04/04 12:45:48.503 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [retryCnt=0] [takeTime=43.972315ms] [] [2025/04/04 12:45:48.503 +00:00] [INFO] [table_import.go:761] ["post process start"] [table=t] [import-id=6c734e6b-11e4-450b-b4a3-e721e5452379] [checksum="{\"id=-1\"=\"{cksum=4613872053217128256,size=152,kvs=4}\",\"id=1\"=\"{cksum=8921845837811637811,size=144,kvs=4}\"}"] [2025/04/04 12:45:48.503 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [table=t] [import-id=6c734e6b-11e4-450b-b4a3-e721e5452379] [2025/04/04 12:45:48.509 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [table=t] [import-id=6c734e6b-11e4-450b-b4a3-e721e5452379] [takeTime=6.369361ms] [] [2025/04/04 12:45:48.509 +00:00] [INFO] [table_import.go:835] ["local checksum"] [table=t] [import-id=6c734e6b-11e4-450b-b4a3-e721e5452379] [checksum="{cksum=4311923599730848115,size=296,kvs=8}"] [2025/04/04 12:45:48.509 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [table=t] [import-id=6c734e6b-11e4-450b-b4a3-e721e5452379] [weight=30] [2025/04/04 12:45:48.509 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [table=t] [import-id=6c734e6b-11e4-450b-b4a3-e721e5452379] [concurrency=15] [2025/04/04 12:45:48.515 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=188] [physicalTableID=188] [indexID=-1] [checksum=4613872053217128256] [totalKvs=4] [totalBytes=152] [2025/04/04 12:45:48.517 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=188] [physicalTableID=188] [indexID=1] [checksum=8921845837811637811] [totalKvs=4] [totalBytes=144] [2025/04/04 12:45:48.517 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 12:45:48.517 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [table=t] [import-id=6c734e6b-11e4-450b-b4a3-e721e5452379] [local="{cksum=4311923599730848115,size=296,kvs=8}"] [2025/04/04 12:45:48.517 +00:00] [INFO] [table_import.go:763] ["post process completed"] [table=t] [import-id=6c734e6b-11e4-450b-b4a3-e721e5452379] [checksum="{\"id=-1\"=\"{cksum=4613872053217128256,size=152,kvs=4}\",\"id=1\"=\"{cksum=8921845837811637811,size=144,kvs=4}\"}"] [takeTime=14.700515ms] [] [2025/04/04 12:45:48.518 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [2025/04/04 12:45:48.518 +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=10.088µs] [] [2025/04/04 12:45:48.518 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [2025/04/04 12:45:48.519 +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.398751ms] [] [2025/04/04 12:45:48.519 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/04 12:45:48.519 +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.481µs] [] [2025/04/04 12:45:48.519 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/04 12:45:48.521 +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.347965ms] [] [2025/04/04 12:45:48.525 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:45:48.525 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:45:48.525 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:45:48.525 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:45:48.525 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:45:48.525 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:45:48.525 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:48.525 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:45:48.525 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-21] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:45:48.525 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:48.525 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:48.525 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:45:48.527 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:45:48.527 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:48.527 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:48.527 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:48.528 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 457119039018762243\n# Conn_ID: 2\n# Query_time: 0.313268142\n# Parse_time: 0.000132494\n# Compile_time: 0.001027539\n# Rewrite_time: 0.00056471\n# Optimize_time: 0.000267317\n# Wait_TS: 0.00007894\n# Cop_time: 0.00079978 Wait_time: 0.000030982 Request_count: 1 Process_keys: 4 Total_keys: 5 Get_snapshot_time: 0.000 Rocksdb_key_skipped_count: 4 Rocksdb_block_cache_hit_count: 2\n# DB: write_after_import\n# Is_internal: false\n# Digest: 4a4b6a4c30dc8ee1bebc60bd07e28678e357952a078d55330f553cd904684a3e\n# Stats: dt:pseudo[10000;0]\n# Num_cop_tasks: 1\n# Cop_proc_avg: 0 Cop_proc_addr: 127.0.0.1:20162\n# Cop_wait_avg: 3.0982e-05 Cop_wait_addr: 127.0.0.1:20162\n# Mem_max: 355\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# 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('9gXwQzAJNTlfMgkwCTAJTi9BCTAJdGltZTozMTEuNm1zLCBvcGVuOjEwNi42wrVzLCBjbG9zZToyNy4xwrVzLCBsb29wczoxBTqgTi9BCjEJMzFfNwkwCTEwMDAwCWRhdGE6VGFibGVGdWxsU2Nhbl82CTQJYgwxLjA3HWEINC4zLmEACDMuNwUPCWF8MiwgY29wX3Rhc2s6IHtudW06IDEsIG1heDogNzAxLjQFKyxwcm9jX2tleXM6IDQFMHRyX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgYnVpbGQFTghfZHUFGhBuOiAyOQ1zqG1heF9kaXN0c3FsX2NvbmN1cnJlbmN5OiAxfSwgcnBjX2luZm86e0NvcDoBizRfcnBjOjEsIHRvdGFsXyU9BDU4AZIwfX0JMzU1IEJ5dGVzCSEdIDIJNDNfNgkxXzEfuHRhYmxlOmR0LCBrZWVwIG9yZGVyOmZhbHNlLCBzdGF0czpwc2V1ZG8JNAl0aWt2BbIEOnsFYwwwcywgKRwBljRzY2FuX2RldGFpbDogewmKGHByb2Nlc3M5EkYXACRfc2l6ZTogMTg0Eb8pPzg1LCBnZXRfc25hcHNob3QJ1QggMTBNBGhyb2Nrc2RiOiB7a2V5X3NraXBwZWRfY291bnQlewxibG9jIag5fg0cFDJ9fX0sIAHAPq0ACHdhaRFnADNJWgXxAGchbxHJATgIOiAzIVsBRQRrdgkfHTsMMTMuNUULBT0Md2FsbA01RDE3MC45wrVzfQlOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('4QagCtwGCgxJbXBvcnRJbnRvXzIS9wUKDVRhYmxlUmVhZGVyXzcSvgMKD1QBElBGdWxsU2Nhbl82IWTCmlW+DlRBKQABAfCQiMNAMAQ4AkACShMKEQoLZnJvbV9zZWxlY3QSAmR0Uh5rZWVwIG9yZGVyOmZhbHNlLCBzdGF0czpwc2V1ZG9qxwJ0aWt2X3Rhc2s6e3RpbWU6MHMsIGxvb3BzOjF9LCBzY2FuX2RldGFpbDoge3RvdGFsX3Byb2Nlc3Nfa2V5czogNCwgdG90YWxfcHJvY2VzcwUXJF9zaXplOiAxODQRHlhrZXlzOiA1LCBnZXRfc25hcHNob3RfdAFy6CAxMC42wrVzLCByb2Nrc2RiOiB7a2V5X3NraXBwZWRfY291bnQ6IDQsIGJsb2NrOiB7Y2FjaGVfaGl0ERwUMn19fSwgAU4IX2RlMq0ACHdhaRFnBDMxBWUF8QxncnBjFckBOAw6IDM0Oh8AHTsMMTMuNRkeDHdhbGwNNSgxNzAuOcK1c31w/xEBBAF4EQok/wEhnFYfpYd/IDKtASgBQAFSFGRhdGE6VDbbAQRaMgWKRDEuMDdtcywgb3BlbjoxMDQuMwV7JGNsb3NlOjIzLjcFDwBsJaQgMmK0AWNvcF90IcFIIHtudW06IDEsIG1heDogNzAxLgnUDHByb2MtgiA0LCBjb3ByX2M1Q0RyYXRpbzogMC4wMCwgYnVpbGQFTghfZHUFGhBuOiAyOQ10cG1heF9kaXN0c3FsX2NvbmN1cnJlbmN5OiAxfSwgIVIkaW5mbzp7Q29wOgGLFF9ycGM6MVECBdwENTgBkhR9fXDjAng5JwA4IRMUA04vQVozBSYUMzExLjZtOQMENi5JIABjKQMENy4pygBsJQMAMVZ7AQQYAQ==')\n# Resource_group: default\nIMPORT INTO `write_after_import`.`t` FROM SELECT * FROM `from_select`.`dt`;"] --- PASS: TestImportInto/TestWriteAfterImportFromSelect/case-8 (0.55s) === NAME TestImportInto/TestWriteAfterImportFromSelect === RUN TestImportInto/TestWriteAfterImportFromSelect/case-9 write_after_import_test.go:217: auto_id_cache=1 test is not supported in real-tikv-test now --- SKIP: TestImportInto/TestWriteAfterImportFromSelect/case-9 (0.00s) === NAME TestImportInto/TestWriteAfterImportFromSelect === RUN TestImportInto/TestWriteAfterImportFromSelect/case-10 write_after_import_test.go:217: auto_id_cache=1 test is not supported in real-tikv-test now --- SKIP: TestImportInto/TestWriteAfterImportFromSelect/case-10 (0.00s) === NAME TestImportInto/TestWriteAfterImportFromSelect [2025/04/04 12:45:48.560 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:190, Type:drop table, State:queueing, SchemaState:public, SchemaID:174, TableID:188, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:48.51 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:48.560 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:190, Type:drop table, State:queueing, SchemaState:public, SchemaID:174, TableID:188, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:48.51 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/04 12:45:48.566 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=190] [conn=2] [job="ID:190, Type:drop table, State:queueing, SchemaState:public, SchemaID:174, TableID:188, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:48.51 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:48.586 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=129] [neededSchemaVersion=130] ["elapsed time"=2.432899ms] [gotSchemaVersion=130] [phyTblIDs="[188]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:45:48.590 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=190] [version=130] [2025/04/04 12:45:48.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=130] ["take time"=10.340754ms] [job="ID:190, Type:drop table, State:running, SchemaState:write only, SchemaID:174, TableID:188, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:48.51 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:48.603 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=190] [conn=2] [job="ID:190, Type:drop table, State:running, SchemaState:write only, SchemaID:174, TableID:188, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:48.51 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:48.621 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=130] [neededSchemaVersion=131] ["elapsed time"=2.356377ms] [gotSchemaVersion=131] [phyTblIDs="[188]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:45:48.624 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=190] [version=131] [2025/04/04 12:45:48.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=131] ["take time"=9.40932ms] [job="ID:190, Type:drop table, State:running, SchemaState:delete only, SchemaID:174, TableID:188, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:48.51 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:48.635 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=190] [conn=2] [job="ID:190, Type:drop table, State:running, SchemaState:delete only, SchemaID:174, TableID:188, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:48.51 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:48.642 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 188, Old Table Name: t)"] [2025/04/04 12:45:48.657 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=131] [neededSchemaVersion=132] ["elapsed time"=1.143512ms] [gotSchemaVersion=132] [phyTblIDs="[188]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:45:48.661 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=190] [version=132] [2025/04/04 12:45:48.662 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=132] ["take time"=7.882455ms] [job="ID:190, Type:drop table, State:done, SchemaState:none, SchemaID:174, TableID:188, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:48.51 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:48.672 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=190] [tableIDs="[188]"] [comment="drop table: table ID"] [2025/04/04 12:45:48.677 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=190] [jobType="drop table"] [2025/04/04 12:45:48.678 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=190] [conn=2] [job="ID:190, Type:drop table, State:synced, SchemaState:none, SchemaID:174, TableID:188, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:48.51 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:48.697 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=190] [2025/04/04 12:45:48.697 +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.97s) === NAME TestImportInto [2025/04/04 12:45:48.699 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 12:45:48.699 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 12:45:48.699 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=3a6e8a2b-9ff5-4bff-b8ce-202c0275c3fc] [] [2025/04/04 12:45:48.699 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=3a6e8a2b-9ff5-4bff-b8ce-202c0275c3fc] [2025/04/04 12:45:48.699 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:45:48.699 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:45:48.699 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 18, tp general"] ["take time"=97.619µs] [2025/04/04 12:45:48.700 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 19, tp general"] ["take time"=82.93µs] [2025/04/04 12:45:48.700 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 20, tp general"] ["take time"=69.741µs] [2025/04/04 12:45:48.700 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 11, tp general"] ["take time"=63.622µs] [2025/04/04 12:45:48.700 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 12, tp general"] ["take time"=81.827µs] [2025/04/04 12:45:48.700 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 13, tp general"] ["take time"=72.645µs] [2025/04/04 12:45:48.700 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 14, tp general"] ["take time"=73.245µs] [2025/04/04 12:45:48.700 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 15, tp general"] ["take time"=37.271µs] [2025/04/04 12:45:48.700 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 16, tp general"] ["take time"=36.345µs] [2025/04/04 12:45:48.700 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 17, tp general"] ["take time"=33.307µs] [2025/04/04 12:45:48.700 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=3a6e8a2b-9ff5-4bff-b8ce-202c0275c3fc] [2025/04/04 12:45:48.700 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=3a6e8a2b-9ff5-4bff-b8ce-202c0275c3fc] [2025/04/04 12:45:48.702 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 12:45:48.702 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 12:45:48.728 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=3a6e8a2b-9ff5-4bff-b8ce-202c0275c3fc] ["take time"=28.833837ms] [2025/04/04 12:45:48.728 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=3a6e8a2b-9ff5-4bff-b8ce-202c0275c3fc] [2025/04/04 12:45:48.728 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 12:45:48.728 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/04 12:45:48.728 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/1f94e9f8-5c7d-4364-8f9e-ed1ac53f7956] [watcherID=a3d577b1-8051-4308-b73f-3cbaa9ad4a40] [2025/04/04 12:45:48.728 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/1f94e9f8-5c7d-4364-8f9e-ed1ac53f7956] [2025/04/04 12:45:48.728 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=3a6e8a2b-9ff5-4bff-b8ce-202c0275c3fc] [ttl-worker=task-manager] [ttl-worker=3a6e8a2b-9ff5-4bff-b8ce-202c0275c3fc] [originalCount=4] [newCount=0] [2025/04/04 12:45:48.728 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:45:48.728 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:45:48.728 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:45:48.728 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:45:48.729 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=3a6e8a2b-9ff5-4bff-b8ce-202c0275c3fc] [ttl-worker=task-manager] [ttl-worker=3a6e8a2b-9ff5-4bff-b8ce-202c0275c3fc] [originalCount=4] [newCount=0] [2025/04/04 12:45:48.731 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:45:48.731 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:45:48.731 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:45:48.731 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:45:48.734 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=3a6e8a2b-9ff5-4bff-b8ce-202c0275c3fc] [2025/04/04 12:45:48.734 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 12:45:48.735 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1810] [2025/04/04 12:45:48.735 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 12:45:48.735 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=3a6e8a2b-9ff5-4bff-b8ce-202c0275c3fc] [2025/04/04 12:45:48.735 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 12:45:48.735 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 12:45:48.735 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:45:48.735 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:45:48.735 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:45:48.735 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 12:45:48.736 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 12:45:48.736 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 12:45:48.736 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:45:48.735 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:45:48.736 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/04 12:45:48.735 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 12:45:48.736 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:45:48.736 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 12:45:48.736 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 12:45:48.736 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 12:45:48.736 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:45:48.736 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:45:48.735 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 12:45:48.736 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/04 12:45:48.736 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 12:45:48.736 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:45:48.736 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:45:48.736 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 12:45:48.736 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:45:48.736 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/04 12:45:48.736 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 12:45:48.736 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:45:48.736 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:45:48.736 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:45:48.736 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:45:48.736 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 12:45:48.736 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:45:48.736 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:45:48.736 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=e0e4fe65-4e6d-40db-9c0c-fa8567b81ba9] [] [2025/04/04 12:45:48.736 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:45:48.736 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:45:48.736 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:45:48.736 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:45:48.736 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=e0e4fe65-4e6d-40db-9c0c-fa8567b81ba9] [2025/04/04 12:45:48.736 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:45:48.735 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 12:45:48.736 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:45:48.736 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:45:48.736 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:45:48.736 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 12:45:48.735 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 12:45:48.736 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:45:48.736 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 12:45:48.736 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:45:48.736 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:45:48.736 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:45:48.736 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=3a6e8a2b-9ff5-4bff-b8ce-202c0275c3fc] [] [2025/04/04 12:45:48.736 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:45:48.736 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=3a6e8a2b-9ff5-4bff-b8ce-202c0275c3fc] [2025/04/04 12:45:48.736 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/04 12:45:48.736 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:45:48.736 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 12:45:48.736 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=3a6e8a2b-9ff5-4bff-b8ce-202c0275c3fc] [2025/04/04 12:45:48.736 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:45:48.736 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:45:48.736 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 12:45:48.736 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:45:48.736 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 12:45:48.736 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:45:48.736 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 12:45:48.736 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 12:45:48.736 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:45:48.736 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 12:45:48.736 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 12:45:48.736 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:45:48.736 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 12:45:48.736 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 12:45:48.736 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:45:48.736 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 12:45:48.736 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:45:48.737 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:45:48.736 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=e0e4fe65-4e6d-40db-9c0c-fa8567b81ba9] [2025/04/04 12:45:48.737 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=e0e4fe65-4e6d-40db-9c0c-fa8567b81ba9] [2025/04/04 12:45:48.736 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:45:48.736 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:45:48.739 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=e0e4fe65-4e6d-40db-9c0c-fa8567b81ba9] [daemon-id=LogBackup::Advancer] [2025/04/04 12:45:48.739 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 12:45:48.739 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 12:45:48.739 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:45:48.739 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:45:48.739 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/bindinfo/owner] [id=3a6e8a2b-9ff5-4bff-b8ce-202c0275c3fc] [] [2025/04/04 12:45:48.739 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 12:45:48.739 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:45:48.739 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/bindinfo/owner] [id=3a6e8a2b-9ff5-4bff-b8ce-202c0275c3fc] [2025/04/04 12:45:48.739 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/bindinfo/owner] [id=3a6e8a2b-9ff5-4bff-b8ce-202c0275c3fc] [2025/04/04 12:45:48.739 +00:00] [INFO] [flush_subscriber.go:108] [Clearing.] [category="log backup flush subscriber"] [timeout=1m0s] [2025/04/04 12:45:48.739 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=3a6e8a2b-9ff5-4bff-b8ce-202c0275c3fc] [2025/04/04 12:45:48.739 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 12:45:48.751 +00:00] [WARN] [txn.go:692] ["wait tso failed"] [error="context canceled"] [errorVerbose="context canceled\ngithub.com/tikv/pd/client/clients/tso.(*Request).waitCtx\n\texternal/com_github_tikv_pd_client/clients/tso/request.go:86\ngithub.com/tikv/pd/client/clients/tso.(*Request).Wait\n\texternal/com_github_tikv_pd_client/clients/tso/request.go:73\ngithub.com/tikv/client-go/v2/util.interceptedTsFuture.Wait\n\texternal/com_github_tikv_client_go_v2/util/pd_interceptor.go:81\ngithub.com/tikv/client-go/v2/oracle/oracles.(*tsFuture).Wait\n\texternal/com_github_tikv_client_go_v2/oracle/oracles/pd.go:239\ngithub.com/pingcap/tidb/pkg/session.(*txnFuture).wait\n\tpkg/session/txn.go:684\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).changePendingToValid\n\tpkg/session/txn.go:293\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Wait\n\tpkg/session/txn.go:609\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*baseTxnContextProvider).ActivateTxn\n\tpkg/sessiontxn/isolation/base.go:299\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*baseTxnContextProvider).OnInitialize\n\tpkg/sessiontxn/isolation/base.go:146\ngithub.com/pingcap/tidb/pkg/session.(*txnManager).EnterNewTxn\n\tpkg/session/txnmanager.go:161\ngithub.com/pingcap/tidb/pkg/ddl/session.(*Session).BeginPessimistic\n\tpkg/ddl/session/session.go:55\ngithub.com/pingcap/tidb/pkg/ddl/notifier.(*DDLNotifier).processEventForHandler\n\tpkg/ddl/notifier/subscribe.go:280\ngithub.com/pingcap/tidb/pkg/ddl/notifier.(*DDLNotifier).processEvents\n\tpkg/ddl/notifier/subscribe.go:217\ngithub.com/pingcap/tidb/pkg/ddl/notifier.(*DDLNotifier).start\n\tpkg/ddl/notifier/subscribe.go:163\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithRecover.func1\n\tpkg/util/wait_group_wrapper.go:199\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700\ngithub.com/tikv/client-go/v2/oracle/oracles.(*tsFuture).Wait\n\texternal/com_github_tikv_client_go_v2/oracle/oracles/pd.go:242\ngithub.com/pingcap/tidb/pkg/session.(*txnFuture).wait\n\tpkg/session/txn.go:684\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).changePendingToValid\n\tpkg/session/txn.go:293\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Wait\n\tpkg/session/txn.go:609\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*baseTxnContextProvider).ActivateTxn\n\tpkg/sessiontxn/isolation/base.go:299\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*baseTxnContextProvider).OnInitialize\n\tpkg/sessiontxn/isolation/base.go:146\ngithub.com/pingcap/tidb/pkg/session.(*txnManager).EnterNewTxn\n\tpkg/session/txnmanager.go:161\ngithub.com/pingcap/tidb/pkg/ddl/session.(*Session).BeginPessimistic\n\tpkg/ddl/session/session.go:55\ngithub.com/pingcap/tidb/pkg/ddl/notifier.(*DDLNotifier).processEventForHandler\n\tpkg/ddl/notifier/subscribe.go:280\ngithub.com/pingcap/tidb/pkg/ddl/notifier.(*DDLNotifier).processEvents\n\tpkg/ddl/notifier/subscribe.go:217\ngithub.com/pingcap/tidb/pkg/ddl/notifier.(*DDLNotifier).start\n\tpkg/ddl/notifier/subscribe.go:163\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithRecover.func1\n\tpkg/util/wait_group_wrapper.go:199\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:45:48.757 +00:00] [ERROR] [select_result.go:556] ["invalid cop task execution summaries length"] [expected=2] [received=0] [stack="github.com/pingcap/tidb/pkg/distsql.(*selectResult).updateCopRuntimeStats\n\tpkg/distsql/select_result.go:556\ngithub.com/pingcap/tidb/pkg/distsql.(*selectResult).Close\n\tpkg/distsql/select_result.go:611\ngithub.com/pingcap/tidb/pkg/executor.closeAll\n\tpkg/executor/distsql.go:143\ngithub.com/pingcap/tidb/pkg/executor.(*tableResultHandler).Close\n\tpkg/executor/table_reader.go:634\ngithub.com/pingcap/tidb/pkg/executor.(*TableReaderExecutor).Close\n\tpkg/executor/table_reader.go:351\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Close\n\tpkg/executor/internal/exec/executor.go:480\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.(*BaseExecutorV2).Close\n\tpkg/executor/internal/exec/executor.go:315\ngithub.com/pingcap/tidb/pkg/executor.(*LimitExec).Close\n\tpkg/executor/select.go:511\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Close\n\tpkg/executor/internal/exec/executor.go:480\ngithub.com/pingcap/tidb/pkg/executor.(*recordSet).Finish.func1\n\tpkg/executor/adapter.go:202\nsync.(*Once).doSlow\n\tGOROOT/src/sync/once.go:76\nsync.(*Once).Do\n\tGOROOT/src/sync/once.go:67\ngithub.com/pingcap/tidb/pkg/executor.(*recordSet).Finish\n\tpkg/executor/adapter.go:201\ngithub.com/pingcap/tidb/pkg/session.(*execStmtResult).Finish.func1\n\tpkg/session/session.go:2377\nsync.(*Once).doSlow\n\tGOROOT/src/sync/once.go:76\nsync.(*Once).Do\n\tGOROOT/src/sync/once.go:67\ngithub.com/pingcap/tidb/pkg/session.(*execStmtResult).Finish\n\tpkg/session/session.go:2374\ngithub.com/pingcap/tidb/pkg/session.(*execStmtResult).Close\n\tpkg/session/session.go:2393\ngithub.com/pingcap/tidb/pkg/parser/terror.Call\n\tpkg/parser/terror/terror.go:315\ngithub.com/pingcap/tidb/pkg/ddl/session.(*Session).Execute\n\tpkg/ddl/session/session.go:110\ngithub.com/pingcap/tidb/pkg/ddl/notifier.(*listResult).Read\n\tpkg/ddl/notifier/store.go:180\ngithub.com/pingcap/tidb/pkg/ddl/notifier.(*DDLNotifier).processEvents\n\tpkg/ddl/notifier/subscribe.go:204\ngithub.com/pingcap/tidb/pkg/ddl/notifier.(*DDLNotifier).start\n\tpkg/ddl/notifier/subscribe.go:163\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithRecover.func1\n\tpkg/util/wait_group_wrapper.go:199"] [2025/04/04 12:45:48.757 +00:00] [ERROR] [subscribe.go:170] ["Error processing events"] [category=ddl-notifier] [error="[127.0.0.1:20161](1) context canceled"] [errorVerbose="[127.0.0.1:20161](1) context canceled\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/store/driver/error.ToTiDBErr\n\tpkg/store/driver/error/error.go:208\ngithub.com/pingcap/tidb/pkg/store/copr.(*copIteratorWorker).handleTaskOnce\n\tpkg/store/copr/coprocessor.go:1425\ngithub.com/pingcap/tidb/pkg/store/copr.(*liteCopIteratorWorker).liteSendReq\n\tpkg/store/copr/coprocessor.go:1197\ngithub.com/pingcap/tidb/pkg/store/copr.(*copIterator).Next\n\tpkg/store/copr/coprocessor.go:1112\ngithub.com/pingcap/tidb/pkg/distsql.(*selectResult).fetchResp\n\tpkg/distsql/select_result.go:317\ngithub.com/pingcap/tidb/pkg/distsql.(*selectResult).Next\n\tpkg/distsql/select_result.go:382\ngithub.com/pingcap/tidb/pkg/executor.(*tableResultHandler).nextChunk\n\tpkg/executor/table_reader.go:612\ngithub.com/pingcap/tidb/pkg/executor.(*TableReaderExecutor).Next\n\tpkg/executor/table_reader.go:331\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*LimitExec).Next\n\tpkg/executor/select.go:466\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*recordSet).Next\n\tpkg/executor/adapter.go:172\ngithub.com/pingcap/tidb/pkg/util/sqlexec.DrainRecordSet\n\tpkg/util/sqlexec/restricted_sql_executor.go:241\ngithub.com/pingcap/tidb/pkg/ddl/session.(*Session).Execute\n\tpkg/ddl/session/session.go:109\ngithub.com/pingcap/tidb/pkg/ddl/notifier.(*listResult).Read\n\tpkg/ddl/notifier/store.go:180\ngithub.com/pingcap/tidb/pkg/ddl/notifier.(*DDLNotifier).processEvents\n\tpkg/ddl/notifier/subscribe.go:204\ngithub.com/pingcap/tidb/pkg/ddl/notifier.(*DDLNotifier).start\n\tpkg/ddl/notifier/subscribe.go:163\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithRecover.func1\n\tpkg/util/wait_group_wrapper.go:199\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/ddl/notifier.(*DDLNotifier).start\n\tpkg/ddl/notifier/subscribe.go:170\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithRecover.func1\n\tpkg/util/wait_group_wrapper.go:199"] [2025/04/04 12:45:48.758 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=3a6e8a2b-9ff5-4bff-b8ce-202c0275c3fc] [2025/04/04 12:45:48.758 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=3a6e8a2b-9ff5-4bff-b8ce-202c0275c3fc] [2025/04/04 12:45:48.758 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=3a6e8a2b-9ff5-4bff-b8ce-202c0275c3fc] [error="context canceled"] [2025/04/04 12:45:48.758 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 12:45:48.758 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 12:45:48.758 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:45:48.762 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 12:45:48.762 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:45:48.795 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=3a6e8a2b-9ff5-4bff-b8ce-202c0275c3fc] [error="context canceled"] [2025/04/04 12:45:48.796 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 12:45:48.796 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:45:48.808 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=108.741875ms] [2025/04/04 12:45:48.812 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:45:48.812 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:45:48.812 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:45:48.812 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:45:48.812 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:45:48.812 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:45:48.812 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:48.812 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:45:48.812 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:48.812 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-1] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:45:48.812 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:48.812 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:45:48.813 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestImportInto (18.19s) === NAME PASS ================================================================================ Target //tests/realtikvtest/importintotest2:importintotest2_test up-to-date: bazel-bin/tests/realtikvtest/importintotest2/importintotest2_test_/importintotest2_test INFO: Elapsed time: 66.631s, Critical Path: 50.03s INFO: 4637 processes: 4616 remote cache hit, 13 internal, 8 linux-sandbox. INFO: Build completed successfully, 4637 total actions //tests/realtikvtest/importintotest2:importintotest2_test PASSED in 21.9s PASSED importintotest2_test.TestImportInto (18.2s) PASSED importintotest2_test.TestImportInto/TestCastNegativeToUnsigned (0.4s) PASSED importintotest2_test.TestImportInto/TestImportFromSelectBasic (1.7s) PASSED importintotest2_test.TestImportInto/TestImportFromSelectColumnList (1.0s) PASSED importintotest2_test.TestImportInto/TestImportFromSelectStaleRead (1.5s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromFile (5.5s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromFile/case-0 (1.0s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromFile/case-1 (0.0s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromFile/case-10 (0.0s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromFile/case-2 (1.2s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromFile/case-3 (0.0s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromFile/case-4 (0.9s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromFile/case-5 (0.0s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromFile/case-6 (0.9s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromFile/case-7 (0.0s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromFile/case-8 (1.2s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromFile/case-9 (0.0s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromSelect (3.0s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromSelect/case-0 (0.2s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromSelect/case-1 (0.0s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromSelect/case-10 (0.0s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromSelect/case-2 (0.5s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromSelect/case-3 (0.0s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromSelect/case-4 (0.5s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromSelect/case-5 (0.0s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromSelect/case-6 (0.6s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromSelect/case-7 (0.0s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromSelect/case-8 (0.6s) 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] { [4,642 / 4,643] 1 / 1 tests; Testing //tests/realtikvtest/importintotest4:importintotest4_test; 22s remote-cache, linux-sandbox INFO: From Testing //tests/realtikvtest/importintotest4:importintotest4_test: ==================== Test output for //tests/realtikvtest/importintotest4:importintotest4_test: === RUN TestImportInto [2025/04/04 12:45:31.891 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 12:45:31.891 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:45:31.893 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437824916082696] [2025/04/04 12:45:31.894 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:45:31.894 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:45:31.894 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:45:31.894 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:45:31.894 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:45:31.894 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:45:31.895 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:45:31.895 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:45:31.900 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 12:45:31.907 +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/04 12:45:31.908 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:45:31.908 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:45:31.931 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/04 12:45:31.932 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/04 12:45:31.937 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/04 12:45:31.937 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/04 12:45:31.948 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/04 12:45:31.970 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489437824916082696] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 12:45:31.994 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 12:45:32.034 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=71] ["lease id"=22319600d42ea05f] [2025/04/04 12:45:32.037 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/04 12:45:32.042 +00:00] [WARN] [domain.go:318] ["failed to get schema version"] [error="There is no Write MVCC info for the schema version"] [errorVerbose="There is no Write MVCC info for the schema version\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:448\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:316\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init\n\tpkg/domain/domain.go:1506\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).getWithEtcdClient.func1\n\tpkg/session/tidb.go:104\ngithub.com/pingcap/tidb/pkg/util.RunWithRetry\n\tpkg/util/misc.go:72\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).getWithEtcdClient\n\tpkg/session/tidb.go:91\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).Get\n\tpkg/session/tidb.go:66\ngithub.com/pingcap/tidb/pkg/session.createSessionWithOpt\n\tpkg/session/session.go:3794\ngithub.com/pingcap/tidb/pkg/session.createSession\n\tpkg/session/session.go:3786\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3722\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3477\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/importintotest4/importintotest4_test.(*mockGCSSuite).SetupSuite\n\ttests/realtikvtest/importintotest4/main_test.go:65\ngithub.com/stretchr/testify/suite.Run\n\texternal/com_github_stretchr_testify/suite/suite.go:157\ntests/realtikvtest/importintotest4/importintotest4_test.TestImportInto\n\ttests/realtikvtest/importintotest4/main_test.go:49\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [version=0] [2025/04/04 12:45:32.147 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=0] ["elapsed time"=104.309162ms] [2025/04/04 12:45:32.147 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 12:45:32.149 +00:00] [INFO] [ddl.go:964] ["change job version in use"] [category=ddl] [old=v1] [new=v2] [2025/04/04 12:45:32.149 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=48c94a1c-62ad-4f97-89d6-5c65e5765e43] [runWorker=true] [jobVersion=v2] [2025/04/04 12:45:32.149 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 12:45:32.151 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=48c94a1c-62ad-4f97-89d6-5c65e5765e43] [2025/04/04 12:45:32.152 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 12:45:32.152 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 225554403328/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 12:45:32.153 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:45:32.153 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:45:32.153 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:45:32.153 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:45:32.153 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:45:32.153 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:45:32.153 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:45:32.153 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:45:32.153 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:45:32.153 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 12:45:32.153 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:45:32.153 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 12:45:32.153 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=566d5861-aae3-4856-9b2c-566bc9612f90] [2025/04/04 12:45:32.155 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9600d42e9dff] [ownerID=48c94a1c-62ad-4f97-89d6-5c65e5765e43] [op=none] [2025/04/04 12:45:32.155 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=48c94a1c-62ad-4f97-89d6-5c65e5765e43] [2025/04/04 12:45:32.155 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=48c94a1c-62ad-4f97-89d6-5c65e5765e43] [ownerKey=/tidb/ddl/fg/owner/3eaa9600d42e9dff] [currRev=94] [2025/04/04 12:45:32.156 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 12:45:32.156 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:45:32.156 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=566d5861-aae3-4856-9b2c-566bc9612f90] [daemon-id=LogBackup::Advancer] [2025/04/04 12:45:32.157 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9600d42e9dff] [ownerID=48c94a1c-62ad-4f97-89d6-5c65e5765e43] [op=none] [2025/04/04 12:45:32.157 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=48c94a1c-62ad-4f97-89d6-5c65e5765e43] [op=none] [2025/04/04 12:45:32.157 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 12:45:32.157 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f189600d42e9def] [ownerID=566d5861-aae3-4856-9b2c-566bc9612f90] [op=none] [2025/04/04 12:45:32.157 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=566d5861-aae3-4856-9b2c-566bc9612f90] [2025/04/04 12:45:32.157 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=566d5861-aae3-4856-9b2c-566bc9612f90] [ownerKey=/tidb/br-stream/owner/6f189600d42e9def] [currRev=95] [2025/04/04 12:45:32.160 +00:00] [WARN] [domain.go:318] ["failed to get schema version"] [error="There is no Write MVCC info for the schema version"] [errorVerbose="There is no Write MVCC info for the schema version\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:448\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:316\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/ddl.(*jobScheduler).mustReloadSchemas\n\tpkg/ddl/job_scheduler.go:455\ngithub.com/pingcap/tidb/pkg/ddl.(*jobScheduler).schedule\n\tpkg/ddl/job_scheduler.go:301\ngithub.com/pingcap/tidb/pkg/ddl.(*jobScheduler).scheduleLoop\n\tpkg/ddl/job_scheduler.go:268\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [version=0] [2025/04/04 12:45:32.176 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.153 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:32.176 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.153 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE IF NOT EXISTS test"] [2025/04/04 12:45:32.182 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=3] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:32.153 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.321 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=1] ["elapsed time"=123.390761ms] [2025/04/04 12:45:32.321 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 12:45:32.327 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:32.327 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1] [2025/04/04 12:45:32.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=1] ["take time"=133.435502ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.153 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.342 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=3] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:32.153 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.356 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=3] [2025/04/04 12:45:32.357 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2025/04/04 12:45:32.358 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2025/04/04 12:45:32.362 +00:00] [INFO] [helper.go:189] ["set random timezone for getStmtTimestamp"] [timezone=Asia/Tokyo] [2025/04/04 12:45:32.387 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.353 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:32.387 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.353 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_reuse_history smallint unsigned DEFAULT NULL,\n\t\tPassword_reuse_time smallint unsigned DEFAULT NULL,\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPassword_expired\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_last_changed\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP(),\n\t\tPassword_lifetime\t\tSMALLINT UNSIGNED DEFAULT NULL,\n\t\tMax_user_connections \tINT UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (Host, User),\n\t\tKEY i_user (User));"] [2025/04/04 12:45:32.395 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=5] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:32.353 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.449 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=1] [neededSchemaVersion=2] ["elapsed time"=7.201519ms] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:32.452 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:32.452 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2] [2025/04/04 12:45:32.454 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=2] ["take time"=13.724161ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.353 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.473 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=5] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:32.353 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.504 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=5] [2025/04/04 12:45:32.504 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=2] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_reuse_history smallint unsigned DEFAULT NULL,\n\t\tPassword_reuse_time smallint unsigned DEFAULT NULL,\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPassword_expired\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_last_changed\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP(),\n\t\tPassword_lifetime\t\tSMALLINT UNSIGNED DEFAULT NULL,\n\t\tMax_user_connections \tINT UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (Host, User),\n\t\tKEY i_user (User));"] [user=] [2025/04/04 12:45:32.518 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:32.518 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.password_history (\n Host char(255) NOT NULL DEFAULT '',\n User char(32) NOT NULL DEFAULT '',\n Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n Password text,\n PRIMARY KEY (Host,User,Password_timestamp )\n ) COMMENT='Password history for user accounts' "] [2025/04/04 12:45:32.524 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=7] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:32.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.543 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=2] [neededSchemaVersion=3] ["elapsed time"=2.013669ms] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:32.546 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:32.546 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3] [2025/04/04 12:45:32.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=3] ["take time"=8.97622ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.559 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=7] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:32.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.573 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=7] [2025/04/04 12:45:32.573 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=3] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.password_history (\n Host char(255) NOT NULL DEFAULT '',\n User char(32) NOT NULL DEFAULT '',\n Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n Password text,\n PRIMARY KEY (Host,User,Password_timestamp )\n ) COMMENT='Password history for user accounts' "] [user=] [2025/04/04 12:45:32.586 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.553 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:32.586 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.553 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User),KEY i_user (User))"] [2025/04/04 12:45:32.591 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=9] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:32.553 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.609 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=3] [neededSchemaVersion=4] ["elapsed time"=2.142198ms] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:32.612 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:32.612 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4] [2025/04/04 12:45:32.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=4] ["take time"=8.903335ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.553 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.625 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=9] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:32.553 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.637 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=9] [2025/04/04 12:45:32.637 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=4] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User),KEY i_user (User))"] [user=] [2025/04/04 12:45:32.657 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.603 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:32.657 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.603 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User),\n\t\tKEY i_user (User));"] [2025/04/04 12:45:32.664 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=11] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:32.603 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.703 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=4] [neededSchemaVersion=5] ["elapsed time"=4.416972ms] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:32.707 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:32.707 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5] [2025/04/04 12:45:32.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=5] ["take time"=11.636628ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.603 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.723 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=11] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:32.603 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.743 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=11] [2025/04/04 12:45:32.744 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=5] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User),\n\t\tKEY i_user (User));"] [user=] [2025/04/04 12:45:32.759 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:32.759 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name),\n\t\tKEY i_user (User));"] [2025/04/04 12:45:32.764 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=13] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:32.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.787 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=5] [neededSchemaVersion=6] ["elapsed time"=2.748182ms] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:32.790 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:32.790 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6] [2025/04/04 12:45:32.791 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=6] ["take time"=9.374546ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.803 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=13] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:32.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.818 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=13] [2025/04/04 12:45:32.818 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=6] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name),\n\t\tKEY i_user (User));"] [user=] [2025/04/04 12:45:32.833 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.803 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:32.833 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.803 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tColumn_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name),\n\t\tKEY i_user (User));"] [2025/04/04 12:45:32.839 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=15] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:32.803 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.861 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=6] [neededSchemaVersion=7] ["elapsed time"=2.584204ms] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:32.864 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:32.864 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7] [2025/04/04 12:45:32.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=7] ["take time"=9.044391ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.803 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.877 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=15] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:32.803 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.891 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=15] [2025/04/04 12:45:32.891 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=7] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tColumn_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name),\n\t\tKEY i_user (User));"] [user=] [2025/04/04 12:45:32.904 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(16383) DEFAULT NULL);"] [2025/04/04 12:45:32.904 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:32.909 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=17] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:32.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.926 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=7] [neededSchemaVersion=8] ["elapsed time"=1.710105ms] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:32.929 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:32.929 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8] [2025/04/04 12:45:32.931 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=8] ["take time"=8.194767ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.941 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=17] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:32.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.953 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=17] [2025/04/04 12:45:32.953 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=8] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(16383) DEFAULT NULL);"] [user=] [2025/04/04 12:45:32.966 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:32.966 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [2025/04/04 12:45:32.972 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=19] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:32.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:32.990 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=8] [neededSchemaVersion=9] ["elapsed time"=1.875561ms] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:32.993 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:32.993 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9] [2025/04/04 12:45:32.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=9] ["take time"=8.518998ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.005 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=19] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:32.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.017 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=19] [2025/04/04 12:45:33.017 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=9] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [user=] [2025/04/04 12:45:33.032 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [2025/04/04 12:45:33.032 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:33.038 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=21] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.059 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=9] [neededSchemaVersion=10] ["elapsed time"=2.284037ms] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:33.063 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:33.063 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10] [2025/04/04 12:45:33.064 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=10] ["take time"=9.385131ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.075 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=21] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.089 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=21] [2025/04/04 12:45:33.089 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=10] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [user=] [2025/04/04 12:45:33.103 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:33.103 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [2025/04/04 12:45:33.109 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=23] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.128 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=10] [neededSchemaVersion=11] ["elapsed time"=2.195113ms] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:33.132 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:33.132 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11] [2025/04/04 12:45:33.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=11] ["take time"=8.870387ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.144 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=23] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.154 +00:00] [WARN] [runaway.go:85] ["failed to start runaway manager loop, please check whether the bootstrap or update is finished"] [error="[schema:1146]Table 'mysql.tidb_runaway_watch' doesn't exist"] [errorVerbose="[schema:1146]Table 'mysql.tidb_runaway_watch' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternalStmt\n\tpkg/session/session.go:2019\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1984\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1970\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1974\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.ExecRCRestrictedSQL\n\tpkg/resourcegroup/runaway/record.go:382\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*systemTableReader).Read\n\tpkg/resourcegroup/runaway/syncer.go:192\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.getRunawayWatchRecord\n\tpkg/resourcegroup/runaway/syncer.go:76\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*syncer).getWatchRecord\n\tpkg/resourcegroup/runaway/syncer.go:67\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*syncer).getNewWatchRecords\n\tpkg/resourcegroup/runaway/syncer.go:59\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*Manager).UpdateNewAndDoneWatch\n\tpkg/resourcegroup/runaway/manager.go:402\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).runawayStartLoop\n\tpkg/domain/runaway.go:75\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:45:33.157 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=23] [2025/04/04 12:45:33.158 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=11] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [user=] [2025/04/04 12:45:33.159 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl] [2025/04/04 12:45:33.175 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.153 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:33.175 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.153 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [2025/04/04 12:45:33.182 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=25] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.153 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.208 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=11] [neededSchemaVersion=12] ["elapsed time"=3.280646ms] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:33.211 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:33.211 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12] [2025/04/04 12:45:33.213 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=12] ["take time"=10.32337ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.153 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.225 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=25] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.153 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.242 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=25] [2025/04/04 12:45:33.242 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=12] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2025/04/04 12:45:33.257 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:33.257 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [2025/04/04 12:45:33.263 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=27] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.286 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=12] [neededSchemaVersion=13] ["elapsed time"=2.793736ms] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:33.290 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:33.290 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13] [2025/04/04 12:45:33.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=13] ["take time"=9.459591ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.303 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=27] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.318 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=27] [2025/04/04 12:45:33.318 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=13] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [user=] [2025/04/04 12:45:33.332 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.303 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:33.332 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.303 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [2025/04/04 12:45:33.337 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=29] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.303 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.357 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=13] [neededSchemaVersion=14] ["elapsed time"=2.077382ms] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:33.362 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:33.363 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14] [2025/04/04 12:45:33.365 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=14] ["take time"=12.361649ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.303 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.377 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=29] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.303 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.390 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=29] [2025/04/04 12:45:33.390 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=14] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [user=] [2025/04/04 12:45:33.403 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.353 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:33.403 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.353 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [2025/04/04 12:45:33.409 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=31] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.353 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.429 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=14] [neededSchemaVersion=15] ["elapsed time"=2.144259ms] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:33.432 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:33.432 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15] [2025/04/04 12:45:33.434 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=15] ["take time"=8.8073ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.353 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.444 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=31] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.353 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.457 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=31] [2025/04/04 12:45:33.457 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=15] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [user=] [2025/04/04 12:45:33.470 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.453 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:33.470 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.453 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [2025/04/04 12:45:33.475 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=33] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.453 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.494 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=15] [neededSchemaVersion=16] ["elapsed time"=2.049279ms] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:33.497 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:33.497 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16] [2025/04/04 12:45:33.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=16] ["take time"=8.776272ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.453 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.509 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=33] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.453 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.521 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=33] [2025/04/04 12:45:33.521 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=16] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [user=] [2025/04/04 12:45:33.534 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:33.534 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [2025/04/04 12:45:33.540 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=35] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.558 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=16] [neededSchemaVersion=17] ["elapsed time"=2.109713ms] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:33.562 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:33.562 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17] [2025/04/04 12:45:33.563 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=17] ["take time"=8.3762ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.574 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=35] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.586 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=35] [2025/04/04 12:45:33.587 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=17] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [user=] [2025/04/04 12:45:33.600 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.553 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:33.600 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.553 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER),\n\t\tKEY i_user (USER))"] [2025/04/04 12:45:33.605 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=37] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.553 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.625 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=17] [neededSchemaVersion=18] ["elapsed time"=2.171672ms] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:33.628 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:33.628 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18] [2025/04/04 12:45:33.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=18] ["take time"=8.372075ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.553 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.639 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=37] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.553 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.651 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=37] [2025/04/04 12:45:33.651 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=18] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER),\n\t\tKEY i_user (USER))"] [user=] [2025/04/04 12:45:33.668 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:33.668 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql LONGTEXT NOT NULL,\n\t\tbind_sql LONGTEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tsql_digest varchar(64) DEFAULT NULL,\n\t\tplan_digest varchar(64) DEFAULT NULL,\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\",\n\t\tUNIQUE INDEX digest_index(plan_digest, sql_digest) COMMENT \"avoid duplicated records\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2025/04/04 12:45:33.674 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=39] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.700 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=18] [neededSchemaVersion=19] ["elapsed time"=3.059382ms] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:33.703 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:33.703 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19] [2025/04/04 12:45:33.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=19] ["take time"=9.545134ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.717 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=39] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.733 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=39] [2025/04/04 12:45:33.733 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=19] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql LONGTEXT NOT NULL,\n\t\tbind_sql LONGTEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tsql_digest varchar(64) DEFAULT NULL,\n\t\tplan_digest varchar(64) DEFAULT NULL,\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\",\n\t\tUNIQUE INDEX digest_index(plan_digest, sql_digest) COMMENT \"avoid duplicated records\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2025/04/04 12:45:33.753 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:33.753 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [2025/04/04 12:45:33.758 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=41] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.777 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=19] [neededSchemaVersion=20] ["elapsed time"=2.101977ms] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:33.780 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:33.780 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20] [2025/04/04 12:45:33.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=20] ["take time"=8.555443ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.792 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=41] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.804 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=41] [2025/04/04 12:45:33.805 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=20] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2025/04/04 12:45:33.817 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.803 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:33.817 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.803 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [2025/04/04 12:45:33.822 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=43] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.803 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.838 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=20] [neededSchemaVersion=21] ["elapsed time"=1.678128ms] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:33.842 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:33.842 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21] [2025/04/04 12:45:33.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=21] ["take time"=7.938251ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.803 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.853 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=43] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.803 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.864 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=43] [2025/04/04 12:45:33.864 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=21] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [user=] [2025/04/04 12:45:33.875 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:33.875 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [2025/04/04 12:45:33.880 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=45] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.894 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=21] [neededSchemaVersion=22] ["elapsed time"=1.330605ms] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:33.897 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:33.897 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22] [2025/04/04 12:45:33.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=22] ["take time"=8.043214ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.900 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/04 12:45:33.908 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=45] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.918 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=45] [2025/04/04 12:45:33.919 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=22] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [user=] [2025/04/04 12:45:33.932 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:33.932 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [2025/04/04 12:45:33.938 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=47] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.960 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=22] [neededSchemaVersion=23] ["elapsed time"=2.475961ms] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:33.963 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:33.963 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23] [2025/04/04 12:45:33.964 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=23] ["take time"=8.663163ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.975 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=47] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.989 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=47] [2025/04/04 12:45:33.989 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=23] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [user=] [2025/04/04 12:45:34.001 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:34.001 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [2025/04/04 12:45:34.007 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=49] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.025 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=23] [neededSchemaVersion=24] ["elapsed time"=2.070849ms] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:34.029 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:34.029 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24] [2025/04/04 12:45:34.030 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=24] ["take time"=8.412555ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.040 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=49] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.052 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=49] [2025/04/04 12:45:34.052 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=24] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2025/04/04 12:45:34.066 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:34.066 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV),\n\t\tKEY i_user (USER)\n\t);"] [2025/04/04 12:45:34.071 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=51] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.095 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=24] [neededSchemaVersion=25] ["elapsed time"=5.125759ms] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:34.100 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:34.100 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25] [2025/04/04 12:45:34.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=25] ["take time"=14.668779ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.114 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=51] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.126 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=51] [2025/04/04 12:45:34.127 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=25] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV),\n\t\tKEY i_user (USER)\n\t);"] [user=] [2025/04/04 12:45:34.140 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [2025/04/04 12:45:34.140 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:34.145 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=53] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.152 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/04 12:45:34.153 +00:00] [WARN] [info.go:562] ["response not 200"] [method=GET] [host=127.0.0.1:2379] [url=/pd/api/v1/config/rule_group/tiflash] ["http status"=404] [2025/04/04 12:45:34.164 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=25] [neededSchemaVersion=26] ["elapsed time"=1.819279ms] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:34.167 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:34.167 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26] [2025/04/04 12:45:34.168 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=26] ["take time"=8.271148ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.179 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=53] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.192 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=53] [2025/04/04 12:45:34.193 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=26] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [user=] [2025/04/04 12:45:34.207 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.153 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:34.207 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.153 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [2025/04/04 12:45:34.213 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=55] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.153 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.231 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=26] [neededSchemaVersion=27] ["elapsed time"=2.112661ms] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:34.235 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:34.235 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27] [2025/04/04 12:45:34.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=27] ["take time"=8.756644ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.153 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.247 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=55] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.153 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.259 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=55] [2025/04/04 12:45:34.259 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=27] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [user=] [2025/04/04 12:45:34.272 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.254 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:34.272 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.254 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [2025/04/04 12:45:34.278 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=57] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.254 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.295 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=27] [neededSchemaVersion=28] ["elapsed time"=1.87937ms] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:34.299 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:34.299 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28] [2025/04/04 12:45:34.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=28] ["take time"=8.652417ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.254 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.310 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=57] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.254 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.322 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=57] [2025/04/04 12:45:34.322 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=28] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [user=] [2025/04/04 12:45:34.324 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl] [2025/04/04 12:45:34.337 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.303 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:34.337 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.303 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [2025/04/04 12:45:34.342 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=59] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.303 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.363 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=28] [neededSchemaVersion=29] ["elapsed time"=2.24878ms] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:34.366 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:34.366 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29] [2025/04/04 12:45:34.368 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=29] ["take time"=8.882864ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.303 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.378 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=59] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.303 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.392 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=59] [2025/04/04 12:45:34.392 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=29] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [user=] [2025/04/04 12:45:34.407 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.353 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:34.407 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.353 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [2025/04/04 12:45:34.412 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=61] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.353 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.433 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=29] [neededSchemaVersion=30] ["elapsed time"=2.462434ms] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:34.436 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:34.436 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30] [2025/04/04 12:45:34.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=30] ["take time"=8.855705ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.353 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.448 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=61] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.353 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.463 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=61] [2025/04/04 12:45:34.464 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=30] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2025/04/04 12:45:34.482 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:34.482 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [2025/04/04 12:45:34.488 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=63] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.512 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=30] [neededSchemaVersion=31] ["elapsed time"=2.754534ms] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:34.516 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:34.516 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31] [2025/04/04 12:45:34.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=31] ["take time"=10.399737ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.531 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=63] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.454 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.547 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=63] [2025/04/04 12:45:34.547 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=31] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2025/04/04 12:45:34.566 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:34.566 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time),\n\t\tINDEX idx_schema_table_state (table_schema, table_name, state),\n\t\tINDEX idx_schema_table_partition_state (table_schema, table_name, partition_name, state)\n\t);"] [2025/04/04 12:45:34.573 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=65] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.602 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=31] [neededSchemaVersion=32] ["elapsed time"=3.521429ms] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:34.606 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:34.606 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32] [2025/04/04 12:45:34.608 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=32] ["take time"=10.423243ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.622 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=65] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.641 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=65] [2025/04/04 12:45:34.641 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=32] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time),\n\t\tINDEX idx_schema_table_state (table_schema, table_name, state),\n\t\tINDEX idx_schema_table_partition_state (table_schema, table_name, partition_name, state)\n\t);"] [user=] [2025/04/04 12:45:34.655 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.603 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:34.655 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.603 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [2025/04/04 12:45:34.660 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=67] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.603 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.676 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=32] [neededSchemaVersion=33] ["elapsed time"=1.535775ms] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:34.679 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:34.679 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33] [2025/04/04 12:45:34.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=33] ["take time"=8.05683ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.603 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.690 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=67] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.603 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.701 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=67] [2025/04/04 12:45:34.702 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=33] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [user=] [2025/04/04 12:45:34.718 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:34.718 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE OR REPLACE SQL SECURITY INVOKER VIEW mysql.tidb_mdl_view as (\n\t\tSELECT tidb_mdl_info.job_id,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.schema_name\")) as db_name,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.table_name\")) as table_name,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.query\")) as query,\n\t\t\tsession_id,\n\t\t\tcluster_tidb_trx.start_time,\n\t\t\ttidb_decode_sql_digests(all_sql_digests, 4096) AS SQL_DIGESTS\n\t\tFROM mysql.tidb_ddl_job,\n\t\t\tmysql.tidb_mdl_info,\n\t\t\tinformation_schema.cluster_tidb_trx\n\t\tWHERE tidb_ddl_job.job_id=tidb_mdl_info.job_id\n\t\t\tAND CONCAT(',', tidb_mdl_info.table_ids, ',') REGEXP CONCAT(',(', REPLACE(cluster_tidb_trx.related_table_ids, ',', '|'), '),') != 0\n\t);"] [2025/04/04 12:45:34.724 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=69] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.746 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=33] [neededSchemaVersion=34] ["elapsed time"=2.319425ms] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2025/04/04 12:45:34.749 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:34.749 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34] [2025/04/04 12:45:34.751 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=34] ["take time"=8.893373ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.762 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=69] [job="ID:69, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.775 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=69] [2025/04/04 12:45:34.790 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.753 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:34.790 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.753 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [2025/04/04 12:45:34.797 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=71] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.753 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.816 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=34] [neededSchemaVersion=35] ["elapsed time"=2.326371ms] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:34.820 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:34.820 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35] [2025/04/04 12:45:34.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=35] ["take time"=9.184172ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.753 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.832 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=71] [job="ID:71, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.753 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.845 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=71] [2025/04/04 12:45:34.846 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=35] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [user=] [2025/04/04 12:45:34.859 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.803 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:34.859 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.803 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [2025/04/04 12:45:34.863 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=73] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.803 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.881 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=35] [neededSchemaVersion=36] ["elapsed time"=1.94428ms] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:34.885 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:34.885 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36] [2025/04/04 12:45:34.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=36] ["take time"=8.527969ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.803 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.897 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=73] [job="ID:73, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.803 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.912 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=73] [2025/04/04 12:45:34.912 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=36] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [user=] [2025/04/04 12:45:34.927 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:34.928 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [2025/04/04 12:45:34.933 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=75] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.950 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=36] [neededSchemaVersion=37] ["elapsed time"=1.759363ms] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:34.954 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:34.954 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37] [2025/04/04 12:45:34.955 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=37] ["take time"=8.553527ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.966 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=75] [job="ID:75, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.978 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=75] [2025/04/04 12:45:34.978 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=37] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [user=] [2025/04/04 12:45:34.995 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:34.995 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [2025/04/04 12:45:35.002 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=77] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.031 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=37] [neededSchemaVersion=38] ["elapsed time"=3.47619ms] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:35.034 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:35.034 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38] [2025/04/04 12:45:35.036 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=38] ["take time"=10.268287ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.048 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=77] [job="ID:77, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.065 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=77] [2025/04/04 12:45:35.065 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=38] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [user=] [2025/04/04 12:45:35.081 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:35.081 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [2025/04/04 12:45:35.087 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=79] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:35.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.113 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=38] [neededSchemaVersion=39] ["elapsed time"=3.341936ms] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:35.116 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:35.116 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39] [2025/04/04 12:45:35.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=39] ["take time"=9.965399ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.130 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=79] [job="ID:79, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:35.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.146 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=79] [2025/04/04 12:45:35.146 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=39] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [user=] [2025/04/04 12:45:35.163 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:35.163 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [2025/04/04 12:45:35.169 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=81] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:35.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.197 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=39] [neededSchemaVersion=40] ["elapsed time"=3.574201ms] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:35.200 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:35.200 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40] [2025/04/04 12:45:35.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=40] ["take time"=10.134691ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.214 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=81] [job="ID:81, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:35.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.232 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=81] [2025/04/04 12:45:35.232 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=40] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [user=] [2025/04/04 12:45:35.250 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:35.250 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [2025/04/04 12:45:35.257 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=83] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:35.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.289 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=40] [neededSchemaVersion=41] ["elapsed time"=3.832682ms] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:35.293 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:35.293 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41] [2025/04/04 12:45:35.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=41] ["take time"=11.706264ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.308 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=83] [job="ID:83, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:35.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.327 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=83] [2025/04/04 12:45:35.327 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=41] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2025/04/04 12:45:35.344 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.303 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:35.344 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.303 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task_history (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [2025/04/04 12:45:35.350 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=85] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:35.303 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.379 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=41] [neededSchemaVersion=42] ["elapsed time"=3.71494ms] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:35.383 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:35.383 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42] [2025/04/04 12:45:35.384 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=42] ["take time"=10.37642ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.303 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.397 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=85] [job="ID:85, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:35.303 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.415 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=85] [2025/04/04 12:45:35.415 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=42] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task_history (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2025/04/04 12:45:35.432 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:35.432 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_import_jobs (\n\t\tid bigint(64) NOT NULL AUTO_INCREMENT,\n\t\tcreate_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n\t\tstart_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tupdate_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tend_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\ttable_schema VARCHAR(64) NOT NULL,\n\t\ttable_name VARCHAR(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcreated_by VARCHAR(300) NOT NULL,\n\t\tparameters text NOT NULL,\n\t\tsource_file_size bigint(64) NOT NULL,\n\t\tstatus VARCHAR(64) NOT NULL,\n\t\tstep VARCHAR(64) NOT NULL,\n\t\tsummary text DEFAULT NULL,\n\t\terror_message TEXT DEFAULT NULL,\n\t\tPRIMARY KEY (id),\n\t\tKEY (created_by),\n\t\tKEY (status));"] [2025/04/04 12:45:35.438 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=87] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:35.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.466 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=42] [neededSchemaVersion=43] ["elapsed time"=3.879326ms] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:35.469 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:35.469 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43] [2025/04/04 12:45:35.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=43] ["take time"=10.864663ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.485 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=87] [job="ID:87, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:35.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.502 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=87] [2025/04/04 12:45:35.502 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=43] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_import_jobs (\n\t\tid bigint(64) NOT NULL AUTO_INCREMENT,\n\t\tcreate_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n\t\tstart_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tupdate_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tend_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\ttable_schema VARCHAR(64) NOT NULL,\n\t\ttable_name VARCHAR(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcreated_by VARCHAR(300) NOT NULL,\n\t\tparameters text NOT NULL,\n\t\tsource_file_size bigint(64) NOT NULL,\n\t\tstatus VARCHAR(64) NOT NULL,\n\t\tstep VARCHAR(64) NOT NULL,\n\t\tsummary text DEFAULT NULL,\n\t\terror_message TEXT DEFAULT NULL,\n\t\tPRIMARY KEY (id),\n\t\tKEY (created_by),\n\t\tKEY (status));"] [user=] [2025/04/04 12:45:35.518 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.504 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:35.518 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.504 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tINDEX sql_index(resource_group_name,watch_text(700)) COMMENT \"accelerate the speed when select quarantined query\",\n\t\tINDEX time_index(end_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2025/04/04 12:45:35.524 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=89] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:35.504 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.547 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=43] [neededSchemaVersion=44] ["elapsed time"=2.83653ms] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:35.550 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:35.550 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44] [2025/04/04 12:45:35.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=44] ["take time"=9.707687ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.504 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.566 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=89] [job="ID:89, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:35.504 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.582 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=89] [2025/04/04 12:45:35.582 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=44] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tINDEX sql_index(resource_group_name,watch_text(700)) COMMENT \"accelerate the speed when select quarantined query\",\n\t\tINDEX time_index(end_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2025/04/04 12:45:35.597 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.553 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:35.597 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.553 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time TIMESTAMP NOT NULL,\n\t\trepeats int default 1,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(64) NOT NULL,\n\t\tsample_sql TEXT NOT NULL,\n\t\tsql_digest varchar(64) NOT NULL,\n\t\tplan_digest varchar(64) NOT NULL,\n\t\ttidb_server varchar(512),\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(start_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2025/04/04 12:45:35.603 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=91] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:35.553 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.628 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=44] [neededSchemaVersion=45] ["elapsed time"=2.951629ms] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:35.631 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:35.631 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45] [2025/04/04 12:45:35.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=45] ["take time"=9.678941ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.553 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.645 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=91] [job="ID:91, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:35.553 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.660 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=91] [2025/04/04 12:45:35.661 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=45] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time TIMESTAMP NOT NULL,\n\t\trepeats int default 1,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(64) NOT NULL,\n\t\tsample_sql TEXT NOT NULL,\n\t\tsql_digest varchar(64) NOT NULL,\n\t\tplan_digest varchar(64) NOT NULL,\n\t\ttidb_server varchar(512),\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(start_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2025/04/04 12:45:35.679 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:35.679 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS `mysql`.`tidb_timers` (\n\t\tID BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tNAMESPACE VARCHAR(256) NOT NULL,\n\t\tTIMER_KEY VARCHAR(256) NOT NULL,\n\t\tTIMER_DATA BLOB,\n\t\tTIMEZONE VARCHAR(64) NOT NULL,\n\t\tSCHED_POLICY_TYPE VARCHAR(32) NOT NULL,\n\t\tSCHED_POLICY_EXPR VARCHAR(256) NOT NULL,\n\t\tHOOK_CLASS VARCHAR(64) NOT NULL,\n\t\tWATERMARK TIMESTAMP DEFAULT NULL,\n\t\tENABLE TINYINT(2) NOT NULL,\n\t\tTIMER_EXT JSON NOT NULL,\n\t\tEVENT_STATUS VARCHAR(32) NOT NULL,\n\t\tEVENT_ID VARCHAR(64) NOT NULL,\n\t\tEVENT_DATA BLOB,\n\t\tEVENT_START TIMESTAMP DEFAULT NULL,\n\t\tSUMMARY_DATA BLOB,\n\t\tCREATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\tUPDATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tVERSION BIGINT(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (ID),\n\t\tUNIQUE KEY timer_key(NAMESPACE, TIMER_KEY),\n\t\tKEY hook_class(HOOK_CLASS)\n\t)"] [2025/04/04 12:45:35.685 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=93] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:35.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.720 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=45] [neededSchemaVersion=46] ["elapsed time"=3.894601ms] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:35.724 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:35.724 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46] [2025/04/04 12:45:35.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=46] ["take time"=10.832956ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.741 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=93] [job="ID:93, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:35.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.760 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=93] [2025/04/04 12:45:35.761 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=46] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS `mysql`.`tidb_timers` (\n\t\tID BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tNAMESPACE VARCHAR(256) NOT NULL,\n\t\tTIMER_KEY VARCHAR(256) NOT NULL,\n\t\tTIMER_DATA BLOB,\n\t\tTIMEZONE VARCHAR(64) NOT NULL,\n\t\tSCHED_POLICY_TYPE VARCHAR(32) NOT NULL,\n\t\tSCHED_POLICY_EXPR VARCHAR(256) NOT NULL,\n\t\tHOOK_CLASS VARCHAR(64) NOT NULL,\n\t\tWATERMARK TIMESTAMP DEFAULT NULL,\n\t\tENABLE TINYINT(2) NOT NULL,\n\t\tTIMER_EXT JSON NOT NULL,\n\t\tEVENT_STATUS VARCHAR(32) NOT NULL,\n\t\tEVENT_ID VARCHAR(64) NOT NULL,\n\t\tEVENT_DATA BLOB,\n\t\tEVENT_START TIMESTAMP DEFAULT NULL,\n\t\tSUMMARY_DATA BLOB,\n\t\tCREATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\tUPDATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tVERSION BIGINT(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (ID),\n\t\tUNIQUE KEY timer_key(NAMESPACE, TIMER_KEY),\n\t\tKEY hook_class(HOOK_CLASS)\n\t)"] [user=] [2025/04/04 12:45:35.776 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.753 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:35.776 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.753 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch_done (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\trecord_id BIGINT(20) not null,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2025/04/04 12:45:35.782 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=95] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:35.753 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.806 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=46] [neededSchemaVersion=47] ["elapsed time"=2.891405ms] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:35.810 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:35.810 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47] [2025/04/04 12:45:35.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=47] ["take time"=10.079597ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.753 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.823 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=95] [job="ID:95, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:35.753 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.838 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=95] [2025/04/04 12:45:35.839 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=47] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch_done (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\trecord_id BIGINT(20) not null,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2025/04/04 12:45:35.851 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.803 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:35.851 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.803 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.dist_framework_meta (\n host VARCHAR(261) NOT NULL PRIMARY KEY,\n role VARCHAR(64),\n cpu_count int default 0,\n keyspace_id bigint(8) NOT NULL DEFAULT -1\n );"] [2025/04/04 12:45:35.857 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=97] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:35.803 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.875 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=47] [neededSchemaVersion=48] ["elapsed time"=1.908546ms] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:35.878 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:35.878 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48] [2025/04/04 12:45:35.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=48] ["take time"=8.616061ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.803 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.890 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=97] [job="ID:97, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:35.803 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.902 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=97] [2025/04/04 12:45:35.903 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=48] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.dist_framework_meta (\n host VARCHAR(261) NOT NULL PRIMARY KEY,\n role VARCHAR(64),\n cpu_count int default 0,\n keyspace_id bigint(8) NOT NULL DEFAULT -1\n );"] [user=] [2025/04/04 12:45:35.917 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.request_unit_by_group (\n\t\tstart_time TIMESTAMP(6) NOT NULL,\n\t\tend_time TIMESTAMP(6) NOT NULL,\n\t\tresource_group VARCHAR(32) NOT null,\n\t\ttotal_ru bigint(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (start_time, end_time, resource_group),\n\t\tKEY (resource_group)\n\t);"] [2025/04/04 12:45:35.918 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:35.923 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=99] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:35.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.942 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=48] [neededSchemaVersion=49] ["elapsed time"=2.172058ms] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:35.945 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:35.945 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49] [2025/04/04 12:45:35.947 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=49] ["take time"=8.838369ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.957 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=99] [job="ID:99, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:35.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.970 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=99] [2025/04/04 12:45:35.970 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=49] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.request_unit_by_group (\n\t\tstart_time TIMESTAMP(6) NOT NULL,\n\t\tend_time TIMESTAMP(6) NOT NULL,\n\t\tresource_group VARCHAR(32) NOT null,\n\t\ttotal_ru bigint(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (start_time, end_time, resource_group),\n\t\tKEY (resource_group)\n\t);"] [user=] [2025/04/04 12:45:35.971 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(524288) to MEDIUMBLOB"] [category=ddl] [2025/04/04 12:45:35.983 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:35.983 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_pitr_id_map (\n\t\trestored_ts BIGINT NOT NULL,\n\t\tupstream_cluster_id BIGINT NOT NULL,\n\t\tsegment_id BIGINT NOT NULL,\n\t\tid_map BLOB(524288) NOT NULL,\n\t\tupdate_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (restored_ts, upstream_cluster_id, segment_id));"] [2025/04/04 12:45:35.989 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=101] [job="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:35.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.007 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=49] [neededSchemaVersion=50] ["elapsed time"=2.117144ms] [gotSchemaVersion=50] [phyTblIDs="[100]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:36.011 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:36.011 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50] [2025/04/04 12:45:36.012 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=50] ["take time"=8.690357ms] [job="ID:101, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:100, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.022 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=101] [job="ID:101, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:100, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:35.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.035 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=101] [2025/04/04 12:45:36.036 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=50] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_pitr_id_map (\n\t\trestored_ts BIGINT NOT NULL,\n\t\tupstream_cluster_id BIGINT NOT NULL,\n\t\tsegment_id BIGINT NOT NULL,\n\t\tid_map BLOB(524288) NOT NULL,\n\t\tupdate_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (restored_ts, upstream_cluster_id, segment_id));"] [user=] [2025/04/04 12:45:36.046 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:103, Type:create schema, State:queueing, SchemaState:none, SchemaID:102, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:36.046 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:103, Type:create schema, State:queueing, SchemaState:none, SchemaID:102, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE IF NOT EXISTS sys;"] [2025/04/04 12:45:36.052 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=103] [job="ID:103, Type:create schema, State:queueing, SchemaState:none, SchemaID:102, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:36.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.063 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=50] [neededSchemaVersion=51] ["elapsed time"=611.6µs] [gotSchemaVersion=51] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 12:45:36.066 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:36.067 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51] [2025/04/04 12:45:36.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=51] ["take time"=6.995511ms] [job="ID:103, Type:create schema, State:done, SchemaState:public, SchemaID:102, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.076 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=103] [job="ID:103, Type:create schema, State:synced, SchemaState:public, SchemaID:102, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:36.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.086 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=103] [2025/04/04 12:45:36.086 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=51] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS sys;"] [user=] [2025/04/04 12:45:36.099 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:105, Type:create view, State:queueing, SchemaState:none, SchemaID:102, TableID:104, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:36.099 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:105, Type:create view, State:queueing, SchemaState:none, SchemaID:102, TableID:104, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE OR REPLACE VIEW sys.schema_unused_indexes AS\n\t\tSELECT\n\t\t\ttable_schema as object_schema,\n\t\t\ttable_name as object_name,\n\t\t\tindex_name\n\t\tFROM information_schema.cluster_tidb_index_usage\n\t\tWHERE\n\t\t\ttable_schema not in ('sys', 'mysql', 'INFORMATION_SCHEMA', 'PERFORMANCE_SCHEMA') and\n\t\t\tindex_name != 'PRIMARY'\n\t\tGROUP BY table_schema, table_name, index_name\n\t\tHAVING\n\t\t\tsum(last_access_time) is null;"] [2025/04/04 12:45:36.105 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=105] [job="ID:105, Type:create view, State:queueing, SchemaState:none, SchemaID:102, TableID:104, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:36.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.123 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=51] [neededSchemaVersion=52] ["elapsed time"=1.664552ms] [gotSchemaVersion=52] [phyTblIDs="[104]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2025/04/04 12:45:36.126 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:36.126 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=105] [version=52] [2025/04/04 12:45:36.128 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=52] ["take time"=8.080605ms] [job="ID:105, Type:create view, State:done, SchemaState:public, SchemaID:102, TableID:104, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.138 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=105] [job="ID:105, Type:create view, State:synced, SchemaState:public, SchemaID:102, TableID:104, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:36.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.149 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=105] [2025/04/04 12:45:36.161 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/04 12:45:36.161 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 12:45:36.161 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 12:45:36.161 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:45:36.165 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:106, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.153 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:36.165 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:106, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.153 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.index_advisor_results (\n id bigint primary key not null auto_increment,\n created_at datetime not null,\n updated_at datetime not null,\n\n schema_name varchar(64) not null,\n table_name varchar(64) not null,\n index_name varchar(127) not null,\n index_columns varchar(500) not null COMMENT 'split by \",\", e.g. \"c1\", \"c1,c2\", \"c1,c2,c3,c4,c5\"',\n\n index_details json, -- est_index_size, reason, DDL to create this index, ...\n top_impacted_queries json, -- improvement, plan before and after this index, ...\n workload_impact json, -- improvement and more details, ...\n extra json, -- for the cloud env to save more info like RU, cost_saving, ...\n index idx_create(created_at),\n index idx_update(updated_at),\n unique index idx(schema_name, table_name, index_columns));"] [2025/04/04 12:45:36.171 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=107] [job="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:106, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:36.153 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.197 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=52] [neededSchemaVersion=53] ["elapsed time"=3.171543ms] [gotSchemaVersion=53] [phyTblIDs="[106]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:36.200 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:36.201 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=107] [version=53] [2025/04/04 12:45:36.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=53] ["take time"=9.61282ms] [job="ID:107, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:106, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.153 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.214 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=107] [job="ID:107, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:106, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:36.153 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.230 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=107] [2025/04/04 12:45:36.230 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=53] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.index_advisor_results (\n id bigint primary key not null auto_increment,\n created_at datetime not null,\n updated_at datetime not null,\n\n schema_name varchar(64) not null,\n table_name varchar(64) not null,\n index_name varchar(127) not null,\n index_columns varchar(500) not null COMMENT 'split by \",\", e.g. \"c1\", \"c1,c2\", \"c1,c2,c3,c4,c5\"',\n\n index_details json, -- est_index_size, reason, DDL to create this index, ...\n top_impacted_queries json, -- improvement, plan before and after this index, ...\n workload_impact json, -- improvement and more details, ...\n extra json, -- for the cloud env to save more info like RU, cost_saving, ...\n index idx_create(created_at),\n index idx_update(updated_at),\n unique index idx(schema_name, table_name, index_columns));"] [user=] [2025/04/04 12:45:36.244 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:108, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:36.244 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:108, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_kernel_options (\n module varchar(128),\n name varchar(128),\n value varchar(128),\n updated_at datetime,\n status varchar(128),\n description text,\n primary key(module, name));"] [2025/04/04 12:45:36.250 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=109] [job="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:108, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:36.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.269 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=53] [neededSchemaVersion=54] ["elapsed time"=2.274965ms] [gotSchemaVersion=54] [phyTblIDs="[108]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:36.273 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:36.273 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=109] [version=54] [2025/04/04 12:45:36.274 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=54] ["take time"=9.238101ms] [job="ID:109, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:108, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.285 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=109] [job="ID:109, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:108, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:36.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.297 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=109] [2025/04/04 12:45:36.298 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=54] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_kernel_options (\n module varchar(128),\n name varchar(128),\n value varchar(128),\n updated_at datetime,\n status varchar(128),\n description text,\n primary key(module, name));"] [user=] [2025/04/04 12:45:36.312 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:111, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:110, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.303 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:36.312 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:111, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:110, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.303 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_workload_values (\n\t\tid bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tversion bigint(20) NOT NULL,\n\t\tcategory varchar(64) NOT NULL,\n\t\ttype varchar(64) NOT NULL,\n\t\ttable_id bigint(20) NOT NULL,\n\t\tvalue json NOT NULL,\n\t\tindex idx_version_category_type (version, category, type),\n\t\tindex idx_table_id (table_id));"] [2025/04/04 12:45:36.318 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=111] [job="ID:111, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:110, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:36.303 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.338 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=54] [neededSchemaVersion=55] ["elapsed time"=2.362551ms] [gotSchemaVersion=55] [phyTblIDs="[110]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:36.341 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:36.341 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=111] [version=55] [2025/04/04 12:45:36.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=55] ["take time"=9.051193ms] [job="ID:111, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:110, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.303 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.353 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=111] [job="ID:111, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:110, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:36.303 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.367 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=111] [2025/04/04 12:45:36.367 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=55] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_workload_values (\n\t\tid bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tversion bigint(20) NOT NULL,\n\t\tcategory varchar(64) NOT NULL,\n\t\ttype varchar(64) NOT NULL,\n\t\ttable_id bigint(20) NOT NULL,\n\t\tvalue json NOT NULL,\n\t\tindex idx_version_category_type (version, category, type),\n\t\tindex idx_table_id (table_id));"] [user=] [2025/04/04 12:45:36.508 +00:00] [INFO] [bootstrap.go:823] ["bootstrap successful"] ["take time"=4.351950827s] [2025/04/04 12:45:36.511 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 12:45:36.511 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 12:45:36.511 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=48c94a1c-62ad-4f97-89d6-5c65e5765e43] [] [2025/04/04 12:45:36.511 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=48c94a1c-62ad-4f97-89d6-5c65e5765e43] [2025/04/04 12:45:36.511 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:45:36.511 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:45:36.511 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 6, tp general"] ["take time"=49.309µs] [2025/04/04 12:45:36.511 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 7, tp general"] ["take time"=28.508µs] [2025/04/04 12:45:36.511 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 8, tp general"] ["take time"=30.057µs] [2025/04/04 12:45:36.512 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 9, tp general"] ["take time"=27.687µs] [2025/04/04 12:45:36.512 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 10, tp general"] ["take time"=27.074µs] [2025/04/04 12:45:36.512 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 1, tp general"] ["take time"=28.744µs] [2025/04/04 12:45:36.512 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 2, tp general"] ["take time"=25.572µs] [2025/04/04 12:45:36.512 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 3, tp general"] ["take time"=24.714µs] [2025/04/04 12:45:36.512 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 4, tp general"] ["take time"=26.819µs] [2025/04/04 12:45:36.512 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 5, tp general"] ["take time"=33.074µs] [2025/04/04 12:45:36.512 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=48c94a1c-62ad-4f97-89d6-5c65e5765e43] [2025/04/04 12:45:36.512 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=48c94a1c-62ad-4f97-89d6-5c65e5765e43] [2025/04/04 12:45:36.513 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 12:45:36.513 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 12:45:36.523 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=48c94a1c-62ad-4f97-89d6-5c65e5765e43] ["take time"=12.078803ms] [2025/04/04 12:45:36.523 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=48c94a1c-62ad-4f97-89d6-5c65e5765e43] [2025/04/04 12:45:36.524 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=71] [2025/04/04 12:45:36.524 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=566d5861-aae3-4856-9b2c-566bc9612f90] [] [2025/04/04 12:45:36.524 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 12:45:36.524 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 12:45:36.524 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:45:36.524 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 12:45:36.524 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 12:45:36.524 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 12:45:36.524 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 12:45:36.524 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=566d5861-aae3-4856-9b2c-566bc9612f90] [2025/04/04 12:45:36.524 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:45:36.524 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:45:36.524 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:45:36.524 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 12:45:36.524 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=566d5861-aae3-4856-9b2c-566bc9612f90] [2025/04/04 12:45:36.524 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:45:36.524 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=566d5861-aae3-4856-9b2c-566bc9612f90] [2025/04/04 12:45:36.525 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=566d5861-aae3-4856-9b2c-566bc9612f90] [daemon-id=LogBackup::Advancer] [2025/04/04 12:45:36.525 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 12:45:36.525 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 12:45:36.525 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 12:45:36.525 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:45:36.525 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:45:36.526 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 12:45:36.526 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:45:36.529 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=18.57207ms] [2025/04/04 12:45:36.530 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489437824916082696] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 12:45:36.544 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 12:45:36.583 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1159] ["lease id"=22319600d42ea0d6] [2025/04/04 12:45:36.585 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/04 12:45:36.704 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=55] ["elapsed time"=116.61604ms] [2025/04/04 12:45:36.704 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 12:45:36.713 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=48c94a1c-62ad-4f97-89d6-5c65e5765e43] [runWorker=true] [jobVersion=v2] [2025/04/04 12:45:36.713 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 12:45:36.715 +00:00] [INFO] [manager.go:294] ["start campaign owner with existing session"] [key=/tidb/ddl/fg/owner] [id=48c94a1c-62ad-4f97-89d6-5c65e5765e43] [lease=3eaa9600d42e9dff] [2025/04/04 12:45:36.715 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 12:45:36.716 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 225554464768/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 12:45:36.716 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:45:36.716 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:45:36.716 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:45:36.716 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:45:36.716 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:45:36.716 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:45:36.716 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:45:36.716 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:45:36.716 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 12:45:36.716 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:45:36.716 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:45:36.716 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 12:45:36.716 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=760c2882-1464-4130-9995-29922537ab98] [2025/04/04 12:45:36.718 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9600d42e9dff] [ownerID=48c94a1c-62ad-4f97-89d6-5c65e5765e43] [op=none] [2025/04/04 12:45:36.718 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=48c94a1c-62ad-4f97-89d6-5c65e5765e43] [2025/04/04 12:45:36.718 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=48c94a1c-62ad-4f97-89d6-5c65e5765e43] [ownerKey=/tidb/ddl/fg/owner/3eaa9600d42e9dff] [currRev=273] [2025/04/04 12:45:36.719 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:45:36.719 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=760c2882-1464-4130-9995-29922537ab98] [daemon-id=LogBackup::Advancer] [2025/04/04 12:45:36.719 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 12:45:36.719 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f189600d42e9e5e] [ownerID=760c2882-1464-4130-9995-29922537ab98] [op=none] [2025/04/04 12:45:36.719 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=760c2882-1464-4130-9995-29922537ab98] [2025/04/04 12:45:36.720 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=760c2882-1464-4130-9995-29922537ab98] [ownerKey=/tidb/br-stream/owner/6f189600d42e9e5e] [currRev=274] [2025/04/04 12:45:36.720 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9600d42e9dff] [ownerID=48c94a1c-62ad-4f97-89d6-5c65e5765e43] [op=none] [2025/04/04 12:45:36.720 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=48c94a1c-62ad-4f97-89d6-5c65e5765e43] [op=none] [2025/04/04 12:45:36.720 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 12:45:36.727 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=48c94a1c-62ad-4f97-89d6-5c65e5765e43] [2025/04/04 12:45:36.728 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:45:36.728 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 12:45:36.730 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/bindinfo/owner] ["owner key"=/tidb/bindinfo/owner/22319600d42ea0de] [ownerID=48c94a1c-62ad-4f97-89d6-5c65e5765e43] [op=none] [2025/04/04 12:45:36.730 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/bindinfo/owner] [id=48c94a1c-62ad-4f97-89d6-5c65e5765e43] [2025/04/04 12:45:36.730 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/bindinfo/owner] [id=48c94a1c-62ad-4f97-89d6-5c65e5765e43] [ownerKey=/tidb/bindinfo/owner/22319600d42ea0de] [currRev=275] [2025/04/04 12:45:36.735 +00:00] [INFO] [sysvar.go:3019] ["set resource control"] [enable=true] [2025/04/04 12:45:36.739 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 12:45:36.739 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:45:36.746 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:45:36.753 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:45:36.753 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:45:36.753 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 12:45:36.753 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:45:36.753 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:45:36.754 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 12:45:36.754 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 12:45:36.754 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 12:45:36.754 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 12:45:36.754 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:45:36.754 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=48c94a1c-62ad-4f97-89d6-5c65e5765e43] [2025/04/04 12:45:36.755 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:45:36.755 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:45:36.755 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:45:36.755 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:45:36.755 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:45:36.755 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 12:45:36.755 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 12:45:36.756 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:45:36.756 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:45:36.756 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:45:36.756 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=10] [2025/04/04 12:45:36.756 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:45:36.756 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:45:36.756 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:45:36.756 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:45:36.757 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/6f189600d42e9e65] [ownerID=48c94a1c-62ad-4f97-89d6-5c65e5765e43] [op=none] [2025/04/04 12:45:36.757 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=48c94a1c-62ad-4f97-89d6-5c65e5765e43] [2025/04/04 12:45:36.757 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=48c94a1c-62ad-4f97-89d6-5c65e5765e43] [ownerKey=/tidb/stats/owner/6f189600d42e9e65] [currRev=276] [2025/04/04 12:45:36.758 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/04 12:45:36.761 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/91836528-433b-428b-a14d-cf24c3a287df] [2025/04/04 12:45:36.761 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=48c94a1c-62ad-4f97-89d6-5c65e5765e43] [ttl-worker=task-manager] [ttl-worker=48c94a1c-62ad-4f97-89d6-5c65e5765e43] [originalCount=0] [newCount=4] [2025/04/04 12:45:36.761 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=48c94a1c-62ad-4f97-89d6-5c65e5765e43] [ttl-worker=task-manager] [ttl-worker=48c94a1c-62ad-4f97-89d6-5c65e5765e43] [originalCount=0] [newCount=4] [2025/04/04 12:45:36.761 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=48c94a1c-62ad-4f97-89d6-5c65e5765e43] [2025/04/04 12:45:36.762 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 12:45:36.769 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:45:36.769 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 12:45:36.770 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743770736770229816 [2025/04/04 12:45:36.771 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 12:45:36.778 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=23.217185ms] [2025/04/04 12:45:36.778 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 12:45:36.778 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:45:36.789 +00:00] [INFO] [set.go:172] ["set global var"] [conn=1] [name=innodb_lock_wait_timeout] [val=50] testkit.go:123: RefreshSession rand seed: 1743770736791328679 === RUN TestImportInto/TestGlobalSortBasic [2025/04/04 12:45:36.795 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=55] [cur_db=] [sql="drop database if exists gsort_basic"] [user=] [2025/04/04 12:45:36.806 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:113, Type:create schema, State:queueing, SchemaState:none, SchemaID:112, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.753 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:36.806 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:113, Type:create schema, State:queueing, SchemaState:none, SchemaID:112, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.753 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database gsort_basic"] [2025/04/04 12:45:36.812 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=113] [conn=2] [job="ID:113, Type:create schema, State:queueing, SchemaState:none, SchemaID:112, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:36.753 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.826 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=55] [neededSchemaVersion=56] ["elapsed time"=675.775µs] [gotSchemaVersion=56] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 12:45:36.830 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=113] [version=56] [2025/04/04 12:45:36.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=56] ["take time"=7.982919ms] [job="ID:113, Type:create schema, State:done, SchemaState:public, SchemaID:112, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.753 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.842 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=113] [conn=2] [job="ID:113, Type:create schema, State:synced, SchemaState:public, SchemaID:112, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:36.753 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.860 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=113] [2025/04/04 12:45:36.860 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=56] [cur_db=] [sql="create database gsort_basic"] [user=] [2025/04/04 12:45:36.874 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:115, Type:create table, State:queueing, SchemaState:none, SchemaID:112, TableID:114, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:36.874 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:115, Type:create table, State:queueing, SchemaState:none, SchemaID:112, TableID:114, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint primary key, b varchar(100), c varchar(100), d int,\n\t\tkey(a), key(c,d), key(d));"] [2025/04/04 12:45:36.881 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=115] [conn=2] [job="ID:115, Type:create table, State:queueing, SchemaState:none, SchemaID:112, TableID:114, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:36.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.887 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 114, Table Name: t)"] [2025/04/04 12:45:36.908 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=56] [neededSchemaVersion=57] ["elapsed time"=2.202597ms] [gotSchemaVersion=57] [phyTblIDs="[114]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:36.911 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=115] [version=57] [2025/04/04 12:45:36.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=57] ["take time"=9.081777ms] [job="ID:115, Type:create table, State:done, SchemaState:public, SchemaID:112, TableID:114, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.925 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=115] [conn=2] [job="ID:115, Type:create table, State:synced, SchemaState:public, SchemaID:112, TableID:114, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:36.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.937 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=115] [2025/04/04 12:45:36.937 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=57] [cur_db=gsort_basic] [sql="create table t (a bigint primary key, b varchar(100), c varchar(100), d int,\n\t\tkey(a), key(c,d), key(d));"] [user=] [2025/04/04 12:45:37.144 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:37.144 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:37.163 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:37.196 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://gs-basic/t.*.csv?endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F\",\"format\":\"csv\",\"options\":{\"__max_engine_size\":\"1\",\"cloud_storage_uri\":\"gs://sorted/import?access-key=xxxxxx\\u0026endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F\\u0026secret-access-key=xxxxxx\"}}"] [dist-task-enabled=true] [2025/04/04 12:45:37.227 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=1] [task-id=1] [data-size=96B] [thread-cnt=8] [global-sort=true] [2025/04/04 12:45:37.729 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/04 12:45:37.729 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 12:45:37.729 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 12:45:37.729 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:45:37.761 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/04 12:45:37.761 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/04 12:45:37.761 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/91836528-433b-428b-a14d-cf24c3a287df] [watcherID=14fc8be1-74aa-4783-9653-d052fca29a39] [2025/04/04 12:45:37.770 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/04 12:45:37.774 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/04 12:45:37.774 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/04 12:45:37.774 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/04 12:45:37.774 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/04 12:45:37.790 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=1] [2025/04/04 12:45:37.790 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/04 12:45:37.892 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=encode] [2025/04/04 12:45:37.894 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:45:37.896 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=1] [curr-step=init] [next-step=encode] [2025/04/04 12:45:37.905 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:37.905 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:37.908 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 12:45:37.908 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=1] [after=1] [2025/04/04 12:45:37.908 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=2] [MaxChunkSize=268435456] [RegionsCount=2] [BatchSize=1] [cost=90.65µs] [2025/04/04 12:45:37.908 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=228.309µs] [] [2025/04/04 12:45:37.909 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:37.909 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:37.917 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=1] [curr-step=init] [next-step=encode] [subtask-count=2] [2025/04/04 12:45:37.917 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=encode] [concurrency=8] [subtasks=2] [2025/04/04 12:45:37.952 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=1] [type=ImportInto] [concurrency=8] [remaining-slots=8] [2025/04/04 12:45:37.973 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=1] [step=encode] [2025/04/04 12:45:37.973 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:37.974 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:37.975 +00:00] [INFO] [table_import.go:119] ["import dir not exists, create it"] [table=t] [import_dir=/tmp/tidb/import-4000] [2025/04/04 12:45:37.982 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:45:37.982 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437824916082696] [2025/04/04 12:45:37.983 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:45:37.983 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:45:37.983 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:45:37.983 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:45:37.983 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:45:37.983 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:45:37.984 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:45:37.984 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:45:37.998 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:45:38.000 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 12:45:38.000 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 12:45:38.000 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=1] [step=encode] [data-buf-limit=512MiB] [per-index-buf-limit=170.7MiB] [index-buf-block-size=16MiB] [2025/04/04 12:45:38.000 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [step=encode] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [2025/04/04 12:45:38.005 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=1] [2025/04/04 12:45:38.008 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [subtaskID=1] [step=encode] [2025/04/04 12:45:38.008 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=1] [step=encode] [subtask-id=1] [2025/04/04 12:45:38.011 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/ab886e75-4978-47b6-b167-6e2b74b7ce4a] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:38.011 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/c153d0c8-8085-47f4-abdb-32eb1d98ddec] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:38.011 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/b857dd10-be2a-416a-99c8-f4865d58cab4] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:38.011 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/48c09053-d0ab-42aa-8a11-812dfc2d2947] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:38.011 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/ef7caa43-cf31-472e-9afe-199b046e420c] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:38.011 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/2da74788-503e-48dd-8adf-002a3e7628a2] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:38.011 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/c08757f2-c894-46f7-93ff-1bcad5605240] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:38.011 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=114] [2025/04/04 12:45:38.013 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=114] [key=t.1.csv:0] [2025/04/04 12:45:38.016 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=114] [key=t.1.csv:0] [readDur=1.097491ms] [encodeDur=246.189µs] [checksum="{cksum=5544494089301268680,size=556,kvs=12}"] [deliverDur=752.587µs] [type=file] [takeTime=2.479613ms] [] [2025/04/04 12:45:38.020 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/a1673bcd-e641-46ef-a4be-beb33ea63882] [sequence-number=0] [bytes=179] [stat-size=74] [write-time=4.592833ms] [write-speed(bytes/s)=38.06KiB] [2025/04/04 12:45:38.021 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/a1673bcd-e641-46ef-a4be-beb33ea63882] [sequence-number=0] [bytes=179] [kv-cnt=3] [sort-time=4.184µs] [write-time=4.74333ms] [sort-speed(kv/s)=717017.2084] [writer-id=data/a1673bcd-e641-46ef-a4be-beb33ea63882] [2025/04/04 12:45:38.021 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/a1673bcd-e641-46ef-a4be-beb33ea63882] [kv-cnt-cap=4] [minKey=7480000000000000725f728000000000000001] [maxKey=7480000000000000725f728000000000000003] [2025/04/04 12:45:38.025 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/a1673bcd-e641-46ef-a4be-beb33ea63882] [sequence-number=0] [bytes=162] [stat-size=110] [write-time=3.825079ms] [write-speed(bytes/s)=41.36KiB] [2025/04/04 12:45:38.025 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/a1673bcd-e641-46ef-a4be-beb33ea63882] [sequence-number=0] [bytes=162] [kv-cnt=3] [sort-time=2.838µs] [write-time=3.955389ms] [sort-speed(kv/s)=1057082.4524] [writer-id=index/1/a1673bcd-e641-46ef-a4be-beb33ea63882] [2025/04/04 12:45:38.025 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/a1673bcd-e641-46ef-a4be-beb33ea63882] [kv-cnt-cap=4] [minKey=7480000000000000725f698000000000000001038000000000000001038000000000000001] [maxKey=7480000000000000725f698000000000000001038000000000000003038000000000000003] [2025/04/04 12:45:38.044 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/2/a1673bcd-e641-46ef-a4be-beb33ea63882] [sequence-number=0] [bytes=245] [stat-size=130] [write-time=18.662782ms] [write-speed(bytes/s)=12.82KiB] [2025/04/04 12:45:38.044 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/2/a1673bcd-e641-46ef-a4be-beb33ea63882] [sequence-number=0] [bytes=245] [kv-cnt=3] [sort-time=3.17µs] [write-time=18.768795ms] [sort-speed(kv/s)=946372.2397] [writer-id=index/2/a1673bcd-e641-46ef-a4be-beb33ea63882] [2025/04/04 12:45:38.044 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/2/a1673bcd-e641-46ef-a4be-beb33ea63882] [kv-cnt-cap=4] [minKey=7480000000000000725f698000000000000002016261723100000000fb03800000000000007b038000000000000001] [maxKey=7480000000000000725f698000000000000002016261723300000000fb038000000000000315038000000000000003] [2025/04/04 12:45:38.053 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/3/a1673bcd-e641-46ef-a4be-beb33ea63882] [sequence-number=0] [bytes=162] [stat-size=110] [write-time=9.332682ms] [write-speed(bytes/s)=16.95KiB] [2025/04/04 12:45:38.053 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/3/a1673bcd-e641-46ef-a4be-beb33ea63882] [sequence-number=0] [bytes=162] [kv-cnt=3] [sort-time=2.859µs] [write-time=9.463042ms] [sort-speed(kv/s)=1049317.9433] [writer-id=index/3/a1673bcd-e641-46ef-a4be-beb33ea63882] [2025/04/04 12:45:38.053 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/3/a1673bcd-e641-46ef-a4be-beb33ea63882] [kv-cnt-cap=4] [minKey=7480000000000000725f69800000000000000303800000000000007b038000000000000001] [maxKey=7480000000000000725f698000000000000003038000000000000315038000000000000003] [2025/04/04 12:45:38.053 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=1] [step=encode] [engine-id=0] [2025/04/04 12:45:38.065 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=1] [step=encode] [subtask-id=1] [takeTime=56.958179ms] [] [2025/04/04 12:45:38.065 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [subtaskID=1] [step=encode] [takeTime=57.151277ms] [] [2025/04/04 12:45:38.087 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [subtaskID=2] [step=encode] [2025/04/04 12:45:38.087 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=1] [step=encode] [subtask-id=2] [2025/04/04 12:45:38.089 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/e2339698-4992-42c7-b24e-772f90f4a754] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:38.089 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/74314e9c-a399-4ea9-92dd-875dc2cc6012] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:38.089 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/871426c9-fa54-4c07-8263-8d25ef280e41] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:38.089 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/a7b324d1-d94d-4155-891d-5d766d0440f4] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:38.089 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/eb6e71d9-9112-4b83-a110-a771c6419089] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:38.089 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/af31ba9d-4392-41a1-8833-0bcca579a166] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:38.089 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/9d736a50-e87d-451a-81b1-14f40f619232] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:38.089 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=114] [2025/04/04 12:45:38.092 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=114] [key=t.2.csv:0] [2025/04/04 12:45:38.135 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=114] [key=t.2.csv:0] [readDur=886.139µs] [encodeDur=308.141µs] [checksum="{cksum=17440827801518230997,size=556,kvs=12}"] [deliverDur=42.21883ms] [type=file] [takeTime=43.644764ms] [] [2025/04/04 12:45:38.155 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/166293a6-866d-4c96-bacd-8f2feaf2077e] [sequence-number=0] [bytes=179] [stat-size=74] [write-time=19.534769ms] [write-speed(bytes/s)=8.948KiB] [2025/04/04 12:45:38.155 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/166293a6-866d-4c96-bacd-8f2feaf2077e] [sequence-number=0] [bytes=179] [kv-cnt=3] [sort-time=3.503µs] [write-time=19.660463ms] [sort-speed(kv/s)=856408.7925] [writer-id=data/166293a6-866d-4c96-bacd-8f2feaf2077e] [2025/04/04 12:45:38.155 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/166293a6-866d-4c96-bacd-8f2feaf2077e] [kv-cnt-cap=4] [minKey=7480000000000000725f728000000000000004] [maxKey=7480000000000000725f728000000000000006] [2025/04/04 12:45:38.159 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/166293a6-866d-4c96-bacd-8f2feaf2077e] [sequence-number=0] [bytes=162] [stat-size=110] [write-time=3.946713ms] [write-speed(bytes/s)=40.08KiB] [2025/04/04 12:45:38.159 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/166293a6-866d-4c96-bacd-8f2feaf2077e] [sequence-number=0] [bytes=162] [kv-cnt=3] [sort-time=3.63µs] [write-time=4.076192ms] [sort-speed(kv/s)=826446.2810] [writer-id=index/1/166293a6-866d-4c96-bacd-8f2feaf2077e] [2025/04/04 12:45:38.159 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/166293a6-866d-4c96-bacd-8f2feaf2077e] [kv-cnt-cap=4] [minKey=7480000000000000725f698000000000000001038000000000000004038000000000000004] [maxKey=7480000000000000725f698000000000000001038000000000000006038000000000000006] [2025/04/04 12:45:38.163 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/2/166293a6-866d-4c96-bacd-8f2feaf2077e] [sequence-number=0] [bytes=245] [stat-size=130] [write-time=3.71805ms] [write-speed(bytes/s)=64.35KiB] [2025/04/04 12:45:38.163 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/2/166293a6-866d-4c96-bacd-8f2feaf2077e] [sequence-number=0] [bytes=245] [kv-cnt=3] [sort-time=2.623µs] [write-time=3.825287ms] [sort-speed(kv/s)=1143728.5551] [writer-id=index/2/166293a6-866d-4c96-bacd-8f2feaf2077e] [2025/04/04 12:45:38.163 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/2/166293a6-866d-4c96-bacd-8f2feaf2077e] [kv-cnt-cap=4] [minKey=7480000000000000725f698000000000000002016261723400000000fb03800000000000007b038000000000000004] [maxKey=7480000000000000725f698000000000000002016261723600000000fb038000000000000143038000000000000006] [2025/04/04 12:45:38.167 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/3/166293a6-866d-4c96-bacd-8f2feaf2077e] [sequence-number=0] [bytes=162] [stat-size=110] [write-time=3.453298ms] [write-speed(bytes/s)=45.81KiB] [2025/04/04 12:45:38.167 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/3/166293a6-866d-4c96-bacd-8f2feaf2077e] [sequence-number=0] [bytes=162] [kv-cnt=3] [sort-time=3.339µs] [write-time=3.552087ms] [sort-speed(kv/s)=898472.5966] [writer-id=index/3/166293a6-866d-4c96-bacd-8f2feaf2077e] [2025/04/04 12:45:38.167 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/3/166293a6-866d-4c96-bacd-8f2feaf2077e] [kv-cnt-cap=4] [minKey=7480000000000000725f69800000000000000303800000000000007b038000000000000004] [maxKey=7480000000000000725f698000000000000003038000000000000143038000000000000006] [2025/04/04 12:45:38.167 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=1] [step=encode] [engine-id=1] [2025/04/04 12:45:38.170 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=1] [step=encode] [subtask-id=2] [takeTime=82.332639ms] [] [2025/04/04 12:45:38.170 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [subtaskID=2] [step=encode] [takeTime=82.498541ms] [] [2025/04/04 12:45:38.197 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=encode] [next-step=merge-sort] [2025/04/04 12:45:38.199 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:45:38.201 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=1] [curr-step=encode] [next-step=merge-sort] [2025/04/04 12:45:38.207 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:38.208 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:38.212 +00:00] [INFO] [planner.go:366] ["skip merge sort for kv group"] [task-id=1] [kv-group=data] [2025/04/04 12:45:38.212 +00:00] [INFO] [planner.go:366] ["skip merge sort for kv group"] [task-id=1] [kv-group=1] [2025/04/04 12:45:38.212 +00:00] [INFO] [planner.go:366] ["skip merge sort for kv group"] [task-id=1] [kv-group=2] [2025/04/04 12:45:38.212 +00:00] [INFO] [planner.go:366] ["skip merge sort for kv group"] [task-id=1] [kv-group=3] [2025/04/04 12:45:38.212 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:38.213 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:38.215 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=1] [curr-step=encode] [next-step=merge-sort] [subtask-count=0] [2025/04/04 12:45:38.215 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=merge-sort] [concurrency=8] [subtasks=0] [2025/04/04 12:45:38.297 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=merge-sort] [next-step=ingest] [2025/04/04 12:45:38.299 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:45:38.301 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=1] [curr-step=merge-sort] [next-step=ingest] [2025/04/04 12:45:38.311 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [2025/04/04 12:45:38.311 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=1] [step=encode] [2025/04/04 12:45:38.312 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:45:38.312 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:45:38.312 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:45:38.312 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:45:38.312 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:45:38.312 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:45:38.312 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:45:38.312 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:38.312 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:38.312 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-2] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:45:38.312 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:38.312 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:45:38.314 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:45:38.314 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:38.314 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:38.314 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:38.314 +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=314.099639ms] [] [2025/04/04 12:45:38.314 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=1] [type=ImportInto] [2025/04/04 12:45:38.317 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:38.317 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:38.324 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 12:45:38.324 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:45:38.325 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437824916082696] [2025/04/04 12:45:38.326 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:45:38.326 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:45:38.326 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:45:38.326 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:45:38.326 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:45:38.326 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:45:38.327 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:45:38.327 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:45:38.330 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:45:38.330 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:45:38.330 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:45:38.330 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:45:38.330 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:45:38.330 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:45:38.330 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:45:38.331 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:38.331 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:38.330 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-3] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:45:38.331 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:38.331 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:45:38.332 +00:00] [INFO] [planner.go:604] ["split kv range with split size and keys"] [region-split-size=256000000] [region-split-keys=2560000] [range-size=256000000] [range-keys=2560000] [2025/04/04 12:45:38.332 +00:00] [INFO] [split.go:130] ["create range splitter"] [rangesGroupSize=107374182400] [rangesGroupKeyCnt=9223372036854775807] [rangeJobSize=256000000] [rangeJobKeyCnt=2560000] [regionSplitSize=256000000] [regionSplitKeyCnt=2560000] [2025/04/04 12:45:38.335 +00:00] [INFO] [planner.go:469] ["kv range as subtask"] [startKey=7480000000000000725f698000000000000001038000000000000001038000000000000001] [endKey=7480000000000000725f69800000000000000103800000000000000603800000000000000600] [dataFiles=2] [2025/04/04 12:45:38.335 +00:00] [INFO] [split.go:166] ["close range splitter"] [] [2025/04/04 12:45:38.337 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 12:45:38.337 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:45:38.339 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437824916082696] [2025/04/04 12:45:38.339 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:45:38.339 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:45:38.339 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:45:38.339 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:45:38.339 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:45:38.339 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:45:38.340 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:45:38.340 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:45:38.343 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:45:38.343 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:45:38.343 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:45:38.343 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:45:38.344 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:45:38.344 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:45:38.344 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:45:38.344 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:38.344 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:38.344 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-4] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:45:38.344 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:38.344 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:45:38.345 +00:00] [INFO] [planner.go:604] ["split kv range with split size and keys"] [region-split-size=256000000] [region-split-keys=2560000] [range-size=256000000] [range-keys=2560000] [2025/04/04 12:45:38.345 +00:00] [INFO] [split.go:130] ["create range splitter"] [rangesGroupSize=107374182400] [rangesGroupKeyCnt=9223372036854775807] [rangeJobSize=256000000] [rangeJobKeyCnt=2560000] [regionSplitSize=256000000] [regionSplitKeyCnt=2560000] [2025/04/04 12:45:38.348 +00:00] [INFO] [planner.go:469] ["kv range as subtask"] [startKey=7480000000000000725f698000000000000002016261723100000000fb03800000000000007b038000000000000001] [endKey=7480000000000000725f698000000000000002016261723600000000fb03800000000000014303800000000000000600] [dataFiles=2] [2025/04/04 12:45:38.348 +00:00] [INFO] [split.go:166] ["close range splitter"] [] [2025/04/04 12:45:38.351 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 12:45:38.351 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:45:38.352 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437824916082696] [2025/04/04 12:45:38.352 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:45:38.352 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:45:38.353 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:45:38.353 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:45:38.353 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:45:38.353 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:45:38.353 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:45:38.353 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:45:38.357 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:45:38.357 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:45:38.357 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:45:38.357 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:45:38.357 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:45:38.357 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:45:38.357 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:45:38.357 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:38.357 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:38.357 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-5] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:45:38.357 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:38.357 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:45:38.358 +00:00] [INFO] [planner.go:604] ["split kv range with split size and keys"] [region-split-size=256000000] [region-split-keys=2560000] [range-size=256000000] [range-keys=2560000] [2025/04/04 12:45:38.358 +00:00] [INFO] [split.go:130] ["create range splitter"] [rangesGroupSize=107374182400] [rangesGroupKeyCnt=9223372036854775807] [rangeJobSize=256000000] [rangeJobKeyCnt=2560000] [regionSplitSize=256000000] [regionSplitKeyCnt=2560000] [2025/04/04 12:45:38.361 +00:00] [INFO] [planner.go:469] ["kv range as subtask"] [startKey=7480000000000000725f69800000000000000303800000000000007b038000000000000001] [endKey=7480000000000000725f69800000000000000303800000000000031503800000000000000300] [dataFiles=2] [2025/04/04 12:45:38.361 +00:00] [INFO] [split.go:166] ["close range splitter"] [] [2025/04/04 12:45:38.364 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 12:45:38.364 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:45:38.365 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437824916082696] [2025/04/04 12:45:38.365 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:45:38.365 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:45:38.365 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:45:38.365 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:45:38.366 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:45:38.366 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:45:38.366 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:45:38.366 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:45:38.370 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:45:38.370 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:45:38.370 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:45:38.370 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:45:38.370 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:45:38.370 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:45:38.370 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:45:38.370 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:38.370 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-6] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:45:38.370 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:38.370 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:38.370 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:45:38.371 +00:00] [INFO] [planner.go:604] ["split kv range with split size and keys"] [region-split-size=256000000] [region-split-keys=2560000] [range-size=256000000] [range-keys=2560000] [2025/04/04 12:45:38.371 +00:00] [INFO] [split.go:130] ["create range splitter"] [rangesGroupSize=107374182400] [rangesGroupKeyCnt=9223372036854775807] [rangeJobSize=256000000] [rangeJobKeyCnt=2560000] [regionSplitSize=256000000] [regionSplitKeyCnt=2560000] [2025/04/04 12:45:38.374 +00:00] [INFO] [planner.go:469] ["kv range as subtask"] [startKey=7480000000000000725f728000000000000001] [endKey=7480000000000000725f72800000000000000600] [dataFiles=2] [2025/04/04 12:45:38.374 +00:00] [INFO] [split.go:166] ["close range splitter"] [] [2025/04/04 12:45:38.375 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:38.375 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:38.387 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=1] [curr-step=merge-sort] [next-step=ingest] [subtask-count=4] [2025/04/04 12:45:38.387 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=ingest] [concurrency=8] [subtasks=4] [2025/04/04 12:45:38.421 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=1] [type=ImportInto] [concurrency=8] [remaining-slots=8] [2025/04/04 12:45:38.442 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:38.443 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:38.450 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:45:38.450 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437824916082696] [2025/04/04 12:45:38.450 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:45:38.450 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:45:38.450 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:45:38.450 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:45:38.450 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:45:38.450 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:45:38.451 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:45:38.451 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:45:38.462 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:45:38.464 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 12:45:38.464 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 12:45:38.464 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [step=ingest] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [2025/04/04 12:45:38.471 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [subtaskID=3] [step=ingest] [2025/04/04 12:45:38.473 +00:00] [INFO] [task_executor.go:445] ["run subtask start"] [type=ImportInto] [task-id=1] [step=ingest] [subtask-id=3] [kv-group=1] [2025/04/04 12:45:38.473 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:38.474 +00:00] [INFO] [engine.go:196] ["create external engine"] [memLimitForLoadRange=7.385GiB] [2025/04/04 12:45:38.477 +00:00] [INFO] [local.go:886] ["split engine key ranges"] [category=ddl-ingest] [engine=external] [totalSize=107374182400] [totalCount=0] [startKey=7480000000000000725F698000000000000001038000000000000001038000000000000001] [endKey=7480000000000000725F69800000000000000103800000000000000603800000000000000600] [len(keys)=2] [] [2025/04/04 12:45:38.477 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:45:38.499 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=7d2e7e3b-6425-5eaa-bb47-b89a67a6610f] ["region ranges"=1] [count=0] [size=107374182400] [2025/04/04 12:45:38.500 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:45:38.500 +00:00] [INFO] [local.go:916] ["split and scatter ranges start"] [category=ddl-ingest] [uuid=external] [2025/04/04 12:45:38.500 +00:00] [INFO] [client.go:568] ["paginate scan regions"] [count=2] [start=7480000000000000FF725F698000000000FF0000010380000000FF0000000103800000FF0000000001000000FC] [end=7480000000000000FF725F698000000000FF0000010380000000FF0000000603800000FF0000000006000000FE] [2025/04/04 12:45:38.501 +00:00] [INFO] [localhelper.go:89] ["waiting for scattering regions done"] [category=ddl-ingest] [regions=0] [take=3.345µs] [2025/04/04 12:45:38.501 +00:00] [INFO] [local.go:941] ["split and scatter ranges completed"] [category=ddl-ingest] [uuid=external] [takeTime=894.699µs] [] [2025/04/04 12:45:38.501 +00:00] [INFO] [engine.go:443] ["load ingest data"] [batchSize=8] [2025/04/04 12:45:38.501 +00:00] [INFO] [reader.go:44] ["read all data start"] [2025/04/04 12:45:38.501 +00:00] [INFO] [reader.go:45] [arguments] [data-file-count=2] [stat-file-count=2] [start-key=7480000000000000725f698000000000000001038000000000000001038000000000000001] [end-key=7480000000000000725f69800000000000000103800000000000000603800000000000000600] [2025/04/04 12:45:38.501 +00:00] [INFO] [util.go:60] ["seek props offsets start"] [2025/04/04 12:45:38.505 +00:00] [INFO] [util.go:62] ["seek props offsets completed"] [takeTime=3.848988ms] [] [2025/04/04 12:45:38.505 +00:00] [INFO] [engine.go:305] ["estimated file size of this range group"] [totalSize=0B] [2025/04/04 12:45:38.523 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:38.524 +00:00] [INFO] [reader.go:65] ["read all data completed"] [takeTime=22.92984ms] [] [2025/04/04 12:45:38.524 +00:00] [INFO] [engine.go:115] ["building memKVsAndBuffers"] [sumKVCnt=6] [droppedSize=0] [2025/04/04 12:45:38.524 +00:00] [INFO] [engine.go:340] ["reading external storage in loadBatchRegionData"] ["cost time"=23.111399ms] [droppedSize=0] [2025/04/04 12:45:38.524 +00:00] [INFO] [engine.go:366] ["sorting in loadBatchRegionData"] ["cost time"=9.075µs] [2025/04/04 12:45:38.525 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000725f698000000000000001038000000000000001038000000000000001] [endOfAllRanges=7480000000000000725f69800000000000000103800000000000000603800000000000000600] [startKeyOfFirstRegion=7480000000000000ff725f698000000000ff0000010380000000ff0000000103800000ff0000000001000000fc] [endKeyOfLastRegion=7480000000000000ff725f698000000000ff0000010380000000ff0000000603800000ff0000000006000000fd] [2025/04/04 12:45:38.536 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=7d2e7e3b-6425-5eaa-bb47-b89a67a6610f] [size=107374182400] [kvs=0] [importedSize=228] [importedCount=6] [2025/04/04 12:45:38.538 +00:00] [INFO] [task_executor.go:447] ["run subtask completed"] [type=ImportInto] [task-id=1] [step=ingest] [subtask-id=3] [kv-group=1] [takeTime=64.873604ms] [] [2025/04/04 12:45:38.538 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [subtaskID=3] [step=ingest] [takeTime=66.564066ms] [] [2025/04/04 12:45:38.559 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [subtaskID=4] [step=ingest] [2025/04/04 12:45:38.561 +00:00] [INFO] [task_executor.go:445] ["run subtask start"] [type=ImportInto] [task-id=1] [step=ingest] [subtask-id=4] [kv-group=2] [2025/04/04 12:45:38.561 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:38.562 +00:00] [INFO] [engine.go:196] ["create external engine"] [memLimitForLoadRange=7.385GiB] [2025/04/04 12:45:38.566 +00:00] [INFO] [local.go:886] ["split engine key ranges"] [category=ddl-ingest] [engine=external] [totalSize=107374182400] [totalCount=0] [startKey=7480000000000000725F698000000000000002016261723100000000FB03800000000000007B038000000000000001] [endKey=7480000000000000725F698000000000000002016261723600000000FB03800000000000014303800000000000000600] [len(keys)=2] [] [2025/04/04 12:45:38.566 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:45:38.587 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=35a62bba-3aab-5322-b59b-c5bc8baf9c9d] ["region ranges"=1] [count=0] [size=107374182400] [2025/04/04 12:45:38.588 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:45:38.588 +00:00] [INFO] [local.go:916] ["split and scatter ranges start"] [category=ddl-ingest] [uuid=external] [2025/04/04 12:45:38.588 +00:00] [INFO] [client.go:568] ["paginate scan regions"] [count=2] [start=7480000000000000FF725F698000000000FF0000020162617231FF00000000FB038000FF00000000007B0380FF0000000000000100FE] [end=7480000000000000FF725F698000000000FF0000020162617236FF00000000FB038000FF0000000001430380FF0000000000000600FF0000000000000000F8] [2025/04/04 12:45:38.588 +00:00] [INFO] [localhelper.go:89] ["waiting for scattering regions done"] [category=ddl-ingest] [regions=0] [take=3.917µs] [2025/04/04 12:45:38.588 +00:00] [INFO] [local.go:941] ["split and scatter ranges completed"] [category=ddl-ingest] [uuid=external] [takeTime=650.001µs] [] [2025/04/04 12:45:38.588 +00:00] [INFO] [engine.go:443] ["load ingest data"] [batchSize=8] [2025/04/04 12:45:38.589 +00:00] [INFO] [reader.go:44] ["read all data start"] [2025/04/04 12:45:38.589 +00:00] [INFO] [reader.go:45] [arguments] [data-file-count=2] [stat-file-count=2] [start-key=7480000000000000725f698000000000000002016261723100000000fb03800000000000007b038000000000000001] [end-key=7480000000000000725f698000000000000002016261723600000000fb03800000000000014303800000000000000600] [2025/04/04 12:45:38.589 +00:00] [INFO] [util.go:60] ["seek props offsets start"] [2025/04/04 12:45:38.592 +00:00] [INFO] [util.go:62] ["seek props offsets completed"] [takeTime=3.784655ms] [] [2025/04/04 12:45:38.592 +00:00] [INFO] [engine.go:305] ["estimated file size of this range group"] [totalSize=0B] [2025/04/04 12:45:38.596 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:38.597 +00:00] [INFO] [reader.go:65] ["read all data completed"] [takeTime=8.133454ms] [] [2025/04/04 12:45:38.597 +00:00] [INFO] [engine.go:115] ["building memKVsAndBuffers"] [sumKVCnt=6] [droppedSize=0] [2025/04/04 12:45:38.597 +00:00] [INFO] [engine.go:340] ["reading external storage in loadBatchRegionData"] ["cost time"=8.31872ms] [droppedSize=0] [2025/04/04 12:45:38.597 +00:00] [INFO] [engine.go:366] ["sorting in loadBatchRegionData"] ["cost time"=8.87µs] [2025/04/04 12:45:38.598 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000725f698000000000000002016261723100000000fb03800000000000007b038000000000000001] [endOfAllRanges=7480000000000000725f698000000000000002016261723600000000fb03800000000000014303800000000000000600] [startKeyOfFirstRegion=7480000000000000ff725f698000000000ff0000020162617231ff00000000fb038000ff00000000007b0380ff0000000000000100fe] [endKeyOfLastRegion=7480000000000000ff725f698000000000ff0000020162617236ff00000000fb038000ff0000000001430380ff0000000000000600ff0000000000000000f7] [2025/04/04 12:45:38.608 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=35a62bba-3aab-5322-b59b-c5bc8baf9c9d] [size=107374182400] [kvs=0] [importedSize=394] [importedCount=6] [2025/04/04 12:45:38.610 +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.206492ms] [] [2025/04/04 12:45:38.612 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [subtaskID=4] [step=ingest] [takeTime=52.232083ms] [] [2025/04/04 12:45:38.634 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [subtaskID=5] [step=ingest] [2025/04/04 12:45:38.636 +00:00] [INFO] [task_executor.go:445] ["run subtask start"] [type=ImportInto] [task-id=1] [step=ingest] [subtask-id=5] [kv-group=3] [2025/04/04 12:45:38.636 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:38.637 +00:00] [INFO] [engine.go:196] ["create external engine"] [memLimitForLoadRange=7.385GiB] [2025/04/04 12:45:38.642 +00:00] [INFO] [local.go:886] ["split engine key ranges"] [category=ddl-ingest] [engine=external] [totalSize=107374182400] [totalCount=0] [startKey=7480000000000000725F69800000000000000303800000000000007B038000000000000001] [endKey=7480000000000000725F69800000000000000303800000000000031503800000000000000300] [len(keys)=2] [] [2025/04/04 12:45:38.642 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:45:38.664 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=8d2242cb-c9a7-5915-a93a-45927b24759d] ["region ranges"=1] [count=0] [size=107374182400] [2025/04/04 12:45:38.664 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:45:38.664 +00:00] [INFO] [local.go:916] ["split and scatter ranges start"] [category=ddl-ingest] [uuid=external] [2025/04/04 12:45:38.665 +00:00] [INFO] [client.go:568] ["paginate scan regions"] [count=2] [start=7480000000000000FF725F698000000000FF0000030380000000FF0000007B03800000FF0000000001000000FC] [end=7480000000000000FF725F698000000000FF0000030380000000FF0000031503800000FF0000000003000000FE] [2025/04/04 12:45:38.665 +00:00] [INFO] [localhelper.go:89] ["waiting for scattering regions done"] [category=ddl-ingest] [regions=0] [take=4.369µs] [2025/04/04 12:45:38.665 +00:00] [INFO] [local.go:941] ["split and scatter ranges completed"] [category=ddl-ingest] [uuid=external] [takeTime=762.189µs] [] [2025/04/04 12:45:38.665 +00:00] [INFO] [engine.go:443] ["load ingest data"] [batchSize=8] [2025/04/04 12:45:38.665 +00:00] [INFO] [reader.go:44] ["read all data start"] [2025/04/04 12:45:38.665 +00:00] [INFO] [reader.go:45] [arguments] [data-file-count=2] [stat-file-count=2] [start-key=7480000000000000725f69800000000000000303800000000000007b038000000000000001] [end-key=7480000000000000725f69800000000000000303800000000000031503800000000000000300] [2025/04/04 12:45:38.665 +00:00] [INFO] [util.go:60] ["seek props offsets start"] [2025/04/04 12:45:38.669 +00:00] [INFO] [util.go:62] ["seek props offsets completed"] [takeTime=3.536772ms] [] [2025/04/04 12:45:38.669 +00:00] [INFO] [engine.go:305] ["estimated file size of this range group"] [totalSize=0B] [2025/04/04 12:45:38.673 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:38.674 +00:00] [INFO] [reader.go:65] ["read all data completed"] [takeTime=8.57675ms] [] [2025/04/04 12:45:38.674 +00:00] [INFO] [engine.go:115] ["building memKVsAndBuffers"] [sumKVCnt=6] [droppedSize=0] [2025/04/04 12:45:38.674 +00:00] [INFO] [engine.go:340] ["reading external storage in loadBatchRegionData"] ["cost time"=8.739731ms] [droppedSize=0] [2025/04/04 12:45:38.674 +00:00] [INFO] [engine.go:366] ["sorting in loadBatchRegionData"] ["cost time"=9.45µs] [2025/04/04 12:45:38.675 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000725f69800000000000000303800000000000007b038000000000000001] [endOfAllRanges=7480000000000000725f69800000000000000303800000000000031503800000000000000300] [startKeyOfFirstRegion=7480000000000000ff725f698000000000ff0000030380000000ff0000007b03800000ff0000000001000000fc] [endKeyOfLastRegion=7480000000000000ff725f698000000000ff0000030380000000ff0000031503800000ff0000000003000000fd] [2025/04/04 12:45:38.686 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=8d2242cb-c9a7-5915-a93a-45927b24759d] [size=107374182400] [kvs=0] [importedSize=228] [importedCount=6] [2025/04/04 12:45:38.688 +00:00] [INFO] [task_executor.go:447] ["run subtask completed"] [type=ImportInto] [task-id=1] [step=ingest] [subtask-id=5] [kv-group=3] [takeTime=51.505514ms] [] [2025/04/04 12:45:38.688 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [subtaskID=5] [step=ingest] [takeTime=53.186996ms] [] [2025/04/04 12:45:38.712 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [subtaskID=6] [step=ingest] [2025/04/04 12:45:38.714 +00:00] [INFO] [task_executor.go:445] ["run subtask start"] [type=ImportInto] [task-id=1] [step=ingest] [subtask-id=6] [kv-group=data] [2025/04/04 12:45:38.714 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:38.715 +00:00] [INFO] [engine.go:196] ["create external engine"] [memLimitForLoadRange=7.385GiB] [2025/04/04 12:45:38.715 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/04 12:45:38.718 +00:00] [INFO] [local.go:886] ["split engine key ranges"] [category=ddl-ingest] [engine=external] [totalSize=107374182400] [totalCount=0] [startKey=7480000000000000725F728000000000000001] [endKey=7480000000000000725F72800000000000000600] [len(keys)=2] [] [2025/04/04 12:45:38.718 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:45:38.740 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=68c3c0d0-46c6-5523-9dfa-6206622dc2ff] ["region ranges"=1] [count=0] [size=107374182400] [2025/04/04 12:45:38.740 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:45:38.740 +00:00] [INFO] [local.go:916] ["split and scatter ranges start"] [category=ddl-ingest] [uuid=external] [2025/04/04 12:45:38.741 +00:00] [INFO] [client.go:568] ["paginate scan regions"] [count=2] [start=7480000000000000FF725F728000000000FF0000010000000000FA] [end=7480000000000000FF725F728000000000FF0000060000000000FC] [2025/04/04 12:45:38.741 +00:00] [INFO] [localhelper.go:89] ["waiting for scattering regions done"] [category=ddl-ingest] [regions=0] [take=3.59µs] [2025/04/04 12:45:38.741 +00:00] [INFO] [local.go:941] ["split and scatter ranges completed"] [category=ddl-ingest] [uuid=external] [takeTime=729.076µs] [] [2025/04/04 12:45:38.741 +00:00] [INFO] [engine.go:443] ["load ingest data"] [batchSize=8] [2025/04/04 12:45:38.741 +00:00] [INFO] [reader.go:44] ["read all data start"] [2025/04/04 12:45:38.741 +00:00] [INFO] [reader.go:45] [arguments] [data-file-count=2] [stat-file-count=2] [start-key=7480000000000000725f728000000000000001] [end-key=7480000000000000725f72800000000000000600] [2025/04/04 12:45:38.741 +00:00] [INFO] [util.go:60] ["seek props offsets start"] [2025/04/04 12:45:38.745 +00:00] [INFO] [util.go:62] ["seek props offsets completed"] [takeTime=3.780231ms] [] [2025/04/04 12:45:38.745 +00:00] [INFO] [engine.go:305] ["estimated file size of this range group"] [totalSize=0B] [2025/04/04 12:45:38.749 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:38.750 +00:00] [INFO] [reader.go:65] ["read all data completed"] [takeTime=8.411042ms] [] [2025/04/04 12:45:38.750 +00:00] [INFO] [engine.go:115] ["building memKVsAndBuffers"] [sumKVCnt=6] [droppedSize=0] [2025/04/04 12:45:38.750 +00:00] [INFO] [engine.go:340] ["reading external storage in loadBatchRegionData"] ["cost time"=8.59646ms] [droppedSize=0] [2025/04/04 12:45:38.750 +00:00] [INFO] [engine.go:366] ["sorting in loadBatchRegionData"] ["cost time"=9.036µs] [2025/04/04 12:45:38.751 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000725f728000000000000001] [endOfAllRanges=7480000000000000725f72800000000000000600] [startKeyOfFirstRegion=7480000000000000ff725f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7800000000000000fb] [2025/04/04 12:45:38.761 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=68c3c0d0-46c6-5523-9dfa-6206622dc2ff] [size=107374182400] [kvs=0] [importedSize=262] [importedCount=6] [2025/04/04 12:45:38.763 +00:00] [INFO] [task_executor.go:447] ["run subtask completed"] [type=ImportInto] [task-id=1] [step=ingest] [subtask-id=6] [kv-group=data] [takeTime=49.387983ms] [] [2025/04/04 12:45:38.764 +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.074576ms] [] [2025/04/04 12:45:38.798 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=ingest] [next-step=post-process] [2025/04/04 12:45:38.800 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:45:38.802 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=1] [curr-step=ingest] [next-step=post-process] [2025/04/04 12:45:38.824 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=1] [curr-step=ingest] [next-step=post-process] [result="{\"LoadedRowCnt\":6}"] [2025/04/04 12:45:38.827 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=1] [curr-step=ingest] [next-step=post-process] [subtask-count=1] [2025/04/04 12:45:38.827 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/04 12:45:38.849 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [oldStep=ingest] [newStep=post-process] [2025/04/04 12:45:38.856 +00:00] [INFO] [task_executor.go:515] ["cleanup subtask env"] [type=ImportInto] [task-id=1] [step=ingest] [2025/04/04 12:45:38.862 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:45:38.862 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:45:38.862 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:45:38.862 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:45:38.862 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:45:38.862 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:45:38.863 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:45:38.862 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:38.863 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:38.862 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-7] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:45:38.863 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:38.863 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:45:38.864 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:45:38.865 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:38.865 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:38.865 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:38.865 +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=400.516408ms] [] [2025/04/04 12:45:38.867 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [2025/04/04 12:45:38.874 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [subtaskID=7] [step=post-process] [2025/04/04 12:45:38.874 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=7] [2025/04/04 12:45:38.874 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=7] [2025/04/04 12:45:38.874 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=7] [2025/04/04 12:45:38.874 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=7] [takeTime=2.639µs] [] [2025/04/04 12:45:38.874 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=7] [groupId=1] [size=228] [kvs=6] [checksum=5933586680183683] [2025/04/04 12:45:38.874 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=7] [groupId=2] [size=394] [kvs=6] [checksum=1482059515352799067] [2025/04/04 12:45:38.875 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=7] [groupId=3] [size=228] [kvs=6] [checksum=5690150982916384316] [2025/04/04 12:45:38.875 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=7] [groupId=-1] [size=262] [kvs=6] [checksum=16467553292841115641] [2025/04/04 12:45:38.875 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=7] [checksum="{cksum=13761799268116354333,size=1112,kvs=24}"] [2025/04/04 12:45:38.875 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=7] [weight=30] [2025/04/04 12:45:38.875 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=7] [concurrency=15] [2025/04/04 12:45:38.877 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=114] [physicalTableID=114] [indexID=1] [checksum=5933586680183683] [totalKvs=6] [totalBytes=228] [2025/04/04 12:45:38.877 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=114] [physicalTableID=114] [indexID=2] [checksum=1482059515352799067] [totalKvs=6] [totalBytes=394] [2025/04/04 12:45:38.877 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=114] [physicalTableID=114] [indexID=3] [checksum=5690150982916384316] [totalKvs=6] [totalBytes=228] [2025/04/04 12:45:38.877 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=114] [physicalTableID=114] [indexID=-1] [checksum=16467553292841115641] [totalKvs=6] [totalBytes=262] [2025/04/04 12:45:38.878 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 12:45:38.878 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=7] [local="{cksum=13761799268116354333,size=1112,kvs=24}"] [2025/04/04 12:45:38.878 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=7] [takeTime=3.316237ms] [] [2025/04/04 12:45:38.878 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=7] [takeTime=3.490512ms] [] [2025/04/04 12:45:38.878 +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.629062ms] [] [2025/04/04 12:45:38.885 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 12:45:38.897 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 12:45:38.897 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=1] [step=post-process] [state=running] [] [2025/04/04 12:45:38.901 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=1] [2025/04/04 12:45:38.923 +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=56.402565ms] [] [2025/04/04 12:45:38.923 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=1] [type=ImportInto] [2025/04/04 12:45:38.992 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=1] [2025/04/04 12:45:38.998 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 12:45:38.998 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=1] [2025/04/04 12:45:39.000 +00:00] [INFO] [clean_s3.go:55] ["cleanup global sorted data start"] [task-id=1] [2025/04/04 12:45:39.001 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:39.001 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:39.044 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 2.106358221\n# Parse_time: 0.000240072\n# Compile_time: 0.000550695\n# Rewrite_time: 0.000131955\n# Optimize_time: 0.00007713\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('RvBFMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjIuMTFzLCBvcGVuOjY4N25zLCBjbG9zZTo5OTlucywgbG9vcHM6MglOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('YfBMCl0KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWix0aW1lOjIuMTFzLCBvcGVuOjY4N25zLCBjbG9zZTo5OTlucywgbG9vcHM6MnD///8JAzQBeP///////////wEYAQ==')\n# Resource_group: default\nuse gsort_basic;\nIMPORT INTO `gsort_basic`.`t` FROM 'gs://gs-basic/t.*.csv?endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F' WITH __max_engine_size=_UTF8MB4'1', cloud_storage_uri=_UTF8MB4'gs://sorted/import?endpoint=http://127.0.0.1:4443/storage/v1/&access-key=aaaaaa&secret-access-key=bbbbbb';"] [2025/04/04 12:45:39.055 +00:00] [INFO] [clean_s3.go:72] ["cleanup global sorted data completed"] [task-id=1] [takeTime=54.713844ms] [] [2025/04/04 12:45:39.089 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 12:45:39.114 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:117, Type:truncate table, State:queueing, SchemaState:none, SchemaID:112, TableID:114, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:39.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:39.114 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:117, Type:truncate table, State:queueing, SchemaState:none, SchemaID:112, TableID:114, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:39.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table t"] [2025/04/04 12:45:39.119 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=117] [conn=2] [job="ID:117, Type:truncate table, State:queueing, SchemaState:none, SchemaID:112, TableID:114, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:39.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:39.128 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 116, Table Name: t, Old Table ID: 114, Old Table Name: t)"] [2025/04/04 12:45:39.147 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=57] [neededSchemaVersion=58] ["elapsed time"=2.35336ms] [gotSchemaVersion=58] [phyTblIDs="[114,116]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 12:45:39.150 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=117] [version=58] [2025/04/04 12:45:39.152 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=58] ["take time"=9.257668ms] [job="ID:117, Type:truncate table, State:done, SchemaState:public, SchemaID:112, TableID:114, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:39.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:39.163 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=117] [tableIDs="[114]"] [comment="truncate table: table ID"] [2025/04/04 12:45:39.172 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=117] [jobType="truncate table"] [2025/04/04 12:45:39.173 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=117] [conn=2] [job="ID:117, Type:truncate table, State:synced, SchemaState:public, SchemaID:112, TableID:114, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:39.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:39.194 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=117] [2025/04/04 12:45:39.195 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=58] [cur_db=gsort_basic] [sql="truncate table t"] [user=] [2025/04/04 12:45:39.201 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:39.202 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:39.216 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:39.249 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://gs-basic/t.*.csv?endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F\",\"format\":\"csv\",\"options\":{\"__force_merge_step\":null,\"__max_engine_size\":\"1\",\"cloud_storage_uri\":\"gs://sorted/import?access-key=xxxxxx\\u0026endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F\\u0026secret-access-key=xxxxxx\"}}"] [dist-task-enabled=true] [2025/04/04 12:45:39.270 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=2] [task-id=2] [data-size=96B] [thread-cnt=8] [global-sort=true] [2025/04/04 12:45:39.286 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=2] [2025/04/04 12:45:39.287 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/04 12:45:39.389 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=encode] [2025/04/04 12:45:39.391 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:45:39.393 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=2] [curr-step=init] [next-step=encode] [2025/04/04 12:45:39.402 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:39.403 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:39.405 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 12:45:39.405 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=1] [after=1] [2025/04/04 12:45:39.405 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=2] [MaxChunkSize=268435456] [RegionsCount=2] [BatchSize=1] [cost=97.879µs] [2025/04/04 12:45:39.405 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=249.33µs] [] [2025/04/04 12:45:39.406 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:39.407 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:39.413 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=2] [curr-step=init] [next-step=encode] [subtask-count=2] [2025/04/04 12:45:39.413 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=encode] [concurrency=8] [subtasks=2] [2025/04/04 12:45:39.453 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=2] [type=ImportInto] [concurrency=8] [remaining-slots=8] [2025/04/04 12:45:39.474 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=2] [step=encode] [2025/04/04 12:45:39.474 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:39.475 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:39.484 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:45:39.484 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437824916082696] [2025/04/04 12:45:39.484 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:45:39.484 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:45:39.484 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:45:39.485 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:45:39.485 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:45:39.485 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:45:39.485 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:45:39.485 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:45:39.498 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:45:39.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/04 12:45:39.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/04 12:45:39.500 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=2] [step=encode] [data-buf-limit=512MiB] [per-index-buf-limit=170.7MiB] [index-buf-block-size=16MiB] [2025/04/04 12:45:39.500 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [step=encode] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [2025/04/04 12:45:39.501 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=2] [2025/04/04 12:45:39.507 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=8] [step=encode] [2025/04/04 12:45:39.507 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=2] [step=encode] [subtask-id=8] [2025/04/04 12:45:39.510 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/f385d46c-7e35-4bcf-bd41-edb1986c3c26] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:39.510 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/b790e3c9-3f83-4d8e-9d02-516ec0ee01f2] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:39.510 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/133331bf-1ce2-4719-9de2-3eaf2470a436] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:39.510 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/6f7771ad-7b1f-46db-b9ae-7f37c825ceee] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:39.510 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/7ece392b-d43d-40ef-b12e-7e6c2bea5ce5] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:39.510 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/fd1d9e63-83af-42d8-be09-89b43929f956] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:39.510 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=116] [2025/04/04 12:45:39.510 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/386bdd20-f397-466f-b604-09de8c8fa578] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:39.512 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=116] [key=t.1.csv:0] [2025/04/04 12:45:39.514 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=116] [key=t.1.csv:0] [readDur=1.063343ms] [encodeDur=337.852µs] [checksum="{cksum=3408228459156692313,size=556,kvs=12}"] [deliverDur=587.041µs] [type=file] [takeTime=2.42765ms] [] [2025/04/04 12:45:39.518 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/6188ea95-c524-4ba7-8ecc-0fe02e810ad6] [sequence-number=0] [bytes=179] [stat-size=74] [write-time=3.566001ms] [write-speed(bytes/s)=49.02KiB] [2025/04/04 12:45:39.518 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/6188ea95-c524-4ba7-8ecc-0fe02e810ad6] [sequence-number=0] [bytes=179] [kv-cnt=3] [sort-time=3.169µs] [write-time=3.679707ms] [sort-speed(kv/s)=946670.8741] [writer-id=data/6188ea95-c524-4ba7-8ecc-0fe02e810ad6] [2025/04/04 12:45:39.518 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/6188ea95-c524-4ba7-8ecc-0fe02e810ad6] [kv-cnt-cap=4] [minKey=7480000000000000745f728000000000000001] [maxKey=7480000000000000745f728000000000000003] [2025/04/04 12:45:39.523 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/3/6188ea95-c524-4ba7-8ecc-0fe02e810ad6] [sequence-number=0] [bytes=162] [stat-size=110] [write-time=4.040526ms] [write-speed(bytes/s)=39.15KiB] [2025/04/04 12:45:39.523 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/3/6188ea95-c524-4ba7-8ecc-0fe02e810ad6] [sequence-number=0] [bytes=162] [kv-cnt=3] [sort-time=3.531µs] [write-time=4.162146ms] [sort-speed(kv/s)=849617.6720] [writer-id=index/3/6188ea95-c524-4ba7-8ecc-0fe02e810ad6] [2025/04/04 12:45:39.523 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/3/6188ea95-c524-4ba7-8ecc-0fe02e810ad6] [kv-cnt-cap=4] [minKey=7480000000000000745f69800000000000000303800000000000007b038000000000000001] [maxKey=7480000000000000745f698000000000000003038000000000000315038000000000000003] [2025/04/04 12:45:39.527 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/6188ea95-c524-4ba7-8ecc-0fe02e810ad6] [sequence-number=0] [bytes=162] [stat-size=110] [write-time=3.761135ms] [write-speed(bytes/s)=42.06KiB] [2025/04/04 12:45:39.527 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/6188ea95-c524-4ba7-8ecc-0fe02e810ad6] [sequence-number=0] [bytes=162] [kv-cnt=3] [sort-time=3.637µs] [write-time=3.877895ms] [sort-speed(kv/s)=824855.6503] [writer-id=index/1/6188ea95-c524-4ba7-8ecc-0fe02e810ad6] [2025/04/04 12:45:39.527 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/6188ea95-c524-4ba7-8ecc-0fe02e810ad6] [kv-cnt-cap=4] [minKey=7480000000000000745f698000000000000001038000000000000001038000000000000001] [maxKey=7480000000000000745f698000000000000001038000000000000003038000000000000003] [2025/04/04 12:45:39.531 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/2/6188ea95-c524-4ba7-8ecc-0fe02e810ad6] [sequence-number=0] [bytes=245] [stat-size=130] [write-time=3.780269ms] [write-speed(bytes/s)=63.29KiB] [2025/04/04 12:45:39.531 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/2/6188ea95-c524-4ba7-8ecc-0fe02e810ad6] [sequence-number=0] [bytes=245] [kv-cnt=3] [sort-time=2.569µs] [write-time=3.890714ms] [sort-speed(kv/s)=1167769.5601] [writer-id=index/2/6188ea95-c524-4ba7-8ecc-0fe02e810ad6] [2025/04/04 12:45:39.531 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/2/6188ea95-c524-4ba7-8ecc-0fe02e810ad6] [kv-cnt-cap=4] [minKey=7480000000000000745f698000000000000002016261723100000000fb03800000000000007b038000000000000001] [maxKey=7480000000000000745f698000000000000002016261723300000000fb038000000000000315038000000000000003] [2025/04/04 12:45:39.531 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=2] [step=encode] [engine-id=0] [2025/04/04 12:45:39.533 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=2] [step=encode] [subtask-id=8] [takeTime=25.924298ms] [] [2025/04/04 12:45:39.534 +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.086437ms] [] [2025/04/04 12:45:39.556 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=9] [step=encode] [2025/04/04 12:45:39.556 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=2] [step=encode] [subtask-id=9] [2025/04/04 12:45:39.558 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/20504794-a8d7-427a-9504-83b270d88d32] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:39.558 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/654c5e90-bfc3-4244-860d-5b6c7c6a5697] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:39.558 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/a8431459-3a54-47ca-8945-d2922a589fe6] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:39.558 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/43af9bb5-971b-4da6-a23c-192cdc36dec2] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:39.558 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/edd4261a-b4f9-46b0-a444-15df28cc5072] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:39.558 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/cf575c91-9388-4802-8a29-541395f9d7c1] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:39.558 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=116] [2025/04/04 12:45:39.558 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/36e85054-fb66-4daf-aca4-892d4ffb61ea] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:39.560 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=116] [key=t.2.csv:0] [2025/04/04 12:45:39.570 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=116] [key=t.2.csv:0] [readDur=862.789µs] [encodeDur=304.119µs] [checksum="{cksum=10500087816336640068,size=556,kvs=12}"] [deliverDur=7.961812ms] [type=file] [takeTime=9.462907ms] [] [2025/04/04 12:45:39.586 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/ae5719ca-d846-4a50-8afd-83c2a0de2233] [sequence-number=0] [bytes=179] [stat-size=74] [write-time=16.174107ms] [write-speed(bytes/s)=10.81KiB] [2025/04/04 12:45:39.586 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/ae5719ca-d846-4a50-8afd-83c2a0de2233] [sequence-number=0] [bytes=179] [kv-cnt=3] [sort-time=2.876µs] [write-time=16.28944ms] [sort-speed(kv/s)=1043115.4381] [writer-id=data/ae5719ca-d846-4a50-8afd-83c2a0de2233] [2025/04/04 12:45:39.586 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/ae5719ca-d846-4a50-8afd-83c2a0de2233] [kv-cnt-cap=4] [minKey=7480000000000000745f728000000000000004] [maxKey=7480000000000000745f728000000000000006] [2025/04/04 12:45:39.603 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/2/ae5719ca-d846-4a50-8afd-83c2a0de2233] [sequence-number=0] [bytes=245] [stat-size=130] [write-time=16.679511ms] [write-speed(bytes/s)=14.34KiB] [2025/04/04 12:45:39.603 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/2/ae5719ca-d846-4a50-8afd-83c2a0de2233] [sequence-number=0] [bytes=245] [kv-cnt=3] [sort-time=3.308µs] [write-time=16.80515ms] [sort-speed(kv/s)=906892.3821] [writer-id=index/2/ae5719ca-d846-4a50-8afd-83c2a0de2233] [2025/04/04 12:45:39.603 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/2/ae5719ca-d846-4a50-8afd-83c2a0de2233] [kv-cnt-cap=4] [minKey=7480000000000000745f698000000000000002016261723400000000fb03800000000000007b038000000000000004] [maxKey=7480000000000000745f698000000000000002016261723600000000fb038000000000000143038000000000000006] [2025/04/04 12:45:39.619 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/3/ae5719ca-d846-4a50-8afd-83c2a0de2233] [sequence-number=0] [bytes=162] [stat-size=110] [write-time=16.132318ms] [write-speed(bytes/s)=9.807KiB] [2025/04/04 12:45:39.620 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/3/ae5719ca-d846-4a50-8afd-83c2a0de2233] [sequence-number=0] [bytes=162] [kv-cnt=3] [sort-time=3.461µs] [write-time=16.256933ms] [sort-speed(kv/s)=866801.5025] [writer-id=index/3/ae5719ca-d846-4a50-8afd-83c2a0de2233] [2025/04/04 12:45:39.620 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/3/ae5719ca-d846-4a50-8afd-83c2a0de2233] [kv-cnt-cap=4] [minKey=7480000000000000745f69800000000000000303800000000000007b038000000000000004] [maxKey=7480000000000000745f698000000000000003038000000000000143038000000000000006] [2025/04/04 12:45:39.643 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/ae5719ca-d846-4a50-8afd-83c2a0de2233] [sequence-number=0] [bytes=162] [stat-size=110] [write-time=23.655109ms] [write-speed(bytes/s)=6.688KiB] [2025/04/04 12:45:39.643 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/ae5719ca-d846-4a50-8afd-83c2a0de2233] [sequence-number=0] [bytes=162] [kv-cnt=3] [sort-time=3.478µs] [write-time=23.773882ms] [sort-speed(kv/s)=862564.6924] [writer-id=index/1/ae5719ca-d846-4a50-8afd-83c2a0de2233] [2025/04/04 12:45:39.644 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/ae5719ca-d846-4a50-8afd-83c2a0de2233] [kv-cnt-cap=4] [minKey=7480000000000000745f698000000000000001038000000000000004038000000000000004] [maxKey=7480000000000000745f698000000000000001038000000000000006038000000000000006] [2025/04/04 12:45:39.644 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=2] [step=encode] [engine-id=1] [2025/04/04 12:45:39.656 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=2] [step=encode] [subtask-id=9] [takeTime=100.307096ms] [] [2025/04/04 12:45:39.657 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=9] [step=encode] [takeTime=101.43604ms] [] [2025/04/04 12:45:39.693 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=encode] [next-step=merge-sort] [2025/04/04 12:45:39.695 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:45:39.697 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=2] [curr-step=encode] [next-step=merge-sort] [2025/04/04 12:45:39.704 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:39.705 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:39.709 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:39.710 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:39.730 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=2] [curr-step=encode] [next-step=merge-sort] [subtask-count=4] [2025/04/04 12:45:39.731 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=merge-sort] [concurrency=8] [subtasks=4] [2025/04/04 12:45:39.759 +00:00] [INFO] [read.go:801] ["Table statistics item not found, possibly due to table being dropped"] [category=stats] [sampled=] [tableID=24] [indexID=1] [2025/04/04 12:45:39.759 +00:00] [INFO] [read.go:686] ["Column information not found, possibly due to column being dropped"] [category=stats] [sampled=] [tableID=30] [columnID=8] [2025/04/04 12:45:39.762 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=2] [step=encode] [2025/04/04 12:45:39.763 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:45:39.763 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:45:39.763 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:45:39.763 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:45:39.763 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:45:39.763 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:45:39.763 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:45:39.763 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:39.763 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-8] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:45:39.763 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:39.763 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:39.763 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:45:39.765 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:45:39.765 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:39.765 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:39.765 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:39.765 +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=265.501803ms] [] [2025/04/04 12:45:39.768 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:39.769 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:39.769 +00:00] [INFO] [task_executor.go:326] ["merge sort partSize"] [type=ImportInto] [task-id=2] [step=merge-sort] [data-kv=12.8MiB] [index-kv=5MiB] [2025/04/04 12:45:39.770 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [step=merge-sort] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [2025/04/04 12:45:39.777 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=10] [step=merge-sort] [2025/04/04 12:45:39.779 +00:00] [INFO] [task_executor.go:346] ["run subtask start"] [type=ImportInto] [task-id=2] [step=merge-sort] [subtask-id=10] [kv-group=data] [2025/04/04 12:45:39.779 +00:00] [INFO] [merge.go:59] ["start to merge overlapping files"] [kv-group=data] [subtask-id=10] [file-count=2] [file-groups=1] [concurrency=8] [part-size=14470348] [2025/04/04 12:45:39.779 +00:00] [INFO] [merge.go:143] ["merge overlapping files start"] [kv-group=data] [subtask-id=10] [writer-id=602d4120-959e-494d-9562-e4fd90ed9a8b] [file-count=2] [2025/04/04 12:45:39.783 +00:00] [INFO] [onefile_writer.go:88] ["one file writer"] [kv-group=data] [subtask-id=10] [data-file=2/10/602d4120-959e-494d-9562-e4fd90ed9a8b/one-file] [stat-file=2/10/602d4120-959e-494d-9562-e4fd90ed9a8b_stat/one-file] [2025/04/04 12:45:39.812 +00:00] [INFO] [onefile_writer.go:153] ["close one file writer"] [kv-group=data] [subtask-id=10] [writerID=602d4120-959e-494d-9562-e4fd90ed9a8b] [2025/04/04 12:45:39.812 +00:00] [INFO] [merge.go:148] ["merge overlapping files completed"] [kv-group=data] [subtask-id=10] [writer-id=602d4120-959e-494d-9562-e4fd90ed9a8b] [file-count=2] [takeTime=32.620466ms] [] [2025/04/04 12:45:39.812 +00:00] [INFO] [task_executor.go:375] ["merge sort finished"] [type=ImportInto] [task-id=2] [step=merge-sort] [subtask-id=10] [kv-group=data] [total-kv-size=262] [total-kv-count=6] [start-key=7480000000000000745F728000000000000001] [end-key=7480000000000000745F72800000000000000600] [2025/04/04 12:45:39.823 +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=43.448999ms] [] [2025/04/04 12:45:39.823 +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=45.53028ms] [] [2025/04/04 12:45:39.845 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=11] [step=merge-sort] [2025/04/04 12:45:39.846 +00:00] [INFO] [task_executor.go:346] ["run subtask start"] [type=ImportInto] [task-id=2] [step=merge-sort] [subtask-id=11] [kv-group=2] [2025/04/04 12:45:39.846 +00:00] [INFO] [merge.go:59] ["start to merge overlapping files"] [kv-group=2] [subtask-id=11] [file-count=2] [file-groups=1] [concurrency=8] [part-size=6291456] [2025/04/04 12:45:39.846 +00:00] [INFO] [merge.go:143] ["merge overlapping files start"] [kv-group=2] [subtask-id=11] [writer-id=5f0f16ea-ba1f-429c-9b25-ba263689ecfd] [file-count=2] [2025/04/04 12:45:39.850 +00:00] [INFO] [onefile_writer.go:88] ["one file writer"] [kv-group=2] [subtask-id=11] [data-file=2/11/5f0f16ea-ba1f-429c-9b25-ba263689ecfd/one-file] [stat-file=2/11/5f0f16ea-ba1f-429c-9b25-ba263689ecfd_stat/one-file] [2025/04/04 12:45:39.880 +00:00] [INFO] [onefile_writer.go:153] ["close one file writer"] [kv-group=2] [subtask-id=11] [writerID=5f0f16ea-ba1f-429c-9b25-ba263689ecfd] [2025/04/04 12:45:39.880 +00:00] [INFO] [merge.go:148] ["merge overlapping files completed"] [kv-group=2] [subtask-id=11] [writer-id=5f0f16ea-ba1f-429c-9b25-ba263689ecfd] [file-count=2] [takeTime=33.561041ms] [] [2025/04/04 12:45:39.880 +00:00] [INFO] [task_executor.go:375] ["merge sort finished"] [type=ImportInto] [task-id=2] [step=merge-sort] [subtask-id=11] [kv-group=2] [total-kv-size=394] [total-kv-count=6] [start-key=7480000000000000745F698000000000000002016261723100000000FB03800000000000007B038000000000000001] [end-key=7480000000000000745F698000000000000002016261723600000000FB03800000000000014303800000000000000600] [2025/04/04 12:45:39.891 +00:00] [INFO] [task_executor.go:348] ["run subtask completed"] [type=ImportInto] [task-id=2] [step=merge-sort] [subtask-id=11] [kv-group=2] [takeTime=44.287706ms] [] [2025/04/04 12:45:39.891 +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=45.783882ms] [] [2025/04/04 12:45:39.911 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=12] [step=merge-sort] [2025/04/04 12:45:39.913 +00:00] [INFO] [task_executor.go:346] ["run subtask start"] [type=ImportInto] [task-id=2] [step=merge-sort] [subtask-id=12] [kv-group=3] [2025/04/04 12:45:39.913 +00:00] [INFO] [merge.go:59] ["start to merge overlapping files"] [kv-group=3] [subtask-id=12] [file-count=2] [file-groups=1] [concurrency=8] [part-size=6291456] [2025/04/04 12:45:39.913 +00:00] [INFO] [merge.go:143] ["merge overlapping files start"] [kv-group=3] [subtask-id=12] [writer-id=4aae2425-a3be-42e3-b186-e22eef14edaf] [file-count=2] [2025/04/04 12:45:39.916 +00:00] [INFO] [onefile_writer.go:88] ["one file writer"] [kv-group=3] [subtask-id=12] [data-file=2/12/4aae2425-a3be-42e3-b186-e22eef14edaf/one-file] [stat-file=2/12/4aae2425-a3be-42e3-b186-e22eef14edaf_stat/one-file] [2025/04/04 12:45:39.945 +00:00] [INFO] [onefile_writer.go:153] ["close one file writer"] [kv-group=3] [subtask-id=12] [writerID=4aae2425-a3be-42e3-b186-e22eef14edaf] [2025/04/04 12:45:39.945 +00:00] [INFO] [merge.go:148] ["merge overlapping files completed"] [kv-group=3] [subtask-id=12] [writer-id=4aae2425-a3be-42e3-b186-e22eef14edaf] [file-count=2] [takeTime=31.607217ms] [] [2025/04/04 12:45:39.945 +00:00] [INFO] [task_executor.go:375] ["merge sort finished"] [type=ImportInto] [task-id=2] [step=merge-sort] [subtask-id=12] [kv-group=3] [total-kv-size=228] [total-kv-count=6] [start-key=7480000000000000745F69800000000000000303800000000000007B038000000000000001] [end-key=7480000000000000745F69800000000000000303800000000000031503800000000000000300] [2025/04/04 12:45:39.955 +00:00] [INFO] [task_executor.go:348] ["run subtask completed"] [type=ImportInto] [task-id=2] [step=merge-sort] [subtask-id=12] [kv-group=3] [takeTime=42.010542ms] [] [2025/04/04 12:45:39.955 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=12] [step=merge-sort] [takeTime=43.452306ms] [] [2025/04/04 12:45:39.976 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=13] [step=merge-sort] [2025/04/04 12:45:39.977 +00:00] [INFO] [task_executor.go:346] ["run subtask start"] [type=ImportInto] [task-id=2] [step=merge-sort] [subtask-id=13] [kv-group=1] [2025/04/04 12:45:39.977 +00:00] [INFO] [merge.go:59] ["start to merge overlapping files"] [kv-group=1] [subtask-id=13] [file-count=2] [file-groups=1] [concurrency=8] [part-size=6291456] [2025/04/04 12:45:39.977 +00:00] [INFO] [merge.go:143] ["merge overlapping files start"] [kv-group=1] [subtask-id=13] [writer-id=0c6c7a14-0a2d-4bca-b0ca-de5af9c8252e] [file-count=2] [2025/04/04 12:45:39.980 +00:00] [INFO] [onefile_writer.go:88] ["one file writer"] [kv-group=1] [subtask-id=13] [data-file=2/13/0c6c7a14-0a2d-4bca-b0ca-de5af9c8252e/one-file] [stat-file=2/13/0c6c7a14-0a2d-4bca-b0ca-de5af9c8252e_stat/one-file] [2025/04/04 12:45:40.008 +00:00] [INFO] [onefile_writer.go:153] ["close one file writer"] [kv-group=1] [subtask-id=13] [writerID=0c6c7a14-0a2d-4bca-b0ca-de5af9c8252e] [2025/04/04 12:45:40.008 +00:00] [INFO] [merge.go:148] ["merge overlapping files completed"] [kv-group=1] [subtask-id=13] [writer-id=0c6c7a14-0a2d-4bca-b0ca-de5af9c8252e] [file-count=2] [takeTime=30.567403ms] [] [2025/04/04 12:45:40.008 +00:00] [INFO] [task_executor.go:375] ["merge sort finished"] [type=ImportInto] [task-id=2] [step=merge-sort] [subtask-id=13] [kv-group=1] [total-kv-size=228] [total-kv-count=6] [start-key=7480000000000000745F698000000000000001038000000000000001038000000000000001] [end-key=7480000000000000745F69800000000000000103800000000000000603800000000000000600] [2025/04/04 12:45:40.018 +00:00] [INFO] [task_executor.go:348] ["run subtask completed"] [type=ImportInto] [task-id=2] [step=merge-sort] [subtask-id=13] [kv-group=1] [takeTime=41.25073ms] [] [2025/04/04 12:45:40.018 +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.561475ms] [] [2025/04/04 12:45:40.093 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=merge-sort] [next-step=ingest] [2025/04/04 12:45:40.095 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:45:40.097 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=2] [curr-step=merge-sort] [next-step=ingest] [2025/04/04 12:45:40.114 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:40.115 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:40.128 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 12:45:40.128 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:45:40.129 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437824916082696] [2025/04/04 12:45:40.130 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:45:40.130 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:45:40.130 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:45:40.130 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:45:40.130 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:45:40.130 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:45:40.130 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:45:40.131 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:45:40.149 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:45:40.149 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:45:40.149 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:45:40.149 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:45:40.149 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:45:40.149 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:45:40.149 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:45:40.149 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:40.149 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-9] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:45:40.149 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:40.149 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:40.149 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:45:40.150 +00:00] [INFO] [planner.go:604] ["split kv range with split size and keys"] [region-split-size=256000000] [region-split-keys=2560000] [range-size=256000000] [range-keys=2560000] [2025/04/04 12:45:40.150 +00:00] [INFO] [split.go:130] ["create range splitter"] [rangesGroupSize=107374182400] [rangesGroupKeyCnt=9223372036854775807] [rangeJobSize=256000000] [rangeJobKeyCnt=2560000] [regionSplitSize=256000000] [regionSplitKeyCnt=2560000] [2025/04/04 12:45:40.154 +00:00] [INFO] [planner.go:469] ["kv range as subtask"] [startKey=7480000000000000745f698000000000000002016261723100000000fb03800000000000007b038000000000000001] [endKey=7480000000000000745f698000000000000002016261723600000000fb03800000000000014303800000000000000600] [dataFiles=1] [2025/04/04 12:45:40.154 +00:00] [INFO] [split.go:166] ["close range splitter"] [] [2025/04/04 12:45:40.157 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 12:45:40.157 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:45:40.159 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437824916082696] [2025/04/04 12:45:40.161 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:45:40.161 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:45:40.161 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:45:40.161 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:45:40.161 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:45:40.161 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:45:40.162 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:45:40.162 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:45:40.164 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [2025/04/04 12:45:40.164 +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=394.697896ms] [] [2025/04/04 12:45:40.164 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=2] [type=ImportInto] [2025/04/04 12:45:40.166 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:45:40.166 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:45:40.166 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:45:40.166 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:45:40.166 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:45:40.166 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:45:40.166 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:45:40.166 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:40.166 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-10] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:45:40.166 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:40.166 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:40.166 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:45:40.167 +00:00] [INFO] [planner.go:604] ["split kv range with split size and keys"] [region-split-size=256000000] [region-split-keys=2560000] [range-size=256000000] [range-keys=2560000] [2025/04/04 12:45:40.167 +00:00] [INFO] [split.go:130] ["create range splitter"] [rangesGroupSize=107374182400] [rangesGroupKeyCnt=9223372036854775807] [rangeJobSize=256000000] [rangeJobKeyCnt=2560000] [regionSplitSize=256000000] [regionSplitKeyCnt=2560000] [2025/04/04 12:45:40.171 +00:00] [INFO] [planner.go:469] ["kv range as subtask"] [startKey=7480000000000000745f69800000000000000303800000000000007b038000000000000001] [endKey=7480000000000000745f69800000000000000303800000000000031503800000000000000300] [dataFiles=1] [2025/04/04 12:45:40.171 +00:00] [INFO] [split.go:166] ["close range splitter"] [] [2025/04/04 12:45:40.174 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 12:45:40.174 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:45:40.175 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437824916082696] [2025/04/04 12:45:40.175 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:45:40.175 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:45:40.176 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:45:40.176 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:45:40.176 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:45:40.176 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:45:40.176 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:45:40.176 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:45:40.181 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:45:40.181 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:45:40.181 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:45:40.181 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:45:40.181 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:45:40.181 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:45:40.181 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:45:40.181 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:40.181 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:40.181 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-11] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:45:40.181 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:40.181 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:45:40.182 +00:00] [INFO] [planner.go:604] ["split kv range with split size and keys"] [region-split-size=256000000] [region-split-keys=2560000] [range-size=256000000] [range-keys=2560000] [2025/04/04 12:45:40.182 +00:00] [INFO] [split.go:130] ["create range splitter"] [rangesGroupSize=107374182400] [rangesGroupKeyCnt=9223372036854775807] [rangeJobSize=256000000] [rangeJobKeyCnt=2560000] [regionSplitSize=256000000] [regionSplitKeyCnt=2560000] [2025/04/04 12:45:40.186 +00:00] [INFO] [planner.go:469] ["kv range as subtask"] [startKey=7480000000000000745f698000000000000001038000000000000001038000000000000001] [endKey=7480000000000000745f69800000000000000103800000000000000603800000000000000600] [dataFiles=1] [2025/04/04 12:45:40.186 +00:00] [INFO] [split.go:166] ["close range splitter"] [] [2025/04/04 12:45:40.189 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 12:45:40.189 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:45:40.190 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437824916082696] [2025/04/04 12:45:40.191 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:45:40.191 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:45:40.191 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:45:40.191 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:45:40.191 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:45:40.191 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:45:40.192 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:45:40.192 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:45:40.195 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:45:40.195 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:45:40.195 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:45:40.195 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:45:40.195 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:45:40.195 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:45:40.195 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:45:40.195 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:40.195 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-12] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:45:40.195 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:40.195 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:40.195 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:45:40.196 +00:00] [INFO] [planner.go:604] ["split kv range with split size and keys"] [region-split-size=256000000] [region-split-keys=2560000] [range-size=256000000] [range-keys=2560000] [2025/04/04 12:45:40.197 +00:00] [INFO] [split.go:130] ["create range splitter"] [rangesGroupSize=107374182400] [rangesGroupKeyCnt=9223372036854775807] [rangeJobSize=256000000] [rangeJobKeyCnt=2560000] [regionSplitSize=256000000] [regionSplitKeyCnt=2560000] [2025/04/04 12:45:40.200 +00:00] [INFO] [planner.go:469] ["kv range as subtask"] [startKey=7480000000000000745f728000000000000001] [endKey=7480000000000000745f72800000000000000600] [dataFiles=1] [2025/04/04 12:45:40.200 +00:00] [INFO] [split.go:166] ["close range splitter"] [] [2025/04/04 12:45:40.201 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:40.201 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:40.230 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=2] [curr-step=merge-sort] [next-step=ingest] [subtask-count=4] [2025/04/04 12:45:40.230 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=ingest] [concurrency=8] [subtasks=4] [2025/04/04 12:45:40.272 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=2] [type=ImportInto] [concurrency=8] [remaining-slots=8] [2025/04/04 12:45:40.292 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:40.293 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:40.300 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:45:40.300 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437824916082696] [2025/04/04 12:45:40.300 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:45:40.300 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:45:40.301 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:45:40.301 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:45:40.301 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:45:40.301 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:45:40.301 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:45:40.301 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:45:40.312 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:45:40.314 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 12:45:40.314 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 12:45:40.314 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [step=ingest] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [2025/04/04 12:45:40.321 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=14] [step=ingest] [2025/04/04 12:45:40.323 +00:00] [INFO] [task_executor.go:445] ["run subtask start"] [type=ImportInto] [task-id=2] [step=ingest] [subtask-id=14] [kv-group=2] [2025/04/04 12:45:40.323 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:40.324 +00:00] [INFO] [engine.go:196] ["create external engine"] [memLimitForLoadRange=7.385GiB] [2025/04/04 12:45:40.328 +00:00] [INFO] [local.go:886] ["split engine key ranges"] [category=ddl-ingest] [engine=external] [totalSize=107374182400] [totalCount=0] [startKey=7480000000000000745F698000000000000002016261723100000000FB03800000000000007B038000000000000001] [endKey=7480000000000000745F698000000000000002016261723600000000FB03800000000000014303800000000000000600] [len(keys)=2] [] [2025/04/04 12:45:40.328 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:45:40.350 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=c92104fe-1480-5ebe-be2b-61946fa2dda3] ["region ranges"=1] [count=0] [size=107374182400] [2025/04/04 12:45:40.350 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:45:40.350 +00:00] [INFO] [local.go:916] ["split and scatter ranges start"] [category=ddl-ingest] [uuid=external] [2025/04/04 12:45:40.351 +00:00] [INFO] [client.go:568] ["paginate scan regions"] [count=2] [start=7480000000000000FF745F698000000000FF0000020162617231FF00000000FB038000FF00000000007B0380FF0000000000000100FE] [end=7480000000000000FF745F698000000000FF0000020162617236FF00000000FB038000FF0000000001430380FF0000000000000600FF0000000000000000F8] [2025/04/04 12:45:40.351 +00:00] [INFO] [localhelper.go:89] ["waiting for scattering regions done"] [category=ddl-ingest] [regions=0] [take=3.435µs] [2025/04/04 12:45:40.351 +00:00] [INFO] [local.go:941] ["split and scatter ranges completed"] [category=ddl-ingest] [uuid=external] [takeTime=690.62µs] [] [2025/04/04 12:45:40.351 +00:00] [INFO] [engine.go:443] ["load ingest data"] [batchSize=8] [2025/04/04 12:45:40.351 +00:00] [INFO] [reader.go:44] ["read all data start"] [2025/04/04 12:45:40.351 +00:00] [INFO] [reader.go:45] [arguments] [data-file-count=1] [stat-file-count=1] [start-key=7480000000000000745f698000000000000002016261723100000000fb03800000000000007b038000000000000001] [end-key=7480000000000000745f698000000000000002016261723600000000fb03800000000000014303800000000000000600] [2025/04/04 12:45:40.351 +00:00] [INFO] [util.go:60] ["seek props offsets start"] [2025/04/04 12:45:40.355 +00:00] [INFO] [util.go:62] ["seek props offsets completed"] [takeTime=3.288383ms] [] [2025/04/04 12:45:40.355 +00:00] [INFO] [engine.go:305] ["estimated file size of this range group"] [totalSize=0B] [2025/04/04 12:45:40.358 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:40.358 +00:00] [INFO] [reader.go:65] ["read all data completed"] [takeTime=7.304127ms] [] [2025/04/04 12:45:40.359 +00:00] [INFO] [engine.go:115] ["building memKVsAndBuffers"] [sumKVCnt=6] [droppedSize=0] [2025/04/04 12:45:40.359 +00:00] [INFO] [engine.go:340] ["reading external storage in loadBatchRegionData"] ["cost time"=7.450359ms] [droppedSize=0] [2025/04/04 12:45:40.359 +00:00] [INFO] [engine.go:366] ["sorting in loadBatchRegionData"] ["cost time"=7.433µs] [2025/04/04 12:45:40.359 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000745f698000000000000002016261723100000000fb03800000000000007b038000000000000001] [endOfAllRanges=7480000000000000745f698000000000000002016261723600000000fb03800000000000014303800000000000000600] [startKeyOfFirstRegion=7480000000000000ff745f698000000000ff0000020162617231ff00000000fb038000ff00000000007b0380ff0000000000000100fe] [endKeyOfLastRegion=7480000000000000ff745f698000000000ff0000020162617236ff00000000fb038000ff0000000001430380ff0000000000000600ff0000000000000000f7] [2025/04/04 12:45:40.369 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=c92104fe-1480-5ebe-be2b-61946fa2dda3] [size=107374182400] [kvs=0] [importedSize=394] [importedCount=6] [2025/04/04 12:45:40.371 +00:00] [INFO] [task_executor.go:447] ["run subtask completed"] [type=ImportInto] [task-id=2] [step=ingest] [subtask-id=14] [kv-group=2] [takeTime=47.430691ms] [] [2025/04/04 12:45:40.371 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=14] [step=ingest] [takeTime=49.303573ms] [] [2025/04/04 12:45:40.393 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=15] [step=ingest] [2025/04/04 12:45:40.394 +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/04 12:45:40.395 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:40.395 +00:00] [INFO] [engine.go:196] ["create external engine"] [memLimitForLoadRange=7.385GiB] [2025/04/04 12:45:40.399 +00:00] [INFO] [local.go:886] ["split engine key ranges"] [category=ddl-ingest] [engine=external] [totalSize=107374182400] [totalCount=0] [startKey=7480000000000000745F69800000000000000303800000000000007B038000000000000001] [endKey=7480000000000000745F69800000000000000303800000000000031503800000000000000300] [len(keys)=2] [] [2025/04/04 12:45:40.399 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:45:40.421 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=42e52923-6f90-566b-850e-758ca411cbe4] ["region ranges"=1] [count=0] [size=107374182400] [2025/04/04 12:45:40.421 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:45:40.421 +00:00] [INFO] [local.go:916] ["split and scatter ranges start"] [category=ddl-ingest] [uuid=external] [2025/04/04 12:45:40.422 +00:00] [INFO] [client.go:568] ["paginate scan regions"] [count=2] [start=7480000000000000FF745F698000000000FF0000030380000000FF0000007B03800000FF0000000001000000FC] [end=7480000000000000FF745F698000000000FF0000030380000000FF0000031503800000FF0000000003000000FE] [2025/04/04 12:45:40.422 +00:00] [INFO] [localhelper.go:89] ["waiting for scattering regions done"] [category=ddl-ingest] [regions=0] [take=5.898µs] [2025/04/04 12:45:40.422 +00:00] [INFO] [local.go:941] ["split and scatter ranges completed"] [category=ddl-ingest] [uuid=external] [takeTime=700.15µs] [] [2025/04/04 12:45:40.422 +00:00] [INFO] [engine.go:443] ["load ingest data"] [batchSize=8] [2025/04/04 12:45:40.422 +00:00] [INFO] [reader.go:44] ["read all data start"] [2025/04/04 12:45:40.422 +00:00] [INFO] [reader.go:45] [arguments] [data-file-count=1] [stat-file-count=1] [start-key=7480000000000000745f69800000000000000303800000000000007b038000000000000001] [end-key=7480000000000000745f69800000000000000303800000000000031503800000000000000300] [2025/04/04 12:45:40.422 +00:00] [INFO] [util.go:60] ["seek props offsets start"] [2025/04/04 12:45:40.426 +00:00] [INFO] [util.go:62] ["seek props offsets completed"] [takeTime=3.545201ms] [] [2025/04/04 12:45:40.426 +00:00] [INFO] [engine.go:305] ["estimated file size of this range group"] [totalSize=0B] [2025/04/04 12:45:40.430 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:40.431 +00:00] [INFO] [reader.go:65] ["read all data completed"] [takeTime=8.412967ms] [] [2025/04/04 12:45:40.431 +00:00] [INFO] [engine.go:115] ["building memKVsAndBuffers"] [sumKVCnt=6] [droppedSize=0] [2025/04/04 12:45:40.431 +00:00] [INFO] [engine.go:340] ["reading external storage in loadBatchRegionData"] ["cost time"=8.580418ms] [droppedSize=0] [2025/04/04 12:45:40.431 +00:00] [INFO] [engine.go:366] ["sorting in loadBatchRegionData"] ["cost time"=7.901µs] [2025/04/04 12:45:40.431 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000745f69800000000000000303800000000000007b038000000000000001] [endOfAllRanges=7480000000000000745f69800000000000000303800000000000031503800000000000000300] [startKeyOfFirstRegion=7480000000000000ff745f698000000000ff0000030380000000ff0000007b03800000ff0000000001000000fc] [endKeyOfLastRegion=7480000000000000ff745f698000000000ff0000030380000000ff0000031503800000ff0000000003000000fd] [2025/04/04 12:45:40.441 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=42e52923-6f90-566b-850e-758ca411cbe4] [size=107374182400] [kvs=0] [importedSize=228] [importedCount=6] [2025/04/04 12:45:40.443 +00:00] [INFO] [task_executor.go:447] ["run subtask completed"] [type=ImportInto] [task-id=2] [step=ingest] [subtask-id=15] [kv-group=3] [takeTime=48.144681ms] [] [2025/04/04 12:45:40.443 +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.844073ms] [] [2025/04/04 12:45:40.465 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=16] [step=ingest] [2025/04/04 12:45:40.466 +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/04 12:45:40.466 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:40.467 +00:00] [INFO] [engine.go:196] ["create external engine"] [memLimitForLoadRange=7.385GiB] [2025/04/04 12:45:40.471 +00:00] [INFO] [local.go:886] ["split engine key ranges"] [category=ddl-ingest] [engine=external] [totalSize=107374182400] [totalCount=0] [startKey=7480000000000000745F698000000000000001038000000000000001038000000000000001] [endKey=7480000000000000745F69800000000000000103800000000000000603800000000000000600] [len(keys)=2] [] [2025/04/04 12:45:40.471 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:45:40.493 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=797c5bd4-ca63-548e-8137-62562b529a90] ["region ranges"=1] [count=0] [size=107374182400] [2025/04/04 12:45:40.493 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:45:40.493 +00:00] [INFO] [local.go:916] ["split and scatter ranges start"] [category=ddl-ingest] [uuid=external] [2025/04/04 12:45:40.494 +00:00] [INFO] [client.go:568] ["paginate scan regions"] [count=2] [start=7480000000000000FF745F698000000000FF0000010380000000FF0000000103800000FF0000000001000000FC] [end=7480000000000000FF745F698000000000FF0000010380000000FF0000000603800000FF0000000006000000FE] [2025/04/04 12:45:40.494 +00:00] [INFO] [localhelper.go:89] ["waiting for scattering regions done"] [category=ddl-ingest] [regions=0] [take=6.378µs] [2025/04/04 12:45:40.494 +00:00] [INFO] [local.go:941] ["split and scatter ranges completed"] [category=ddl-ingest] [uuid=external] [takeTime=775.184µs] [] [2025/04/04 12:45:40.494 +00:00] [INFO] [engine.go:443] ["load ingest data"] [batchSize=8] [2025/04/04 12:45:40.494 +00:00] [INFO] [reader.go:44] ["read all data start"] [2025/04/04 12:45:40.494 +00:00] [INFO] [reader.go:45] [arguments] [data-file-count=1] [stat-file-count=1] [start-key=7480000000000000745f698000000000000001038000000000000001038000000000000001] [end-key=7480000000000000745f69800000000000000103800000000000000603800000000000000600] [2025/04/04 12:45:40.494 +00:00] [INFO] [util.go:60] ["seek props offsets start"] [2025/04/04 12:45:40.498 +00:00] [INFO] [util.go:62] ["seek props offsets completed"] [takeTime=3.695629ms] [] [2025/04/04 12:45:40.498 +00:00] [INFO] [engine.go:305] ["estimated file size of this range group"] [totalSize=0B] [2025/04/04 12:45:40.501 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:40.502 +00:00] [INFO] [reader.go:65] ["read all data completed"] [takeTime=7.989833ms] [] [2025/04/04 12:45:40.502 +00:00] [INFO] [engine.go:115] ["building memKVsAndBuffers"] [sumKVCnt=6] [droppedSize=0] [2025/04/04 12:45:40.502 +00:00] [INFO] [engine.go:340] ["reading external storage in loadBatchRegionData"] ["cost time"=8.141809ms] [droppedSize=0] [2025/04/04 12:45:40.502 +00:00] [INFO] [engine.go:366] ["sorting in loadBatchRegionData"] ["cost time"=11.183µs] [2025/04/04 12:45:40.503 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000745f698000000000000001038000000000000001038000000000000001] [endOfAllRanges=7480000000000000745f69800000000000000103800000000000000603800000000000000600] [startKeyOfFirstRegion=7480000000000000ff745f698000000000ff0000010380000000ff0000000103800000ff0000000001000000fc] [endKeyOfLastRegion=7480000000000000ff745f698000000000ff0000010380000000ff0000000603800000ff0000000006000000fd] [2025/04/04 12:45:40.513 +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/04 12:45:40.515 +00:00] [INFO] [task_executor.go:447] ["run subtask completed"] [type=ImportInto] [task-id=2] [step=ingest] [subtask-id=16] [kv-group=1] [takeTime=48.451842ms] [] [2025/04/04 12:45:40.516 +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.403922ms] [] [2025/04/04 12:45:40.538 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=17] [step=ingest] [2025/04/04 12:45:40.540 +00:00] [INFO] [task_executor.go:445] ["run subtask start"] [type=ImportInto] [task-id=2] [step=ingest] [subtask-id=17] [kv-group=data] [2025/04/04 12:45:40.540 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:40.541 +00:00] [INFO] [engine.go:196] ["create external engine"] [memLimitForLoadRange=7.385GiB] [2025/04/04 12:45:40.544 +00:00] [INFO] [local.go:886] ["split engine key ranges"] [category=ddl-ingest] [engine=external] [totalSize=107374182400] [totalCount=0] [startKey=7480000000000000745F728000000000000001] [endKey=7480000000000000745F72800000000000000600] [len(keys)=2] [] [2025/04/04 12:45:40.544 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:45:40.566 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=fccca47b-a071-5db3-9487-f6af0df82fd4] ["region ranges"=1] [count=0] [size=107374182400] [2025/04/04 12:45:40.566 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:45:40.566 +00:00] [INFO] [local.go:916] ["split and scatter ranges start"] [category=ddl-ingest] [uuid=external] [2025/04/04 12:45:40.567 +00:00] [INFO] [client.go:568] ["paginate scan regions"] [count=2] [start=7480000000000000FF745F728000000000FF0000010000000000FA] [end=7480000000000000FF745F728000000000FF0000060000000000FC] [2025/04/04 12:45:40.567 +00:00] [INFO] [localhelper.go:89] ["waiting for scattering regions done"] [category=ddl-ingest] [regions=0] [take=4.017µs] [2025/04/04 12:45:40.567 +00:00] [INFO] [local.go:941] ["split and scatter ranges completed"] [category=ddl-ingest] [uuid=external] [takeTime=683.861µs] [] [2025/04/04 12:45:40.567 +00:00] [INFO] [engine.go:443] ["load ingest data"] [batchSize=8] [2025/04/04 12:45:40.567 +00:00] [INFO] [reader.go:44] ["read all data start"] [2025/04/04 12:45:40.567 +00:00] [INFO] [reader.go:45] [arguments] [data-file-count=1] [stat-file-count=1] [start-key=7480000000000000745f728000000000000001] [end-key=7480000000000000745f72800000000000000600] [2025/04/04 12:45:40.567 +00:00] [INFO] [util.go:60] ["seek props offsets start"] [2025/04/04 12:45:40.571 +00:00] [INFO] [util.go:62] ["seek props offsets completed"] [takeTime=3.673065ms] [] [2025/04/04 12:45:40.571 +00:00] [INFO] [engine.go:305] ["estimated file size of this range group"] [totalSize=0B] [2025/04/04 12:45:40.575 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:40.576 +00:00] [INFO] [reader.go:65] ["read all data completed"] [takeTime=8.2297ms] [] [2025/04/04 12:45:40.576 +00:00] [INFO] [engine.go:115] ["building memKVsAndBuffers"] [sumKVCnt=6] [droppedSize=0] [2025/04/04 12:45:40.576 +00:00] [INFO] [engine.go:340] ["reading external storage in loadBatchRegionData"] ["cost time"=8.435873ms] [droppedSize=0] [2025/04/04 12:45:40.576 +00:00] [INFO] [engine.go:366] ["sorting in loadBatchRegionData"] ["cost time"=10.07µs] [2025/04/04 12:45:40.576 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000745f728000000000000001] [endOfAllRanges=7480000000000000745f72800000000000000600] [startKeyOfFirstRegion=7480000000000000ff745f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7800000000000000fb] [2025/04/04 12:45:40.586 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=fccca47b-a071-5db3-9487-f6af0df82fd4] [size=107374182400] [kvs=0] [importedSize=262] [importedCount=6] [2025/04/04 12:45:40.588 +00:00] [INFO] [task_executor.go:447] ["run subtask completed"] [type=ImportInto] [task-id=2] [step=ingest] [subtask-id=17] [kv-group=data] [takeTime=48.030822ms] [] [2025/04/04 12:45:40.588 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=17] [step=ingest] [takeTime=49.887787ms] [] [2025/04/04 12:45:40.693 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=ingest] [next-step=post-process] [2025/04/04 12:45:40.696 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:45:40.698 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=2] [curr-step=ingest] [next-step=post-process] [2025/04/04 12:45:40.718 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=2] [curr-step=ingest] [next-step=post-process] [result="{\"LoadedRowCnt\":6}"] [2025/04/04 12:45:40.720 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=2] [curr-step=ingest] [next-step=post-process] [subtask-count=1] [2025/04/04 12:45:40.720 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/04 12:45:40.733 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [2025/04/04 12:45:40.733 +00:00] [INFO] [task_executor.go:515] ["cleanup subtask env"] [type=ImportInto] [task-id=2] [step=ingest] [2025/04/04 12:45:40.739 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:45:40.739 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:45:40.739 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:45:40.739 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:45:40.739 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:45:40.739 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:45:40.739 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:40.739 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:45:40.739 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:40.739 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-13] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:45:40.739 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:40.739 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:45:40.741 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:45:40.741 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:40.741 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:40.741 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:40.741 +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=427.272325ms] [] [2025/04/04 12:45:40.741 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=2] [type=ImportInto] [2025/04/04 12:45:40.752 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=2] [type=ImportInto] [concurrency=8] [remaining-slots=8] [2025/04/04 12:45:40.774 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [2025/04/04 12:45:40.782 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=18] [step=post-process] [2025/04/04 12:45:40.782 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=18] [2025/04/04 12:45:40.782 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=18] [2025/04/04 12:45:40.782 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=18] [2025/04/04 12:45:40.782 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=18] [takeTime=2.774µs] [] [2025/04/04 12:45:40.782 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=18] [groupId=-1] [size=262] [kvs=6] [checksum=16467553292841115641] [2025/04/04 12:45:40.782 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=18] [groupId=1] [size=228] [kvs=6] [checksum=5933586680183683] [2025/04/04 12:45:40.782 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=18] [groupId=2] [size=394] [kvs=6] [checksum=1482059515352799067] [2025/04/04 12:45:40.782 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=18] [groupId=3] [size=228] [kvs=6] [checksum=5690150982916384316] [2025/04/04 12:45:40.782 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=18] [checksum="{cksum=13761799268116354333,size=1112,kvs=24}"] [2025/04/04 12:45:40.782 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=18] [weight=30] [2025/04/04 12:45:40.782 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=18] [concurrency=15] [2025/04/04 12:45:40.784 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=116] [physicalTableID=116] [indexID=3] [checksum=5690150982916384316] [totalKvs=6] [totalBytes=228] [2025/04/04 12:45:40.784 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=116] [physicalTableID=116] [indexID=-1] [checksum=16467553292841115641] [totalKvs=6] [totalBytes=262] [2025/04/04 12:45:40.788 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=116] [physicalTableID=116] [indexID=2] [checksum=1482059515352799067] [totalKvs=6] [totalBytes=394] [2025/04/04 12:45:40.789 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=116] [physicalTableID=116] [indexID=1] [checksum=5933586680183683] [totalKvs=6] [totalBytes=228] [2025/04/04 12:45:40.789 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 12:45:40.789 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=18] [local="{cksum=13761799268116354333,size=1112,kvs=24}"] [2025/04/04 12:45:40.790 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=18] [takeTime=7.729778ms] [] [2025/04/04 12:45:40.790 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=18] [takeTime=7.887035ms] [] [2025/04/04 12:45:40.790 +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=8.004743ms] [] [2025/04/04 12:45:40.798 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 12:45:40.893 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 12:45:40.893 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=2] [step=post-process] [state=running] [] [2025/04/04 12:45:40.896 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=2] [2025/04/04 12:45:40.924 +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=149.921158ms] [] [2025/04/04 12:45:40.924 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=2] [type=ImportInto] [2025/04/04 12:45:40.989 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=2] [2025/04/04 12:45:40.994 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 12:45:40.994 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=2] [2025/04/04 12:45:40.996 +00:00] [INFO] [clean_s3.go:55] ["cleanup global sorted data start"] [task-id=2] [2025/04/04 12:45:40.996 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:40.997 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:41.100 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 1.90446315\n# Parse_time: 0.000213759\n# Compile_time: 0.000548665\n# Rewrite_time: 0.000105335\n# Optimize_time: 0.000401139\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('RfBEMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjEuOXMsIG9wZW46NzI5bnMsIGNsb3NlOjgwNG5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('YPBMClwKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWit0aW1lOjEuOXMsIG9wZW46NzI5bnMsIGNsb3NlOjgwNG5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000037027\nIMPORT INTO `gsort_basic`.`t` FROM 'gs://gs-basic/t.*.csv?endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F' WITH __max_engine_size=_UTF8MB4'1', cloud_storage_uri=_UTF8MB4'gs://sorted/import?endpoint=http://127.0.0.1:4443/storage/v1/&access-key=aaaaaa&secret-access-key=bbbbbb', __force_merge_step;"] [2025/04/04 12:45:41.144 +00:00] [INFO] [clean_s3.go:72] ["cleanup global sorted data completed"] [task-id=2] [takeTime=148.03455ms] [] [2025/04/04 12:45:41.169 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 12:45:41.181 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:119, Type:truncate table, State:queueing, SchemaState:none, SchemaID:112, TableID:116, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:41.153 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table t"] [2025/04/04 12:45:41.182 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:119, Type:truncate table, State:queueing, SchemaState:none, SchemaID:112, TableID:116, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:41.153 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:41.187 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=119] [conn=2] [job="ID:119, Type:truncate table, State:queueing, SchemaState:none, SchemaID:112, TableID:116, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:41.153 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:41.196 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 118, Table Name: t, Old Table ID: 116, Old Table Name: t)"] [2025/04/04 12:45:41.215 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=58] [neededSchemaVersion=59] ["elapsed time"=2.215439ms] [gotSchemaVersion=59] [phyTblIDs="[116,118]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 12:45:41.218 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=119] [version=59] [2025/04/04 12:45:41.220 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=59] ["take time"=9.586104ms] [job="ID:119, Type:truncate table, State:done, SchemaState:public, SchemaID:112, TableID:116, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:41.153 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:41.231 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=119] [tableIDs="[116]"] [comment="truncate table: table ID"] [2025/04/04 12:45:41.236 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=119] [jobType="truncate table"] [2025/04/04 12:45:41.236 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=119] [conn=2] [job="ID:119, Type:truncate table, State:synced, SchemaState:public, SchemaID:112, TableID:116, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:41.153 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:41.255 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=119] [2025/04/04 12:45:41.256 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=59] [cur_db=gsort_basic] [sql="truncate table t"] [user=] [2025/04/04 12:45:41.262 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:41.263 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:41.279 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:41.312 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://gs-basic/t.*.csv?endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F\",\"format\":\"csv\",\"options\":{\"__max_engine_size\":\"1\",\"cloud_storage_uri\":\"gs://sorted/import?access-key=xxxxxx\\u0026endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F\\u0026secret-access-key=xxxxxx\",\"detached\":null}}"] [dist-task-enabled=true] [2025/04/04 12:45:41.336 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=3] [task-id=3] [data-size=96B] [thread-cnt=8] [global-sort=true] [2025/04/04 12:45:41.351 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=3] [2025/04/04 12:45:41.351 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/04 12:45:41.454 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=encode] [2025/04/04 12:45:41.456 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:45:41.458 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=3] [curr-step=init] [next-step=encode] [2025/04/04 12:45:41.466 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:41.467 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:41.470 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 12:45:41.470 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=1] [after=1] [2025/04/04 12:45:41.470 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=2] [MaxChunkSize=268435456] [RegionsCount=2] [BatchSize=1] [cost=82.257µs] [2025/04/04 12:45:41.470 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=236.809µs] [] [2025/04/04 12:45:41.470 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:41.471 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:41.485 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=3] [curr-step=init] [next-step=encode] [subtask-count=2] [2025/04/04 12:45:41.485 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=encode] [concurrency=8] [subtasks=2] [2025/04/04 12:45:41.534 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=3] [type=ImportInto] [concurrency=8] [remaining-slots=8] [2025/04/04 12:45:41.557 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=3] [step=encode] [2025/04/04 12:45:41.557 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:41.558 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:41.566 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=3] [2025/04/04 12:45:41.566 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:45:41.566 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437824916082696] [2025/04/04 12:45:41.567 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:45:41.567 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:45:41.567 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:45:41.567 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:45:41.567 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:45:41.568 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:45:41.568 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:45:41.568 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:45:41.584 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:45:41.587 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 12:45:41.587 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 12:45:41.587 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=3] [step=encode] [data-buf-limit=512MiB] [per-index-buf-limit=170.7MiB] [index-buf-block-size=16MiB] [2025/04/04 12:45:41.587 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [step=encode] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [2025/04/04 12:45:41.595 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [subtaskID=19] [step=encode] [2025/04/04 12:45:41.595 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=3] [step=encode] [subtask-id=19] [2025/04/04 12:45:41.598 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/426fa7f2-211f-4f6a-a2b9-07b5c17bc7ca] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:41.598 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/cd6fb571-ec53-4701-bb1e-9f8e3b2a505a] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:41.598 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/149c5edf-400e-4c7e-8283-887a6282563a] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:41.598 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/25aea5a2-5ae9-4597-a313-da475297c93e] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:41.598 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/ddb11883-329f-4b60-9c8f-32b5b27999ee] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:41.598 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=118] [2025/04/04 12:45:41.598 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/35cc726c-7cc3-4964-a207-21308f17873b] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:41.598 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/2614575c-170f-4390-84d9-3f78011c8b0b] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:41.601 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=118] [key=t.1.csv:0] [2025/04/04 12:45:41.635 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=118] [key=t.1.csv:0] [readDur=913.796µs] [encodeDur=730.852µs] [checksum="{cksum=1019797567031239126,size=556,kvs=12}"] [deliverDur=32.569317ms] [type=file] [takeTime=34.604482ms] [] [2025/04/04 12:45:41.649 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/c000ee9e-0ab4-410d-911a-2c28637d75bd] [sequence-number=0] [bytes=179] [stat-size=74] [write-time=13.667658ms] [write-speed(bytes/s)=12.79KiB] [2025/04/04 12:45:41.650 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/c000ee9e-0ab4-410d-911a-2c28637d75bd] [sequence-number=0] [bytes=179] [kv-cnt=3] [sort-time=3.696µs] [write-time=13.808464ms] [sort-speed(kv/s)=811688.3117] [writer-id=data/c000ee9e-0ab4-410d-911a-2c28637d75bd] [2025/04/04 12:45:41.650 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/c000ee9e-0ab4-410d-911a-2c28637d75bd] [kv-cnt-cap=4] [minKey=7480000000000000765f728000000000000001] [maxKey=7480000000000000765f728000000000000003] [2025/04/04 12:45:41.669 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/3/c000ee9e-0ab4-410d-911a-2c28637d75bd] [sequence-number=0] [bytes=162] [stat-size=110] [write-time=19.532771ms] [write-speed(bytes/s)=8.099KiB] [2025/04/04 12:45:41.669 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/3/c000ee9e-0ab4-410d-911a-2c28637d75bd] [sequence-number=0] [bytes=162] [kv-cnt=3] [sort-time=3.66µs] [write-time=19.65003ms] [sort-speed(kv/s)=819672.1311] [writer-id=index/3/c000ee9e-0ab4-410d-911a-2c28637d75bd] [2025/04/04 12:45:41.670 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/3/c000ee9e-0ab4-410d-911a-2c28637d75bd] [kv-cnt-cap=4] [minKey=7480000000000000765f69800000000000000303800000000000007b038000000000000001] [maxKey=7480000000000000765f698000000000000003038000000000000315038000000000000003] [2025/04/04 12:45:41.690 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/c000ee9e-0ab4-410d-911a-2c28637d75bd] [sequence-number=0] [bytes=162] [stat-size=110] [write-time=20.527502ms] [write-speed(bytes/s)=7.707KiB] [2025/04/04 12:45:41.690 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/c000ee9e-0ab4-410d-911a-2c28637d75bd] [sequence-number=0] [bytes=162] [kv-cnt=3] [sort-time=3.316µs] [write-time=20.632775ms] [sort-speed(kv/s)=904704.4632] [writer-id=index/1/c000ee9e-0ab4-410d-911a-2c28637d75bd] [2025/04/04 12:45:41.690 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/c000ee9e-0ab4-410d-911a-2c28637d75bd] [kv-cnt-cap=4] [minKey=7480000000000000765f698000000000000001038000000000000001038000000000000001] [maxKey=7480000000000000765f698000000000000001038000000000000003038000000000000003] [2025/04/04 12:45:41.711 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/2/c000ee9e-0ab4-410d-911a-2c28637d75bd] [sequence-number=0] [bytes=245] [stat-size=130] [write-time=20.427882ms] [write-speed(bytes/s)=11.71KiB] [2025/04/04 12:45:41.711 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/2/c000ee9e-0ab4-410d-911a-2c28637d75bd] [sequence-number=0] [bytes=245] [kv-cnt=3] [sort-time=3.165µs] [write-time=20.556877ms] [sort-speed(kv/s)=947867.2986] [writer-id=index/2/c000ee9e-0ab4-410d-911a-2c28637d75bd] [2025/04/04 12:45:41.711 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/2/c000ee9e-0ab4-410d-911a-2c28637d75bd] [kv-cnt-cap=4] [minKey=7480000000000000765f698000000000000002016261723100000000fb03800000000000007b038000000000000001] [maxKey=7480000000000000765f698000000000000002016261723300000000fb038000000000000315038000000000000003] [2025/04/04 12:45:41.711 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=3] [step=encode] [engine-id=0] [2025/04/04 12:45:41.722 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=3] [step=encode] [subtask-id=19] [takeTime=127.185341ms] [] [2025/04/04 12:45:41.722 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [subtaskID=19] [step=encode] [takeTime=127.37174ms] [] [2025/04/04 12:45:41.744 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [subtaskID=20] [step=encode] [2025/04/04 12:45:41.744 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=3] [step=encode] [subtask-id=20] [2025/04/04 12:45:41.748 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/d44d578d-1942-4b33-ab80-1c73fa2b86ef] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:41.748 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/3694234f-c35e-4833-bb32-53e75c74abad] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:41.748 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/61d22917-fc30-40c9-bbd5-1f274bf7d57a] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:41.748 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=118] [2025/04/04 12:45:41.749 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/eed49691-caa2-4ed5-b7a2-d7de36ce214f] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:41.749 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/12389469-ea9d-4f3d-8188-a6e1b55e78cf] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:41.749 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/aa601492-e9ca-45c2-b576-0212c1752b72] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:41.749 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/04dfc31d-2d13-4142-98b5-ebdf63b7ee45] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:41.753 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=118] [key=t.2.csv:0] [2025/04/04 12:45:41.782 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=118] [key=t.2.csv:0] [readDur=1.532789ms] [encodeDur=587.054µs] [checksum="{cksum=12744263349315450059,size=556,kvs=12}"] [deliverDur=26.367327ms] [type=file] [takeTime=28.887333ms] [] [2025/04/04 12:45:41.791 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/51401384-9518-43b5-974c-b122322792a0] [sequence-number=0] [bytes=179] [stat-size=74] [write-time=9.147405ms] [write-speed(bytes/s)=19.11KiB] [2025/04/04 12:45:41.791 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/51401384-9518-43b5-974c-b122322792a0] [sequence-number=0] [bytes=179] [kv-cnt=3] [sort-time=5.065µs] [write-time=9.266484ms] [sort-speed(kv/s)=592300.0987] [writer-id=data/51401384-9518-43b5-974c-b122322792a0] [2025/04/04 12:45:41.791 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/51401384-9518-43b5-974c-b122322792a0] [kv-cnt-cap=4] [minKey=7480000000000000765f728000000000000004] [maxKey=7480000000000000765f728000000000000006] [2025/04/04 12:45:41.800 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/51401384-9518-43b5-974c-b122322792a0] [sequence-number=0] [bytes=162] [stat-size=110] [write-time=8.720797ms] [write-speed(bytes/s)=18.14KiB] [2025/04/04 12:45:41.800 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/51401384-9518-43b5-974c-b122322792a0] [sequence-number=0] [bytes=162] [kv-cnt=3] [sort-time=3.25µs] [write-time=8.829844ms] [sort-speed(kv/s)=923076.9231] [writer-id=index/1/51401384-9518-43b5-974c-b122322792a0] [2025/04/04 12:45:41.800 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/51401384-9518-43b5-974c-b122322792a0] [kv-cnt-cap=4] [minKey=7480000000000000765f698000000000000001038000000000000004038000000000000004] [maxKey=7480000000000000765f698000000000000001038000000000000006038000000000000006] [2025/04/04 12:45:41.809 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/2/51401384-9518-43b5-974c-b122322792a0] [sequence-number=0] [bytes=245] [stat-size=130] [write-time=8.324474ms] [write-speed(bytes/s)=28.74KiB] [2025/04/04 12:45:41.809 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/2/51401384-9518-43b5-974c-b122322792a0] [sequence-number=0] [bytes=245] [kv-cnt=3] [sort-time=2.896µs] [write-time=8.425758ms] [sort-speed(kv/s)=1035911.6022] [writer-id=index/2/51401384-9518-43b5-974c-b122322792a0] [2025/04/04 12:45:41.809 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/2/51401384-9518-43b5-974c-b122322792a0] [kv-cnt-cap=4] [minKey=7480000000000000765f698000000000000002016261723400000000fb03800000000000007b038000000000000004] [maxKey=7480000000000000765f698000000000000002016261723600000000fb038000000000000143038000000000000006] [2025/04/04 12:45:41.817 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/3/51401384-9518-43b5-974c-b122322792a0] [sequence-number=0] [bytes=162] [stat-size=110] [write-time=8.130202ms] [write-speed(bytes/s)=19.46KiB] [2025/04/04 12:45:41.817 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/3/51401384-9518-43b5-974c-b122322792a0] [sequence-number=0] [bytes=162] [kv-cnt=3] [sort-time=3.634µs] [write-time=8.242314ms] [sort-speed(kv/s)=825536.5988] [writer-id=index/3/51401384-9518-43b5-974c-b122322792a0] [2025/04/04 12:45:41.817 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/3/51401384-9518-43b5-974c-b122322792a0] [kv-cnt-cap=4] [minKey=7480000000000000765f69800000000000000303800000000000007b038000000000000004] [maxKey=7480000000000000765f698000000000000003038000000000000143038000000000000006] [2025/04/04 12:45:41.817 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=3] [step=encode] [engine-id=1] [2025/04/04 12:45:41.822 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=3] [step=encode] [subtask-id=20] [takeTime=77.479696ms] [] [2025/04/04 12:45:41.822 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [subtaskID=20] [step=encode] [takeTime=77.641134ms] [] [2025/04/04 12:45:41.857 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=encode] [next-step=merge-sort] [2025/04/04 12:45:41.859 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:45:41.861 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=3] [curr-step=encode] [next-step=merge-sort] [2025/04/04 12:45:41.868 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:41.869 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:41.873 +00:00] [INFO] [planner.go:366] ["skip merge sort for kv group"] [task-id=3] [kv-group=data] [2025/04/04 12:45:41.873 +00:00] [INFO] [planner.go:366] ["skip merge sort for kv group"] [task-id=3] [kv-group=1] [2025/04/04 12:45:41.873 +00:00] [INFO] [planner.go:366] ["skip merge sort for kv group"] [task-id=3] [kv-group=2] [2025/04/04 12:45:41.873 +00:00] [INFO] [planner.go:366] ["skip merge sort for kv group"] [task-id=3] [kv-group=3] [2025/04/04 12:45:41.874 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:41.875 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:41.877 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=3] [curr-step=encode] [next-step=merge-sort] [subtask-count=0] [2025/04/04 12:45:41.877 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=merge-sort] [concurrency=8] [subtasks=0] [2025/04/04 12:45:41.959 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=merge-sort] [next-step=ingest] [2025/04/04 12:45:41.961 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:45:41.963 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=3] [curr-step=merge-sort] [next-step=ingest] [2025/04/04 12:45:41.963 +00:00] [WARN] [scheduler.go:486] ["generate part of subtasks failed"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [error="injected error"] [errorVerbose="injected error\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importScheduler).OnNextSubtasksBatch\n\tpkg/disttask/importinto/scheduler.go:298\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).switch2NextStep\n\tpkg/disttask/framework/scheduler/scheduler.go:484\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).onRunning\n\tpkg/disttask/framework/scheduler/scheduler.go:394\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).scheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:247\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).ScheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:121\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*Manager).startScheduler.func1\n\tpkg/disttask/framework/scheduler/scheduler_manager.go:357\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:45:41.963 +00:00] [WARN] [scheduler.go:571] ["generate plan failed"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [error="injected error"] [errorVerbose="injected error\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importScheduler).OnNextSubtasksBatch\n\tpkg/disttask/importinto/scheduler.go:298\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).switch2NextStep\n\tpkg/disttask/framework/scheduler/scheduler.go:484\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).onRunning\n\tpkg/disttask/framework/scheduler/scheduler.go:394\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).scheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:247\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).ScheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:121\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*Manager).startScheduler.func1\n\tpkg/disttask/framework/scheduler/scheduler_manager.go:357\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [state=running] [2025/04/04 12:45:41.967 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [2025/04/04 12:45:41.967 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=3] [step=encode] [2025/04/04 12:45:41.968 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:45:41.968 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:45:41.968 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:45:41.968 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:45:41.968 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:45:41.968 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:45:41.968 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:45:41.968 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:41.968 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:41.968 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-14] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:45:41.968 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:41.968 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:45:41.970 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:45:41.970 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:41.970 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:41.970 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:41.970 +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=382.739348ms] [] [2025/04/04 12:45:41.970 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=3] [type=ImportInto] [2025/04/04 12:45:42.058 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=3] [step=merge-sort] [state=reverting] [error="injected error"] [errorVerbose="injected error\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importScheduler).OnNextSubtasksBatch\n\tpkg/disttask/importinto/scheduler.go:298\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).switch2NextStep\n\tpkg/disttask/framework/scheduler/scheduler.go:484\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).onRunning\n\tpkg/disttask/framework/scheduler/scheduler.go:394\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).scheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:247\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).ScheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:121\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*Manager).startScheduler.func1\n\tpkg/disttask/framework/scheduler/scheduler_manager.go:357\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:45:42.061 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=3] [2025/04/04 12:45:42.153 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=3] [2025/04/04 12:45:42.159 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 12:45:42.159 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=3] [2025/04/04 12:45:42.161 +00:00] [INFO] [clean_s3.go:55] ["cleanup global sorted data start"] [task-id=3] [2025/04/04 12:45:42.161 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:42.162 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:42.210 +00:00] [INFO] [clean_s3.go:72] ["cleanup global sorted data completed"] [task-id=3] [takeTime=48.871503ms] [] [2025/04/04 12:45:42.233 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] --- PASS: TestImportInto/TestGlobalSortBasic (5.46s) === NAME TestImportInto === RUN TestImportInto/TestGlobalSortMultiFiles [2025/04/04 12:45:42.322 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=59] [cur_db=gsort_basic] [sql="drop database if exists gs_multi_files"] [user=] [2025/04/04 12:45:42.336 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:121, Type:create schema, State:queueing, SchemaState:none, SchemaID:120, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:42.303 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:42.336 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:121, Type:create schema, State:queueing, SchemaState:none, SchemaID:120, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:42.303 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database gs_multi_files"] [2025/04/04 12:45:42.341 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=121] [conn=2] [job="ID:121, Type:create schema, State:queueing, SchemaState:none, SchemaID:120, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:42.303 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:42.354 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=59] [neededSchemaVersion=60] ["elapsed time"=762.411µs] [gotSchemaVersion=60] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 12:45:42.358 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=121] [version=60] [2025/04/04 12:45:42.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=60] ["take time"=7.914536ms] [job="ID:121, Type:create schema, State:done, SchemaState:public, SchemaID:120, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:42.303 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:42.370 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=121] [conn=2] [job="ID:121, Type:create schema, State:synced, SchemaState:public, SchemaID:120, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:42.303 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:42.381 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=121] [2025/04/04 12:45:42.382 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=60] [cur_db=gsort_basic] [sql="create database gs_multi_files"] [user=] [2025/04/04 12:45:42.396 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:123, Type:create table, State:queueing, SchemaState:none, SchemaID:120, TableID:122, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:42.353 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:42.396 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:123, Type:create table, State:queueing, SchemaState:none, SchemaID:120, TableID:122, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:42.353 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint primary key , b varchar(100), key(b), key(a,b), key(b,a));"] [2025/04/04 12:45:42.402 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=123] [conn=2] [job="ID:123, Type:create table, State:queueing, SchemaState:none, SchemaID:120, TableID:122, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:42.353 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:42.407 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 122, Table Name: t)"] [2025/04/04 12:45:42.423 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=60] [neededSchemaVersion=61] ["elapsed time"=2.14561ms] [gotSchemaVersion=61] [phyTblIDs="[122]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:42.427 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=123] [version=61] [2025/04/04 12:45:42.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=61] ["take time"=8.96782ms] [job="ID:123, Type:create table, State:done, SchemaState:public, SchemaID:120, TableID:122, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:42.353 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:42.440 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=123] [conn=2] [job="ID:123, Type:create table, State:synced, SchemaState:public, SchemaID:120, TableID:122, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:42.353 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:42.452 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=123] [2025/04/04 12:45:42.452 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=61] [cur_db=gs_multi_files] [sql="create table t (a bigint primary key , b varchar(100), key(b), key(a,b), key(b,a));"] [user=] [2025/04/04 12:45:42.458 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:42.459 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:42.475 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:42.510 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://gs-multi-files/t.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"cloud_storage_uri\":\"gs://sorted/gs_multi_files?endpoint=http://127.0.0.1:4443/storage/v1/\"}}"] [dist-task-enabled=true] [2025/04/04 12:45:42.530 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=4] [task-id=4] [data-size=144.3KiB] [thread-cnt=8] [global-sort=true] [2025/04/04 12:45:42.545 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=4] [2025/04/04 12:45:42.545 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/04 12:45:42.647 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=encode] [2025/04/04 12:45:42.649 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:45:42.650 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=4] [curr-step=init] [next-step=encode] [2025/04/04 12:45:42.658 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:42.659 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:42.663 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 12:45:42.663 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=147780] [2025/04/04 12:45:42.663 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=10] [MaxChunkSize=268435456] [RegionsCount=10] [BatchSize=147780] [cost=139.323µs] [2025/04/04 12:45:42.663 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=265.454µs] [] [2025/04/04 12:45:42.663 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:42.664 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:42.672 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=4] [curr-step=init] [next-step=encode] [subtask-count=1] [2025/04/04 12:45:42.673 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=encode] [concurrency=8] [subtasks=1] [2025/04/04 12:45:42.713 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=4] [type=ImportInto] [concurrency=8] [remaining-slots=8] [2025/04/04 12:45:42.733 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=4] [step=encode] [2025/04/04 12:45:42.733 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:42.734 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:42.743 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:45:42.743 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437824916082696] [2025/04/04 12:45:42.743 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:45:42.743 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:45:42.743 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:45:42.743 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:45:42.743 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:45:42.744 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:45:42.744 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:45:42.744 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:45:42.757 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:45:42.759 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 12:45:42.759 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=4] [2025/04/04 12:45:42.759 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 12:45:42.759 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=4] [step=encode] [data-buf-limit=512MiB] [per-index-buf-limit=170.7MiB] [index-buf-block-size=16MiB] [2025/04/04 12:45:42.759 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [step=encode] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [2025/04/04 12:45:42.767 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [subtaskID=21] [step=encode] [2025/04/04 12:45:42.767 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=4] [step=encode] [subtask-id=21] [2025/04/04 12:45:42.770 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=122] [2025/04/04 12:45:42.770 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=122] [2025/04/04 12:45:42.770 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=122] [2025/04/04 12:45:42.770 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=122] [2025/04/04 12:45:42.770 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=122] [2025/04/04 12:45:42.770 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=122] [2025/04/04 12:45:42.770 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=122] [2025/04/04 12:45:42.770 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=122] [2025/04/04 12:45:42.773 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=122] [key=t.1.csv:0] [2025/04/04 12:45:42.773 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=122] [key=t.3.csv:0] [2025/04/04 12:45:42.773 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=122] [key=t.4.csv:0] [2025/04/04 12:45:42.773 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=122] [key=t.7.csv:0] [2025/04/04 12:45:42.773 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=122] [key=t.6.csv:0] [2025/04/04 12:45:42.773 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=122] [key=t.2.csv:0] [2025/04/04 12:45:42.774 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=122] [key=t.0.csv:0] [2025/04/04 12:45:42.774 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=122] [key=t.5.csv:0] [2025/04/04 12:45:42.881 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=122] [key=t.4.csv:0] [readDur=8.953607ms] [encodeDur=83.082471ms] [checksum="{cksum=0,size=263000,kvs=4000}"] [deliverDur=42.925666ms] [type=file] [takeTime=107.945716ms] [] [2025/04/04 12:45:42.882 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=122] [2025/04/04 12:45:42.884 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=122] [key=t.8.csv:0] [2025/04/04 12:45:42.937 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=122] [key=t.7.csv:0] [readDur=10.516619ms] [encodeDur=88.174298ms] [checksum="{cksum=0,size=263000,kvs=4000}"] [deliverDur=118.059845ms] [type=file] [takeTime=163.936055ms] [] [2025/04/04 12:45:42.937 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=122] [2025/04/04 12:45:42.940 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=122] [key=t.9.csv:0] [2025/04/04 12:45:42.942 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=122] [key=t.2.csv:0] [readDur=8.739178ms] [encodeDur=88.419939ms] [checksum="{cksum=0,size=263000,kvs=4000}"] [deliverDur=129.232488ms] [type=file] [takeTime=168.671685ms] [] [2025/04/04 12:45:42.949 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=122] [key=t.5.csv:0] [readDur=8.889013ms] [encodeDur=83.514399ms] [checksum="{cksum=0,size=263000,kvs=4000}"] [deliverDur=136.411185ms] [type=file] [takeTime=175.637712ms] [] [2025/04/04 12:45:42.961 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=122] [key=t.6.csv:0] [readDur=10.587352ms] [encodeDur=82.603709ms] [checksum="{cksum=0,size=263000,kvs=4000}"] [deliverDur=148.263616ms] [type=file] [takeTime=187.987467ms] [] [2025/04/04 12:45:42.967 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=122] [key=t.1.csv:0] [readDur=8.506451ms] [encodeDur=78.092674ms] [checksum="{cksum=0,size=263000,kvs=4000}"] [deliverDur=158.699394ms] [type=file] [takeTime=193.917654ms] [] [2025/04/04 12:45:42.974 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=122] [key=t.0.csv:0] [readDur=11.660437ms] [encodeDur=144.258166ms] [checksum="{cksum=10408207814181128213,size=255604,kvs=4000}"] [deliverDur=138.502727ms] [type=file] [takeTime=200.687086ms] [] [2025/04/04 12:45:42.975 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/fd65e0fa-2fe3-428b-9a82-4f6d4b4f6c9c] [sequence-number=0] [bytes=53000] [stat-size=74] [write-time=24.69845ms] [write-speed(bytes/s)=2.046MiB] [2025/04/04 12:45:42.975 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/fd65e0fa-2fe3-428b-9a82-4f6d4b4f6c9c] [sequence-number=0] [bytes=53000] [kv-cnt=1000] [sort-time=527.325µs] [write-time=24.867636ms] [sort-speed(kv/s)=1896363.7226] [writer-id=data/fd65e0fa-2fe3-428b-9a82-4f6d4b4f6c9c] [2025/04/04 12:45:42.975 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/fd65e0fa-2fe3-428b-9a82-4f6d4b4f6c9c] [kv-cnt-cap=1365] [minKey=74800000000000007a5f728000000000001388] [maxKey=74800000000000007a5f72800000000000176f] [2025/04/04 12:45:42.978 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/402a3260-185b-47d3-8810-de1f9e8f44a2] [sequence-number=0] [bytes=53000] [stat-size=74] [write-time=34.972997ms] [write-speed(bytes/s)=1.445MiB] [2025/04/04 12:45:42.978 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/402a3260-185b-47d3-8810-de1f9e8f44a2] [sequence-number=0] [bytes=53000] [kv-cnt=1000] [sort-time=336.683µs] [write-time=35.09698ms] [sort-speed(kv/s)=2970152.9332] [writer-id=data/402a3260-185b-47d3-8810-de1f9e8f44a2] [2025/04/04 12:45:42.978 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/402a3260-185b-47d3-8810-de1f9e8f44a2] [kv-cnt-cap=1365] [minKey=74800000000000007a5f7280000000000007d0] [maxKey=74800000000000007a5f728000000000000bb7] [2025/04/04 12:45:42.978 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/ef28a645-7194-4148-aa65-bca776cc0fec] [sequence-number=0] [bytes=53000] [stat-size=74] [write-time=10.561877ms] [write-speed(bytes/s)=4.786MiB] [2025/04/04 12:45:42.978 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/ef28a645-7194-4148-aa65-bca776cc0fec] [sequence-number=0] [bytes=53000] [kv-cnt=1000] [sort-time=344.048µs] [write-time=10.681703ms] [sort-speed(kv/s)=2906571.1761] [writer-id=data/ef28a645-7194-4148-aa65-bca776cc0fec] [2025/04/04 12:45:42.978 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/ef28a645-7194-4148-aa65-bca776cc0fec] [kv-cnt-cap=1365] [minKey=74800000000000007a5f7280000000000003e8] [maxKey=74800000000000007a5f7280000000000007cf] [2025/04/04 12:45:42.979 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=122] [key=t.3.csv:0] [readDur=28.272996ms] [encodeDur=131.390331ms] [checksum="{cksum=0,size=263000,kvs=4000}"] [deliverDur=123.894335ms] [type=file] [takeTime=206.146332ms] [] [2025/04/04 12:45:42.985 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/fa544359-53b7-44c5-a2bd-e300dfd60d30] [sequence-number=0] [bytes=53000] [stat-size=74] [write-time=22.587933ms] [write-speed(bytes/s)=2.238MiB] [2025/04/04 12:45:42.985 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/fa544359-53b7-44c5-a2bd-e300dfd60d30] [sequence-number=0] [bytes=53000] [kv-cnt=1000] [sort-time=352.666µs] [write-time=22.693296ms] [sort-speed(kv/s)=2835544.1126] [writer-id=data/fa544359-53b7-44c5-a2bd-e300dfd60d30] [2025/04/04 12:45:42.985 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/fa544359-53b7-44c5-a2bd-e300dfd60d30] [kv-cnt-cap=1365] [minKey=74800000000000007a5f728000000000001770] [maxKey=74800000000000007a5f728000000000001b57] [2025/04/04 12:45:42.987 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/482ffbb0-2dd3-4337-8d2c-9607542ca344] [sequence-number=0] [bytes=51890] [stat-size=74] [write-time=11.672948ms] [write-speed(bytes/s)=4.239MiB] [2025/04/04 12:45:42.987 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/482ffbb0-2dd3-4337-8d2c-9607542ca344] [sequence-number=0] [bytes=51890] [kv-cnt=1000] [sort-time=324.626µs] [write-time=11.769223ms] [sort-speed(kv/s)=3080467.9847] [writer-id=data/482ffbb0-2dd3-4337-8d2c-9607542ca344] [2025/04/04 12:45:42.987 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/482ffbb0-2dd3-4337-8d2c-9607542ca344] [kv-cnt-cap=1365] [minKey=74800000000000007a5f728000000000000000] [maxKey=74800000000000007a5f7280000000000003e7] [2025/04/04 12:45:42.988 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/fd65e0fa-2fe3-428b-9a82-4f6d4b4f6c9c] [sequence-number=0] [bytes=82000] [stat-size=130] [write-time=12.371402ms] [write-speed(bytes/s)=6.321MiB] [2025/04/04 12:45:42.988 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/fd65e0fa-2fe3-428b-9a82-4f6d4b4f6c9c] [sequence-number=0] [bytes=82000] [kv-cnt=1000] [sort-time=454.17µs] [write-time=12.499295ms] [sort-speed(kv/s)=2201818.7022] [writer-id=index/1/fd65e0fa-2fe3-428b-9a82-4f6d4b4f6c9c] [2025/04/04 12:45:42.988 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/fd65e0fa-2fe3-428b-9a82-4f6d4b4f6c9c] [kv-cnt-cap=1365] [minKey=74800000000000007a5f69800000000000000101746573742d353030ff3000000000000000f8038000000000001388] [maxKey=74800000000000007a5f69800000000000000101746573742d353939ff3900000000000000f803800000000000176f] [2025/04/04 12:45:42.992 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/60e6b426-769c-4fed-8f18-3b1faed71bfd] [sequence-number=0] [bytes=53000] [stat-size=74] [write-time=11.915114ms] [write-speed(bytes/s)=4.242MiB] [2025/04/04 12:45:42.992 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/60e6b426-769c-4fed-8f18-3b1faed71bfd] [sequence-number=0] [bytes=53000] [kv-cnt=1000] [sort-time=341.64µs] [write-time=12.021946ms] [sort-speed(kv/s)=2927057.7216] [writer-id=data/60e6b426-769c-4fed-8f18-3b1faed71bfd] [2025/04/04 12:45:42.992 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/60e6b426-769c-4fed-8f18-3b1faed71bfd] [kv-cnt-cap=1365] [minKey=74800000000000007a5f728000000000000bb8] [maxKey=74800000000000007a5f728000000000000f9f] [2025/04/04 12:45:42.992 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/ef28a645-7194-4148-aa65-bca776cc0fec] [sequence-number=0] [bytes=82000] [stat-size=130] [write-time=13.525976ms] [write-speed(bytes/s)=5.782MiB] [2025/04/04 12:45:42.992 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/ef28a645-7194-4148-aa65-bca776cc0fec] [sequence-number=0] [bytes=82000] [kv-cnt=1000] [sort-time=336.292µs] [write-time=13.642351ms] [sort-speed(kv/s)=2973606.2707] [writer-id=index/1/ef28a645-7194-4148-aa65-bca776cc0fec] [2025/04/04 12:45:42.993 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/ef28a645-7194-4148-aa65-bca776cc0fec] [kv-cnt-cap=1365] [minKey=74800000000000007a5f69800000000000000101746573742d313030ff3000000000000000f80380000000000003e8] [maxKey=74800000000000007a5f69800000000000000101746573742d313939ff3900000000000000f80380000000000007cf] [2025/04/04 12:45:42.993 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/402a3260-185b-47d3-8810-de1f9e8f44a2] [sequence-number=0] [bytes=82000] [stat-size=130] [write-time=15.063898ms] [write-speed(bytes/s)=5.191MiB] [2025/04/04 12:45:42.994 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/402a3260-185b-47d3-8810-de1f9e8f44a2] [sequence-number=0] [bytes=82000] [kv-cnt=1000] [sort-time=345.272µs] [write-time=15.171473ms] [sort-speed(kv/s)=2896267.2907] [writer-id=index/1/402a3260-185b-47d3-8810-de1f9e8f44a2] [2025/04/04 12:45:42.994 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/402a3260-185b-47d3-8810-de1f9e8f44a2] [kv-cnt-cap=1365] [minKey=74800000000000007a5f69800000000000000101746573742d323030ff3000000000000000f80380000000000007d0] [maxKey=74800000000000007a5f69800000000000000101746573742d323939ff3900000000000000f8038000000000000bb7] [2025/04/04 12:45:43.000 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/3/fa544359-53b7-44c5-a2bd-e300dfd60d30] [sequence-number=0] [bytes=96000] [stat-size=148] [write-time=14.79837ms] [write-speed(bytes/s)=6.187MiB] [2025/04/04 12:45:43.000 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/3/fa544359-53b7-44c5-a2bd-e300dfd60d30] [sequence-number=0] [bytes=96000] [kv-cnt=1000] [sort-time=487.024µs] [write-time=14.940708ms] [sort-speed(kv/s)=2053286.9017] [writer-id=index/3/fa544359-53b7-44c5-a2bd-e300dfd60d30] [2025/04/04 12:45:43.000 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/3/fa544359-53b7-44c5-a2bd-e300dfd60d30] [kv-cnt-cap=1365] [minKey=74800000000000007a5f69800000000000000301746573742d363030ff3000000000000000f8038000000000001770038000000000001770] [maxKey=74800000000000007a5f69800000000000000301746573742d363939ff3900000000000000f8038000000000001b57038000000000001b57] [2025/04/04 12:45:43.002 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/2/482ffbb0-2dd3-4337-8d2c-9607542ca344] [sequence-number=0] [bytes=93862] [stat-size=139] [write-time=15.167748ms] [write-speed(bytes/s)=5.902MiB] [Pipeline] script [2025/04/04 12:45:43.002 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/2/482ffbb0-2dd3-4337-8d2c-9607542ca344] [sequence-number=0] [bytes=93862] [kv-cnt=1000] [sort-time=338.354µs] [write-time=15.277308ms] [sort-speed(kv/s)=2955484.4926] [writer-id=index/2/482ffbb0-2dd3-4337-8d2c-9607542ca344] [2025/04/04 12:45:43.002 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/2/482ffbb0-2dd3-4337-8d2c-9607542ca344] [kv-cnt-cap=1365] [minKey=74800000000000007a5f69800000000000000203800000000000000001746573742d300000fd038000000000000000] [maxKey=74800000000000007a5f6980000000000000020380000000000003e701746573742d393939ff0000000000000000f70380000000000003e7] [2025/04/04 12:45:43.008 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/2/fd65e0fa-2fe3-428b-9a82-4f6d4b4f6c9c] [sequence-number=0] [bytes=96000] [stat-size=148] [write-time=19.077262ms] [write-speed(bytes/s)=4.799MiB] [2025/04/04 12:45:43.008 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/2/fd65e0fa-2fe3-428b-9a82-4f6d4b4f6c9c] [sequence-number=0] [bytes=96000] [kv-cnt=1000] [sort-time=376.954µs] [write-time=19.190419ms] [sort-speed(kv/s)=2652843.5830] [writer-id=index/2/fd65e0fa-2fe3-428b-9a82-4f6d4b4f6c9c] [2025/04/04 12:45:43.008 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/2/fd65e0fa-2fe3-428b-9a82-4f6d4b4f6c9c] [kv-cnt-cap=1365] [minKey=74800000000000007a5f69800000000000000203800000000000138801746573742d353030ff3000000000000000f8038000000000001388] [maxKey=74800000000000007a5f69800000000000000203800000000000176f01746573742d353939ff3900000000000000f803800000000000176f] [2025/04/04 12:45:43.009 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/3/60e6b426-769c-4fed-8f18-3b1faed71bfd] [sequence-number=0] [bytes=96000] [stat-size=148] [write-time=16.360907ms] [write-speed(bytes/s)=5.596MiB] [2025/04/04 12:45:43.009 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/3/60e6b426-769c-4fed-8f18-3b1faed71bfd] [sequence-number=0] [bytes=96000] [kv-cnt=1000] [sort-time=367.529µs] [write-time=16.466958ms] [sort-speed(kv/s)=2720873.7270] [writer-id=index/3/60e6b426-769c-4fed-8f18-3b1faed71bfd] [2025/04/04 12:45:43.009 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/3/60e6b426-769c-4fed-8f18-3b1faed71bfd] [kv-cnt-cap=1365] [minKey=74800000000000007a5f69800000000000000301746573742d333030ff3000000000000000f8038000000000000bb8038000000000000bb8] [maxKey=74800000000000007a5f69800000000000000301746573742d333939ff3900000000000000f8038000000000000f9f038000000000000f9f] [2025/04/04 12:45:43.009 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/2/ef28a645-7194-4148-aa65-bca776cc0fec] [sequence-number=0] [bytes=96000] [stat-size=148] [write-time=16.365304ms] [write-speed(bytes/s)=5.594MiB] [2025/04/04 12:45:43.009 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/2/ef28a645-7194-4148-aa65-bca776cc0fec] [sequence-number=0] [bytes=96000] [kv-cnt=1000] [sort-time=335.747µs] [write-time=16.469869ms] [sort-speed(kv/s)=2978433.1654] [writer-id=index/2/ef28a645-7194-4148-aa65-bca776cc0fec] [2025/04/04 12:45:43.010 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/2/ef28a645-7194-4148-aa65-bca776cc0fec] [kv-cnt-cap=1365] [minKey=74800000000000007a5f6980000000000000020380000000000003e801746573742d313030ff3000000000000000f80380000000000003e8] [maxKey=74800000000000007a5f6980000000000000020380000000000007cf01746573742d313939ff3900000000000000f80380000000000007cf] [2025/04/04 12:45:43.010 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/2/402a3260-185b-47d3-8810-de1f9e8f44a2] [sequence-number=0] [bytes=96000] [stat-size=148] [write-time=15.873401ms] [write-speed(bytes/s)=5.768MiB] [2025/04/04 12:45:43.010 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/2/402a3260-185b-47d3-8810-de1f9e8f44a2] [sequence-number=0] [bytes=96000] [kv-cnt=1000] [sort-time=363.474µs] [write-time=15.984765ms] [sort-speed(kv/s)=2751228.4235] [writer-id=index/2/402a3260-185b-47d3-8810-de1f9e8f44a2] [2025/04/04 12:45:43.010 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/2/402a3260-185b-47d3-8810-de1f9e8f44a2] [kv-cnt-cap=1365] [minKey=74800000000000007a5f6980000000000000020380000000000007d001746573742d323030ff3000000000000000f80380000000000007d0] [maxKey=74800000000000007a5f698000000000000002038000000000000bb701746573742d323939ff3900000000000000f8038000000000000bb7] [2025/04/04 12:45:43.015 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/fa544359-53b7-44c5-a2bd-e300dfd60d30] [sequence-number=0] [bytes=82000] [stat-size=130] [write-time=13.489285ms] [write-speed(bytes/s)=5.797MiB] [2025/04/04 12:45:43.015 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/fa544359-53b7-44c5-a2bd-e300dfd60d30] [sequence-number=0] [bytes=82000] [kv-cnt=1000] [sort-time=653.734µs] [write-time=13.61589ms] [sort-speed(kv/s)=1529674.1488] [writer-id=index/1/fa544359-53b7-44c5-a2bd-e300dfd60d30] [2025/04/04 12:45:43.015 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/fa544359-53b7-44c5-a2bd-e300dfd60d30] [kv-cnt-cap=1365] [minKey=74800000000000007a5f69800000000000000101746573742d363030ff3000000000000000f8038000000000001770] [maxKey=74800000000000007a5f69800000000000000101746573742d363939ff3900000000000000f8038000000000001b57] [2025/04/04 12:45:43.040 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=122] [key=t.9.csv:0] [readDur=8.41552ms] [encodeDur=81.282825ms] [checksum="{cksum=0,size=263000,kvs=4000}"] [deliverDur=4.443245ms] [type=file] [takeTime=99.616508ms] [] [2025/04/04 12:45:43.041 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=122] [key=t.8.csv:0] [readDur=8.546974ms] [encodeDur=136.36523ms] [checksum="{cksum=0,size=263000,kvs=4000}"] [deliverDur=5.086275ms] [type=file] [takeTime=156.392566ms] [] [2025/04/04 12:45:43.051 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/3/482ffbb0-2dd3-4337-8d2c-9607542ca344] [sequence-number=0] [bytes=93862] [stat-size=139] [write-time=44.31996ms] [write-speed(bytes/s)=2.02MiB] [2025/04/04 12:45:43.052 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/3/482ffbb0-2dd3-4337-8d2c-9607542ca344] [sequence-number=0] [bytes=93862] [kv-cnt=1000] [sort-time=4.416833ms] [write-time=44.508816ms] [sort-speed(kv/s)=226406.5678] [writer-id=index/3/482ffbb0-2dd3-4337-8d2c-9607542ca344] [2025/04/04 12:45:43.052 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/3/482ffbb0-2dd3-4337-8d2c-9607542ca344] [kv-cnt-cap=1365] [minKey=74800000000000007a5f69800000000000000301746573742d300000fd038000000000000000038000000000000000] [maxKey=74800000000000007a5f69800000000000000301746573742d393939ff0000000000000000f70380000000000003e70380000000000003e7] [2025/04/04 12:45:43.055 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/60e6b426-769c-4fed-8f18-3b1faed71bfd] [sequence-number=0] [bytes=82000] [stat-size=130] [write-time=45.140349ms] [write-speed(bytes/s)=1.732MiB] [2025/04/04 12:45:43.055 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/60e6b426-769c-4fed-8f18-3b1faed71bfd] [sequence-number=0] [bytes=82000] [kv-cnt=1000] [sort-time=346.504µs] [write-time=45.246655ms] [sort-speed(kv/s)=2885969.5703] [writer-id=index/1/60e6b426-769c-4fed-8f18-3b1faed71bfd] [2025/04/04 12:45:43.055 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/60e6b426-769c-4fed-8f18-3b1faed71bfd] [kv-cnt-cap=1365] [minKey=74800000000000007a5f69800000000000000101746573742d333030ff3000000000000000f8038000000000000bb8] [maxKey=74800000000000007a5f69800000000000000101746573742d333939ff3900000000000000f8038000000000000f9f] [2025/04/04 12:45:43.056 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/3/ef28a645-7194-4148-aa65-bca776cc0fec] [sequence-number=0] [bytes=96000] [stat-size=148] [write-time=45.496005ms] [write-speed(bytes/s)=2.012MiB] [2025/04/04 12:45:43.056 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/3/ef28a645-7194-4148-aa65-bca776cc0fec] [sequence-number=0] [bytes=96000] [kv-cnt=1000] [sort-time=356.29µs] [write-time=45.597961ms] [sort-speed(kv/s)=2806702.4053] [writer-id=index/3/ef28a645-7194-4148-aa65-bca776cc0fec] [2025/04/04 12:45:43.056 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/3/ef28a645-7194-4148-aa65-bca776cc0fec] [kv-cnt-cap=1365] [minKey=74800000000000007a5f69800000000000000301746573742d313030ff3000000000000000f80380000000000003e80380000000000003e8] [maxKey=74800000000000007a5f69800000000000000301746573742d313939ff3900000000000000f80380000000000007cf0380000000000007cf] [2025/04/04 12:45:43.058 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/3/402a3260-185b-47d3-8810-de1f9e8f44a2] [sequence-number=0] [bytes=96000] [stat-size=148] [write-time=46.96445ms] [write-speed(bytes/s)=1.949MiB] [2025/04/04 12:45:43.058 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/3/402a3260-185b-47d3-8810-de1f9e8f44a2] [sequence-number=0] [bytes=96000] [kv-cnt=1000] [sort-time=391.354µs] [write-time=47.070652ms] [sort-speed(kv/s)=2555231.3251] [writer-id=index/3/402a3260-185b-47d3-8810-de1f9e8f44a2] [2025/04/04 12:45:43.058 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/3/402a3260-185b-47d3-8810-de1f9e8f44a2] [kv-cnt-cap=1365] [minKey=74800000000000007a5f69800000000000000301746573742d323030ff3000000000000000f80380000000000007d00380000000000007d0] [maxKey=74800000000000007a5f69800000000000000301746573742d323939ff3900000000000000f8038000000000000bb7038000000000000bb7] [2025/04/04 12:45:43.059 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/3/fd65e0fa-2fe3-428b-9a82-4f6d4b4f6c9c] [sequence-number=0] [bytes=96000] [stat-size=148] [write-time=50.039695ms] [write-speed(bytes/s)=1.83MiB] [2025/04/04 12:45:43.059 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/3/fd65e0fa-2fe3-428b-9a82-4f6d4b4f6c9c] [sequence-number=0] [bytes=96000] [kv-cnt=1000] [sort-time=370.163µs] [write-time=50.135919ms] [sort-speed(kv/s)=2701512.5769] [writer-id=index/3/fd65e0fa-2fe3-428b-9a82-4f6d4b4f6c9c] [2025/04/04 12:45:43.059 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/3/fd65e0fa-2fe3-428b-9a82-4f6d4b4f6c9c] [kv-cnt-cap=1365] [minKey=74800000000000007a5f69800000000000000301746573742d353030ff3000000000000000f8038000000000001388038000000000001388] [maxKey=74800000000000007a5f69800000000000000301746573742d353939ff3900000000000000f803800000000000176f03800000000000176f] [2025/04/04 12:45:43.067 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/2/fa544359-53b7-44c5-a2bd-e300dfd60d30] [sequence-number=0] [bytes=96000] [stat-size=148] [write-time=51.420092ms] [write-speed(bytes/s)=1.78MiB] [2025/04/04 12:45:43.067 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/2/fa544359-53b7-44c5-a2bd-e300dfd60d30] [sequence-number=0] [bytes=96000] [kv-cnt=1000] [sort-time=374.806µs] [write-time=51.565207ms] [sort-speed(kv/s)=2668046.9363] [writer-id=index/2/fa544359-53b7-44c5-a2bd-e300dfd60d30] [2025/04/04 12:45:43.067 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/2/fa544359-53b7-44c5-a2bd-e300dfd60d30] [kv-cnt-cap=1365] [minKey=74800000000000007a5f69800000000000000203800000000000177001746573742d363030ff3000000000000000f8038000000000001770] [maxKey=74800000000000007a5f698000000000000002038000000000001b5701746573742d363939ff3900000000000000f8038000000000001b57] [2025/04/04 12:45:43.069 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/57b25d24-0b08-44af-86be-e1e6bf19e667] [sequence-number=0] [bytes=106000] [stat-size=74] [write-time=29.048169ms] [write-speed(bytes/s)=3.48MiB] [2025/04/04 12:45:43.070 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/57b25d24-0b08-44af-86be-e1e6bf19e667] [sequence-number=0] [bytes=106000] [kv-cnt=2000] [sort-time=686.688µs] [write-time=29.152386ms] [sort-speed(kv/s)=2912530.8728] [writer-id=data/57b25d24-0b08-44af-86be-e1e6bf19e667] [2025/04/04 12:45:43.070 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/57b25d24-0b08-44af-86be-e1e6bf19e667] [kv-cnt-cap=2048] [minKey=74800000000000007a5f728000000000001b58] [maxKey=74800000000000007a5f72800000000000270f] [2025/04/04 12:45:43.071 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/b95d11c3-11a1-4704-baeb-5ebba05b87c0] [sequence-number=0] [bytes=106000] [stat-size=74] [write-time=28.97434ms] [write-speed(bytes/s)=3.489MiB] [2025/04/04 12:45:43.071 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/b95d11c3-11a1-4704-baeb-5ebba05b87c0] [sequence-number=0] [bytes=106000] [kv-cnt=2000] [sort-time=1.118153ms] [write-time=29.086755ms] [sort-speed(kv/s)=1788663.9843] [writer-id=data/b95d11c3-11a1-4704-baeb-5ebba05b87c0] [2025/04/04 12:45:43.071 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/b95d11c3-11a1-4704-baeb-5ebba05b87c0] [kv-cnt-cap=2048] [minKey=74800000000000007a5f728000000000000fa0] [maxKey=74800000000000007a5f728000000000002327] [2025/04/04 12:45:43.092 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/2/60e6b426-769c-4fed-8f18-3b1faed71bfd] [sequence-number=0] [bytes=96000] [stat-size=148] [write-time=37.132038ms] [write-speed(bytes/s)=2.466MiB] [2025/04/04 12:45:43.093 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/2/60e6b426-769c-4fed-8f18-3b1faed71bfd] [sequence-number=0] [bytes=96000] [kv-cnt=1000] [sort-time=346.416µs] [write-time=37.276424ms] [sort-speed(kv/s)=2886702.6927] [writer-id=index/2/60e6b426-769c-4fed-8f18-3b1faed71bfd] [2025/04/04 12:45:43.093 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/2/60e6b426-769c-4fed-8f18-3b1faed71bfd] [kv-cnt-cap=1365] [minKey=74800000000000007a5f698000000000000002038000000000000bb801746573742d333030ff3000000000000000f8038000000000000bb8] [maxKey=74800000000000007a5f698000000000000002038000000000000f9f01746573742d333939ff3900000000000000f8038000000000000f9f] [2025/04/04 12:45:43.098 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/482ffbb0-2dd3-4337-8d2c-9607542ca344] [sequence-number=0] [bytes=79990] [stat-size=121] [write-time=39.456827ms] [write-speed(bytes/s)=1.933MiB] [2025/04/04 12:45:43.098 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/482ffbb0-2dd3-4337-8d2c-9607542ca344] [sequence-number=0] [bytes=79990] [kv-cnt=1000] [sort-time=4.262466ms] [write-time=39.598963ms] [sort-speed(kv/s)=234605.9769] [writer-id=index/1/482ffbb0-2dd3-4337-8d2c-9607542ca344] [2025/04/04 12:45:43.098 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/482ffbb0-2dd3-4337-8d2c-9607542ca344] [kv-cnt-cap=1365] [minKey=74800000000000007a5f69800000000000000101746573742d300000fd038000000000000000] [maxKey=74800000000000007a5f69800000000000000101746573742d393939ff0000000000000000f70380000000000003e7] [2025/04/04 12:45:43.124 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/57b25d24-0b08-44af-86be-e1e6bf19e667] [sequence-number=0] [bytes=164000] [stat-size=130] [write-time=53.809327ms] [write-speed(bytes/s)=2.907MiB] [2025/04/04 12:45:43.124 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/57b25d24-0b08-44af-86be-e1e6bf19e667] [sequence-number=0] [bytes=164000] [kv-cnt=2000] [sort-time=575.702µs] [write-time=53.928365ms] [sort-speed(kv/s)=3474019.5448] [writer-id=index/1/57b25d24-0b08-44af-86be-e1e6bf19e667] [2025/04/04 12:45:43.124 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/57b25d24-0b08-44af-86be-e1e6bf19e667] [kv-cnt-cap=2048] [minKey=74800000000000007a5f69800000000000000101746573742d373030ff3000000000000000f8038000000000001b58] [maxKey=74800000000000007a5f69800000000000000101746573742d393939ff3900000000000000f803800000000000270f] [2025/04/04 12:45:43.129 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/b95d11c3-11a1-4704-baeb-5ebba05b87c0] [sequence-number=0] [bytes=164000] [stat-size=130] [write-time=57.250422ms] [write-speed(bytes/s)=2.732MiB] [2025/04/04 12:45:43.129 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/b95d11c3-11a1-4704-baeb-5ebba05b87c0] [sequence-number=0] [bytes=164000] [kv-cnt=2000] [sort-time=650.139µs] [write-time=57.360976ms] [sort-speed(kv/s)=3076265.2294] [writer-id=index/1/b95d11c3-11a1-4704-baeb-5ebba05b87c0] [2025/04/04 12:45:43.129 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/b95d11c3-11a1-4704-baeb-5ebba05b87c0] [kv-cnt-cap=2048] [minKey=74800000000000007a5f69800000000000000101746573742d343030ff3000000000000000f8038000000000000fa0] [maxKey=74800000000000007a5f69800000000000000101746573742d383939ff3900000000000000f8038000000000002327] [2025/04/04 12:45:43.168 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/2/57b25d24-0b08-44af-86be-e1e6bf19e667] [sequence-number=0] [bytes=192000] [stat-size=148] [write-time=42.671742ms] [write-speed(bytes/s)=4.291MiB] [2025/04/04 12:45:43.168 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/2/57b25d24-0b08-44af-86be-e1e6bf19e667] [sequence-number=0] [bytes=192000] [kv-cnt=2000] [sort-time=843.536µs] [write-time=42.817858ms] [sort-speed(kv/s)=2370971.7190] [writer-id=index/2/57b25d24-0b08-44af-86be-e1e6bf19e667] [2025/04/04 12:45:43.168 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/2/57b25d24-0b08-44af-86be-e1e6bf19e667] [kv-cnt-cap=2048] [minKey=74800000000000007a5f698000000000000002038000000000001b5801746573742d373030ff3000000000000000f8038000000000001b58] [maxKey=74800000000000007a5f69800000000000000203800000000000270f01746573742d393939ff3900000000000000f803800000000000270f] [2025/04/04 12:45:43.172 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/2/b95d11c3-11a1-4704-baeb-5ebba05b87c0] [sequence-number=0] [bytes=192000] [stat-size=148] [write-time=41.757489ms] [write-speed(bytes/s)=4.385MiB] [2025/04/04 12:45:43.172 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/2/b95d11c3-11a1-4704-baeb-5ebba05b87c0] [sequence-number=0] [bytes=192000] [kv-cnt=2000] [sort-time=638.04µs] [write-time=41.917016ms] [sort-speed(kv/s)=3134599.7116] [writer-id=index/2/b95d11c3-11a1-4704-baeb-5ebba05b87c0] [2025/04/04 12:45:43.172 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/2/b95d11c3-11a1-4704-baeb-5ebba05b87c0] [kv-cnt-cap=2048] [minKey=74800000000000007a5f698000000000000002038000000000000fa001746573742d343030ff3000000000000000f8038000000000000fa0] [maxKey=74800000000000007a5f69800000000000000203800000000000232701746573742d383939ff3900000000000000f8038000000000002327] [2025/04/04 12:45:43.208 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/3/57b25d24-0b08-44af-86be-e1e6bf19e667] [sequence-number=0] [bytes=192000] [stat-size=148] [write-time=39.401121ms] [write-speed(bytes/s)=4.647MiB] [2025/04/04 12:45:43.208 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/3/57b25d24-0b08-44af-86be-e1e6bf19e667] [sequence-number=0] [bytes=192000] [kv-cnt=2000] [sort-time=676.183µs] [write-time=39.529766ms] [sort-speed(kv/s)=2957779.1811] [writer-id=index/3/57b25d24-0b08-44af-86be-e1e6bf19e667] [2025/04/04 12:45:43.209 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/3/57b25d24-0b08-44af-86be-e1e6bf19e667] [kv-cnt-cap=2048] [minKey=74800000000000007a5f69800000000000000301746573742d373030ff3000000000000000f8038000000000001b58038000000000001b58] [maxKey=74800000000000007a5f69800000000000000301746573742d393939ff3900000000000000f803800000000000270f03800000000000270f] [2025/04/04 12:45:43.216 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/3/b95d11c3-11a1-4704-baeb-5ebba05b87c0] [sequence-number=0] [bytes=192000] [stat-size=148] [write-time=43.047831ms] [write-speed(bytes/s)=4.254MiB] [2025/04/04 12:45:43.216 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/3/b95d11c3-11a1-4704-baeb-5ebba05b87c0] [sequence-number=0] [bytes=192000] [kv-cnt=2000] [sort-time=1.072974ms] [write-time=43.166263ms] [sort-speed(kv/s)=1863978.0647] [writer-id=index/3/b95d11c3-11a1-4704-baeb-5ebba05b87c0] [2025/04/04 12:45:43.217 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/3/b95d11c3-11a1-4704-baeb-5ebba05b87c0] [kv-cnt-cap=2048] [minKey=74800000000000007a5f69800000000000000301746573742d343030ff3000000000000000f8038000000000000fa0038000000000000fa0] [maxKey=74800000000000007a5f69800000000000000301746573742d383939ff3900000000000000f8038000000000002327038000000000002327] [2025/04/04 12:45:43.217 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=4] [step=encode] [engine-id=0] [2025/04/04 12:45:43.229 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=4] [step=encode] [subtask-id=21] [takeTime=462.681365ms] [] [2025/04/04 12:45:43.229 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [subtaskID=21] [step=encode] [takeTime=462.854723ms] [] [2025/04/04 12:45:43.251 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=encode] [next-step=merge-sort] [2025/04/04 12:45:43.253 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:45:43.254 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=4] [curr-step=encode] [next-step=merge-sort] [2025/04/04 12:45:43.260 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:43.261 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:43.265 +00:00] [INFO] [planner.go:366] ["skip merge sort for kv group"] [task-id=4] [kv-group=data] [2025/04/04 12:45:43.265 +00:00] [INFO] [planner.go:366] ["skip merge sort for kv group"] [task-id=4] [kv-group=1] [2025/04/04 12:45:43.265 +00:00] [INFO] [planner.go:366] ["skip merge sort for kv group"] [task-id=4] [kv-group=2] [2025/04/04 12:45:43.265 +00:00] [INFO] [planner.go:366] ["skip merge sort for kv group"] [task-id=4] [kv-group=3] [2025/04/04 12:45:43.266 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:43.267 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:43.270 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=4] [curr-step=encode] [next-step=merge-sort] [subtask-count=0] [2025/04/04 12:45:43.270 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=merge-sort] [concurrency=8] [subtasks=0] [2025/04/04 12:45:43.351 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=merge-sort] [next-step=ingest] [2025/04/04 12:45:43.353 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:45:43.355 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=4] [curr-step=merge-sort] [next-step=ingest] [2025/04/04 12:45:43.371 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:43.371 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [2025/04/04 12:45:43.371 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=4] [step=encode] [2025/04/04 12:45:43.372 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:43.373 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:45:43.373 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:45:43.373 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:45:43.373 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:45:43.373 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:45:43.373 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:45:43.373 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:43.373 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:45:43.373 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-15] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:45:43.373 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:43.373 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:43.373 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:45:43.375 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:45:43.375 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:43.375 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:43.375 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:43.375 +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=616.536598ms] [] [2025/04/04 12:45:43.375 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=4] [type=ImportInto] [2025/04/04 12:45:43.379 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 12:45:43.379 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:45:43.381 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437824916082696] [2025/04/04 12:45:43.381 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:45:43.381 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:45:43.381 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:45:43.381 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:45:43.381 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:45:43.382 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:45:43.382 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:45:43.382 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:45:43.386 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:45:43.386 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:45:43.386 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:45:43.386 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:45:43.386 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:43.386 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:45:43.386 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:45:43.386 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:45:43.386 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-16] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:45:43.386 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:43.386 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:43.386 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:45:43.387 +00:00] [INFO] [planner.go:604] ["split kv range with split size and keys"] [region-split-size=256000000] [region-split-keys=2560000] [range-size=256000000] [range-keys=2560000] [2025/04/04 12:45:43.387 +00:00] [INFO] [split.go:130] ["create range splitter"] [rangesGroupSize=107374182400] [rangesGroupKeyCnt=9223372036854775807] [rangeJobSize=256000000] [rangeJobKeyCnt=2560000] [regionSplitSize=256000000] [regionSplitKeyCnt=2560000] [2025/04/04 12:45:43.392 +00:00] [INFO] [planner.go:469] ["kv range as subtask"] [startKey=74800000000000007a5f728000000000000000] [endKey=74800000000000007a5f72800000000000270f00] [dataFiles=8] [2025/04/04 12:45:43.392 +00:00] [INFO] [split.go:166] ["close range splitter"] [] [2025/04/04 12:45:43.395 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 12:45:43.395 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:45:43.396 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437824916082696] [2025/04/04 12:45:43.396 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:45:43.397 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:45:43.397 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:45:43.397 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:45:43.397 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:45:43.397 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:45:43.397 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:45:43.397 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:45:43.401 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:45:43.401 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:45:43.401 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:45:43.401 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:45:43.401 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:45:43.401 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:45:43.401 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:45:43.401 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:43.401 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:43.401 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-17] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:45:43.401 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:43.401 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:45:43.402 +00:00] [INFO] [planner.go:604] ["split kv range with split size and keys"] [region-split-size=256000000] [region-split-keys=2560000] [range-size=256000000] [range-keys=2560000] [2025/04/04 12:45:43.402 +00:00] [INFO] [split.go:130] ["create range splitter"] [rangesGroupSize=107374182400] [rangesGroupKeyCnt=9223372036854775807] [rangeJobSize=256000000] [rangeJobKeyCnt=2560000] [regionSplitSize=256000000] [regionSplitKeyCnt=2560000] [2025/04/04 12:45:43.407 +00:00] [INFO] [planner.go:469] ["kv range as subtask"] [startKey=74800000000000007a5f69800000000000000101746573742d300000fd038000000000000000] [endKey=74800000000000007a5f69800000000000000101746573742d393939ff3900000000000000f803800000000000270f00] [dataFiles=8] [2025/04/04 12:45:43.407 +00:00] [INFO] [split.go:166] ["close range splitter"] [] [2025/04/04 12:45:43.410 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 12:45:43.410 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:45:43.411 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437824916082696] [2025/04/04 12:45:43.412 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:45:43.412 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:45:43.412 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:45:43.412 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:45:43.412 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:45:43.412 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:45:43.412 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:45:43.413 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:45:43.416 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:45:43.416 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:45:43.416 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:45:43.416 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:45:43.416 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:45:43.416 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:45:43.416 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:45:43.416 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:43.416 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-18] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:45:43.417 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:43.417 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:43.417 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:45:43.418 +00:00] [INFO] [planner.go:604] ["split kv range with split size and keys"] [region-split-size=256000000] [region-split-keys=2560000] [range-size=256000000] [range-keys=2560000] [2025/04/04 12:45:43.418 +00:00] [INFO] [split.go:130] ["create range splitter"] [rangesGroupSize=107374182400] [rangesGroupKeyCnt=9223372036854775807] [rangeJobSize=256000000] [rangeJobKeyCnt=2560000] [regionSplitSize=256000000] [regionSplitKeyCnt=2560000] [2025/04/04 12:45:43.423 +00:00] [INFO] [planner.go:469] ["kv range as subtask"] [startKey=74800000000000007a5f69800000000000000203800000000000000001746573742d300000fd038000000000000000] [endKey=74800000000000007a5f69800000000000000203800000000000270f01746573742d393939ff3900000000000000f803800000000000270f00] [dataFiles=8] [2025/04/04 12:45:43.423 +00:00] [INFO] [split.go:166] ["close range splitter"] [] [2025/04/04 12:45:43.426 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 12:45:43.426 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:45:43.427 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437824916082696] [2025/04/04 12:45:43.427 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:45:43.427 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:45:43.427 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:45:43.428 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:45:43.428 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:45:43.428 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:45:43.428 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:45:43.428 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:45:43.432 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:45:43.432 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:45:43.432 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:45:43.432 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:45:43.432 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:45:43.432 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:45:43.432 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:45:43.432 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:43.432 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:43.432 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:43.432 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-19] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:45:43.432 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:45:43.433 +00:00] [INFO] [planner.go:604] ["split kv range with split size and keys"] [region-split-size=256000000] [region-split-keys=2560000] [range-size=256000000] [range-keys=2560000] [2025/04/04 12:45:43.433 +00:00] [INFO] [split.go:130] ["create range splitter"] [rangesGroupSize=107374182400] [rangesGroupKeyCnt=9223372036854775807] [rangeJobSize=256000000] [rangeJobKeyCnt=2560000] [regionSplitSize=256000000] [regionSplitKeyCnt=2560000] [2025/04/04 12:45:43.438 +00:00] [INFO] [planner.go:469] ["kv range as subtask"] [startKey=74800000000000007a5f69800000000000000301746573742d300000fd038000000000000000038000000000000000] [endKey=74800000000000007a5f69800000000000000301746573742d393939ff3900000000000000f803800000000000270f03800000000000270f00] [dataFiles=8] [2025/04/04 12:45:43.439 +00:00] [INFO] [split.go:166] ["close range splitter"] [] [2025/04/04 12:45:43.439 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:43.440 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:43.487 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=4] [curr-step=merge-sort] [next-step=ingest] [subtask-count=4] [2025/04/04 12:45:43.487 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=ingest] [concurrency=8] [subtasks=4] [2025/04/04 12:45:43.522 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=4] [type=ImportInto] [concurrency=8] [remaining-slots=8] [2025/04/04 12:45:43.543 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:43.544 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:43.552 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:45:43.552 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437824916082696] [2025/04/04 12:45:43.552 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:45:43.552 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:45:43.552 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:45:43.552 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:45:43.552 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:45:43.553 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:45:43.553 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:45:43.553 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:45:43.566 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:45:43.567 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 12:45:43.567 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 12:45:43.567 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [step=ingest] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [2025/04/04 12:45:43.575 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [subtaskID=22] [step=ingest] [2025/04/04 12:45:43.576 +00:00] [INFO] [task_executor.go:445] ["run subtask start"] [type=ImportInto] [task-id=4] [step=ingest] [subtask-id=22] [kv-group=data] [2025/04/04 12:45:43.577 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:43.577 +00:00] [INFO] [engine.go:196] ["create external engine"] [memLimitForLoadRange=7.385GiB] [2025/04/04 12:45:43.581 +00:00] [INFO] [local.go:886] ["split engine key ranges"] [category=ddl-ingest] [engine=external] [totalSize=107374182400] [totalCount=0] [startKey=74800000000000007A5F728000000000000000] [endKey=74800000000000007A5F72800000000000270F00] [len(keys)=2] [] [2025/04/04 12:45:43.581 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:45:43.603 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=67ff6562-87d0-5a56-80bb-4a167ccff507] ["region ranges"=1] [count=0] [size=107374182400] [2025/04/04 12:45:43.603 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:45:43.603 +00:00] [INFO] [local.go:916] ["split and scatter ranges start"] [category=ddl-ingest] [uuid=external] [2025/04/04 12:45:43.604 +00:00] [INFO] [client.go:568] ["paginate scan regions"] [count=2] [start=7480000000000000FF7A5F728000000000FF0000000000000000FA] [end=7480000000000000FF7A5F728000000000FF00270F0000000000FC] [2025/04/04 12:45:43.604 +00:00] [INFO] [localhelper.go:89] ["waiting for scattering regions done"] [category=ddl-ingest] [regions=0] [take=4.527µs] [2025/04/04 12:45:43.604 +00:00] [INFO] [local.go:941] ["split and scatter ranges completed"] [category=ddl-ingest] [uuid=external] [takeTime=733.217µs] [] [2025/04/04 12:45:43.604 +00:00] [INFO] [engine.go:443] ["load ingest data"] [batchSize=8] [2025/04/04 12:45:43.604 +00:00] [INFO] [reader.go:44] ["read all data start"] [2025/04/04 12:45:43.604 +00:00] [INFO] [reader.go:45] [arguments] [data-file-count=8] [stat-file-count=8] [start-key=74800000000000007a5f728000000000000000] [end-key=74800000000000007a5f72800000000000270f00] [2025/04/04 12:45:43.604 +00:00] [INFO] [util.go:60] ["seek props offsets start"] [2025/04/04 12:45:43.610 +00:00] [INFO] [util.go:62] ["seek props offsets completed"] [takeTime=5.732159ms] [] [2025/04/04 12:45:43.610 +00:00] [INFO] [engine.go:305] ["estimated file size of this range group"] [totalSize=0B] [2025/04/04 12:45:43.622 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:43.623 +00:00] [INFO] [reader.go:65] ["read all data completed"] [takeTime=18.849792ms] [] [2025/04/04 12:45:43.623 +00:00] [INFO] [engine.go:115] ["building memKVsAndBuffers"] [sumKVCnt=10000] [droppedSize=0] [2025/04/04 12:45:43.625 +00:00] [INFO] [engine.go:340] ["reading external storage in loadBatchRegionData"] ["cost time"=20.490965ms] [droppedSize=0] [2025/04/04 12:45:43.632 +00:00] [INFO] [engine.go:366] ["sorting in loadBatchRegionData"] ["cost time"=7.147933ms] [2025/04/04 12:45:43.632 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000007a5f728000000000000000] [endOfAllRanges=74800000000000007a5f72800000000000270f00] [startKeyOfFirstRegion=7480000000000000ff7a5f728000000000ff0000000000000000fa] [endKeyOfLastRegion=7800000000000000fb] [2025/04/04 12:45:43.654 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=67ff6562-87d0-5a56-80bb-4a167ccff507] [size=107374182400] [kvs=0] [importedSize=368890] [importedCount=10000] [2025/04/04 12:45:43.656 +00:00] [INFO] [task_executor.go:447] ["run subtask completed"] [type=ImportInto] [task-id=4] [step=ingest] [subtask-id=22] [kv-group=data] [takeTime=79.242502ms] [] [2025/04/04 12:45:43.657 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [subtaskID=22] [step=ingest] [takeTime=81.92943ms] [] [2025/04/04 12:45:43.680 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [subtaskID=23] [step=ingest] [2025/04/04 12:45:43.681 +00:00] [INFO] [task_executor.go:445] ["run subtask start"] [type=ImportInto] [task-id=4] [step=ingest] [subtask-id=23] [kv-group=1] [2025/04/04 12:45:43.682 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:43.682 +00:00] [INFO] [engine.go:196] ["create external engine"] [memLimitForLoadRange=7.385GiB] [2025/04/04 12:45:43.686 +00:00] [INFO] [local.go:886] ["split engine key ranges"] [category=ddl-ingest] [engine=external] [totalSize=107374182400] [totalCount=0] [startKey=74800000000000007A5F69800000000000000101746573742D300000FD038000000000000000] [endKey=74800000000000007A5F69800000000000000101746573742D393939FF3900000000000000F803800000000000270F00] [len(keys)=2] [] [2025/04/04 12:45:43.686 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:45:43.708 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=13828c64-9414-5512-b90c-635ed80ab1cf] ["region ranges"=1] [count=0] [size=107374182400] [2025/04/04 12:45:43.708 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:45:43.708 +00:00] [INFO] [local.go:916] ["split and scatter ranges start"] [category=ddl-ingest] [uuid=external] [2025/04/04 12:45:43.709 +00:00] [INFO] [client.go:568] ["paginate scan regions"] [count=2] [start=7480000000000000FF7A5F698000000000FF0000010174657374FF2D300000FD038000FF0000000000000000FD] [end=7480000000000000FF7A5F698000000000FF0000010174657374FF2D393939FF390000FF0000000000F80380FF0000000000270F00FF0000000000000000F8] [2025/04/04 12:45:43.709 +00:00] [INFO] [localhelper.go:89] ["waiting for scattering regions done"] [category=ddl-ingest] [regions=0] [take=4.047µs] [2025/04/04 12:45:43.709 +00:00] [INFO] [local.go:941] ["split and scatter ranges completed"] [category=ddl-ingest] [uuid=external] [takeTime=749.834µs] [] [2025/04/04 12:45:43.709 +00:00] [INFO] [engine.go:443] ["load ingest data"] [batchSize=8] [2025/04/04 12:45:43.709 +00:00] [INFO] [reader.go:44] ["read all data start"] [2025/04/04 12:45:43.709 +00:00] [INFO] [reader.go:45] [arguments] [data-file-count=8] [stat-file-count=8] [start-key=74800000000000007a5f69800000000000000101746573742d300000fd038000000000000000] [end-key=74800000000000007a5f69800000000000000101746573742d393939ff3900000000000000f803800000000000270f00] [2025/04/04 12:45:43.709 +00:00] [INFO] [util.go:60] ["seek props offsets start"] [2025/04/04 12:45:43.733 +00:00] [INFO] [util.go:62] ["seek props offsets completed"] [takeTime=24.146192ms] [] [2025/04/04 12:45:43.733 +00:00] [INFO] [engine.go:305] ["estimated file size of this range group"] [totalSize=0B] [2025/04/04 12:45:43.746 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:43.747 +00:00] [INFO] [reader.go:65] ["read all data completed"] [takeTime=37.745111ms] [] [2025/04/04 12:45:43.747 +00:00] [INFO] [engine.go:115] ["building memKVsAndBuffers"] [sumKVCnt=10000] [droppedSize=0] [2025/04/04 12:45:43.749 +00:00] [INFO] [engine.go:340] ["reading external storage in loadBatchRegionData"] ["cost time"=39.644202ms] [droppedSize=0] [2025/04/04 12:45:43.763 +00:00] [INFO] [engine.go:366] ["sorting in loadBatchRegionData"] ["cost time"=14.497113ms] [2025/04/04 12:45:43.764 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000007a5f69800000000000000101746573742d300000fd038000000000000000] [endOfAllRanges=74800000000000007a5f69800000000000000101746573742d393939ff3900000000000000f803800000000000270f00] [startKeyOfFirstRegion=7480000000000000ff7a5f698000000000ff0000010174657374ff2d300000fd038000ff0000000000000000fd] [endKeyOfLastRegion=7480000000000000ff7a5f698000000000ff0000010174657374ff2d393939ff390000ff0000000000f80380ff0000000000270f00ff0000000000000000f7] [2025/04/04 12:45:43.792 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=13828c64-9414-5512-b90c-635ed80ab1cf] [size=107374182400] [kvs=0] [importedSize=657990] [importedCount=10000] [2025/04/04 12:45:43.794 +00:00] [INFO] [task_executor.go:447] ["run subtask completed"] [type=ImportInto] [task-id=4] [step=ingest] [subtask-id=23] [kv-group=1] [takeTime=112.310583ms] [] [2025/04/04 12:45:43.794 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [subtaskID=23] [step=ingest] [takeTime=114.225762ms] [] [2025/04/04 12:45:43.815 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [subtaskID=24] [step=ingest] [2025/04/04 12:45:43.817 +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/04 12:45:43.817 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:43.818 +00:00] [INFO] [engine.go:196] ["create external engine"] [memLimitForLoadRange=7.385GiB] [2025/04/04 12:45:43.822 +00:00] [INFO] [local.go:886] ["split engine key ranges"] [category=ddl-ingest] [engine=external] [totalSize=107374182400] [totalCount=0] [startKey=74800000000000007A5F69800000000000000203800000000000000001746573742D300000FD038000000000000000] [endKey=74800000000000007A5F69800000000000000203800000000000270F01746573742D393939FF3900000000000000F803800000000000270F00] [len(keys)=2] [] [2025/04/04 12:45:43.822 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:45:43.844 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=54d02857-7fde-5e9a-9a20-8cf556c9d0e8] ["region ranges"=1] [count=0] [size=107374182400] [2025/04/04 12:45:43.844 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:45:43.844 +00:00] [INFO] [local.go:916] ["split and scatter ranges start"] [category=ddl-ingest] [uuid=external] [2025/04/04 12:45:43.845 +00:00] [INFO] [client.go:568] ["paginate scan regions"] [count=2] [start=7480000000000000FF7A5F698000000000FF0000020380000000FF0000000001746573FF742D300000FD0380FF0000000000000000FE] [end=7480000000000000FF7A5F698000000000FF0000020380000000FF0000270F01746573FF742D393939FF3900FF000000000000F803FF800000000000270FFF0000000000000000F9] [2025/04/04 12:45:43.845 +00:00] [INFO] [localhelper.go:89] ["waiting for scattering regions done"] [category=ddl-ingest] [regions=0] [take=4.477µs] [2025/04/04 12:45:43.845 +00:00] [INFO] [local.go:941] ["split and scatter ranges completed"] [category=ddl-ingest] [uuid=external] [takeTime=741.556µs] [] [2025/04/04 12:45:43.845 +00:00] [INFO] [engine.go:443] ["load ingest data"] [batchSize=8] [2025/04/04 12:45:43.845 +00:00] [INFO] [reader.go:44] ["read all data start"] [2025/04/04 12:45:43.845 +00:00] [INFO] [reader.go:45] [arguments] [data-file-count=8] [stat-file-count=8] [start-key=74800000000000007a5f69800000000000000203800000000000000001746573742d300000fd038000000000000000] [end-key=74800000000000007a5f69800000000000000203800000000000270f01746573742d393939ff3900000000000000f803800000000000270f00] [2025/04/04 12:45:43.845 +00:00] [INFO] [util.go:60] ["seek props offsets start"] [2025/04/04 12:45:43.851 +00:00] [INFO] [util.go:62] ["seek props offsets completed"] [takeTime=5.768965ms] [] [2025/04/04 12:45:43.851 +00:00] [INFO] [engine.go:305] ["estimated file size of this range group"] [totalSize=0B] [2025/04/04 12:45:43.865 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:43.866 +00:00] [INFO] [reader.go:65] ["read all data completed"] [takeTime=20.698506ms] [] [2025/04/04 12:45:43.866 +00:00] [INFO] [engine.go:115] ["building memKVsAndBuffers"] [sumKVCnt=10000] [droppedSize=0] [2025/04/04 12:45:43.868 +00:00] [INFO] [engine.go:340] ["reading external storage in loadBatchRegionData"] ["cost time"=22.733731ms] [droppedSize=0] [2025/04/04 12:45:43.878 +00:00] [INFO] [engine.go:366] ["sorting in loadBatchRegionData"] ["cost time"=9.87276ms] [2025/04/04 12:45:43.879 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000007a5f69800000000000000203800000000000000001746573742d300000fd038000000000000000] [endOfAllRanges=74800000000000007a5f69800000000000000203800000000000270f01746573742d393939ff3900000000000000f803800000000000270f00] [startKeyOfFirstRegion=7480000000000000ff7a5f698000000000ff0000020380000000ff0000000001746573ff742d300000fd0380ff0000000000000000fe] [endKeyOfLastRegion=7480000000000000ff7a5f698000000000ff0000020380000000ff0000270f01746573ff742d393939ff3900ff000000000000f803ff800000000000270fff0000000000000000f8] [2025/04/04 12:45:43.906 +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/04 12:45:43.908 +00:00] [INFO] [task_executor.go:447] ["run subtask completed"] [type=ImportInto] [task-id=4] [step=ingest] [subtask-id=24] [kv-group=2] [takeTime=90.312453ms] [] [2025/04/04 12:45:43.908 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [subtaskID=24] [step=ingest] [takeTime=92.656934ms] [] [2025/04/04 12:45:43.931 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [subtaskID=25] [step=ingest] [2025/04/04 12:45:43.933 +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/04 12:45:43.933 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:43.934 +00:00] [INFO] [engine.go:196] ["create external engine"] [memLimitForLoadRange=7.385GiB] [2025/04/04 12:45:43.938 +00:00] [INFO] [local.go:886] ["split engine key ranges"] [category=ddl-ingest] [engine=external] [totalSize=107374182400] [totalCount=0] [startKey=74800000000000007A5F69800000000000000301746573742D300000FD038000000000000000038000000000000000] [endKey=74800000000000007A5F69800000000000000301746573742D393939FF3900000000000000F803800000000000270F03800000000000270F00] [len(keys)=2] [] [2025/04/04 12:45:43.938 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:45:43.960 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=87740094-6033-5a46-85c3-533d680c8701] ["region ranges"=1] [count=0] [size=107374182400] [2025/04/04 12:45:43.960 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:45:43.960 +00:00] [INFO] [local.go:916] ["split and scatter ranges start"] [category=ddl-ingest] [uuid=external] [2025/04/04 12:45:43.961 +00:00] [INFO] [client.go:568] ["paginate scan regions"] [count=2] [start=7480000000000000FF7A5F698000000000FF0000030174657374FF2D300000FD038000FF0000000000000380FF0000000000000000FE] [end=7480000000000000FF7A5F698000000000FF0000030174657374FF2D393939FF390000FF0000000000F80380FF0000000000270F03FF800000000000270FFF0000000000000000F9] [2025/04/04 12:45:43.961 +00:00] [INFO] [localhelper.go:89] ["waiting for scattering regions done"] [category=ddl-ingest] [regions=0] [take=3.484µs] [2025/04/04 12:45:43.961 +00:00] [INFO] [local.go:941] ["split and scatter ranges completed"] [category=ddl-ingest] [uuid=external] [takeTime=770.817µs] [] [2025/04/04 12:45:43.961 +00:00] [INFO] [engine.go:443] ["load ingest data"] [batchSize=8] [2025/04/04 12:45:43.961 +00:00] [INFO] [reader.go:44] ["read all data start"] [2025/04/04 12:45:43.961 +00:00] [INFO] [reader.go:45] [arguments] [data-file-count=8] [stat-file-count=8] [start-key=74800000000000007a5f69800000000000000301746573742d300000fd038000000000000000038000000000000000] [end-key=74800000000000007a5f69800000000000000301746573742d393939ff3900000000000000f803800000000000270f03800000000000270f00] [2025/04/04 12:45:43.961 +00:00] [INFO] [util.go:60] ["seek props offsets start"] [2025/04/04 12:45:43.968 +00:00] [INFO] [util.go:62] ["seek props offsets completed"] [takeTime=6.15771ms] [] [2025/04/04 12:45:43.968 +00:00] [INFO] [engine.go:305] ["estimated file size of this range group"] [totalSize=0B] [2025/04/04 12:45:43.988 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:43.989 +00:00] [INFO] [reader.go:65] ["read all data completed"] [takeTime=27.593681ms] [] [2025/04/04 12:45:43.989 +00:00] [INFO] [engine.go:115] ["building memKVsAndBuffers"] [sumKVCnt=10000] [droppedSize=0] [2025/04/04 12:45:43.991 +00:00] [INFO] [engine.go:340] ["reading external storage in loadBatchRegionData"] ["cost time"=29.243916ms] [droppedSize=0] [2025/04/04 12:45:44.005 +00:00] [INFO] [engine.go:366] ["sorting in loadBatchRegionData"] ["cost time"=14.304029ms] [2025/04/04 12:45:44.006 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000007a5f69800000000000000301746573742d300000fd038000000000000000038000000000000000] [endOfAllRanges=74800000000000007a5f69800000000000000301746573742d393939ff3900000000000000f803800000000000270f03800000000000270f00] [startKeyOfFirstRegion=7480000000000000ff7a5f698000000000ff0000030174657374ff2d300000fd038000ff0000000000000380ff0000000000000000fe] [endKeyOfLastRegion=7480000000000000ff7a5f698000000000ff0000030174657374ff2d393939ff390000ff0000000000f80380ff0000000000270f03ff800000000000270fff0000000000000000f8] [2025/04/04 12:45:44.034 +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/04 12:45:44.036 +00:00] [INFO] [task_executor.go:447] ["run subtask completed"] [type=ImportInto] [task-id=4] [step=ingest] [subtask-id=25] [kv-group=3] [takeTime=103.196408ms] [] [2025/04/04 12:45:44.037 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [subtaskID=25] [step=ingest] [takeTime=105.630104ms] [] [2025/04/04 12:45:44.052 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=ingest] [next-step=post-process] [2025/04/04 12:45:44.054 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:45:44.056 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=4] [curr-step=ingest] [next-step=post-process] [2025/04/04 12:45:44.076 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=4] [curr-step=ingest] [next-step=post-process] [result="{\"LoadedRowCnt\":10000}"] [2025/04/04 12:45:44.078 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=4] [curr-step=ingest] [next-step=post-process] [subtask-count=1] [2025/04/04 12:45:44.078 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/04 12:45:44.102 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [oldStep=ingest] [newStep=post-process] [2025/04/04 12:45:44.109 +00:00] [INFO] [task_executor.go:515] ["cleanup subtask env"] [type=ImportInto] [task-id=4] [step=ingest] [2025/04/04 12:45:44.116 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:45:44.116 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:45:44.116 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:45:44.116 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:45:44.116 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:45:44.116 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:45:44.116 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:45:44.116 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:44.116 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:44.116 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-20] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:45:44.116 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:44.116 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:45:44.118 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:45:44.118 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:44.118 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:44.118 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:44.118 +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=550.434742ms] [] [2025/04/04 12:45:44.120 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [2025/04/04 12:45:44.127 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [subtaskID=26] [step=post-process] [2025/04/04 12:45:44.127 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=26] [2025/04/04 12:45:44.128 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=26] [2025/04/04 12:45:44.128 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=26] [2025/04/04 12:45:44.128 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=26] [takeTime=2.535µs] [] [2025/04/04 12:45:44.128 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=26] [groupId=3] [size=797862] [kvs=10000] [checksum=7064370007260104284] [2025/04/04 12:45:44.128 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=26] [groupId=-1] [size=368890] [kvs=10000] [checksum=14807964115588225436] [2025/04/04 12:45:44.128 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=26] [groupId=1] [size=657990] [kvs=10000] [checksum=4056391227583092039] [2025/04/04 12:45:44.128 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=26] [groupId=2] [size=797862] [kvs=10000] [checksum=554937224690942610] [2025/04/04 12:45:44.128 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=26] [checksum="{cksum=10408207814181128213,size=2622604,kvs=40000}"] [2025/04/04 12:45:44.128 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=26] [weight=30] [2025/04/04 12:45:44.128 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=26] [concurrency=15] [2025/04/04 12:45:44.137 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=122] [physicalTableID=122] [indexID=-1] [checksum=14807964115588225436] [totalKvs=10000] [totalBytes=368890] [2025/04/04 12:45:44.144 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=122] [physicalTableID=122] [indexID=1] [checksum=4056391227583092039] [totalKvs=10000] [totalBytes=657990] [2025/04/04 12:45:44.157 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=122] [physicalTableID=122] [indexID=2] [checksum=554937224690942610] [totalKvs=10000] [totalBytes=797862] [2025/04/04 12:45:44.157 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=122] [physicalTableID=122] [indexID=3] [checksum=7064370007260104284] [totalKvs=10000] [totalBytes=797862] [2025/04/04 12:45:44.158 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 12:45:44.158 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=26] [local="{cksum=10408207814181128213,size=2622604,kvs=40000}"] [2025/04/04 12:45:44.158 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=26] [takeTime=30.369683ms] [] [2025/04/04 12:45:44.158 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=26] [takeTime=30.554944ms] [] [2025/04/04 12:45:44.159 +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=31.550904ms] [] [2025/04/04 12:45:44.168 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 12:45:44.252 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 12:45:44.252 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=4] [step=post-process] [state=running] [] [2025/04/04 12:45:44.255 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=4] [2025/04/04 12:45:44.279 +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=159.255853ms] [] [2025/04/04 12:45:44.279 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=4] [type=ImportInto] [2025/04/04 12:45:44.347 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=4] [2025/04/04 12:45:44.347 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 1.89490307\n# Parse_time: 0.000112715\n# Compile_time: 0.000503432\n# Rewrite_time: 0.000113876\n# Optimize_time: 0.000891657\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('RvBFMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjEuODlzLCBvcGVuOjYyNm5zLCBjbG9zZTo3NTducywgbG9vcHM6MglOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('YfBMCl0KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWix0aW1lOjEuODlzLCBvcGVuOjYyNm5zLCBjbG9zZTo3NTducywgbG9vcHM6MnD///8JAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000037027\nuse gs_multi_files;\nIMPORT INTO `gs_multi_files`.`t` FROM 'gs://gs-multi-files/t.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH cloud_storage_uri=_UTF8MB4'gs://sorted/gs_multi_files?endpoint=http://127.0.0.1:4443/storage/v1/';"] [2025/04/04 12:45:44.353 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 12:45:44.353 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=4] [2025/04/04 12:45:44.355 +00:00] [INFO] [clean_s3.go:55] ["cleanup global sorted data start"] [task-id=4] [2025/04/04 12:45:44.355 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:44.356 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] --- PASS: TestImportInto/TestGlobalSortMultiFiles (2.24s) === NAME TestImportInto === RUN TestImportInto/TestGlobalSortUniqueKeyConflict [2025/04/04 12:45:44.548 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:124, Type:drop schema, State:queueing, SchemaState:public, SchemaID:120, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:44.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:44.548 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:124, Type:drop schema, State:queueing, SchemaState:public, SchemaID:120, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:44.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop database if exists gs_multi_files"] [2025/04/04 12:45:44.554 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=124] [conn=2] [job="ID:124, Type:drop schema, State:queueing, SchemaState:public, SchemaID:120, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:44.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:44.573 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=61] [neededSchemaVersion=62] ["elapsed time"=2.108038ms] [gotSchemaVersion=62] [phyTblIDs="[122]"] [actionTypes="[2]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 12:45:44.576 +00:00] [INFO] [clean_s3.go:72] ["cleanup global sorted data completed"] [task-id=4] [takeTime=220.678343ms] [] [2025/04/04 12:45:44.577 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=124] [version=62] [2025/04/04 12:45:44.579 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=62] ["take time"=10.035644ms] [job="ID:124, Type:drop schema, State:running, SchemaState:write only, SchemaID:120, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:44.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:44.594 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=124] [conn=2] [job="ID:124, Type:drop schema, State:running, SchemaState:write only, SchemaID:120, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:44.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:44.601 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 12:45:44.607 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=62] [neededSchemaVersion=63] ["elapsed time"=157.274µs] [gotSchemaVersion=63] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 12:45:44.611 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=124] [version=63] [2025/04/04 12:45:44.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=63] ["take time"=7.548226ms] [job="ID:124, Type:drop schema, State:running, SchemaState:delete only, SchemaID:120, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:44.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:44.622 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=124] [conn=2] [job="ID:124, Type:drop schema, State:running, SchemaState:delete only, SchemaID:120, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:44.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:44.629 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/04 12:45:44.639 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=63] [neededSchemaVersion=64] ["elapsed time"=141.563µs] [gotSchemaVersion=64] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 12:45:44.643 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=124] [version=64] [2025/04/04 12:45:44.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=64] ["take time"=7.619729ms] [job="ID:124, Type:drop schema, State:done, SchemaState:none, SchemaID:120, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:44.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:44.654 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=124] [tableIDs="[122]"] [comment="drop schema: table IDs"] [2025/04/04 12:45:44.659 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=124] [jobType="drop schema"] [2025/04/04 12:45:44.659 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=124] [conn=2] [job="ID:124, Type:drop schema, State:synced, SchemaState:none, SchemaID:120, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:44.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:44.676 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=124] [2025/04/04 12:45:44.677 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=64] [cur_db=] [sql="drop database if exists gs_multi_files"] [user=] [2025/04/04 12:45:44.689 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:126, Type:create schema, State:queueing, SchemaState:none, SchemaID:125, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:44.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:44.689 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:126, Type:create schema, State:queueing, SchemaState:none, SchemaID:125, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:44.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database gs_multi_files"] [2025/04/04 12:45:44.694 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=126] [conn=2] [job="ID:126, Type:create schema, State:queueing, SchemaState:none, SchemaID:125, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:44.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:44.708 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=64] [neededSchemaVersion=65] ["elapsed time"=688.692µs] [gotSchemaVersion=65] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 12:45:44.711 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=126] [version=65] [2025/04/04 12:45:44.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=65] ["take time"=7.819539ms] [job="ID:126, Type:create schema, State:done, SchemaState:public, SchemaID:125, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:44.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:44.723 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=126] [conn=2] [job="ID:126, Type:create schema, State:synced, SchemaState:public, SchemaID:125, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:44.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:44.734 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=126] [2025/04/04 12:45:44.734 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=65] [cur_db=] [sql="create database gs_multi_files"] [user=] [2025/04/04 12:45:44.748 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:128, Type:create table, State:queueing, SchemaState:none, SchemaID:125, TableID:127, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:44.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:44.748 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:128, Type:create table, State:queueing, SchemaState:none, SchemaID:125, TableID:127, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:44.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint primary key , b varchar(100) unique key);"] [2025/04/04 12:45:44.754 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=128] [conn=2] [job="ID:128, Type:create table, State:queueing, SchemaState:none, SchemaID:125, TableID:127, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:44.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:44.759 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 127, Table Name: t)"] [2025/04/04 12:45:44.775 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=65] [neededSchemaVersion=66] ["elapsed time"=2.312576ms] [gotSchemaVersion=66] [phyTblIDs="[127]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:44.780 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=128] [version=66] [2025/04/04 12:45:44.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=66] ["take time"=10.582243ms] [job="ID:128, Type:create table, State:done, SchemaState:public, SchemaID:125, TableID:127, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:44.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:44.793 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=128] [conn=2] [job="ID:128, Type:create table, State:synced, SchemaState:public, SchemaID:125, TableID:127, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:44.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:44.806 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=128] [2025/04/04 12:45:44.806 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=66] [cur_db=gs_multi_files] [sql="create table t (a bigint primary key , b varchar(100) unique key);"] [user=] [2025/04/04 12:45:44.813 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:44.814 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:44.831 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:44.866 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://gs-multi-files-uk/t.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"__max_engine_size\":\"1\",\"cloud_storage_uri\":\"gs://sorted/gs_multi_files?endpoint=http://127.0.0.1:4443/storage/v1/\",\"thread\":\"8\"}}"] [dist-task-enabled=true] [2025/04/04 12:45:44.887 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=5] [task-id=5] [data-size=144.3KiB] [thread-cnt=8] [global-sort=true] [2025/04/04 12:45:44.901 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=5] [2025/04/04 12:45:44.901 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/04 12:45:45.004 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=encode] [2025/04/04 12:45:45.005 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:45:45.006 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=5] [curr-step=init] [next-step=encode] [2025/04/04 12:45:45.015 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:45.016 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:45.019 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 12:45:45.019 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=1] [after=1] [2025/04/04 12:45:45.019 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=10] [MaxChunkSize=268435456] [RegionsCount=10] [BatchSize=1] [cost=208.837µs] [2025/04/04 12:45:45.019 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=364.462µs] [] [2025/04/04 12:45:45.020 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:45.021 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:45.092 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=5] [curr-step=init] [next-step=encode] [subtask-count=10] [2025/04/04 12:45:45.092 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=encode] [concurrency=8] [subtasks=10] [2025/04/04 12:45:45.131 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=5] [2025/04/04 12:45:45.133 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=5] [type=ImportInto] [concurrency=8] [remaining-slots=8] [2025/04/04 12:45:45.153 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=5] [step=encode] [2025/04/04 12:45:45.153 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:45.154 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:45.162 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:45:45.162 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437824916082696] [2025/04/04 12:45:45.162 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:45:45.162 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:45:45.163 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:45:45.163 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:45:45.163 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:45:45.163 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:45:45.163 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:45:45.163 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:45:45.176 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:45:45.179 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 12:45:45.179 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 12:45:45.179 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=5] [step=encode] [data-buf-limit=768MiB] [per-index-buf-limit=256MiB] [index-buf-block-size=16MiB] [2025/04/04 12:45:45.179 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [step=encode] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [2025/04/04 12:45:45.187 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=27] [step=encode] [2025/04/04 12:45:45.187 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=27] [2025/04/04 12:45:45.190 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/9a0502ba-29f1-46f9-9652-0b7af294625f] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:45.190 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/1937eff6-26fc-497c-b748-b47be76d4f55] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:45.190 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/a4508806-08b3-4814-a885-720b2cffbd99] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:45.190 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/c9920376-04ca-4c4f-b6d9-ec14f2ab23a1] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:45.190 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/b2823b76-e9d4-4ffb-bdc3-5a562033444f] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:45.190 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/69e6fd73-3564-4265-949c-1a7f544d3752] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:45.190 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=127] [2025/04/04 12:45:45.190 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/e6bd5fe6-0041-4cd7-b6f9-3de63d46ffd4] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:45.192 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=127] [key=t.5.csv:0] [2025/04/04 12:45:45.232 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=127] [key=t.5.csv:0] [readDur=7.571057ms] [encodeDur=27.384258ms] [checksum="{cksum=0,size=102000,kvs=2000}"] [deliverDur=2.164946ms] [type=file] [takeTime=39.729239ms] [] [2025/04/04 12:45:45.243 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/1acda80b-f7ba-4bbf-9c93-20d1c6503891] [sequence-number=0] [bytes=53000] [stat-size=74] [write-time=10.729952ms] [write-speed(bytes/s)=4.711MiB] [2025/04/04 12:45:45.243 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/1acda80b-f7ba-4bbf-9c93-20d1c6503891] [sequence-number=0] [bytes=53000] [kv-cnt=1000] [sort-time=351.216µs] [write-time=10.894834ms] [sort-speed(kv/s)=2847250.6947] [writer-id=data/1acda80b-f7ba-4bbf-9c93-20d1c6503891] [2025/04/04 12:45:45.243 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/1acda80b-f7ba-4bbf-9c93-20d1c6503891] [kv-cnt-cap=1365] [minKey=74800000000000007f5f728000000000001388] [maxKey=74800000000000007f5f72800000000000176f] [2025/04/04 12:45:45.258 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/1acda80b-f7ba-4bbf-9c93-20d1c6503891] [sequence-number=0] [bytes=81000] [stat-size=112] [write-time=13.806744ms] [write-speed(bytes/s)=5.595MiB] [2025/04/04 12:45:45.258 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/1acda80b-f7ba-4bbf-9c93-20d1c6503891] [sequence-number=0] [bytes=81000] [kv-cnt=1000] [sort-time=328.384µs] [write-time=13.936572ms] [sort-speed(kv/s)=3045215.3576] [writer-id=index/1/1acda80b-f7ba-4bbf-9c93-20d1c6503891] [2025/04/04 12:45:45.258 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/1acda80b-f7ba-4bbf-9c93-20d1c6503891] [kv-cnt-cap=1365] [minKey=74800000000000007f5f69800000000000000101746573742d353030ff3000000000000000f8] [maxKey=74800000000000007f5f69800000000000000101746573742d353939ff3900000000000000f8] [2025/04/04 12:45:45.258 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=5] [step=encode] [engine-id=5] [2025/04/04 12:45:45.261 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=27] [takeTime=73.396272ms] [] [2025/04/04 12:45:45.261 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=27] [step=encode] [takeTime=73.584833ms] [] [2025/04/04 12:45:45.284 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=28] [step=encode] [2025/04/04 12:45:45.284 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=28] [2025/04/04 12:45:45.286 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/ecb849b6-2739-423f-9593-b8958ee74a69] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:45.286 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/2cbf2ebe-93a4-4fca-8b82-506a4d509572] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:45.286 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/8c4be89d-951d-4a92-90ff-5b91f16739bc] [kv-cnt-cap=0] [minKey=] [maxKey=] [Pipeline] { [2025/04/04 12:45:45.286 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/be40ef93-ce22-419d-9bb0-a47e695b72ae] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:45.286 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/5782d60d-fffa-42ef-a01e-270e6df1d277] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:45.286 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/f5fedd3f-0b9b-4d8b-97d2-4e02902e807f] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:45.286 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=127] [2025/04/04 12:45:45.286 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/45f9ddcb-138e-477f-92cb-a91ce9609e25] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:45.289 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=127] [key=t.8.csv:0] [2025/04/04 12:45:45.328 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=127] [key=t.8.csv:0] [readDur=7.14394ms] [encodeDur=27.718707ms] [checksum="{cksum=0,size=102000,kvs=2000}"] [deliverDur=2.217552ms] [type=file] [takeTime=39.551075ms] [] [2025/04/04 12:45:45.340 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/8131cdcf-3cf7-414b-a172-39da66ec2c67] [sequence-number=0] [bytes=53000] [stat-size=74] [write-time=11.21052ms] [write-speed(bytes/s)=4.509MiB] [2025/04/04 12:45:45.340 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/8131cdcf-3cf7-414b-a172-39da66ec2c67] [sequence-number=0] [bytes=53000] [kv-cnt=1000] [sort-time=348.266µs] [write-time=11.345829ms] [sort-speed(kv/s)=2871368.4368] [writer-id=data/8131cdcf-3cf7-414b-a172-39da66ec2c67] [2025/04/04 12:45:45.340 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/8131cdcf-3cf7-414b-a172-39da66ec2c67] [kv-cnt-cap=1365] [minKey=74800000000000007f5f728000000000001f40] [maxKey=74800000000000007f5f728000000000002327] [2025/04/04 12:45:45.353 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/8131cdcf-3cf7-414b-a172-39da66ec2c67] [sequence-number=0] [bytes=81000] [stat-size=112] [write-time=11.979234ms] [write-speed(bytes/s)=6.448MiB] [2025/04/04 12:45:45.353 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/8131cdcf-3cf7-414b-a172-39da66ec2c67] [sequence-number=0] [bytes=81000] [kv-cnt=1000] [sort-time=326.77µs] [write-time=12.09433ms] [sort-speed(kv/s)=3060256.4495] [writer-id=index/1/8131cdcf-3cf7-414b-a172-39da66ec2c67] [2025/04/04 12:45:45.353 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/8131cdcf-3cf7-414b-a172-39da66ec2c67] [kv-cnt-cap=1365] [minKey=74800000000000007f5f69800000000000000101746573742d383030ff3000000000000000f8] [maxKey=74800000000000007f5f69800000000000000101746573742d383939ff3900000000000000f8] [2025/04/04 12:45:45.353 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=5] [step=encode] [engine-id=8] [2025/04/04 12:45:45.356 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=28] [takeTime=71.783688ms] [] [2025/04/04 12:45:45.356 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=28] [step=encode] [takeTime=72.019595ms] [] [2025/04/04 12:45:45.379 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=29] [step=encode] [2025/04/04 12:45:45.379 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=29] [2025/04/04 12:45:45.382 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/a3a9fc2a-840b-43ab-a8dd-c5ac731623e7] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:45.382 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/900d5044-ca3a-4726-9cdb-ad0fa599ffce] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:45.382 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/72fe1957-684a-4b48-aea7-95754ce0744b] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:45.382 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/ad348b4f-77d9-4c48-abc6-c040e0d22c46] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:45.382 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=127] [2025/04/04 12:45:45.382 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/6a5f652c-c57f-4438-8923-912d6b12418c] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:45.382 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/da7ed899-850b-4ef3-91d1-59a99daa3a75] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:45.382 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/3cf19031-87fe-4bb3-ad9b-5f5cfc96aea5] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:45.385 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=127] [key=t.1.csv:0] [2025/04/04 12:45:45.425 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=127] [key=t.1.csv:0] [readDur=7.248629ms] [encodeDur=27.789011ms] [checksum="{cksum=0,size=102000,kvs=2000}"] [deliverDur=2.490657ms] [type=file] [takeTime=39.97951ms] [] [2025/04/04 12:45:45.438 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/6d0a43b1-e880-4a7a-a39e-b33b10362233] [sequence-number=0] [bytes=53000] [stat-size=74] [write-time=11.886395ms] [write-speed(bytes/s)=4.252MiB] [2025/04/04 12:45:45.438 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/6d0a43b1-e880-4a7a-a39e-b33b10362233] [sequence-number=0] [bytes=53000] [kv-cnt=1000] [sort-time=360.171µs] [write-time=11.996097ms] [sort-speed(kv/s)=2776458.9598] [writer-id=data/6d0a43b1-e880-4a7a-a39e-b33b10362233] [2025/04/04 12:45:45.438 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/6d0a43b1-e880-4a7a-a39e-b33b10362233] [kv-cnt-cap=1365] [minKey=74800000000000007f5f7280000000000003e8] [maxKey=74800000000000007f5f7280000000000007cf] [2025/04/04 12:45:45.451 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/6d0a43b1-e880-4a7a-a39e-b33b10362233] [sequence-number=0] [bytes=81000] [stat-size=112] [write-time=12.746637ms] [write-speed(bytes/s)=6.06MiB] [2025/04/04 12:45:45.451 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/6d0a43b1-e880-4a7a-a39e-b33b10362233] [sequence-number=0] [bytes=81000] [kv-cnt=1000] [sort-time=331.796µs] [write-time=12.920276ms] [sort-speed(kv/s)=3013900.1073] [writer-id=index/1/6d0a43b1-e880-4a7a-a39e-b33b10362233] [2025/04/04 12:45:45.451 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/6d0a43b1-e880-4a7a-a39e-b33b10362233] [kv-cnt-cap=1365] [minKey=74800000000000007f5f69800000000000000101746573742d313030ff3000000000000000f8] [maxKey=74800000000000007f5f69800000000000000101746573742d313939ff3900000000000000f8] [2025/04/04 12:45:45.452 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=5] [step=encode] [engine-id=1] [2025/04/04 12:45:45.454 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=29] [takeTime=75.15499ms] [] [2025/04/04 12:45:45.454 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=29] [step=encode] [takeTime=75.336284ms] [] [2025/04/04 12:45:45.481 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=30] [step=encode] [2025/04/04 12:45:45.481 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=30] [2025/04/04 12:45:45.483 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/45d58f90-9c1b-423c-94c2-0401c2c93c7f] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:45.483 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/23c95e33-faf6-4f51-b121-86f03c268e59] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:45.483 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/9252c962-fa1e-4812-a8b5-517ef70b28e1] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:45.483 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/cd6413d7-968a-49fb-9cec-046bea792a57] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:45.483 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/59a6d6c5-73c8-4d69-9c00-d9e640c4af45] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:45.483 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=127] [2025/04/04 12:45:45.483 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/ac4ac97e-d66d-406d-86f7-e7deb4f6ce59] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:45.483 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/3358ad95-f157-42cb-833d-facf2de73788] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:45.485 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=127] [key=t.2.csv:0] [2025/04/04 12:45:45.524 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=127] [key=t.2.csv:0] [readDur=7.257018ms] [encodeDur=27.345541ms] [checksum="{cksum=0,size=102000,kvs=2000}"] [deliverDur=2.112518ms] [type=file] [takeTime=39.021328ms] [] [2025/04/04 12:45:45.539 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/9aa3a1fd-5ed9-49d9-a8b8-829789a91799] [sequence-number=0] [bytes=53000] [stat-size=74] [write-time=13.497279ms] [write-speed(bytes/s)=3.745MiB] [2025/04/04 12:45:45.539 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/9aa3a1fd-5ed9-49d9-a8b8-829789a91799] [sequence-number=0] [bytes=53000] [kv-cnt=1000] [sort-time=339.232µs] [write-time=13.635519ms] [sort-speed(kv/s)=2947835.1099] [writer-id=data/9aa3a1fd-5ed9-49d9-a8b8-829789a91799] [2025/04/04 12:45:45.539 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/9aa3a1fd-5ed9-49d9-a8b8-829789a91799] [kv-cnt-cap=1365] [minKey=74800000000000007f5f7280000000000007d0] [maxKey=74800000000000007f5f728000000000000bb7] [2025/04/04 12:45:45.552 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/9aa3a1fd-5ed9-49d9-a8b8-829789a91799] [sequence-number=0] [bytes=81000] [stat-size=112] [write-time=13.003189ms] [write-speed(bytes/s)=5.941MiB] [2025/04/04 12:45:45.552 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/9aa3a1fd-5ed9-49d9-a8b8-829789a91799] [sequence-number=0] [bytes=81000] [kv-cnt=1000] [sort-time=329.422µs] [write-time=13.155382ms] [sort-speed(kv/s)=3035619.9647] [writer-id=index/1/9aa3a1fd-5ed9-49d9-a8b8-829789a91799] [2025/04/04 12:45:45.552 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/9aa3a1fd-5ed9-49d9-a8b8-829789a91799] [kv-cnt-cap=1365] [minKey=74800000000000007f5f69800000000000000101746573742d323030ff3000000000000000f8] [maxKey=74800000000000007f5f69800000000000000101746573742d323939ff3900000000000000f8] [2025/04/04 12:45:45.553 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=5] [step=encode] [engine-id=2] [2025/04/04 12:45:45.555 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=30] [takeTime=74.302727ms] [] [2025/04/04 12:45:45.555 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=30] [step=encode] [takeTime=74.483103ms] [] [2025/04/04 12:45:45.578 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=31] [step=encode] [2025/04/04 12:45:45.578 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=31] [2025/04/04 12:45:45.581 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/b6124478-d07a-41e1-bde5-e89492515589] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:45.581 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/db3df02b-6a23-4e0b-953f-535f462003fa] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:45.581 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/f2a30baa-6983-48a6-ba5d-4e79fb4a1bc0] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:45.581 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=127] [2025/04/04 12:45:45.581 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/8676d36c-1f9e-4a36-8080-43aff44d6b6c] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:45.581 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/381aaaec-1160-4c53-92c1-4bc67e5e7085] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:45.581 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/7fc4e8be-059b-43f2-8e6b-fd9a5258bb7b] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:45.581 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/60f35daf-d836-4205-89ae-20aeb08ae63d] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:45.583 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=127] [key=t.4.csv:0] [2025/04/04 12:45:45.622 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=127] [key=t.4.csv:0] [readDur=7.094152ms] [encodeDur=27.345764ms] [checksum="{cksum=0,size=102000,kvs=2000}"] [deliverDur=2.197123ms] [type=file] [takeTime=39.086503ms] [] [2025/04/04 12:45:45.634 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/a6b5a586-5017-440d-9ee2-f44850852cc6] [sequence-number=0] [bytes=53000] [stat-size=74] [write-time=10.941314ms] [write-speed(bytes/s)=4.62MiB] [2025/04/04 12:45:45.634 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/a6b5a586-5017-440d-9ee2-f44850852cc6] [sequence-number=0] [bytes=53000] [kv-cnt=1000] [sort-time=332.88µs] [write-time=11.060675ms] [sort-speed(kv/s)=3004085.5564] [writer-id=data/a6b5a586-5017-440d-9ee2-f44850852cc6] [2025/04/04 12:45:45.634 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/a6b5a586-5017-440d-9ee2-f44850852cc6] [kv-cnt-cap=1365] [minKey=74800000000000007f5f728000000000000fa0] [maxKey=74800000000000007f5f728000000000001387] [2025/04/04 12:45:45.647 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/a6b5a586-5017-440d-9ee2-f44850852cc6] [sequence-number=0] [bytes=81000] [stat-size=112] [write-time=12.410335ms] [write-speed(bytes/s)=6.224MiB] [2025/04/04 12:45:45.647 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/a6b5a586-5017-440d-9ee2-f44850852cc6] [sequence-number=0] [bytes=81000] [kv-cnt=1000] [sort-time=347.751µs] [write-time=12.544437ms] [sort-speed(kv/s)=2875620.7746] [writer-id=index/1/a6b5a586-5017-440d-9ee2-f44850852cc6] [2025/04/04 12:45:45.647 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/a6b5a586-5017-440d-9ee2-f44850852cc6] [kv-cnt-cap=1365] [minKey=74800000000000007f5f69800000000000000101746573742d343030ff3000000000000000f8] [maxKey=74800000000000007f5f69800000000000000101746573742d343939ff3900000000000000f8] [2025/04/04 12:45:45.647 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=5] [step=encode] [engine-id=4] [2025/04/04 12:45:45.650 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=31] [takeTime=71.288926ms] [] [2025/04/04 12:45:45.650 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=31] [step=encode] [takeTime=71.811945ms] [] [2025/04/04 12:45:45.673 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=32] [step=encode] [2025/04/04 12:45:45.673 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=32] [2025/04/04 12:45:45.675 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/6e9c5aca-1383-4bc2-b491-dfa6fa1927e9] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:45.675 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/3d47e0d8-d23b-4228-a75b-49a7cf2074f2] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:45.675 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/e6904903-015a-4604-a086-48a555977fb3] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:45.675 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/7003d923-5497-40f7-88f6-a5b43e4a3818] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:45.675 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/f1c36687-62d6-4378-b6d6-5896c0fdbb10] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:45.675 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=127] [2025/04/04 12:45:45.675 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/2cc5be7d-e4ec-4887-8dbc-91d61226d349] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:45.675 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/56763a54-e361-4a30-b011-25a16115edf4] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:45.677 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=127] [key=t.6.csv:0] [2025/04/04 12:45:45.715 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=127] [key=t.6.csv:0] [readDur=7.028986ms] [encodeDur=26.293014ms] [checksum="{cksum=0,size=102000,kvs=2000}"] [deliverDur=2.250449ms] [type=file] [takeTime=38.130718ms] [] [2025/04/04 12:45:45.731 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/4f1f150b-f1e0-4734-b375-45e17cb1754f] [sequence-number=0] [bytes=53000] [stat-size=74] [write-time=14.833517ms] [write-speed(bytes/s)=3.407MiB] [2025/04/04 12:45:45.731 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/4f1f150b-f1e0-4734-b375-45e17cb1754f] [sequence-number=0] [bytes=53000] [kv-cnt=1000] [sort-time=331.711µs] [write-time=15.007015ms] [sort-speed(kv/s)=3014672.4106] [writer-id=data/4f1f150b-f1e0-4734-b375-45e17cb1754f] [2025/04/04 12:45:45.731 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/4f1f150b-f1e0-4734-b375-45e17cb1754f] [kv-cnt-cap=1365] [minKey=74800000000000007f5f728000000000001770] [maxKey=74800000000000007f5f728000000000001b57] [2025/04/04 12:45:45.745 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/4f1f150b-f1e0-4734-b375-45e17cb1754f] [sequence-number=0] [bytes=81000] [stat-size=112] [write-time=13.612829ms] [write-speed(bytes/s)=5.675MiB] [2025/04/04 12:45:45.745 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/4f1f150b-f1e0-4734-b375-45e17cb1754f] [sequence-number=0] [bytes=81000] [kv-cnt=1000] [sort-time=468.83µs] [write-time=13.744756ms] [sort-speed(kv/s)=2132969.3066] [writer-id=index/1/4f1f150b-f1e0-4734-b375-45e17cb1754f] [2025/04/04 12:45:45.746 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/4f1f150b-f1e0-4734-b375-45e17cb1754f] [kv-cnt-cap=1365] [minKey=74800000000000007f5f69800000000000000101746573742d363030ff3000000000000000f8] [maxKey=74800000000000007f5f69800000000000000101746573742d363939ff3900000000000000f8] [2025/04/04 12:45:45.746 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=5] [step=encode] [engine-id=6] [2025/04/04 12:45:45.749 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=32] [takeTime=76.367261ms] [] [2025/04/04 12:45:45.749 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=32] [step=encode] [takeTime=76.53732ms] [] [2025/04/04 12:45:45.773 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=33] [step=encode] [2025/04/04 12:45:45.773 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=33] [2025/04/04 12:45:45.776 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/a7457cfb-401c-4596-af44-e68e68f509b3] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:45.776 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=127] [2025/04/04 12:45:45.776 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/9b6579fe-d88f-42a5-8f1f-73d7d39a3c44] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:45.776 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/cc2bf0b6-6c22-40a4-8419-ef64caa02e1a] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:45.776 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/28b9d47a-3a8e-41fd-80cb-2307b5715cda] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:45.776 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/8cdfa282-5ca8-4176-a8c8-fbe3d0accc27] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:45.776 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/dce49c1c-3f9b-4b69-99de-3cf3a633910f] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:45.776 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/02ad9f92-41a6-41fb-b1e4-37ebc31b028f] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:45.779 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=127] [key=t.7.csv:0] [2025/04/04 12:45:45.819 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=127] [key=t.7.csv:0] [readDur=7.316279ms] [encodeDur=28.472275ms] [checksum="{cksum=0,size=102000,kvs=2000}"] [deliverDur=2.202753ms] [type=file] [takeTime=40.466617ms] [] [2025/04/04 12:45:45.831 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/bf10fb02-5aa1-45be-be38-0155f3fcafc9] [sequence-number=0] [bytes=53000] [stat-size=74] [write-time=11.457019ms] [write-speed(bytes/s)=4.412MiB] [2025/04/04 12:45:45.831 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/bf10fb02-5aa1-45be-be38-0155f3fcafc9] [sequence-number=0] [bytes=53000] [kv-cnt=1000] [sort-time=334.633µs] [write-time=11.567427ms] [sort-speed(kv/s)=2988348.4295] [writer-id=data/bf10fb02-5aa1-45be-be38-0155f3fcafc9] [2025/04/04 12:45:45.831 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/bf10fb02-5aa1-45be-be38-0155f3fcafc9] [kv-cnt-cap=1365] [minKey=74800000000000007f5f728000000000001b58] [maxKey=74800000000000007f5f728000000000001f3f] [2025/04/04 12:45:45.845 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/bf10fb02-5aa1-45be-be38-0155f3fcafc9] [sequence-number=0] [bytes=81000] [stat-size=112] [write-time=13.111059ms] [write-speed(bytes/s)=5.892MiB] [2025/04/04 12:45:45.845 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/bf10fb02-5aa1-45be-be38-0155f3fcafc9] [sequence-number=0] [bytes=81000] [kv-cnt=1000] [sort-time=333.417µs] [write-time=13.224141ms] [sort-speed(kv/s)=2999247.1890] [writer-id=index/1/bf10fb02-5aa1-45be-be38-0155f3fcafc9] [2025/04/04 12:45:45.845 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/bf10fb02-5aa1-45be-be38-0155f3fcafc9] [kv-cnt-cap=1365] [minKey=74800000000000007f5f69800000000000000101746573742d373030ff3000000000000000f8] [maxKey=74800000000000007f5f69800000000000000101746573742d373939ff3900000000000000f8] [2025/04/04 12:45:45.845 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=5] [step=encode] [engine-id=7] [2025/04/04 12:45:45.848 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=33] [takeTime=74.580138ms] [] [2025/04/04 12:45:45.848 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=33] [step=encode] [takeTime=74.760686ms] [] [2025/04/04 12:45:45.871 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=34] [step=encode] [2025/04/04 12:45:45.871 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=34] [2025/04/04 12:45:45.874 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/218c4d8a-8d81-4779-8e73-bb5636c6d301] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:45.874 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/60d00ea3-673c-43fd-a33b-6bc92b7162c6] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:45.874 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/41ea08a1-850f-455c-a30d-100cd40e9d02] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:45.874 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/0414c56b-0d0e-4b05-a349-3aaa66f2d619] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:45.874 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/a07ff8a6-c40a-4122-a610-0062f7e377d3] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:45.874 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=127] [2025/04/04 12:45:45.874 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/27112143-c599-415b-9d16-e9a0131d005b] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:45.874 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/0cf8df96-cfd4-49e2-a0ca-4f4c07fdb541] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:45.876 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=127] [key=t.9.csv:0] [2025/04/04 12:45:45.914 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=127] [key=t.9.csv:0] [readDur=6.958071ms] [encodeDur=26.645801ms] [checksum="{cksum=15899235463001290329,size=102100,kvs=2002}"] [deliverDur=2.168284ms] [type=file] [takeTime=38.114737ms] [] [2025/04/04 12:45:45.927 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/02f41bb4-56b6-46c2-b860-64a9f4ed6972] [sequence-number=0] [bytes=53052] [stat-size=74] [write-time=11.820923ms] [write-speed(bytes/s)=4.28MiB] [2025/04/04 12:45:45.927 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/02f41bb4-56b6-46c2-b860-64a9f4ed6972] [sequence-number=0] [bytes=53052] [kv-cnt=1001] [sort-time=333.02µs] [write-time=11.939228ms] [sort-speed(kv/s)=3005825.4759] [writer-id=data/02f41bb4-56b6-46c2-b860-64a9f4ed6972] [2025/04/04 12:45:45.927 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/02f41bb4-56b6-46c2-b860-64a9f4ed6972] [kv-cnt-cap=1365] [minKey=74800000000000007f5f728000000000002328] [maxKey=74800000000000007f5f728000000005f5e0ff] [2025/04/04 12:45:45.941 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/02f41bb4-56b6-46c2-b860-64a9f4ed6972] [sequence-number=0] [bytes=81080] [stat-size=112] [write-time=13.044721ms] [write-speed(bytes/s)=5.928MiB] [2025/04/04 12:45:45.941 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/02f41bb4-56b6-46c2-b860-64a9f4ed6972] [sequence-number=0] [bytes=81080] [kv-cnt=1001] [sort-time=695.274µs] [write-time=13.147823ms] [sort-speed(kv/s)=1439720.1679] [writer-id=index/1/02f41bb4-56b6-46c2-b860-64a9f4ed6972] [2025/04/04 12:45:45.941 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/02f41bb4-56b6-46c2-b860-64a9f4ed6972] [kv-cnt-cap=1365] [minKey=74800000000000007f5f69800000000000000101746573742d313233ff0000000000000000f7] [maxKey=74800000000000007f5f69800000000000000101746573742d393939ff3900000000000000f8] [2025/04/04 12:45:45.941 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=5] [step=encode] [engine-id=9] [2025/04/04 12:45:45.944 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=34] [takeTime=72.226861ms] [] [2025/04/04 12:45:45.944 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=34] [step=encode] [takeTime=72.389281ms] [] [2025/04/04 12:45:45.966 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=35] [step=encode] [2025/04/04 12:45:45.966 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=35] [2025/04/04 12:45:45.968 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/3313f0e6-17fb-410f-b127-f61232acc5d0] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:45.968 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/46bd903d-e028-4aca-b77f-bb32b06bc6c2] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:45.968 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/b5bc2db0-82a5-452c-8c24-9d3f95df7c50] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:45.968 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/1a3d9b34-987f-439a-a177-f2a673efa506] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:45.968 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/b637070b-e4f3-47ca-8c59-ba998fb92330] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:45.968 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=127] [2025/04/04 12:45:45.968 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/34163780-b9cc-4470-8a2c-a75f6dd6327b] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:45.968 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/7f63d8b9-83d6-4343-b655-4235cc6c6955] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:45.970 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=127] [key=t.0.csv:0] [2025/04/04 12:45:46.009 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=127] [key=t.0.csv:0] [readDur=7.042287ms] [encodeDur=26.009817ms] [checksum="{cksum=14807964115588225436,size=98880,kvs=2000}"] [deliverDur=2.22707ms] [type=file] [takeTime=39.112457ms] [] [2025/04/04 12:45:46.021 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/056e54ac-4df7-48d7-86a7-7b232a095472] [sequence-number=0] [bytes=51890] [stat-size=74] [write-time=11.414795ms] [write-speed(bytes/s)=4.335MiB] [2025/04/04 12:45:46.021 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/056e54ac-4df7-48d7-86a7-7b232a095472] [sequence-number=0] [bytes=51890] [kv-cnt=1000] [sort-time=320.103µs] [write-time=11.53738ms] [sort-speed(kv/s)=3123994.4643] [writer-id=data/056e54ac-4df7-48d7-86a7-7b232a095472] [2025/04/04 12:45:46.022 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/056e54ac-4df7-48d7-86a7-7b232a095472] [kv-cnt-cap=1365] [minKey=74800000000000007f5f728000000000000000] [maxKey=74800000000000007f5f7280000000000003e7] [2025/04/04 12:45:46.039 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/056e54ac-4df7-48d7-86a7-7b232a095472] [sequence-number=0] [bytes=78990] [stat-size=103] [write-time=13.316975ms] [write-speed(bytes/s)=5.657MiB] [2025/04/04 12:45:46.039 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/056e54ac-4df7-48d7-86a7-7b232a095472] [sequence-number=0] [bytes=78990] [kv-cnt=1000] [sort-time=4.065981ms] [write-time=13.479569ms] [sort-speed(kv/s)=245943.1070] [writer-id=index/1/056e54ac-4df7-48d7-86a7-7b232a095472] [2025/04/04 12:45:46.039 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/056e54ac-4df7-48d7-86a7-7b232a095472] [kv-cnt-cap=1365] [minKey=74800000000000007f5f69800000000000000101746573742d300000fd] [maxKey=74800000000000007f5f69800000000000000101746573742d393939ff0000000000000000f7] [2025/04/04 12:45:46.039 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=5] [step=encode] [engine-id=0] [2025/04/04 12:45:46.042 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=35] [takeTime=76.725031ms] [] [2025/04/04 12:45:46.042 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=35] [step=encode] [takeTime=76.909795ms] [] [2025/04/04 12:45:46.065 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=36] [step=encode] [2025/04/04 12:45:46.065 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=36] [2025/04/04 12:45:46.067 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/8f6b1d04-685a-494e-b55b-cf798b8c3416] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:46.067 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/a4bf4061-ea7e-4219-86f2-06cd4d1fd18c] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:46.067 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/2acf55e4-6453-478c-a7bc-195654bf94dd] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:46.067 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/1bdd561f-86ff-41b0-9092-1d654826bd07] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:46.067 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/60de5a6e-c8bd-4e50-a951-9c1200cb1dd9] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:46.067 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=127] [2025/04/04 12:45:46.067 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/c1597027-8f94-4eb5-9e4e-14107160ead3] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:46.067 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/22f490d6-c0e1-4503-a6c7-d66f9ffa390b] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/04 12:45:46.069 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=127] [key=t.3.csv:0] [2025/04/04 12:45:46.111 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=127] [key=t.3.csv:0] [readDur=7.680439ms] [encodeDur=28.755167ms] [checksum="{cksum=0,size=102000,kvs=2000}"] [deliverDur=2.156322ms] [type=file] [takeTime=41.375813ms] [] [2025/04/04 12:45:46.124 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/8bd366ea-af11-4f0c-b056-495e86f171a4] [sequence-number=0] [bytes=53000] [stat-size=74] [write-time=12.177931ms] [write-speed(bytes/s)=4.151MiB] [2025/04/04 12:45:46.124 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/8bd366ea-af11-4f0c-b056-495e86f171a4] [sequence-number=0] [bytes=53000] [kv-cnt=1000] [sort-time=368.47µs] [write-time=12.300542ms] [sort-speed(kv/s)=2713925.1499] [writer-id=data/8bd366ea-af11-4f0c-b056-495e86f171a4] [2025/04/04 12:45:46.124 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/8bd366ea-af11-4f0c-b056-495e86f171a4] [kv-cnt-cap=1365] [minKey=74800000000000007f5f728000000000000bb8] [maxKey=74800000000000007f5f728000000000000f9f] [2025/04/04 12:45:46.138 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/8bd366ea-af11-4f0c-b056-495e86f171a4] [sequence-number=0] [bytes=81000] [stat-size=112] [write-time=13.479309ms] [write-speed(bytes/s)=5.731MiB] [2025/04/04 12:45:46.138 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/8bd366ea-af11-4f0c-b056-495e86f171a4] [sequence-number=0] [bytes=81000] [kv-cnt=1000] [sort-time=330.688µs] [write-time=13.595818ms] [sort-speed(kv/s)=3023998.4517] [writer-id=index/1/8bd366ea-af11-4f0c-b056-495e86f171a4] [2025/04/04 12:45:46.138 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/8bd366ea-af11-4f0c-b056-495e86f171a4] [kv-cnt-cap=1365] [minKey=74800000000000007f5f69800000000000000101746573742d333030ff3000000000000000f8] [maxKey=74800000000000007f5f69800000000000000101746573742d333939ff3900000000000000f8] [2025/04/04 12:45:46.138 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=5] [step=encode] [engine-id=3] [2025/04/04 12:45:46.141 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=36] [takeTime=76.267475ms] [] [2025/04/04 12:45:46.141 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=36] [step=encode] [takeTime=76.456325ms] [] [2025/04/04 12:45:46.209 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=encode] [next-step=merge-sort] [2025/04/04 12:45:46.210 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:45:46.211 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=5] [curr-step=encode] [next-step=merge-sort] [2025/04/04 12:45:46.218 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:46.219 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:46.237 +00:00] [INFO] [planner.go:366] ["skip merge sort for kv group"] [task-id=5] [kv-group=data] [2025/04/04 12:45:46.237 +00:00] [INFO] [planner.go:366] ["skip merge sort for kv group"] [task-id=5] [kv-group=1] [2025/04/04 12:45:46.238 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:46.239 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:46.242 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=5] [curr-step=encode] [next-step=merge-sort] [subtask-count=0] [2025/04/04 12:45:46.242 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=merge-sort] [concurrency=8] [subtasks=0] [2025/04/04 12:45:46.288 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [2025/04/04 12:45:46.288 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=5] [step=encode] [2025/04/04 12:45:46.290 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:45:46.290 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:45:46.290 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:45:46.290 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:45:46.290 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:45:46.290 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:45:46.290 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:45:46.290 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-21] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:45:46.290 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:46.290 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:46.290 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:46.290 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:45:46.292 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:45:46.292 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:46.292 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:46.292 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:46.292 +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.112985408s] [] [2025/04/04 12:45:46.292 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=5] [type=ImportInto] [2025/04/04 12:45:46.309 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=merge-sort] [next-step=ingest] [2025/04/04 12:45:46.310 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:45:46.312 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=5] [curr-step=merge-sort] [next-step=ingest] [2025/04/04 12:45:46.330 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:46.331 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:46.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/04 12:45:46.352 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:45:46.354 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437824916082696] [2025/04/04 12:45:46.354 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:45:46.354 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:45:46.354 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:45:46.354 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:45:46.354 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:45:46.354 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:45:46.355 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:45:46.355 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:45:46.359 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:45:46.359 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:45:46.359 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:45:46.359 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:45:46.359 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:45:46.359 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:45:46.359 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:45:46.359 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:46.359 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:46.359 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-22] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:45:46.359 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:46.359 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:45:46.360 +00:00] [INFO] [planner.go:604] ["split kv range with split size and keys"] [region-split-size=256000000] [region-split-keys=2560000] [range-size=256000000] [range-keys=2560000] [2025/04/04 12:45:46.360 +00:00] [INFO] [split.go:130] ["create range splitter"] [rangesGroupSize=107374182400] [rangesGroupKeyCnt=9223372036854775807] [rangeJobSize=256000000] [rangeJobKeyCnt=2560000] [regionSplitSize=256000000] [regionSplitKeyCnt=2560000] [2025/04/04 12:45:46.366 +00:00] [INFO] [planner.go:469] ["kv range as subtask"] [startKey=74800000000000007f5f728000000000000000] [endKey=74800000000000007f5f728000000005f5e0ff00] [dataFiles=10] [2025/04/04 12:45:46.366 +00:00] [INFO] [split.go:166] ["close range splitter"] [] [2025/04/04 12:45:46.369 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 12:45:46.369 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:45:46.370 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437824916082696] [2025/04/04 12:45:46.371 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:45:46.371 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:45:46.371 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:45:46.371 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:45:46.371 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:45:46.371 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:45:46.372 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:45:46.372 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:45:46.376 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:45:46.376 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:45:46.376 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:45:46.376 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:45:46.376 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:45:46.376 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:45:46.376 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:45:46.376 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:46.376 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:46.376 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-23] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:45:46.376 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:46.376 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:45:46.377 +00:00] [INFO] [planner.go:604] ["split kv range with split size and keys"] [region-split-size=256000000] [region-split-keys=2560000] [range-size=256000000] [range-keys=2560000] [2025/04/04 12:45:46.377 +00:00] [INFO] [split.go:130] ["create range splitter"] [rangesGroupSize=107374182400] [rangesGroupKeyCnt=9223372036854775807] [rangeJobSize=256000000] [rangeJobKeyCnt=2560000] [regionSplitSize=256000000] [regionSplitKeyCnt=2560000] [2025/04/04 12:45:46.383 +00:00] [INFO] [planner.go:469] ["kv range as subtask"] [startKey=74800000000000007f5f69800000000000000101746573742d300000fd] [endKey=74800000000000007f5f69800000000000000101746573742d393939ff3900000000000000f800] [dataFiles=10] [2025/04/04 12:45:46.383 +00:00] [INFO] [split.go:166] ["close range splitter"] [] [2025/04/04 12:45:46.384 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:46.385 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:46.396 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=5] [curr-step=merge-sort] [next-step=ingest] [subtask-count=2] [2025/04/04 12:45:46.396 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=ingest] [concurrency=8] [subtasks=2] [2025/04/04 12:45:46.433 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=5] [type=ImportInto] [concurrency=8] [remaining-slots=8] [2025/04/04 12:45:46.454 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:46.455 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:46.464 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:45:46.464 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437824916082696] [2025/04/04 12:45:46.464 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:45:46.464 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:45:46.465 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:45:46.465 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:45:46.465 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:45:46.465 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:45:46.465 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:45:46.465 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:45:46.478 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:45:46.480 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 12:45:46.480 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 12:45:46.480 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [step=ingest] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [2025/04/04 12:45:46.490 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=37] [step=ingest] [2025/04/04 12:45:46.493 +00:00] [INFO] [task_executor.go:445] ["run subtask start"] [type=ImportInto] [task-id=5] [step=ingest] [subtask-id=37] [kv-group=data] [2025/04/04 12:45:46.493 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:46.493 +00:00] [INFO] [engine.go:196] ["create external engine"] [memLimitForLoadRange=7.385GiB] [2025/04/04 12:45:46.497 +00:00] [INFO] [local.go:886] ["split engine key ranges"] [category=ddl-ingest] [engine=external] [totalSize=107374182400] [totalCount=0] [startKey=74800000000000007F5F728000000000000000] [endKey=74800000000000007F5F728000000005F5E0FF00] [len(keys)=2] [] [2025/04/04 12:45:46.498 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:45:46.519 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=82e342e1-5b86-5da8-9a1f-fbfebae10a53] ["region ranges"=1] [count=0] [size=107374182400] [2025/04/04 12:45:46.520 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:45:46.520 +00:00] [INFO] [local.go:916] ["split and scatter ranges start"] [category=ddl-ingest] [uuid=external] [2025/04/04 12:45:46.520 +00:00] [INFO] [client.go:568] ["paginate scan regions"] [count=2] [start=7480000000000000FF7F5F728000000000FF0000000000000000FA] [end=7480000000000000FF7F5F728000000005FFF5E0FF0000000000FC] [2025/04/04 12:45:46.520 +00:00] [INFO] [localhelper.go:89] ["waiting for scattering regions done"] [category=ddl-ingest] [regions=0] [take=3.282µs] [2025/04/04 12:45:46.520 +00:00] [INFO] [local.go:941] ["split and scatter ranges completed"] [category=ddl-ingest] [uuid=external] [takeTime=710.843µs] [] [2025/04/04 12:45:46.521 +00:00] [INFO] [engine.go:443] ["load ingest data"] [batchSize=8] [2025/04/04 12:45:46.521 +00:00] [INFO] [reader.go:44] ["read all data start"] [2025/04/04 12:45:46.521 +00:00] [INFO] [reader.go:45] [arguments] [data-file-count=10] [stat-file-count=10] [start-key=74800000000000007f5f728000000000000000] [end-key=74800000000000007f5f728000000005f5e0ff00] [2025/04/04 12:45:46.521 +00:00] [INFO] [util.go:60] ["seek props offsets start"] [2025/04/04 12:45:46.527 +00:00] [INFO] [util.go:62] ["seek props offsets completed"] [takeTime=6.18935ms] [] [2025/04/04 12:45:46.527 +00:00] [INFO] [engine.go:305] ["estimated file size of this range group"] [totalSize=0B] [2025/04/04 12:45:46.537 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:46.538 +00:00] [INFO] [reader.go:65] ["read all data completed"] [takeTime=17.437851ms] [] [2025/04/04 12:45:46.538 +00:00] [INFO] [engine.go:115] ["building memKVsAndBuffers"] [sumKVCnt=10001] [droppedSize=0] [2025/04/04 12:45:46.540 +00:00] [INFO] [engine.go:340] ["reading external storage in loadBatchRegionData"] ["cost time"=19.204889ms] [droppedSize=0] [2025/04/04 12:45:46.549 +00:00] [INFO] [engine.go:366] ["sorting in loadBatchRegionData"] ["cost time"=8.942394ms] [2025/04/04 12:45:46.550 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000007f5f728000000000000000] [endOfAllRanges=74800000000000007f5f728000000005f5e0ff00] [startKeyOfFirstRegion=7480000000000000ff7f5f728000000000ff0000000000000000fa] [endKeyOfLastRegion=7800000000000000fb] [2025/04/04 12:45:46.570 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=82e342e1-5b86-5da8-9a1f-fbfebae10a53] [size=107374182400] [kvs=0] [importedSize=368926] [importedCount=10001] [2025/04/04 12:45:46.572 +00:00] [INFO] [task_executor.go:447] ["run subtask completed"] [type=ImportInto] [task-id=5] [step=ingest] [subtask-id=37] [kv-group=data] [takeTime=79.841199ms] [] [2025/04/04 12:45:46.573 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=37] [step=ingest] [takeTime=82.083355ms] [] [2025/04/04 12:45:46.596 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=38] [step=ingest] [2025/04/04 12:45:46.598 +00:00] [INFO] [task_executor.go:445] ["run subtask start"] [type=ImportInto] [task-id=5] [step=ingest] [subtask-id=38] [kv-group=1] [2025/04/04 12:45:46.598 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:46.599 +00:00] [INFO] [engine.go:196] ["create external engine"] [memLimitForLoadRange=7.385GiB] [2025/04/04 12:45:46.603 +00:00] [INFO] [local.go:886] ["split engine key ranges"] [category=ddl-ingest] [engine=external] [totalSize=107374182400] [totalCount=0] [startKey=74800000000000007F5F69800000000000000101746573742D300000FD] [endKey=74800000000000007F5F69800000000000000101746573742D393939FF3900000000000000F800] [len(keys)=2] [] [2025/04/04 12:45:46.603 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:45:46.625 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=68cc56fc-cbcc-5dee-917f-fd1e8e404a8f] ["region ranges"=1] [count=0] [size=107374182400] [2025/04/04 12:45:46.625 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:45:46.625 +00:00] [INFO] [local.go:916] ["split and scatter ranges start"] [category=ddl-ingest] [uuid=external] [2025/04/04 12:45:46.626 +00:00] [INFO] [client.go:568] ["paginate scan regions"] [count=2] [start=7480000000000000FF7F5F698000000000FF0000010174657374FF2D300000FD000000FC] [end=7480000000000000FF7F5F698000000000FF0000010174657374FF2D393939FF390000FF0000000000F80000FF0000000000000000F7] [2025/04/04 12:45:46.626 +00:00] [INFO] [localhelper.go:89] ["waiting for scattering regions done"] [category=ddl-ingest] [regions=0] [take=4.586µs] [2025/04/04 12:45:46.626 +00:00] [INFO] [local.go:941] ["split and scatter ranges completed"] [category=ddl-ingest] [uuid=external] [takeTime=762.258µs] [] [2025/04/04 12:45:46.626 +00:00] [INFO] [engine.go:443] ["load ingest data"] [batchSize=8] [2025/04/04 12:45:46.626 +00:00] [INFO] [reader.go:44] ["read all data start"] [2025/04/04 12:45:46.626 +00:00] [INFO] [reader.go:45] [arguments] [data-file-count=10] [stat-file-count=10] [start-key=74800000000000007f5f69800000000000000101746573742d300000fd] [end-key=74800000000000007f5f69800000000000000101746573742d393939ff3900000000000000f800] [2025/04/04 12:45:46.627 +00:00] [INFO] [util.go:60] ["seek props offsets start"] [2025/04/04 12:45:46.632 +00:00] [INFO] [util.go:62] ["seek props offsets completed"] [takeTime=5.680886ms] [] [2025/04/04 12:45:46.632 +00:00] [INFO] [engine.go:305] ["estimated file size of this range group"] [totalSize=0B] [2025/04/04 12:45:46.644 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:46.644 +00:00] [INFO] [reader.go:65] ["read all data completed"] [takeTime=17.985787ms] [] [2025/04/04 12:45:46.645 +00:00] [INFO] [engine.go:115] ["building memKVsAndBuffers"] [sumKVCnt=10001] [droppedSize=0] [2025/04/04 12:45:46.646 +00:00] [INFO] [engine.go:340] ["reading external storage in loadBatchRegionData"] ["cost time"=19.69216ms] [droppedSize=0] [2025/04/04 12:45:46.659 +00:00] [INFO] [engine.go:366] ["sorting in loadBatchRegionData"] ["cost time"=12.735444ms] [2025/04/04 12:45:46.659 +00:00] [ERROR] [local.go:1585] ["do import meets error"] [category=ddl-ingest] [error="duplicate key found: 74800000000000007f5f69800000000000000101746573742d313233ff0000000000000000f7"] [errorVerbose="duplicate key found: 74800000000000007f5f69800000000000000101746573742d313233ff0000000000000000f7\ngithub.com/pingcap/tidb/pkg/lightning/backend/external.(*Engine).loadBatchRegionData\n\tpkg/lightning/backend/external/engine.go:370\ngithub.com/pingcap/tidb/pkg/lightning/backend/external.(*Engine).LoadIngestData\n\tpkg/lightning/backend/external/engine.go:447\ngithub.com/pingcap/tidb/pkg/lightning/backend/local.(*Backend).generateAndSendJob.func2\n\tpkg/lightning/backend/local/local.go:1016\ngithub.com/pingcap/tidb/pkg/lightning/backend/local.(*Backend).generateAndSendJob.(*ErrorGroupWithRecover).Go.func4\n\tpkg/util/wait_group_wrapper.go:260\ngolang.org/x/sync/errgroup.(*Group).Go.func1\n\texternal/org_golang_x_sync/errgroup/errgroup.go:78\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:45:46.661 +00:00] [ERROR] [task_executor.go:447] ["run subtask failed"] [type=ImportInto] [task-id=5] [step=ingest] [subtask-id=38] [kv-group=1] [takeTime=63.134456ms] [error="duplicate key found: 74800000000000007f5f69800000000000000101746573742d313233ff0000000000000000f7"] [stack="github.com/pingcap/tidb/pkg/disttask/importinto.(*writeAndIngestStepExecutor).RunSubtask.func1\n\tpkg/disttask/importinto/task_executor.go:447\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*writeAndIngestStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:478\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/04 12:45:46.662 +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.493313ms] [error="duplicate key found: 74800000000000007f5f69800000000000000101746573742d313233ff0000000000000000f7"] [errorVerbose="duplicate key found: 74800000000000007f5f69800000000000000101746573742d313233ff0000000000000000f7\ngithub.com/pingcap/tidb/pkg/lightning/backend/external.(*Engine).loadBatchRegionData\n\tpkg/lightning/backend/external/engine.go:370\ngithub.com/pingcap/tidb/pkg/lightning/backend/external.(*Engine).LoadIngestData\n\tpkg/lightning/backend/external/engine.go:447\ngithub.com/pingcap/tidb/pkg/lightning/backend/local.(*Backend).generateAndSendJob.func2\n\tpkg/lightning/backend/local/local.go:1016\ngithub.com/pingcap/tidb/pkg/lightning/backend/local.(*Backend).generateAndSendJob.(*ErrorGroupWithRecover).Go.func4\n\tpkg/util/wait_group_wrapper.go:260\ngolang.org/x/sync/errgroup.(*Group).Go.func1\n\texternal/org_golang_x_sync/errgroup/errgroup.go:78\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:45:46.662 +00:00] [WARN] [task_executor.go:706] ["subtask failed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [error="duplicate key found: 74800000000000007f5f69800000000000000101746573742d313233ff0000000000000000f7"] [errorVerbose="duplicate key found: 74800000000000007f5f69800000000000000101746573742d313233ff0000000000000000f7\ngithub.com/pingcap/tidb/pkg/lightning/backend/external.(*Engine).loadBatchRegionData\n\tpkg/lightning/backend/external/engine.go:370\ngithub.com/pingcap/tidb/pkg/lightning/backend/external.(*Engine).LoadIngestData\n\tpkg/lightning/backend/external/engine.go:447\ngithub.com/pingcap/tidb/pkg/lightning/backend/local.(*Backend).generateAndSendJob.func2\n\tpkg/lightning/backend/local/local.go:1016\ngithub.com/pingcap/tidb/pkg/lightning/backend/local.(*Backend).generateAndSendJob.(*ErrorGroupWithRecover).Go.func4\n\tpkg/util/wait_group_wrapper.go:260\ngolang.org/x/sync/errgroup.(*Group).Go.func1\n\texternal/org_golang_x_sync/errgroup/errgroup.go:78\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:45:46.668 +00:00] [ERROR] [task_executor.go:344] ["run subtask failed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [error="duplicate key found: 74800000000000007f5f69800000000000000101746573742d313233ff0000000000000000f7"] [errorVerbose="duplicate key found: 74800000000000007f5f69800000000000000101746573742d313233ff0000000000000000f7\ngithub.com/pingcap/tidb/pkg/lightning/backend/external.(*Engine).loadBatchRegionData\n\tpkg/lightning/backend/external/engine.go:370\ngithub.com/pingcap/tidb/pkg/lightning/backend/external.(*Engine).LoadIngestData\n\tpkg/lightning/backend/external/engine.go:447\ngithub.com/pingcap/tidb/pkg/lightning/backend/local.(*Backend).generateAndSendJob.func2\n\tpkg/lightning/backend/local/local.go:1016\ngithub.com/pingcap/tidb/pkg/lightning/backend/local.(*Backend).generateAndSendJob.(*ErrorGroupWithRecover).Go.func4\n\tpkg/util/wait_group_wrapper.go:260\ngolang.org/x/sync/errgroup.(*Group).Go.func1\n\texternal/org_golang_x_sync/errgroup/errgroup.go:78\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:344\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/04 12:45:46.713 +00:00] [WARN] [scheduler.go:389] ["subtasks encounter errors"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [subtask-errs="[\"{error=\\\"[0]duplicate key found: 74800000000000007f5f69800000000000000101746573742d313233ff0000000000000000f7\\\"}\"]"] [2025/04/04 12:45:46.737 +00:00] [INFO] [task_executor.go:515] ["cleanup subtask env"] [type=ImportInto] [task-id=5] [step=ingest] [2025/04/04 12:45:46.739 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:45:46.739 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:45:46.739 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:45:46.739 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:45:46.739 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:45:46.739 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:45:46.739 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:45:46.739 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:46.739 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:46.739 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-24] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:45:46.739 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:46.739 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:45:46.741 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:45:46.741 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:46.741 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:46.741 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:46.741 +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=260.755308ms] [] [2025/04/04 12:45:46.741 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=5] [type=ImportInto] [2025/04/04 12:45:46.808 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=5] [step=ingest] [state=reverting] [error="[0]duplicate key found: 74800000000000007f5f69800000000000000101746573742d313233ff0000000000000000f7"] [2025/04/04 12:45:46.811 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=5] [2025/04/04 12:45:46.903 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=5] [2025/04/04 12:45:46.909 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 12:45:46.909 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=5] [2025/04/04 12:45:46.911 +00:00] [INFO] [clean_s3.go:55] ["cleanup global sorted data start"] [task-id=5] [2025/04/04 12:45:46.911 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:46.912 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:47.002 +00:00] [ERROR] [handle.go:110] ["task reverted"] [task-id=5] [error="[0]duplicate key found: 74800000000000007f5f69800000000000000101746573742d313233ff0000000000000000f7"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/handle.WaitTaskDoneOrPaused\n\tpkg/disttask/framework/handle/handle.go:110\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoExec).waitTask\n\tpkg/executor/import_into.go:233\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoExec).Next\n\tpkg/executor/import_into.go:137\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*recordSet).Next\n\tpkg/executor/adapter.go:172\ngithub.com/pingcap/tidb/pkg/session.GetRows4Test\n\tpkg/session/tidb.go:343\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).QueryToErr\n\tpkg/testkit/testkit.go:304\ntests/realtikvtest/importintotest4/importintotest4_test.(*mockGCSSuite).TestGlobalSortUniqueKeyConflict\n\ttests/realtikvtest/importintotest4/global_sort_test.go:215\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690"] [2025/04/04 12:45:47.003 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 2.195786703\n# Parse_time: 0.000284847\n# Compile_time: 0.000678184\n# Rewrite_time: 0.00015882\n# Optimize_time: 0.000484597\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('SPBHMAk1OV8yCTAJMAlOL0EJMAl0aW1lOjIuMTlzLCBvcGVuOjcxN25zLCBjbG9zZToxLjI2wrVzLCBsb29wczoxCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('YfBMCl0KDEltcG9ydEludG9fMjgBQAFSA04vQVoudGltZToyLjE5cywgb3Blbjo3MTducywgY2xvc2U6MS4yNsK1cywgbG9vcHM6MXD///8JAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000037027\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.51s) === NAME TestImportInto === RUN TestImportInto/TestSplitFile [2025/04/04 12:45:47.008 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=66] [cur_db=gs_multi_files] [sql="drop database if exists split_file"] [user=] [2025/04/04 12:45:47.021 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:130, Type:create schema, State:queueing, SchemaState:none, SchemaID:129, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:47.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:47.021 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:130, Type:create schema, State:queueing, SchemaState:none, SchemaID:129, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:47.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database split_file"] [2025/04/04 12:45:47.026 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=130] [conn=2] [job="ID:130, Type:create schema, State:queueing, SchemaState:none, SchemaID:129, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:47.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:47.041 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=66] [neededSchemaVersion=67] ["elapsed time"=769.599µs] [gotSchemaVersion=67] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 12:45:47.045 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=130] [version=67] [2025/04/04 12:45:47.047 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=67] ["take time"=8.714391ms] [job="ID:130, Type:create schema, State:done, SchemaState:public, SchemaID:129, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:47.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:47.058 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=130] [conn=2] [job="ID:130, Type:create schema, State:synced, SchemaState:public, SchemaID:129, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:47.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:47.069 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=130] [2025/04/04 12:45:47.069 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=67] [cur_db=gs_multi_files] [sql="create database split_file"] [user=] [2025/04/04 12:45:47.083 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:132, Type:create table, State:queueing, SchemaState:none, SchemaID:129, TableID:131, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:47.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:47.083 +00:00] [INFO] [clean_s3.go:72] ["cleanup global sorted data completed"] [task-id=5] [takeTime=171.91041ms] [] [2025/04/04 12:45:47.083 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:132, Type:create table, State:queueing, SchemaState:none, SchemaID:129, TableID:131, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:47.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint primary key , b varchar(100));"] [2025/04/04 12:45:47.088 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=132] [conn=2] [job="ID:132, Type:create table, State:queueing, SchemaState:none, SchemaID:129, TableID:131, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:47.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:47.093 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 131, Table Name: t)"] [2025/04/04 12:45:47.107 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 12:45:47.108 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=67] [neededSchemaVersion=68] ["elapsed time"=1.959155ms] [gotSchemaVersion=68] [phyTblIDs="[131]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:47.112 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=132] [version=68] [2025/04/04 12:45:47.114 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=68] ["take time"=8.940239ms] [job="ID:132, Type:create table, State:done, SchemaState:public, SchemaID:129, TableID:131, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:47.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:47.260 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=132] [conn=2] [job="ID:132, Type:create table, State:synced, SchemaState:public, SchemaID:129, TableID:131, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:47.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:47.272 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=132] [2025/04/04 12:45:47.273 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=68] [cur_db=split_file] [sql="create table t (a bigint primary key , b varchar(100));"] [user=] [2025/04/04 12:45:47.280 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:47.334 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://split-file/1.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"__max_engine_size\":\"1\",\"lines_terminated_by\":\"\\n\",\"split_file\":null}}"] [dist-task-enabled=true] [2025/04/04 12:45:47.354 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=6] [task-id=6] [data-size=6.133KiB] [thread-cnt=8] [global-sort=false] [2025/04/04 12:45:47.369 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=6] [2025/04/04 12:45:47.369 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/04 12:45:47.471 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 12:45:47.472 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:45:47.473 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=6] [curr-step=init] [next-step=import] [2025/04/04 12:45:47.482 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:47.484 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 12:45:47.484 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=1] [after=1] [2025/04/04 12:45:47.489 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=2094] [RegionsCount=3] [BatchSize=1] [cost=4.679609ms] [2025/04/04 12:45:47.489 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=4.815052ms] [] [2025/04/04 12:45:47.489 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=6] [curr-step=init] [next-step=import] [subtask-count=3] [2025/04/04 12:45:47.489 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=3] [2025/04/04 12:45:47.522 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=6] [type=ImportInto] [concurrency=8] [remaining-slots=8] [2025/04/04 12:45:47.541 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=6] [step=import] [2025/04/04 12:45:47.542 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:47.550 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:45:47.550 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437824916082696] [2025/04/04 12:45:47.551 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:45:47.551 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:45:47.551 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:45:47.551 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:45:47.551 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:45:47.551 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:45:47.551 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:45:47.552 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:45:47.564 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:45:47.566 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 12:45:47.566 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 12:45:47.566 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=6] [step=import] [data-buf-limit=1GiB] [per-index-buf-limit=341.3MiB] [index-buf-block-size=16MiB] [2025/04/04 12:45:47.566 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=6] [disk-quota=348.5GiB] [2025/04/04 12:45:47.566 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [2025/04/04 12:45:47.574 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [subtaskID=39] [step=import] [2025/04/04 12:45:47.574 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=6] [step=import] [subtask-id=39] [2025/04/04 12:45:47.578 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=6] [mode=Import] [2025/04/04 12:45:47.579 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`split_file`.`t`:0] [engineUUID=ca3e155a-15d5-5ae7-9e5c-7b927aa672a8] [2025/04/04 12:45:47.583 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-1] [engineUUID=b9abc1dc-6b83-5f0f-a753-8886979f5596] [2025/04/04 12:45:47.583 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=131] [2025/04/04 12:45:47.586 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=131] [key=1.csv:0] [2025/04/04 12:45:47.595 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=131] [key=1.csv:0] [readDur=2.978149ms] [encodeDur=4.809131ms] [checksum="{cksum=5150199586330057191,size=6334,kvs=179}"] [deliverDur=296.699µs] [type=file] [takeTime=8.941906ms] [] [2025/04/04 12:45:47.596 +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/f9f9b4ea-43b5-43f9-b7e6-a42ef48b380b.sst] [firstKey=7480000000000000835F728000000000000000] [lastKey=7480000000000000835F7280000000000000B2] [2025/04/04 12:45:47.596 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=6] [step=import] [engine-id=0] [2025/04/04 12:45:47.596 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=6] [step=import] [engine-id=0] [2025/04/04 12:45:47.597 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:0] [engineUUID=ca3e155a-15d5-5ae7-9e5c-7b927aa672a8] [2025/04/04 12:45:47.599 +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.16582ms] [] [2025/04/04 12:45:47.599 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:0] [engineUUID=ca3e155a-15d5-5ae7-9e5c-7b927aa672a8] [retryCnt=0] [2025/04/04 12:45:47.600 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=6] [2025/04/04 12:45:47.603 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:45:47.625 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ca3e155a-15d5-5ae7-9e5c-7b927aa672a8] ["region ranges"=1] [count=179] [size=6334] [2025/04/04 12:45:47.625 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:45:47.626 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000835f728000000000000000] [endOfAllRanges=7480000000000000835f7280000000000000b3] [startKeyOfFirstRegion=7480000000000000ff835f728000000000ff0000000000000000fa] [endKeyOfLastRegion=7480000000000000ff835f728000000000ff0000b30000000000fa] [2025/04/04 12:45:47.638 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ca3e155a-15d5-5ae7-9e5c-7b927aa672a8] [size=6334] [kvs=179] [importedSize=6334] [importedCount=179] [2025/04/04 12:45:47.640 +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=40.957304ms] [] [2025/04/04 12:45:47.640 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:0] [engineUUID=ca3e155a-15d5-5ae7-9e5c-7b927aa672a8] [2025/04/04 12:45:47.641 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`split_file`.`t`:0] [engineUUID=ca3e155a-15d5-5ae7-9e5c-7b927aa672a8] [takeTime=1.10747ms] [] [2025/04/04 12:45:47.641 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=6] [step=import] [engine-id=0] [2025/04/04 12:45:47.641 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-1] [engineUUID=b9abc1dc-6b83-5f0f-a753-8886979f5596] [2025/04/04 12:45:47.643 +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.472297ms] [] [2025/04/04 12:45:47.643 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-1] [engineUUID=b9abc1dc-6b83-5f0f-a753-8886979f5596] [retryCnt=0] [2025/04/04 12:45:47.646 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=b9abc1dc-6b83-5f0f-a753-8886979f5596] [2025/04/04 12:45:47.646 +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.573117ms] [] [2025/04/04 12:45:47.646 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-1] [engineUUID=b9abc1dc-6b83-5f0f-a753-8886979f5596] [2025/04/04 12:45:47.647 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-1] [engineUUID=b9abc1dc-6b83-5f0f-a753-8886979f5596] [takeTime=826.288µs] [] [2025/04/04 12:45:47.647 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=6] [step=import] [subtask-id=39] [takeTime=73.33811ms] [] [2025/04/04 12:45:47.648 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [subtaskID=39] [step=import] [takeTime=73.485413ms] [] [2025/04/04 12:45:47.671 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [subtaskID=40] [step=import] [2025/04/04 12:45:47.671 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=6] [step=import] [subtask-id=40] [2025/04/04 12:45:47.675 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`split_file`.`t`:1] [engineUUID=daa203f4-1887-5623-a6a4-248c6bef501a] [2025/04/04 12:45:47.679 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-2] [engineUUID=b0c1b185-f84c-5cd5-bf88-6eb99f29f0c8] [2025/04/04 12:45:47.679 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=131] [2025/04/04 12:45:47.683 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=131] [key=1.csv:2107] [2025/04/04 12:45:47.688 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=131] [key=1.csv:2107] [readDur=1.081788ms] [encodeDur=2.865152ms] [checksum="{cksum=18015026156569992564,size=5832,kvs=162}"] [deliverDur=171.981µs] [type=file] [takeTime=4.631962ms] [] [2025/04/04 12:45:47.689 +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/4c27191e-e33d-4888-a9f5-1bd774c6f6d8.sst] [firstKey=7480000000000000835F7280000000000000B3] [lastKey=7480000000000000835F728000000000000154] [2025/04/04 12:45:47.689 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=6] [step=import] [engine-id=1] [2025/04/04 12:45:47.689 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=6] [step=import] [engine-id=1] [2025/04/04 12:45:47.689 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:1] [engineUUID=daa203f4-1887-5623-a6a4-248c6bef501a] [2025/04/04 12:45:47.691 +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.060364ms] [] [2025/04/04 12:45:47.691 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:1] [engineUUID=daa203f4-1887-5623-a6a4-248c6bef501a] [retryCnt=0] [2025/04/04 12:45:47.696 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:45:47.718 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=daa203f4-1887-5623-a6a4-248c6bef501a] ["region ranges"=1] [count=162] [size=5832] [2025/04/04 12:45:47.718 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:45:47.720 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000835f7280000000000000b3] [endOfAllRanges=7480000000000000835f728000000000000155] [startKeyOfFirstRegion=7480000000000000ff835f728000000000ff0000b30000000000fa] [endKeyOfLastRegion=7480000000000000ff835f728000000000ff0001550000000000fa] [2025/04/04 12:45:47.732 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=daa203f4-1887-5623-a6a4-248c6bef501a] [size=5832] [kvs=162] [importedSize=5832] [importedCount=162] [2025/04/04 12:45:47.734 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`split_file`.`t`:1] [engineUUID=daa203f4-1887-5623-a6a4-248c6bef501a] [retryCnt=0] [takeTime=42.104442ms] [] [2025/04/04 12:45:47.734 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:1] [engineUUID=daa203f4-1887-5623-a6a4-248c6bef501a] [2025/04/04 12:45:47.735 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`split_file`.`t`:1] [engineUUID=daa203f4-1887-5623-a6a4-248c6bef501a] [takeTime=1.096656ms] [] [2025/04/04 12:45:47.735 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=6] [step=import] [engine-id=1] [2025/04/04 12:45:47.735 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-2] [engineUUID=b0c1b185-f84c-5cd5-bf88-6eb99f29f0c8] [2025/04/04 12:45:47.737 +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.992568ms] [] [2025/04/04 12:45:47.737 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-2] [engineUUID=b0c1b185-f84c-5cd5-bf88-6eb99f29f0c8] [retryCnt=0] [2025/04/04 12:45:47.741 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=b0c1b185-f84c-5cd5-bf88-6eb99f29f0c8] [2025/04/04 12:45:47.741 +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.592091ms] [] [2025/04/04 12:45:47.741 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-2] [engineUUID=b0c1b185-f84c-5cd5-bf88-6eb99f29f0c8] [2025/04/04 12:45:47.742 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-2] [engineUUID=b0c1b185-f84c-5cd5-bf88-6eb99f29f0c8] [takeTime=958.254µs] [] [2025/04/04 12:45:47.742 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=6] [step=import] [subtask-id=40] [takeTime=70.612035ms] [] [2025/04/04 12:45:47.743 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [subtaskID=40] [step=import] [takeTime=71.569577ms] [] [2025/04/04 12:45:47.767 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [subtaskID=41] [step=import] [2025/04/04 12:45:47.767 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=6] [step=import] [subtask-id=41] [2025/04/04 12:45:47.771 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`split_file`.`t`:2] [engineUUID=f3889bb6-7112-53f8-a71e-4117aeb30a89] [2025/04/04 12:45:47.775 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-3] [engineUUID=58c5f10f-1d2d-556d-b891-007aed152a59] [2025/04/04 12:45:47.775 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=131] [2025/04/04 12:45:47.779 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=131] [key=1.csv:4213] [2025/04/04 12:45:47.784 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=131] [key=1.csv:4213] [readDur=1.095478ms] [encodeDur=2.819674ms] [checksum="{cksum=8141207420748078351,size=5724,kvs=159}"] [deliverDur=195.928µs] [type=file] [takeTime=4.661449ms] [] [2025/04/04 12:45:47.785 +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/a0138dde-dacf-4912-ad76-8f195dfa5e0f.sst] [firstKey=7480000000000000835F728000000000000155] [lastKey=7480000000000000835F7280000000000001F3] [2025/04/04 12:45:47.785 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=6] [step=import] [engine-id=2] [2025/04/04 12:45:47.785 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=6] [step=import] [engine-id=2] [2025/04/04 12:45:47.785 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:2] [engineUUID=f3889bb6-7112-53f8-a71e-4117aeb30a89] [2025/04/04 12:45:47.787 +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.065918ms] [] [2025/04/04 12:45:47.787 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:2] [engineUUID=f3889bb6-7112-53f8-a71e-4117aeb30a89] [retryCnt=0] [2025/04/04 12:45:47.791 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:45:47.813 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=f3889bb6-7112-53f8-a71e-4117aeb30a89] ["region ranges"=1] [count=159] [size=5724] [2025/04/04 12:45:47.813 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:45:47.815 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000835f728000000000000155] [endOfAllRanges=7480000000000000835f7280000000000001f4] [startKeyOfFirstRegion=7480000000000000ff835f728000000000ff0001550000000000fa] [endKeyOfLastRegion=7480000000000000ff835f728000000000ff0001f40000000000fa] [2025/04/04 12:45:47.827 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=f3889bb6-7112-53f8-a71e-4117aeb30a89] [size=5724] [kvs=159] [importedSize=5724] [importedCount=159] [2025/04/04 12:45:47.828 +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.192354ms] [] [2025/04/04 12:45:47.828 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:2] [engineUUID=f3889bb6-7112-53f8-a71e-4117aeb30a89] [2025/04/04 12:45:47.830 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`split_file`.`t`:2] [engineUUID=f3889bb6-7112-53f8-a71e-4117aeb30a89] [takeTime=1.068837ms] [] [2025/04/04 12:45:47.830 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=6] [step=import] [engine-id=2] [2025/04/04 12:45:47.830 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-3] [engineUUID=58c5f10f-1d2d-556d-b891-007aed152a59] [2025/04/04 12:45:47.831 +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.606125ms] [] [2025/04/04 12:45:47.831 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-3] [engineUUID=58c5f10f-1d2d-556d-b891-007aed152a59] [retryCnt=0] [2025/04/04 12:45:47.835 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=58c5f10f-1d2d-556d-b891-007aed152a59] [2025/04/04 12:45:47.835 +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.592936ms] [] [2025/04/04 12:45:47.835 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-3] [engineUUID=58c5f10f-1d2d-556d-b891-007aed152a59] [2025/04/04 12:45:47.836 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-3] [engineUUID=58c5f10f-1d2d-556d-b891-007aed152a59] [takeTime=974.128µs] [] [2025/04/04 12:45:47.836 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=6] [step=import] [subtask-id=41] [takeTime=69.346164ms] [] [2025/04/04 12:45:47.836 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [subtaskID=41] [step=import] [takeTime=69.521848ms] [] [2025/04/04 12:45:47.876 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 12:45:47.877 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:45:47.879 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=6] [curr-step=import] [next-step=post-process] [2025/04/04 12:45:47.879 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=6] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 12:45:47.909 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=6] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":500}"] [2025/04/04 12:45:47.911 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=6] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 12:45:47.911 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/04 12:45:47.944 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 12:45:47.951 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=6] [step=import] [2025/04/04 12:45:47.956 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:45:47.956 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:45:47.956 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:45:47.956 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:45:47.956 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:45:47.956 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:45:47.956 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:45:47.956 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:47.956 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:47.956 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:47.956 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:45:47.956 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-25] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:45:47.958 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:45:47.958 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:47.958 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:47.958 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:47.958 +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=392.137797ms] [] [2025/04/04 12:45:47.959 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [2025/04/04 12:45:47.967 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [subtaskID=42] [step=post-process] [2025/04/04 12:45:47.967 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=42] [2025/04/04 12:45:47.967 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=42] [2025/04/04 12:45:47.967 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=42] [2025/04/04 12:45:47.967 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=42] [takeTime=2.005µs] [] [2025/04/04 12:45:47.967 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=42] [groupId=-1] [size=17890] [kvs=500] [checksum=14807964115588225436] [2025/04/04 12:45:47.967 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=42] [checksum="{cksum=14807964115588225436,size=17890,kvs=500}"] [2025/04/04 12:45:47.967 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=42] [weight=30] [2025/04/04 12:45:47.967 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=42] [concurrency=15] [2025/04/04 12:45:47.969 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=131] [physicalTableID=131] [indexID=-1] [checksum=14807964115588225436] [totalKvs=500] [totalBytes=17890] [2025/04/04 12:45:47.970 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 12:45:47.970 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=42] [local="{cksum=14807964115588225436,size=17890,kvs=500}"] [2025/04/04 12:45:47.970 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=42] [takeTime=3.124037ms] [] [2025/04/04 12:45:47.970 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=42] [takeTime=3.264647ms] [] [2025/04/04 12:45:47.970 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [subtaskID=42] [step=post-process] [takeTime=3.402411ms] [] [2025/04/04 12:45:47.971 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 12:45:48.077 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 12:45:48.077 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=6] [step=post-process] [state=running] [] [2025/04/04 12:45:48.079 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=6] [2025/04/04 12:45:48.110 +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=150.571227ms] [] [2025/04/04 12:45:48.110 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=6] [type=ImportInto] [2025/04/04 12:45:48.172 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=6] [2025/04/04 12:45:48.178 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 12:45:48.178 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=6] [2025/04/04 12:45:48.201 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 12:45:48.270 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.997008234\n# Parse_time: 0.000189054\n# Compile_time: 0.000614924\n# Rewrite_time: 0.000115419\n# Optimize_time: 0.000484597\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5NS45bXMsIG9wZW46NjAzbnMsIGNsb3NlOjk1OW5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk5NS45bXMsIG9wZW46NjAzbnMsIGNsb3NlOjk1OW5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000037027\nuse split_file;\nIMPORT INTO `split_file`.`t` FROM 'gs://split-file/1.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH split_file, lines_terminated_by=_UTF8MB4' ', __max_engine_size=_UTF8MB4'1';"] [2025/04/04 12:45:48.309 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:134, Type:truncate table, State:queueing, SchemaState:none, SchemaID:129, TableID:131, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:48.253 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:48.309 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:134, Type:truncate table, State:queueing, SchemaState:none, SchemaID:129, TableID:131, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:48.253 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table t"] [2025/04/04 12:45:48.315 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=134] [conn=2] [job="ID:134, Type:truncate table, State:queueing, SchemaState:none, SchemaID:129, TableID:131, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:48.253 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:48.323 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 133, Table Name: t, Old Table ID: 131, Old Table Name: t)"] [2025/04/04 12:45:48.338 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=68] [neededSchemaVersion=69] ["elapsed time"=1.715681ms] [gotSchemaVersion=69] [phyTblIDs="[131,133]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 12:45:48.342 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=134] [version=69] [2025/04/04 12:45:48.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=69] ["take time"=9.024455ms] [job="ID:134, Type:truncate table, State:done, SchemaState:public, SchemaID:129, TableID:131, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:48.253 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:48.355 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=134] [tableIDs="[131]"] [comment="truncate table: table ID"] [2025/04/04 12:45:48.359 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=134] [jobType="truncate table"] [2025/04/04 12:45:48.360 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=134] [conn=2] [job="ID:134, Type:truncate table, State:synced, SchemaState:public, SchemaID:129, TableID:131, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:48.253 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:48.378 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=134] [2025/04/04 12:45:48.378 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=69] [cur_db=split_file] [sql="truncate table t"] [user=] [2025/04/04 12:45:48.384 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:48.431 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://split-file/1.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"__max_engine_size\":\"1\",\"lines_terminated_by\":\"\\n\",\"skip_rows\":\"1\",\"split_file\":null}}"] [dist-task-enabled=true] [2025/04/04 12:45:48.451 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=7] [task-id=7] [data-size=6.133KiB] [thread-cnt=8] [global-sort=false] [2025/04/04 12:45:48.464 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=7] [2025/04/04 12:45:48.464 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/04 12:45:48.566 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 12:45:48.567 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:45:48.568 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=7] [curr-step=init] [next-step=import] [2025/04/04 12:45:48.576 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:48.578 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 12:45:48.579 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=1] [after=1] [2025/04/04 12:45:48.584 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=2094] [RegionsCount=3] [BatchSize=1] [cost=5.832984ms] [2025/04/04 12:45:48.584 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=5.974035ms] [] [2025/04/04 12:45:48.585 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=7] [curr-step=init] [next-step=import] [subtask-count=3] [2025/04/04 12:45:48.585 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=3] [2025/04/04 12:45:48.624 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=7] [type=ImportInto] [concurrency=8] [remaining-slots=8] [2025/04/04 12:45:48.645 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=7] [step=import] [2025/04/04 12:45:48.645 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:48.654 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:45:48.654 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437824916082696] [2025/04/04 12:45:48.655 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:45:48.655 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:45:48.655 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:45:48.655 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:45:48.655 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:45:48.655 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:45:48.656 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:45:48.656 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:45:48.667 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:45:48.669 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 12:45:48.669 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 12:45:48.669 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=7] [step=import] [data-buf-limit=1GiB] [per-index-buf-limit=341.3MiB] [index-buf-block-size=16MiB] [2025/04/04 12:45:48.669 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=7] [disk-quota=348.5GiB] [2025/04/04 12:45:48.670 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [2025/04/04 12:45:48.672 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=7] [mode=Import] [2025/04/04 12:45:48.686 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [subtaskID=43] [step=import] [2025/04/04 12:45:48.686 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=7] [step=import] [subtask-id=43] [2025/04/04 12:45:48.690 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`split_file`.`t`:0] [engineUUID=ca3e155a-15d5-5ae7-9e5c-7b927aa672a8] [2025/04/04 12:45:48.691 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=7] [2025/04/04 12:45:48.694 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-1] [engineUUID=b9abc1dc-6b83-5f0f-a753-8886979f5596] [2025/04/04 12:45:48.694 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=133] [2025/04/04 12:45:48.697 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=133] [key=1.csv:0] [2025/04/04 12:45:48.703 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=133] [key=1.csv:0] [readDur=1.045134ms] [encodeDur=3.295151ms] [checksum="{cksum=8361670451610043062,size=6300,kvs=178}"] [deliverDur=566.554µs] [type=file] [takeTime=5.545436ms] [] [2025/04/04 12:45:48.704 +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/be698193-c471-4fbb-b0e7-ca794096f264.sst] [firstKey=7480000000000000855F728000000000000001] [lastKey=7480000000000000855F7280000000000000B2] [2025/04/04 12:45:48.704 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=7] [step=import] [engine-id=0] [2025/04/04 12:45:48.704 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=7] [step=import] [engine-id=0] [2025/04/04 12:45:48.704 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:0] [engineUUID=ca3e155a-15d5-5ae7-9e5c-7b927aa672a8] [2025/04/04 12:45:48.706 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`split_file`.`t`:0] [engineUUID=ca3e155a-15d5-5ae7-9e5c-7b927aa672a8] [takeTime=1.931374ms] [] [2025/04/04 12:45:48.706 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:0] [engineUUID=ca3e155a-15d5-5ae7-9e5c-7b927aa672a8] [retryCnt=0] [2025/04/04 12:45:48.711 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:45:48.719 +00:00] [INFO] [owner_daemon.go:56] ["daemon became owner"] [id=760c2882-1464-4130-9995-29922537ab98] [daemon-id=LogBackup::Advancer] [2025/04/04 12:45:48.719 +00:00] [INFO] [advancer.go:518] ["Subscription handler spawned."] [category="log backup subscription manager"] [2025/04/04 12:45:48.719 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 12:45:48.732 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ca3e155a-15d5-5ae7-9e5c-7b927aa672a8] ["region ranges"=1] [count=178] [size=6300] [2025/04/04 12:45:48.732 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:45:48.734 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000855f728000000000000001] [endOfAllRanges=7480000000000000855f7280000000000000b3] [startKeyOfFirstRegion=7480000000000000ff855f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff855f728000000000ff0000b30000000000fa] [2025/04/04 12:45:48.746 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ca3e155a-15d5-5ae7-9e5c-7b927aa672a8] [size=6300] [kvs=178] [importedSize=6300] [importedCount=178] [2025/04/04 12:45:48.747 +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=40.808114ms] [] [2025/04/04 12:45:48.747 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:0] [engineUUID=ca3e155a-15d5-5ae7-9e5c-7b927aa672a8] [2025/04/04 12:45:48.749 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`split_file`.`t`:0] [engineUUID=ca3e155a-15d5-5ae7-9e5c-7b927aa672a8] [takeTime=1.157214ms] [] [2025/04/04 12:45:48.749 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=7] [step=import] [engine-id=0] [2025/04/04 12:45:48.749 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-1] [engineUUID=b9abc1dc-6b83-5f0f-a753-8886979f5596] [2025/04/04 12:45:48.750 +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.58504ms] [] [2025/04/04 12:45:48.750 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-1] [engineUUID=b9abc1dc-6b83-5f0f-a753-8886979f5596] [retryCnt=0] [2025/04/04 12:45:48.754 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=b9abc1dc-6b83-5f0f-a753-8886979f5596] [2025/04/04 12:45:48.754 +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.657549ms] [] [2025/04/04 12:45:48.754 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-1] [engineUUID=b9abc1dc-6b83-5f0f-a753-8886979f5596] [2025/04/04 12:45:48.755 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-1] [engineUUID=b9abc1dc-6b83-5f0f-a753-8886979f5596] [takeTime=884.081µs] [] [2025/04/04 12:45:48.755 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=7] [step=import] [subtask-id=43] [takeTime=69.124559ms] [] [2025/04/04 12:45:48.755 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [subtaskID=43] [step=import] [takeTime=69.326009ms] [] [2025/04/04 12:45:48.780 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [subtaskID=44] [step=import] [2025/04/04 12:45:48.780 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=7] [step=import] [subtask-id=44] [2025/04/04 12:45:48.784 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`split_file`.`t`:1] [engineUUID=daa203f4-1887-5623-a6a4-248c6bef501a] [2025/04/04 12:45:48.788 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-2] [engineUUID=b0c1b185-f84c-5cd5-bf88-6eb99f29f0c8] [2025/04/04 12:45:48.788 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=133] [2025/04/04 12:45:48.792 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=133] [key=1.csv:2107] [2025/04/04 12:45:48.797 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=133] [key=1.csv:2107] [readDur=1.07537ms] [encodeDur=3.084544ms] [checksum="{cksum=18015026156569992564,size=5832,kvs=162}"] [deliverDur=156.733µs] [type=file] [takeTime=4.899034ms] [] [2025/04/04 12:45:48.798 +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/17cbf13c-15b2-46a8-9f9b-f1efa06c7e4c.sst] [firstKey=7480000000000000855F7280000000000000B3] [lastKey=7480000000000000855F728000000000000154] [2025/04/04 12:45:48.798 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=7] [step=import] [engine-id=1] [2025/04/04 12:45:48.798 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=7] [step=import] [engine-id=1] [2025/04/04 12:45:48.798 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:1] [engineUUID=daa203f4-1887-5623-a6a4-248c6bef501a] [2025/04/04 12:45:48.801 +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.168581ms] [] [2025/04/04 12:45:48.801 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:1] [engineUUID=daa203f4-1887-5623-a6a4-248c6bef501a] [retryCnt=0] [2025/04/04 12:45:48.805 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:45:48.827 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=daa203f4-1887-5623-a6a4-248c6bef501a] ["region ranges"=1] [count=162] [size=5832] [2025/04/04 12:45:48.827 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:45:48.829 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000855f7280000000000000b3] [endOfAllRanges=7480000000000000855f728000000000000155] [startKeyOfFirstRegion=7480000000000000ff855f728000000000ff0000b30000000000fa] [endKeyOfLastRegion=7480000000000000ff855f728000000000ff0001550000000000fa] [2025/04/04 12:45:48.840 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=daa203f4-1887-5623-a6a4-248c6bef501a] [size=5832] [kvs=162] [importedSize=5832] [importedCount=162] [2025/04/04 12:45:48.842 +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.089381ms] [] [2025/04/04 12:45:48.842 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:1] [engineUUID=daa203f4-1887-5623-a6a4-248c6bef501a] [2025/04/04 12:45:48.843 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`split_file`.`t`:1] [engineUUID=daa203f4-1887-5623-a6a4-248c6bef501a] [takeTime=982.368µs] [] [2025/04/04 12:45:48.843 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=7] [step=import] [engine-id=1] [2025/04/04 12:45:48.843 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-2] [engineUUID=b0c1b185-f84c-5cd5-bf88-6eb99f29f0c8] [2025/04/04 12:45:48.845 +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.571524ms] [] [2025/04/04 12:45:48.845 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-2] [engineUUID=b0c1b185-f84c-5cd5-bf88-6eb99f29f0c8] [retryCnt=0] [2025/04/04 12:45:48.848 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=b0c1b185-f84c-5cd5-bf88-6eb99f29f0c8] [2025/04/04 12:45:48.849 +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.665491ms] [] [2025/04/04 12:45:48.849 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-2] [engineUUID=b0c1b185-f84c-5cd5-bf88-6eb99f29f0c8] [2025/04/04 12:45:48.849 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-2] [engineUUID=b0c1b185-f84c-5cd5-bf88-6eb99f29f0c8] [takeTime=834.073µs] [] [2025/04/04 12:45:48.850 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=7] [step=import] [subtask-id=44] [takeTime=69.246705ms] [] [2025/04/04 12:45:48.850 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [subtaskID=44] [step=import] [takeTime=69.459187ms] [] [2025/04/04 12:45:48.872 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [subtaskID=45] [step=import] [2025/04/04 12:45:48.872 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=7] [step=import] [subtask-id=45] [2025/04/04 12:45:48.876 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`split_file`.`t`:2] [engineUUID=f3889bb6-7112-53f8-a71e-4117aeb30a89] [2025/04/04 12:45:48.880 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-3] [engineUUID=58c5f10f-1d2d-556d-b891-007aed152a59] [2025/04/04 12:45:48.880 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=133] [2025/04/04 12:45:48.884 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=133] [key=1.csv:4213] [2025/04/04 12:45:48.888 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=133] [key=1.csv:4213] [readDur=1.047487ms] [encodeDur=2.822744ms] [checksum="{cksum=15344168976920314669,size=5724,kvs=159}"] [deliverDur=161.635µs] [type=file] [takeTime=4.542132ms] [] [2025/04/04 12:45:48.889 +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/6f1b5f8e-0812-4fce-90b7-f2ea8d5773f3.sst] [firstKey=7480000000000000855F728000000000000155] [lastKey=7480000000000000855F7280000000000001F3] [2025/04/04 12:45:48.890 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=7] [step=import] [engine-id=2] [2025/04/04 12:45:48.890 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=7] [step=import] [engine-id=2] [2025/04/04 12:45:48.890 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:2] [engineUUID=f3889bb6-7112-53f8-a71e-4117aeb30a89] [2025/04/04 12:45:48.891 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`split_file`.`t`:2] [engineUUID=f3889bb6-7112-53f8-a71e-4117aeb30a89] [takeTime=1.850054ms] [] [2025/04/04 12:45:48.892 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:2] [engineUUID=f3889bb6-7112-53f8-a71e-4117aeb30a89] [retryCnt=0] [2025/04/04 12:45:48.896 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:45:48.918 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=f3889bb6-7112-53f8-a71e-4117aeb30a89] ["region ranges"=1] [count=159] [size=5724] [2025/04/04 12:45:48.918 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:45:48.920 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000855f728000000000000155] [endOfAllRanges=7480000000000000855f7280000000000001f4] [startKeyOfFirstRegion=7480000000000000ff855f728000000000ff0001550000000000fa] [endKeyOfLastRegion=7480000000000000ff855f728000000000ff0001f40000000000fa] [2025/04/04 12:45:48.932 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=f3889bb6-7112-53f8-a71e-4117aeb30a89] [size=5724] [kvs=159] [importedSize=5724] [importedCount=159] [2025/04/04 12:45:48.933 +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.694588ms] [] [2025/04/04 12:45:48.933 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:2] [engineUUID=f3889bb6-7112-53f8-a71e-4117aeb30a89] [2025/04/04 12:45:48.934 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`split_file`.`t`:2] [engineUUID=f3889bb6-7112-53f8-a71e-4117aeb30a89] [takeTime=1.043249ms] [] [2025/04/04 12:45:48.934 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=7] [step=import] [engine-id=2] [2025/04/04 12:45:48.935 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-3] [engineUUID=58c5f10f-1d2d-556d-b891-007aed152a59] [2025/04/04 12:45:48.936 +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.662164ms] [] [2025/04/04 12:45:48.936 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-3] [engineUUID=58c5f10f-1d2d-556d-b891-007aed152a59] [retryCnt=0] [2025/04/04 12:45:48.940 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=58c5f10f-1d2d-556d-b891-007aed152a59] [2025/04/04 12:45:48.940 +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.758516ms] [] [2025/04/04 12:45:48.940 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-3] [engineUUID=58c5f10f-1d2d-556d-b891-007aed152a59] [2025/04/04 12:45:48.941 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-3] [engineUUID=58c5f10f-1d2d-556d-b891-007aed152a59] [takeTime=919.721µs] [] [2025/04/04 12:45:48.941 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=7] [step=import] [subtask-id=45] [takeTime=68.987105ms] [] [2025/04/04 12:45:48.941 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [subtaskID=45] [step=import] [takeTime=69.136691ms] [] [2025/04/04 12:45:48.972 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 12:45:48.973 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:45:48.974 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=7] [curr-step=import] [next-step=post-process] [2025/04/04 12:45:48.974 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=7] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 12:45:49.003 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=7] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":499}"] [2025/04/04 12:45:49.005 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=7] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 12:45:49.005 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/04 12:45:49.027 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 12:45:49.033 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=7] [step=import] [2025/04/04 12:45:49.038 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:45:49.038 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:45:49.038 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:45:49.038 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:45:49.038 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:45:49.038 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:45:49.038 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:45:49.038 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:49.038 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-26] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:45:49.038 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:49.038 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:49.038 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:45:49.040 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:45:49.041 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:49.041 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:49.041 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:49.041 +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=371.002177ms] [] [2025/04/04 12:45:49.042 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [2025/04/04 12:45:49.049 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [subtaskID=46] [step=post-process] [2025/04/04 12:45:49.050 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=46] [2025/04/04 12:45:49.050 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=46] [2025/04/04 12:45:49.050 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=46] [2025/04/04 12:45:49.050 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=46] [takeTime=3.885µs] [] [2025/04/04 12:45:49.050 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=46] [groupId=-1] [size=17856] [kvs=499] [checksum=6555504159897345263] [2025/04/04 12:45:49.050 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=46] [checksum="{cksum=6555504159897345263,size=17856,kvs=499}"] [2025/04/04 12:45:49.050 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=46] [weight=30] [2025/04/04 12:45:49.050 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=46] [concurrency=15] [2025/04/04 12:45:49.054 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=133] [physicalTableID=133] [indexID=-1] [checksum=6555504159897345263] [totalKvs=499] [totalBytes=17856] [2025/04/04 12:45:49.054 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 12:45:49.054 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=46] [local="{cksum=6555504159897345263,size=17856,kvs=499}"] [2025/04/04 12:45:49.054 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=46] [takeTime=4.78047ms] [] [2025/04/04 12:45:49.055 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=46] [takeTime=4.906589ms] [] [2025/04/04 12:45:49.055 +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=5.045082ms] [] [2025/04/04 12:45:49.064 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 12:45:49.071 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 12:45:49.071 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=7] [step=post-process] [state=running] [] [2025/04/04 12:45:49.074 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=7] [2025/04/04 12:45:49.100 +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=58.490752ms] [] [2025/04/04 12:45:49.100 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=7] [type=ImportInto] [2025/04/04 12:45:49.166 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=7] [2025/04/04 12:45:49.172 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 12:45:49.172 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=7] [2025/04/04 12:45:49.194 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 12:45:49.367 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.988918713\n# Parse_time: 0.000170785\n# Compile_time: 0.00055046\n# Rewrite_time: 0.000109568\n# Optimize_time: 0.000252479\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('SvBJMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4Ny45bXMsIG9wZW46NzI5bnMsIGNsb3NlOjEuMTnCtXMsIGxvb3BzOjIJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('ZfBSCmEKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWjB0aW1lOjk4Ny45bXMsIG9wZW46NzI5bnMsIGNsb3NlOjEuMTnCtXMsIGxvb3BzOjJw//////8BAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000037027\nIMPORT INTO `split_file`.`t` FROM 'gs://split-file/1.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH split_file, lines_terminated_by=_UTF8MB4' ', skip_rows=1, __max_engine_size=_UTF8MB4'1';"] [2025/04/04 12:45:49.391 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:136, Type:create table, State:queueing, SchemaState:none, SchemaID:129, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:49.353 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t2 (a int primary key nonclustered, b varchar(100));"] [2025/04/04 12:45:49.391 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:136, Type:create table, State:queueing, SchemaState:none, SchemaID:129, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:49.353 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:49.397 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=136] [conn=2] [job="ID:136, Type:create table, State:queueing, SchemaState:none, SchemaID:129, TableID:135, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:49.353 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:49.401 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 135, Table Name: t2)"] [2025/04/04 12:45:49.417 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=69] [neededSchemaVersion=70] ["elapsed time"=1.791594ms] [gotSchemaVersion=70] [phyTblIDs="[135]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:49.421 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=136] [version=70] [2025/04/04 12:45:49.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=70] ["take time"=8.822219ms] [job="ID:136, Type:create table, State:done, SchemaState:public, SchemaID:129, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:49.353 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:49.434 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=136] [conn=2] [job="ID:136, Type:create table, State:synced, SchemaState:public, SchemaID:129, TableID:135, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:49.353 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:49.447 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=136] [2025/04/04 12:45:49.447 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=70] [cur_db=split_file] [sql="create table t2 (a int primary key nonclustered, b varchar(100));"] [user=] [2025/04/04 12:45:49.453 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:49.501 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://split-file/2.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"lines_terminated_by\":\"\\r\\n\",\"split_file\":null}}"] [dist-task-enabled=true] [2025/04/04 12:45:49.520 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=8] [task-id=8] [data-size=26B] [thread-cnt=8] [global-sort=false] [2025/04/04 12:45:49.534 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=8] [2025/04/04 12:45:49.534 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=8] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/04 12:45:49.636 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=8] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 12:45:49.638 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=8] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:45:49.639 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=8] [curr-step=init] [next-step=import] [2025/04/04 12:45:49.646 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:49.649 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t2] [2025/04/04 12:45:49.650 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t2] [before=536870912000] [after=26] [2025/04/04 12:45:49.655 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t2] [filesCount=1] [MaxChunkSize=9] [RegionsCount=2] [BatchSize=26] [cost=5.053876ms] [2025/04/04 12:45:49.655 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t2] [takeTime=5.207724ms] [] [2025/04/04 12:45:49.655 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=8] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 12:45:49.655 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=8] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/04 12:45:49.692 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=8] [type=ImportInto] [concurrency=8] [remaining-slots=8] [2025/04/04 12:45:49.712 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=8] [step=import] [2025/04/04 12:45:49.712 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:49.720 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:45:49.720 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437824916082696] [2025/04/04 12:45:49.721 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:45:49.721 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:45:49.721 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:45:49.721 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:45:49.721 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:45:49.721 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:45:49.721 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:45:49.722 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:45:49.734 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:45:49.735 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 12:45:49.736 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t2] [quota=374.2GB] [2025/04/04 12:45:49.736 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=8] [step=import] [data-buf-limit=768MiB] [per-index-buf-limit=256MiB] [index-buf-block-size=16MiB] [2025/04/04 12:45:49.736 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t2] [import-id=8] [disk-quota=348.5GiB] [2025/04/04 12:45:49.736 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=8] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [2025/04/04 12:45:49.743 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=8] [task-type=ImportInto] [server-id=:4000] [subtaskID=47] [step=import] [2025/04/04 12:45:49.743 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=8] [mode=Import] [2025/04/04 12:45:49.743 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=8] [step=import] [subtask-id=47] [2025/04/04 12:45:49.747 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`split_file`.`t2`:0] [engineUUID=b7061b4d-cde2-5b63-bd61-55af03920c43] [2025/04/04 12:45:49.752 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`split_file`.`t2`:-1] [engineUUID=3f0a0734-602d-5886-ba9a-bb426e401303] [2025/04/04 12:45:49.752 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=135] [2025/04/04 12:45:49.752 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=135] [2025/04/04 12:45:49.755 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=135] [key=2.csv:0] [2025/04/04 12:45:49.756 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=135] [key=2.csv:15] [2025/04/04 12:45:49.757 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=135] [key=2.csv:15] [readDur=136.1µs] [encodeDur=443.965µs] [checksum="{cksum=6641800212242329557,size=139,kvs=4}"] [deliverDur=594.512µs] [type=file] [takeTime=1.444039ms] [] [2025/04/04 12:45:49.757 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=135] [key=2.csv:0] [readDur=1.054029ms] [encodeDur=389.487µs] [checksum="{cksum=4172864564292863038,size=207,kvs=6}"] [deliverDur=265.327µs] [type=file] [takeTime=2.113765ms] [] [2025/04/04 12:45:49.758 +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/1078f8ca-7a79-4848-b052-250a4def0c15.sst] [firstKey=7480000000000000875F728000000000000005] [lastKey=7480000000000000875F728000000000000006] [2025/04/04 12:45:49.759 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=8] [step=import] [engine-id=0] [2025/04/04 12:45:49.759 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=8] [step=import] [engine-id=0] [2025/04/04 12:45:49.759 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`split_file`.`t2`:0] [engineUUID=b7061b4d-cde2-5b63-bd61-55af03920c43] [2025/04/04 12:45:49.759 +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/0ad1524b-5ed2-41ad-b465-1317beacb0fb.sst] [firstKey=7480000000000000875F728000000000000001] [lastKey=7480000000000000875F728000000000000003] [2025/04/04 12:45:49.762 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`split_file`.`t2`:0] [engineUUID=b7061b4d-cde2-5b63-bd61-55af03920c43] [takeTime=3.281216ms] [] [2025/04/04 12:45:49.762 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`split_file`.`t2`:0] [engineUUID=b7061b4d-cde2-5b63-bd61-55af03920c43] [retryCnt=0] [2025/04/04 12:45:49.763 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=8] [2025/04/04 12:45:49.767 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:45:49.788 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=b7061b4d-cde2-5b63-bd61-55af03920c43] ["region ranges"=1] [count=5] [size=166] [2025/04/04 12:45:49.788 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:45:49.790 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000875f728000000000000001] [endOfAllRanges=7480000000000000875f728000000000000007] [startKeyOfFirstRegion=7480000000000000ff875f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff875f728000000000ff0000070000000000fa] [2025/04/04 12:45:49.801 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=b7061b4d-cde2-5b63-bd61-55af03920c43] [size=166] [kvs=5] [importedSize=166] [importedCount=5] [2025/04/04 12:45:49.803 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`split_file`.`t2`:0] [engineUUID=b7061b4d-cde2-5b63-bd61-55af03920c43] [retryCnt=0] [takeTime=40.732546ms] [] [2025/04/04 12:45:49.803 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`split_file`.`t2`:0] [engineUUID=b7061b4d-cde2-5b63-bd61-55af03920c43] [2025/04/04 12:45:49.804 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`split_file`.`t2`:0] [engineUUID=b7061b4d-cde2-5b63-bd61-55af03920c43] [takeTime=1.118562ms] [] [2025/04/04 12:45:49.804 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=8] [step=import] [engine-id=0] [2025/04/04 12:45:49.804 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`split_file`.`t2`:-1] [engineUUID=3f0a0734-602d-5886-ba9a-bb426e401303] [2025/04/04 12:45:49.806 +00:00] [INFO] [engine.go:1695] ["compact sst"] [category=ddl-ingest] [fileCount=2] [size=180] [count=5] [cost=1.131965ms] [file=/tmp/tidb/import-4000/8/3f0a0734-602d-5886-ba9a-bb426e401303.sst/3f571472-d232-4178-b63e-226201d3b651.sst] [2025/04/04 12:45:49.806 +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/3f571472-d232-4178-b63e-226201d3b651.sst] [firstKey=7480000000000000875F698000000000000001038000000000000001] [lastKey=7480000000000000875F698000000000000001038000000000000009] [2025/04/04 12:45:49.808 +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.41725ms] [] [2025/04/04 12:45:49.808 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`split_file`.`t2`:-1] [engineUUID=3f0a0734-602d-5886-ba9a-bb426e401303] [retryCnt=0] [2025/04/04 12:45:49.812 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:45:49.834 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=3f0a0734-602d-5886-ba9a-bb426e401303] ["region ranges"=1] [count=5] [size=180] [2025/04/04 12:45:49.834 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:45:49.836 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000875f698000000000000001038000000000000001] [endOfAllRanges=7480000000000000875f69800000000000000103800000000000000900] [startKeyOfFirstRegion=7480000000000000ff875f698000000000ff0000010380000000ff0000000100000000fb] [endKeyOfLastRegion=7480000000000000ff875f698000000000ff0000010380000000ff0000000900000000fc] [2025/04/04 12:45:49.847 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=3f0a0734-602d-5886-ba9a-bb426e401303] [size=180] [kvs=5] [importedSize=180] [importedCount=5] [2025/04/04 12:45:49.848 +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.18811ms] [] [2025/04/04 12:45:49.848 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`split_file`.`t2`:-1] [engineUUID=3f0a0734-602d-5886-ba9a-bb426e401303] [2025/04/04 12:45:49.849 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`split_file`.`t2`:-1] [engineUUID=3f0a0734-602d-5886-ba9a-bb426e401303] [takeTime=1.05242ms] [] [2025/04/04 12:45:49.850 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=8] [step=import] [subtask-id=47] [takeTime=106.175021ms] [] [2025/04/04 12:45:49.850 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=8] [task-type=ImportInto] [server-id=:4000] [subtaskID=47] [step=import] [takeTime=106.353877ms] [] [2025/04/04 12:45:49.943 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=8] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 12:45:49.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/04 12:45:49.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/04 12:45:49.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/04 12:45:49.982 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=8] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":5}"] [2025/04/04 12:45:49.983 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=8] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 12:45:49.983 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=8] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/04 12:45:50.006 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=8] [task-type=ImportInto] [server-id=:4000] [2025/04/04 12:45:50.006 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=8] [step=import] [2025/04/04 12:45:50.010 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:45:50.010 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:45:50.010 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:45:50.010 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:45:50.010 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:45:50.010 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:45:50.010 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:45:50.010 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:50.010 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-27] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:45:50.010 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:50.010 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:50.010 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:45:50.012 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:45:50.012 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:50.012 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:50.012 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:50.012 +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=276.428204ms] [] [2025/04/04 12:45:50.012 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=8] [type=ImportInto] [2025/04/04 12:45:50.022 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=8] [type=ImportInto] [concurrency=8] [remaining-slots=8] [2025/04/04 12:45:50.043 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=8] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [2025/04/04 12:45:50.051 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=8] [task-type=ImportInto] [server-id=:4000] [subtaskID=48] [step=post-process] [2025/04/04 12:45:50.051 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=48] [2025/04/04 12:45:50.051 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=48] [2025/04/04 12:45:50.051 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=48] [2025/04/04 12:45:50.057 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=48] [takeTime=6.008163ms] [] [2025/04/04 12:45:50.057 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=48] [groupId=-1] [size=166] [kvs=5] [checksum=10656432631736324641] [2025/04/04 12:45:50.057 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=48] [groupId=1] [size=180] [kvs=5] [checksum=17737380028387883466] [2025/04/04 12:45:50.057 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=48] [checksum="{cksum=7333149010194901995,size=346,kvs=10}"] [2025/04/04 12:45:50.057 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=48] [weight=30] [2025/04/04 12:45:50.057 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=48] [concurrency=15] [2025/04/04 12:45:50.063 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=135] [physicalTableID=135] [indexID=-1] [checksum=10656432631736324641] [totalKvs=5] [totalBytes=166] [2025/04/04 12:45:50.064 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=135] [physicalTableID=135] [indexID=1] [checksum=17737380028387883466] [totalKvs=5] [totalBytes=180] [2025/04/04 12:45:50.064 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 12:45:50.064 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=48] [local="{cksum=7333149010194901995,size=346,kvs=10}"] [2025/04/04 12:45:50.064 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=48] [takeTime=13.381646ms] [] [2025/04/04 12:45:50.064 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=48] [takeTime=13.576762ms] [] [2025/04/04 12:45:50.064 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=8] [task-type=ImportInto] [server-id=:4000] [subtaskID=48] [step=post-process] [takeTime=13.720019ms] [] [2025/04/04 12:45:50.075 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 12:45:50.141 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=8] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 12:45:50.141 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=8] [step=post-process] [state=running] [] [2025/04/04 12:45:50.144 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=8] [2025/04/04 12:45:50.168 +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=125.213731ms] [] [2025/04/04 12:45:50.168 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=8] [type=ImportInto] [2025/04/04 12:45:50.236 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=8] [2025/04/04 12:45:50.243 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 12:45:50.243 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=8] [2025/04/04 12:45:50.265 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 12:45:50.438 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.990785386\n# Parse_time: 0.00010705\n# Compile_time: 0.00053586\n# Rewrite_time: 0.000101051\n# Optimize_time: 0.000279135\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4OS44bXMsIG9wZW46Njc3bnMsIGNsb3NlOjk3NG5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk4OS44bXMsIG9wZW46Njc3bnMsIGNsb3NlOjk3NG5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000037027\nIMPORT INTO `split_file`.`t2` FROM 'gs://split-file/2.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH split_file, lines_terminated_by=_UTF8MB4' ';"] [2025/04/04 12:45:50.440 +00:00] [INFO] [check_table_index.go:434] ["fast check table by group"] ["table name"=t2] ["index name"=PRIMARY] [times=1] ["current offset"=0] ["current mod"=1] ["table sql"="select /*+ read_from_storage(tikv[`split_file`.`t2`]) */ bit_xor(crc32(md5(concat_ws(0x2, `_tidb_rowid`, `a`)))), ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024), count(*) from `split_file`.`t2` use index() where 0 = 0 group by ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024)"] ["index sql"="select bit_xor(crc32(md5(concat_ws(0x2, `_tidb_rowid`, `a`)))), ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024), count(*) from `split_file`.`t2` use index(`PRIMARY`) where 0 = 0 group by ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024)"] --- PASS: TestImportInto/TestSplitFile (3.45s) === NAME TestImportInto [2025/04/04 12:45:50.487 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 12:45:50.487 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=48c94a1c-62ad-4f97-89d6-5c65e5765e43] [] [2025/04/04 12:45:50.487 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 12:45:50.487 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=48c94a1c-62ad-4f97-89d6-5c65e5765e43] [2025/04/04 12:45:50.487 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:45:50.487 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:45:50.488 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 14, tp general"] ["take time"=87µs] [2025/04/04 12:45:50.488 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 15, tp general"] ["take time"=74.622µs] [2025/04/04 12:45:50.488 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 16, tp general"] ["take time"=53.351µs] [2025/04/04 12:45:50.488 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 17, tp general"] ["take time"=60.512µs] [2025/04/04 12:45:50.488 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 18, tp general"] ["take time"=73.793µs] [2025/04/04 12:45:50.488 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 19, tp general"] ["take time"=62.512µs] [2025/04/04 12:45:50.488 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 20, tp general"] ["take time"=70.078µs] [2025/04/04 12:45:50.488 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 11, tp general"] ["take time"=31.596µs] [2025/04/04 12:45:50.488 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 12, tp general"] ["take time"=28.956µs] [2025/04/04 12:45:50.489 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 13, tp general"] ["take time"=39.404µs] [2025/04/04 12:45:50.489 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=48c94a1c-62ad-4f97-89d6-5c65e5765e43] [2025/04/04 12:45:50.489 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=48c94a1c-62ad-4f97-89d6-5c65e5765e43] [2025/04/04 12:45:50.490 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 12:45:50.490 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 12:45:50.497 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=48c94a1c-62ad-4f97-89d6-5c65e5765e43] ["take time"=10.025934ms] [2025/04/04 12:45:50.497 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=48c94a1c-62ad-4f97-89d6-5c65e5765e43] [2025/04/04 12:45:50.497 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 12:45:50.497 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/91836528-433b-428b-a14d-cf24c3a287df] [watcherID=14fc8be1-74aa-4783-9653-d052fca29a39] [2025/04/04 12:45:50.497 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/04 12:45:50.498 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/91836528-433b-428b-a14d-cf24c3a287df] [2025/04/04 12:45:50.498 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=48c94a1c-62ad-4f97-89d6-5c65e5765e43] [ttl-worker=task-manager] [ttl-worker=48c94a1c-62ad-4f97-89d6-5c65e5765e43] [originalCount=4] [newCount=0] [2025/04/04 12:45:50.498 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:45:50.498 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:45:50.498 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:45:50.498 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:45:50.498 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=48c94a1c-62ad-4f97-89d6-5c65e5765e43] [ttl-worker=task-manager] [ttl-worker=48c94a1c-62ad-4f97-89d6-5c65e5765e43] [originalCount=4] [newCount=0] [2025/04/04 12:45:50.501 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:45:50.501 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:45:50.501 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:45:50.501 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:45:50.503 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=48c94a1c-62ad-4f97-89d6-5c65e5765e43] [2025/04/04 12:45:50.503 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 12:45:50.504 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1159] [2025/04/04 12:45:50.504 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 12:45:50.504 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 12:45:50.504 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=48c94a1c-62ad-4f97-89d6-5c65e5765e43] [2025/04/04 12:45:50.504 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 12:45:50.504 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:45:50.504 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:45:50.504 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 12:45:50.504 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 12:45:50.504 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:45:50.504 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 12:45:50.504 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:45:50.504 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/04 12:45:50.504 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:45:50.504 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 12:45:50.504 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 12:45:50.504 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:45:50.505 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/04 12:45:50.504 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:45:50.505 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:45:50.505 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 12:45:50.505 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:45:50.505 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:45:50.505 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:45:50.504 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 12:45:50.505 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:45:50.505 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/04 12:45:50.504 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 12:45:50.505 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:45:50.505 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:45:50.505 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:45:50.505 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:45:50.505 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:45:50.505 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 12:45:50.505 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 12:45:50.505 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 12:45:50.505 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 12:45:50.505 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 12:45:50.505 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:45:50.505 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:45:50.505 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:45:50.505 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:45:50.505 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:45:50.505 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:45:50.505 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=760c2882-1464-4130-9995-29922537ab98] [] [2025/04/04 12:45:50.504 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/04 12:45:50.505 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=760c2882-1464-4130-9995-29922537ab98] [2025/04/04 12:45:50.505 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 12:45:50.505 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 12:45:50.505 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 12:45:50.505 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=760c2882-1464-4130-9995-29922537ab98] [2025/04/04 12:45:50.505 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:45:50.505 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 12:45:50.505 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=48c94a1c-62ad-4f97-89d6-5c65e5765e43] [2025/04/04 12:45:50.505 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=760c2882-1464-4130-9995-29922537ab98] [2025/04/04 12:45:50.505 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:45:50.505 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 12:45:50.505 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:45:50.505 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 12:45:50.505 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:45:50.504 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:45:50.505 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 12:45:50.505 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=48c94a1c-62ad-4f97-89d6-5c65e5765e43] [] [2025/04/04 12:45:50.505 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 12:45:50.505 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:45:50.505 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=48c94a1c-62ad-4f97-89d6-5c65e5765e43] [2025/04/04 12:45:50.505 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:45:50.505 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:45:50.505 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 12:45:50.505 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:45:50.505 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=48c94a1c-62ad-4f97-89d6-5c65e5765e43] [2025/04/04 12:45:50.505 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=48c94a1c-62ad-4f97-89d6-5c65e5765e43] [2025/04/04 12:45:50.505 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:45:50.505 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 12:45:50.505 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:45:50.506 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:45:50.505 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 12:45:50.506 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:45:50.506 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:45:50.504 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:45:50.505 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 12:45:50.505 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:45:50.505 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 12:45:50.505 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:45:50.505 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 12:45:50.506 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:45:50.506 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:45:50.506 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:45:50.506 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 12:45:50.506 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=760c2882-1464-4130-9995-29922537ab98] [daemon-id=LogBackup::Advancer] [2025/04/04 12:45:50.506 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:45:50.506 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/bindinfo/owner] [id=48c94a1c-62ad-4f97-89d6-5c65e5765e43] [] [2025/04/04 12:45:50.506 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:45:50.506 +00:00] [INFO] [flush_subscriber.go:108] [Clearing.] [category="log backup flush subscriber"] [timeout=1m0s] [2025/04/04 12:45:50.506 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/bindinfo/owner] [id=48c94a1c-62ad-4f97-89d6-5c65e5765e43] [2025/04/04 12:45:50.506 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 12:45:50.507 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/bindinfo/owner] [id=48c94a1c-62ad-4f97-89d6-5c65e5765e43] [2025/04/04 12:45:50.506 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 12:45:50.507 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=48c94a1c-62ad-4f97-89d6-5c65e5765e43] [error="context canceled"] [2025/04/04 12:45:50.507 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 12:45:50.507 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=48c94a1c-62ad-4f97-89d6-5c65e5765e43] [2025/04/04 12:45:50.507 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:45:50.507 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 12:45:50.507 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 12:45:50.507 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:45:50.562 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=48c94a1c-62ad-4f97-89d6-5c65e5765e43] [error="context canceled"] [2025/04/04 12:45:50.562 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 12:45:50.562 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:45:50.573 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=85.515371ms] [2025/04/04 12:45:50.575 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:45:50.575 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:45:50.575 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:45:50.575 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:45:50.575 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:45:50.575 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:45:50.575 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:45:50.575 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:50.575 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:50.575 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:50.575 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-1] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:45:50.576 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:45:50.577 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestImportInto (18.71s) === NAME PASS ================================================================================ Target //tests/realtikvtest/importintotest4:importintotest4_test up-to-date: bazel-bin/tests/realtikvtest/importintotest4/importintotest4_test_/importintotest4_test INFO: Elapsed time: 67.588s, Critical Path: 48.59s INFO: 4640 processes: 4618 remote cache hit, 13 internal, 9 linux-sandbox. INFO: Build completed successfully, 4640 total actions //tests/realtikvtest/importintotest4:importintotest4_test PASSED in 22.6s PASSED importintotest4_test.TestImportInto (18.7s) PASSED importintotest4_test.TestImportInto/TestGlobalSortBasic (5.5s) PASSED importintotest4_test.TestImportInto/TestGlobalSortMultiFiles (2.2s) PASSED importintotest4_test.TestImportInto/TestGlobalSortUniqueKeyConflict (2.5s) PASSED importintotest4_test.TestImportInto/TestSplitFile (3.5s) 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] sh [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { No test report files were found. Configuration error? [Pipeline] junit Recording test results [Pipeline] } [Pipeline] // script [Pipeline] } None of the test reports contained any result [Checks API] No suitable checks publisher found. [Pipeline] // dir [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] // stage [Pipeline] } [Pipeline] sh [Pipeline] // container [Pipeline] } [Pipeline] // withEnv [Pipeline] } No test report files were found. Configuration error? [Pipeline] // node [Pipeline] } [Pipeline] // podTemplate [Pipeline] } [Pipeline] } [Pipeline] // withEnv [Pipeline] // script [Pipeline] } [Pipeline] } [Pipeline] // stage [Pipeline] // dir [Pipeline] } [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [4,571 / 4,572] Testing //tests/realtikvtest/addindextest:addindextest_test; 41s remote-cache, linux-sandbox [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] } [4,750 / 4,751] Testing //tests/realtikvtest/importintotest:importintotest_test; 11s remote-cache, linux-sandbox [4,568 / 4,569] Testing //tests/realtikvtest/addindextest1:addindextest1_test; 41s remote-cache, linux-sandbox [4,573 / 4,574] Testing //tests/realtikvtest/txntest:txntest_test; 101s remote-cache, linux-sandbox [4,571 / 4,572] Testing //tests/realtikvtest/addindextest3:addindextest3_test; 41s remote-cache, linux-sandbox [4,568 / 4,569] 1 / 1 tests; Testing //tests/realtikvtest/addindextest1:addindextest1_test; 51s remote-cache, linux-sandbox Target //tests/realtikvtest/addindextest1:addindextest1_test up-to-date: bazel-bin/tests/realtikvtest/addindextest1/addindextest1_test_/addindextest1_test INFO: Elapsed time: 93.397s, Critical Path: 75.39s INFO: 4269 processes: 4259 remote cache hit, 3 internal, 7 linux-sandbox. INFO: Build completed successfully, 4269 total actions //tests/realtikvtest/addindextest1:addindextest1_test PASSED in 50.9s PASSED addindextest1_test.TestAddIndexDistBasic (13.9s) PASSED addindextest1_test.TestAddIndexDistCancel (6.2s) PASSED addindextest1_test.TestAddIndexDistCancelWithPartition (6.3s) PASSED addindextest1_test.TestAddIndexDistCleanUpBlock (8.8s) PASSED addindextest1_test.TestAddIndexDistLockAcquireFailed (3.2s) PASSED addindextest1_test.TestAddIndexDistPauseAndResume (0.0s) PASSED addindextest1_test.TestAddIndexForCurrentTimestampColumn (2.8s) 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 [4,582 / 4,583] Testing //tests/realtikvtest/brietest:brietest_test; 101s remote-cache, linux-sandbox Post stage [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] junit Recording test results None of the test reports contained any result [Checks API] No suitable checks publisher found. [Pipeline] } [Pipeline] // dir [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] sh No test report files were found. Configuration error? [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // container [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // podTemplate [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [4,573 / 4,574] Testing //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test; 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; 42s remote-cache, linux-sandbox INFO: From Testing //tests/realtikvtest/flashbacktest:flashbacktest_test: ==================== Test output for //tests/realtikvtest/flashbacktest:flashbacktest_test: === RUN TestFlashback [2025/04/04 12:45:32.650 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 12:45:32.651 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 12:45:32.652 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437820018004919] [2025/04/04 12:45:32.653 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:45:32.653 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 12:45:32.653 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:45:32.653 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:45:32.653 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:45:32.653 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:45:32.654 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:45:32.654 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:45:32.659 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 12:45:32.666 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:45:32.667 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:45:32.668 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:45:32.692 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/04 12:45:32.692 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/04 12:45:32.697 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/04 12:45:32.697 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/04 12:45:32.708 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/04 12:45:32.729 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489437820018004919] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 12:45:32.752 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 12:45:32.785 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=688] ["lease id"=22319600d42f93e8] [2025/04/04 12:45:32.788 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/04 12:45:32.796 +00:00] [WARN] [domain.go:318] ["failed to get schema version"] [error="There is no Write MVCC info for the schema version"] [errorVerbose="There is no Write MVCC info for the schema version\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:448\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:316\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init\n\tpkg/domain/domain.go:1506\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).getWithEtcdClient.func1\n\tpkg/session/tidb.go:104\ngithub.com/pingcap/tidb/pkg/util.RunWithRetry\n\tpkg/util/misc.go:72\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).getWithEtcdClient\n\tpkg/session/tidb.go:91\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).Get\n\tpkg/session/tidb.go:66\ngithub.com/pingcap/tidb/pkg/session.createSessionWithOpt\n\tpkg/session/session.go:3794\ngithub.com/pingcap/tidb/pkg/session.createSession\n\tpkg/session/session.go:3786\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3722\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3477\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/flashbacktest/flashbacktest_test.TestFlashback\n\ttests/realtikvtest/flashbacktest/flashback_test.go:65\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [version=0] [2025/04/04 12:45:32.911 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=0] ["elapsed time"=114.601924ms] [2025/04/04 12:45:32.911 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 12:45:32.913 +00:00] [INFO] [ddl.go:964] ["change job version in use"] [category=ddl] [old=v1] [new=v2] [2025/04/04 12:45:32.913 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=14d40c25-a288-4df0-90dc-7b313ebf5a02] [runWorker=true] [jobVersion=v2] [2025/04/04 12:45:32.913 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 12:45:32.915 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=14d40c25-a288-4df0-90dc-7b313ebf5a02] [2025/04/04 12:45:32.917 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 12:45:32.917 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 261544521728/466850480128, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 12:45:32.917 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:45:32.917 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:45:32.917 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:45:32.917 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:45:32.917 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:45:32.917 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:45:32.917 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:45:32.917 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:45:32.917 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 12:45:32.917 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:45:32.917 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:45:32.918 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 12:45:32.918 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=0a234945-3c1e-423b-970e-c932cb462a4f] [2025/04/04 12:45:32.919 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319600d42f93ed] [ownerID=14d40c25-a288-4df0-90dc-7b313ebf5a02] [op=none] [2025/04/04 12:45:32.919 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=14d40c25-a288-4df0-90dc-7b313ebf5a02] [2025/04/04 12:45:32.919 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=14d40c25-a288-4df0-90dc-7b313ebf5a02] [ownerKey=/tidb/ddl/fg/owner/22319600d42f93ed] [currRev=94] [2025/04/04 12:45:32.920 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:45:32.921 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=0a234945-3c1e-423b-970e-c932cb462a4f] [daemon-id=LogBackup::Advancer] [2025/04/04 12:45:32.921 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 12:45:32.921 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f189600d42f96eb] [ownerID=0a234945-3c1e-423b-970e-c932cb462a4f] [op=none] [2025/04/04 12:45:32.921 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=0a234945-3c1e-423b-970e-c932cb462a4f] [2025/04/04 12:45:32.921 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=0a234945-3c1e-423b-970e-c932cb462a4f] [ownerKey=/tidb/br-stream/owner/6f189600d42f96eb] [currRev=95] [2025/04/04 12:45:32.922 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319600d42f93ed] [ownerID=14d40c25-a288-4df0-90dc-7b313ebf5a02] [op=none] [2025/04/04 12:45:32.922 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=14d40c25-a288-4df0-90dc-7b313ebf5a02] [op=none] [2025/04/04 12:45:32.922 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 12:45:32.924 +00:00] [WARN] [domain.go:318] ["failed to get schema version"] [error="There is no Write MVCC info for the schema version"] [errorVerbose="There is no Write MVCC info for the schema version\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:448\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:316\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/ddl.(*jobScheduler).mustReloadSchemas\n\tpkg/ddl/job_scheduler.go:455\ngithub.com/pingcap/tidb/pkg/ddl.(*jobScheduler).schedule\n\tpkg/ddl/job_scheduler.go:301\ngithub.com/pingcap/tidb/pkg/ddl.(*jobScheduler).scheduleLoop\n\tpkg/ddl/job_scheduler.go:268\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [version=0] [2025/04/04 12:45:32.940 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE IF NOT EXISTS test"] [2025/04/04 12:45:32.940 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:32.946 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=3] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:32.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.087 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=1] ["elapsed time"=126.170435ms] [2025/04/04 12:45:33.087 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 12:45:33.093 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:33.093 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1] [2025/04/04 12:45:33.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=1] ["take time"=135.740794ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.108 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=3] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:32.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.122 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=3] [2025/04/04 12:45:33.123 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2025/04/04 12:45:33.124 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2025/04/04 12:45:33.128 +00:00] [INFO] [helper.go:189] ["set random timezone for getStmtTimestamp"] [timezone=Asia/Shanghai] [2025/04/04 12:45:33.154 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.1 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:33.154 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.1 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_reuse_history smallint unsigned DEFAULT NULL,\n\t\tPassword_reuse_time smallint unsigned DEFAULT NULL,\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPassword_expired\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_last_changed\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP(),\n\t\tPassword_lifetime\t\tSMALLINT UNSIGNED DEFAULT NULL,\n\t\tMax_user_connections \tINT UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (Host, User),\n\t\tKEY i_user (User));"] [2025/04/04 12:45:33.162 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=5] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.1 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.217 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=1] [neededSchemaVersion=2] ["elapsed time"=7.296974ms] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:33.220 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:33.221 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2] [2025/04/04 12:45:33.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=2] ["take time"=14.250238ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.1 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.242 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=5] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.1 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.274 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=5] [2025/04/04 12:45:33.274 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=2] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_reuse_history smallint unsigned DEFAULT NULL,\n\t\tPassword_reuse_time smallint unsigned DEFAULT NULL,\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPassword_expired\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_last_changed\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP(),\n\t\tPassword_lifetime\t\tSMALLINT UNSIGNED DEFAULT NULL,\n\t\tMax_user_connections \tINT UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (Host, User),\n\t\tKEY i_user (User));"] [user=] [2025/04/04 12:45:33.288 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.249 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:33.288 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.249 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.password_history (\n Host char(255) NOT NULL DEFAULT '',\n User char(32) NOT NULL DEFAULT '',\n Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n Password text,\n PRIMARY KEY (Host,User,Password_timestamp )\n ) COMMENT='Password history for user accounts' "] [2025/04/04 12:45:33.294 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=7] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.249 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.313 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=2] [neededSchemaVersion=3] ["elapsed time"=2.108828ms] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:33.316 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:33.316 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3] [2025/04/04 12:45:33.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=3] ["take time"=9.214641ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.249 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.329 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=7] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.249 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.342 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=7] [2025/04/04 12:45:33.342 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=3] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.password_history (\n Host char(255) NOT NULL DEFAULT '',\n User char(32) NOT NULL DEFAULT '',\n Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n Password text,\n PRIMARY KEY (Host,User,Password_timestamp )\n ) COMMENT='Password history for user accounts' "] [user=] [2025/04/04 12:45:33.356 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.3 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:33.356 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.3 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User),KEY i_user (User))"] [2025/04/04 12:45:33.362 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=9] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.3 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.381 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=3] [neededSchemaVersion=4] ["elapsed time"=2.111495ms] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:33.384 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:33.384 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4] [2025/04/04 12:45:33.385 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=4] ["take time"=8.713788ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.3 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.396 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=9] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.3 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.409 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=9] [2025/04/04 12:45:33.409 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=4] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User),KEY i_user (User))"] [user=] [2025/04/04 12:45:33.430 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.4 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:33.430 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.4 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User),\n\t\tKEY i_user (User));"] [2025/04/04 12:45:33.437 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=11] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.4 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.474 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=4] [neededSchemaVersion=5] ["elapsed time"=4.305371ms] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:33.478 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:33.478 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5] [2025/04/04 12:45:33.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=5] ["take time"=11.274171ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.4 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.493 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=11] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.4 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.514 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=11] [2025/04/04 12:45:33.515 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=5] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User),\n\t\tKEY i_user (User));"] [user=] [2025/04/04 12:45:33.530 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.5 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:33.530 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.5 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name),\n\t\tKEY i_user (User));"] [2025/04/04 12:45:33.536 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=13] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.5 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.559 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=5] [neededSchemaVersion=6] ["elapsed time"=2.742592ms] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:33.563 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:33.563 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6] [2025/04/04 12:45:33.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=6] ["take time"=9.871884ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.5 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.576 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=13] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.5 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.591 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=13] [2025/04/04 12:45:33.591 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=6] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name),\n\t\tKEY i_user (User));"] [user=] [2025/04/04 12:45:33.606 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.55 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:33.606 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.55 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tColumn_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name),\n\t\tKEY i_user (User));"] [2025/04/04 12:45:33.612 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=15] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.55 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.636 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=6] [neededSchemaVersion=7] ["elapsed time"=2.697239ms] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:33.639 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:33.639 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7] [2025/04/04 12:45:33.641 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=7] ["take time"=9.645038ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.55 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.653 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=15] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.55 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.667 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=15] [2025/04/04 12:45:33.668 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=7] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tColumn_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name),\n\t\tKEY i_user (User));"] [user=] [2025/04/04 12:45:33.680 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.65 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(16383) DEFAULT NULL);"] [2025/04/04 12:45:33.680 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.65 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:33.686 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=17] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.65 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.703 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=7] [neededSchemaVersion=8] ["elapsed time"=1.826468ms] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:33.706 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:33.706 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8] [2025/04/04 12:45:33.708 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=8] ["take time"=8.556175ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.65 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.718 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=17] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.65 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.729 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=17] [2025/04/04 12:45:33.729 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=8] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(16383) DEFAULT NULL);"] [user=] [2025/04/04 12:45:33.742 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:33.742 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [2025/04/04 12:45:33.748 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=19] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.765 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=8] [neededSchemaVersion=9] ["elapsed time"=1.699698ms] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:33.768 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:33.768 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9] [2025/04/04 12:45:33.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=9] ["take time"=8.533121ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.780 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=19] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.791 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=19] [2025/04/04 12:45:33.792 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=9] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [user=] [2025/04/04 12:45:33.805 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.75 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:33.805 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.75 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [2025/04/04 12:45:33.811 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=21] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.75 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.831 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=9] [neededSchemaVersion=10] ["elapsed time"=2.192007ms] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:33.834 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:33.834 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10] [2025/04/04 12:45:33.836 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=10] ["take time"=8.602398ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.75 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.846 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=21] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.75 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.859 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=21] [2025/04/04 12:45:33.860 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=10] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [user=] [2025/04/04 12:45:33.873 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.851 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:33.873 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.851 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [2025/04/04 12:45:33.878 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=23] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.851 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.897 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=10] [neededSchemaVersion=11] ["elapsed time"=2.246176ms] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:33.900 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:33.900 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11] [2025/04/04 12:45:33.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=11] ["take time"=8.590493ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.851 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.913 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=23] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.851 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.918 +00:00] [WARN] [runaway.go:85] ["failed to start runaway manager loop, please check whether the bootstrap or update is finished"] [error="[schema:1146]Table 'mysql.tidb_runaway_watch' doesn't exist"] [errorVerbose="[schema:1146]Table 'mysql.tidb_runaway_watch' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternalStmt\n\tpkg/session/session.go:2019\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1984\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1970\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1974\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.ExecRCRestrictedSQL\n\tpkg/resourcegroup/runaway/record.go:382\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*systemTableReader).Read\n\tpkg/resourcegroup/runaway/syncer.go:192\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.getRunawayWatchRecord\n\tpkg/resourcegroup/runaway/syncer.go:76\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*syncer).getWatchRecord\n\tpkg/resourcegroup/runaway/syncer.go:67\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*syncer).getNewWatchRecords\n\tpkg/resourcegroup/runaway/syncer.go:59\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*Manager).UpdateNewAndDoneWatch\n\tpkg/resourcegroup/runaway/manager.go:402\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).runawayStartLoop\n\tpkg/domain/runaway.go:75\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:45:33.926 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=23] [2025/04/04 12:45:33.927 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=11] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [user=] [2025/04/04 12:45:33.928 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl] [2025/04/04 12:45:33.943 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:33.943 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [2025/04/04 12:45:33.949 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=25] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.975 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=11] [neededSchemaVersion=12] ["elapsed time"=3.13918ms] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:33.979 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:33.979 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12] [2025/04/04 12:45:33.980 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=12] ["take time"=9.995337ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.993 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=25] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.010 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=25] [2025/04/04 12:45:34.010 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=12] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2025/04/04 12:45:34.025 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:34.025 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [2025/04/04 12:45:34.032 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=27] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.056 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=12] [neededSchemaVersion=13] ["elapsed time"=2.616212ms] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:34.059 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:34.059 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13] [2025/04/04 12:45:34.061 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=13] ["take time"=9.297966ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.072 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=27] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.087 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=27] [2025/04/04 12:45:34.087 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=13] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [user=] [2025/04/04 12:45:34.101 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:34.101 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [2025/04/04 12:45:34.107 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=29] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.127 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=13] [neededSchemaVersion=14] ["elapsed time"=2.198159ms] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:34.131 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:34.131 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14] [2025/04/04 12:45:34.132 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=14] ["take time"=9.56643ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.143 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=29] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.161 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=29] [2025/04/04 12:45:34.161 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=14] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [user=] [2025/04/04 12:45:34.176 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.15 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:34.176 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.15 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [2025/04/04 12:45:34.182 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=31] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.15 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.201 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=14] [neededSchemaVersion=15] ["elapsed time"=2.120146ms] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:34.205 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:34.205 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15] [2025/04/04 12:45:34.206 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=15] ["take time"=8.926782ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.15 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.217 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=31] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.15 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.230 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=31] [2025/04/04 12:45:34.231 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=15] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [user=] [2025/04/04 12:45:34.243 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.2 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:34.243 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.2 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [2025/04/04 12:45:34.249 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=33] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.2 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.267 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=15] [neededSchemaVersion=16] ["elapsed time"=2.112917ms] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:34.271 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:34.271 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16] [2025/04/04 12:45:34.272 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=16] ["take time"=8.75697ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.2 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.283 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=33] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.2 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.295 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=33] [2025/04/04 12:45:34.295 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=16] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [user=] [2025/04/04 12:45:34.309 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.3 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:34.309 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.3 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [2025/04/04 12:45:34.314 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=35] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.3 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.334 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=16] [neededSchemaVersion=17] ["elapsed time"=2.145843ms] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:34.337 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:34.337 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17] [2025/04/04 12:45:34.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=17] ["take time"=8.766336ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.3 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.349 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=35] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.3 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.362 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=35] [2025/04/04 12:45:34.362 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=17] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [user=] [2025/04/04 12:45:34.375 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:34.375 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER),\n\t\tKEY i_user (USER))"] [2025/04/04 12:45:34.382 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=37] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.401 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=17] [neededSchemaVersion=18] ["elapsed time"=2.070195ms] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:34.404 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:34.404 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18] [2025/04/04 12:45:34.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=18] ["take time"=8.68993ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.416 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=37] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.429 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=37] [2025/04/04 12:45:34.429 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=18] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER),\n\t\tKEY i_user (USER))"] [user=] [2025/04/04 12:45:34.445 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.4 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:34.445 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.4 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql LONGTEXT NOT NULL,\n\t\tbind_sql LONGTEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tsql_digest varchar(64) DEFAULT NULL,\n\t\tplan_digest varchar(64) DEFAULT NULL,\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\",\n\t\tUNIQUE INDEX digest_index(plan_digest, sql_digest) COMMENT \"avoid duplicated records\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2025/04/04 12:45:34.451 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=39] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.4 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.479 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=18] [neededSchemaVersion=19] ["elapsed time"=3.581414ms] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:34.482 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:34.482 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19] [2025/04/04 12:45:34.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=19] ["take time"=10.624373ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.4 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.496 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=39] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.4 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.512 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=39] [2025/04/04 12:45:34.513 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=19] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql LONGTEXT NOT NULL,\n\t\tbind_sql LONGTEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tsql_digest varchar(64) DEFAULT NULL,\n\t\tplan_digest varchar(64) DEFAULT NULL,\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\",\n\t\tUNIQUE INDEX digest_index(plan_digest, sql_digest) COMMENT \"avoid duplicated records\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2025/04/04 12:45:34.533 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.5 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:34.533 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.5 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [2025/04/04 12:45:34.539 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=41] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.5 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.558 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=19] [neededSchemaVersion=20] ["elapsed time"=2.140735ms] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:34.561 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:34.561 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20] [2025/04/04 12:45:34.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=20] ["take time"=8.679803ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.5 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.573 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=41] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.5 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.586 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=41] [2025/04/04 12:45:34.586 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=20] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2025/04/04 12:45:34.599 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.55 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:34.599 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.55 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [2025/04/04 12:45:34.604 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=43] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.55 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.621 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=20] [neededSchemaVersion=21] ["elapsed time"=1.646428ms] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:34.624 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:34.624 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21] [2025/04/04 12:45:34.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=21] ["take time"=8.80535ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.55 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.636 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=43] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.55 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.648 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=43] [2025/04/04 12:45:34.648 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=21] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [user=] [2025/04/04 12:45:34.660 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/04 12:45:34.660 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.65 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [2025/04/04 12:45:34.660 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.65 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:34.666 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=45] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.65 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.682 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=21] [neededSchemaVersion=22] ["elapsed time"=1.396066ms] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:34.686 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:34.686 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22] [2025/04/04 12:45: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=22] ["take time"=8.094616ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.65 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.697 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=45] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.65 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.708 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=45] [2025/04/04 12:45:34.708 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=22] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [user=] [2025/04/04 12:45:34.722 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.7 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:34.722 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.7 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [2025/04/04 12:45:34.728 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=47] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.7 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.750 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=22] [neededSchemaVersion=23] ["elapsed time"=2.531497ms] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:34.753 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:34.753 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23] [2025/04/04 12:45:34.755 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=23] ["take time"=9.568223ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.7 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.766 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=47] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.7 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.780 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=47] [2025/04/04 12:45:34.781 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=23] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [user=] [2025/04/04 12:45:34.793 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.75 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:34.793 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.75 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [2025/04/04 12:45:34.799 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=49] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.75 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.817 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=23] [neededSchemaVersion=24] ["elapsed time"=2.050149ms] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:34.821 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:34.821 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24] [2025/04/04 12:45:34.823 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=24] ["take time"=8.886341ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.75 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.833 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=49] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.75 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.845 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=49] [2025/04/04 12:45:34.845 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=24] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2025/04/04 12:45:34.859 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:34.859 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV),\n\t\tKEY i_user (USER)\n\t);"] [2025/04/04 12:45:34.865 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=51] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.884 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=24] [neededSchemaVersion=25] ["elapsed time"=2.11147ms] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:34.887 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:34.887 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25] [2025/04/04 12:45:34.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=25] ["take time"=8.605081ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.900 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=51] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.916 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/04 12:45:34.917 +00:00] [WARN] [info.go:562] ["response not 200"] [method=GET] [host=127.0.0.1:2382] [url=/pd/api/v1/config/rule_group/tiflash] ["http status"=404] [2025/04/04 12:45:34.918 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=51] [2025/04/04 12:45:34.918 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=25] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV),\n\t\tKEY i_user (USER)\n\t);"] [user=] [2025/04/04 12:45:34.931 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:34.931 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [2025/04/04 12:45:34.937 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=53] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.954 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=25] [neededSchemaVersion=26] ["elapsed time"=1.824689ms] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:34.957 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:34.957 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26] [2025/04/04 12:45:34.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=26] ["take time"=8.272647ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.971 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=53] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.983 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=53] [2025/04/04 12:45:34.984 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=26] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [user=] [2025/04/04 12:45:34.997 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.95 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:34.997 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.95 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [2025/04/04 12:45:35.002 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=55] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.95 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.020 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=26] [neededSchemaVersion=27] ["elapsed time"=1.973501ms] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:35.024 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:35.024 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27] [2025/04/04 12:45:35.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=27] ["take time"=8.577098ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.95 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.036 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=55] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.95 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.048 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=55] [2025/04/04 12:45:35.048 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=27] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [user=] [2025/04/04 12:45:35.061 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:35.061 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [2025/04/04 12:45:35.066 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=57] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:35.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.084 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=27] [neededSchemaVersion=28] ["elapsed time"=1.831438ms] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:35.087 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:35.087 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28] [2025/04/04 12:45:35.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=28] ["take time"=8.454361ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.099 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=57] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:35.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.110 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=57] [2025/04/04 12:45:35.111 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=28] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [user=] [2025/04/04 12:45:35.112 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl] [2025/04/04 12:45:35.125 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.1 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:35.125 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.1 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [2025/04/04 12:45:35.131 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=59] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:35.1 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.151 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=28] [neededSchemaVersion=29] ["elapsed time"=2.224616ms] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:35.155 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:35.155 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29] [2025/04/04 12:45:35.156 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=29] ["take time"=8.667518ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.1 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.166 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=59] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:35.1 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.180 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=59] [2025/04/04 12:45:35.180 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=29] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [user=] [2025/04/04 12:45:35.194 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.15 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:35.193 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.15 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [2025/04/04 12:45:35.199 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=61] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:35.15 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.220 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=29] [neededSchemaVersion=30] ["elapsed time"=2.416355ms] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:35.223 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:35.223 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30] [2025/04/04 12:45:35.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=30] ["take time"=9.199219ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.15 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.236 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=61] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:35.15 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.250 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=61] [2025/04/04 12:45:35.250 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=30] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2025/04/04 12:45:35.264 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.25 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:35.265 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.25 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [2025/04/04 12:45:35.270 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=63] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:35.25 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.292 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=30] [neededSchemaVersion=31] ["elapsed time"=2.553722ms] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:35.295 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:35.295 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31] [2025/04/04 12:45:35.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=31] ["take time"=9.485798ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.25 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.308 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=63] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:35.25 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.321 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=63] [2025/04/04 12:45:35.321 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=31] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2025/04/04 12:45:35.339 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.3 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:35.339 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.3 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time),\n\t\tINDEX idx_schema_table_state (table_schema, table_name, state),\n\t\tINDEX idx_schema_table_partition_state (table_schema, table_name, partition_name, state)\n\t);"] [2025/04/04 12:45:35.345 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=65] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:35.3 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.371 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=31] [neededSchemaVersion=32] ["elapsed time"=3.363074ms] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:35.374 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:35.375 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32] [2025/04/04 12:45:35.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=32] ["take time"=10.144195ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.3 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.388 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=65] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:35.3 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.405 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=65] [2025/04/04 12:45:35.405 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=32] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time),\n\t\tINDEX idx_schema_table_state (table_schema, table_name, state),\n\t\tINDEX idx_schema_table_partition_state (table_schema, table_name, partition_name, state)\n\t);"] [user=] [2025/04/04 12:45:35.417 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.4 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [2025/04/04 12:45:35.417 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.4 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:35.422 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=67] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:35.4 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.437 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=32] [neededSchemaVersion=33] ["elapsed time"=1.648524ms] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:35.440 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:35.440 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33] [2025/04/04 12:45:35.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=33] ["take time"=8.450408ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.4 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.452 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=67] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:35.4 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.462 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=67] [2025/04/04 12:45:35.462 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=33] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [user=] [2025/04/04 12:45:35.479 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.449 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:35.479 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.449 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE OR REPLACE SQL SECURITY INVOKER VIEW mysql.tidb_mdl_view as (\n\t\tSELECT tidb_mdl_info.job_id,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.schema_name\")) as db_name,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.table_name\")) as table_name,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.query\")) as query,\n\t\t\tsession_id,\n\t\t\tcluster_tidb_trx.start_time,\n\t\t\ttidb_decode_sql_digests(all_sql_digests, 4096) AS SQL_DIGESTS\n\t\tFROM mysql.tidb_ddl_job,\n\t\t\tmysql.tidb_mdl_info,\n\t\t\tinformation_schema.cluster_tidb_trx\n\t\tWHERE tidb_ddl_job.job_id=tidb_mdl_info.job_id\n\t\t\tAND CONCAT(',', tidb_mdl_info.table_ids, ',') REGEXP CONCAT(',(', REPLACE(cluster_tidb_trx.related_table_ids, ',', '|'), '),') != 0\n\t);"] [2025/04/04 12:45:35.485 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=69] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:35.449 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.507 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=33] [neededSchemaVersion=34] ["elapsed time"=2.156682ms] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2025/04/04 12:45:35.510 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:35.510 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34] [2025/04/04 12:45:35.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=34] ["take time"=8.784753ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.449 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.523 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=69] [job="ID:69, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:35.449 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.538 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=69] [2025/04/04 12:45:35.552 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.5 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:35.552 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.5 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [2025/04/04 12:45:35.558 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=71] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:35.5 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.579 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=34] [neededSchemaVersion=35] ["elapsed time"=2.288594ms] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:35.582 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:35.582 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35] [2025/04/04 12:45:35.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=35] ["take time"=9.324696ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.5 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.595 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=71] [job="ID:71, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:35.5 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.609 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=71] [2025/04/04 12:45:35.610 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=35] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [user=] [2025/04/04 12:45:35.624 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.6 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:35.624 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.6 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [2025/04/04 12:45:35.631 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=73] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:35.6 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.652 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=35] [neededSchemaVersion=36] ["elapsed time"=4.226121ms] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:35.658 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:35.658 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36] [2025/04/04 12:45:35.660 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=36] ["take time"=13.660895ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.6 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.671 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=73] [job="ID:73, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:35.6 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.684 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=73] [2025/04/04 12:45:35.684 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=36] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [user=] [2025/04/04 12:45:35.697 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.65 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:35.697 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.65 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [2025/04/04 12:45:35.703 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=75] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:35.65 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.721 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=36] [neededSchemaVersion=37] ["elapsed time"=1.838228ms] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:35.724 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:35.724 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37] [2025/04/04 12:45:35.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=37] ["take time"=8.322931ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.65 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.736 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=75] [job="ID:75, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:35.65 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.748 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=75] [2025/04/04 12:45:35.748 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=37] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [user=] [2025/04/04 12:45:35.765 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.749 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:35.765 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.749 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [2025/04/04 12:45:35.771 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=77] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:35.749 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.798 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=37] [neededSchemaVersion=38] ["elapsed time"=3.224349ms] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:35.801 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:35.801 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38] [2025/04/04 12:45:35.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=38] ["take time"=9.646281ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.749 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.815 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=77] [job="ID:77, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:35.749 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.832 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=77] [2025/04/04 12:45:35.833 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=38] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [user=] [2025/04/04 12:45:35.849 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.8 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:35.849 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.8 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [2025/04/04 12:45:35.855 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=79] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:35.8 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.880 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=38] [neededSchemaVersion=39] ["elapsed time"=3.097258ms] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:35.884 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:35.884 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39] [2025/04/04 12:45:35.885 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=39] ["take time"=9.953515ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.8 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.897 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=79] [job="ID:79, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:35.8 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.914 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=79] [2025/04/04 12:45:35.914 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=39] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [user=] [2025/04/04 12:45:35.930 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:35.930 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [2025/04/04 12:45:35.936 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=81] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:35.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.964 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=39] [neededSchemaVersion=40] ["elapsed time"=3.64191ms] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:35.968 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:35.968 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40] [2025/04/04 12:45:35.969 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=40] ["take time"=10.178374ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.982 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=81] [job="ID:81, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:35.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.001 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=81] [2025/04/04 12:45:36.001 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=40] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [user=] [2025/04/04 12:45:36.018 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:36.018 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [2025/04/04 12:45:36.025 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=83] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:36 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.054 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=40] [neededSchemaVersion=41] ["elapsed time"=3.744216ms] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:36.057 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:36.057 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41] [2025/04/04 12:45:36.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=41] ["take time"=10.494595ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.071 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=83] [job="ID:83, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:36 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.089 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=83] [2025/04/04 12:45:36.090 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=41] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2025/04/04 12:45:36.107 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.051 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:36.107 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.051 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task_history (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [2025/04/04 12:45:36.113 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=85] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:36.051 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.141 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=41] [neededSchemaVersion=42] ["elapsed time"=3.538993ms] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:36.144 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:36.144 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42] [2025/04/04 12:45:36.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=42] ["take time"=9.923031ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.051 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.159 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=85] [job="ID:85, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:36.051 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.176 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=85] [2025/04/04 12:45:36.177 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=42] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task_history (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2025/04/04 12:45:36.193 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.15 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:36.193 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.15 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_import_jobs (\n\t\tid bigint(64) NOT NULL AUTO_INCREMENT,\n\t\tcreate_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n\t\tstart_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tupdate_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tend_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\ttable_schema VARCHAR(64) NOT NULL,\n\t\ttable_name VARCHAR(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcreated_by VARCHAR(300) NOT NULL,\n\t\tparameters text NOT NULL,\n\t\tsource_file_size bigint(64) NOT NULL,\n\t\tstatus VARCHAR(64) NOT NULL,\n\t\tstep VARCHAR(64) NOT NULL,\n\t\tsummary text DEFAULT NULL,\n\t\terror_message TEXT DEFAULT NULL,\n\t\tPRIMARY KEY (id),\n\t\tKEY (created_by),\n\t\tKEY (status));"] [2025/04/04 12:45:36.199 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=87] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:36.15 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.226 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=42] [neededSchemaVersion=43] ["elapsed time"=3.899658ms] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:36.229 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:36.229 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43] [2025/04/04 12:45:36.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=43] ["take time"=10.330831ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.15 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.243 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=87] [job="ID:87, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:36.15 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.260 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=87] [2025/04/04 12:45:36.261 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=43] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_import_jobs (\n\t\tid bigint(64) NOT NULL AUTO_INCREMENT,\n\t\tcreate_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n\t\tstart_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tupdate_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tend_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\ttable_schema VARCHAR(64) NOT NULL,\n\t\ttable_name VARCHAR(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcreated_by VARCHAR(300) NOT NULL,\n\t\tparameters text NOT NULL,\n\t\tsource_file_size bigint(64) NOT NULL,\n\t\tstatus VARCHAR(64) NOT NULL,\n\t\tstep VARCHAR(64) NOT NULL,\n\t\tsummary text DEFAULT NULL,\n\t\terror_message TEXT DEFAULT NULL,\n\t\tPRIMARY KEY (id),\n\t\tKEY (created_by),\n\t\tKEY (status));"] [user=] [2025/04/04 12:45:36.276 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.25 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:36.276 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.25 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tINDEX sql_index(resource_group_name,watch_text(700)) COMMENT \"accelerate the speed when select quarantined query\",\n\t\tINDEX time_index(end_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2025/04/04 12:45:36.283 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=89] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:36.25 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.307 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=43] [neededSchemaVersion=44] ["elapsed time"=2.842452ms] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:36.310 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:36.310 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44] [2025/04/04 12:45:36.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=44] ["take time"=9.860706ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.25 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.324 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=89] [job="ID:89, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:36.25 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.339 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=89] [2025/04/04 12:45:36.340 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=44] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tINDEX sql_index(resource_group_name,watch_text(700)) COMMENT \"accelerate the speed when select quarantined query\",\n\t\tINDEX time_index(end_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2025/04/04 12:45:36.356 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.3 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time TIMESTAMP NOT NULL,\n\t\trepeats int default 1,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(64) NOT NULL,\n\t\tsample_sql TEXT NOT NULL,\n\t\tsql_digest varchar(64) NOT NULL,\n\t\tplan_digest varchar(64) NOT NULL,\n\t\ttidb_server varchar(512),\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(start_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2025/04/04 12:45:36.356 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.3 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:36.362 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=91] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:36.3 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.384 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=44] [neededSchemaVersion=45] ["elapsed time"=2.718573ms] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:36.388 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:36.388 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45] [2025/04/04 12:45:36.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=45] ["take time"=9.264655ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.3 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.401 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=91] [job="ID:91, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:36.3 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.417 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=91] [2025/04/04 12:45:36.417 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=45] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time TIMESTAMP NOT NULL,\n\t\trepeats int default 1,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(64) NOT NULL,\n\t\tsample_sql TEXT NOT NULL,\n\t\tsql_digest varchar(64) NOT NULL,\n\t\tplan_digest varchar(64) NOT NULL,\n\t\ttidb_server varchar(512),\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(start_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2025/04/04 12:45:36.436 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.4 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:36.436 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.4 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS `mysql`.`tidb_timers` (\n\t\tID BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tNAMESPACE VARCHAR(256) NOT NULL,\n\t\tTIMER_KEY VARCHAR(256) NOT NULL,\n\t\tTIMER_DATA BLOB,\n\t\tTIMEZONE VARCHAR(64) NOT NULL,\n\t\tSCHED_POLICY_TYPE VARCHAR(32) NOT NULL,\n\t\tSCHED_POLICY_EXPR VARCHAR(256) NOT NULL,\n\t\tHOOK_CLASS VARCHAR(64) NOT NULL,\n\t\tWATERMARK TIMESTAMP DEFAULT NULL,\n\t\tENABLE TINYINT(2) NOT NULL,\n\t\tTIMER_EXT JSON NOT NULL,\n\t\tEVENT_STATUS VARCHAR(32) NOT NULL,\n\t\tEVENT_ID VARCHAR(64) NOT NULL,\n\t\tEVENT_DATA BLOB,\n\t\tEVENT_START TIMESTAMP DEFAULT NULL,\n\t\tSUMMARY_DATA BLOB,\n\t\tCREATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\tUPDATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tVERSION BIGINT(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (ID),\n\t\tUNIQUE KEY timer_key(NAMESPACE, TIMER_KEY),\n\t\tKEY hook_class(HOOK_CLASS)\n\t)"] [2025/04/04 12:45:36.443 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=93] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:36.4 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.480 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=45] [neededSchemaVersion=46] ["elapsed time"=4.009274ms] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:36.483 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:36.484 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46] [2025/04/04 12:45:36.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=46] ["take time"=11.298343ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.4 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.499 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=93] [job="ID:93, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:36.4 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.518 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=93] [2025/04/04 12:45:36.518 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=46] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS `mysql`.`tidb_timers` (\n\t\tID BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tNAMESPACE VARCHAR(256) NOT NULL,\n\t\tTIMER_KEY VARCHAR(256) NOT NULL,\n\t\tTIMER_DATA BLOB,\n\t\tTIMEZONE VARCHAR(64) NOT NULL,\n\t\tSCHED_POLICY_TYPE VARCHAR(32) NOT NULL,\n\t\tSCHED_POLICY_EXPR VARCHAR(256) NOT NULL,\n\t\tHOOK_CLASS VARCHAR(64) NOT NULL,\n\t\tWATERMARK TIMESTAMP DEFAULT NULL,\n\t\tENABLE TINYINT(2) NOT NULL,\n\t\tTIMER_EXT JSON NOT NULL,\n\t\tEVENT_STATUS VARCHAR(32) NOT NULL,\n\t\tEVENT_ID VARCHAR(64) NOT NULL,\n\t\tEVENT_DATA BLOB,\n\t\tEVENT_START TIMESTAMP DEFAULT NULL,\n\t\tSUMMARY_DATA BLOB,\n\t\tCREATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\tUPDATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tVERSION BIGINT(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (ID),\n\t\tUNIQUE KEY timer_key(NAMESPACE, TIMER_KEY),\n\t\tKEY hook_class(HOOK_CLASS)\n\t)"] [user=] [2025/04/04 12:45:36.534 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.501 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:36.534 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.501 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch_done (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\trecord_id BIGINT(20) not null,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2025/04/04 12:45:36.540 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=95] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:36.501 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.564 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=46] [neededSchemaVersion=47] ["elapsed time"=2.794801ms] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:36.567 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:36.568 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47] [2025/04/04 12:45:36.569 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=47] ["take time"=9.95534ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.501 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.581 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=95] [job="ID:95, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:36.501 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.596 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=95] [2025/04/04 12:45:36.596 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=47] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch_done (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\trecord_id BIGINT(20) not null,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2025/04/04 12:45:36.609 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.6 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:36.609 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.6 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.dist_framework_meta (\n host VARCHAR(261) NOT NULL PRIMARY KEY,\n role VARCHAR(64),\n cpu_count int default 0,\n keyspace_id bigint(8) NOT NULL DEFAULT -1\n );"] [2025/04/04 12:45:36.614 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=97] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:36.6 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.633 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=47] [neededSchemaVersion=48] ["elapsed time"=1.993669ms] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:36.636 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:36.636 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48] [2025/04/04 12:45:36.638 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=48] ["take time"=8.75259ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.6 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.648 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=97] [job="ID:97, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:36.6 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.660 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=97] [2025/04/04 12:45:36.661 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=48] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.dist_framework_meta (\n host VARCHAR(261) NOT NULL PRIMARY KEY,\n role VARCHAR(64),\n cpu_count int default 0,\n keyspace_id bigint(8) NOT NULL DEFAULT -1\n );"] [user=] [2025/04/04 12:45:36.674 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.65 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:36.674 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.65 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.request_unit_by_group (\n\t\tstart_time TIMESTAMP(6) NOT NULL,\n\t\tend_time TIMESTAMP(6) NOT NULL,\n\t\tresource_group VARCHAR(32) NOT null,\n\t\ttotal_ru bigint(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (start_time, end_time, resource_group),\n\t\tKEY (resource_group)\n\t);"] [2025/04/04 12:45:36.682 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=99] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:36.65 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.702 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=48] [neededSchemaVersion=49] ["elapsed time"=2.139255ms] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:36.706 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:36.706 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49] [2025/04/04 12:45:36.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=49] ["take time"=8.855912ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.65 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.718 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=99] [job="ID:99, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:36.65 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.731 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=99] [2025/04/04 12:45:36.731 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=49] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.request_unit_by_group (\n\t\tstart_time TIMESTAMP(6) NOT NULL,\n\t\tend_time TIMESTAMP(6) NOT NULL,\n\t\tresource_group VARCHAR(32) NOT null,\n\t\ttotal_ru bigint(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (start_time, end_time, resource_group),\n\t\tKEY (resource_group)\n\t);"] [user=] [2025/04/04 12:45:36.732 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(524288) to MEDIUMBLOB"] [category=ddl] [2025/04/04 12:45:36.745 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.7 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:36.745 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.7 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_pitr_id_map (\n\t\trestored_ts BIGINT NOT NULL,\n\t\tupstream_cluster_id BIGINT NOT NULL,\n\t\tsegment_id BIGINT NOT NULL,\n\t\tid_map BLOB(524288) NOT NULL,\n\t\tupdate_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (restored_ts, upstream_cluster_id, segment_id));"] [2025/04/04 12:45:36.750 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=101] [job="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:36.7 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.769 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=49] [neededSchemaVersion=50] ["elapsed time"=2.170992ms] [gotSchemaVersion=50] [phyTblIDs="[100]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:36.773 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:36.773 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50] [2025/04/04 12:45:36.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=50] ["take time"=8.989167ms] [job="ID:101, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:100, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.7 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.785 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=101] [job="ID:101, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:100, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:36.7 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.798 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=101] [2025/04/04 12:45:36.798 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=50] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_pitr_id_map (\n\t\trestored_ts BIGINT NOT NULL,\n\t\tupstream_cluster_id BIGINT NOT NULL,\n\t\tsegment_id BIGINT NOT NULL,\n\t\tid_map BLOB(524288) NOT NULL,\n\t\tupdate_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (restored_ts, upstream_cluster_id, segment_id));"] [user=] [2025/04/04 12:45:36.809 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:103, Type:create schema, State:queueing, SchemaState:none, SchemaID:102, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.8 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:36.809 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:103, Type:create schema, State:queueing, SchemaState:none, SchemaID:102, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.8 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE IF NOT EXISTS sys;"] [2025/04/04 12:45:36.814 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=103] [job="ID:103, Type:create schema, State:queueing, SchemaState:none, SchemaID:102, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:36.8 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.827 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=50] [neededSchemaVersion=51] ["elapsed time"=635.771µs] [gotSchemaVersion=51] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 12:45:36.830 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:36.830 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51] [2025/04/04 12:45:36.832 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=51] ["take time"=7.297727ms] [job="ID:103, Type:create schema, State:done, SchemaState:public, SchemaID:102, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.8 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.841 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=103] [job="ID:103, Type:create schema, State:synced, SchemaState:public, SchemaID:102, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:36.8 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.851 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=103] [2025/04/04 12:45:36.851 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=51] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS sys;"] [user=] [2025/04/04 12:45:36.865 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:105, Type:create view, State:queueing, SchemaState:none, SchemaID:102, TableID:104, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:36.865 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:105, Type:create view, State:queueing, SchemaState:none, SchemaID:102, TableID:104, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE OR REPLACE VIEW sys.schema_unused_indexes AS\n\t\tSELECT\n\t\t\ttable_schema as object_schema,\n\t\t\ttable_name as object_name,\n\t\t\tindex_name\n\t\tFROM information_schema.cluster_tidb_index_usage\n\t\tWHERE\n\t\t\ttable_schema not in ('sys', 'mysql', 'INFORMATION_SCHEMA', 'PERFORMANCE_SCHEMA') and\n\t\t\tindex_name != 'PRIMARY'\n\t\tGROUP BY table_schema, table_name, index_name\n\t\tHAVING\n\t\t\tsum(last_access_time) is null;"] [2025/04/04 12:45:36.870 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=105] [job="ID:105, Type:create view, State:queueing, SchemaState:none, SchemaID:102, TableID:104, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:36.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.888 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=51] [neededSchemaVersion=52] ["elapsed time"=1.767595ms] [gotSchemaVersion=52] [phyTblIDs="[104]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2025/04/04 12:45:36.892 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:36.892 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=105] [version=52] [2025/04/04 12:45:36.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=52] ["take time"=8.577467ms] [job="ID:105, Type:create view, State:done, SchemaState:public, SchemaID:102, TableID:104, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.904 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=105] [job="ID:105, Type:create view, State:synced, SchemaState:public, SchemaID:102, TableID:104, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:36.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.916 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=105] [2025/04/04 12:45:36.925 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/04 12:45:36.925 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 12:45:36.925 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 12:45:36.925 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:45:36.933 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:106, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:36.933 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:106, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.index_advisor_results (\n id bigint primary key not null auto_increment,\n created_at datetime not null,\n updated_at datetime not null,\n\n schema_name varchar(64) not null,\n table_name varchar(64) not null,\n index_name varchar(127) not null,\n index_columns varchar(500) not null COMMENT 'split by \",\", e.g. \"c1\", \"c1,c2\", \"c1,c2,c3,c4,c5\"',\n\n index_details json, -- est_index_size, reason, DDL to create this index, ...\n top_impacted_queries json, -- improvement, plan before and after this index, ...\n workload_impact json, -- improvement and more details, ...\n extra json, -- for the cloud env to save more info like RU, cost_saving, ...\n index idx_create(created_at),\n index idx_update(updated_at),\n unique index idx(schema_name, table_name, index_columns));"] [2025/04/04 12:45:36.939 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=107] [job="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:106, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:36.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.965 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=52] [neededSchemaVersion=53] ["elapsed time"=3.084148ms] [gotSchemaVersion=53] [phyTblIDs="[106]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:36.969 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:36.969 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=107] [version=53] [2025/04/04 12:45:36.970 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=53] ["take time"=10.177141ms] [job="ID:107, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:106, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.983 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=107] [job="ID:107, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:106, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:36.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.999 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=107] [2025/04/04 12:45:37.000 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=53] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.index_advisor_results (\n id bigint primary key not null auto_increment,\n created_at datetime not null,\n updated_at datetime not null,\n\n schema_name varchar(64) not null,\n table_name varchar(64) not null,\n index_name varchar(127) not null,\n index_columns varchar(500) not null COMMENT 'split by \",\", e.g. \"c1\", \"c1,c2\", \"c1,c2,c3,c4,c5\"',\n\n index_details json, -- est_index_size, reason, DDL to create this index, ...\n top_impacted_queries json, -- improvement, plan before and after this index, ...\n workload_impact json, -- improvement and more details, ...\n extra json, -- for the cloud env to save more info like RU, cost_saving, ...\n index idx_create(created_at),\n index idx_update(updated_at),\n unique index idx(schema_name, table_name, index_columns));"] [user=] [2025/04/04 12:45:37.014 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:108, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:37 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:37.014 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:108, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:37 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_kernel_options (\n module varchar(128),\n name varchar(128),\n value varchar(128),\n updated_at datetime,\n status varchar(128),\n description text,\n primary key(module, name));"] [2025/04/04 12:45:37.020 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=109] [job="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:108, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:37 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:37.040 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=53] [neededSchemaVersion=54] ["elapsed time"=2.161125ms] [gotSchemaVersion=54] [phyTblIDs="[108]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:37.043 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:37.043 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=109] [version=54] [2025/04/04 12:45:37.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=54] ["take time"=9.081347ms] [job="ID:109, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:108, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:37 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:37.056 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=109] [job="ID:109, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:108, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:37 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:37.069 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=109] [2025/04/04 12:45:37.069 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=54] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_kernel_options (\n module varchar(128),\n name varchar(128),\n value varchar(128),\n updated_at datetime,\n status varchar(128),\n description text,\n primary key(module, name));"] [user=] [2025/04/04 12:45:37.083 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:111, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:110, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:37.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:37.083 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:111, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:110, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:37.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_workload_values (\n\t\tid bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tversion bigint(20) NOT NULL,\n\t\tcategory varchar(64) NOT NULL,\n\t\ttype varchar(64) NOT NULL,\n\t\ttable_id bigint(20) NOT NULL,\n\t\tvalue json NOT NULL,\n\t\tindex idx_version_category_type (version, category, type),\n\t\tindex idx_table_id (table_id));"] [2025/04/04 12:45:37.088 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=111] [job="ID:111, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:110, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:37.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:37.109 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=54] [neededSchemaVersion=55] ["elapsed time"=2.399929ms] [gotSchemaVersion=55] [phyTblIDs="[110]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:37.112 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:37.112 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=111] [version=55] [2025/04/04 12:45:37.114 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=55] ["take time"=9.142966ms] [job="ID:111, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:110, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:37.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:37.125 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=111] [job="ID:111, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:110, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:37.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:37.139 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=111] [2025/04/04 12:45:37.139 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=55] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_workload_values (\n\t\tid bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tversion bigint(20) NOT NULL,\n\t\tcategory varchar(64) NOT NULL,\n\t\ttype varchar(64) NOT NULL,\n\t\ttable_id bigint(20) NOT NULL,\n\t\tvalue json NOT NULL,\n\t\tindex idx_version_category_type (version, category, type),\n\t\tindex idx_table_id (table_id));"] [user=] [2025/04/04 12:45:37.286 +00:00] [INFO] [bootstrap.go:823] ["bootstrap successful"] ["take time"=4.365557487s] [2025/04/04 12:45:37.289 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 12:45:37.289 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 12:45:37.289 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=14d40c25-a288-4df0-90dc-7b313ebf5a02] [] [2025/04/04 12:45:37.289 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=14d40c25-a288-4df0-90dc-7b313ebf5a02] [2025/04/04 12:45:37.289 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:45:37.289 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:45:37.289 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 6, tp general"] ["take time"=44.267µs] [2025/04/04 12:45:37.289 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 7, tp general"] ["take time"=35.132µs] [2025/04/04 12:45:37.289 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 8, tp general"] ["take time"=38.425µs] [2025/04/04 12:45:37.289 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 9, tp general"] ["take time"=28.731µs] [2025/04/04 12:45:37.289 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 10, tp general"] ["take time"=36.334µs] [2025/04/04 12:45:37.290 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 1, tp general"] ["take time"=26.588µs] [2025/04/04 12:45:37.290 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 2, tp general"] ["take time"=27.394µs] [2025/04/04 12:45:37.290 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 3, tp general"] ["take time"=30.989µs] [2025/04/04 12:45:37.290 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 4, tp general"] ["take time"=29.014µs] [2025/04/04 12:45:37.290 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 5, tp general"] ["take time"=53.322µs] [2025/04/04 12:45:37.290 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=14d40c25-a288-4df0-90dc-7b313ebf5a02] [2025/04/04 12:45:37.290 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=14d40c25-a288-4df0-90dc-7b313ebf5a02] [2025/04/04 12:45:37.291 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 12:45:37.291 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 12:45:37.300 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=14d40c25-a288-4df0-90dc-7b313ebf5a02] ["take time"=11.748734ms] [2025/04/04 12:45:37.300 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=14d40c25-a288-4df0-90dc-7b313ebf5a02] [2025/04/04 12:45:37.301 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=688] [2025/04/04 12:45:37.301 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 12:45:37.301 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 12:45:37.301 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:45:37.301 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 12:45:37.301 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 12:45:37.301 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 12:45:37.302 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:45:37.302 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 12:45:37.302 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:45:37.302 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:45:37.302 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 12:45:37.302 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=0a234945-3c1e-423b-970e-c932cb462a4f] [] [2025/04/04 12:45:37.302 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=0a234945-3c1e-423b-970e-c932cb462a4f] [2025/04/04 12:45:37.302 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:45:37.302 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=0a234945-3c1e-423b-970e-c932cb462a4f] [2025/04/04 12:45:37.302 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=0a234945-3c1e-423b-970e-c932cb462a4f] [2025/04/04 12:45:37.303 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=0a234945-3c1e-423b-970e-c932cb462a4f] [daemon-id=LogBackup::Advancer] [2025/04/04 12:45:37.303 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 12:45:37.303 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 12:45:37.303 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 12:45:37.303 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:45:37.303 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:45:37.303 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 12:45:37.303 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:45:37.307 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=18.909558ms] [2025/04/04 12:45:37.308 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489437820018004919] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 12:45:37.322 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 12:45:37.360 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1700] ["lease id"=3eaa9600d42f94d8] [2025/04/04 12:45:37.362 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/04 12:45:37.479 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=55] ["elapsed time"=114.235688ms] [2025/04/04 12:45:37.480 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 12:45:37.488 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=14d40c25-a288-4df0-90dc-7b313ebf5a02] [runWorker=true] [jobVersion=v2] [2025/04/04 12:45:37.488 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 12:45:37.490 +00:00] [INFO] [manager.go:294] ["start campaign owner with existing session"] [key=/tidb/ddl/fg/owner] [id=14d40c25-a288-4df0-90dc-7b313ebf5a02] [lease=22319600d42f93ed] [2025/04/04 12:45:37.490 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 12:45:37.490 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 261544574976/466850480128, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 12:45:37.491 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:45:37.491 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:45:37.491 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:45:37.491 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:45:37.491 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:45:37.491 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:45:37.491 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:45:37.491 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:45:37.491 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:45:37.491 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 12:45:37.491 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:45:37.491 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 12:45:37.491 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=63eac838-cf0f-45bc-9d02-2470cd502bdd] [2025/04/04 12:45:37.493 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319600d42f93ed] [ownerID=14d40c25-a288-4df0-90dc-7b313ebf5a02] [op=none] [2025/04/04 12:45:37.493 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=14d40c25-a288-4df0-90dc-7b313ebf5a02] [2025/04/04 12:45:37.493 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=14d40c25-a288-4df0-90dc-7b313ebf5a02] [ownerKey=/tidb/ddl/fg/owner/22319600d42f93ed] [currRev=275] [2025/04/04 12:45:37.493 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:45:37.493 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=63eac838-cf0f-45bc-9d02-2470cd502bdd] [daemon-id=LogBackup::Advancer] [2025/04/04 12:45:37.494 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/22319600d42f9462] [ownerID=63eac838-cf0f-45bc-9d02-2470cd502bdd] [op=none] [2025/04/04 12:45:37.494 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=63eac838-cf0f-45bc-9d02-2470cd502bdd] [2025/04/04 12:45:37.494 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=63eac838-cf0f-45bc-9d02-2470cd502bdd] [ownerKey=/tidb/br-stream/owner/22319600d42f9462] [currRev=275] [2025/04/04 12:45:37.494 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 12:45:37.495 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319600d42f93ed] [ownerID=14d40c25-a288-4df0-90dc-7b313ebf5a02] [op=none] [2025/04/04 12:45:37.495 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=14d40c25-a288-4df0-90dc-7b313ebf5a02] [op=none] [2025/04/04 12:45:37.495 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 12:45:37.501 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=14d40c25-a288-4df0-90dc-7b313ebf5a02] [2025/04/04 12:45:37.502 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:45:37.502 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 12:45:37.504 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/bindinfo/owner] ["owner key"=/tidb/bindinfo/owner/3eaa9600d42f94e1] [ownerID=14d40c25-a288-4df0-90dc-7b313ebf5a02] [op=none] [2025/04/04 12:45:37.504 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/bindinfo/owner] [id=14d40c25-a288-4df0-90dc-7b313ebf5a02] [2025/04/04 12:45:37.504 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/bindinfo/owner] [id=14d40c25-a288-4df0-90dc-7b313ebf5a02] [ownerKey=/tidb/bindinfo/owner/3eaa9600d42f94e1] [currRev=276] [2025/04/04 12:45:37.510 +00:00] [INFO] [sysvar.go:3019] ["set resource control"] [enable=true] [2025/04/04 12:45:37.513 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 12:45:37.513 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:45:37.519 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:45:37.526 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:45:37.526 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:45:37.526 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:45:37.526 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 12:45:37.526 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:45:37.526 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 12:45:37.526 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 12:45:37.526 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 12:45:37.526 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 12:45:37.527 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:45:37.527 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=14d40c25-a288-4df0-90dc-7b313ebf5a02] [2025/04/04 12:45:37.528 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:45:37.528 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:45:37.528 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:45:37.528 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:45:37.528 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:45:37.528 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:45:37.528 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 12:45:37.528 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:45:37.528 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 12:45:37.529 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:45:37.529 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=10] [2025/04/04 12:45:37.529 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:45:37.529 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:45:37.529 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:45:37.529 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:45:37.531 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/22319600d42f9468] [ownerID=14d40c25-a288-4df0-90dc-7b313ebf5a02] [op=none] [2025/04/04 12:45:37.531 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=14d40c25-a288-4df0-90dc-7b313ebf5a02] [2025/04/04 12:45:37.531 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=14d40c25-a288-4df0-90dc-7b313ebf5a02] [ownerKey=/tidb/stats/owner/22319600d42f9468] [currRev=277] [2025/04/04 12:45:37.531 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=72] [total-mem=32GiB] [total-disk=434.8GiB] [2025/04/04 12:45:37.533 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/df67d22f-516e-44dc-9275-7bdbbea3c114] [2025/04/04 12:45:37.534 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=14d40c25-a288-4df0-90dc-7b313ebf5a02] [ttl-worker=task-manager] [ttl-worker=14d40c25-a288-4df0-90dc-7b313ebf5a02] [originalCount=0] [newCount=4] [2025/04/04 12:45:37.534 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=14d40c25-a288-4df0-90dc-7b313ebf5a02] [ttl-worker=task-manager] [ttl-worker=14d40c25-a288-4df0-90dc-7b313ebf5a02] [originalCount=0] [newCount=4] [2025/04/04 12:45:37.534 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=14d40c25-a288-4df0-90dc-7b313ebf5a02] [2025/04/04 12:45:37.535 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 12:45:37.542 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:45:37.542 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 12:45:37.542 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743770737542853693 [2025/04/04 12:45:37.543 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 12:45:37.551 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=23.929887ms] [2025/04/04 12:45:37.551 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 12:45:37.551 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:45:37.561 +00:00] [INFO] [set.go:172] ["set global var"] [conn=1] [name=innodb_lock_wait_timeout] [val=50] testkit.go:123: RefreshSession rand seed: 1743770737563513872 [2025/04/04 12:45:37.575 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=55] [cur_db=test] [sql="drop table if exists t"] [user=] [2025/04/04 12:45:37.588 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:113, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:37.55 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:37.588 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:113, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:37.55 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t(a int, index i(a))"] [2025/04/04 12:45:37.593 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=113] [conn=2] [job="ID:113, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:37.55 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:37.598 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 112, Table Name: t)"] [2025/04/04 12:45:37.615 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=55] [neededSchemaVersion=56] ["elapsed time"=1.408202ms] [gotSchemaVersion=56] [phyTblIDs="[112]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:37.618 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=113] [version=56] [2025/04/04 12:45:37.620 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=56] ["take time"=8.392746ms] [job="ID:113, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:37.55 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:37.630 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=113] [conn=2] [job="ID:113, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:37.55 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:37.644 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=113] [2025/04/04 12:45:37.645 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=56] [cur_db=test] [sql="create table t(a int, index i(a))"] [user=] [2025/04/04 12:45:38.504 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/04 12:45:38.504 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 12:45:38.504 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 12:45:38.504 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:45:38.534 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/04 12:45:38.534 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/04 12:45:38.535 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/df67d22f-516e-44dc-9275-7bdbbea3c114] [watcherID=5684f7cb-2a7e-4ab1-a62b-ba38677a9d6c] [2025/04/04 12:45:38.542 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/04 12:45:38.547 +00:00] [INFO] [slots.go:207] ["update slot capacity"] [old=16] [new=72] [2025/04/04 12:45:38.547 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/04 12:45:38.547 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/04 12:45:38.547 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/04 12:45:38.547 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/04 12:45:38.655 +00:00] [INFO] [executor.go:1408] ["get flashback cluster job"] [category=ddl] [flashbackTS="2025-04-04 12:45:38.65 +0000 UTC"] [2025/04/04 12:45:38.666 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:114, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:38.65 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:38.666 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:114, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:38.65 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="flashback cluster to timestamp '2025-04-04 12:45:38.650000'"] [2025/04/04 12:45:38.671 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=114] [conn=2] [job="ID:114, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:38.65 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:38.676 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=114] [2025/04/04 12:45:38.683 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=114] [conn=2] [job="ID:114, Type:flashback cluster, State:running, SchemaState:delete only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:38.65 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:38.748 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=500ms] [requiredStaleness=50ms] [prevState=normal] [newState=adapting] [2025/04/04 12:45:38.854 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=56] [neededSchemaVersion=57] ["elapsed time"=154.333µs] [gotSchemaVersion=57] [phyTblIDs="[-1]"] [actionTypes="[62]"] [diffTypes="[\"flashback cluster\"]"] [2025/04/04 12:45:38.858 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=114] [version=57] [2025/04/04 12:45:38.860 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=57] ["take time"=7.727685ms] [job="ID:114, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:38.65 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:38.869 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=114] [conn=2] [job="ID:114, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:38.65 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:38.870 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=10] ["first split key"=6d44423a3200000000fb0000000000000068] [2025/04/04 12:45:38.872 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=10] ["first at"=6d44423a3200000000fb0000000000000068] ["first new region left"="{Id:28 StartKey: EndKey:6d44423a32000000ff00fb000000000000ff0068000000000000f9 RegionEpoch:{ConfVer:5 Version:7} Peers:[id:29 store_id:1 id:30 store_id:3 id:31 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/04 12:45:38.872 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[28,32]"] [2025/04/04 12:45:38.872 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=10] ["first split key"=6d4442730000000000fa0000000000000068] [2025/04/04 12:45:38.879 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=10] ["first at"=6d4442730000000000fa0000000000000068] ["first new region left"="{Id:36 StartKey:6d44423a33000000ff00fb000000000000ff0068000000000000f9 EndKey:6d44427300000000ff00fa000000000000ff0068000000000000f9 RegionEpoch:{ConfVer:5 Version:9} Peers:[id:37 store_id:1 id:38 store_id:3 id:39 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/04 12:45:38.879 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[36,40]"] [2025/04/04 12:45:38.879 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=748000000000000000] [2025/04/04 12:45:38.881 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=748000000000000000] ["first new region left"="{Id:44 StartKey:7200000100000000fb EndKey:7480000000000000ff0000000000000000f8 RegionEpoch:{ConfVer:5 Version:7} Peers:[id:45 store_id:1 id:46 store_id:3 id:47 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/04 12:45:38.881 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[44,48]"] [2025/04/04 12:45:38.881 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=748000000000000005] [2025/04/04 12:45:38.886 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=748000000000000005] ["first new region left"="{Id:52 StartKey:7480000000000000ff0400000000000000f8 EndKey:7480000000000000ff0500000000000000f8 RegionEpoch:{ConfVer:5 Version:9} Peers:[id:53 store_id:1 id:54 store_id:3 id:55 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/04 12:45:38.886 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[52,56]"] [2025/04/04 12:45:38.886 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=748000000000000007] [2025/04/04 12:45:38.891 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=748000000000000007] ["first new region left"="{Id:60 StartKey:7480000000000000ff0600000000000000f8 EndKey:7480000000000000ff0700000000000000f8 RegionEpoch:{ConfVer:5 Version:11} Peers:[id:61 store_id:1 id:62 store_id:3 id:63 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/04 12:45:38.891 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[60,64]"] [2025/04/04 12:45:38.891 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=748000000000000009] [2025/04/04 12:45:38.896 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=748000000000000009] ["first new region left"="{Id:68 StartKey:7480000000000000ff0800000000000000f8 EndKey:7480000000000000ff0900000000000000f8 RegionEpoch:{ConfVer:5 Version:13} Peers:[id:69 store_id:1 id:70 store_id:3 id:71 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/04 12:45:38.896 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[68,72]"] [2025/04/04 12:45:38.896 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=74800000000000000b] [2025/04/04 12:45:38.901 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=74800000000000000b] ["first new region left"="{Id:76 StartKey:7480000000000000ff0a00000000000000f8 EndKey:7480000000000000ff0b00000000000000f8 RegionEpoch:{ConfVer:5 Version:15} Peers:[id:77 store_id:1 id:78 store_id:3 id:79 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/04 12:45:38.901 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[76,80]"] [2025/04/04 12:45:38.901 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=74800000000000000d] [2025/04/04 12:45:38.906 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=74800000000000000d] ["first new region left"="{Id:84 StartKey:7480000000000000ff0c00000000000000f8 EndKey:7480000000000000ff0d00000000000000f8 RegionEpoch:{ConfVer:5 Version:17} Peers:[id:85 store_id:1 id:86 store_id:3 id:87 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/04 12:45:38.906 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[84,88]"] [2025/04/04 12:45:38.906 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=74800000000000000f] [2025/04/04 12:45:38.911 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=74800000000000000f] ["first new region left"="{Id:92 StartKey:7480000000000000ff0e00000000000000f8 EndKey:7480000000000000ff0f00000000000000f8 RegionEpoch:{ConfVer:5 Version:19} Peers:[id:93 store_id:1 id:94 store_id:3 id:95 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/04 12:45:38.911 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[92,96]"] [2025/04/04 12:45:38.911 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=748000000000000011] [2025/04/04 12:45:38.916 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=748000000000000011] ["first new region left"="{Id:100 StartKey:7480000000000000ff1000000000000000f8 EndKey:7480000000000000ff1100000000000000f8 RegionEpoch:{ConfVer:5 Version:21} Peers:[id:101 store_id:1 id:102 store_id:3 id:103 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/04 12:45:38.916 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[100,104]"] [2025/04/04 12:45:38.916 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=748000000000000013] [2025/04/04 12:45:38.921 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=748000000000000013] ["first new region left"="{Id:108 StartKey:7480000000000000ff1200000000000000f8 EndKey:7480000000000000ff1300000000000000f8 RegionEpoch:{ConfVer:5 Version:23} Peers:[id:109 store_id:1 id:110 store_id:3 id:111 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/04 12:45:38.921 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[108,112]"] [2025/04/04 12:45:38.921 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=748000000000000015] [2025/04/04 12:45:38.926 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=748000000000000015] ["first new region left"="{Id:116 StartKey:7480000000000000ff1400000000000000f8 EndKey:7480000000000000ff1500000000000000f8 RegionEpoch:{ConfVer:5 Version:25} Peers:[id:117 store_id:1 id:118 store_id:3 id:119 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/04 12:45:38.926 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[116,120]"] [2025/04/04 12:45:38.926 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=74800000000000001f] [2025/04/04 12:45:38.931 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=74800000000000001f] ["first new region left"="{Id:124 StartKey:7480000000000000ff1e00000000000000f8 EndKey:7480000000000000ff1f00000000000000f8 RegionEpoch:{ConfVer:5 Version:27} Peers:[id:125 store_id:1 id:126 store_id:3 id:127 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/04 12:45:38.931 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[124,128]"] [2025/04/04 12:45:38.931 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=748000000000000023] [2025/04/04 12:45:38.936 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=748000000000000023] ["first new region left"="{Id:132 StartKey:7480000000000000ff2200000000000000f8 EndKey:7480000000000000ff2300000000000000f8 RegionEpoch:{ConfVer:5 Version:29} Peers:[id:133 store_id:1 id:134 store_id:3 id:135 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/04 12:45:38.936 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[132,136]"] [2025/04/04 12:45:38.936 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=748000000000000025] [2025/04/04 12:45:38.941 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=748000000000000025] ["first new region left"="{Id:140 StartKey:7480000000000000ff2400000000000000f8 EndKey:7480000000000000ff2500000000000000f8 RegionEpoch:{ConfVer:5 Version:31} Peers:[id:141 store_id:1 id:142 store_id:3 id:143 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/04 12:45:38.941 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[140,144]"] [2025/04/04 12:45:38.942 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=748000000000000027] [2025/04/04 12:45:38.947 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=748000000000000027] ["first new region left"="{Id:148 StartKey:7480000000000000ff2600000000000000f8 EndKey:7480000000000000ff2700000000000000f8 RegionEpoch:{ConfVer:5 Version:33} Peers:[id:149 store_id:1 id:150 store_id:3 id:151 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/04 12:45:38.947 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[148,152]"] [2025/04/04 12:45:38.947 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=74800000000000002b] [2025/04/04 12:45:38.952 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=74800000000000002b] ["first new region left"="{Id:156 StartKey:7480000000000000ff2a00000000000000f8 EndKey:7480000000000000ff2b00000000000000f8 RegionEpoch:{ConfVer:5 Version:35} Peers:[id:157 store_id:1 id:158 store_id:3 id:159 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/04 12:45:38.952 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[156,160]"] [2025/04/04 12:45:38.952 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=74800000000000002d] [2025/04/04 12:45:38.957 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=74800000000000002d] ["first new region left"="{Id:164 StartKey:7480000000000000ff2c00000000000000f8 EndKey:7480000000000000ff2d00000000000000f8 RegionEpoch:{ConfVer:5 Version:37} Peers:[id:165 store_id:1 id:166 store_id:3 id:167 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/04 12:45:38.957 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[164,168]"] [2025/04/04 12:45:38.957 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=748000000000000033] [2025/04/04 12:45:38.963 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=748000000000000033] ["first new region left"="{Id:172 StartKey:7480000000000000ff3200000000000000f8 EndKey:7480000000000000ff3300000000000000f8 RegionEpoch:{ConfVer:5 Version:39} Peers:[id:173 store_id:1 id:174 store_id:3 id:175 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/04 12:45:38.963 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[172,176]"] [2025/04/04 12:45:38.963 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=748000000000000035] [2025/04/04 12:45:38.968 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=748000000000000035] ["first new region left"="{Id:180 StartKey:7480000000000000ff3400000000000000f8 EndKey:7480000000000000ff3500000000000000f8 RegionEpoch:{ConfVer:5 Version:41} Peers:[id:181 store_id:1 id:182 store_id:3 id:183 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/04 12:45:38.968 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[180,184]"] [2025/04/04 12:45:38.968 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=748000000000000037] [2025/04/04 12:45:38.973 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=748000000000000037] ["first new region left"="{Id:188 StartKey:7480000000000000ff3600000000000000f8 EndKey:7480000000000000ff3700000000000000f8 RegionEpoch:{ConfVer:5 Version:43} Peers:[id:189 store_id:1 id:190 store_id:3 id:191 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/04 12:45:38.973 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[188,192]"] [2025/04/04 12:45:38.973 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=748000000000000039] [2025/04/04 12:45:38.978 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=748000000000000039] ["first new region left"="{Id:196 StartKey:7480000000000000ff3800000000000000f8 EndKey:7480000000000000ff3900000000000000f8 RegionEpoch:{ConfVer:5 Version:45} Peers:[id:197 store_id:1 id:198 store_id:3 id:199 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/04 12:45:38.978 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[196,200]"] [2025/04/04 12:45:38.978 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=74800000000000003b] [2025/04/04 12:45:38.983 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=74800000000000003b] ["first new region left"="{Id:204 StartKey:7480000000000000ff3a00000000000000f8 EndKey:7480000000000000ff3b00000000000000f8 RegionEpoch:{ConfVer:5 Version:47} Peers:[id:205 store_id:1 id:206 store_id:3 id:207 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/04 12:45:38.983 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[204,208]"] [2025/04/04 12:45:38.983 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=748000000000000041] [2025/04/04 12:45:38.988 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=748000000000000041] ["first new region left"="{Id:212 StartKey:7480000000000000ff4000000000000000f8 EndKey:7480000000000000ff4100000000000000f8 RegionEpoch:{ConfVer:5 Version:49} Peers:[id:213 store_id:1 id:214 store_id:3 id:215 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/04 12:45:38.988 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[212,216]"] [2025/04/04 12:45:38.988 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=748000000000000043] [2025/04/04 12:45:38.993 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=748000000000000043] ["first new region left"="{Id:220 StartKey:7480000000000000ff4200000000000000f8 EndKey:7480000000000000ff4300000000000000f8 RegionEpoch:{ConfVer:5 Version:51} Peers:[id:221 store_id:1 id:222 store_id:3 id:223 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/04 12:45:38.993 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[220,224]"] [2025/04/04 12:45:38.993 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=748000000000000047] [2025/04/04 12:45:38.997 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=748000000000000047] ["first new region left"="{Id:228 StartKey:7480000000000000ff4600000000000000f8 EndKey:7480000000000000ff4700000000000000f8 RegionEpoch:{ConfVer:5 Version:53} Peers:[id:229 store_id:1 id:230 store_id:3 id:231 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/04 12:45:38.997 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[228,232]"] [2025/04/04 12:45:38.997 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=748000000000000049] [2025/04/04 12:45:39.002 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=748000000000000049] ["first new region left"="{Id:236 StartKey:7480000000000000ff4800000000000000f8 EndKey:7480000000000000ff4900000000000000f8 RegionEpoch:{ConfVer:5 Version:55} Peers:[id:237 store_id:1 id:238 store_id:3 id:239 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/04 12:45:39.002 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[236,240]"] [2025/04/04 12:45:39.002 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=74800000000000004d] [2025/04/04 12:45:39.007 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=74800000000000004d] ["first new region left"="{Id:244 StartKey:7480000000000000ff4c00000000000000f8 EndKey:7480000000000000ff4d00000000000000f8 RegionEpoch:{ConfVer:5 Version:57} Peers:[id:245 store_id:1 id:246 store_id:3 id:247 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/04 12:45:39.007 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[244,248]"] [2025/04/04 12:45:39.007 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=74800000000000004f] [2025/04/04 12:45:39.011 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=74800000000000004f] ["first new region left"="{Id:252 StartKey:7480000000000000ff4e00000000000000f8 EndKey:7480000000000000ff4f00000000000000f8 RegionEpoch:{ConfVer:5 Version:59} Peers:[id:253 store_id:1 id:254 store_id:3 id:255 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/04 12:45:39.011 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[252,256]"] [2025/04/04 12:45:39.011 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=748000000000000051] [2025/04/04 12:45:39.016 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=748000000000000051] ["first new region left"="{Id:260 StartKey:7480000000000000ff5000000000000000f8 EndKey:7480000000000000ff5100000000000000f8 RegionEpoch:{ConfVer:5 Version:61} Peers:[id:261 store_id:1 id:262 store_id:3 id:263 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/04 12:45:39.016 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[260,264]"] [2025/04/04 12:45:39.016 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=748000000000000053] [2025/04/04 12:45:39.021 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=748000000000000053] ["first new region left"="{Id:268 StartKey:7480000000000000ff5200000000000000f8 EndKey:7480000000000000ff5300000000000000f8 RegionEpoch:{ConfVer:5 Version:63} Peers:[id:269 store_id:1 id:270 store_id:3 id:271 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/04 12:45:39.022 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[268,272]"] [2025/04/04 12:45:39.022 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=748000000000000055] [2025/04/04 12:45:39.027 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=748000000000000055] ["first new region left"="{Id:276 StartKey:7480000000000000ff5400000000000000f8 EndKey:7480000000000000ff5500000000000000f8 RegionEpoch:{ConfVer:5 Version:65} Peers:[id:277 store_id:1 id:278 store_id:3 id:279 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/04 12:45:39.027 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[276,280]"] [2025/04/04 12:45:39.027 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=748000000000000057] [2025/04/04 12:45:39.032 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=748000000000000057] ["first new region left"="{Id:284 StartKey:7480000000000000ff5600000000000000f8 EndKey:7480000000000000ff5700000000000000f8 RegionEpoch:{ConfVer:5 Version:67} Peers:[id:285 store_id:1 id:286 store_id:3 id:287 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/04 12:45:39.032 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[284,288]"] [2025/04/04 12:45:39.032 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=748000000000000059] [2025/04/04 12:45:39.036 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=748000000000000059] ["first new region left"="{Id:292 StartKey:7480000000000000ff5800000000000000f8 EndKey:7480000000000000ff5900000000000000f8 RegionEpoch:{ConfVer:5 Version:69} Peers:[id:293 store_id:1 id:294 store_id:3 id:295 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/04 12:45:39.036 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[292,296]"] [2025/04/04 12:45:39.036 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=74800000000000005b] [2025/04/04 12:45:39.041 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=74800000000000005b] ["first new region left"="{Id:300 StartKey:7480000000000000ff5a00000000000000f8 EndKey:7480000000000000ff5b00000000000000f8 RegionEpoch:{ConfVer:5 Version:71} Peers:[id:301 store_id:1 id:302 store_id:3 id:303 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/04 12:45:39.041 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[300,304]"] [2025/04/04 12:45:39.041 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=74800000000000005d] [2025/04/04 12:45:39.046 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=74800000000000005d] ["first new region left"="{Id:308 StartKey:7480000000000000ff5c00000000000000f8 EndKey:7480000000000000ff5d00000000000000f8 RegionEpoch:{ConfVer:5 Version:73} Peers:[id:309 store_id:1 id:310 store_id:3 id:311 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/04 12:45:39.047 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[308,312]"] [2025/04/04 12:45:39.047 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=74800000000000005f] [2025/04/04 12:45:39.051 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=74800000000000005f] ["first new region left"="{Id:316 StartKey:7480000000000000ff5e00000000000000f8 EndKey:7480000000000000ff5f00000000000000f8 RegionEpoch:{ConfVer:5 Version:75} Peers:[id:317 store_id:1 id:318 store_id:3 id:319 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/04 12:45:39.051 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[316,320]"] [2025/04/04 12:45:39.051 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=748000000000000061] [2025/04/04 12:45:39.057 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=748000000000000061] ["first new region left"="{Id:324 StartKey:7480000000000000ff6000000000000000f8 EndKey:7480000000000000ff6100000000000000f8 RegionEpoch:{ConfVer:5 Version:77} Peers:[id:325 store_id:1 id:326 store_id:3 id:327 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/04 12:45:39.057 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[324,328]"] [2025/04/04 12:45:39.057 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=748000000000000063] [2025/04/04 12:45:39.062 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=748000000000000063] ["first new region left"="{Id:332 StartKey:7480000000000000ff6200000000000000f8 EndKey:7480000000000000ff6300000000000000f8 RegionEpoch:{ConfVer:5 Version:79} Peers:[id:333 store_id:1 id:334 store_id:3 id:335 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/04 12:45:39.062 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[332,336]"] [2025/04/04 12:45:39.062 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=748000000000000065] [2025/04/04 12:45:39.067 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=748000000000000065] ["first new region left"="{Id:340 StartKey:7480000000000000ff6400000000000000f8 EndKey:7480000000000000ff6500000000000000f8 RegionEpoch:{ConfVer:5 Version:81} Peers:[id:341 store_id:1 id:342 store_id:3 id:343 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/04 12:45:39.067 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[340,344]"] [2025/04/04 12:45:39.067 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=74800000000000006b] [2025/04/04 12:45:39.072 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=74800000000000006b] ["first new region left"="{Id:348 StartKey:7480000000000000ff6a00000000000000f8 EndKey:7480000000000000ff6b00000000000000f8 RegionEpoch:{ConfVer:5 Version:83} Peers:[id:349 store_id:1 id:350 store_id:3 id:351 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/04 12:45:39.072 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[348,352]"] [2025/04/04 12:45:39.072 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=74800000000000006d] [2025/04/04 12:45:39.077 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=74800000000000006d] ["first new region left"="{Id:356 StartKey:7480000000000000ff6c00000000000000f8 EndKey:7480000000000000ff6d00000000000000f8 RegionEpoch:{ConfVer:5 Version:85} Peers:[id:357 store_id:1 id:358 store_id:3 id:359 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/04 12:45:39.077 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[356,360]"] [2025/04/04 12:45:39.077 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=74800000000000006f] [2025/04/04 12:45:39.082 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=74800000000000006f] ["first new region left"="{Id:364 StartKey:7480000000000000ff6e00000000000000f8 EndKey:7480000000000000ff6f00000000000000f8 RegionEpoch:{ConfVer:5 Version:87} Peers:[id:365 store_id:1 id:366 store_id:3 id:367 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/04 12:45:39.082 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[364,368]"] [2025/04/04 12:45:39.082 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/04 12:45:39.086 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=32] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/04 12:45:39.087 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=4.430918ms] ["completed regions"=1] [2025/04/04 12:45:39.087 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/04 12:45:39.091 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=40] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/04 12:45:39.093 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=4.838448ms] ["completed regions"=1] [2025/04/04 12:45:39.093 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/04 12:45:39.096 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=48] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/04 12:45:39.097 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.374889ms] ["completed regions"=1] [2025/04/04 12:45:39.097 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/04 12:45:39.101 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=56] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/04 12:45:39.102 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=3.818786ms] ["completed regions"=1] [2025/04/04 12:45:39.102 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/04 12:45:39.105 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=64] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/04 12:45:39.106 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=3.708891ms] ["completed regions"=1] [2025/04/04 12:45:39.106 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/04 12:45:39.109 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=72] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/04 12:45:39.110 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=3.771273ms] ["completed regions"=1] [2025/04/04 12:45:39.110 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/04 12:45:39.113 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=80] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/04 12:45:39.114 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=3.764656ms] ["completed regions"=1] [2025/04/04 12:45:39.114 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/04 12:45:39.117 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=88] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/04 12:45:39.118 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=3.556079ms] ["completed regions"=1] [2025/04/04 12:45:39.118 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/04 12:45:39.121 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=96] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/04 12:45:39.122 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=3.488713ms] ["completed regions"=1] [2025/04/04 12:45:39.122 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/04 12:45:39.125 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=104] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/04 12:45:39.126 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=3.493732ms] ["completed regions"=1] [2025/04/04 12:45:39.126 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/04 12:45:39.129 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=112] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/04 12:45:39.130 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=3.381657ms] ["completed regions"=1] [2025/04/04 12:45:39.130 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/04 12:45:39.133 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=120] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/04 12:45:39.134 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=3.490343ms] ["completed regions"=1] [2025/04/04 12:45:39.134 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/04 12:45:39.136 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=128] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/04 12:45:39.137 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.31694ms] ["completed regions"=1] [2025/04/04 12:45:39.137 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/04 12:45:39.140 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=136] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/04 12:45:39.141 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.183346ms] ["completed regions"=1] [2025/04/04 12:45:39.141 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/04 12:45:39.144 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=144] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/04 12:45:39.145 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.152895ms] ["completed regions"=1] [2025/04/04 12:45:39.145 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/04 12:45:39.147 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=152] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/04 12:45:39.148 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.150876ms] ["completed regions"=1] [2025/04/04 12:45:39.148 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/04 12:45:39.151 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=160] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/04 12:45:39.152 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.026284ms] ["completed regions"=1] [2025/04/04 12:45:39.152 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/04 12:45:39.154 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=168] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/04 12:45:39.155 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=2.929609ms] ["completed regions"=1] [2025/04/04 12:45:39.155 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/04 12:45:39.157 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=176] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/04 12:45:39.158 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.108335ms] ["completed regions"=1] [2025/04/04 12:45:39.158 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/04 12:45:39.161 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=184] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/04 12:45:39.162 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=2.810204ms] ["completed regions"=1] [2025/04/04 12:45:39.162 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/04 12:45:39.164 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=192] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/04 12:45:39.165 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=2.751763ms] ["completed regions"=1] [2025/04/04 12:45:39.165 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/04 12:45:39.167 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=200] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/04 12:45:39.168 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=2.818472ms] ["completed regions"=1] [2025/04/04 12:45:39.168 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/04 12:45:39.170 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=208] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/04 12:45:39.171 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=2.658495ms] ["completed regions"=1] [2025/04/04 12:45:39.171 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/04 12:45:39.173 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=216] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/04 12:45:39.174 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=2.681395ms] ["completed regions"=1] [2025/04/04 12:45:39.174 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/04 12:45:39.176 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=224] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/04 12:45:39.177 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=2.621395ms] ["completed regions"=1] [2025/04/04 12:45:39.177 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/04 12:45:39.179 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=232] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/04 12:45:39.180 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=2.468566ms] ["completed regions"=1] [2025/04/04 12:45:39.180 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/04 12:45:39.182 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=240] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/04 12:45:39.183 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=2.562897ms] ["completed regions"=1] [2025/04/04 12:45:39.183 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/04 12:45:39.185 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=248] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/04 12:45:39.186 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.378583ms] ["completed regions"=1] [2025/04/04 12:45:39.186 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/04 12:45:39.188 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=256] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/04 12:45:39.189 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=2.224099ms] ["completed regions"=1] [2025/04/04 12:45:39.189 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/04 12:45:39.190 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=264] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/04 12:45:39.191 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.343294ms] ["completed regions"=1] [2025/04/04 12:45:39.191 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/04 12:45:39.193 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=272] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/04 12:45:39.194 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.196367ms] ["completed regions"=1] [2025/04/04 12:45:39.194 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/04 12:45:39.196 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=280] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/04 12:45:39.197 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.228274ms] ["completed regions"=1] [2025/04/04 12:45:39.197 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/04 12:45:39.198 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=288] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/04 12:45:39.199 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.32746ms] ["completed regions"=1] [2025/04/04 12:45:39.199 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/04 12:45:39.201 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=296] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/04 12:45:39.202 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.075081ms] ["completed regions"=1] [2025/04/04 12:45:39.202 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/04 12:45:39.203 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=304] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/04 12:45:39.204 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.031364ms] ["completed regions"=1] [2025/04/04 12:45:39.204 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/04 12:45:39.206 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=312] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/04 12:45:39.207 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.045905ms] ["completed regions"=1] [2025/04/04 12:45:39.207 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/04 12:45:39.208 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=320] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/04 12:45:39.209 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=1.963029ms] ["completed regions"=1] [2025/04/04 12:45:39.209 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/04 12:45:39.210 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=328] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/04 12:45:39.211 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=1.852792ms] ["completed regions"=1] [2025/04/04 12:45:39.211 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/04 12:45:39.213 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=336] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/04 12:45:39.213 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=1.769209ms] ["completed regions"=1] [2025/04/04 12:45:39.214 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/04 12:45:39.215 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=344] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/04 12:45:39.216 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=1.7516ms] ["completed regions"=1] [2025/04/04 12:45:39.216 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/04 12:45:39.217 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=352] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/04 12:45:39.218 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=1.789527ms] ["completed regions"=1] [2025/04/04 12:45:39.218 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/04 12:45:39.219 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=360] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/04 12:45:39.220 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=1.629224ms] ["completed regions"=1] [2025/04/04 12:45:39.220 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/04 12:45:39.221 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=368] [start_key=74800000000000006f] [end_key=748000fffffffffc17] [2025/04/04 12:45:39.222 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=1.872221ms] ["completed regions"=1] [2025/04/04 12:45:39.228 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=114] [2025/04/04 12:45:39.235 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=114] [conn=2] [job="ID:114, Type:flashback cluster, State:running, SchemaState:write reorganization, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:38.65 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:39.236 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/04 12:45:39.239 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=32] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/04 12:45:39.240 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=1] ["total regions"=43] [] [2025/04/04 12:45:39.240 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=4.49487ms] ["completed regions"=1] [2025/04/04 12:45:39.240 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/04 12:45:39.244 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=40] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/04 12:45:39.245 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=2] ["total regions"=43] [] [2025/04/04 12:45:39.246 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=4.639797ms] ["completed regions"=1] [2025/04/04 12:45:39.246 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/04 12:45:39.249 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=48] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/04 12:45:39.250 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=3] ["total regions"=43] [] [2025/04/04 12:45:39.250 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=3.97322ms] ["completed regions"=1] [2025/04/04 12:45:39.250 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/04 12:45:39.253 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=56] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/04 12:45:39.254 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=4] ["total regions"=43] [] [2025/04/04 12:45:39.254 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=3.75191ms] ["completed regions"=1] [2025/04/04 12:45:39.254 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/04 12:45:39.257 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=64] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/04 12:45:39.258 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=5] ["total regions"=43] [] [2025/04/04 12:45:39.258 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=3.78713ms] ["completed regions"=1] [2025/04/04 12:45:39.258 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/04 12:45:39.261 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=72] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/04 12:45:39.262 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=6] ["total regions"=43] [] [2025/04/04 12:45:39.262 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=3.706341ms] ["completed regions"=1] [2025/04/04 12:45:39.262 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/04 12:45:39.265 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=80] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/04 12:45:39.266 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=7] ["total regions"=43] [] [2025/04/04 12:45:39.266 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=3.757386ms] ["completed regions"=1] [2025/04/04 12:45:39.266 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/04 12:45:39.270 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=88] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/04 12:45:39.270 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=8] ["total regions"=43] [] [2025/04/04 12:45:39.271 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=3.68659ms] ["completed regions"=1] [2025/04/04 12:45:39.271 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/04 12:45:39.274 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=96] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/04 12:45:39.275 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=9] ["total regions"=43] [] [2025/04/04 12:45:39.275 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=3.673838ms] ["completed regions"=1] [2025/04/04 12:45:39.275 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/04 12:45:39.278 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=104] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/04 12:45:39.279 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=10] ["total regions"=43] [] [2025/04/04 12:45:39.279 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=3.635125ms] ["completed regions"=1] [2025/04/04 12:45:39.279 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/04 12:45:39.282 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=112] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/04 12:45:39.282 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=11] ["total regions"=43] [] [2025/04/04 12:45:39.282 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=3.481071ms] ["completed regions"=1] [2025/04/04 12:45:39.283 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/04 12:45:39.285 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=120] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/04 12:45:39.286 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=12] ["total regions"=43] [] [2025/04/04 12:45:39.286 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=3.278651ms] ["completed regions"=1] [2025/04/04 12:45:39.286 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/04 12:45:39.289 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=128] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/04 12:45:39.290 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=13] ["total regions"=43] [] [2025/04/04 12:45:39.290 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.254186ms] ["completed regions"=1] [2025/04/04 12:45:39.290 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/04 12:45:39.292 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=136] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/04 12:45:39.293 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=14] ["total regions"=43] [] [2025/04/04 12:45:39.293 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.315174ms] ["completed regions"=1] [2025/04/04 12:45:39.294 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/04 12:45:39.296 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=144] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/04 12:45:39.297 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=15] ["total regions"=43] [] [2025/04/04 12:45:39.297 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.263484ms] ["completed regions"=1] [2025/04/04 12:45:39.297 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/04 12:45:39.300 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=152] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/04 12:45:39.301 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=16] ["total regions"=43] [] [2025/04/04 12:45:39.301 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.301819ms] ["completed regions"=1] [2025/04/04 12:45:39.301 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/04 12:45:39.304 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=160] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/04 12:45:39.305 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=17] ["total regions"=43] [] [2025/04/04 12:45:39.305 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.229101ms] ["completed regions"=1] [2025/04/04 12:45:39.305 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/04 12:45:39.307 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=168] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/04 12:45:39.308 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=18] ["total regions"=43] [] [2025/04/04 12:45:39.308 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.004674ms] ["completed regions"=1] [2025/04/04 12:45:39.308 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/04 12:45:39.311 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=176] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/04 12:45:39.312 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=19] ["total regions"=43] [] [2025/04/04 12:45:39.312 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.342089ms] ["completed regions"=1] [2025/04/04 12:45:39.312 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/04 12:45:39.314 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=184] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/04 12:45:39.315 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=20] ["total regions"=43] [] [2025/04/04 12:45:39.315 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.091555ms] ["completed regions"=1] [2025/04/04 12:45:39.315 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/04 12:45:39.317 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=192] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/04 12:45:39.318 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=21] ["total regions"=43] [] [2025/04/04 12:45:39.318 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=2.87179ms] ["completed regions"=1] [2025/04/04 12:45:39.318 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/04 12:45:39.321 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=200] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/04 12:45:39.322 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=22] ["total regions"=43] [] [2025/04/04 12:45:39.322 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=2.854351ms] ["completed regions"=1] [2025/04/04 12:45:39.322 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/04 12:45:39.324 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=208] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/04 12:45:39.325 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=23] ["total regions"=43] [] [2025/04/04 12:45:39.325 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=2.750652ms] ["completed regions"=1] [2025/04/04 12:45:39.325 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/04 12:45:39.327 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=216] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/04 12:45:39.328 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=24] ["total regions"=43] [] [2025/04/04 12:45:39.328 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=2.789684ms] ["completed regions"=1] [2025/04/04 12:45:39.328 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/04 12:45:39.330 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=224] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/04 12:45:39.331 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=25] ["total regions"=43] [] [2025/04/04 12:45:39.331 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=2.677719ms] ["completed regions"=1] [2025/04/04 12:45:39.331 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/04 12:45:39.333 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=232] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/04 12:45:39.334 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=26] ["total regions"=43] [] [2025/04/04 12:45:39.334 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=2.61701ms] ["completed regions"=1] [2025/04/04 12:45:39.334 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/04 12:45:39.336 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=240] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/04 12:45:39.337 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=27] ["total regions"=43] [] [2025/04/04 12:45:39.337 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=2.459673ms] ["completed regions"=1] [2025/04/04 12:45:39.337 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/04 12:45:39.339 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=248] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/04 12:45:39.340 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=28] ["total regions"=43] [] [2025/04/04 12:45:39.340 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.432804ms] ["completed regions"=1] [2025/04/04 12:45:39.340 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/04 12:45:39.342 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=256] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/04 12:45:39.342 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=29] ["total regions"=43] [] [2025/04/04 12:45:39.342 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=2.353171ms] ["completed regions"=1] [2025/04/04 12:45:39.343 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/04 12:45:39.344 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=264] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/04 12:45:39.345 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=30] ["total regions"=43] [] [2025/04/04 12:45:39.345 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.356915ms] ["completed regions"=1] [2025/04/04 12:45:39.345 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/04 12:45:39.347 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=272] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/04 12:45:39.348 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=31] ["total regions"=43] [] [2025/04/04 12:45:39.348 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.615885ms] ["completed regions"=1] [2025/04/04 12:45:39.348 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/04 12:45:39.350 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=280] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/04 12:45:39.351 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=32] ["total regions"=43] [] [2025/04/04 12:45:39.351 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.320997ms] ["completed regions"=1] [2025/04/04 12:45:39.351 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/04 12:45:39.353 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=288] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/04 12:45:39.354 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=33] ["total regions"=43] [] [2025/04/04 12:45:39.354 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.505685ms] ["completed regions"=1] [2025/04/04 12:45:39.354 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/04 12:45:39.356 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=296] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/04 12:45:39.356 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=34] ["total regions"=43] [] [2025/04/04 12:45:39.356 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.182858ms] ["completed regions"=1] [2025/04/04 12:45:39.357 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/04 12:45:39.358 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=304] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/04 12:45:39.359 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=35] ["total regions"=43] [] [2025/04/04 12:45:39.359 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.15056ms] ["completed regions"=1] [2025/04/04 12:45:39.359 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/04 12:45:39.360 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=312] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/04 12:45:39.361 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=36] ["total regions"=43] [] [2025/04/04 12:45:39.362 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.197372ms] ["completed regions"=1] [2025/04/04 12:45:39.362 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/04 12:45:39.363 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=320] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/04 12:45:39.364 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=37] ["total regions"=43] [] [2025/04/04 12:45:39.364 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.074782ms] ["completed regions"=1] [2025/04/04 12:45:39.364 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/04 12:45:39.365 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=328] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/04 12:45:39.366 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=38] ["total regions"=43] [] [2025/04/04 12:45:39.366 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=1.865264ms] ["completed regions"=1] [2025/04/04 12:45:39.366 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/04 12:45:39.368 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=336] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/04 12:45:39.369 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=39] ["total regions"=43] [] [2025/04/04 12:45:39.369 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=1.893295ms] ["completed regions"=1] [2025/04/04 12:45:39.369 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/04 12:45:39.370 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=344] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/04 12:45:39.371 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=40] ["total regions"=43] [] [2025/04/04 12:45:39.371 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=1.712593ms] ["completed regions"=1] [2025/04/04 12:45:39.371 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/04 12:45:39.372 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=352] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/04 12:45:39.373 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=41] ["total regions"=43] [] [2025/04/04 12:45:39.373 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=1.85495ms] ["completed regions"=1] [2025/04/04 12:45:39.373 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/04 12:45:39.374 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=360] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/04 12:45:39.375 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=42] ["total regions"=43] [] [2025/04/04 12:45:39.375 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=1.648233ms] ["completed regions"=1] [2025/04/04 12:45:39.375 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/04 12:45:39.376 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=368] [start_key=74800000000000006f] [end_key=748000fffffffffc17] [2025/04/04 12:45:39.378 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=43] ["total regions"=43] [] [2025/04/04 12:45:39.378 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=2.954379ms] ["completed regions"=1] [2025/04/04 12:45:39.378 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: flashback cluster)"] [2025/04/04 12:45:39.393 +00:00] [ERROR] [domain.go:375] ["failed to load schema diff"] [error="Meets a schema diff with RegenerateSchemaMap flag"] [errorVerbose="Meets a schema diff with RegenerateSchemaMap flag\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).tryLoadSchemaDiffs\n\tpkg/domain/domain.go:652\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:358\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:375\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103"] [2025/04/04 12:45:39.491 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/04 12:45:39.531 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=57] [neededSchemaVersion=58] ["elapsed time"=137.924136ms] [2025/04/04 12:45:39.531 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 12:45:39.537 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=114] [version=58] [2025/04/04 12:45:39.539 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=58] ["take time"=147.806443ms] [job="ID:114, Type:flashback cluster, State:done, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:38.65 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:39.620 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=114] [conn=2] [job="ID:114, Type:flashback cluster, State:synced, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:38.65 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:39.636 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=114] [2025/04/04 12:45:39.637 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.982405807\n# Parse_time: 0.00009396\n# Compile_time: 0.000280569\n# Rewrite_time: 0.000003655\n# Optimize_time: 0.000073621\n# Wait_TS: 0.000450328\n# DB: test\n# Is_internal: false\n# Digest: af09c17df48245f34604ebcd1fb822f4f2360c5d282fb4cb3aeced6fc3c852fa\n# Mem_max: 8192\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nuse test;\nflashback cluster to timestamp '2025-04-04 12:45:38.650000';"] [2025/04/04 12:45:39.640 +00:00] [INFO] [check_table_index.go:434] ["fast check table by group"] ["table name"=t] ["index name"=i] [times=1] ["current offset"=0] ["current mod"=1] ["table sql"="select /*+ read_from_storage(tikv[`test`.`t`]) */ bit_xor(crc32(md5(concat_ws(0x2, `_tidb_rowid`, `a`)))), ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024), count(*) from `test`.`t` use index() where 0 = 0 group by ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024)"] ["index sql"="select bit_xor(crc32(md5(concat_ws(0x2, `_tidb_rowid`, `a`)))), ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024), count(*) from `test`.`t` use index(`i`) where 0 = 0 group by ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024)"] [2025/04/04 12:45:39.662 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 12:45:39.663 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=14d40c25-a288-4df0-90dc-7b313ebf5a02] [] [2025/04/04 12:45:39.663 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=14d40c25-a288-4df0-90dc-7b313ebf5a02] [2025/04/04 12:45:39.663 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 12:45:39.663 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:45:39.663 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:45:39.663 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 11, tp general"] ["take time"=40.557µs] [2025/04/04 12:45:39.663 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 12, tp general"] ["take time"=37.559µs] [2025/04/04 12:45:39.663 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=14d40c25-a288-4df0-90dc-7b313ebf5a02] [2025/04/04 12:45:39.663 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=14d40c25-a288-4df0-90dc-7b313ebf5a02] [2025/04/04 12:45:39.664 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 12:45:39.664 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 12:45:39.665 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=14d40c25-a288-4df0-90dc-7b313ebf5a02] ["take time"=2.493854ms] [2025/04/04 12:45:39.665 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=14d40c25-a288-4df0-90dc-7b313ebf5a02] [2025/04/04 12:45:39.665 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 12:45:39.665 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/df67d22f-516e-44dc-9275-7bdbbea3c114] [watcherID=5684f7cb-2a7e-4ab1-a62b-ba38677a9d6c] [2025/04/04 12:45:39.665 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/04 12:45:39.665 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/df67d22f-516e-44dc-9275-7bdbbea3c114] [2025/04/04 12:45:39.665 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=14d40c25-a288-4df0-90dc-7b313ebf5a02] [ttl-worker=task-manager] [ttl-worker=14d40c25-a288-4df0-90dc-7b313ebf5a02] [originalCount=4] [newCount=0] [2025/04/04 12:45:39.665 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:45:39.665 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:45:39.665 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:45:39.665 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:45:39.666 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=14d40c25-a288-4df0-90dc-7b313ebf5a02] [ttl-worker=task-manager] [ttl-worker=14d40c25-a288-4df0-90dc-7b313ebf5a02] [originalCount=4] [newCount=0] [2025/04/04 12:45:39.668 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:45:39.668 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:45:39.668 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:45:39.668 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:45:39.670 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=14d40c25-a288-4df0-90dc-7b313ebf5a02] [2025/04/04 12:45:39.670 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 12:45:39.671 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1700] [2025/04/04 12:45:39.671 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 12:45:39.671 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 12:45:39.671 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 12:45:39.671 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 12:45:39.671 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 12:45:39.671 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=14d40c25-a288-4df0-90dc-7b313ebf5a02] [2025/04/04 12:45:39.671 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:45:39.671 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 12:45:39.671 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:45:39.671 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 12:45:39.671 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:45:39.671 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 12:45:39.671 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 12:45:39.671 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:45:39.671 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:45:39.671 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:45:39.671 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 12:45:39.671 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:45:39.671 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 12:45:39.671 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:45:39.671 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=63eac838-cf0f-45bc-9d02-2470cd502bdd] [] [2025/04/04 12:45:39.671 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 12:45:39.671 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/04 12:45:39.671 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:45:39.671 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:45:39.671 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:45:39.672 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:45:39.672 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=63eac838-cf0f-45bc-9d02-2470cd502bdd] [2025/04/04 12:45:39.672 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:45:39.672 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 12:45:39.671 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 12:45:39.672 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 12:45:39.672 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:45:39.672 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=63eac838-cf0f-45bc-9d02-2470cd502bdd] [2025/04/04 12:45:39.672 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:45:39.672 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:45:39.671 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 12:45:39.672 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=63eac838-cf0f-45bc-9d02-2470cd502bdd] [2025/04/04 12:45:39.672 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:45:39.672 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:45:39.671 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 12:45:39.671 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:45:39.671 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/04 12:45:39.671 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 12:45:39.671 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 12:45:39.672 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:45:39.671 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/04 12:45:39.671 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 12:45:39.671 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 12:45:39.672 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:45:39.671 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:45:39.671 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:45:39.671 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/04 12:45:39.672 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:45:39.672 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:45:39.671 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:45:39.672 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=14d40c25-a288-4df0-90dc-7b313ebf5a02] [2025/04/04 12:45:39.672 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:45:39.671 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 12:45:39.672 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 12:45:39.671 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:45:39.672 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:45:39.672 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:45:39.672 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:45:39.672 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 12:45:39.672 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 12:45:39.672 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:45:39.672 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 12:45:39.672 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:45:39.672 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:45:39.672 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 12:45:39.672 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:45:39.672 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 12:45:39.672 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:45:39.672 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:45:39.672 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 12:45:39.672 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:45:39.672 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:45:39.673 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:45:39.672 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=14d40c25-a288-4df0-90dc-7b313ebf5a02] [] [2025/04/04 12:45:39.672 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:45:39.673 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=14d40c25-a288-4df0-90dc-7b313ebf5a02] [2025/04/04 12:45:39.672 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:45:39.673 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=14d40c25-a288-4df0-90dc-7b313ebf5a02] [2025/04/04 12:45:39.673 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=14d40c25-a288-4df0-90dc-7b313ebf5a02] [2025/04/04 12:45:39.673 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 12:45:39.673 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=63eac838-cf0f-45bc-9d02-2470cd502bdd] [daemon-id=LogBackup::Advancer] [2025/04/04 12:45:39.673 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 12:45:39.673 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 12:45:39.673 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:45:39.673 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/bindinfo/owner] [id=14d40c25-a288-4df0-90dc-7b313ebf5a02] [] [2025/04/04 12:45:39.673 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:45:39.673 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:45:39.673 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/bindinfo/owner] [id=14d40c25-a288-4df0-90dc-7b313ebf5a02] [2025/04/04 12:45:39.673 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=14d40c25-a288-4df0-90dc-7b313ebf5a02] [error="context canceled"] [2025/04/04 12:45:39.673 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 12:45:39.673 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 12:45:39.673 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/bindinfo/owner] [id=14d40c25-a288-4df0-90dc-7b313ebf5a02] [2025/04/04 12:45:39.673 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 12:45:39.673 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=14d40c25-a288-4df0-90dc-7b313ebf5a02] [2025/04/04 12:45:39.673 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:45:39.695 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 12:45:39.695 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:45:39.736 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=14d40c25-a288-4df0-90dc-7b313ebf5a02] [error="context canceled"] [2025/04/04 12:45:39.736 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 12:45:39.736 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:45:39.746 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=83.850227ms] [2025/04/04 12:45:39.749 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:45:39.749 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:45:39.749 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:45:39.749 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:45:39.749 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:45:39.749 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:45:39.749 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:39.749 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:45:39.749 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-1] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:45:39.749 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:39.749 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:39.749 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:45:39.750 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestFlashback (7.11s) === NAME === RUN TestPrepareFlashbackFailed [2025/04/04 12:45:39.757 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 12:45:39.757 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 12:45:39.758 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437820018004919] [2025/04/04 12:45:39.759 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:45:39.759 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 12:45:39.759 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:45:39.759 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:45:39.759 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:45:39.759 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:45:39.760 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:45:39.760 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:45:39.763 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 12:45:39.768 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:45:39.769 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:45:39.769 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:45:39.779 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489437820018004919] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 12:45:39.789 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 12:45:39.823 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=791] ["lease id"=22319600d42f947e] [2025/04/04 12:45:39.825 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/04 12:45:39.952 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=58] ["elapsed time"=124.302246ms] [2025/04/04 12:45:39.952 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 12:45:39.956 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 12:45:39.962 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=92570cc9-14b6-421a-befe-1f6c52fd8fac] [runWorker=true] [jobVersion=v2] [2025/04/04 12:45:39.962 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 12:45:39.964 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=92570cc9-14b6-421a-befe-1f6c52fd8fac] [2025/04/04 12:45:39.965 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 12:45:39.965 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 261544706048/466850480128, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 12:45:39.966 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:45:39.966 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:45:39.966 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:45:39.966 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:45:39.966 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:45:39.966 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:45:39.966 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:45:39.966 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:45:39.966 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:45:39.966 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 12:45:39.966 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:45:39.966 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 12:45:39.966 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=ef19d25b-7327-41f5-9a12-7eaa34a5270e] [2025/04/04 12:45:39.968 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319600d42f9483] [ownerID=92570cc9-14b6-421a-befe-1f6c52fd8fac] [op=none] [2025/04/04 12:45:39.968 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=92570cc9-14b6-421a-befe-1f6c52fd8fac] [2025/04/04 12:45:39.968 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=92570cc9-14b6-421a-befe-1f6c52fd8fac] [ownerKey=/tidb/ddl/fg/owner/22319600d42f9483] [currRev=309] [2025/04/04 12:45:39.968 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:45:39.969 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=ef19d25b-7327-41f5-9a12-7eaa34a5270e] [daemon-id=LogBackup::Advancer] [2025/04/04 12:45:39.970 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 12:45:39.970 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f189600d42f977a] [ownerID=ef19d25b-7327-41f5-9a12-7eaa34a5270e] [op=none] [2025/04/04 12:45:39.970 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=ef19d25b-7327-41f5-9a12-7eaa34a5270e] [2025/04/04 12:45:39.970 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=ef19d25b-7327-41f5-9a12-7eaa34a5270e] [ownerKey=/tidb/br-stream/owner/6f189600d42f977a] [currRev=310] [2025/04/04 12:45:39.970 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319600d42f9483] [ownerID=92570cc9-14b6-421a-befe-1f6c52fd8fac] [op=none] [2025/04/04 12:45:39.970 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=92570cc9-14b6-421a-befe-1f6c52fd8fac] [op=none] [2025/04/04 12:45:39.970 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 12:45:39.976 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=92570cc9-14b6-421a-befe-1f6c52fd8fac] [2025/04/04 12:45:39.977 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:45:39.977 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 12:45:39.988 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:45:39.996 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:45:40.005 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:45:40.005 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:45:40.005 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:45:40.005 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:45:40.005 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 12:45:40.005 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 12:45:40.005 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 12:45:40.005 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 12:45:40.005 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 12:45:40.006 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:45:40.006 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=92570cc9-14b6-421a-befe-1f6c52fd8fac] [2025/04/04 12:45:40.007 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:45:40.007 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:45:40.007 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:45:40.007 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:45:40.007 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:45:40.007 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:45:40.007 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 12:45:40.007 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 12:45:40.007 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:45:40.007 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:45:40.007 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 12:45:40.007 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:45:40.007 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:45:40.007 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:45:40.007 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:45:40.009 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=434.8GiB] [2025/04/04 12:45:40.011 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/8aa72d79-2f8c-40c2-b3e1-872383002651] [2025/04/04 12:45:40.011 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=92570cc9-14b6-421a-befe-1f6c52fd8fac] [ttl-worker=task-manager] [ttl-worker=92570cc9-14b6-421a-befe-1f6c52fd8fac] [originalCount=0] [newCount=4] [2025/04/04 12:45:40.011 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=92570cc9-14b6-421a-befe-1f6c52fd8fac] [ttl-worker=task-manager] [ttl-worker=92570cc9-14b6-421a-befe-1f6c52fd8fac] [originalCount=0] [newCount=4] [2025/04/04 12:45:40.011 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=92570cc9-14b6-421a-befe-1f6c52fd8fac] [2025/04/04 12:45:40.015 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 12:45:40.018 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:45:40.018 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 12:45:40.018 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743770740018838757 [2025/04/04 12:45:40.022 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 12:45:40.029 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=23.034501ms] [2025/04/04 12:45:40.029 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 12:45:40.029 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:45:40.032 +00:00] [INFO] [set.go:172] ["set global var"] [conn=3] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 12:45:40.036 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=58] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/04 12:45:40.049 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:115, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:40 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:40.049 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:115, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:40 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`"] [2025/04/04 12:45:40.054 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=115] [conn=3] [job="ID:115, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:40 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:40.072 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=58] [neededSchemaVersion=59] ["elapsed time"=1.998958ms] [gotSchemaVersion=59] [phyTblIDs="[112]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:45:40.076 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=115] [version=59] [2025/04/04 12:45: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=59] ["take time"=9.523037ms] [job="ID:115, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:40 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:40.087 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=115] [conn=3] [job="ID:115, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:40 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:40.103 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=59] [neededSchemaVersion=60] ["elapsed time"=2.000771ms] [gotSchemaVersion=60] [phyTblIDs="[112]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:45:40.106 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=115] [version=60] [2025/04/04 12:45:40.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=60] ["take time"=8.825109ms] [job="ID:115, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:40 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:40.116 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=115] [conn=3] [job="ID:115, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:40 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:40.122 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 112, Old Table Name: t)"] [2025/04/04 12:45:40.138 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=60] [neededSchemaVersion=61] ["elapsed time"=1.201179ms] [gotSchemaVersion=61] [phyTblIDs="[112]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:45:40.142 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=115] [version=61] [2025/04/04 12:45: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=61] ["take time"=8.54515ms] [job="ID:115, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:40 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:40.153 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=115] [tableIDs="[112]"] [comment="drop table: table ID"] [2025/04/04 12:45:40.162 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=115] [jobType="drop table"] [2025/04/04 12:45:40.163 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=115] [conn=3] [job="ID:115, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:40 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:40.189 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=115] [2025/04/04 12:45:40.189 +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: 1743770740190129072 [2025/04/04 12:45:40.209 +00:00] [INFO] [set.go:172] ["set global var"] [conn=4] [name=tidb_schema_cache_size] [val=0] [2025/04/04 12:45:40.222 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=4] [schemaVersion=61] [cur_db=test] [sql="drop table if exists t"] [user=] [2025/04/04 12:45:40.235 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:117, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:116, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:40.2 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:40.235 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:117, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:116, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:40.2 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t(a int, index i(a))"] [2025/04/04 12:45:40.241 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=117] [conn=4] [job="ID:117, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:116, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:40.2 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:40.245 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 116, Table Name: t)"] [2025/04/04 12:45:40.300 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=61] [neededSchemaVersion=61] ["elapsed time"=82.629901ms] [2025/04/04 12:45:40.300 +00:00] [INFO] [domain.go:431] ["infoschema v1/v2 switch"] [2025/04/04 12:45:40.301 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 12:45:40.307 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=61] [neededSchemaVersion=62] ["elapsed time"=1.49945ms] [gotSchemaVersion=62] [phyTblIDs="[116]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:40.311 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=117] [version=62] [2025/04/04 12:45:40.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=62] ["take time"=56.764341ms] [job="ID:117, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:116, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:40.2 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:40.324 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=117] [conn=4] [job="ID:117, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:116, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:40.2 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:40.335 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=117] [2025/04/04 12:45:40.336 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=4] [schemaVersion=62] [cur_db=test] [sql="create table t(a int, index i(a))"] [user=] [2025/04/04 12:45:40.975 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/04 12:45:40.975 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 12:45:40.975 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 12:45:40.975 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:45:41.012 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/04 12:45:41.012 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/04 12:45:41.012 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/8aa72d79-2f8c-40c2-b3e1-872383002651] [watcherID=91f846df-bc4f-4829-81d8-717bbee6868f] [2025/04/04 12:45:41.018 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/04 12:45:41.025 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/04 12:45:41.025 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/04 12:45:41.025 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/04 12:45:41.025 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/04 12:45:41.347 +00:00] [INFO] [executor.go:1408] ["get flashback cluster job"] [category=ddl] [flashbackTS="2025-04-04 12:45:41.3 +0000 UTC"] [2025/04/04 12:45:41.360 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:118, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:41.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:41.360 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:118, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:41.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="flashback cluster to timestamp '2025-04-04 12:45:41.300000'"] [2025/04/04 12:45:41.366 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=118] [conn=4] [job="ID:118, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:41.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:41.371 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=118] [2025/04/04 12:45:41.379 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=118] [conn=4] [job="ID:118, Type:flashback cluster, State:running, SchemaState:delete only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:41.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:41.465 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=500ms] [requiredStaleness=157ms] [prevState=unknown(0)] [newState=adapting] [2025/04/04 12:45:41.496 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=62] [neededSchemaVersion=63] ["elapsed time"=155.738µs] [gotSchemaVersion=63] [phyTblIDs="[-1]"] [actionTypes="[62]"] [diffTypes="[\"flashback cluster\"]"] [2025/04/04 12:45:41.500 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=118] [version=63] [2025/04/04 12:45:41.501 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=63] ["take time"=7.333288ms] [job="ID:118, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:41.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:41.510 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=118] [conn=4] [job="ID:118, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:41.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:41.544 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/04 12:45:41.548 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=32] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/04 12:45:41.552 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=32] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/04 12:45:41.553 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=9.018504ms] ["completed regions"=1] [2025/04/04 12:45:41.553 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/04 12:45:41.557 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=40] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/04 12:45:41.562 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=40] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/04 12:45:41.563 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=9.468373ms] ["completed regions"=1] [2025/04/04 12:45:41.563 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/04 12:45:41.567 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=48] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/04 12:45:41.571 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=48] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/04 12:45:41.572 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=8.279498ms] ["completed regions"=1] [2025/04/04 12:45:41.572 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/04 12:45:41.575 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=56] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/04 12:45:41.578 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=56] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/04 12:45:41.579 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=6.777685ms] ["completed regions"=1] [2025/04/04 12:45:41.579 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/04 12:45:41.582 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=64] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/04 12:45:41.587 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=64] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/04 12:45:41.588 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=8.142584ms] ["completed regions"=1] [2025/04/04 12:45:41.588 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/04 12:45:41.591 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=72] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/04 12:45:41.594 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=72] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/04 12:45:41.595 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=6.896554ms] ["completed regions"=1] [2025/04/04 12:45:41.595 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/04 12:45:41.598 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=80] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/04 12:45:41.603 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=80] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/04 12:45:41.604 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=8.647086ms] ["completed regions"=1] [2025/04/04 12:45:41.604 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/04 12:45:41.607 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=88] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/04 12:45:41.611 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=88] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/04 12:45:41.612 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=7.854695ms] ["completed regions"=1] [2025/04/04 12:45:41.612 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/04 12:45:41.615 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=96] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/04 12:45:41.619 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=96] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/04 12:45:41.620 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=6.870363ms] ["completed regions"=1] [2025/04/04 12:45:41.620 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/04 12:45:41.623 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=104] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/04 12:45:41.626 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=104] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/04 12:45:41.627 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=6.813767ms] ["completed regions"=1] [2025/04/04 12:45:41.627 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/04 12:45:41.630 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=112] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/04 12:45:41.634 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=112] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/04 12:45:41.635 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=7.992591ms] ["completed regions"=1] [2025/04/04 12:45:41.635 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/04 12:45:41.638 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=120] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/04 12:45:41.643 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=120] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/04 12:45:41.645 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=9.107862ms] ["completed regions"=1] [2025/04/04 12:45:41.645 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/04 12:45:41.648 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=128] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/04 12:45:41.652 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=128] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/04 12:45:41.653 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=7.808538ms] ["completed regions"=1] [2025/04/04 12:45:41.654 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/04 12:45:41.656 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=136] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/04 12:45:41.661 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=136] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/04 12:45:41.662 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=7.633741ms] ["completed regions"=1] [2025/04/04 12:45:41.662 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/04 12:45:41.664 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=144] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/04 12:45:41.668 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=144] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/04 12:45:41.669 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=7.384003ms] ["completed regions"=1] [2025/04/04 12:45:41.670 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/04 12:45:41.672 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=152] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/04 12:45:41.676 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=152] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/04 12:45:41.677 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=7.019432ms] ["completed regions"=1] [2025/04/04 12:45:41.677 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/04 12:45:41.680 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=160] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/04 12:45:41.684 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=160] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/04 12:45:41.685 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=7.472721ms] ["completed regions"=1] [2025/04/04 12:45:41.685 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/04 12:45:41.687 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=168] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/04 12:45:41.691 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=168] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/04 12:45:41.692 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=6.568715ms] ["completed regions"=1] [2025/04/04 12:45:41.692 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/04 12:45:41.694 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=176] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/04 12:45:41.698 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=176] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/04 12:45:41.699 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=7.236676ms] ["completed regions"=1] [2025/04/04 12:45:41.699 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/04 12:45:41.702 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=184] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/04 12:45:41.706 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=184] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/04 12:45:41.707 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=7.033479ms] ["completed regions"=1] [2025/04/04 12:45:41.707 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/04 12:45:41.709 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=192] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/04 12:45:41.713 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=192] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/04 12:45:41.714 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=6.932469ms] ["completed regions"=1] [2025/04/04 12:45:41.714 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/04 12:45:41.717 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=200] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/04 12:45:41.720 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=200] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/04 12:45:41.721 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=6.147317ms] ["completed regions"=1] [2025/04/04 12:45:41.721 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/04 12:45:41.724 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=208] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/04 12:45:41.727 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=208] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/04 12:45:41.728 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=6.490734ms] ["completed regions"=1] [2025/04/04 12:45:41.728 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/04 12:45:41.730 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=216] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/04 12:45:41.734 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=216] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/04 12:45:41.735 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=6.898575ms] ["completed regions"=1] [2025/04/04 12:45:41.735 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/04 12:45:41.737 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=224] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/04 12:45:41.741 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=224] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/04 12:45:41.742 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=6.072783ms] ["completed regions"=1] [2025/04/04 12:45:41.742 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/04 12:45:41.744 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=232] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/04 12:45:41.747 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=232] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/04 12:45:41.748 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=5.738157ms] ["completed regions"=1] [2025/04/04 12:45:41.748 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/04 12:45:41.750 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=240] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/04 12:45:41.753 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=240] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/04 12:45:41.755 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=6.679031ms] ["completed regions"=1] [2025/04/04 12:45:41.755 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/04 12:45:41.757 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=248] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/04 12:45:41.760 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=248] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/04 12:45:41.761 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=5.767045ms] ["completed regions"=1] [2025/04/04 12:45:41.761 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/04 12:45:41.763 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=256] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/04 12:45:41.767 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=256] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/04 12:45:41.768 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=6.072509ms] ["completed regions"=1] [2025/04/04 12:45:41.768 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/04 12:45:41.769 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=264] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/04 12:45:41.773 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=264] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/04 12:45:41.774 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=5.599587ms] ["completed regions"=1] [2025/04/04 12:45:41.774 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/04 12:45:41.776 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=272] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/04 12:45:41.779 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=272] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/04 12:45:41.779 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=5.266051ms] ["completed regions"=1] [2025/04/04 12:45:41.780 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/04 12:45:41.781 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=280] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/04 12:45:41.785 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=280] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/04 12:45:41.786 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=6.359553ms] ["completed regions"=1] [2025/04/04 12:45:41.786 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/04 12:45:41.788 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=288] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/04 12:45:41.792 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=288] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/04 12:45:41.793 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=6.366664ms] ["completed regions"=1] [2025/04/04 12:45:41.793 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/04 12:45:41.795 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=296] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/04 12:45:41.798 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=296] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/04 12:45:41.799 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=5.125982ms] ["completed regions"=1] [2025/04/04 12:45:41.799 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/04 12:45:41.800 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=304] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/04 12:45:41.804 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=304] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/04 12:45:41.805 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=6.189852ms] ["completed regions"=1] [2025/04/04 12:45:41.805 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/04 12:45:41.807 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=312] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/04 12:45:41.810 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=312] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/04 12:45:41.811 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=5.089987ms] ["completed regions"=1] [2025/04/04 12:45:41.811 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/04 12:45:41.812 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=320] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/04 12:45:41.816 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=320] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/04 12:45:41.817 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=5.843978ms] ["completed regions"=1] [2025/04/04 12:45:41.817 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/04 12:45:41.818 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=328] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/04 12:45:41.822 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=328] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/04 12:45:41.823 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=5.339995ms] ["completed regions"=1] [2025/04/04 12:45:41.823 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/04 12:45:41.824 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=336] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/04 12:45:41.828 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=336] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/04 12:45:41.829 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=6.138941ms] ["completed regions"=1] [2025/04/04 12:45:41.829 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/04 12:45:41.831 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=344] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/04 12:45:41.834 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=344] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/04 12:45:41.835 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=4.726507ms] ["completed regions"=1] [2025/04/04 12:45:41.835 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/04 12:45:41.836 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=352] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/04 12:45:41.840 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=352] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/04 12:45:41.841 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=5.768759ms] ["completed regions"=1] [2025/04/04 12:45:41.841 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/04 12:45:41.842 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=360] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/04 12:45:41.846 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=360] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/04 12:45:41.847 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=5.557951ms] ["completed regions"=1] [2025/04/04 12:45:41.847 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/04 12:45:41.848 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=368] [start_key=74800000000000006f] [end_key=748000fffffffffc17] [2025/04/04 12:45:41.852 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=368] [start_key=74800000000000006f] [end_key=748000fffffffffc17] [2025/04/04 12:45:41.853 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=6.043948ms] ["completed regions"=1] [2025/04/04 12:45:41.859 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=118] [2025/04/04 12:45:41.866 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=118] [conn=4] [job="ID:118, Type:flashback cluster, State:running, SchemaState:write reorganization, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:41.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:41.867 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/04 12:45:41.870 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=32] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/04 12:45:41.871 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=1] ["total regions"=43] [] [2025/04/04 12:45:41.871 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=4.272017ms] ["completed regions"=1] [2025/04/04 12:45:41.871 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/04 12:45:41.875 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=40] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/04 12:45:41.876 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=2] ["total regions"=43] [] [2025/04/04 12:45:41.876 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=4.226767ms] ["completed regions"=1] [2025/04/04 12:45:41.876 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/04 12:45:41.879 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=48] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/04 12:45:41.880 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=3] ["total regions"=43] [] [2025/04/04 12:45:41.880 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=3.85468ms] ["completed regions"=1] [2025/04/04 12:45:41.880 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/04 12:45:41.884 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=56] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/04 12:45:41.886 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=4] ["total regions"=43] [] [2025/04/04 12:45:41.886 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=5.492938ms] ["completed regions"=1] [2025/04/04 12:45:41.886 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/04 12:45:41.889 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=64] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/04 12:45:41.890 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=5] ["total regions"=43] [] [2025/04/04 12:45:41.890 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=4.080095ms] ["completed regions"=1] [2025/04/04 12:45:41.890 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/04 12:45:41.894 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=72] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/04 12:45:41.895 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=6] ["total regions"=43] [] [2025/04/04 12:45:41.895 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=4.118856ms] ["completed regions"=1] [2025/04/04 12:45:41.895 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/04 12:45:41.898 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=80] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/04 12:45:41.899 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=7] ["total regions"=43] [] [2025/04/04 12:45:41.900 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=4.148428ms] ["completed regions"=1] [2025/04/04 12:45:41.900 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/04 12:45:41.904 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=88] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/04 12:45:41.905 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=8] ["total regions"=43] [] [2025/04/04 12:45:41.905 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=4.935089ms] ["completed regions"=1] [2025/04/04 12:45:41.905 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/04 12:45:41.908 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=96] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/04 12:45:41.909 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=9] ["total regions"=43] [] [2025/04/04 12:45:41.909 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=4.023694ms] ["completed regions"=1] [2025/04/04 12:45:41.909 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/04 12:45:41.912 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=104] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/04 12:45:41.913 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=10] ["total regions"=43] [] [2025/04/04 12:45:41.913 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=3.377128ms] ["completed regions"=1] [2025/04/04 12:45:41.913 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/04 12:45:41.916 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=112] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/04 12:45:41.918 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=11] ["total regions"=43] [] [2025/04/04 12:45:41.918 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=4.163727ms] ["completed regions"=1] [2025/04/04 12:45:41.918 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/04 12:45:41.920 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=120] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/04 12:45:41.921 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=12] ["total regions"=43] [] [2025/04/04 12:45:41.922 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=3.576306ms] ["completed regions"=1] [2025/04/04 12:45:41.922 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/04 12:45:41.924 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=128] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/04 12:45:41.926 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=13] ["total regions"=43] [] [2025/04/04 12:45:41.926 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.665541ms] ["completed regions"=1] [2025/04/04 12:45:41.926 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/04 12:45:41.928 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=136] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/04 12:45:41.929 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=14] ["total regions"=43] [] [2025/04/04 12:45:41.929 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.450673ms] ["completed regions"=1] [2025/04/04 12:45:41.930 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/04 12:45:41.932 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=144] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/04 12:45:41.933 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=15] ["total regions"=43] [] [2025/04/04 12:45:41.933 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.427466ms] ["completed regions"=1] [2025/04/04 12:45:41.933 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/04 12:45:41.936 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=152] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/04 12:45:41.937 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=16] ["total regions"=43] [] [2025/04/04 12:45:41.937 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.102219ms] ["completed regions"=1] [2025/04/04 12:45:41.937 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/04 12:45:41.939 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=160] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/04 12:45:41.940 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=17] ["total regions"=43] [] [2025/04/04 12:45:41.940 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.150678ms] ["completed regions"=1] [2025/04/04 12:45:41.940 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/04 12:45:41.943 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=168] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/04 12:45:41.944 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=18] ["total regions"=43] [] [2025/04/04 12:45:41.944 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.261598ms] ["completed regions"=1] [2025/04/04 12:45:41.944 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/04 12:45:41.946 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=176] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/04 12:45:41.948 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=19] ["total regions"=43] [] [2025/04/04 12:45:41.948 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.18652ms] ["completed regions"=1] [2025/04/04 12:45:41.948 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/04 12:45:41.950 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=184] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/04 12:45:41.951 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=20] ["total regions"=43] [] [2025/04/04 12:45:41.951 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=2.95092ms] ["completed regions"=1] [2025/04/04 12:45:41.951 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/04 12:45:41.953 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=192] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/04 12:45:41.954 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=21] ["total regions"=43] [] [2025/04/04 12:45:41.954 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=2.939703ms] ["completed regions"=1] [2025/04/04 12:45:41.954 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/04 12:45:41.957 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=200] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/04 12:45:41.958 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=22] ["total regions"=43] [] [2025/04/04 12:45:41.958 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=3.009512ms] ["completed regions"=1] [2025/04/04 12:45:41.958 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/04 12:45:41.960 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=208] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/04 12:45:41.961 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=23] ["total regions"=43] [] [2025/04/04 12:45:41.961 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=2.839783ms] ["completed regions"=1] [2025/04/04 12:45:41.961 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/04 12:45:41.963 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=216] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/04 12:45:41.964 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=24] ["total regions"=43] [] [2025/04/04 12:45:41.964 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=2.821227ms] ["completed regions"=1] [2025/04/04 12:45:41.964 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/04 12:45:41.966 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=224] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/04 12:45:41.966 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/04 12:45:41.967 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=25] ["total regions"=43] [] [2025/04/04 12:45:41.967 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=2.669093ms] ["completed regions"=1] [2025/04/04 12:45:41.967 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/04 12:45:41.969 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=232] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/04 12:45:41.970 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=26] ["total regions"=43] [] [2025/04/04 12:45:41.971 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=2.879298ms] ["completed regions"=1] [2025/04/04 12:45:41.971 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/04 12:45:41.973 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=240] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/04 12:45:41.974 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=27] ["total regions"=43] [] [2025/04/04 12:45:41.974 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=2.759639ms] ["completed regions"=1] [2025/04/04 12:45:41.974 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/04 12:45:41.976 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=248] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/04 12:45:41.977 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=28] ["total regions"=43] [] [2025/04/04 12:45:41.977 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.714871ms] ["completed regions"=1] [2025/04/04 12:45:41.977 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/04 12:45:41.979 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=256] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/04 12:45:41.980 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=29] ["total regions"=43] [] [2025/04/04 12:45:41.980 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=2.572941ms] ["completed regions"=1] [2025/04/04 12:45:41.980 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/04 12:45:41.982 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=264] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/04 12:45:41.983 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=30] ["total regions"=43] [] [2025/04/04 12:45:41.983 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.738223ms] ["completed regions"=1] [2025/04/04 12:45:41.983 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/04 12:45:41.985 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=272] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/04 12:45:41.986 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=31] ["total regions"=43] [] [2025/04/04 12:45:41.986 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.425189ms] ["completed regions"=1] [2025/04/04 12:45:41.986 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/04 12:45:41.988 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=280] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/04 12:45:41.989 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=32] ["total regions"=43] [] [2025/04/04 12:45:41.989 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.431626ms] ["completed regions"=1] [2025/04/04 12:45:41.989 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/04 12:45:41.991 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=288] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/04 12:45:41.992 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=33] ["total regions"=43] [] [2025/04/04 12:45:41.992 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.346632ms] ["completed regions"=1] [2025/04/04 12:45:41.992 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/04 12:45:41.993 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=296] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/04 12:45:41.994 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=34] ["total regions"=43] [] [2025/04/04 12:45:41.994 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.177348ms] ["completed regions"=1] [2025/04/04 12:45:41.994 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/04 12:45:41.996 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=304] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/04 12:45:41.997 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=35] ["total regions"=43] [] [2025/04/04 12:45:41.997 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.199676ms] ["completed regions"=1] [2025/04/04 12:45:41.997 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/04 12:45:41.998 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=312] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/04 12:45:41.999 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=36] ["total regions"=43] [] [2025/04/04 12:45:41.999 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.043553ms] ["completed regions"=1] [2025/04/04 12:45:41.999 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/04 12:45:42.001 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=320] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/04 12:45:42.002 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=37] ["total regions"=43] [] [2025/04/04 12:45:42.002 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.133328ms] ["completed regions"=1] [2025/04/04 12:45:42.002 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/04 12:45:42.003 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=328] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/04 12:45:42.004 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=38] ["total regions"=43] [] [2025/04/04 12:45:42.004 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=1.933693ms] ["completed regions"=1] [2025/04/04 12:45:42.004 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/04 12:45:42.006 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=336] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/04 12:45:42.006 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=39] ["total regions"=43] [] [2025/04/04 12:45:42.007 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=1.902102ms] ["completed regions"=1] [2025/04/04 12:45:42.007 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/04 12:45:42.008 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=344] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/04 12:45:42.009 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=40] ["total regions"=43] [] [2025/04/04 12:45:42.009 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=1.888883ms] ["completed regions"=1] [2025/04/04 12:45:42.009 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/04 12:45:42.010 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=352] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/04 12:45:42.011 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=41] ["total regions"=43] [] [2025/04/04 12:45:42.011 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=1.788473ms] ["completed regions"=1] [2025/04/04 12:45:42.011 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/04 12:45:42.012 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=360] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/04 12:45:42.013 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=42] ["total regions"=43] [] [2025/04/04 12:45:42.013 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=1.860413ms] ["completed regions"=1] [2025/04/04 12:45:42.013 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/04 12:45:42.014 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=368] [start_key=74800000000000006f] [end_key=748000fffffffffc17] [2025/04/04 12:45:42.018 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=43] ["total regions"=43] [] [2025/04/04 12:45:42.018 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=4.458422ms] ["completed regions"=1] [2025/04/04 12:45:42.018 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: flashback cluster)"] [2025/04/04 12:45:42.034 +00:00] [ERROR] [domain.go:375] ["failed to load schema diff"] [error="Meets a schema diff with RegenerateSchemaMap flag"] [errorVerbose="Meets a schema diff with RegenerateSchemaMap flag\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).tryLoadSchemaDiffs\n\tpkg/domain/domain.go:652\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:358\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:375\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103"] [2025/04/04 12:45:42.118 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=63] [neededSchemaVersion=64] ["elapsed time"=84.124843ms] [2025/04/04 12:45:42.118 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 12:45:42.122 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=118] [version=64] [2025/04/04 12:45:42.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=64] ["take time"=91.961244ms] [job="ID:118, Type:flashback cluster, State:done, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:41.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:42.191 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=118] [conn=4] [job="ID:118, Type:flashback cluster, State:synced, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:41.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:42.204 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=118] [2025/04/04 12:45:42.204 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 4\n# Query_time: 0.858309157\n# Parse_time: 0.000075568\n# Compile_time: 0.000277442\n# Rewrite_time: 0.000003068\n# Optimize_time: 0.000095568\n# Wait_TS: 0.000350992\n# DB: test\n# Is_internal: false\n# Digest: af09c17df48245f34604ebcd1fb822f4f2360c5d282fb4cb3aeced6fc3c852fa\n# Mem_max: 8192\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nuse test;\nflashback cluster to timestamp '2025-04-04 12:45:41.300000';"] [2025/04/04 12:45:42.206 +00:00] [INFO] [check_table_index.go:434] ["fast check table by group"] ["table name"=t] ["index name"=i] [times=1] ["current offset"=0] ["current mod"=1] ["table sql"="select /*+ read_from_storage(tikv[`test`.`t`]) */ bit_xor(crc32(md5(concat_ws(0x2, `_tidb_rowid`, `a`)))), ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024), count(*) from `test`.`t` use index() where 0 = 0 group by ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024)"] ["index sql"="select bit_xor(crc32(md5(concat_ws(0x2, `_tidb_rowid`, `a`)))), ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024), count(*) from `test`.`t` use index(`i`) where 0 = 0 group by ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024)"] [2025/04/04 12:45:42.231 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=92570cc9-14b6-421a-befe-1f6c52fd8fac] [] [2025/04/04 12:45:42.231 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 12:45:42.231 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 12:45:42.231 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=92570cc9-14b6-421a-befe-1f6c52fd8fac] [2025/04/04 12:45:42.231 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:45:42.231 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:45:42.231 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 13, tp general"] ["take time"=55.948µs] [2025/04/04 12:45:42.231 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 14, tp general"] ["take time"=42.151µs] [2025/04/04 12:45:42.232 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 15, tp general"] ["take time"=35.069µs] [2025/04/04 12:45:42.232 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=92570cc9-14b6-421a-befe-1f6c52fd8fac] [2025/04/04 12:45:42.232 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=92570cc9-14b6-421a-befe-1f6c52fd8fac] [2025/04/04 12:45:42.233 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 12:45:42.233 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 12:45:42.234 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=92570cc9-14b6-421a-befe-1f6c52fd8fac] ["take time"=2.935241ms] [2025/04/04 12:45:42.234 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=92570cc9-14b6-421a-befe-1f6c52fd8fac] [2025/04/04 12:45:42.234 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 12:45:42.234 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/8aa72d79-2f8c-40c2-b3e1-872383002651] [watcherID=91f846df-bc4f-4829-81d8-717bbee6868f] [2025/04/04 12:45:42.234 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/04 12:45:42.234 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/8aa72d79-2f8c-40c2-b3e1-872383002651] [2025/04/04 12:45:42.234 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=92570cc9-14b6-421a-befe-1f6c52fd8fac] [ttl-worker=task-manager] [ttl-worker=92570cc9-14b6-421a-befe-1f6c52fd8fac] [originalCount=4] [newCount=0] [2025/04/04 12:45:42.234 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:45:42.234 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:45:42.234 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:45:42.234 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:45:42.235 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=92570cc9-14b6-421a-befe-1f6c52fd8fac] [ttl-worker=task-manager] [ttl-worker=92570cc9-14b6-421a-befe-1f6c52fd8fac] [originalCount=4] [newCount=0] [2025/04/04 12:45:42.237 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:45:42.237 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:45:42.237 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:45:42.237 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:45:42.239 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=92570cc9-14b6-421a-befe-1f6c52fd8fac] [2025/04/04 12:45:42.239 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 12:45:42.240 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=791] [2025/04/04 12:45:42.240 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=ef19d25b-7327-41f5-9a12-7eaa34a5270e] [] [2025/04/04 12:45:42.240 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 12:45:42.240 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 12:45:42.240 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:45:42.241 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:45:42.241 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:45:42.241 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 12:45:42.241 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 12:45:42.241 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 12:45:42.241 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:45:42.241 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 12:45:42.241 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:45:42.241 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 12:45:42.241 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:45:42.241 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 12:45:42.241 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:45:42.241 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 12:45:42.241 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 12:45:42.241 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 12:45:42.241 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 12:45:42.241 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:45:42.241 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 12:45:42.241 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:45:42.241 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 12:45:42.241 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:45:42.241 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:45:42.241 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=92570cc9-14b6-421a-befe-1f6c52fd8fac] [2025/04/04 12:45:42.241 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:45:42.241 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:45:42.241 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:45:42.241 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:45:42.241 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:45:42.241 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/04 12:45:42.240 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 12:45:42.241 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/04 12:45:42.241 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:45:42.241 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:45:42.241 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=ef19d25b-7327-41f5-9a12-7eaa34a5270e] [2025/04/04 12:45:42.241 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=ef19d25b-7327-41f5-9a12-7eaa34a5270e] [2025/04/04 12:45:42.241 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 12:45:42.241 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=ef19d25b-7327-41f5-9a12-7eaa34a5270e] [2025/04/04 12:45:42.241 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:45:42.240 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 12:45:42.241 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:45:42.241 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 12:45:42.241 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 12:45:42.241 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:45:42.241 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 12:45:42.241 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 12:45:42.241 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:45:42.241 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:45:42.241 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 12:45:42.241 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:45:42.241 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:45:42.241 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 12:45:42.241 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:45:42.241 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:45:42.241 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 12:45:42.242 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:45:42.241 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:45:42.241 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 12:45:42.241 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:45:42.241 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:45:42.241 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/04 12:45:42.242 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:45:42.241 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/04 12:45:42.242 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:45:42.242 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/stats/owner] [id=92570cc9-14b6-421a-befe-1f6c52fd8fac] [error="context canceled"] [2025/04/04 12:45:42.242 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=92570cc9-14b6-421a-befe-1f6c52fd8fac] [2025/04/04 12:45:42.242 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=92570cc9-14b6-421a-befe-1f6c52fd8fac] [2025/04/04 12:45:42.242 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 12:45:42.242 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 12:45:42.242 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 12:45:42.242 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 12:45:42.242 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:45:42.243 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 12:45:42.243 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:45:42.243 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 12:45:42.243 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 12:45:42.243 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 12:45:42.243 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=ef19d25b-7327-41f5-9a12-7eaa34a5270e] [daemon-id=LogBackup::Advancer] [2025/04/04 12:45:42.243 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:45:42.243 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:45:42.243 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=92570cc9-14b6-421a-befe-1f6c52fd8fac] [error="context canceled"] [2025/04/04 12:45:42.243 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 12:45:42.243 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 12:45:42.243 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:45:42.244 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=92570cc9-14b6-421a-befe-1f6c52fd8fac] [error="context canceled"] [2025/04/04 12:45:42.244 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=92570cc9-14b6-421a-befe-1f6c52fd8fac] [2025/04/04 12:45:42.244 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=92570cc9-14b6-421a-befe-1f6c52fd8fac] [error="context canceled"] [2025/04/04 12:45:42.244 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=92570cc9-14b6-421a-befe-1f6c52fd8fac] [error="context canceled"] [errorVerbose="context canceled\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:45:42.262 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 12:45:42.262 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:45:42.304 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 12:45:42.304 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:45:42.314 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=82.985913ms] [2025/04/04 12:45:42.316 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:45:42.316 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:45:42.316 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:45:42.316 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:45:42.316 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:45:42.317 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:45:42.317 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:45:42.317 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:42.317 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:42.317 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:42.317 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-2] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:45:42.317 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:45:42.318 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPrepareFlashbackFailed (2.57s) === NAME === RUN TestFlashbackAddDropIndex [2025/04/04 12:45:42.327 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 12:45:42.328 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 12:45:42.329 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437820018004919] [2025/04/04 12:45:42.330 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:45:42.330 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 12:45:42.330 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:45:42.330 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:45:42.330 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:45:42.330 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:45:42.330 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:45:42.331 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:45:42.334 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 12:45:42.340 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:45:42.340 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:45:42.341 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:45:42.353 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489437820018004919] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 12:45:42.365 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 12:45:42.399 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=552] ["lease id"=6f189600d42f979b] [2025/04/04 12:45:42.400 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/04 12:45:42.489 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=64] ["elapsed time"=85.956179ms] [2025/04/04 12:45:42.489 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 12:45:42.492 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 12:45:42.501 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=4d87cad0-d655-4292-9cba-ada76241e639] [runWorker=true] [jobVersion=v2] [2025/04/04 12:45:42.501 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 12:45:42.503 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=4d87cad0-d655-4292-9cba-ada76241e639] [2025/04/04 12:45:42.504 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 12:45:42.504 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 261544800256/466850480128, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 12:45:42.504 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:45:42.504 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:45:42.505 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:45:42.505 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:45:42.505 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:45:42.505 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:45:42.505 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:45:42.505 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 12:45:42.505 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:45:42.505 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:45:42.505 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:45:42.505 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 12:45:42.505 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=098558fd-4a47-4dc4-aba2-f1ae09b6d07e] [2025/04/04 12:45:42.507 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f189600d42f97a1] [ownerID=4d87cad0-d655-4292-9cba-ada76241e639] [op=none] [2025/04/04 12:45:42.507 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=4d87cad0-d655-4292-9cba-ada76241e639] [2025/04/04 12:45:42.507 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=4d87cad0-d655-4292-9cba-ada76241e639] [ownerKey=/tidb/ddl/fg/owner/6f189600d42f97a1] [currRev=354] [2025/04/04 12:45:42.507 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:45:42.507 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=098558fd-4a47-4dc4-aba2-f1ae09b6d07e] [daemon-id=LogBackup::Advancer] [2025/04/04 12:45:42.508 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 12:45:42.508 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa9600d42f952a] [ownerID=098558fd-4a47-4dc4-aba2-f1ae09b6d07e] [op=none] [2025/04/04 12:45:42.508 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=098558fd-4a47-4dc4-aba2-f1ae09b6d07e] [2025/04/04 12:45:42.508 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=098558fd-4a47-4dc4-aba2-f1ae09b6d07e] [ownerKey=/tidb/br-stream/owner/3eaa9600d42f952a] [currRev=355] [2025/04/04 12:45:42.509 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f189600d42f97a1] [ownerID=4d87cad0-d655-4292-9cba-ada76241e639] [op=none] [2025/04/04 12:45:42.509 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=4d87cad0-d655-4292-9cba-ada76241e639] [op=none] [2025/04/04 12:45:42.509 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 12:45:42.513 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=4d87cad0-d655-4292-9cba-ada76241e639] [2025/04/04 12:45:42.514 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:45:42.514 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 12:45:42.524 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:45:42.531 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:45:42.537 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:45:42.537 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:45:42.537 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:45:42.537 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:45:42.537 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 12:45:42.537 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 12:45:42.537 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 12:45:42.537 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 12:45:42.537 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 12:45:42.538 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:45:42.538 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=4d87cad0-d655-4292-9cba-ada76241e639] [2025/04/04 12:45:42.539 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:45:42.539 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:45:42.539 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:45:42.539 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:45:42.539 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:45:42.539 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:45:42.539 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 12:45:42.539 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:45:42.539 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 12:45:42.539 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:45:42.540 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 12:45:42.540 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:45:42.540 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:45:42.540 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:45:42.540 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:45:42.542 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=434.8GiB] [2025/04/04 12:45:42.544 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/ad5842e0-45a7-4878-abd2-1b91ad31cbb5] [2025/04/04 12:45:42.544 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=4d87cad0-d655-4292-9cba-ada76241e639] [ttl-worker=task-manager] [ttl-worker=4d87cad0-d655-4292-9cba-ada76241e639] [originalCount=0] [newCount=4] [2025/04/04 12:45:42.544 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=4d87cad0-d655-4292-9cba-ada76241e639] [ttl-worker=task-manager] [ttl-worker=4d87cad0-d655-4292-9cba-ada76241e639] [originalCount=0] [newCount=4] [2025/04/04 12:45:42.544 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=4d87cad0-d655-4292-9cba-ada76241e639] [2025/04/04 12:45:42.545 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 12:45:42.545 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:45:42.546 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 12:45:42.546 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743770742546376648 [2025/04/04 12:45:42.550 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 12:45:42.557 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=18.426041ms] [2025/04/04 12:45:42.557 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 12:45:42.557 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:45:42.565 +00:00] [INFO] [set.go:172] ["set global var"] [conn=5] [name=tidb_schema_cache_size] [val=0] [2025/04/04 12:45:42.577 +00:00] [INFO] [set.go:172] ["set global var"] [conn=5] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 12:45:42.579 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=5] [schemaVersion=64] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/04 12:45:42.592 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:119, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:116, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:42.55 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`"] [2025/04/04 12:45:42.592 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:119, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:116, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:42.55 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:42.597 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=119] [conn=5] [job="ID:119, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:116, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:42.55 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:42.612 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=64] [neededSchemaVersion=65] ["elapsed time"=1.94947ms] [gotSchemaVersion=65] [phyTblIDs="[116]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:45:42.616 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=119] [version=65] [2025/04/04 12:45:42.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=65] ["take time"=9.067241ms] [job="ID:119, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:116, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:42.55 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:42.627 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=119] [conn=5] [job="ID:119, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:116, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:42.55 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:42.642 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=65] [neededSchemaVersion=66] ["elapsed time"=1.878863ms] [gotSchemaVersion=66] [phyTblIDs="[116]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:45:42.645 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=119] [version=66] [2025/04/04 12:45:42.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=66] ["take time"=8.724066ms] [job="ID:119, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:116, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:42.55 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:42.655 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=119] [conn=5] [job="ID:119, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:116, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:42.55 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:42.661 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 116, Old Table Name: t)"] [2025/04/04 12:45:42.674 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=66] [neededSchemaVersion=67] ["elapsed time"=1.023979ms] [gotSchemaVersion=67] [phyTblIDs="[116]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:45:42.677 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=119] [version=67] [2025/04/04 12:45:42.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=67] ["take time"=7.933955ms] [job="ID:119, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:116, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:42.55 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:42.687 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=119] [tableIDs="[116]"] [comment="drop table: table ID"] [2025/04/04 12:45:42.694 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=119] [jobType="drop table"] [2025/04/04 12:45:42.695 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=119] [conn=5] [job="ID:119, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:116, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:42.55 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:42.714 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=119] [2025/04/04 12:45:42.714 +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: 1743770742715187345 [2025/04/04 12:45:42.729 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=6] [schemaVersion=67] [cur_db=test] [sql="drop table if exists t"] [user=] [2025/04/04 12:45:42.741 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:121, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:42.7 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t(a int, index i(a))"] [2025/04/04 12:45:42.741 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:121, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:42.7 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:42.747 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=121] [conn=6] [job="ID:121, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:120, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:42.7 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:42.751 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 120, Table Name: t)"] [2025/04/04 12:45:42.765 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=67] [neededSchemaVersion=68] ["elapsed time"=1.56525ms] [gotSchemaVersion=68] [phyTblIDs="[120]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:42.769 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=121] [version=68] [2025/04/04 12:45:42.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=68] ["take time"=8.206327ms] [job="ID:121, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:42.7 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:42.781 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=121] [conn=6] [job="ID:121, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:120, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:42.7 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:42.792 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=121] [2025/04/04 12:45:42.792 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=6] [schemaVersion=68] [cur_db=test] [sql="create table t(a int, index i(a))"] [user=] [2025/04/04 12:45:43.514 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/04 12:45:43.514 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 12:45:43.514 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 12:45:43.514 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:45:43.544 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/04 12:45:43.544 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/04 12:45:43.544 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/ad5842e0-45a7-4878-abd2-1b91ad31cbb5] [watcherID=1e3f22ef-3440-4cdb-8c9c-ec86f9a41f70] [2025/04/04 12:45:43.546 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/04 12:45:43.551 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/04 12:45:43.551 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/04 12:45:43.551 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/04 12:45:43.551 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/04 12:45:43.805 +00:00] [INFO] [executor.go:5057] ["initialize reorg meta"] [category=ddl] [jobSchema=test] [jobTable=t] [jobType="add index"] [enableDistTask=true] [enableFastReorg=true] [targetScope=] [maxNodeCount=3] [concurrency=4] [batchSize=256] [2025/04/04 12:45:43.817 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:122, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:43.8 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [query="alter table t add index k(a)"] [2025/04/04 12:45:43.817 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:122, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:43.8 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0; "] [fast_create=true] [2025/04/04 12:45:43.823 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=122] [conn=6] [job="ID:122, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:120, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:43.8 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/04 12:45:43.825 +00:00] [INFO] [index.go:720] ["[ddl] run add index job"] [category=ddl] [job="ID:122, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:43.8 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [indexInfo="{\"id\":2,\"idx_name\":{\"O\":\"k\",\"L\":\"k\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"a\",\"L\":\"a\"},\"offset\":0,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":false,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false,\"vector_index\":null}"] [2025/04/04 12:45:43.839 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=68] [neededSchemaVersion=69] ["elapsed time"=1.626814ms] [gotSchemaVersion=69] [phyTblIDs="[120]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2025/04/04 12:45:43.843 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=122] [version=69] [2025/04/04 12:45:43.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=69] ["take time"=8.397105ms] [job="ID:122, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:43.8 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/04 12:45:43.854 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=122] [conn=6] [job="ID:122, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:120, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:43.8 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/04 12:45:43.869 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=69] [neededSchemaVersion=70] ["elapsed time"=1.512267ms] [gotSchemaVersion=70] [phyTblIDs="[120]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2025/04/04 12:45:43.872 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=122] [version=70] [2025/04/04 12:45:43.874 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=70] ["take time"=8.054245ms] [job="ID:122, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:43.8 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/04 12:45:43.882 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=122] [conn=6] [job="ID:122, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:120, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:43.8 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/04 12:45:43.897 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=70] [neededSchemaVersion=71] ["elapsed time"=1.643848ms] [gotSchemaVersion=71] [phyTblIDs="[120]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2025/04/04 12:45:43.901 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=122] [version=71] [2025/04/04 12:45:43.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=71] ["take time"=8.596334ms] [job="ID:122, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:43.8 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/04 12:45:43.911 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=122] [conn=6] [job="ID:122, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:120, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:43.8 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/04 12:45:43.913 +00:00] [INFO] [index.go:1363] ["index backfill state running"] [category=ddl] ["job ID"=122] [table=t] ["ingest mode"=true] [index=k] [2025/04/04 12:45:43.915 +00:00] [INFO] [reorg.go:913] ["job get table range"] [category=ddl] [jobID=122] [physicalTableID=120] [startKey=7480000000000000785f728000000000000001] [endKey=7480000000000000785f72800000000000000300] [2025/04/04 12:45:43.929 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=122] [2025/04/04 12:45:43.934 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=122] [conn=6] [job="ID:122, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:120, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:43.8 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:457119037888921606, Version: v2, UniqueWarnings:0"] [2025/04/04 12:45:43.936 +00:00] [INFO] [index.go:1363] ["index backfill state running"] [category=ddl] ["job ID"=122] [table=t] ["ingest mode"=true] [index=k] [2025/04/04 12:45:43.954 +00:00] [INFO] [index.go:2593] ["adjusted add-index task concurrency"] [category=ddl] [worker-cnt=4] [task-concurrency=4] [task-key=ddl/backfill/122] [2025/04/04 12:45:43.964 +00:00] [INFO] [index.go:2804] ["estimate row size"] [tableID=120] [size=0] [error="less than 3 regions"] [2025/04/04 12:45:44.001 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=1] [2025/04/04 12:45:44.001 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=1] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=4] [2025/04/04 12:45:44.335 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/04 12:45:44.503 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=1] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=read-index] [2025/04/04 12:45:44.504 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=1] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:45:44.504 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/04 12:45:44.506 +00:00] [INFO] [backfilling_dist_scheduler.go:125] ["on next subtasks batch"] [category=ddl] [type=backfill] [task-id=1] [curr-step=init] [next-step=read-index] [2025/04/04 12:45:44.506 +00:00] [INFO] [backfilling_dist_scheduler.go:132] ["available local disk space resource"] [category=ddl] [type=backfill] [task-id=1] [curr-step=init] [next-step=read-index] [size=25GiB] [2025/04/04 12:45:44.509 +00:00] [INFO] [backfilling_dist_scheduler.go:318] ["calculate region batch"] [category=ddl] [type=backfill] [task-id=1] [curr-step=init] [next-step=read-index] [totalRegionCnt=1] [regionBatch=1] [instanceCnt=1] [useCloud=false] [2025/04/04 12:45:44.509 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=1] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [state=pending] [step=read-index] [concurrency=4] [subtasks=1] [2025/04/04 12:45:44.659 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=1] [type=backfill] [concurrency=4] [remaining-slots=12] [2025/04/04 12:45:44.972 +00:00] [INFO] [backfilling_read_index.go:93] ["read index executor init subtask exec env"] [category=ddl] [2025/04/04 12:45:44.972 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 12:45:44.972 +00:00] [INFO] [config.go:181] ["change memory setting for ingest"] ["local writer memory cache size"=134217728] ["engine memory cache size"=536870912] ["worker concurrency"=8] [2025/04/04 12:45:44.972 +00:00] [INFO] [backend_mgr.go:181] ["create local backend for adding index"] [category=ddl-ingest] [sortDir=/tmp/tidb/tmp_ddl-4000/122] [keyspaceName=] ["job ID"=122] ["current memory usage"=0] ["max memory quota"=17179869184] ["has unique index"=false] [2025/04/04 12:45:44.980 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 12:45:44.981 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437820018004919] [2025/04/04 12:45:44.981 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:45:44.981 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 12:45:44.981 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:45:44.982 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:45:44.982 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:45:44.982 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:45:44.983 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:45:44.983 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:45:44.997 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:45:44.999 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 12:45:44.999 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=1] [task-type=backfill] [server-id=:4000] [step=read-index] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=4, Mem=8GiB]"] [2025/04/04 12:45:45.008 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=1] [task-type=backfill] [server-id=:4000] [subtaskID=1] [step=read-index] [2025/04/04 12:45:45.008 +00:00] [INFO] [backfilling_read_index.go:107] ["read index executor run subtask"] [category=ddl] ["use cloud"=false] [2025/04/04 12:45:45.008 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 12:45:45.012 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=t:2] [engineUUID=8de86ffa-82e6-5f82-9981-8310a1aa3f1d] [2025/04/04 12:45:45.012 +00:00] [INFO] [engine_mgr.go:93] ["open an engine for index reorg task"] ["job ID"=122] ["index IDs"="[2]"] ["current memory usage"=0] ["memory limitation"=17179869184] [2025/04/04 12:45:45.012 +00:00] [INFO] [backfilling_operators.go:192] ["build add index local storage operators"] [task-id=1] [subtask-id=1] [jobID=122] [avgRowSize=0] [reader=2] [writer=4] [2025/04/04 12:45:45.013 +00:00] [INFO] [engine.go:151] ["create one local writer for index reorg task"] ["job ID"=122] ["index ID"=2] ["worker ID"=1] ["allocate memory"=134217768] ["current memory usage"=0] ["max memory quota"=17179869184] [2025/04/04 12:45:45.012 +00:00] [INFO] [backfilling.go:519] ["load table ranges from PD"] [category=ddl] [physicalTableID=120] ["start key"=7480000000000000785f728000000000000001] ["end key"=7480000000000000785f72800000000000000300] [2025/04/04 12:45:45.018 +00:00] [INFO] [backfilling.go:546] ["load table ranges from PD done"] [category=ddl] [physicalTableID=120] ["range start"=7480000000000000785f728000000000000001] ["range end"=7480000000000000785f72800000000000000300] ["range count"=1] [2025/04/04 12:45:45.019 +00:00] [INFO] [backfilling_operators.go:561] ["start a table scan task"] [task-id=1] [subtask-id=1] [id=0] [task="TableScanTask: id=0, startKey=7480000000000000785f728000000000000001, endKey=7480000000000000785f72800000000000000300"] [2025/04/04 12:45:45.028 +00:00] [INFO] [engine.go:151] ["create one local writer for index reorg task"] ["job ID"=122] ["index ID"=2] ["worker ID"=2] ["allocate memory"=134217768] ["current memory usage"=0] ["max memory quota"=17179869184] [2025/04/04 12:45:45.028 +00:00] [INFO] [backfilling_operators.go:796] ["finish a index ingest task"] [task-id=1] [subtask-id=1] [id=0] [2025/04/04 12:45:45.043 +00:00] [INFO] [engine.go:151] ["create one local writer for index reorg task"] ["job ID"=122] ["index ID"=2] ["worker ID"=3] ["allocate memory"=134217768] ["current memory usage"=0] ["max memory quota"=17179869184] [2025/04/04 12:45:45.043 +00:00] [INFO] [engine.go:151] ["create one local writer for index reorg task"] ["job ID"=122] ["index ID"=2] ["worker ID"=4] ["allocate memory"=134217768] ["current memory usage"=0] ["max memory quota"=17179869184] [2025/04/04 12:45:45.050 +00:00] [INFO] [backfilling_operators.go:520] ["table scan operator total count"] [task-id=1] [subtask-id=1] [count=3] [2025/04/04 12:45:45.051 +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/c464b3f2-0bbd-4a33-8bcc-7a5ee92d870d.sst] [firstKey=7480000000000000785F698000000000000002038000000000000001038000000000000001] [lastKey=7480000000000000785F698000000000000002038000000000000003038000000000000003] [2025/04/04 12:45:45.056 +00:00] [INFO] [manager.go:654] ["acquire distributed lock success"] [key=/tidb/distributeLock/122] [2025/04/04 12:45:45.056 +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: 261544845312/466850480128, backend usage: 0"] [2025/04/04 12:45:45.056 +00:00] [INFO] [backend.go:289] ["set ingest ts before import"] [category=ddl-ingest] [engineUUID=8de86ffa-82e6-5f82-9981-8310a1aa3f1d] [jobID=122] [ts=457119038046208006] [2025/04/04 12:45:45.056 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineUUID=8de86ffa-82e6-5f82-9981-8310a1aa3f1d] [retryCnt=0] [2025/04/04 12:45:45.061 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:45:45.082 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=8de86ffa-82e6-5f82-9981-8310a1aa3f1d] ["region ranges"=1] [count=3] [size=114] [2025/04/04 12:45:45.082 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:45:45.084 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000785f698000000000000002038000000000000001038000000000000001] [endOfAllRanges=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [startKeyOfFirstRegion=7480000000000000ff785f698000000000ff0000020380000000ff0000000103800000ff0000000001000000fc] [endKeyOfLastRegion=7480000000000000ff785f698000000000ff0000020380000000ff0000000303800000ff0000000003000000fd] [2025/04/04 12:45:45.100 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=8de86ffa-82e6-5f82-9981-8310a1aa3f1d] [size=114] [kvs=3] [importedSize=114] [importedCount=3] [2025/04/04 12:45:45.102 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineUUID=8de86ffa-82e6-5f82-9981-8310a1aa3f1d] [retryCnt=0] [takeTime=45.48356ms] [] [2025/04/04 12:45:45.106 +00:00] [INFO] [manager.go:660] ["release distributed lock success"] [key=/tidb/distributeLock/122] [2025/04/04 12:45:45.107 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=t:2] [engineUUID=8de86ffa-82e6-5f82-9981-8310a1aa3f1d] [2025/04/04 12:45:45.109 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=t:2] [engineUUID=8de86ffa-82e6-5f82-9981-8310a1aa3f1d] [takeTime=1.372682ms] [] [2025/04/04 12:45:45.109 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=t:2] [engineUUID=8de86ffa-82e6-5f82-9981-8310a1aa3f1d] [2025/04/04 12:45:45.110 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=t:2] [engineUUID=8de86ffa-82e6-5f82-9981-8310a1aa3f1d] [takeTime=932.774µs] [] [2025/04/04 12:45:45.110 +00:00] [INFO] [backend.go:360] ["close one backend for DDL job"] [jobID=122] ["current memory usage"=0] ["max memory quota"=17179869184] [2025/04/04 12:45:45.115 +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=107.201315ms] [] [2025/04/04 12:45:45.507 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=1] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [current-step=read-index] [next-step=done] [2025/04/04 12:45:45.543 +00:00] [INFO] [read.go:674] ["Table information not found, possibly due to table being dropped"] [category=stats] [sampled=] [tableID=116] [columnID=1] [2025/04/04 12:45:45.543 +00:00] [INFO] [read.go:801] ["Table statistics item not found, possibly due to table being dropped"] [category=stats] [sampled=] [tableID=281474976710648] [indexID=1] [2025/04/04 12:45:45.544 +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/04 12:45:45.545 +00:00] [INFO] [read.go:686] ["Column information not found, possibly due to column being dropped"] [category=stats] [sampled=] [tableID=30] [columnID=8] [2025/04/04 12:45:45.816 +00:00] [INFO] [reorg.go:409] ["run reorg job done"] [category=ddl] ["handled rows"=3] [2025/04/04 12:45:45.836 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=71] [neededSchemaVersion=72] ["elapsed time"=1.713048ms] [gotSchemaVersion=72] [phyTblIDs="[120]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2025/04/04 12:45:45.840 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=122] [version=72] [2025/04/04 12:45:45.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=72] ["take time"=8.334505ms] [job="ID:122, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:120, RowCount:3, ArgLen:1, start time: 2025-04-04 12:45:43.8 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:457119037888921606, Version: v2, UniqueWarnings:0"] [2025/04/04 12:45:45.850 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=122] [conn=6] [job="ID:122, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:120, RowCount:3, ArgLen:0, start time: 2025-04-04 12:45:43.8 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:457119037888921606, Version: v2, UniqueWarnings:0"] [2025/04/04 12:45:45.851 +00:00] [INFO] [index.go:1399] ["index backfill state ready to merge"] [category=ddl] ["job ID"=122] [table=t] [index=k] [2025/04/04 12:45:45.866 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=72] [neededSchemaVersion=73] ["elapsed time"=1.621867ms] [gotSchemaVersion=73] [phyTblIDs="[120]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2025/04/04 12:45:45.869 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=122] [version=73] [2025/04/04 12:45:45.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=73] ["take time"=8.432166ms] [job="ID:122, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:120, RowCount:3, ArgLen:1, start time: 2025-04-04 12:45:43.8 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/04 12:45:45.878 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=122] [conn=6] [job="ID:122, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:120, RowCount:3, ArgLen:0, start time: 2025-04-04 12:45:43.8 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/04 12:45:45.881 +00:00] [INFO] [index.go:1418] ["temp index is empty, skipping reorg work"] [category=ddl] [jobID=122] [table=t] [2025/04/04 12:45:45.884 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: add index, Table ID: 120, Table Name: t, Index ID: 2, Index Name: k)"] [2025/04/04 12:45:45.887 +00:00] [INFO] [index.go:1129] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin] [2025/04/04 12:45:45.898 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=73] [neededSchemaVersion=74] ["elapsed time"=1.629819ms] [gotSchemaVersion=74] [phyTblIDs="[120]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2025/04/04 12:45:45.901 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=122] [version=74] [2025/04/04 12:45:45.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=74] ["take time"=8.223815ms] [job="ID:122, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:120, RowCount:3, ArgLen:1, start time: 2025-04-04 12:45:43.8 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/04 12:45:45.911 +00:00] [INFO] [delete_range.go:448] ["insert into delete-range indices"] [category=ddl] [jobID=122] [tableID=120] [indexIDs="[9223090561878065154]"] [comment="add index: physical table ID(s)"] [2025/04/04 12:45:45.915 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=122] [jobType="add index"] [2025/04/04 12:45:45.916 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=122] [conn=6] [job="ID:122, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:120, RowCount:3, ArgLen:1, start time: 2025-04-04 12:45:43.8 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/04 12:45:45.937 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=122] [2025/04/04 12:45:45.938 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 6\n# Query_time: 2.134268117\n# Parse_time: 0.000094087\n# Compile_time: 0.000316935\n# Rewrite_time: 0.000004328\n# Optimize_time: 0.000667081\n# Wait_TS: 0.000391409\n# DB: test\n# Is_internal: false\n# Digest: 1fbe1c4139cd04724109d4c37ad89fa611eb1f981f53303829eaf6e89580a83a\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nuse test;\nalter table t add index k(a);"] [2025/04/04 12:45:45.938 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=6] [schemaVersion=74] [cur_db=test] [sql="alter table t add index k(a)"] [user=] [2025/04/04 12:45:45.954 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:123, Type:drop index, State:queueing, SchemaState:public, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:45.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="alter table t drop index i"] [2025/04/04 12:45:45.954 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:123, Type:drop index, State:queueing, SchemaState:public, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:45.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:45.959 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=123] [conn=6] [job="ID:123, Type:drop index, State:queueing, SchemaState:public, SchemaID:2, TableID:120, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:45.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:45.973 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=74] [neededSchemaVersion=75] ["elapsed time"=1.526928ms] [gotSchemaVersion=75] [phyTblIDs="[120]"] [actionTypes="[8]"] [diffTypes="[\"drop index\"]"] [2025/04/04 12:45:45.976 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=123] [version=75] [2025/04/04 12:45:45.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=75] ["take time"=7.859807ms] [job="ID:123, Type:drop index, State:running, SchemaState:write only, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:45.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:45.986 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=123] [conn=6] [job="ID:123, Type:drop index, State:running, SchemaState:write only, SchemaID:2, TableID:120, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:45.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:46.001 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=75] [neededSchemaVersion=76] ["elapsed time"=1.594444ms] [gotSchemaVersion=76] [phyTblIDs="[120]"] [actionTypes="[8]"] [diffTypes="[\"drop index\"]"] [2025/04/04 12:45:46.003 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=1] [2025/04/04 12:45:46.004 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=123] [version=76] [2025/04/04 12:45:46.006 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=76] ["take time"=8.206466ms] [job="ID:123, Type:drop index, State:running, SchemaState:delete only, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:45.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:46.008 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 12:45:46.009 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=1] [2025/04/04 12:45:46.014 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=123] [conn=6] [job="ID:123, Type:drop index, State:running, SchemaState:delete only, SchemaID:2, TableID:120, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:45.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:46.029 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=76] [neededSchemaVersion=77] ["elapsed time"=1.579749ms] [gotSchemaVersion=77] [phyTblIDs="[120]"] [actionTypes="[8]"] [diffTypes="[\"drop index\"]"] [2025/04/04 12:45:46.030 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 12:45:46.032 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=123] [version=77] [2025/04/04 12:45:46.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=77] ["take time"=8.138876ms] [job="ID:123, Type:drop index, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:45.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:46.039 +00:00] [INFO] [backfilling_read_index.go:175] ["read index executor cleanup subtask exec env"] [2025/04/04 12:45:46.041 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=123] [conn=6] [job="ID:123, Type:drop index, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:120, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:45.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:46.042 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:45:46.042 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:45:46.042 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:45:46.042 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:45:46.042 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:45:46.042 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:45:46.042 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:45:46.042 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:46.042 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:46.042 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:46.042 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-4] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:45:46.042 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:45:46.044 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:45:46.044 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:46.044 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:46.044 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:46.044 +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.044995708s] [] [2025/04/04 12:45:46.044 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=1] [type=backfill] [2025/04/04 12:45:46.056 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=77] [neededSchemaVersion=78] ["elapsed time"=1.475288ms] [gotSchemaVersion=78] [phyTblIDs="[120]"] [actionTypes="[8]"] [diffTypes="[\"drop index\"]"] [2025/04/04 12:45:46.059 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=123] [version=78] [2025/04/04 12:45: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=78] ["take time"=7.918742ms] [job="ID:123, Type:drop index, State:done, SchemaState:none, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:45.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:46.069 +00:00] [INFO] [delete_range.go:448] ["insert into delete-range indices"] [category=ddl] [jobID=123] [tableID=120] [indexIDs="[1]"] [comment="drop index: table ID"] [2025/04/04 12:45:46.073 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=123] [jobType="drop index"] [2025/04/04 12:45:46.074 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=123] [conn=6] [job="ID:123, Type:drop index, State:synced, SchemaState:none, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:45.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:46.090 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=123] [2025/04/04 12:45:46.091 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=6] [schemaVersion=78] [cur_db=test] [sql="alter table t drop index i"] [user=] [2025/04/04 12:45:46.091 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="[planner:1176]Key 'i' doesn't exist in table 't'"] [SQL="select max(a) from t use index(i)"] [2025/04/04 12:45:46.099 +00:00] [INFO] [executor.go:1408] ["get flashback cluster job"] [category=ddl] [flashbackTS="2025-04-04 12:45:43.8 +0000 UTC"] [2025/04/04 12:45:46.110 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:124, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:46.099 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:46.110 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:124, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:46.099 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="flashback cluster to timestamp '2025-04-04 12:45:43.800000'"] [2025/04/04 12:45:46.115 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=124] [conn=6] [job="ID:124, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:46.099 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:46.120 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=124] [2025/04/04 12:45:46.127 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=124] [conn=6] [job="ID:124, Type:flashback cluster, State:running, SchemaState:delete only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:46.099 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:46.241 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=78] [neededSchemaVersion=79] ["elapsed time"=137.29µs] [gotSchemaVersion=79] [phyTblIDs="[-1]"] [actionTypes="[62]"] [diffTypes="[\"flashback cluster\"]"] [2025/04/04 12:45:46.244 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=124] [version=79] [2025/04/04 12:45:46.246 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=79] ["take time"=7.416209ms] [job="ID:124, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:46.099 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:46.255 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=124] [conn=6] [job="ID:124, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:46.099 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:46.286 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/04 12:45:46.289 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=32] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/04 12:45:46.292 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=5.282479ms] ["completed regions"=1] [2025/04/04 12:45:46.292 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/04 12:45:46.295 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=40] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/04 12:45:46.296 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=4.197204ms] ["completed regions"=1] [2025/04/04 12:45:46.296 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/04 12:45:46.300 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=48] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/04 12:45:46.301 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.08706ms] ["completed regions"=1] [2025/04/04 12:45:46.301 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/04 12:45:46.304 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=56] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/04 12:45:46.305 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=3.864587ms] ["completed regions"=1] [2025/04/04 12:45:46.305 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/04 12:45:46.308 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=64] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/04 12:45:46.309 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=3.832919ms] ["completed regions"=1] [2025/04/04 12:45:46.309 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/04 12:45:46.313 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=72] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/04 12:45:46.314 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=3.874119ms] ["completed regions"=1] [2025/04/04 12:45:46.314 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/04 12:45:46.317 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=80] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/04 12:45:46.318 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=3.865804ms] ["completed regions"=1] [2025/04/04 12:45:46.318 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/04 12:45:46.321 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=88] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/04 12:45:46.322 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=3.688975ms] ["completed regions"=1] [2025/04/04 12:45:46.322 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/04 12:45:46.325 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=96] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/04 12:45:46.326 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=3.682093ms] ["completed regions"=1] [2025/04/04 12:45:46.326 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/04 12:45:46.329 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=104] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/04 12:45:46.330 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=3.400472ms] ["completed regions"=1] [2025/04/04 12:45:46.330 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/04 12:45:46.333 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=112] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/04 12:45:46.334 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=3.369702ms] ["completed regions"=1] [2025/04/04 12:45:46.334 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/04 12:45:46.337 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=120] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/04 12:45:46.338 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=4.018482ms] ["completed regions"=1] [2025/04/04 12:45:46.338 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/04 12:45:46.341 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=128] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/04 12:45:46.342 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.216579ms] ["completed regions"=1] [2025/04/04 12:45:46.342 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/04 12:45:46.344 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=136] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/04 12:45:46.346 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.369983ms] ["completed regions"=1] [2025/04/04 12:45:46.346 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/04 12:45:46.348 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=144] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/04 12:45:46.349 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.277981ms] ["completed regions"=1] [2025/04/04 12:45:46.349 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/04 12:45:46.352 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=152] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/04 12:45:46.353 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.109658ms] ["completed regions"=1] [2025/04/04 12:45:46.353 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/04 12:45:46.355 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=160] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/04 12:45:46.356 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.170603ms] ["completed regions"=1] [2025/04/04 12:45:46.357 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/04 12:45:46.359 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=168] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/04 12:45:46.360 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=2.974145ms] ["completed regions"=1] [2025/04/04 12:45:46.360 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/04 12:45:46.362 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=176] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/04 12:45:46.363 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.089015ms] ["completed regions"=1] [2025/04/04 12:45:46.363 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/04 12:45:46.366 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=184] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/04 12:45:46.367 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=2.904623ms] ["completed regions"=1] [2025/04/04 12:45:46.367 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/04 12:45:46.369 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=192] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/04 12:45:46.370 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=2.883128ms] ["completed regions"=1] [2025/04/04 12:45:46.370 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/04 12:45:46.372 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=200] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/04 12:45:46.373 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=2.855512ms] ["completed regions"=1] [2025/04/04 12:45:46.373 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/04 12:45:46.376 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=208] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/04 12:45:46.377 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=2.879401ms] ["completed regions"=1] [2025/04/04 12:45:46.377 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/04 12:45:46.379 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=216] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/04 12:45:46.380 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=2.659042ms] ["completed regions"=1] [2025/04/04 12:45:46.380 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/04 12:45:46.382 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=224] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/04 12:45:46.383 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=2.556907ms] ["completed regions"=1] [2025/04/04 12:45:46.383 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/04 12:45:46.385 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=232] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/04 12:45:46.386 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=2.715073ms] ["completed regions"=1] [2025/04/04 12:45:46.386 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/04 12:45:46.388 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=240] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/04 12:45:46.389 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=2.641955ms] ["completed regions"=1] [2025/04/04 12:45:46.389 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/04 12:45:46.391 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=248] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/04 12:45:46.392 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.428633ms] ["completed regions"=1] [2025/04/04 12:45:46.392 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/04 12:45:46.394 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=256] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/04 12:45:46.394 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=2.49409ms] ["completed regions"=1] [2025/04/04 12:45:46.395 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/04 12:45:46.396 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=264] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/04 12:45:46.397 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.430087ms] ["completed regions"=1] [2025/04/04 12:45:46.397 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/04 12:45:46.399 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=272] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/04 12:45:46.400 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.333095ms] ["completed regions"=1] [2025/04/04 12:45:46.400 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/04 12:45:46.402 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=280] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/04 12:45:46.403 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.275763ms] ["completed regions"=1] [2025/04/04 12:45:46.403 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/04 12:45:46.404 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=288] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/04 12:45:46.405 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.262048ms] ["completed regions"=1] [2025/04/04 12:45:46.405 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/04 12:45:46.407 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=296] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/04 12:45:46.408 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.08128ms] ["completed regions"=1] [2025/04/04 12:45:46.408 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/04 12:45:46.409 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=304] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/04 12:45:46.410 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.208209ms] ["completed regions"=1] [2025/04/04 12:45:46.411 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/04 12:45:46.412 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=312] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/04 12:45:46.413 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.083797ms] ["completed regions"=1] [2025/04/04 12:45:46.413 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/04 12:45:46.414 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=320] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/04 12:45:46.415 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=1.870094ms] ["completed regions"=1] [2025/04/04 12:45:46.415 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/04 12:45:46.417 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=328] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/04 12:45:46.418 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.061835ms] ["completed regions"=1] [2025/04/04 12:45:46.418 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/04 12:45:46.419 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=336] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/04 12:45:46.420 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=1.82145ms] ["completed regions"=1] [2025/04/04 12:45:46.420 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/04 12:45:46.421 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=344] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/04 12:45:46.422 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=1.820493ms] ["completed regions"=1] [2025/04/04 12:45:46.422 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/04 12:45:46.423 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=352] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/04 12:45:46.424 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=1.69188ms] ["completed regions"=1] [2025/04/04 12:45:46.424 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/04 12:45:46.425 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=360] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/04 12:45:46.426 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=1.594388ms] ["completed regions"=1] [2025/04/04 12:45:46.426 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/04 12:45:46.427 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=372] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/04 12:45:46.428 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=376] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/04 12:45:46.430 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=368] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/04 12:45:46.431 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=4.189522ms] ["completed regions"=3] [2025/04/04 12:45:46.437 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=124] [2025/04/04 12:45:46.443 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=124] [conn=6] [job="ID:124, Type:flashback cluster, State:running, SchemaState:write reorganization, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:46.099 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:46.444 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/04 12:45:46.447 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=32] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/04 12:45:46.449 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=1] ["total regions"=45] [] [2025/04/04 12:45:46.449 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=4.724768ms] ["completed regions"=1] [2025/04/04 12:45:46.449 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/04 12:45:46.452 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=40] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/04 12:45:46.453 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=2] ["total regions"=45] [] [2025/04/04 12:45:46.453 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=4.099568ms] ["completed regions"=1] [2025/04/04 12:45:46.454 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/04 12:45:46.456 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=48] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/04 12:45:46.458 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=3] ["total regions"=45] [] [2025/04/04 12:45:46.458 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=3.94965ms] ["completed regions"=1] [2025/04/04 12:45:46.458 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/04 12:45:46.461 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=56] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/04 12:45:46.462 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=4] ["total regions"=45] [] [2025/04/04 12:45:46.462 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=3.812397ms] ["completed regions"=1] [2025/04/04 12:45:46.462 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/04 12:45:46.465 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=64] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/04 12:45:46.466 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=5] ["total regions"=45] [] [2025/04/04 12:45:46.466 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=3.619937ms] ["completed regions"=1] [2025/04/04 12:45:46.466 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/04 12:45:46.469 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=72] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/04 12:45:46.470 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=6] ["total regions"=45] [] [2025/04/04 12:45:46.470 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=3.60722ms] ["completed regions"=1] [2025/04/04 12:45:46.470 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/04 12:45:46.473 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=80] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/04 12:45:46.474 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=7] ["total regions"=45] [] [2025/04/04 12:45:46.474 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=3.734461ms] ["completed regions"=1] [2025/04/04 12:45:46.474 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/04 12:45:46.477 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=88] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/04 12:45:46.478 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=8] ["total regions"=45] [] [2025/04/04 12:45:46.478 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=3.700128ms] ["completed regions"=1] [2025/04/04 12:45:46.478 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/04 12:45:46.481 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=96] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/04 12:45:46.482 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=9] ["total regions"=45] [] [2025/04/04 12:45:46.482 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=3.799372ms] ["completed regions"=1] [2025/04/04 12:45:46.482 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/04 12:45:46.485 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=104] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/04 12:45:46.486 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=10] ["total regions"=45] [] [2025/04/04 12:45:46.486 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=3.675112ms] ["completed regions"=1] [2025/04/04 12:45:46.486 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/04 12:45:46.489 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=112] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/04 12:45:46.490 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=11] ["total regions"=45] [] [2025/04/04 12:45:46.491 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=3.678684ms] ["completed regions"=1] [2025/04/04 12:45:46.491 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/04 12:45:46.493 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=120] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/04 12:45:46.496 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=12] ["total regions"=45] [] [2025/04/04 12:45:46.496 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=4.675463ms] ["completed regions"=1] [2025/04/04 12:45:46.496 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/04 12:45:46.498 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=128] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/04 12:45:46.499 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=13] ["total regions"=45] [] [2025/04/04 12:45:46.499 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.370425ms] ["completed regions"=1] [2025/04/04 12:45:46.499 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/04 12:45:46.502 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=136] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/04 12:45:46.503 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=14] ["total regions"=45] [] [2025/04/04 12:45:46.503 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.527269ms] ["completed regions"=1] [2025/04/04 12:45:46.503 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/04 12:45:46.506 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=144] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/04 12:45:46.507 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=15] ["total regions"=45] [] [2025/04/04 12:45:46.507 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.457592ms] ["completed regions"=1] [2025/04/04 12:45:46.507 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/04 12:45:46.510 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=152] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/04 12:45:46.511 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=16] ["total regions"=45] [] [2025/04/04 12:45:46.511 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.258638ms] ["completed regions"=1] [2025/04/04 12:45:46.511 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/04 12:45:46.513 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=160] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/04 12:45:46.514 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=17] ["total regions"=45] [] [2025/04/04 12:45:46.514 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.179959ms] ["completed regions"=1] [2025/04/04 12:45:46.514 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/04 12:45:46.517 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=168] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/04 12:45:46.518 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=18] ["total regions"=45] [] [2025/04/04 12:45:46.518 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.094248ms] ["completed regions"=1] [2025/04/04 12:45:46.518 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/04 12:45:46.520 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=176] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/04 12:45:46.521 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=19] ["total regions"=45] [] [2025/04/04 12:45:46.521 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.032724ms] ["completed regions"=1] [2025/04/04 12:45:46.521 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/04 12:45:46.524 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=184] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/04 12:45:46.525 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=20] ["total regions"=45] [] [2025/04/04 12:45:46.525 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.072755ms] ["completed regions"=1] [2025/04/04 12:45:46.525 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/04 12:45:46.527 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=192] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/04 12:45:46.528 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=21] ["total regions"=45] [] [2025/04/04 12:45:46.528 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=2.894573ms] ["completed regions"=1] [2025/04/04 12:45:46.528 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/04 12:45:46.530 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=200] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/04 12:45:46.531 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=22] ["total regions"=45] [] [2025/04/04 12:45:46.531 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=3.028825ms] ["completed regions"=1] [2025/04/04 12:45:46.532 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/04 12:45:46.534 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=208] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/04 12:45:46.535 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=23] ["total regions"=45] [] [2025/04/04 12:45:46.535 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=2.947793ms] ["completed regions"=1] [2025/04/04 12:45:46.535 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/04 12:45:46.537 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=216] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/04 12:45:46.538 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=24] ["total regions"=45] [] [2025/04/04 12:45:46.538 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=2.914868ms] ["completed regions"=1] [2025/04/04 12:45:46.538 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/04 12:45:46.540 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=224] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/04 12:45:46.541 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=25] ["total regions"=45] [] [2025/04/04 12:45:46.541 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=2.674375ms] ["completed regions"=1] [2025/04/04 12:45:46.541 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/04 12:45:46.543 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=232] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/04 12:45:46.544 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=26] ["total regions"=45] [] [2025/04/04 12:45:46.544 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=2.583518ms] ["completed regions"=1] [2025/04/04 12:45:46.544 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/04 12:45:46.546 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=240] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/04 12:45:46.547 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=27] ["total regions"=45] [] [2025/04/04 12:45:46.547 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=2.676505ms] ["completed regions"=1] [2025/04/04 12:45:46.547 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/04 12:45:46.549 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=248] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/04 12:45:46.550 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=28] ["total regions"=45] [] [2025/04/04 12:45:46.550 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.628333ms] ["completed regions"=1] [2025/04/04 12:45:46.550 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/04 12:45:46.552 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=256] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/04 12:45:46.553 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=29] ["total regions"=45] [] [2025/04/04 12:45:46.553 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=2.57811ms] ["completed regions"=1] [2025/04/04 12:45:46.553 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/04 12:45:46.555 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=264] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/04 12:45:46.556 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=30] ["total regions"=45] [] [2025/04/04 12:45:46.556 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.584973ms] ["completed regions"=1] [2025/04/04 12:45:46.556 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/04 12:45:46.558 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=272] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/04 12:45:46.559 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=31] ["total regions"=45] [] [2025/04/04 12:45:46.559 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.553577ms] ["completed regions"=1] [2025/04/04 12:45:46.559 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/04 12:45:46.561 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=280] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/04 12:45:46.562 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=32] ["total regions"=45] [] [2025/04/04 12:45:46.562 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.444169ms] ["completed regions"=1] [2025/04/04 12:45:46.562 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/04 12:45:46.564 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=288] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/04 12:45:46.565 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=33] ["total regions"=45] [] [2025/04/04 12:45:46.565 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.390319ms] ["completed regions"=1] [2025/04/04 12:45:46.565 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/04 12:45:46.567 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=296] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/04 12:45:46.568 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=34] ["total regions"=45] [] [2025/04/04 12:45:46.568 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.504869ms] ["completed regions"=1] [2025/04/04 12:45:46.568 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/04 12:45:46.569 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=304] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/04 12:45:46.570 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=35] ["total regions"=45] [] [2025/04/04 12:45:46.570 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.264355ms] ["completed regions"=1] [2025/04/04 12:45:46.570 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/04 12:45:46.572 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=312] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/04 12:45:46.573 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=36] ["total regions"=45] [] [2025/04/04 12:45:46.573 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.142201ms] ["completed regions"=1] [2025/04/04 12:45:46.573 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/04 12:45:46.574 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=320] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/04 12:45:46.575 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=37] ["total regions"=45] [] [2025/04/04 12:45:46.575 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.124673ms] ["completed regions"=1] [2025/04/04 12:45:46.575 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/04 12:45:46.577 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=328] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/04 12:45:46.578 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=38] ["total regions"=45] [] [2025/04/04 12:45:46.578 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=1.960638ms] ["completed regions"=1] [2025/04/04 12:45:46.578 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/04 12:45:46.579 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=336] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/04 12:45:46.580 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=39] ["total regions"=45] [] [2025/04/04 12:45:46.580 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=2.054548ms] ["completed regions"=1] [2025/04/04 12:45:46.580 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/04 12:45:46.582 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=344] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/04 12:45:46.583 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=40] ["total regions"=45] [] [2025/04/04 12:45:46.583 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=2.060206ms] ["completed regions"=1] [2025/04/04 12:45:46.583 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/04 12:45:46.584 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=352] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/04 12:45:46.585 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=41] ["total regions"=45] [] [2025/04/04 12:45:46.585 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=1.931946ms] ["completed regions"=1] [2025/04/04 12:45:46.585 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/04 12:45:46.586 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=360] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/04 12:45:46.587 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=42] ["total regions"=45] [] [2025/04/04 12:45:46.587 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=1.750316ms] ["completed regions"=1] [2025/04/04 12:45:46.587 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/04 12:45:46.588 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=372] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/04 12:45:46.589 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=376] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/04 12:45:46.592 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=368] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/04 12:45:46.593 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=45] ["total regions"=45] [] [2025/04/04 12:45:46.593 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=5.926544ms] ["completed regions"=3] [2025/04/04 12:45:46.594 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: flashback cluster)"] [2025/04/04 12:45:46.608 +00:00] [ERROR] [domain.go:375] ["failed to load schema diff"] [error="Meets a schema diff with RegenerateSchemaMap flag"] [errorVerbose="Meets a schema diff with RegenerateSchemaMap flag\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).tryLoadSchemaDiffs\n\tpkg/domain/domain.go:652\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:358\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:375\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103"] [2025/04/04 12:45:46.688 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=79] [neededSchemaVersion=80] ["elapsed time"=80.429884ms] [2025/04/04 12:45:46.688 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 12:45:46.691 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=124] [version=80] [2025/04/04 12:45:46.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=80] ["take time"=87.507424ms] [job="ID:124, Type:flashback cluster, State:done, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:46.099 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:46.765 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=124] [conn=6] [job="ID:124, Type:flashback cluster, State:synced, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:46.099 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:46.776 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=124] [2025/04/04 12:45:46.777 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 6\n# Query_time: 0.678219376\n# Parse_time: 0.000067227\n# Compile_time: 0.000256253\n# Rewrite_time: 0.000002409\n# Optimize_time: 0.000585398\n# Wait_TS: 0.000468916\n# DB: test\n# Is_internal: false\n# Digest: af09c17df48245f34604ebcd1fb822f4f2360c5d282fb4cb3aeced6fc3c852fa\n# Mem_max: 8192\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nflashback cluster to timestamp '2025-04-04 12:45:43.800000';"] [2025/04/04 12:45:46.778 +00:00] [INFO] [check_table_index.go:434] ["fast check table by group"] ["table name"=t] ["index name"=i] [times=1] ["current offset"=0] ["current mod"=1] ["table sql"="select /*+ read_from_storage(tikv[`test`.`t`]) */ bit_xor(crc32(md5(concat_ws(0x2, `_tidb_rowid`, `a`)))), ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024), count(*) from `test`.`t` use index() where 0 = 0 group by ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024)"] ["index sql"="select bit_xor(crc32(md5(concat_ws(0x2, `_tidb_rowid`, `a`)))), ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024), count(*) from `test`.`t` use index(`i`) where 0 = 0 group by ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024)"] [2025/04/04 12:45:46.796 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="[planner:1176]Key 'k' doesn't exist in table 't'"] [SQL="select max(a) from t use index(k)"] [2025/04/04 12:45:46.799 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 12:45:46.799 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=4d87cad0-d655-4292-9cba-ada76241e639] [] [2025/04/04 12:45:46.799 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=4d87cad0-d655-4292-9cba-ada76241e639] [2025/04/04 12:45:46.799 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 12:45:46.799 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:45:46.799 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 18, tp add index"] ["take time"=38.828µs] [2025/04/04 12:45:46.800 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:45:46.800 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 16, tp general"] ["take time"=42.613µs] [2025/04/04 12:45:46.800 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 17, tp general"] ["take time"=33.362µs] [2025/04/04 12:45:46.800 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 19, tp general"] ["take time"=40.236µs] [2025/04/04 12:45:46.800 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 20, tp general"] ["take time"=32.07µs] [2025/04/04 12:45:46.800 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=4d87cad0-d655-4292-9cba-ada76241e639] [2025/04/04 12:45:46.800 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=4d87cad0-d655-4292-9cba-ada76241e639] [2025/04/04 12:45:46.801 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 12:45:46.801 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 12:45:46.803 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=4d87cad0-d655-4292-9cba-ada76241e639] ["take time"=3.816973ms] [2025/04/04 12:45:46.803 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=4d87cad0-d655-4292-9cba-ada76241e639] [2025/04/04 12:45:46.803 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 12:45:46.803 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/ad5842e0-45a7-4878-abd2-1b91ad31cbb5] [watcherID=1e3f22ef-3440-4cdb-8c9c-ec86f9a41f70] [2025/04/04 12:45:46.803 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/04 12:45:46.803 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/ad5842e0-45a7-4878-abd2-1b91ad31cbb5] [2025/04/04 12:45:46.803 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=4d87cad0-d655-4292-9cba-ada76241e639] [ttl-worker=task-manager] [ttl-worker=4d87cad0-d655-4292-9cba-ada76241e639] [originalCount=4] [newCount=0] [2025/04/04 12:45:46.803 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:45:46.803 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:45:46.803 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:45:46.803 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:45:46.804 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=4d87cad0-d655-4292-9cba-ada76241e639] [ttl-worker=task-manager] [ttl-worker=4d87cad0-d655-4292-9cba-ada76241e639] [originalCount=4] [newCount=0] [2025/04/04 12:45:46.806 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:45:46.806 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:45:46.806 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:45:46.806 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:45:46.808 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=4d87cad0-d655-4292-9cba-ada76241e639] [2025/04/04 12:45:46.808 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 12:45:46.809 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=552] [2025/04/04 12:45:46.809 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=098558fd-4a47-4dc4-aba2-f1ae09b6d07e] [] [2025/04/04 12:45:46.809 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 12:45:46.809 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 12:45:46.809 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 12:45:46.809 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 12:45:46.809 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:45:46.809 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 12:45:46.809 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 12:45:46.809 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:45:46.809 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 12:45:46.809 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 12:45:46.809 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 12:45:46.809 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 12:45:46.809 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 12:45:46.809 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:45:46.809 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 12:45:46.809 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:45:46.809 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:45:46.809 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 12:45:46.809 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 12:45:46.809 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 12:45:46.809 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 12:45:46.809 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 12:45:46.809 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 12:45:46.809 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 12:45:46.809 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 12:45:46.809 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:45:46.809 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 12:45:46.809 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:45:46.809 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:45:46.809 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:45:46.809 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:45:46.809 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:45:46.809 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:45:46.809 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 12:45:46.809 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:45:46.809 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=098558fd-4a47-4dc4-aba2-f1ae09b6d07e] [2025/04/04 12:45:46.810 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:45:46.810 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=098558fd-4a47-4dc4-aba2-f1ae09b6d07e] [2025/04/04 12:45:46.809 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:45:46.809 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:45:46.809 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 12:45:46.810 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:45:46.810 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:45:46.809 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:45:46.809 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 12:45:46.810 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:45:46.809 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:45:46.810 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:45:46.809 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:45:46.809 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 12:45:46.809 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:45:46.810 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:45:46.809 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=4d87cad0-d655-4292-9cba-ada76241e639] [2025/04/04 12:45:46.809 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:45:46.809 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:45:46.809 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:45:46.809 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:45:46.810 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/04 12:45:46.809 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:45:46.810 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/04 12:45:46.809 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:45:46.810 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:45:46.810 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=098558fd-4a47-4dc4-aba2-f1ae09b6d07e] [2025/04/04 12:45:46.810 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/04 12:45:46.810 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/04 12:45:46.810 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:45:46.810 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=4d87cad0-d655-4292-9cba-ada76241e639] [2025/04/04 12:45:46.810 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 12:45:46.810 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 12:45:46.810 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 12:45:46.810 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 12:45:46.810 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/stats/owner] [id=4d87cad0-d655-4292-9cba-ada76241e639] [error="context canceled"] [2025/04/04 12:45:46.810 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:45:46.810 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=4d87cad0-d655-4292-9cba-ada76241e639] [2025/04/04 12:45:46.811 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=098558fd-4a47-4dc4-aba2-f1ae09b6d07e] [daemon-id=LogBackup::Advancer] [2025/04/04 12:45:46.811 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 12:45:46.811 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:45:46.811 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 12:45:46.811 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 12:45:46.811 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:45:46.811 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:45:46.811 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=4d87cad0-d655-4292-9cba-ada76241e639] [error="context canceled"] [2025/04/04 12:45:46.811 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 12:45:46.812 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 12:45:46.812 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 12:45:46.812 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:45:46.812 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=4d87cad0-d655-4292-9cba-ada76241e639] [error="context canceled"] [2025/04/04 12:45:46.812 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=4d87cad0-d655-4292-9cba-ada76241e639] [2025/04/04 12:45:46.812 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=4d87cad0-d655-4292-9cba-ada76241e639] [error="context canceled"] [2025/04/04 12:45:46.813 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=4d87cad0-d655-4292-9cba-ada76241e639] [error="context canceled"] [errorVerbose="context canceled\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:45:46.827 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 12:45:46.827 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:45:46.872 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 12:45:46.872 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:45:46.883 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=83.366783ms] [2025/04/04 12:45:46.885 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:45:46.885 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:45:46.885 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:45:46.885 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:45:46.885 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:45:46.885 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:45:46.885 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:45:46.885 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:46.885 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:46.885 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:46.885 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-3] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:45:46.885 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:45:46.886 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestFlashbackAddDropIndex (4.57s) === NAME === RUN TestFlashbackAddDropModifyColumn [2025/04/04 12:45:46.893 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 12:45:46.894 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 12:45:46.894 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437820018004919] [2025/04/04 12:45:46.895 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:45:46.895 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 12:45:46.895 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:45:46.895 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:45:46.895 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:45:46.895 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:45:46.896 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:45:46.896 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:45:46.899 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 12:45:46.904 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:45:46.905 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:45:46.905 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:45:46.918 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489437820018004919] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 12:45:46.929 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 12:45:46.962 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=126] ["lease id"=3eaa9600d42f9560] [2025/04/04 12:45:46.964 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/04 12:45:47.049 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=80] ["elapsed time"=82.495383ms] [2025/04/04 12:45:47.049 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 12:45:47.051 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 12:45:47.060 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=3a7e65b4-f600-4bd1-a0f9-ce2d3322329a] [runWorker=true] [jobVersion=v2] [2025/04/04 12:45:47.060 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 12:45:47.062 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=3a7e65b4-f600-4bd1-a0f9-ce2d3322329a] [2025/04/04 12:45:47.063 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 12:45:47.063 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 261544935424/466850480128, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 12:45:47.063 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:45:47.063 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:45:47.063 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:45:47.063 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:45:47.063 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:45:47.063 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:45:47.063 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:45:47.063 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 12:45:47.063 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:45:47.064 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:45:47.064 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:45:47.064 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 12:45:47.064 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=cbf22a45-3945-4951-8d45-98008b27370f] [2025/04/04 12:45:47.065 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f189600d42f97dd] [ownerID=3a7e65b4-f600-4bd1-a0f9-ce2d3322329a] [op=none] [2025/04/04 12:45:47.065 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=3a7e65b4-f600-4bd1-a0f9-ce2d3322329a] [2025/04/04 12:45:47.066 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=3a7e65b4-f600-4bd1-a0f9-ce2d3322329a] [ownerKey=/tidb/ddl/fg/owner/6f189600d42f97dd] [currRev=426] [2025/04/04 12:45:47.066 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:45:47.066 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=cbf22a45-3945-4951-8d45-98008b27370f] [daemon-id=LogBackup::Advancer] [2025/04/04 12:45:47.067 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/22319600d42f94e1] [ownerID=cbf22a45-3945-4951-8d45-98008b27370f] [op=none] [2025/04/04 12:45:47.067 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=cbf22a45-3945-4951-8d45-98008b27370f] [2025/04/04 12:45:47.067 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 12:45:47.067 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=cbf22a45-3945-4951-8d45-98008b27370f] [ownerKey=/tidb/br-stream/owner/22319600d42f94e1] [currRev=427] [2025/04/04 12:45:47.067 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f189600d42f97dd] [ownerID=3a7e65b4-f600-4bd1-a0f9-ce2d3322329a] [op=none] [2025/04/04 12:45:47.068 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=3a7e65b4-f600-4bd1-a0f9-ce2d3322329a] [op=none] [2025/04/04 12:45:47.068 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 12:45:47.073 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=3a7e65b4-f600-4bd1-a0f9-ce2d3322329a] [2025/04/04 12:45:47.074 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:45:47.074 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 12:45:47.082 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:45:47.089 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:45:47.094 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:45:47.094 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:45:47.094 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:45:47.094 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 12:45:47.095 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:45:47.095 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 12:45:47.095 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 12:45:47.095 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 12:45:47.095 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 12:45:47.095 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:45:47.095 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=3a7e65b4-f600-4bd1-a0f9-ce2d3322329a] [2025/04/04 12:45:47.096 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:45:47.096 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:45:47.096 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:45:47.096 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:45:47.096 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 12:45:47.096 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:45:47.096 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 12:45:47.096 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:45:47.097 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:45:47.097 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:45:47.097 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 12:45:47.097 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:45:47.097 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:45:47.097 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:45:47.097 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:45:47.099 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=434.8GiB] [2025/04/04 12:45:47.101 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/bfc66605-9ac9-437e-aa9f-4355e37b6579] [2025/04/04 12:45:47.101 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=3a7e65b4-f600-4bd1-a0f9-ce2d3322329a] [ttl-worker=task-manager] [ttl-worker=3a7e65b4-f600-4bd1-a0f9-ce2d3322329a] [originalCount=0] [newCount=4] [2025/04/04 12:45:47.102 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=3a7e65b4-f600-4bd1-a0f9-ce2d3322329a] [ttl-worker=task-manager] [ttl-worker=3a7e65b4-f600-4bd1-a0f9-ce2d3322329a] [originalCount=0] [newCount=4] [2025/04/04 12:45:47.102 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=3a7e65b4-f600-4bd1-a0f9-ce2d3322329a] [2025/04/04 12:45:47.163 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 12:45:47.165 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:45:47.165 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 12:45:47.165 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743770747165511206 [2025/04/04 12:45:47.170 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 12:45:47.178 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=82.941028ms] [2025/04/04 12:45:47.178 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 12:45:47.179 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:45:47.181 +00:00] [INFO] [set.go:172] ["set global var"] [conn=7] [name=tidb_schema_cache_size] [val=0] [2025/04/04 12:45:47.202 +00:00] [INFO] [set.go:172] ["set global var"] [conn=7] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 12:45:47.204 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=7] [schemaVersion=80] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/04 12:45:47.217 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:125, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:47.201 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:47.217 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:125, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:47.201 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`"] [2025/04/04 12:45:47.223 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=125] [conn=7] [job="ID:125, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:120, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:47.201 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:47.239 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=80] [neededSchemaVersion=81] ["elapsed time"=1.846104ms] [gotSchemaVersion=81] [phyTblIDs="[120]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:45:47.243 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=125] [version=81] [2025/04/04 12:45:47.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=81] ["take time"=9.291233ms] [job="ID:125, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:47.201 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:47.254 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=125] [conn=7] [job="ID:125, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:120, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:47.201 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:47.269 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=81] [neededSchemaVersion=82] ["elapsed time"=1.843853ms] [gotSchemaVersion=82] [phyTblIDs="[120]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:45:47.272 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=125] [version=82] [2025/04/04 12:45:47.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=82] ["take time"=8.571324ms] [job="ID:125, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:47.201 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:47.281 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=125] [conn=7] [job="ID:125, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:120, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:47.201 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:47.288 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 120, Old Table Name: t)"] [2025/04/04 12:45:47.300 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=82] [neededSchemaVersion=83] ["elapsed time"=1.094294ms] [gotSchemaVersion=83] [phyTblIDs="[120]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:45:47.304 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=125] [version=83] [2025/04/04 12:45:47.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=83] ["take time"=8.084415ms] [job="ID:125, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:47.201 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:47.314 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=125] [tableIDs="[120]"] [comment="drop table: table ID"] [2025/04/04 12:45:47.321 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=125] [jobType="drop table"] [2025/04/04 12:45:47.322 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=125] [conn=7] [job="ID:125, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:47.201 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:47.340 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=125] [2025/04/04 12:45:47.340 +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: 1743770747341027462 [2025/04/04 12:45:47.352 +00:00] [INFO] [set.go:172] ["set global var"] [conn=8] [name=tidb_schema_cache_size] [val=0] [2025/04/04 12:45:47.366 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=8] [schemaVersion=83] [cur_db=test] [sql="drop table if exists t"] [user=] [2025/04/04 12:45:47.378 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:127, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:47.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t(a int, b int, index i(a))"] [2025/04/04 12:45:47.378 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:127, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:47.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:47.384 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=127] [conn=8] [job="ID:127, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:126, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:47.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:47.389 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 126, Table Name: t)"] [2025/04/04 12:45:47.403 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=83] [neededSchemaVersion=84] ["elapsed time"=1.627028ms] [gotSchemaVersion=84] [phyTblIDs="[126]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:47.406 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=127] [version=84] [2025/04/04 12:45:47.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=84] ["take time"=8.179293ms] [job="ID:127, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:47.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:47.419 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=127] [conn=8] [job="ID:127, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:126, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:47.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:47.430 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=127] [2025/04/04 12:45:47.430 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=8] [schemaVersion=84] [cur_db=test] [sql="create table t(a int, b int, index i(a))"] [user=] [2025/04/04 12:45:48.074 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/04 12:45:48.074 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 12:45:48.074 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 12:45:48.074 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:45:48.101 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/04 12:45:48.102 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/04 12:45:48.102 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/bfc66605-9ac9-437e-aa9f-4355e37b6579] [watcherID=c7579c4a-ebde-4cd5-aaa4-3653673f79b7] [2025/04/04 12:45:48.166 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/04 12:45:48.170 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/04 12:45:48.170 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/04 12:45:48.170 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/04 12:45:48.170 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/04 12:45:48.452 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:128, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:48.4 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:48.452 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:128, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:48.4 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="alter table t add column c int"] [2025/04/04 12:45:48.457 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=128] [conn=8] [job="ID:128, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:126, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:48.4 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:48.459 +00:00] [INFO] [add_column.go:82] ["run add column job"] [category=ddl] [job="ID:128, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:48.4 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [columnInfo="{\"id\":3,\"name\":{\"O\":\"c\",\"L\":\"c\"},\"offset\":2,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2025/04/04 12:45:48.474 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=84] [neededSchemaVersion=85] ["elapsed time"=1.788685ms] [gotSchemaVersion=85] [phyTblIDs="[126]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2025/04/04 12:45:48.477 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=128] [version=85] [2025/04/04 12:45:48.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=85] ["take time"=8.742838ms] [job="ID:128, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:48.4 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:48.488 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=128] [conn=8] [job="ID:128, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:126, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:48.4 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:48.504 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=85] [neededSchemaVersion=86] ["elapsed time"=1.708386ms] [gotSchemaVersion=86] [phyTblIDs="[126]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2025/04/04 12:45:48.507 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=128] [version=86] [2025/04/04 12:45:48.509 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=86] ["take time"=8.385705ms] [job="ID:128, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:48.4 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:48.517 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=128] [conn=8] [job="ID:128, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:126, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:48.4 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:48.532 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=86] [neededSchemaVersion=87] ["elapsed time"=1.779987ms] [gotSchemaVersion=87] [phyTblIDs="[126]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2025/04/04 12:45:48.536 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=128] [version=87] [2025/04/04 12:45:48.538 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=87] ["take time"=8.552546ms] [job="ID:128, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:48.4 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:48.546 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=128] [conn=8] [job="ID:128, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:126, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:48.4 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:48.551 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: add column, Table ID: 126, Table Name: t, Column ID: 3, Column Name: c)"] [2025/04/04 12:45:48.566 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=87] [neededSchemaVersion=88] ["elapsed time"=1.826808ms] [gotSchemaVersion=88] [phyTblIDs="[126]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2025/04/04 12:45:48.570 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=128] [version=88] [2025/04/04 12:45:48.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=88] ["take time"=9.354973ms] [job="ID:128, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:48.4 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:48.582 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=128] [conn=8] [job="ID:128, Type:add column, State:synced, SchemaState:public, SchemaID:2, TableID:126, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:48.4 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:48.594 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=128] [2025/04/04 12:45:48.594 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=8] [schemaVersion=88] [cur_db=test] [sql="alter table t add column c int"] [user=] [2025/04/04 12:45:48.606 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:129, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:48.55 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:48.606 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:129, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:48.55 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="alter table t drop column b"] [2025/04/04 12:45:48.612 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=129] [conn=8] [job="ID:129, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:126, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:48.55 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:48.628 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=88] [neededSchemaVersion=89] ["elapsed time"=1.761869ms] [gotSchemaVersion=89] [phyTblIDs="[126]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2025/04/04 12:45:48.631 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=129] [version=89] [2025/04/04 12:45:48.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=89] ["take time"=8.686089ms] [job="ID:129, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:48.55 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:48.643 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=129] [conn=8] [job="ID:129, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:126, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:48.55 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:48.658 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=89] [neededSchemaVersion=90] ["elapsed time"=1.677475ms] [gotSchemaVersion=90] [phyTblIDs="[126]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2025/04/04 12:45:48.661 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=129] [version=90] [2025/04/04 12:45:48.663 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=90] ["take time"=8.234484ms] [job="ID:129, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:48.55 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:48.671 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=129] [conn=8] [job="ID:129, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:126, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:48.55 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:48.687 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=90] [neededSchemaVersion=91] ["elapsed time"=1.79993ms] [gotSchemaVersion=91] [phyTblIDs="[126]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2025/04/04 12:45:48.691 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=129] [version=91] [2025/04/04 12:45: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=91] ["take time"=8.738696ms] [job="ID:129, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:48.55 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:48.701 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=129] [conn=8] [job="ID:129, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:126, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:48.55 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:48.717 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=91] [neededSchemaVersion=92] ["elapsed time"=1.685406ms] [gotSchemaVersion=92] [phyTblIDs="[126]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2025/04/04 12:45:48.721 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=129] [version=92] [2025/04/04 12:45:48.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=92] ["take time"=8.710182ms] [job="ID:129, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:48.55 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:48.732 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=129] [jobType="drop column"] [2025/04/04 12:45:48.733 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=129] [conn=8] [job="ID:129, Type:drop column, State:synced, SchemaState:none, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:48.55 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:48.752 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=129] [2025/04/04 12:45:48.752 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=8] [schemaVersion=92] [cur_db=test] [sql="alter table t drop column b"] [user=] [2025/04/04 12:45:48.754 +00:00] [INFO] [executor.go:5057] ["initialize reorg meta"] [category=ddl] [jobSchema=test] [jobTable=t] [jobType="modify column"] [enableDistTask=false] [enableFastReorg=false] [targetScope=] [maxNodeCount=0] [concurrency=4] [batchSize=256] [2025/04/04 12:45:48.765 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:130, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:48.75 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [query="alter table t modify column a tinyint"] [2025/04/04 12:45:48.765 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:130, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:48.75 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0; "] [fast_create=true] [2025/04/04 12:45:48.771 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=130] [conn=8] [job="ID:130, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:126, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:48.75 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/04 12:45:48.789 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=92] [neededSchemaVersion=93] ["elapsed time"=1.91485ms] [gotSchemaVersion=93] [phyTblIDs="[126]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2025/04/04 12:45:48.792 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=130] [version=93] [2025/04/04 12:45:48.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=93] ["take time"=8.641071ms] [job="ID:130, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:48.75 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/04 12:45:48.803 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=130] [conn=8] [job="ID:130, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:126, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:48.75 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/04 12:45:48.823 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=93] [neededSchemaVersion=94] ["elapsed time"=1.847334ms] [gotSchemaVersion=94] [phyTblIDs="[126]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2025/04/04 12:45:48.827 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=130] [version=94] [2025/04/04 12:45:48.828 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=94] ["take time"=12.273401ms] [job="ID:130, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:48.75 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/04 12:45:48.837 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=130] [conn=8] [job="ID:130, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:126, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:48.75 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/04 12:45:48.853 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=94] [neededSchemaVersion=95] ["elapsed time"=1.875756ms] [gotSchemaVersion=95] [phyTblIDs="[126]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2025/04/04 12:45:48.856 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=130] [version=95] [2025/04/04 12:45:48.858 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=95] ["take time"=8.418695ms] [job="ID:130, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:48.75 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/04 12:45:48.866 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=130] [conn=8] [job="ID:130, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:126, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:48.75 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/04 12:45:48.870 +00:00] [INFO] [reorg.go:913] ["job get table range"] [category=ddl] [jobID=130] [physicalTableID=126] [startKey=74800000000000007e5f728000000000000001] [endKey=74800000000000007e5f72800000000000000300] [2025/04/04 12:45:48.884 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=130] [2025/04/04 12:45:48.890 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=130] [conn=8] [job="ID:130, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:126, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:48.75 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:457119039186272262, Version: v2, UniqueWarnings:0"] [2025/04/04 12:45:48.896 +00:00] [INFO] [column.go:481] ["start to update table row"] [category=ddl] [job="ID:130, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:48.75 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:457119039186272262, Version: v2, UniqueWarnings:0"] [reorgInfo="CurrElementType:_col_,CurrElementID:4,StartKey:74800000000000007e5f728000000000000001,EndKey:74800000000000007e5f72800000000000000300,First:false,PhysicalTableID:126,Ingest mode:false"] [2025/04/04 12:45:48.899 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/04 12:45:48.900 +00:00] [INFO] [backfilling.go:519] ["load table ranges from PD"] [category=ddl] [physicalTableID=126] ["start key"=74800000000000007e5f728000000000000001] ["end key"=74800000000000007e5f72800000000000000300] [2025/04/04 12:45:48.901 +00:00] [INFO] [backfilling.go:546] ["load table ranges from PD done"] [category=ddl] [physicalTableID=126] ["range start"=74800000000000007e5f728000000000000001] ["range end"=74800000000000007e5f72800000000000000300] ["range count"=1] [2025/04/04 12:45:48.901 +00:00] [INFO] [backfilling.go:1056] ["start backfill workers to reorg record"] [category=ddl] [type="update column"] [workerCnt=4] [regionCnt=1] [startKey=74800000000000007e5f728000000000000001] [endKey=74800000000000007e5f72800000000000000300] [2025/04/04 12:45:48.902 +00:00] [INFO] [backfilling.go:653] ["get backfill range task, change end key"] [category=ddl] [id=0] [pTbl=126] ["end key"=74800000000000007e5f72800000000000000300] ["current end key"=74800000000000007e5f72800000000000000300] [2025/04/04 12:45:48.902 +00:00] [INFO] [backfilling.go:437] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp update column"] [jobID=130] [2025/04/04 12:45:48.902 +00:00] [INFO] [backfilling.go:437] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp update column"] [jobID=130] [2025/04/04 12:45:48.902 +00:00] [INFO] [backfilling.go:437] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp update column"] [jobID=130] [2025/04/04 12:45:48.907 +00:00] [INFO] [backfilling.go:398] ["backfill worker finish task"] [category=ddl] [worker="backfill-worker 0, tp update column"] [task="taskID: 0, physicalTableID: 126, range: [74800000000000007e5f728000000000000001, 74800000000000007e5f72800000000000000300), jobID: 130"] ["added count"=3] ["scan count"=3] ["next key"=74800000000000007e5f7280000000000000030000] ["take time"=4.500801ms] [2025/04/04 12:45:48.907 +00:00] [INFO] [backfilling.go:437] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp update column"] [jobID=130] [2025/04/04 12:45:48.907 +00:00] [INFO] [backfilling.go:1002] ["backfill workers successfully processed"] [category=ddl] [element=ID:4,TypeKey:_col_] ["total added count"=3] ["start key"=74800000000000007e5f728000000000000001] [2025/04/04 12:45:48.915 +00:00] [INFO] [column.go:583] ["update column and indexes"] [category=ddl] ["job ID"=130] [element=ID:2,TypeKey:_idx_] ["start key"=74800000000000007e5f728000000000000001] ["end key"=74800000000000007e5f72800000000000000300] [2025/04/04 12:45:48.916 +00:00] [INFO] [index.go:2404] ["start to add table index"] [category=ddl] [job="ID:130, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:48.75 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:457119039186272262, Version: v2, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:2,StartKey:74800000000000007e5f728000000000000001,EndKey:74800000000000007e5f72800000000000000300,First:false,PhysicalTableID:126,Ingest mode:false"] [2025/04/04 12:45:48.919 +00:00] [INFO] [backfilling.go:519] ["load table ranges from PD"] [category=ddl] [physicalTableID=126] ["start key"=74800000000000007e5f728000000000000001] ["end key"=74800000000000007e5f72800000000000000300] [2025/04/04 12:45:48.920 +00:00] [INFO] [backfilling.go:546] ["load table ranges from PD done"] [category=ddl] [physicalTableID=126] ["range start"=74800000000000007e5f728000000000000001] ["range end"=74800000000000007e5f72800000000000000300] ["range count"=1] [2025/04/04 12:45:48.920 +00:00] [INFO] [backfilling.go:1056] ["start backfill workers to reorg record"] [category=ddl] [type="add index"] [workerCnt=4] [regionCnt=1] [startKey=74800000000000007e5f728000000000000001] [endKey=74800000000000007e5f72800000000000000300] [2025/04/04 12:45:48.920 +00:00] [INFO] [backfilling.go:653] ["get backfill range task, change end key"] [category=ddl] [id=0] [pTbl=126] ["end key"=74800000000000007e5f72800000000000000300] ["current end key"=74800000000000007e5f72800000000000000300] [2025/04/04 12:45:48.920 +00:00] [INFO] [backfilling.go:437] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp add index"] [jobID=130] [2025/04/04 12:45:48.920 +00:00] [INFO] [backfilling.go:437] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp add index"] [jobID=130] [2025/04/04 12:45:48.920 +00:00] [INFO] [backfilling.go:437] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp add index"] [jobID=130] [2025/04/04 12:45:48.924 +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.050035ms] [2025/04/04 12:45:48.925 +00:00] [INFO] [backfilling.go:437] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=130] [2025/04/04 12:45:48.925 +00:00] [INFO] [backfilling.go:1002] ["backfill workers successfully processed"] [category=ddl] [element=ID:2,TypeKey:_idx_] ["total added count"=3] ["start key"=74800000000000007e5f728000000000000001] [2025/04/04 12:45:48.925 +00:00] [INFO] [reorg.go:409] ["run reorg job done"] [category=ddl] ["handled rows"=3] [2025/04/04 12:45:48.935 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: modify column, Table ID: 126, Table Name: t, Column ID: 4, Column Name: a)"] [2025/04/04 12:45:48.950 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=95] [neededSchemaVersion=96] ["elapsed time"=1.695872ms] [gotSchemaVersion=96] [phyTblIDs="[126]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2025/04/04 12:45:48.953 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=130] [version=96] [2025/04/04 12:45:48.955 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=96] ["take time"=8.606791ms] [job="ID:130, Type:modify column, State:done, SchemaState:public, SchemaID:2, TableID:126, RowCount:3, ArgLen:1, start time: 2025-04-04 12:45:48.75 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:457119039186272262, Version: v2, UniqueWarnings:0"] [2025/04/04 12:45:48.965 +00:00] [INFO] [delete_range.go:448] ["insert into delete-range indices"] [category=ddl] [jobID=130] [tableID=126] [indexIDs="[1]"] [comment="modify column: table ID"] [2025/04/04 12:45:48.969 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=130] [jobType="modify column"] [2025/04/04 12:45:48.970 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=130] [conn=8] [job="ID:130, Type:modify column, State:synced, SchemaState:public, SchemaID:2, TableID:126, RowCount:3, ArgLen:1, start time: 2025-04-04 12:45:48.75 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:457119039186272262, Version: v2, UniqueWarnings:0"] [2025/04/04 12:45:48.994 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=130] [2025/04/04 12:45:48.994 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=8] [schemaVersion=96] [cur_db=test] [sql="alter table t modify column a tinyint"] [user=] [2025/04/04 12:45:48.999 +00:00] [INFO] [executor.go:1408] ["get flashback cluster job"] [category=ddl] [flashbackTS="2025-04-04 12:45:48.4 +0000 UTC"] [2025/04/04 12:45:49.014 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:131, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:49 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="flashback cluster to timestamp '2025-04-04 12:45:48.400000'"] [2025/04/04 12:45:49.014 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:131, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:49 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:49.020 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=131] [conn=8] [job="ID:131, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:49 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:49.025 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=131] [2025/04/04 12:45:49.032 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=131] [conn=8] [job="ID:131, Type:flashback cluster, State:running, SchemaState:delete only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:49 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:49.064 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/04 12:45:49.110 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=600ms] [requiredStaleness=700ms] [prevState=normal] [newState=adapting] [2025/04/04 12:45:49.145 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=96] [neededSchemaVersion=97] ["elapsed time"=131.102µs] [gotSchemaVersion=97] [phyTblIDs="[-1]"] [actionTypes="[62]"] [diffTypes="[\"flashback cluster\"]"] [2025/04/04 12:45:49.148 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=131] [version=97] [2025/04/04 12:45:49.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=97] ["take time"=6.92054ms] [job="ID:131, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:49 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:49.158 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=131] [conn=8] [job="ID:131, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:49 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:49.190 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/04 12:45:49.194 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=32] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/04 12:45:49.196 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=5.214939ms] ["completed regions"=1] [2025/04/04 12:45:49.196 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/04 12:45:49.200 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=40] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/04 12:45:49.201 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=4.13204ms] ["completed regions"=1] [2025/04/04 12:45:49.201 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/04 12:45:49.204 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=48] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/04 12:45:49.205 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.017128ms] ["completed regions"=1] [2025/04/04 12:45:49.205 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/04 12:45:49.209 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=56] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/04 12:45:49.210 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=3.999155ms] ["completed regions"=1] [2025/04/04 12:45:49.210 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/04 12:45:49.214 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=64] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/04 12:45:49.215 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=4.130738ms] ["completed regions"=1] [2025/04/04 12:45:49.215 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/04 12:45:49.218 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=72] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/04 12:45:49.219 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=3.968718ms] ["completed regions"=1] [2025/04/04 12:45:49.219 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/04 12:45:49.223 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=80] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/04 12:45:49.224 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=4.221141ms] ["completed regions"=1] [2025/04/04 12:45:49.224 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/04 12:45:49.227 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=88] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/04 12:45:49.228 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=3.753449ms] ["completed regions"=1] [2025/04/04 12:45:49.229 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/04 12:45:49.232 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=96] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/04 12:45:49.233 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=3.903039ms] ["completed regions"=1] [2025/04/04 12:45:49.233 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/04 12:45:49.236 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=104] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/04 12:45:49.237 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=3.653705ms] ["completed regions"=1] [2025/04/04 12:45:49.237 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/04 12:45:49.240 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=112] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/04 12:45:49.241 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=3.580079ms] ["completed regions"=1] [2025/04/04 12:45:49.241 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/04 12:45:49.244 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=120] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/04 12:45:49.246 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=3.980928ms] ["completed regions"=1] [2025/04/04 12:45:49.246 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/04 12:45:49.249 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=128] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/04 12:45:49.250 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.434168ms] ["completed regions"=1] [2025/04/04 12:45:49.250 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/04 12:45:49.252 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=136] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/04 12:45:49.254 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.586455ms] ["completed regions"=1] [2025/04/04 12:45:49.254 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/04 12:45:49.256 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=144] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/04 12:45:49.257 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.288637ms] ["completed regions"=1] [2025/04/04 12:45:49.257 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/04 12:45:49.260 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=152] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/04 12:45:49.261 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.258678ms] ["completed regions"=1] [2025/04/04 12:45:49.261 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/04 12:45:49.264 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=160] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/04 12:45:49.265 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.252202ms] ["completed regions"=1] [2025/04/04 12:45:49.265 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/04 12:45:49.267 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=168] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/04 12:45:49.268 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.304619ms] ["completed regions"=1] [2025/04/04 12:45:49.269 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/04 12:45:49.271 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=176] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/04 12:45:49.272 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.341424ms] ["completed regions"=1] [2025/04/04 12:45:49.272 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/04 12:45:49.275 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=184] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/04 12:45:49.276 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.176991ms] ["completed regions"=1] [2025/04/04 12:45:49.276 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/04 12:45:49.279 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=192] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/04 12:45:49.280 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=3.502337ms] ["completed regions"=1] [2025/04/04 12:45:49.280 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/04 12:45:49.282 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=200] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/04 12:45:49.283 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=3.027739ms] ["completed regions"=1] [2025/04/04 12:45:49.284 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/04 12:45:49.286 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=208] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/04 12:45:49.287 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=2.838437ms] ["completed regions"=1] [2025/04/04 12:45:49.287 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/04 12:45:49.289 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=216] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/04 12:45:49.290 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=2.842412ms] ["completed regions"=1] [2025/04/04 12:45:49.290 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/04 12:45:49.292 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=224] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/04 12:45:49.293 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=2.808461ms] ["completed regions"=1] [2025/04/04 12:45:49.293 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/04 12:45:49.295 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=232] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/04 12:45:49.296 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=2.644572ms] ["completed regions"=1] [2025/04/04 12:45:49.296 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/04 12:45:49.298 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=240] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/04 12:45:49.299 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=2.726284ms] ["completed regions"=1] [2025/04/04 12:45:49.300 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/04 12:45:49.302 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=248] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/04 12:45:49.303 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.746317ms] ["completed regions"=1] [2025/04/04 12:45:49.303 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/04 12:45:49.305 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=256] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/04 12:45:49.306 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=2.831115ms] ["completed regions"=1] [2025/04/04 12:45:49.306 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/04 12:45:49.308 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=264] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/04 12:45:49.309 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.387305ms] ["completed regions"=1] [2025/04/04 12:45:49.309 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/04 12:45:49.311 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=272] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/04 12:45:49.312 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.477087ms] ["completed regions"=1] [2025/04/04 12:45:49.312 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/04 12:45:49.314 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=280] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/04 12:45:49.315 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.369285ms] ["completed regions"=1] [2025/04/04 12:45:49.315 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/04 12:45:49.317 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=288] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/04 12:45:49.318 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.373355ms] ["completed regions"=1] [2025/04/04 12:45:49.318 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/04 12:45:49.319 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=296] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/04 12:45:49.320 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.289403ms] ["completed regions"=1] [2025/04/04 12:45:49.320 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/04 12:45:49.322 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=304] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/04 12:45:49.323 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.298133ms] ["completed regions"=1] [2025/04/04 12:45:49.323 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/04 12:45:49.325 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=312] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/04 12:45:49.326 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.209697ms] ["completed regions"=1] [2025/04/04 12:45:49.326 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/04 12:45:49.327 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=320] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/04 12:45:49.328 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.041822ms] ["completed regions"=1] [2025/04/04 12:45:49.328 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/04 12:45:49.330 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=328] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/04 12:45:49.331 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.101438ms] ["completed regions"=1] [2025/04/04 12:45:49.331 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/04 12:45:49.332 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=336] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/04 12:45:49.333 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=1.88071ms] ["completed regions"=1] [2025/04/04 12:45:49.333 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/04 12:45:49.334 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=344] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/04 12:45:49.335 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=1.930353ms] ["completed regions"=1] [2025/04/04 12:45:49.335 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/04 12:45:49.336 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=352] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/04 12:45:49.337 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=1.807648ms] ["completed regions"=1] [2025/04/04 12:45:49.337 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/04 12:45:49.339 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=360] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/04 12:45:49.340 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=1.813306ms] ["completed regions"=1] [2025/04/04 12:45:49.340 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/04 12:45:49.341 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=372] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/04 12:45:49.342 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=376] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/04 12:45:49.343 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=368] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/04 12:45:49.344 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=3.986857ms] ["completed regions"=3] [2025/04/04 12:45:49.350 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=131] [2025/04/04 12:45:49.357 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=131] [conn=8] [job="ID:131, Type:flashback cluster, State:running, SchemaState:write reorganization, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:49 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:49.358 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/04 12:45:49.362 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=32] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/04 12:45:49.363 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=1] ["total regions"=45] [] [2025/04/04 12:45:49.363 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=5.059531ms] ["completed regions"=1] [2025/04/04 12:45:49.363 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/04 12:45:49.367 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=40] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/04 12:45:49.368 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=2] ["total regions"=45] [] [2025/04/04 12:45:49.368 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=4.372397ms] ["completed regions"=1] [2025/04/04 12:45:49.368 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/04 12:45:49.371 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=48] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/04 12:45:49.372 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=3] ["total regions"=45] [] [2025/04/04 12:45:49.372 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.138494ms] ["completed regions"=1] [2025/04/04 12:45:49.373 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/04 12:45:49.376 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=56] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/04 12:45:49.377 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=4] ["total regions"=45] [] [2025/04/04 12:45:49.377 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=3.774877ms] ["completed regions"=1] [2025/04/04 12:45:49.377 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/04 12:45:49.380 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=64] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/04 12:45:49.381 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=5] ["total regions"=45] [] [2025/04/04 12:45:49.381 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=3.848582ms] ["completed regions"=1] [2025/04/04 12:45:49.381 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/04 12:45:49.384 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=72] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/04 12:45:49.385 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=6] ["total regions"=45] [] [2025/04/04 12:45:49.385 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=3.718244ms] ["completed regions"=1] [2025/04/04 12:45:49.385 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/04 12:45:49.388 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=80] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/04 12:45:49.389 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=7] ["total regions"=45] [] [2025/04/04 12:45:49.389 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=3.963516ms] ["completed regions"=1] [2025/04/04 12:45:49.389 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/04 12:45:49.392 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=88] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/04 12:45:49.394 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=8] ["total regions"=45] [] [2025/04/04 12:45:49.394 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=4.258256ms] ["completed regions"=1] [2025/04/04 12:45:49.394 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/04 12:45:49.397 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=96] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/04 12:45:49.398 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=9] ["total regions"=45] [] [2025/04/04 12:45:49.398 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=3.718525ms] ["completed regions"=1] [2025/04/04 12:45:49.398 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/04 12:45:49.401 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=104] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/04 12:45:49.402 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=10] ["total regions"=45] [] [2025/04/04 12:45:49.402 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=3.596198ms] ["completed regions"=1] [2025/04/04 12:45:49.402 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/04 12:45:49.405 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=112] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/04 12:45:49.406 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=11] ["total regions"=45] [] [2025/04/04 12:45:49.406 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=3.581079ms] ["completed regions"=1] [2025/04/04 12:45:49.406 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/04 12:45:49.409 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=120] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/04 12:45:49.411 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=12] ["total regions"=45] [] [2025/04/04 12:45:49.411 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=4.48382ms] ["completed regions"=1] [2025/04/04 12:45:49.411 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/04 12:45:49.414 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=128] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/04 12:45:49.415 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=13] ["total regions"=45] [] [2025/04/04 12:45:49.415 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.466001ms] ["completed regions"=1] [2025/04/04 12:45:49.415 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/04 12:45:49.418 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=136] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/04 12:45:49.419 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=14] ["total regions"=45] [] [2025/04/04 12:45:49.419 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.585967ms] ["completed regions"=1] [2025/04/04 12:45:49.419 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/04 12:45:49.422 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=144] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/04 12:45:49.423 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=15] ["total regions"=45] [] [2025/04/04 12:45:49.424 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=4.193619ms] ["completed regions"=1] [2025/04/04 12:45:49.424 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/04 12:45:49.426 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=152] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/04 12:45:49.427 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=16] ["total regions"=45] [] [2025/04/04 12:45:49.428 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.481507ms] ["completed regions"=1] [2025/04/04 12:45:49.428 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/04 12:45:49.430 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=160] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/04 12:45:49.431 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=17] ["total regions"=45] [] [2025/04/04 12:45:49.431 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.201049ms] ["completed regions"=1] [2025/04/04 12:45:49.431 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/04 12:45:49.434 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=168] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/04 12:45:49.435 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=18] ["total regions"=45] [] [2025/04/04 12:45:49.435 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.299855ms] ["completed regions"=1] [2025/04/04 12:45:49.435 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/04 12:45:49.437 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=176] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/04 12:45:49.438 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=19] ["total regions"=45] [] [2025/04/04 12:45:49.438 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.172866ms] ["completed regions"=1] [2025/04/04 12:45:49.439 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/04 12:45:49.441 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=184] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/04 12:45:49.442 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=20] ["total regions"=45] [] [2025/04/04 12:45:49.442 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.02471ms] ["completed regions"=1] [2025/04/04 12:45:49.442 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/04 12:45:49.444 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=192] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/04 12:45:49.445 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=21] ["total regions"=45] [] [2025/04/04 12:45:49.445 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=2.846213ms] ["completed regions"=1] [2025/04/04 12:45:49.445 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/04 12:45:49.447 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=200] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/04 12:45:49.448 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=22] ["total regions"=45] [] [2025/04/04 12:45:49.448 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=2.828281ms] ["completed regions"=1] [2025/04/04 12:45:49.448 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/04 12:45:49.451 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=208] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/04 12:45:49.452 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=23] ["total regions"=45] [] [2025/04/04 12:45:49.452 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=2.94763ms] ["completed regions"=1] [2025/04/04 12:45:49.452 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/04 12:45:49.454 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=216] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/04 12:45:49.455 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=24] ["total regions"=45] [] [2025/04/04 12:45:49.455 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=2.853742ms] ["completed regions"=1] [2025/04/04 12:45:49.455 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/04 12:45:49.457 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=224] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/04 12:45:49.458 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=25] ["total regions"=45] [] [2025/04/04 12:45:49.458 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=2.863463ms] ["completed regions"=1] [2025/04/04 12:45:49.458 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/04 12:45:49.460 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=232] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/04 12:45:49.461 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=26] ["total regions"=45] [] [2025/04/04 12:45:49.461 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=2.679963ms] ["completed regions"=1] [2025/04/04 12:45:49.461 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/04 12:45:49.463 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=240] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/04 12:45:49.464 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=27] ["total regions"=45] [] [2025/04/04 12:45:49.464 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=2.77972ms] ["completed regions"=1] [2025/04/04 12:45:49.465 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/04 12:45:49.466 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=248] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/04 12:45:49.468 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=28] ["total regions"=45] [] [2025/04/04 12:45:49.468 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.718165ms] ["completed regions"=1] [2025/04/04 12:45:49.468 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/04 12:45:49.470 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=256] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/04 12:45:49.471 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=29] ["total regions"=45] [] [2025/04/04 12:45:49.471 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=2.642559ms] ["completed regions"=1] [2025/04/04 12:45:49.471 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/04 12:45:49.473 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=264] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/04 12:45:49.474 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=30] ["total regions"=45] [] [2025/04/04 12:45:49.474 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.657142ms] ["completed regions"=1] [2025/04/04 12:45:49.474 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/04 12:45:49.476 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=272] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/04 12:45:49.477 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=31] ["total regions"=45] [] [2025/04/04 12:45:49.477 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.678545ms] ["completed regions"=1] [2025/04/04 12:45:49.477 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/04 12:45:49.479 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=280] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/04 12:45:49.480 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=32] ["total regions"=45] [] [2025/04/04 12:45:49.480 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.284566ms] ["completed regions"=1] [2025/04/04 12:45:49.480 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/04 12:45:49.481 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=288] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/04 12:45:49.482 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=33] ["total regions"=45] [] [2025/04/04 12:45:49.482 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.450196ms] ["completed regions"=1] [2025/04/04 12:45:49.483 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/04 12:45:49.484 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=296] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/04 12:45:49.485 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=34] ["total regions"=45] [] [2025/04/04 12:45:49.485 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.304956ms] ["completed regions"=1] [2025/04/04 12:45:49.485 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/04 12:45:49.487 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=304] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/04 12:45:49.488 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=35] ["total regions"=45] [] [2025/04/04 12:45:49.488 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.440791ms] ["completed regions"=1] [2025/04/04 12:45:49.488 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/04 12:45:49.490 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=312] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/04 12:45:49.491 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=36] ["total regions"=45] [] [2025/04/04 12:45:49.491 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.238535ms] ["completed regions"=1] [2025/04/04 12:45:49.491 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/04 12:45:49.492 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=320] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/04 12:45:49.493 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=37] ["total regions"=45] [] [2025/04/04 12:45:49.493 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.09423ms] ["completed regions"=1] [2025/04/04 12:45:49.493 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/04 12:45:49.495 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=328] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/04 12:45:49.496 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=38] ["total regions"=45] [] [2025/04/04 12:45:49.496 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.225418ms] ["completed regions"=1] [2025/04/04 12:45:49.496 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/04 12:45:49.497 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=336] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/04 12:45:49.498 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=39] ["total regions"=45] [] [2025/04/04 12:45:49.498 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=2.019454ms] ["completed regions"=1] [2025/04/04 12:45:49.498 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/04 12:45:49.500 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=344] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/04 12:45:49.501 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=40] ["total regions"=45] [] [2025/04/04 12:45:49.501 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=2.036621ms] ["completed regions"=1] [2025/04/04 12:45:49.501 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/04 12:45:49.502 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=352] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/04 12:45:49.503 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=41] ["total regions"=45] [] [2025/04/04 12:45:49.503 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=1.90913ms] ["completed regions"=1] [2025/04/04 12:45:49.503 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/04 12:45:49.504 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=360] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/04 12:45:49.505 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=42] ["total regions"=45] [] [2025/04/04 12:45:49.505 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=1.784289ms] ["completed regions"=1] [2025/04/04 12:45:49.505 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/04 12:45:49.507 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=372] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/04 12:45:49.508 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=376] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/04 12:45:49.508 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=368] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/04 12:45:49.511 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=45] ["total regions"=45] [] [2025/04/04 12:45:49.511 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=5.102942ms] ["completed regions"=3] [2025/04/04 12:45:49.511 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: flashback cluster)"] [2025/04/04 12:45:49.527 +00:00] [ERROR] [domain.go:375] ["failed to load schema diff"] [error="Meets a schema diff with RegenerateSchemaMap flag"] [errorVerbose="Meets a schema diff with RegenerateSchemaMap flag\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).tryLoadSchemaDiffs\n\tpkg/domain/domain.go:652\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:358\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:375\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103"] [2025/04/04 12:45:49.615 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=97] [neededSchemaVersion=98] ["elapsed time"=88.357209ms] [2025/04/04 12:45:49.615 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 12:45:49.619 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=131] [version=98] [2025/04/04 12:45:49.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=98] ["take time"=96.778861ms] [job="ID:131, Type:flashback cluster, State:done, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:49 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:49.690 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=131] [conn=8] [job="ID:131, Type:flashback cluster, State:synced, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:49 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:49.702 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=131] [2025/04/04 12:45:49.708 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 8\n# Query_time: 0.704200587\n# Parse_time: 0.000059684\n# Compile_time: 0.000267514\n# Rewrite_time: 0.00000299\n# Optimize_time: 0.000045767\n# Wait_TS: 0.000452253\n# DB: test\n# Is_internal: false\n# Digest: af09c17df48245f34604ebcd1fb822f4f2360c5d282fb4cb3aeced6fc3c852fa\n# Mem_max: 8192\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nuse test;\nflashback cluster to timestamp '2025-04-04 12:45:48.400000';"] [2025/04/04 12:45:49.717 +00:00] [INFO] [check_table_index.go:434] ["fast check table by group"] ["table name"=t] ["index name"=i] [times=1] ["current offset"=0] ["current mod"=1] ["table sql"="select /*+ read_from_storage(tikv[`test`.`t`]) */ bit_xor(crc32(md5(concat_ws(0x2, `_tidb_rowid`, `a`)))), ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024), count(*) from `test`.`t` use index() where 0 = 0 group by ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024)"] ["index sql"="select bit_xor(crc32(md5(concat_ws(0x2, `_tidb_rowid`, `a`)))), ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024), count(*) from `test`.`t` use index(`i`) where 0 = 0 group by ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024)"] [2025/04/04 12:45:49.738 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 12:45:49.738 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=3a7e65b4-f600-4bd1-a0f9-ce2d3322329a] [] [2025/04/04 12:45:49.738 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 12:45:49.739 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=3a7e65b4-f600-4bd1-a0f9-ce2d3322329a] [2025/04/04 12:45:49.739 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:45:49.739 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 25, tp add index"] ["take time"=49.944µs] [2025/04/04 12:45:49.739 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:45:49.739 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 21, tp general"] ["take time"=74.767µs] [2025/04/04 12:45:49.739 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 22, tp general"] ["take time"=58.187µs] [2025/04/04 12:45:49.739 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 23, tp general"] ["take time"=37.054µs] [2025/04/04 12:45:49.739 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 24, tp general"] ["take time"=45.127µs] [2025/04/04 12:45:49.739 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 26, tp general"] ["take time"=30.535µs] [2025/04/04 12:45:49.739 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=3a7e65b4-f600-4bd1-a0f9-ce2d3322329a] [2025/04/04 12:45:49.739 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=3a7e65b4-f600-4bd1-a0f9-ce2d3322329a] [2025/04/04 12:45:49.740 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 12:45:49.740 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 12:45:49.744 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=3a7e65b4-f600-4bd1-a0f9-ce2d3322329a] ["take time"=5.531909ms] [2025/04/04 12:45:49.744 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=3a7e65b4-f600-4bd1-a0f9-ce2d3322329a] [2025/04/04 12:45:49.744 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 12:45:49.744 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/bfc66605-9ac9-437e-aa9f-4355e37b6579] [watcherID=c7579c4a-ebde-4cd5-aaa4-3653673f79b7] [2025/04/04 12:45:49.744 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/04 12:45:49.744 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/bfc66605-9ac9-437e-aa9f-4355e37b6579] [2025/04/04 12:45:49.744 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=3a7e65b4-f600-4bd1-a0f9-ce2d3322329a] [ttl-worker=task-manager] [ttl-worker=3a7e65b4-f600-4bd1-a0f9-ce2d3322329a] [originalCount=4] [newCount=0] [2025/04/04 12:45:49.744 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:45:49.744 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:45:49.744 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:45:49.744 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:45:49.745 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=3a7e65b4-f600-4bd1-a0f9-ce2d3322329a] [ttl-worker=task-manager] [ttl-worker=3a7e65b4-f600-4bd1-a0f9-ce2d3322329a] [originalCount=4] [newCount=0] [2025/04/04 12:45:49.747 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:45:49.747 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:45:49.747 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:45:49.747 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:45:49.749 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=3a7e65b4-f600-4bd1-a0f9-ce2d3322329a] [2025/04/04 12:45:49.749 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 12:45:49.750 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=126] [2025/04/04 12:45:49.750 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 12:45:49.750 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 12:45:49.750 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 12:45:49.750 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:45:49.751 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 12:45:49.750 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 12:45:49.750 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:45:49.751 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 12:45:49.750 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 12:45:49.751 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 12:45:49.751 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:45:49.751 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:45:49.751 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 12:45:49.751 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 12:45:49.751 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 12:45:49.751 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 12:45:49.751 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:45:49.751 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:45:49.751 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:45:49.751 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 12:45:49.751 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 12:45:49.751 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:45:49.751 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 12:45:49.751 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 12:45:49.751 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:45:49.751 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:45:49.751 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 12:45:49.751 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=cbf22a45-3945-4951-8d45-98008b27370f] [] [2025/04/04 12:45:49.751 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:45:49.751 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:45:49.751 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:45:49.750 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:45:49.751 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=cbf22a45-3945-4951-8d45-98008b27370f] [2025/04/04 12:45:49.751 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 12:45:49.751 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=cbf22a45-3945-4951-8d45-98008b27370f] [2025/04/04 12:45:49.751 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:45:49.751 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=cbf22a45-3945-4951-8d45-98008b27370f] [2025/04/04 12:45:49.751 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:45:49.750 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 12:45:49.751 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:45:49.751 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=3a7e65b4-f600-4bd1-a0f9-ce2d3322329a] [2025/04/04 12:45:49.751 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 12:45:49.751 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 12:45:49.751 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/04 12:45:49.751 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/04 12:45:49.751 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:45:49.751 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/04 12:45:49.751 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:45:49.751 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:45:49.751 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:45:49.751 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:45:49.751 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 12:45:49.751 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:45:49.751 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:45:49.751 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:45:49.751 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:45:49.751 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:45:49.751 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:45:49.751 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 12:45:49.751 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:45:49.751 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 12:45:49.751 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 12:45:49.752 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:45:49.752 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:45:49.751 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:45:49.751 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:45:49.751 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/04 12:45:49.752 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=3a7e65b4-f600-4bd1-a0f9-ce2d3322329a] [2025/04/04 12:45:49.752 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 12:45:49.752 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 12:45:49.752 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/stats/owner] [id=3a7e65b4-f600-4bd1-a0f9-ce2d3322329a] [error="context canceled"] [2025/04/04 12:45:49.752 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 12:45:49.752 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 12:45:49.752 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:45:49.752 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=3a7e65b4-f600-4bd1-a0f9-ce2d3322329a] [2025/04/04 12:45:49.752 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 12:45:49.752 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=cbf22a45-3945-4951-8d45-98008b27370f] [daemon-id=LogBackup::Advancer] [2025/04/04 12:45:49.752 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 12:45:49.753 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 12:45:49.753 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:45:49.753 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:45:49.753 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:45:49.753 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=3a7e65b4-f600-4bd1-a0f9-ce2d3322329a] [error="context canceled"] [2025/04/04 12:45:49.753 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 12:45:49.753 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 12:45:49.753 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 12:45:49.753 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:45:49.754 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=3a7e65b4-f600-4bd1-a0f9-ce2d3322329a] [error="context canceled"] [2025/04/04 12:45:49.754 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=3a7e65b4-f600-4bd1-a0f9-ce2d3322329a] [2025/04/04 12:45:49.771 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 12:45:49.771 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:45:49.816 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=3a7e65b4-f600-4bd1-a0f9-ce2d3322329a] [error="context canceled"] [2025/04/04 12:45:49.816 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 12:45:49.816 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:45:49.826 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=87.918785ms] [2025/04/04 12:45:49.829 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:45:49.829 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:45:49.829 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:45:49.829 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:45:49.829 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:45:49.829 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:45:49.829 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:45:49.829 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:49.829 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:49.829 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-5] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:45:49.829 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:49.829 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:45:49.831 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestFlashbackAddDropModifyColumn (2.95s) === NAME === RUN TestFlashbackBasicRenameDropCreateTable [2025/04/04 12:45:49.840 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 12:45:49.841 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 12:45:49.841 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437820018004919] [2025/04/04 12:45:49.842 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:45:49.842 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 12:45:49.842 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:45:49.842 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:45:49.842 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:45:49.843 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:45:49.843 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:45:49.843 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:45:49.847 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 12:45:49.853 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:45:49.853 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:45:49.854 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:45:49.867 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489437820018004919] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 12:45:49.877 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 12:45:49.911 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1625] ["lease id"=22319600d42f9513] [2025/04/04 12:45:49.913 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/04 12:45:50.001 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=98] ["elapsed time"=85.572588ms] [2025/04/04 12:45:50.001 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 12:45:50.003 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 12:45:50.013 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=61d781e2-b8e4-4aa9-8dfa-9ff49d413858] [runWorker=true] [jobVersion=v2] [2025/04/04 12:45:50.013 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 12:45:50.015 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=61d781e2-b8e4-4aa9-8dfa-9ff49d413858] [2025/04/04 12:45:50.016 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 12:45:50.016 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 261545046016/466850480128, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 12:45:50.016 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:45:50.016 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:45:50.016 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:45:50.016 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:45:50.016 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:45:50.016 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:45:50.016 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:45:50.016 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:45:50.016 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 12:45:50.017 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:45:50.016 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:45:50.017 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 12:45:50.017 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=904d4a52-5107-490d-aec5-355106ac4a0e] [2025/04/04 12:45:50.018 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319600d42f951a] [ownerID=61d781e2-b8e4-4aa9-8dfa-9ff49d413858] [op=none] [2025/04/04 12:45:50.019 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=61d781e2-b8e4-4aa9-8dfa-9ff49d413858] [2025/04/04 12:45:50.019 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=61d781e2-b8e4-4aa9-8dfa-9ff49d413858] [ownerKey=/tidb/ddl/fg/owner/22319600d42f951a] [currRev=500] [2025/04/04 12:45:50.019 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:45:50.020 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=904d4a52-5107-490d-aec5-355106ac4a0e] [daemon-id=LogBackup::Advancer] [2025/04/04 12:45:50.020 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 12:45:50.020 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f189600d42f9812] [ownerID=904d4a52-5107-490d-aec5-355106ac4a0e] [op=none] [2025/04/04 12:45:50.020 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=904d4a52-5107-490d-aec5-355106ac4a0e] [2025/04/04 12:45:50.020 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=904d4a52-5107-490d-aec5-355106ac4a0e] [ownerKey=/tidb/br-stream/owner/6f189600d42f9812] [currRev=501] [2025/04/04 12:45:50.021 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319600d42f951a] [ownerID=61d781e2-b8e4-4aa9-8dfa-9ff49d413858] [op=none] [2025/04/04 12:45:50.021 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=61d781e2-b8e4-4aa9-8dfa-9ff49d413858] [op=none] [2025/04/04 12:45:50.021 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 12:45:50.025 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=61d781e2-b8e4-4aa9-8dfa-9ff49d413858] [2025/04/04 12:45:50.026 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:45:50.026 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 12:45:50.035 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:45:50.042 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:45:50.047 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:45:50.047 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:45:50.047 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:45:50.047 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:45:50.047 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 12:45:50.048 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 12:45:50.048 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 12:45:50.048 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 12:45:50.048 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 12:45:50.048 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:45:50.049 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=61d781e2-b8e4-4aa9-8dfa-9ff49d413858] [2025/04/04 12:45:50.049 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:45:50.049 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:45:50.050 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:45:50.050 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:45:50.050 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 12:45:50.050 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:45:50.050 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 12:45:50.050 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:45:50.050 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:45:50.050 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:45:50.050 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 12:45:50.050 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:45:50.050 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:45:50.050 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:45:50.050 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:45:50.052 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=434.8GiB] [2025/04/04 12:45:50.054 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/699b41d4-a8b9-4ce5-a1c5-fa4add1ab486] [2025/04/04 12:45:50.055 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=61d781e2-b8e4-4aa9-8dfa-9ff49d413858] [ttl-worker=task-manager] [ttl-worker=61d781e2-b8e4-4aa9-8dfa-9ff49d413858] [originalCount=0] [newCount=4] [2025/04/04 12:45:50.055 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=61d781e2-b8e4-4aa9-8dfa-9ff49d413858] [ttl-worker=task-manager] [ttl-worker=61d781e2-b8e4-4aa9-8dfa-9ff49d413858] [originalCount=0] [newCount=4] [2025/04/04 12:45:50.055 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=61d781e2-b8e4-4aa9-8dfa-9ff49d413858] [2025/04/04 12:45:50.055 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 12:45:50.056 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:45:50.056 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 12:45:50.056 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743770750056779842 [2025/04/04 12:45:50.060 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 12:45:50.067 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=18.182205ms] [2025/04/04 12:45:50.067 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 12:45:50.067 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:45:50.077 +00:00] [INFO] [set.go:172] ["set global var"] [conn=9] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 12:45:50.079 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=9] [schemaVersion=98] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/04 12:45:50.091 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:132, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:50.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:50.091 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:132, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:50.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`"] [2025/04/04 12:45:50.097 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=132] [conn=9] [job="ID:132, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:126, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:50.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:50.113 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=98] [neededSchemaVersion=99] ["elapsed time"=2.191832ms] [gotSchemaVersion=99] [phyTblIDs="[126]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:45:50.117 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=132] [version=99] [2025/04/04 12:45:50.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=99] ["take time"=9.836274ms] [job="ID:132, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:50.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:50.128 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=132] [conn=9] [job="ID:132, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:126, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:50.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:50.144 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=99] [neededSchemaVersion=100] ["elapsed time"=2.087606ms] [gotSchemaVersion=100] [phyTblIDs="[126]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:45:50.147 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=132] [version=100] [2025/04/04 12:45:50.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=100] ["take time"=8.910787ms] [job="ID:132, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:50.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:50.157 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=132] [conn=9] [job="ID:132, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:126, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:50.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:50.163 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 126, Old Table Name: t)"] [2025/04/04 12:45:50.176 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=100] [neededSchemaVersion=101] ["elapsed time"=1.192175ms] [gotSchemaVersion=101] [phyTblIDs="[126]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:45:50.180 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=132] [version=101] [2025/04/04 12:45:50.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=101] ["take time"=7.97472ms] [job="ID:132, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:50.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:50.190 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=132] [tableIDs="[126]"] [comment="drop table: table ID"] [2025/04/04 12:45:50.197 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=132] [jobType="drop table"] [2025/04/04 12:45:50.198 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=132] [conn=9] [job="ID:132, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:50.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:50.217 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=132] [2025/04/04 12:45:50.217 +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: 1743770750218264410 [2025/04/04 12:45:50.234 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=10] [schemaVersion=101] [cur_db=test] [sql="drop table if exists t, t1, t2, t3"] [user=] [2025/04/04 12:45:50.247 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:134, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:50.2 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:50.247 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:134, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:50.2 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t(a int, index i(a))"] [2025/04/04 12:45:50.252 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=134] [conn=10] [job="ID:134, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:133, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:50.2 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:50.257 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 133, Table Name: t)"] [2025/04/04 12:45:50.270 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=101] [neededSchemaVersion=102] ["elapsed time"=1.594483ms] [gotSchemaVersion=102] [phyTblIDs="[133]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:50.274 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=134] [version=102] [2025/04/04 12:45:50.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=102] ["take time"=7.676941ms] [job="ID:134, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:50.2 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:50.286 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=134] [conn=10] [job="ID:134, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:133, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:50.2 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:50.297 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=134] [2025/04/04 12:45:50.298 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=10] [schemaVersion=102] [cur_db=test] [sql="create table t(a int, index i(a))"] [user=] [2025/04/04 12:45:50.316 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:136, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:50.3 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t1(a int, index i(a))"] [2025/04/04 12:45:50.316 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:136, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:50.3 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:50.322 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=136] [conn=10] [job="ID:136, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:135, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:50.3 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:50.326 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 135, Table Name: t1)"] [2025/04/04 12:45:50.340 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=102] [neededSchemaVersion=103] ["elapsed time"=1.546855ms] [gotSchemaVersion=103] [phyTblIDs="[135]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:50.344 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=136] [version=103] [2025/04/04 12:45:50.346 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=103] ["take time"=8.813876ms] [job="ID:136, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:50.3 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:50.357 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=136] [conn=10] [job="ID:136, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:135, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:50.3 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:50.368 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=136] [2025/04/04 12:45:50.368 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=10] [schemaVersion=103] [cur_db=test] [sql="create table t1(a int, index i(a))"] [user=] [2025/04/04 12:45:51.027 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/04 12:45:51.027 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 12:45:51.027 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 12:45:51.027 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:45:51.055 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/04 12:45:51.055 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/04 12:45:51.055 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/699b41d4-a8b9-4ce5-a1c5-fa4add1ab486] [watcherID=ed2ce5cc-6e93-4490-b2d8-f4faef9a7884] [2025/04/04 12:45:51.056 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/04 12:45:51.063 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/04 12:45:51.063 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/04 12:45:51.063 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/04 12:45:51.063 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/04 12:45:51.395 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:137, Type:rename table, State:queueing, SchemaState:none, SchemaID:2, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:51.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:51.395 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:137, Type:rename table, State:queueing, SchemaState:none, SchemaID:2, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:51.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="rename table t to t3"] [2025/04/04 12:45:51.400 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=137] [conn=10] [job="ID:137, Type:rename table, State:queueing, SchemaState:none, SchemaID:2, TableID:133, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:51.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:51.418 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=103] [neededSchemaVersion=104] ["elapsed time"=1.670457ms] [gotSchemaVersion=104] [phyTblIDs="[133]"] [actionTypes="[14]"] [diffTypes="[\"rename table\"]"] [2025/04/04 12:45:51.422 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=137] [version=104] [2025/04/04 12:45:51.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=104] ["take time"=8.757438ms] [job="ID:137, Type:rename table, State:running, SchemaState:public, SchemaID:2, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:51.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:51.433 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=137] [conn=10] [job="ID:137, Type:rename table, State:running, SchemaState:public, SchemaID:2, TableID:133, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:51.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:51.449 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=104] [neededSchemaVersion=105] ["elapsed time"=1.617756ms] [gotSchemaVersion=105] [phyTblIDs="[133]"] [actionTypes="[14]"] [diffTypes="[\"rename table\"]"] [2025/04/04 12:45:51.452 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=137] [version=105] [2025/04/04 12:45:51.454 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=105] ["take time"=8.76169ms] [job="ID:137, Type:rename table, State:done, SchemaState:public, SchemaID:2, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:51.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:51.463 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=137] [conn=10] [job="ID:137, Type:rename table, State:synced, SchemaState:public, SchemaID:2, TableID:133, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:51.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:51.475 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=137] [2025/04/04 12:45:51.475 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=10] [schemaVersion=105] [cur_db=test] [sql="rename table t to t3"] [user=] [2025/04/04 12:45:51.489 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:138, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:51.45 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:51.489 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:138, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:51.45 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table t1"] [2025/04/04 12:45:51.495 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=138] [conn=10] [job="ID:138, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:135, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:51.45 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:51.512 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=105] [neededSchemaVersion=106] ["elapsed time"=2.043636ms] [gotSchemaVersion=106] [phyTblIDs="[135]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:45:51.515 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=138] [version=106] [2025/04/04 12:45:51.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=106] ["take time"=8.946036ms] [job="ID:138, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:51.45 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:51.526 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=138] [conn=10] [job="ID:138, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:135, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:51.45 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:51.542 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=106] [neededSchemaVersion=107] ["elapsed time"=2.071835ms] [gotSchemaVersion=107] [phyTblIDs="[135]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:45:51.545 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=138] [version=107] [2025/04/04 12:45:51.547 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=107] ["take time"=9.200594ms] [job="ID:138, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:51.45 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:51.555 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=138] [conn=10] [job="ID:138, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:135, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:51.45 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:51.562 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 135, Old Table Name: t1)"] [2025/04/04 12:45:51.575 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=107] [neededSchemaVersion=108] ["elapsed time"=1.197673ms] [gotSchemaVersion=108] [phyTblIDs="[135]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:45:51.579 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=138] [version=108] [2025/04/04 12:45:51.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=108] ["take time"=8.639921ms] [job="ID:138, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:51.45 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:51.590 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=138] [tableIDs="[135]"] [comment="drop table: table ID"] [2025/04/04 12:45:51.594 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=138] [jobType="drop table"] [2025/04/04 12:45:51.595 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=138] [conn=10] [job="ID:138, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:51.45 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:51.612 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=138] [2025/04/04 12:45:51.612 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=10] [schemaVersion=108] [cur_db=test] [sql="drop table t1"] [user=] [2025/04/04 12:45:51.625 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:140, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:139, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:51.6 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:51.625 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:140, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:139, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:51.6 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t2(a int, index i(a))"] [2025/04/04 12:45:51.631 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=140] [conn=10] [job="ID:140, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:139, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:51.6 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:51.635 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 139, Table Name: t2)"] [2025/04/04 12:45:51.651 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=108] [neededSchemaVersion=109] ["elapsed time"=2.028793ms] [gotSchemaVersion=109] [phyTblIDs="[139]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:51.656 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=140] [version=109] [2025/04/04 12:45:51.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=109] ["take time"=11.074858ms] [job="ID:140, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:139, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:51.6 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:51.672 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=140] [conn=10] [job="ID:140, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:139, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:51.6 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:51.685 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=140] [2025/04/04 12:45:51.685 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=10] [schemaVersion=109] [cur_db=test] [sql="create table t2(a int, index i(a))"] [user=] [2025/04/04 12:45:51.704 +00:00] [INFO] [executor.go:1408] ["get flashback cluster job"] [category=ddl] [flashbackTS="2025-04-04 12:45:51.35 +0000 UTC"] [2025/04/04 12:45:51.716 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:141, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:51.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:51.716 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:141, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:51.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="flashback cluster to timestamp '2025-04-04 12:45:51.350000'"] [2025/04/04 12:45:51.721 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=141] [conn=10] [job="ID:141, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:51.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:51.727 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=141] [2025/04/04 12:45:51.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:running, SchemaState:delete only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:51.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:51.820 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=500ms] [requiredStaleness=457ms] [prevState=unknown(0)] [newState=adapting] [2025/04/04 12:45:51.853 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=109] [neededSchemaVersion=110] ["elapsed time"=136.695µs] [gotSchemaVersion=110] [phyTblIDs="[-1]"] [actionTypes="[62]"] [diffTypes="[\"flashback cluster\"]"] [2025/04/04 12:45:51.856 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=141] [version=110] [2025/04/04 12:45:51.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=110] ["take time"=7.280201ms] [job="ID:141, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:51.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:51.866 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=141] [conn=10] [job="ID:141, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:51.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:51.895 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/04 12:45:51.899 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=32] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/04 12:45:51.901 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=5.328977ms] ["completed regions"=1] [2025/04/04 12:45:51.901 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/04 12:45:51.905 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=40] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/04 12:45:51.908 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=6.104557ms] ["completed regions"=1] [2025/04/04 12:45:51.908 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/04 12:45:51.911 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=48] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/04 12:45:51.912 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=3.9424ms] ["completed regions"=1] [2025/04/04 12:45:51.912 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/04 12:45:51.915 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=56] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/04 12:45:51.916 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=3.670871ms] ["completed regions"=1] [2025/04/04 12:45:51.917 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/04 12:45:51.920 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=64] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/04 12:45:51.921 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=4.481971ms] ["completed regions"=1] [2025/04/04 12:45:51.921 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/04 12:45:51.925 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=72] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/04 12:45:51.926 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=4.032478ms] ["completed regions"=1] [2025/04/04 12:45:51.926 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/04 12:45:51.929 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=80] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/04 12:45:51.930 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=3.927134ms] ["completed regions"=1] [2025/04/04 12:45:51.931 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/04 12:45:51.934 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=88] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/04 12:45:51.935 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=3.714464ms] ["completed regions"=1] [2025/04/04 12:45:51.935 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/04 12:45:51.938 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=96] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/04 12:45:51.939 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=3.693378ms] ["completed regions"=1] [2025/04/04 12:45:51.939 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/04 12:45:51.943 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=104] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/04 12:45:51.945 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=5.111086ms] ["completed regions"=1] [2025/04/04 12:45:51.945 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/04 12:45:51.947 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=112] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/04 12:45:51.949 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=3.524007ms] ["completed regions"=1] [2025/04/04 12:45:51.949 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/04 12:45:51.951 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=120] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/04 12:45:51.953 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=3.932874ms] ["completed regions"=1] [2025/04/04 12:45:51.953 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/04 12:45:51.956 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=128] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/04 12:45:51.957 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.3701ms] ["completed regions"=1] [2025/04/04 12:45:51.957 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/04 12:45:51.960 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=136] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/04 12:45:51.961 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.33071ms] ["completed regions"=1] [2025/04/04 12:45:51.961 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/04 12:45:51.963 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=144] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/04 12:45:51.964 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.370938ms] ["completed regions"=1] [2025/04/04 12:45:51.964 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/04 12:45:51.967 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=152] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/04 12:45:51.968 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.213526ms] ["completed regions"=1] [2025/04/04 12:45:51.968 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/04 12:45:51.971 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=160] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/04 12:45:51.972 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.082421ms] ["completed regions"=1] [2025/04/04 12:45:51.972 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/04 12:45:51.974 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=168] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/04 12:45:51.976 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.476645ms] ["completed regions"=1] [2025/04/04 12:45:51.976 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/04 12:45:51.978 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=176] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/04 12:45:51.979 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.212772ms] ["completed regions"=1] [2025/04/04 12:45:51.979 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/04 12:45:51.982 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=184] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/04 12:45:51.983 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.00703ms] ["completed regions"=1] [2025/04/04 12:45:51.983 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/04 12:45:51.985 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=192] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/04 12:45:51.986 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=3.087944ms] ["completed regions"=1] [2025/04/04 12:45:51.987 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/04 12:45:51.989 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=200] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/04 12:45:51.990 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=2.883915ms] ["completed regions"=1] [2025/04/04 12:45:51.990 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/04 12:45:51.992 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=208] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/04 12:45:51.993 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=3.001535ms] ["completed regions"=1] [2025/04/04 12:45:51.993 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/04 12:45:51.995 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=216] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/04 12:45:51.996 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=2.884036ms] ["completed regions"=1] [2025/04/04 12:45:51.997 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/04 12:45:51.999 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=224] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/04 12:45:52.000 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=2.91093ms] ["completed regions"=1] [2025/04/04 12:45:52.000 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/04 12:45:52.002 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=232] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/04 12:45:52.003 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=2.591716ms] ["completed regions"=1] [2025/04/04 12:45:52.003 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/04 12:45:52.005 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=240] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/04 12:45:52.006 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=2.645627ms] ["completed regions"=1] [2025/04/04 12:45:52.006 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/04 12:45:52.008 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=248] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/04 12:45:52.009 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.444952ms] ["completed regions"=1] [2025/04/04 12:45:52.009 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/04 12:45:52.011 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=256] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/04 12:45:52.012 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=2.525323ms] ["completed regions"=1] [2025/04/04 12:45:52.012 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/04 12:45:52.014 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=264] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/04 12:45:52.015 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.242967ms] ["completed regions"=1] [2025/04/04 12:45:52.015 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/04 12:45:52.017 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/04 12:45:52.017 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=272] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/04 12:45:52.018 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.548823ms] ["completed regions"=1] [2025/04/04 12:45:52.018 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/04 12:45:52.020 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=280] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/04 12:45:52.021 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.463794ms] ["completed regions"=1] [2025/04/04 12:45:52.021 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/04 12:45:52.023 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=288] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/04 12:45:52.024 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.382695ms] ["completed regions"=1] [2025/04/04 12:45:52.024 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/04 12:45:52.026 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=296] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/04 12:45:52.026 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.204781ms] ["completed regions"=1] [2025/04/04 12:45:52.026 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/04 12:45:52.028 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=304] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/04 12:45:52.029 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.168743ms] ["completed regions"=1] [2025/04/04 12:45:52.029 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/04 12:45:52.031 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=312] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/04 12:45:52.032 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.299784ms] ["completed regions"=1] [2025/04/04 12:45:52.032 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/04 12:45:52.033 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=320] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/04 12:45:52.034 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.201534ms] ["completed regions"=1] [2025/04/04 12:45:52.035 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/04 12:45:52.036 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=328] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/04 12:45:52.037 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.213146ms] ["completed regions"=1] [2025/04/04 12:45:52.037 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/04 12:45:52.039 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=336] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/04 12:45:52.040 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=1.994032ms] ["completed regions"=1] [2025/04/04 12:45:52.040 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/04 12:45:52.041 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=344] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/04 12:45:52.042 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=1.785529ms] ["completed regions"=1] [2025/04/04 12:45:52.042 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/04 12:45:52.043 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=352] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/04 12:45:52.044 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=1.655564ms] ["completed regions"=1] [2025/04/04 12:45:52.044 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/04 12:45:52.045 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=360] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/04 12:45:52.046 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=1.81405ms] ["completed regions"=1] [2025/04/04 12:45:52.046 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/04 12:45:52.047 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=372] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/04 12:45:52.048 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=376] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/04 12:45:52.049 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=368] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/04 12:45:52.050 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=4.024194ms] ["completed regions"=3] [2025/04/04 12:45:52.057 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=141] [2025/04/04 12:45:52.064 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=141] [conn=10] [job="ID:141, Type:flashback cluster, State:running, SchemaState:write reorganization, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:51.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:52.065 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/04 12:45:52.069 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=32] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/04 12:45:52.072 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=1] ["total regions"=45] [] [2025/04/04 12:45:52.072 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=6.163375ms] ["completed regions"=1] [2025/04/04 12:45:52.072 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/04 12:45:52.075 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=40] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/04 12:45:52.076 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=2] ["total regions"=45] [] [2025/04/04 12:45:52.076 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=4.305623ms] ["completed regions"=1] [2025/04/04 12:45:52.076 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/04 12:45:52.080 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=48] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/04 12:45:52.081 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=3] ["total regions"=45] [] [2025/04/04 12:45:52.081 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.022016ms] ["completed regions"=1] [2025/04/04 12:45:52.081 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/04 12:45:52.084 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=56] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/04 12:45:52.085 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=4] ["total regions"=45] [] [2025/04/04 12:45:52.085 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=3.803742ms] ["completed regions"=1] [2025/04/04 12:45:52.085 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/04 12:45:52.088 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=64] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/04 12:45:52.089 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=5] ["total regions"=45] [] [2025/04/04 12:45:52.089 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=3.862521ms] ["completed regions"=1] [2025/04/04 12:45:52.089 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/04 12:45:52.092 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=72] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/04 12:45:52.093 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=6] ["total regions"=45] [] [2025/04/04 12:45:52.094 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=3.849542ms] ["completed regions"=1] [2025/04/04 12:45:52.094 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/04 12:45:52.097 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=80] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/04 12:45:52.098 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=7] ["total regions"=45] [] [2025/04/04 12:45:52.098 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=3.855323ms] ["completed regions"=1] [2025/04/04 12:45:52.098 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/04 12:45:52.101 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=88] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/04 12:45:52.102 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=8] ["total regions"=45] [] [2025/04/04 12:45:52.102 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=3.744735ms] ["completed regions"=1] [2025/04/04 12:45:52.102 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/04 12:45:52.105 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=96] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/04 12:45:52.106 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=9] ["total regions"=45] [] [2025/04/04 12:45:52.106 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=3.533685ms] ["completed regions"=1] [2025/04/04 12:45:52.106 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/04 12:45:52.109 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=104] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/04 12:45:52.110 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=10] ["total regions"=45] [] [2025/04/04 12:45:52.110 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=3.628427ms] ["completed regions"=1] [2025/04/04 12:45:52.110 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/04 12:45:52.113 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=112] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/04 12:45:52.114 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=11] ["total regions"=45] [] [2025/04/04 12:45:52.114 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=3.528092ms] ["completed regions"=1] [2025/04/04 12:45:52.114 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/04 12:45:52.117 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=120] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/04 12:45:52.118 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=12] ["total regions"=45] [] [2025/04/04 12:45:52.119 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=4.198232ms] ["completed regions"=1] [2025/04/04 12:45:52.119 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/04 12:45:52.121 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=128] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/04 12:45:52.122 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=13] ["total regions"=45] [] [2025/04/04 12:45:52.122 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.334071ms] ["completed regions"=1] [2025/04/04 12:45:52.122 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/04 12:45:52.125 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=136] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/04 12:45:52.126 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=14] ["total regions"=45] [] [2025/04/04 12:45:52.126 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.586612ms] ["completed regions"=1] [2025/04/04 12:45:52.126 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/04 12:45:52.129 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=144] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/04 12:45:52.130 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=15] ["total regions"=45] [] [2025/04/04 12:45:52.130 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.212768ms] ["completed regions"=1] [2025/04/04 12:45:52.130 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/04 12:45:52.133 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=152] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/04 12:45:52.134 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=16] ["total regions"=45] [] [2025/04/04 12:45:52.134 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.334619ms] ["completed regions"=1] [2025/04/04 12:45:52.134 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/04 12:45:52.136 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=160] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/04 12:45:52.137 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=17] ["total regions"=45] [] [2025/04/04 12:45:52.137 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.26778ms] ["completed regions"=1] [2025/04/04 12:45:52.137 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/04 12:45:52.140 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=168] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/04 12:45:52.141 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=18] ["total regions"=45] [] [2025/04/04 12:45:52.141 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.172792ms] ["completed regions"=1] [2025/04/04 12:45:52.141 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/04 12:45:52.143 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=176] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/04 12:45:52.144 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=19] ["total regions"=45] [] [2025/04/04 12:45:52.144 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.049209ms] ["completed regions"=1] [2025/04/04 12:45:52.144 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/04 12:45:52.147 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=184] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/04 12:45:52.148 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=20] ["total regions"=45] [] [2025/04/04 12:45:52.148 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=2.990922ms] ["completed regions"=1] [2025/04/04 12:45:52.148 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/04 12:45:52.150 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=192] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/04 12:45:52.151 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=21] ["total regions"=45] [] [2025/04/04 12:45:52.151 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=3.0051ms] ["completed regions"=1] [2025/04/04 12:45:52.151 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/04 12:45:52.154 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=200] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/04 12:45:52.155 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=22] ["total regions"=45] [] [2025/04/04 12:45:52.155 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=2.98974ms] ["completed regions"=1] [2025/04/04 12:45:52.155 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/04 12:45:52.157 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=208] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/04 12:45:52.158 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=23] ["total regions"=45] [] [2025/04/04 12:45:52.158 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=2.841834ms] ["completed regions"=1] [2025/04/04 12:45:52.158 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/04 12:45:52.160 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=216] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/04 12:45:52.161 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=24] ["total regions"=45] [] [2025/04/04 12:45:52.161 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=2.899651ms] ["completed regions"=1] [2025/04/04 12:45:52.161 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/04 12:45:52.163 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=224] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/04 12:45:52.164 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=25] ["total regions"=45] [] [2025/04/04 12:45:52.164 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=2.844143ms] ["completed regions"=1] [2025/04/04 12:45:52.164 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/04 12:45:52.166 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=232] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/04 12:45:52.168 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=26] ["total regions"=45] [] [2025/04/04 12:45:52.168 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=3.040177ms] ["completed regions"=1] [2025/04/04 12:45:52.168 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/04 12:45:52.170 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=240] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/04 12:45:52.171 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=27] ["total regions"=45] [] [2025/04/04 12:45:52.171 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=2.882095ms] ["completed regions"=1] [2025/04/04 12:45:52.171 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/04 12:45:52.173 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=248] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/04 12:45:52.174 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=28] ["total regions"=45] [] [2025/04/04 12:45:52.174 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.759713ms] ["completed regions"=1] [2025/04/04 12:45:52.174 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/04 12:45:52.176 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=256] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/04 12:45:52.177 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=29] ["total regions"=45] [] [2025/04/04 12:45:52.177 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=2.712092ms] ["completed regions"=1] [2025/04/04 12:45:52.177 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/04 12:45:52.179 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=264] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/04 12:45:52.181 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=30] ["total regions"=45] [] [2025/04/04 12:45:52.181 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.727949ms] ["completed regions"=1] [2025/04/04 12:45:52.181 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/04 12:45:52.182 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=272] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/04 12:45:52.183 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=31] ["total regions"=45] [] [2025/04/04 12:45:52.184 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.500647ms] ["completed regions"=1] [2025/04/04 12:45:52.184 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/04 12:45:52.185 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=280] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/04 12:45:52.186 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=32] ["total regions"=45] [] [2025/04/04 12:45:52.186 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.344322ms] ["completed regions"=1] [2025/04/04 12:45:52.186 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/04 12:45:52.188 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=288] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/04 12:45:52.189 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=33] ["total regions"=45] [] [2025/04/04 12:45:52.189 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.369278ms] ["completed regions"=1] [2025/04/04 12:45:52.189 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/04 12:45:52.191 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=296] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/04 12:45:52.192 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=34] ["total regions"=45] [] [2025/04/04 12:45:52.192 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.320697ms] ["completed regions"=1] [2025/04/04 12:45:52.192 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/04 12:45:52.193 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=304] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/04 12:45:52.194 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=35] ["total regions"=45] [] [2025/04/04 12:45:52.195 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.339809ms] ["completed regions"=1] [2025/04/04 12:45:52.195 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/04 12:45:52.196 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=312] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/04 12:45:52.197 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=36] ["total regions"=45] [] [2025/04/04 12:45:52.197 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.24499ms] ["completed regions"=1] [2025/04/04 12:45:52.197 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/04 12:45:52.199 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=320] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/04 12:45:52.200 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=37] ["total regions"=45] [] [2025/04/04 12:45:52.200 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.203862ms] ["completed regions"=1] [2025/04/04 12:45:52.200 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/04 12:45:52.201 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=328] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/04 12:45:52.202 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=38] ["total regions"=45] [] [2025/04/04 12:45:52.202 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.052686ms] ["completed regions"=1] [2025/04/04 12:45:52.202 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/04 12:45:52.204 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=336] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/04 12:45:52.205 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=39] ["total regions"=45] [] [2025/04/04 12:45:52.205 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=2.108296ms] ["completed regions"=1] [2025/04/04 12:45:52.205 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/04 12:45:52.206 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=344] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/04 12:45:52.207 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=40] ["total regions"=45] [] [2025/04/04 12:45:52.207 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=2.072752ms] ["completed regions"=1] [2025/04/04 12:45:52.207 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/04 12:45:52.209 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=352] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/04 12:45:52.210 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=41] ["total regions"=45] [] [2025/04/04 12:45:52.210 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=1.933169ms] ["completed regions"=1] [2025/04/04 12:45:52.210 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/04 12:45:52.211 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=360] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/04 12:45:52.212 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=42] ["total regions"=45] [] [2025/04/04 12:45:52.213 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=2.491053ms] ["completed regions"=1] [2025/04/04 12:45:52.213 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/04 12:45:52.218 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=372] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/04 12:45:52.219 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=376] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/04 12:45:52.220 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=368] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/04 12:45:52.222 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=45] ["total regions"=45] [] [2025/04/04 12:45:52.222 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=9.070072ms] ["completed regions"=3] [2025/04/04 12:45:52.222 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: flashback cluster)"] [2025/04/04 12:45:52.239 +00:00] [ERROR] [domain.go:375] ["failed to load schema diff"] [error="Meets a schema diff with RegenerateSchemaMap flag"] [errorVerbose="Meets a schema diff with RegenerateSchemaMap flag\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).tryLoadSchemaDiffs\n\tpkg/domain/domain.go:652\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:358\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:375\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103"] [2025/04/04 12:45:52.323 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=110] [neededSchemaVersion=111] ["elapsed time"=84.728323ms] [2025/04/04 12:45:52.323 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 12:45:52.327 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=141] [version=111] [2025/04/04 12:45:52.329 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=111] ["take time"=92.974523ms] [job="ID:141, Type:flashback cluster, State:done, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:51.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:52.403 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=141] [conn=10] [job="ID:141, Type:flashback cluster, State:synced, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:51.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:52.417 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=141] [2025/04/04 12:45:52.417 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 10\n# Query_time: 0.713682302\n# Parse_time: 0.000095519\n# Compile_time: 0.00035961\n# Rewrite_time: 0.000004079\n# Optimize_time: 0.000917806\n# Wait_TS: 0.000375504\n# DB: test\n# Is_internal: false\n# Digest: af09c17df48245f34604ebcd1fb822f4f2360c5d282fb4cb3aeced6fc3c852fa\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nuse test;\nflashback cluster to timestamp '2025-04-04 12:45:51.350000';"] [2025/04/04 12:45:52.419 +00:00] [INFO] [check_table_index.go:434] ["fast check table by group"] ["table name"=t] ["index name"=i] [times=1] ["current offset"=0] ["current mod"=1] ["table sql"="select /*+ read_from_storage(tikv[`test`.`t`]) */ bit_xor(crc32(md5(concat_ws(0x2, `_tidb_rowid`, `a`)))), ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024), count(*) from `test`.`t` use index() where 0 = 0 group by ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024)"] ["index sql"="select bit_xor(crc32(md5(concat_ws(0x2, `_tidb_rowid`, `a`)))), ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024), count(*) from `test`.`t` use index(`i`) where 0 = 0 group by ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024)"] [2025/04/04 12:45:52.439 +00:00] [INFO] [check_table_index.go:434] ["fast check table by group"] ["table name"=t1] ["index name"=i] [times=1] ["current offset"=0] ["current mod"=1] ["table sql"="select /*+ read_from_storage(tikv[`test`.`t1`]) */ bit_xor(crc32(md5(concat_ws(0x2, `_tidb_rowid`, `a`)))), ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024), count(*) from `test`.`t1` use index() where 0 = 0 group by ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024)"] ["index sql"="select bit_xor(crc32(md5(concat_ws(0x2, `_tidb_rowid`, `a`)))), ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024), count(*) from `test`.`t1` use index(`i`) where 0 = 0 group by ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024)"] [2025/04/04 12:45:52.461 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 12:45:52.461 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=61d781e2-b8e4-4aa9-8dfa-9ff49d413858] [] [2025/04/04 12:45:52.461 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=61d781e2-b8e4-4aa9-8dfa-9ff49d413858] [2025/04/04 12:45:52.461 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 12:45:52.461 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:45:52.461 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:45:52.461 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 27, tp general"] ["take time"=118.793µs] [2025/04/04 12:45:52.462 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 28, tp general"] ["take time"=65.346µs] [2025/04/04 12:45:52.462 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 29, tp general"] ["take time"=75.235µs] [2025/04/04 12:45:52.462 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 30, tp general"] ["take time"=44.057µs] [2025/04/04 12:45:52.462 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 31, tp general"] ["take time"=50.763µs] [2025/04/04 12:45:52.462 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 32, tp general"] ["take time"=64.972µs] [2025/04/04 12:45:52.462 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 33, tp general"] ["take time"=28.941µs] [2025/04/04 12:45:52.462 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=61d781e2-b8e4-4aa9-8dfa-9ff49d413858] [2025/04/04 12:45:52.462 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=61d781e2-b8e4-4aa9-8dfa-9ff49d413858] [2025/04/04 12:45:52.463 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 12:45:52.463 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 12:45:52.468 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=61d781e2-b8e4-4aa9-8dfa-9ff49d413858] ["take time"=6.595359ms] [2025/04/04 12:45:52.468 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=61d781e2-b8e4-4aa9-8dfa-9ff49d413858] [2025/04/04 12:45:52.468 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 12:45:52.468 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/04 12:45:52.468 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/699b41d4-a8b9-4ce5-a1c5-fa4add1ab486] [watcherID=ed2ce5cc-6e93-4490-b2d8-f4faef9a7884] [2025/04/04 12:45:52.468 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/699b41d4-a8b9-4ce5-a1c5-fa4add1ab486] [2025/04/04 12:45:52.468 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=61d781e2-b8e4-4aa9-8dfa-9ff49d413858] [ttl-worker=task-manager] [ttl-worker=61d781e2-b8e4-4aa9-8dfa-9ff49d413858] [originalCount=4] [newCount=0] [2025/04/04 12:45:52.468 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:45:52.468 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:45:52.468 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:45:52.468 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:45:52.468 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=61d781e2-b8e4-4aa9-8dfa-9ff49d413858] [ttl-worker=task-manager] [ttl-worker=61d781e2-b8e4-4aa9-8dfa-9ff49d413858] [originalCount=4] [newCount=0] [2025/04/04 12:45:52.470 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:45:52.470 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:45:52.471 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:45:52.471 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:45:52.473 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=61d781e2-b8e4-4aa9-8dfa-9ff49d413858] [2025/04/04 12:45:52.473 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 12:45:52.474 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1625] [2025/04/04 12:45:52.474 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 12:45:52.474 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:45:52.474 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=904d4a52-5107-490d-aec5-355106ac4a0e] [] [2025/04/04 12:45:52.474 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:45:52.474 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:45:52.474 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:45:52.474 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:45:52.474 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:45:52.474 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 12:45:52.474 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:45:52.474 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:45:52.474 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:45:52.474 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 12:45:52.474 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 12:45:52.474 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:45:52.474 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 12:45:52.474 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 12:45:52.474 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=61d781e2-b8e4-4aa9-8dfa-9ff49d413858] [2025/04/04 12:45:52.474 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 12:45:52.474 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 12:45:52.474 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:45:52.474 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:45:52.474 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 12:45:52.474 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 12:45:52.474 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 12:45:52.474 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:45:52.474 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:45:52.474 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 12:45:52.474 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=904d4a52-5107-490d-aec5-355106ac4a0e] [2025/04/04 12:45:52.474 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:45:52.474 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:45:52.474 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 12:45:52.474 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:45:52.474 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/04 12:45:52.474 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 12:45:52.474 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 12:45:52.474 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:45:52.474 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:45:52.474 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 12:45:52.474 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 12:45:52.474 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:45:52.474 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:45:52.474 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 12:45:52.474 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:45:52.474 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 12:45:52.474 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 12:45:52.474 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:45:52.474 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:45:52.475 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:45:52.474 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:45:52.474 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:45:52.474 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 12:45:52.474 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 12:45:52.475 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:45:52.475 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:45:52.474 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 12:45:52.474 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:45:52.474 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 12:45:52.475 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:45:52.475 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:45:52.474 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 12:45:52.474 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:45:52.474 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/04 12:45:52.474 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/04 12:45:52.474 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/04 12:45:52.474 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=904d4a52-5107-490d-aec5-355106ac4a0e] [2025/04/04 12:45:52.475 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=904d4a52-5107-490d-aec5-355106ac4a0e] [2025/04/04 12:45:52.475 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=61d781e2-b8e4-4aa9-8dfa-9ff49d413858] [2025/04/04 12:45:52.475 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 12:45:52.475 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 12:45:52.475 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 12:45:52.475 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 12:45:52.475 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:45:52.476 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/stats/owner] [id=61d781e2-b8e4-4aa9-8dfa-9ff49d413858] [error="context canceled"] [2025/04/04 12:45:52.476 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=61d781e2-b8e4-4aa9-8dfa-9ff49d413858] [2025/04/04 12:45:52.477 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=904d4a52-5107-490d-aec5-355106ac4a0e] [daemon-id=LogBackup::Advancer] [2025/04/04 12:45:52.477 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 12:45:52.477 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 12:45:52.477 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 12:45:52.477 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:45:52.477 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:45:52.477 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 12:45:52.477 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:45:52.477 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 12:45:52.477 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 12:45:52.477 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:45:52.478 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=61d781e2-b8e4-4aa9-8dfa-9ff49d413858] [error="context canceled"] [2025/04/04 12:45:52.478 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=61d781e2-b8e4-4aa9-8dfa-9ff49d413858] [2025/04/04 12:45:52.499 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 12:45:52.500 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:45:52.539 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=61d781e2-b8e4-4aa9-8dfa-9ff49d413858] [error="context canceled"] [2025/04/04 12:45:52.539 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 12:45:52.539 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:45:52.549 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=88.444592ms] [2025/04/04 12:45:52.552 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:45:52.552 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:45:52.552 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:45:52.552 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:45:52.552 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:45:52.552 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:45:52.552 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:45:52.552 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:52.552 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:52.552 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-6] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:45:52.552 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:52.552 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:45:52.554 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestFlashbackBasicRenameDropCreateTable (2.72s) === NAME === RUN TestFlashbackCreateDropTableWithData [2025/04/04 12:45:52.562 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 12:45:52.563 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 12:45:52.564 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437820018004919] [2025/04/04 12:45:52.564 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:45:52.564 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 12:45:52.565 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:45:52.565 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:45:52.565 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:45:52.565 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:45:52.565 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:45:52.565 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:45:52.569 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 12:45:52.575 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:45:52.575 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:45:52.576 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:45:52.589 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489437820018004919] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 12:45:52.599 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 12:45:52.632 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1464] ["lease id"=22319600d42f9548] [2025/04/04 12:45:52.634 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/04 12:45:52.721 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=111] ["elapsed time"=84.834815ms] [2025/04/04 12:45:52.722 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 12:45:52.724 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 12:45:52.733 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=1b3d4004-e83f-4efe-ae44-f9cfde8e5020] [runWorker=true] [jobVersion=v2] [2025/04/04 12:45:52.734 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 12:45:52.735 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=1b3d4004-e83f-4efe-ae44-f9cfde8e5020] [2025/04/04 12:45:52.736 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 12:45:52.737 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 261545132032/466850480128, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 12:45:52.737 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:45:52.737 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:45:52.737 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:45:52.737 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:45:52.737 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:45:52.737 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:45:52.737 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:45:52.737 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:45:52.737 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 12:45:52.737 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:45:52.737 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:45:52.737 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 12:45:52.737 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=49001e86-fa4f-4ef5-84a0-d32f2ffe96f1] [2025/04/04 12:45:52.739 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319600d42f954d] [ownerID=1b3d4004-e83f-4efe-ae44-f9cfde8e5020] [op=none] [2025/04/04 12:45:52.739 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=1b3d4004-e83f-4efe-ae44-f9cfde8e5020] [2025/04/04 12:45:52.739 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=1b3d4004-e83f-4efe-ae44-f9cfde8e5020] [ownerKey=/tidb/ddl/fg/owner/22319600d42f954d] [currRev=562] [2025/04/04 12:45:52.739 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:45:52.739 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=49001e86-fa4f-4ef5-84a0-d32f2ffe96f1] [daemon-id=LogBackup::Advancer] [2025/04/04 12:45:52.740 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f189600d42f983e] [ownerID=49001e86-fa4f-4ef5-84a0-d32f2ffe96f1] [op=none] [2025/04/04 12:45:52.740 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=49001e86-fa4f-4ef5-84a0-d32f2ffe96f1] [2025/04/04 12:45:52.740 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=49001e86-fa4f-4ef5-84a0-d32f2ffe96f1] [ownerKey=/tidb/br-stream/owner/6f189600d42f983e] [currRev=563] [2025/04/04 12:45:52.740 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 12:45:52.741 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319600d42f954d] [ownerID=1b3d4004-e83f-4efe-ae44-f9cfde8e5020] [op=none] [2025/04/04 12:45:52.741 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=1b3d4004-e83f-4efe-ae44-f9cfde8e5020] [op=none] [2025/04/04 12:45:52.741 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 12:45:52.745 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=1b3d4004-e83f-4efe-ae44-f9cfde8e5020] [2025/04/04 12:45:52.746 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:45:52.746 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 12:45:52.755 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:45:52.762 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:45:52.768 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:45:52.768 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:45:52.768 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 12:45:52.768 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:45:52.769 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:45:52.769 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 12:45:52.769 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 12:45:52.769 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 12:45:52.769 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 12:45:52.769 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:45:52.770 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=1b3d4004-e83f-4efe-ae44-f9cfde8e5020] [2025/04/04 12:45:52.770 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:45:52.771 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:45:52.771 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:45:52.771 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:45:52.771 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:45:52.771 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 12:45:52.771 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:45:52.771 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 12:45:52.771 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:45:52.771 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:45:52.771 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 12:45:52.771 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:45:52.771 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:45:52.771 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:45:52.771 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:45:52.773 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=434.8GiB] [2025/04/04 12:45:52.775 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/9ef59a7a-5ea8-49b7-9984-16646033f64a] [2025/04/04 12:45:52.776 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=1b3d4004-e83f-4efe-ae44-f9cfde8e5020] [ttl-worker=task-manager] [ttl-worker=1b3d4004-e83f-4efe-ae44-f9cfde8e5020] [originalCount=0] [newCount=4] [2025/04/04 12:45:52.776 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=1b3d4004-e83f-4efe-ae44-f9cfde8e5020] [ttl-worker=task-manager] [ttl-worker=1b3d4004-e83f-4efe-ae44-f9cfde8e5020] [originalCount=0] [newCount=4] [2025/04/04 12:45:52.776 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=1b3d4004-e83f-4efe-ae44-f9cfde8e5020] [2025/04/04 12:45:52.777 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 12:45:52.777 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:45:52.777 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 12:45:52.777 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743770752777934872 [2025/04/04 12:45:52.782 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 12:45:52.788 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=18.522909ms] [2025/04/04 12:45:52.788 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:45:52.788 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 12:45:52.798 +00:00] [INFO] [set.go:172] ["set global var"] [conn=11] [name=tidb_schema_cache_size] [val=0] [2025/04/04 12:45:52.809 +00:00] [INFO] [set.go:172] ["set global var"] [conn=11] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 12:45:52.812 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=11] [schemaVersion=111] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/04 12:45:52.813 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=11] [schemaVersion=111] [cur_db=test] [sql="alter table `t1` nocache"] [user=] [2025/04/04 12:45:52.826 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:142, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:52.8 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:52.826 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:142, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:52.8 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`,`t1`"] [2025/04/04 12:45:52.832 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=142] [conn=11] [job="ID:142, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:133, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:52.8 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:52.848 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=111] [neededSchemaVersion=112] ["elapsed time"=2.033382ms] [gotSchemaVersion=112] [phyTblIDs="[133]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:45:52.851 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=142] [version=112] [2025/04/04 12:45:52.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=112] ["take time"=9.251163ms] [job="ID:142, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:52.8 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:52.863 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=142] [conn=11] [job="ID:142, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:133, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:52.8 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:52.878 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=112] [neededSchemaVersion=113] ["elapsed time"=2.028859ms] [gotSchemaVersion=113] [phyTblIDs="[133]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:45:52.882 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=142] [version=113] [2025/04/04 12:45:52.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=113] ["take time"=9.011352ms] [job="ID:142, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:52.8 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:52.891 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=142] [conn=11] [job="ID:142, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:133, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:52.8 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:52.898 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 133, Old Table Name: t)"] [2025/04/04 12:45:52.910 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=113] [neededSchemaVersion=114] ["elapsed time"=1.113508ms] [gotSchemaVersion=114] [phyTblIDs="[133]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:45:52.914 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=142] [version=114] [2025/04/04 12:45:52.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=114] ["take time"=8.088272ms] [job="ID:142, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:52.8 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:52.925 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=142] [tableIDs="[133]"] [comment="drop table: table ID"] [2025/04/04 12:45:52.932 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=142] [jobType="drop table"] [2025/04/04 12:45:52.933 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=142] [conn=11] [job="ID:142, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:52.8 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:52.952 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=142] [2025/04/04 12:45:52.962 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:143, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:52.95 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:52.962 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:143, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:52.95 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`,`t1`"] [2025/04/04 12:45:52.967 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=143] [conn=11] [job="ID:143, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:135, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:52.95 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:52.983 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=114] [neededSchemaVersion=115] ["elapsed time"=1.92976ms] [gotSchemaVersion=115] [phyTblIDs="[135]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:45:52.987 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=143] [version=115] [2025/04/04 12:45:52.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=115] ["take time"=8.917214ms] [job="ID:143, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:52.95 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:52.998 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=143] [conn=11] [job="ID:143, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:135, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:52.95 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:53.013 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=115] [neededSchemaVersion=116] ["elapsed time"=1.951896ms] [gotSchemaVersion=116] [phyTblIDs="[135]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:45:53.016 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=143] [version=116] [2025/04/04 12:45:53.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=116] ["take time"=8.671455ms] [job="ID:143, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:52.95 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:53.026 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=143] [conn=11] [job="ID:143, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:135, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:52.95 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:53.032 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 135, Old Table Name: t1)"] [2025/04/04 12:45:53.045 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=116] [neededSchemaVersion=117] ["elapsed time"=1.172973ms] [gotSchemaVersion=117] [phyTblIDs="[135]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:45:53.048 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=143] [version=117] [2025/04/04 12:45:53.050 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=117] ["take time"=8.189777ms] [job="ID:143, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:52.95 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:53.059 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=143] [tableIDs="[135]"] [comment="drop table: table ID"] [2025/04/04 12:45:53.063 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=143] [jobType="drop table"] [2025/04/04 12:45:53.064 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=143] [conn=11] [job="ID:143, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:52.95 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:53.081 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=143] [2025/04/04 12:45:53.081 +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: 1743770753082011677 [2025/04/04 12:45:53.107 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:145, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:144, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:53.049 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:53.107 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:145, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:144, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:53.049 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t(a int)"] [2025/04/04 12:45:53.113 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=145] [conn=12] [job="ID:145, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:144, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:53.049 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:53.120 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 144, Table Name: t)"] [2025/04/04 12:45:53.134 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=117] [neededSchemaVersion=118] ["elapsed time"=1.512901ms] [gotSchemaVersion=118] [phyTblIDs="[144]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:53.137 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=145] [version=118] [2025/04/04 12:45:53.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=118] ["take time"=8.910451ms] [job="ID:145, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:144, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:53.049 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:53.150 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=145] [conn=12] [job="ID:145, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:144, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:53.049 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:53.160 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=145] [2025/04/04 12:45:53.160 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=12] [schemaVersion=118] [cur_db=test] [sql="create table t(a int)"] [user=] [2025/04/04 12:45:53.747 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/04 12:45:53.747 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 12:45:53.747 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 12:45:53.747 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:45:53.776 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/04 12:45:53.776 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/04 12:45:53.777 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/04 12:45:53.781 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/9ef59a7a-5ea8-49b7-9984-16646033f64a] [watcherID=843de08c-2c73-4a8a-a31e-8d4ca7e2088d] [2025/04/04 12:45:53.785 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/04 12:45:53.785 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/04 12:45:53.785 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/04 12:45:53.785 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/04 12:45:54.181 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:146, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:144, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:54.15 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table t"] [2025/04/04 12:45:54.182 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:146, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:144, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:54.15 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:54.188 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=146] [conn=12] [job="ID:146, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:144, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:54.15 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:54.206 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=118] [neededSchemaVersion=119] ["elapsed time"=1.899695ms] [gotSchemaVersion=119] [phyTblIDs="[144]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:45:54.209 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=146] [version=119] [2025/04/04 12:45:54.211 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=119] ["take time"=9.224663ms] [job="ID:146, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:144, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:54.15 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:54.221 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=146] [conn=12] [job="ID:146, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:144, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:54.15 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:54.237 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=119] [neededSchemaVersion=120] ["elapsed time"=1.878316ms] [gotSchemaVersion=120] [phyTblIDs="[144]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:45:54.241 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=146] [version=120] [2025/04/04 12:45:54.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=120] ["take time"=9.254909ms] [job="ID:146, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:144, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:54.15 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:54.252 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=146] [conn=12] [job="ID:146, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:144, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:54.15 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:54.258 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 144, Old Table Name: t)"] [2025/04/04 12:45:54.271 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=120] [neededSchemaVersion=121] ["elapsed time"=1.215133ms] [gotSchemaVersion=121] [phyTblIDs="[144]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:45:54.275 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=146] [version=121] [2025/04/04 12:45:54.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=121] ["take time"=8.606366ms] [job="ID:146, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:144, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:54.15 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:54.286 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=146] [tableIDs="[144]"] [comment="drop table: table ID"] [2025/04/04 12:45:54.290 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=146] [jobType="drop table"] [2025/04/04 12:45:54.291 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=146] [conn=12] [job="ID:146, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:144, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:54.15 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:54.309 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=146] [2025/04/04 12:45:54.309 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=12] [schemaVersion=121] [cur_db=test] [sql="drop table t"] [user=] [2025/04/04 12:45:54.321 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:148, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:147, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:54.3 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:54.321 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:148, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:147, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:54.3 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t(b int)"] [2025/04/04 12:45:54.327 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=148] [conn=12] [job="ID:148, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:147, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:54.3 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:54.332 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 147, Table Name: t)"] [2025/04/04 12:45:54.345 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=121] [neededSchemaVersion=122] ["elapsed time"=1.60221ms] [gotSchemaVersion=122] [phyTblIDs="[147]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:54.349 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=148] [version=122] [2025/04/04 12:45:54.350 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=122] ["take time"=8.594417ms] [job="ID:148, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:147, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:54.3 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:54.362 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=148] [conn=12] [job="ID:148, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:147, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:54.3 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:54.372 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=148] [2025/04/04 12:45:54.372 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=12] [schemaVersion=122] [cur_db=test] [sql="create table t(b int)"] [user=] [2025/04/04 12:45:54.379 +00:00] [INFO] [executor.go:1408] ["get flashback cluster job"] [category=ddl] [flashbackTS="2025-04-04 12:45:54.15 +0000 UTC"] [2025/04/04 12:45:54.390 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:149, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:54.349 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:54.390 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:149, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:54.349 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="flashback cluster to timestamp '2025-04-04 12:45:54.150000'"] [2025/04/04 12:45:54.396 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=149] [conn=12] [job="ID:149, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:54.349 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:54.401 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=149] [2025/04/04 12:45:54.408 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=149] [conn=12] [job="ID:149, Type:flashback cluster, State:running, SchemaState:delete only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:54.349 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:54.487 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=500ms] [requiredStaleness=300ms] [prevState=unknown(0)] [newState=adapting] [2025/04/04 12:45:54.518 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=122] [neededSchemaVersion=123] ["elapsed time"=161.266µs] [gotSchemaVersion=123] [phyTblIDs="[-1]"] [actionTypes="[62]"] [diffTypes="[\"flashback cluster\"]"] [2025/04/04 12:45:54.521 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=149] [version=123] [2025/04/04 12:45:54.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=123] ["take time"=7.377235ms] [job="ID:149, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:54.349 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:54.532 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=149] [conn=12] [job="ID:149, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:54.349 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:54.565 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/04 12:45:54.569 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=32] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/04 12:45:54.572 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=7.223637ms] ["completed regions"=1] [2025/04/04 12:45:54.573 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/04 12:45:54.577 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=40] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/04 12:45:54.578 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=5.076732ms] ["completed regions"=1] [2025/04/04 12:45:54.578 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/04 12:45:54.582 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=48] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/04 12:45:54.584 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.563975ms] ["completed regions"=1] [2025/04/04 12:45:54.584 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/04 12:45:54.587 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=56] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/04 12:45:54.589 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=4.764543ms] ["completed regions"=1] [2025/04/04 12:45:54.589 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/04 12:45:54.593 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=64] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/04 12:45:54.594 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=4.546488ms] ["completed regions"=1] [2025/04/04 12:45:54.594 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/04 12:45:54.598 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=72] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/04 12:45:54.599 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=4.462666ms] ["completed regions"=1] [2025/04/04 12:45:54.599 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/04 12:45:54.602 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=80] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/04 12:45:54.603 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=4.222988ms] ["completed regions"=1] [2025/04/04 12:45:54.604 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/04 12:45:54.607 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=88] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/04 12:45:54.608 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=4.003276ms] ["completed regions"=1] [2025/04/04 12:45:54.608 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/04 12:45:54.611 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=96] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/04 12:45:54.612 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=3.899987ms] ["completed regions"=1] [2025/04/04 12:45:54.612 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/04 12:45:54.616 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=104] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/04 12:45:54.617 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=3.899508ms] ["completed regions"=1] [2025/04/04 12:45:54.617 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/04 12:45:54.620 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=112] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/04 12:45:54.621 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=3.904546ms] ["completed regions"=1] [2025/04/04 12:45:54.621 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/04 12:45:54.624 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=120] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/04 12:45:54.626 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=4.256649ms] ["completed regions"=1] [2025/04/04 12:45:54.626 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/04 12:45:54.629 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=128] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/04 12:45:54.630 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.537488ms] ["completed regions"=1] [2025/04/04 12:45:54.630 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/04 12:45:54.633 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=136] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/04 12:45:54.634 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.750899ms] ["completed regions"=1] [2025/04/04 12:45:54.634 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/04 12:45:54.637 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=144] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/04 12:45:54.638 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.258312ms] ["completed regions"=1] [2025/04/04 12:45:54.638 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/04 12:45:54.640 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=152] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/04 12:45:54.641 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.357167ms] ["completed regions"=1] [2025/04/04 12:45:54.641 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/04 12:45:54.644 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=160] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/04 12:45:54.645 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.635963ms] ["completed regions"=1] [2025/04/04 12:45:54.646 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/04 12:45:54.648 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=168] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/04 12:45:54.649 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.26846ms] ["completed regions"=1] [2025/04/04 12:45:54.649 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/04 12:45:54.652 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=176] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/04 12:45:54.653 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.540196ms] ["completed regions"=1] [2025/04/04 12:45:54.653 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/04 12:45:54.656 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=184] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/04 12:45:54.657 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.080951ms] ["completed regions"=1] [2025/04/04 12:45:54.657 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/04 12:45:54.660 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=192] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/04 12:45:54.661 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=3.069593ms] ["completed regions"=1] [2025/04/04 12:45:54.661 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/04 12:45:54.663 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=200] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/04 12:45:54.664 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=2.942034ms] ["completed regions"=1] [2025/04/04 12:45:54.664 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/04 12:45:54.667 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=208] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/04 12:45:54.668 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=3.035843ms] ["completed regions"=1] [2025/04/04 12:45:54.668 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/04 12:45:54.670 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=216] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/04 12:45:54.671 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=2.732784ms] ["completed regions"=1] [2025/04/04 12:45:54.671 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/04 12:45:54.673 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=224] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/04 12:45:54.674 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=2.727835ms] ["completed regions"=1] [2025/04/04 12:45:54.674 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/04 12:45:54.676 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=232] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/04 12:45:54.677 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=2.822547ms] ["completed regions"=1] [2025/04/04 12:45:54.677 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/04 12:45:54.679 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=240] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/04 12:45:54.680 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=2.777144ms] ["completed regions"=1] [2025/04/04 12:45:54.681 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/04 12:45:54.683 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=248] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/04 12:45:54.684 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.77631ms] ["completed regions"=1] [2025/04/04 12:45:54.684 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/04 12:45:54.686 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=256] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/04 12:45:54.687 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=2.755753ms] ["completed regions"=1] [2025/04/04 12:45:54.687 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/04 12:45:54.689 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=264] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/04 12:45:54.690 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.41271ms] ["completed regions"=1] [2025/04/04 12:45:54.690 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/04 12:45:54.691 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=272] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/04 12:45:54.695 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=4.369962ms] ["completed regions"=1] [2025/04/04 12:45:54.695 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/04 12:45:54.696 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=280] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/04 12:45:54.697 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.38328ms] ["completed regions"=1] [2025/04/04 12:45:54.697 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/04 12:45:54.699 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=288] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/04 12:45:54.700 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.375527ms] ["completed regions"=1] [2025/04/04 12:45:54.700 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/04 12:45:54.702 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=296] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/04 12:45:54.703 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.293758ms] ["completed regions"=1] [2025/04/04 12:45:54.703 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/04 12:45:54.705 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=304] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/04 12:45:54.706 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.246474ms] ["completed regions"=1] [2025/04/04 12:45:54.706 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/04 12:45:54.707 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=312] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/04 12:45:54.708 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.19128ms] ["completed regions"=1] [2025/04/04 12:45:54.708 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/04 12:45:54.710 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=320] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/04 12:45:54.711 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.016292ms] ["completed regions"=1] [2025/04/04 12:45:54.711 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/04 12:45:54.712 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=328] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/04 12:45:54.713 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.19571ms] ["completed regions"=1] [2025/04/04 12:45:54.713 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/04 12:45:54.715 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=336] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/04 12:45:54.716 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=1.975807ms] ["completed regions"=1] [2025/04/04 12:45:54.716 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/04 12:45:54.717 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=344] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/04 12:45:54.718 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=1.78111ms] ["completed regions"=1] [2025/04/04 12:45:54.718 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/04 12:45:54.719 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=352] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/04 12:45:54.720 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=1.778061ms] ["completed regions"=1] [2025/04/04 12:45:54.720 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/04 12:45:54.721 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=360] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/04 12:45:54.722 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=1.743279ms] ["completed regions"=1] [2025/04/04 12:45:54.722 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/04 12:45:54.724 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=372] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/04 12:45:54.725 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=376] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/04 12:45:54.725 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=368] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/04 12:45:54.727 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=4.01892ms] ["completed regions"=3] [2025/04/04 12:45:54.733 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=149] [2025/04/04 12:45:54.736 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/04 12:45:54.740 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=149] [conn=12] [job="ID:149, Type:flashback cluster, State:running, SchemaState:write reorganization, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:54.349 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:54.741 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/04 12:45:54.745 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=32] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/04 12:45:54.747 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=1] ["total regions"=45] [] [2025/04/04 12:45:54.747 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=5.948905ms] ["completed regions"=1] [2025/04/04 12:45:54.747 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/04 12:45:54.751 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=40] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/04 12:45:54.752 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=2] ["total regions"=45] [] [2025/04/04 12:45:54.752 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=4.622649ms] ["completed regions"=1] [2025/04/04 12:45:54.752 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/04 12:45:54.756 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=48] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/04 12:45:54.757 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=3] ["total regions"=45] [] [2025/04/04 12:45:54.757 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.772496ms] ["completed regions"=1] [2025/04/04 12:45:54.758 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/04 12:45:54.761 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=56] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/04 12:45:54.762 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=4] ["total regions"=45] [] [2025/04/04 12:45:54.762 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=4.100632ms] ["completed regions"=1] [2025/04/04 12:45:54.762 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/04 12:45:54.765 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=64] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/04 12:45:54.766 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=5] ["total regions"=45] [] [2025/04/04 12:45:54.767 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=4.144601ms] ["completed regions"=1] [2025/04/04 12:45:54.767 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/04 12:45:54.770 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=72] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/04 12:45:54.771 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=6] ["total regions"=45] [] [2025/04/04 12:45:54.771 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=3.94694ms] ["completed regions"=1] [2025/04/04 12:45:54.771 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/04 12:45:54.774 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=80] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/04 12:45:54.775 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=7] ["total regions"=45] [] [2025/04/04 12:45:54.775 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=3.86633ms] ["completed regions"=1] [2025/04/04 12:45:54.775 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/04 12:45:54.779 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=88] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/04 12:45:54.780 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=8] ["total regions"=45] [] [2025/04/04 12:45:54.780 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=4.006797ms] ["completed regions"=1] [2025/04/04 12:45:54.780 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/04 12:45:54.783 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=96] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/04 12:45:54.784 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=9] ["total regions"=45] [] [2025/04/04 12:45:54.784 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=3.791946ms] ["completed regions"=1] [2025/04/04 12:45:54.784 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/04 12:45:54.787 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=104] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/04 12:45:54.788 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=10] ["total regions"=45] [] [2025/04/04 12:45:54.788 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=3.618729ms] ["completed regions"=1] [2025/04/04 12:45:54.788 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/04 12:45:54.791 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=112] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/04 12:45:54.792 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=11] ["total regions"=45] [] [2025/04/04 12:45:54.792 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=3.742819ms] ["completed regions"=1] [2025/04/04 12:45:54.792 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/04 12:45:54.795 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=120] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/04 12:45:54.797 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=12] ["total regions"=45] [] [2025/04/04 12:45:54.797 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=4.602537ms] ["completed regions"=1] [2025/04/04 12:45:54.797 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/04 12:45:54.800 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=128] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/04 12:45:54.801 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=13] ["total regions"=45] [] [2025/04/04 12:45:54.801 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.515588ms] ["completed regions"=1] [2025/04/04 12:45:54.801 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/04 12:45:54.804 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=136] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/04 12:45:54.805 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=14] ["total regions"=45] [] [2025/04/04 12:45:54.805 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.557281ms] ["completed regions"=1] [2025/04/04 12:45:54.805 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/04 12:45:54.808 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=144] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/04 12:45:54.809 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=15] ["total regions"=45] [] [2025/04/04 12:45:54.809 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.377339ms] ["completed regions"=1] [2025/04/04 12:45:54.809 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/04 12:45:54.812 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=152] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/04 12:45:54.812 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=16] ["total regions"=45] [] [2025/04/04 12:45:54.813 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.334401ms] ["completed regions"=1] [2025/04/04 12:45:54.813 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/04 12:45:54.815 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=160] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/04 12:45:54.816 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=17] ["total regions"=45] [] [2025/04/04 12:45:54.816 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.23478ms] ["completed regions"=1] [2025/04/04 12:45:54.816 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/04 12:45:54.819 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=168] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/04 12:45:54.820 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=18] ["total regions"=45] [] [2025/04/04 12:45:54.820 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.232098ms] ["completed regions"=1] [2025/04/04 12:45:54.820 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/04 12:45:54.822 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=176] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/04 12:45:54.823 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=19] ["total regions"=45] [] [2025/04/04 12:45:54.823 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.171706ms] ["completed regions"=1] [2025/04/04 12:45:54.824 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/04 12:45:54.826 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=184] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/04 12:45:54.827 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=20] ["total regions"=45] [] [2025/04/04 12:45:54.827 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.025284ms] ["completed regions"=1] [2025/04/04 12:45:54.827 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/04 12:45:54.829 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=192] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/04 12:45:54.830 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=21] ["total regions"=45] [] [2025/04/04 12:45:54.830 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=3.101199ms] ["completed regions"=1] [2025/04/04 12:45:54.831 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/04 12:45:54.833 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=200] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/04 12:45:54.834 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=22] ["total regions"=45] [] [2025/04/04 12:45:54.834 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=3.036695ms] ["completed regions"=1] [2025/04/04 12:45:54.834 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/04 12:45:54.836 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=208] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/04 12:45:54.837 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=23] ["total regions"=45] [] [2025/04/04 12:45:54.837 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=3.071036ms] ["completed regions"=1] [2025/04/04 12:45:54.837 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/04 12:45:54.839 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=216] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/04 12:45:54.840 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=24] ["total regions"=45] [] [2025/04/04 12:45:54.840 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=2.77802ms] ["completed regions"=1] [2025/04/04 12:45:54.841 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/04 12:45:54.843 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=224] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/04 12:45:54.844 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=25] ["total regions"=45] [] [2025/04/04 12:45:54.844 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=2.879435ms] ["completed regions"=1] [2025/04/04 12:45:54.844 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/04 12:45:54.846 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=232] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/04 12:45:54.847 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=26] ["total regions"=45] [] [2025/04/04 12:45:54.847 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=3.134552ms] ["completed regions"=1] [2025/04/04 12:45:54.847 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/04 12:45:54.850 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=240] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/04 12:45:54.851 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=27] ["total regions"=45] [] [2025/04/04 12:45:54.851 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=2.917581ms] ["completed regions"=1] [2025/04/04 12:45:54.851 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/04 12:45:54.853 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=248] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/04 12:45:54.854 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=28] ["total regions"=45] [] [2025/04/04 12:45:54.854 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.901713ms] ["completed regions"=1] [2025/04/04 12:45:54.854 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/04 12:45:54.856 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=256] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/04 12:45:54.857 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=29] ["total regions"=45] [] [2025/04/04 12:45:54.857 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=2.685136ms] ["completed regions"=1] [2025/04/04 12:45:54.857 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/04 12:45:54.859 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=264] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/04 12:45:54.860 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=30] ["total regions"=45] [] [2025/04/04 12:45:54.860 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.524815ms] ["completed regions"=1] [2025/04/04 12:45:54.860 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/04 12:45:54.862 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=272] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/04 12:45:54.863 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=31] ["total regions"=45] [] [2025/04/04 12:45:54.863 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.581827ms] ["completed regions"=1] [2025/04/04 12:45:54.863 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/04 12:45:54.865 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=280] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/04 12:45:54.866 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=32] ["total regions"=45] [] [2025/04/04 12:45:54.866 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.40418ms] ["completed regions"=1] [2025/04/04 12:45:54.866 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/04 12:45:54.868 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=288] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/04 12:45:54.869 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=33] ["total regions"=45] [] [2025/04/04 12:45:54.869 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.639947ms] ["completed regions"=1] [2025/04/04 12:45:54.869 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/04 12:45:54.871 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=296] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/04 12:45:54.872 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=34] ["total regions"=45] [] [2025/04/04 12:45:54.872 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.25936ms] ["completed regions"=1] [2025/04/04 12:45:54.872 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/04 12:45:54.874 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=304] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/04 12:45:54.875 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=35] ["total regions"=45] [] [2025/04/04 12:45:54.875 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.305675ms] ["completed regions"=1] [2025/04/04 12:45:54.875 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/04 12:45:54.876 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=312] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/04 12:45:54.877 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=36] ["total regions"=45] [] [2025/04/04 12:45:54.877 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.32305ms] ["completed regions"=1] [2025/04/04 12:45:54.877 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/04 12:45:54.879 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=320] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/04 12:45:54.880 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=37] ["total regions"=45] [] [2025/04/04 12:45:54.880 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.215481ms] ["completed regions"=1] [2025/04/04 12:45:54.880 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/04 12:45:54.882 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=328] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/04 12:45:54.883 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=38] ["total regions"=45] [] [2025/04/04 12:45:54.883 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.315955ms] ["completed regions"=1] [2025/04/04 12:45:54.883 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/04 12:45:54.884 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=336] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/04 12:45:54.885 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=39] ["total regions"=45] [] [2025/04/04 12:45:54.885 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=2.105682ms] ["completed regions"=1] [2025/04/04 12:45:54.885 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/04 12:45:54.887 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=344] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/04 12:45:54.888 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=40] ["total regions"=45] [] [2025/04/04 12:45:54.888 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=2.12817ms] ["completed regions"=1] [2025/04/04 12:45:54.888 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/04 12:45:54.890 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=352] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/04 12:45:54.891 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=41] ["total regions"=45] [] [2025/04/04 12:45:54.891 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=2.797045ms] ["completed regions"=1] [2025/04/04 12:45:54.891 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/04 12:45:54.892 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=360] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/04 12:45:54.893 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=42] ["total regions"=45] [] [2025/04/04 12:45:54.894 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=1.966246ms] ["completed regions"=1] [2025/04/04 12:45:54.894 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/04 12:45:54.895 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=372] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/04 12:45:54.896 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=376] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/04 12:45:54.897 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=368] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/04 12:45:54.899 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=45] ["total regions"=45] [] [2025/04/04 12:45:54.899 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=4.680823ms] ["completed regions"=3] [2025/04/04 12:45:54.899 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: flashback cluster)"] [2025/04/04 12:45:54.914 +00:00] [ERROR] [domain.go:375] ["failed to load schema diff"] [error="Meets a schema diff with RegenerateSchemaMap flag"] [errorVerbose="Meets a schema diff with RegenerateSchemaMap flag\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).tryLoadSchemaDiffs\n\tpkg/domain/domain.go:652\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:358\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:375\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103"] [2025/04/04 12:45:54.999 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=123] [neededSchemaVersion=124] ["elapsed time"=85.158225ms] [2025/04/04 12:45:54.999 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 12:45:55.004 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=149] [version=124] [2025/04/04 12:45:55.006 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=124] ["take time"=94.380602ms] [job="ID:149, Type:flashback cluster, State:done, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:54.349 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:55.077 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=149] [conn=12] [job="ID:149, Type:flashback cluster, State:synced, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:54.349 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:55.089 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=149] [2025/04/04 12:45:55.090 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 12\n# Query_time: 0.711345674\n# Parse_time: 0.000067537\n# Compile_time: 0.000268874\n# Rewrite_time: 0.000003264\n# Optimize_time: 0.000077391\n# Wait_TS: 0.000551551\n# DB: test\n# Is_internal: false\n# Digest: af09c17df48245f34604ebcd1fb822f4f2360c5d282fb4cb3aeced6fc3c852fa\n# Mem_max: 8192\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nuse test;\nflashback cluster to timestamp '2025-04-04 12:45:54.150000';"] [2025/04/04 12:45:55.095 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 12:45:55.095 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=1b3d4004-e83f-4efe-ae44-f9cfde8e5020] [] [2025/04/04 12:45:55.095 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=1b3d4004-e83f-4efe-ae44-f9cfde8e5020] [2025/04/04 12:45:55.097 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 12:45:55.097 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:45:55.097 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:45:55.097 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 34, tp general"] ["take time"=55.714µs] [2025/04/04 12:45:55.097 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 35, tp general"] ["take time"=56.27µs] [2025/04/04 12:45:55.097 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 36, tp general"] ["take time"=58.823µs] [2025/04/04 12:45:55.097 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 37, tp general"] ["take time"=29.154µs] [2025/04/04 12:45:55.097 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 38, tp general"] ["take time"=28.174µs] [2025/04/04 12:45:55.098 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 39, tp general"] ["take time"=24.426µs] [2025/04/04 12:45:55.098 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=1b3d4004-e83f-4efe-ae44-f9cfde8e5020] [2025/04/04 12:45:55.098 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=1b3d4004-e83f-4efe-ae44-f9cfde8e5020] [2025/04/04 12:45:55.098 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 12:45:55.099 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 12:45:55.102 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=1b3d4004-e83f-4efe-ae44-f9cfde8e5020] ["take time"=7.03233ms] [2025/04/04 12:45:55.102 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=1b3d4004-e83f-4efe-ae44-f9cfde8e5020] [2025/04/04 12:45:55.102 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 12:45:55.102 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/04 12:45:55.102 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/9ef59a7a-5ea8-49b7-9984-16646033f64a] [watcherID=843de08c-2c73-4a8a-a31e-8d4ca7e2088d] [2025/04/04 12:45:55.102 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/9ef59a7a-5ea8-49b7-9984-16646033f64a] [2025/04/04 12:45:55.102 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=1b3d4004-e83f-4efe-ae44-f9cfde8e5020] [ttl-worker=task-manager] [ttl-worker=1b3d4004-e83f-4efe-ae44-f9cfde8e5020] [originalCount=4] [newCount=0] [2025/04/04 12:45:55.102 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:45:55.102 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:45:55.102 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:45:55.102 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:45:55.102 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=1b3d4004-e83f-4efe-ae44-f9cfde8e5020] [ttl-worker=task-manager] [ttl-worker=1b3d4004-e83f-4efe-ae44-f9cfde8e5020] [originalCount=4] [newCount=0] [2025/04/04 12:45:55.105 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:45:55.105 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:45:55.105 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:45:55.105 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:45:55.107 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=1b3d4004-e83f-4efe-ae44-f9cfde8e5020] [2025/04/04 12:45:55.107 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 12:45:55.108 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1464] [2025/04/04 12:45:55.108 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 12:45:55.108 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 12:45:55.108 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=49001e86-fa4f-4ef5-84a0-d32f2ffe96f1] [] [2025/04/04 12:45:55.108 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:45:55.108 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 12:45:55.108 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:45:55.108 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:45:55.108 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=49001e86-fa4f-4ef5-84a0-d32f2ffe96f1] [2025/04/04 12:45:55.108 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:45:55.108 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=1b3d4004-e83f-4efe-ae44-f9cfde8e5020] [2025/04/04 12:45:55.108 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:45:55.108 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 12:45:55.108 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 12:45:55.108 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 12:45:55.108 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 12:45:55.108 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:45:55.108 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 12:45:55.108 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 12:45:55.108 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 12:45:55.108 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:45:55.108 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 12:45:55.108 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 12:45:55.108 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:45:55.109 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/04 12:45:55.109 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:45:55.109 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:45:55.109 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 12:45:55.108 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 12:45:55.108 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 12:45:55.109 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/04 12:45:55.109 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:45:55.109 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:45:55.109 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:45:55.109 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:45:55.109 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:45:55.109 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:45:55.108 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 12:45:55.108 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:45:55.108 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 12:45:55.109 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:45:55.108 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:45:55.108 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:45:55.108 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:45:55.108 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=49001e86-fa4f-4ef5-84a0-d32f2ffe96f1] [2025/04/04 12:45:55.108 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 12:45:55.109 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:45:55.109 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=49001e86-fa4f-4ef5-84a0-d32f2ffe96f1] [2025/04/04 12:45:55.108 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:45:55.108 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 12:45:55.108 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 12:45:55.108 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/04 12:45:55.108 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:45:55.108 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:45:55.108 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 12:45:55.108 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:45:55.109 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:45:55.109 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 12:45:55.109 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/04 12:45:55.109 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:45:55.109 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 12:45:55.109 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 12:45:55.109 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:45:55.109 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:45:55.109 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=1b3d4004-e83f-4efe-ae44-f9cfde8e5020] [2025/04/04 12:45:55.109 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:45:55.108 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 12:45:55.109 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:45:55.109 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 12:45:55.109 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:45:55.109 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 12:45:55.109 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 12:45:55.110 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 12:45:55.110 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:45:55.111 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/stats/owner] [id=1b3d4004-e83f-4efe-ae44-f9cfde8e5020] [error="context canceled"] [2025/04/04 12:45:55.111 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 12:45:55.111 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=1b3d4004-e83f-4efe-ae44-f9cfde8e5020] [2025/04/04 12:45:55.111 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:45:55.111 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=49001e86-fa4f-4ef5-84a0-d32f2ffe96f1] [daemon-id=LogBackup::Advancer] [2025/04/04 12:45:55.111 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 12:45:55.111 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:45:55.111 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 12:45:55.111 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:45:55.111 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 12:45:55.111 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=1b3d4004-e83f-4efe-ae44-f9cfde8e5020] [error="context canceled"] [2025/04/04 12:45:55.111 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 12:45:55.111 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 12:45:55.111 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:45:55.112 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=1b3d4004-e83f-4efe-ae44-f9cfde8e5020] [error="context canceled"] [2025/04/04 12:45:55.112 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=1b3d4004-e83f-4efe-ae44-f9cfde8e5020] [2025/04/04 12:45:55.112 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=1b3d4004-e83f-4efe-ae44-f9cfde8e5020] [error="context canceled"] [2025/04/04 12:45:55.112 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=1b3d4004-e83f-4efe-ae44-f9cfde8e5020] [error="context canceled"] [errorVerbose="context canceled\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:45:55.129 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 12:45:55.129 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:45:55.183 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 12:45:55.183 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:45:55.193 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=98.943388ms] [2025/04/04 12:45:55.196 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:45:55.196 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:45:55.196 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:45:55.196 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:45:55.196 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:45:55.196 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:45:55.196 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:45:55.196 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:55.197 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:55.197 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:55.196 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-7] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:45:55.197 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:45:55.198 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestFlashbackCreateDropTableWithData (2.64s) === NAME === RUN TestFlashbackCreateDropSchema [2025/04/04 12:45:55.208 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 12:45:55.209 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 12:45:55.209 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437820018004919] [2025/04/04 12:45:55.210 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:45:55.210 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 12:45:55.210 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:45:55.210 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:45:55.210 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:45:55.210 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:45:55.211 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:45:55.211 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:45:55.215 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 12:45:55.220 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:45:55.220 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:45:55.221 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:45:55.234 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489437820018004919] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 12:45:55.244 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 12:45:55.283 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1892] ["lease id"=22319600d42f957b] [2025/04/04 12:45:55.285 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/04 12:45:55.380 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=124] ["elapsed time"=92.412235ms] [2025/04/04 12:45:55.380 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 12:45:55.382 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 12:45:55.392 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=bbd7ee13-bfe3-4643-97d5-0b2535dae565] [runWorker=true] [jobVersion=v2] [2025/04/04 12:45:55.392 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 12:45:55.395 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=bbd7ee13-bfe3-4643-97d5-0b2535dae565] [2025/04/04 12:45:55.397 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 12:45:55.397 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 261545230336/466850480128, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 12:45:55.397 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:45:55.397 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:45:55.397 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:45:55.397 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:45:55.397 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:45:55.397 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:45:55.397 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:45:55.397 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:45:55.397 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 12:45:55.397 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:45:55.397 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:45:55.398 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 12:45:55.398 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=6f6c117e-740f-4d22-8384-5ef5f27a5db3] [2025/04/04 12:45:55.399 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f189600d42f9869] [ownerID=bbd7ee13-bfe3-4643-97d5-0b2535dae565] [op=none] [2025/04/04 12:45:55.399 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=bbd7ee13-bfe3-4643-97d5-0b2535dae565] [2025/04/04 12:45:55.400 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=bbd7ee13-bfe3-4643-97d5-0b2535dae565] [ownerKey=/tidb/ddl/fg/owner/6f189600d42f9869] [currRev=624] [2025/04/04 12:45:55.400 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:45:55.400 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=6f6c117e-740f-4d22-8384-5ef5f27a5db3] [daemon-id=LogBackup::Advancer] [2025/04/04 12:45:55.401 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f189600d42f986b] [ownerID=6f6c117e-740f-4d22-8384-5ef5f27a5db3] [op=none] [2025/04/04 12:45:55.401 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=6f6c117e-740f-4d22-8384-5ef5f27a5db3] [2025/04/04 12:45:55.401 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=6f6c117e-740f-4d22-8384-5ef5f27a5db3] [ownerKey=/tidb/br-stream/owner/6f189600d42f986b] [currRev=625] [2025/04/04 12:45:55.401 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 12:45:55.402 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f189600d42f9869] [ownerID=bbd7ee13-bfe3-4643-97d5-0b2535dae565] [op=none] [2025/04/04 12:45:55.402 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=bbd7ee13-bfe3-4643-97d5-0b2535dae565] [op=none] [2025/04/04 12:45:55.402 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 12:45:55.405 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=bbd7ee13-bfe3-4643-97d5-0b2535dae565] [2025/04/04 12:45:55.406 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:45:55.407 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 12:45:55.416 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:45:55.423 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:45:55.428 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:45:55.428 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:45:55.428 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:45:55.428 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:45:55.428 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 12:45:55.428 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 12:45:55.428 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 12:45:55.429 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 12:45:55.429 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 12:45:55.429 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:45:55.430 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=bbd7ee13-bfe3-4643-97d5-0b2535dae565] [2025/04/04 12:45:55.431 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:45:55.431 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:45:55.431 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:45:55.431 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:45:55.431 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 12:45:55.431 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:45:55.431 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:45:55.431 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:45:55.431 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 12:45:55.431 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:45:55.431 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 12:45:55.431 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:45:55.431 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:45:55.431 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:45:55.431 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:45:55.433 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=434.8GiB] [2025/04/04 12:45:55.435 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/5f8a26de-4edf-4742-b32a-9654027e9fd4] [2025/04/04 12:45:55.435 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=bbd7ee13-bfe3-4643-97d5-0b2535dae565] [ttl-worker=task-manager] [ttl-worker=bbd7ee13-bfe3-4643-97d5-0b2535dae565] [originalCount=0] [newCount=4] [2025/04/04 12:45:55.435 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=bbd7ee13-bfe3-4643-97d5-0b2535dae565] [ttl-worker=task-manager] [ttl-worker=bbd7ee13-bfe3-4643-97d5-0b2535dae565] [originalCount=0] [newCount=4] [2025/04/04 12:45:55.436 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=bbd7ee13-bfe3-4643-97d5-0b2535dae565] [2025/04/04 12:45:55.436 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 12:45:55.437 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:45:55.437 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 12:45:55.437 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743770755437354157 [2025/04/04 12:45:55.441 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 12:45:55.447 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=17.848388ms] [2025/04/04 12:45:55.447 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 12:45:55.447 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:45:55.457 +00:00] [INFO] [set.go:172] ["set global var"] [conn=13] [name=tidb_schema_cache_size] [val=0] [2025/04/04 12:45:55.468 +00:00] [INFO] [set.go:172] ["set global var"] [conn=13] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 12:45:55.471 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=13] [schemaVersion=124] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/04 12:45:55.484 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:150, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:144, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:55.45 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:55.484 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:150, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:144, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:55.45 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`"] [2025/04/04 12:45:55.489 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=150] [conn=13] [job="ID:150, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:144, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:55.45 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:55.505 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=124] [neededSchemaVersion=125] ["elapsed time"=1.740047ms] [gotSchemaVersion=125] [phyTblIDs="[144]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:45:55.508 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=150] [version=125] [2025/04/04 12:45:55.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=125] ["take time"=8.874638ms] [job="ID:150, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:144, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:55.45 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:55.519 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=150] [conn=13] [job="ID:150, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:144, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:55.45 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:55.535 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=125] [neededSchemaVersion=126] ["elapsed time"=1.771733ms] [gotSchemaVersion=126] [phyTblIDs="[144]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:45:55.539 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=150] [version=126] [2025/04/04 12:45:55.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=126] ["take time"=8.888654ms] [job="ID:150, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:144, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:55.45 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:55.549 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=150] [conn=13] [job="ID:150, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:144, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:55.45 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:55.555 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 144, Old Table Name: t)"] [2025/04/04 12:45:55.568 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=126] [neededSchemaVersion=127] ["elapsed time"=1.273744ms] [gotSchemaVersion=127] [phyTblIDs="[144]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:45:55.572 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=150] [version=127] [2025/04/04 12:45:55.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=127] ["take time"=8.762902ms] [job="ID:150, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:144, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:55.45 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:55.583 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=150] [tableIDs="[144]"] [comment="drop table: table ID"] [2025/04/04 12:45:55.591 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=150] [jobType="drop table"] [2025/04/04 12:45:55.592 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=150] [conn=13] [job="ID:150, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:144, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:55.45 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:55.611 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=150] [2025/04/04 12:45:55.611 +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: 1743770755611742880 [2025/04/04 12:45:55.637 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:152, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:151, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:55.6 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:55.637 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:152, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:151, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:55.6 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t(a int, index k(a))"] [2025/04/04 12:45:55.643 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=152] [conn=14] [job="ID:152, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:151, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:55.6 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:55.648 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 151, Table Name: t)"] [2025/04/04 12:45:55.662 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=127] [neededSchemaVersion=128] ["elapsed time"=1.537189ms] [gotSchemaVersion=128] [phyTblIDs="[151]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:55.666 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=152] [version=128] [2025/04/04 12:45:55.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=128] ["take time"=8.114447ms] [job="ID:152, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:151, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:55.6 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:55.678 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=152] [conn=14] [job="ID:152, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:151, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:55.6 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:55.689 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=152] [2025/04/04 12:45:55.689 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=14] [schemaVersion=128] [cur_db=test] [sql="create table t(a int, index k(a))"] [user=] [2025/04/04 12:45:56.406 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/04 12:45:56.406 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 12:45:56.406 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 12:45:56.407 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:45:56.436 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/04 12:45:56.436 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/04 12:45:56.436 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/5f8a26de-4edf-4742-b32a-9654027e9fd4] [watcherID=ee122928-4a2f-4164-af19-f9ac8a3b4812] [2025/04/04 12:45:56.437 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/04 12:45:56.442 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/04 12:45:56.442 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/04 12:45:56.442 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/04 12:45:56.442 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/04 12:45:56.709 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:153, Type:drop schema, State:queueing, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:56.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:56.709 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:153, Type:drop schema, State:queueing, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:56.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop schema test"] [2025/04/04 12:45:56.715 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=153] [conn=14] [job="ID:153, Type:drop schema, State:queueing, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:56.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:56.729 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=128] [neededSchemaVersion=129] ["elapsed time"=168.147µs] [gotSchemaVersion=129] [phyTblIDs="[151]"] [actionTypes="[2]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 12:45:56.733 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=153] [version=129] [2025/04/04 12:45:56.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=129] ["take time"=7.146745ms] [job="ID:153, Type:drop schema, State:running, SchemaState:write only, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:56.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:56.747 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=153] [conn=14] [job="ID:153, Type:drop schema, State:running, SchemaState:write only, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:56.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:56.761 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=129] [neededSchemaVersion=130] ["elapsed time"=153.96µs] [gotSchemaVersion=130] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 12:45:56.765 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=153] [version=130] [2025/04/04 12:45:56.766 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=130] ["take time"=7.421482ms] [job="ID:153, Type:drop schema, State:running, SchemaState:delete only, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:56.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:56.775 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=153] [conn=14] [job="ID:153, Type:drop schema, State:running, SchemaState:delete only, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:56.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:56.780 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/04 12:45:56.791 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=130] [neededSchemaVersion=131] ["elapsed time"=151.239µs] [gotSchemaVersion=131] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 12:45:56.794 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=153] [version=131] [2025/04/04 12:45: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=131] ["take time"=7.32574ms] [job="ID:153, Type:drop schema, State:done, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:56.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:56.805 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=153] [tableIDs="[151]"] [comment="drop schema: table IDs"] [2025/04/04 12:45:56.809 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=153] [jobType="drop schema"] [2025/04/04 12:45:56.810 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=153] [conn=14] [job="ID:153, Type:drop schema, State:synced, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:56.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:56.826 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=153] [2025/04/04 12:45:56.827 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=14] [schemaVersion=131] [cur_db=] [sql="drop schema test"] [user=] [2025/04/04 12:45:56.839 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:155, Type:create schema, State:queueing, SchemaState:none, SchemaID:154, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:56.8 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create schema test1"] [2025/04/04 12:45:56.839 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:155, Type:create schema, State:queueing, SchemaState:none, SchemaID:154, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:56.8 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:56.844 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=155] [conn=14] [job="ID:155, Type:create schema, State:queueing, SchemaState:none, SchemaID:154, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:56.8 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:56.856 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=131] [neededSchemaVersion=132] ["elapsed time"=793.407µs] [gotSchemaVersion=132] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 12:45:56.860 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=155] [version=132] [2025/04/04 12:45:56.861 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=132] ["take time"=7.741003ms] [job="ID:155, Type:create schema, State:done, SchemaState:public, SchemaID:154, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:56.8 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:56.872 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=155] [conn=14] [job="ID:155, Type:create schema, State:synced, SchemaState:public, SchemaID:154, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:56.8 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:56.882 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=155] [2025/04/04 12:45:56.882 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=14] [schemaVersion=132] [cur_db=] [sql="create schema test1"] [user=] [2025/04/04 12:45:56.893 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:157, Type:create schema, State:queueing, SchemaState:none, SchemaID:156, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:56.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create schema test2"] [2025/04/04 12:45:56.893 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:157, Type:create schema, State:queueing, SchemaState:none, SchemaID:156, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:56.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:56.899 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=157] [conn=14] [job="ID:157, Type:create schema, State:queueing, SchemaState:none, SchemaID:156, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:56.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:56.911 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=132] [neededSchemaVersion=133] ["elapsed time"=609.567µs] [gotSchemaVersion=133] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 12:45:56.914 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=157] [version=133] [2025/04/04 12:45:56.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=133] ["take time"=7.029589ms] [job="ID:157, Type:create schema, State:done, SchemaState:public, SchemaID:156, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:56.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:56.926 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=157] [conn=14] [job="ID:157, Type:create schema, State:synced, SchemaState:public, SchemaID:156, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:56.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:56.935 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=157] [2025/04/04 12:45:56.936 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=14] [schemaVersion=133] [cur_db=] [sql="create schema test2"] [user=] [2025/04/04 12:45:56.937 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/04 12:45:56.937 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=133] [error="[schema:1049]Unknown database 'test'"] [errorVerbose="[schema:1049]Unknown database 'test'\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/executor.(*SimpleExec).executeUse\n\tpkg/executor/simple.go:598\ngithub.com/pingcap/tidb/pkg/executor.(*SimpleExec).Next\n\tpkg/executor/simple.go:155\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:1022\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:855\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:618\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:508\ntests/realtikvtest/flashbacktest/flashbacktest_test.TestFlashbackCreateDropSchema\n\ttests/realtikvtest/flashbacktest/flashback_test.go:337\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [session="{\n \"currDBName\": \"test1\",\n \"id\": 14,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2025/04/04 12:45:56.949 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:158, Type:drop schema, State:queueing, SchemaState:public, SchemaID:156, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:56.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:56.949 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:158, Type:drop schema, State:queueing, SchemaState:public, SchemaID:156, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:56.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop schema test2"] [2025/04/04 12:45:56.955 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=158] [conn=14] [job="ID:158, Type:drop schema, State:queueing, SchemaState:public, SchemaID:156, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:56.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:56.969 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=133] [neededSchemaVersion=134] ["elapsed time"=137.45µs] [gotSchemaVersion=134] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 12:45:56.972 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=158] [version=134] [2025/04/04 12:45:56.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=134] ["take time"=6.904516ms] [job="ID:158, Type:drop schema, State:running, SchemaState:write only, SchemaID:156, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:56.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:56.983 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=158] [conn=14] [job="ID:158, Type:drop schema, State:running, SchemaState:write only, SchemaID:156, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:56.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:56.995 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=134] [neededSchemaVersion=135] ["elapsed time"=137.195µs] [gotSchemaVersion=135] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 12:45:56.998 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=158] [version=135] [2025/04/04 12:45:57.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=135] ["take time"=7.14865ms] [job="ID:158, Type:drop schema, State:running, SchemaState:delete only, SchemaID:156, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:56.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:57.009 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=158] [conn=14] [job="ID:158, Type:drop schema, State:running, SchemaState:delete only, SchemaID:156, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:56.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:57.022 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=135] [neededSchemaVersion=136] ["elapsed time"=160.726µs] [gotSchemaVersion=136] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 12:45:57.025 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=158] [version=136] [2025/04/04 12:45:57.027 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=136] ["take time"=6.771816ms] [job="ID:158, Type:drop schema, State:done, SchemaState:none, SchemaID:156, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:56.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:57.035 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=158] [jobType="drop schema"] [2025/04/04 12:45:57.036 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=158] [conn=14] [job="ID:158, Type:drop schema, State:synced, SchemaState:none, SchemaID:156, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:56.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:57.052 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=158] [2025/04/04 12:45:57.053 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=14] [schemaVersion=136] [cur_db=] [sql="drop schema test2"] [user=] [2025/04/04 12:45:57.054 +00:00] [INFO] [executor.go:1408] ["get flashback cluster job"] [category=ddl] [flashbackTS="2025-04-04 12:45:56.65 +0000 UTC"] [2025/04/04 12:45:57.065 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:159, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:57.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:57.065 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:159, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:57.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="flashback cluster to timestamp '2025-04-04 12:45:56.650000'"] [2025/04/04 12:45:57.072 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=159] [conn=14] [job="ID:159, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:57.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:57.077 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=159] [2025/04/04 12:45:57.084 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=159] [conn=14] [job="ID:159, Type:flashback cluster, State:running, SchemaState:delete only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:57.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:57.154 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=500ms] [requiredStaleness=500ms] [prevState=unknown(0)] [newState=adapting] [2025/04/04 12:45:57.186 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=136] [neededSchemaVersion=137] ["elapsed time"=141.51µs] [gotSchemaVersion=137] [phyTblIDs="[-1]"] [actionTypes="[62]"] [diffTypes="[\"flashback cluster\"]"] [2025/04/04 12:45:57.190 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=159] [version=137] [2025/04/04 12:45:57.191 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=137] ["take time"=6.815773ms] [job="ID:159, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:57.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:57.200 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=159] [conn=14] [job="ID:159, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:57.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:57.201 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=28] ["first split key"=6d44423a3135340000fd0000000000000068] [2025/04/04 12:45:57.203 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=28] ["first at"=6d44423a3135340000fd0000000000000068] ["first new region left"="{Id:380 StartKey: EndKey:6d44423a31353400ff00fd000000000000ff0068000000000000f9 RegionEpoch:{ConfVer:5 Version:8} Peers:[id:381 store_id:1 id:382 store_id:3 id:383 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=1] [2025/04/04 12:45:57.203 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=1] ["region IDs"="[380]"] [2025/04/04 12:45:57.237 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3135340000fd0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/04 12:45:57.240 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=28] [start_key=6d44423a3135340000fd0000000000000068] [end_key=6d44423a3200000000fb0000000000000068] [2025/04/04 12:45:57.242 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=32] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/04 12:45:57.243 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3135340000fd0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=6.155535ms] ["completed regions"=2] [2025/04/04 12:45:57.243 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/04 12:45:57.247 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=40] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/04 12:45:57.249 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=5.08113ms] ["completed regions"=1] [2025/04/04 12:45:57.249 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/04 12:45:57.252 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=48] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/04 12:45:57.253 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.037605ms] ["completed regions"=1] [2025/04/04 12:45:57.253 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/04 12:45:57.257 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=56] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/04 12:45:57.258 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=3.808603ms] ["completed regions"=1] [2025/04/04 12:45:57.258 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/04 12:45:57.261 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=64] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/04 12:45:57.262 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=3.824747ms] ["completed regions"=1] [2025/04/04 12:45:57.262 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/04 12:45:57.265 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=72] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/04 12:45:57.267 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=4.004926ms] ["completed regions"=1] [2025/04/04 12:45:57.267 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/04 12:45:57.270 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=80] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/04 12:45:57.272 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=4.489027ms] ["completed regions"=1] [2025/04/04 12:45:57.272 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/04 12:45:57.275 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=88] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/04 12:45:57.276 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=3.738917ms] ["completed regions"=1] [2025/04/04 12:45:57.276 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/04 12:45:57.279 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=96] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/04 12:45:57.280 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=3.741636ms] ["completed regions"=1] [2025/04/04 12:45:57.280 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/04 12:45:57.283 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=104] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/04 12:45:57.284 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=3.610315ms] ["completed regions"=1] [2025/04/04 12:45:57.284 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/04 12:45:57.287 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=112] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/04 12:45:57.288 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=3.576129ms] ["completed regions"=1] [2025/04/04 12:45:57.288 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/04 12:45:57.291 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=120] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/04 12:45:57.293 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=3.873477ms] ["completed regions"=1] [2025/04/04 12:45:57.293 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/04 12:45:57.296 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=128] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/04 12:45:57.297 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.528503ms] ["completed regions"=1] [2025/04/04 12:45:57.297 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/04 12:45:57.299 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=136] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/04 12:45:57.301 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.423386ms] ["completed regions"=1] [2025/04/04 12:45:57.301 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/04 12:45:57.304 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=144] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/04 12:45:57.305 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.453946ms] ["completed regions"=1] [2025/04/04 12:45:57.305 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/04 12:45:57.308 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=152] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/04 12:45:57.309 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.570639ms] ["completed regions"=1] [2025/04/04 12:45:57.309 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/04 12:45:57.311 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=160] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/04 12:45:57.312 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.276521ms] ["completed regions"=1] [2025/04/04 12:45:57.312 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/04 12:45:57.315 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=168] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/04 12:45:57.316 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.143976ms] ["completed regions"=1] [2025/04/04 12:45:57.316 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/04 12:45:57.319 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=176] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/04 12:45:57.320 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.041919ms] ["completed regions"=1] [2025/04/04 12:45:57.320 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/04 12:45:57.322 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=184] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/04 12:45:57.323 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.336494ms] ["completed regions"=1] [2025/04/04 12:45:57.324 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/04 12:45:57.326 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=192] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/04 12:45:57.327 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=2.984237ms] ["completed regions"=1] [2025/04/04 12:45:57.327 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/04 12:45:57.329 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=200] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/04 12:45:57.330 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=2.924932ms] ["completed regions"=1] [2025/04/04 12:45:57.330 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/04 12:45:57.332 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=208] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/04 12:45:57.333 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=2.791099ms] ["completed regions"=1] [2025/04/04 12:45:57.334 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/04 12:45:57.336 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=216] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/04 12:45:57.337 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=2.731672ms] ["completed regions"=1] [2025/04/04 12:45:57.337 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/04 12:45:57.339 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=224] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/04 12:45:57.340 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=2.615281ms] ["completed regions"=1] [2025/04/04 12:45:57.340 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/04 12:45:57.342 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=232] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/04 12:45:57.343 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=2.542904ms] ["completed regions"=1] [2025/04/04 12:45:57.343 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/04 12:45:57.345 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=240] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/04 12:45:57.346 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=2.638121ms] ["completed regions"=1] [2025/04/04 12:45:57.346 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/04 12:45:57.348 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=248] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/04 12:45:57.349 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.524225ms] ["completed regions"=1] [2025/04/04 12:45:57.349 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/04 12:45:57.351 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=256] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/04 12:45:57.352 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=2.553956ms] ["completed regions"=1] [2025/04/04 12:45:57.352 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/04 12:45:57.354 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=264] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/04 12:45:57.355 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.733983ms] ["completed regions"=1] [2025/04/04 12:45:57.355 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/04 12:45:57.357 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=272] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/04 12:45:57.358 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.505994ms] ["completed regions"=1] [2025/04/04 12:45:57.358 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/04 12:45:57.360 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=280] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/04 12:45:57.361 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.289487ms] ["completed regions"=1] [2025/04/04 12:45:57.361 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/04 12:45:57.363 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=288] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/04 12:45:57.363 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.351689ms] ["completed regions"=1] [2025/04/04 12:45:57.364 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/04 12:45:57.365 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=296] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/04 12:45:57.366 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.265044ms] ["completed regions"=1] [2025/04/04 12:45:57.366 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/04 12:45:57.368 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=304] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/04 12:45:57.369 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.067628ms] ["completed regions"=1] [2025/04/04 12:45:57.369 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/04 12:45:57.370 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=312] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/04 12:45:57.371 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.047137ms] ["completed regions"=1] [2025/04/04 12:45:57.371 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/04 12:45:57.373 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=320] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/04 12:45:57.374 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.012981ms] ["completed regions"=1] [2025/04/04 12:45:57.374 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/04 12:45:57.375 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=328] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/04 12:45:57.376 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=1.970752ms] ["completed regions"=1] [2025/04/04 12:45:57.376 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/04 12:45:57.377 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=336] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/04 12:45:57.378 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=1.985109ms] ["completed regions"=1] [2025/04/04 12:45:57.378 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/04 12:45:57.380 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=344] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/04 12:45:57.381 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=1.763689ms] ["completed regions"=1] [2025/04/04 12:45:57.381 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/04 12:45:57.382 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=352] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/04 12:45:57.383 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=1.757909ms] ["completed regions"=1] [2025/04/04 12:45:57.383 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/04 12:45:57.384 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=360] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/04 12:45:57.385 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=1.840409ms] ["completed regions"=1] [2025/04/04 12:45:57.385 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/04 12:45:57.386 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=372] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/04 12:45:57.387 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=376] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/04 12:45:57.388 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=368] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/04 12:45:57.389 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=3.773974ms] ["completed regions"=3] [2025/04/04 12:45:57.395 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=159] [2025/04/04 12:45:57.397 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/04 12:45:57.402 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=159] [conn=14] [job="ID:159, Type:flashback cluster, State:running, SchemaState:write reorganization, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:57.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:57.403 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3135340000fd0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/04 12:45:57.407 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=28] [start_key=6d44423a3135340000fd0000000000000068] [end_key=6d44423a3200000000fb0000000000000068] [2025/04/04 12:45:57.408 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=32] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/04 12:45:57.410 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=2] ["total regions"=46] [] [2025/04/04 12:45:57.410 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3135340000fd0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=6.805579ms] ["completed regions"=2] [2025/04/04 12:45:57.411 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/04 12:45:57.414 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=40] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/04 12:45:57.416 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=3] ["total regions"=46] [] [2025/04/04 12:45:57.416 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=5.477292ms] ["completed regions"=1] [2025/04/04 12:45:57.417 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/04 12:45:57.420 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=48] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/04 12:45:57.421 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=4] ["total regions"=46] [] [2025/04/04 12:45:57.421 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.157078ms] ["completed regions"=1] [2025/04/04 12:45:57.421 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/04 12:45:57.425 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=56] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/04 12:45:57.426 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=5] ["total regions"=46] [] [2025/04/04 12:45:57.426 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=4.975719ms] ["completed regions"=1] [2025/04/04 12:45:57.427 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/04 12:45:57.434 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=64] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/04 12:45:57.435 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=6] ["total regions"=46] [] [2025/04/04 12:45:57.435 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=4.590057ms] ["completed regions"=1] [2025/04/04 12:45:57.435 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/04 12:45:57.439 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=72] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/04 12:45:57.440 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=7] ["total regions"=46] [] [2025/04/04 12:45:57.440 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=4.01513ms] ["completed regions"=1] [2025/04/04 12:45:57.440 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/04 12:45:57.443 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=80] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/04 12:45:57.444 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=8] ["total regions"=46] [] [2025/04/04 12:45:57.445 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=4.383771ms] ["completed regions"=1] [2025/04/04 12:45:57.445 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/04 12:45:57.448 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=88] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/04 12:45:57.449 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=9] ["total regions"=46] [] [2025/04/04 12:45:57.449 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=3.821867ms] ["completed regions"=1] [2025/04/04 12:45:57.449 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/04 12:45:57.452 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=96] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/04 12:45:57.453 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=10] ["total regions"=46] [] [2025/04/04 12:45:57.453 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=3.666032ms] ["completed regions"=1] [2025/04/04 12:45:57.453 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/04 12:45:57.456 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=104] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/04 12:45:57.457 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=11] ["total regions"=46] [] [2025/04/04 12:45:57.457 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=3.83577ms] ["completed regions"=1] [2025/04/04 12:45:57.457 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/04 12:45:57.460 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=112] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/04 12:45:57.461 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=12] ["total regions"=46] [] [2025/04/04 12:45:57.461 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=3.66977ms] ["completed regions"=1] [2025/04/04 12:45:57.462 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/04 12:45:57.464 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=120] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/04 12:45:57.466 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=13] ["total regions"=46] [] [2025/04/04 12:45:57.466 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=4.223193ms] ["completed regions"=1] [2025/04/04 12:45:57.466 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/04 12:45:57.469 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=128] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/04 12:45:57.470 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=14] ["total regions"=46] [] [2025/04/04 12:45:57.470 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.544217ms] ["completed regions"=1] [2025/04/04 12:45:57.470 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/04 12:45:57.473 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=136] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/04 12:45:57.474 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=15] ["total regions"=46] [] [2025/04/04 12:45:57.474 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.523276ms] ["completed regions"=1] [2025/04/04 12:45:57.474 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/04 12:45:57.477 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=144] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/04 12:45:57.478 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=16] ["total regions"=46] [] [2025/04/04 12:45:57.478 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.331527ms] ["completed regions"=1] [2025/04/04 12:45:57.478 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/04 12:45:57.481 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=152] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/04 12:45:57.482 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=17] ["total regions"=46] [] [2025/04/04 12:45:57.482 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.465799ms] ["completed regions"=1] [2025/04/04 12:45:57.482 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/04 12:45:57.484 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=160] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/04 12:45:57.486 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=18] ["total regions"=46] [] [2025/04/04 12:45:57.486 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.330491ms] ["completed regions"=1] [2025/04/04 12:45:57.486 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/04 12:45:57.488 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=168] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/04 12:45:57.489 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=19] ["total regions"=46] [] [2025/04/04 12:45:57.489 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.121102ms] ["completed regions"=1] [2025/04/04 12:45:57.489 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/04 12:45:57.492 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=176] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/04 12:45:57.493 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=20] ["total regions"=46] [] [2025/04/04 12:45:57.493 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.164003ms] ["completed regions"=1] [2025/04/04 12:45:57.493 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/04 12:45:57.495 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=184] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/04 12:45:57.496 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=21] ["total regions"=46] [] [2025/04/04 12:45:57.496 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=2.983922ms] ["completed regions"=1] [2025/04/04 12:45:57.496 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/04 12:45:57.499 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=192] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/04 12:45:57.500 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=22] ["total regions"=46] [] [2025/04/04 12:45:57.500 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=3.154811ms] ["completed regions"=1] [2025/04/04 12:45:57.500 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/04 12:45:57.502 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=200] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/04 12:45:57.503 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=23] ["total regions"=46] [] [2025/04/04 12:45:57.503 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=3.236944ms] ["completed regions"=1] [2025/04/04 12:45:57.503 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/04 12:45:57.506 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=208] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/04 12:45:57.507 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=24] ["total regions"=46] [] [2025/04/04 12:45:57.507 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=2.969142ms] ["completed regions"=1] [2025/04/04 12:45:57.507 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/04 12:45:57.509 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=216] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/04 12:45:57.510 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=25] ["total regions"=46] [] [2025/04/04 12:45:57.510 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=3.039392ms] ["completed regions"=1] [2025/04/04 12:45:57.510 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/04 12:45:57.512 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=224] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/04 12:45:57.513 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=26] ["total regions"=46] [] [2025/04/04 12:45:57.513 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=2.746306ms] ["completed regions"=1] [2025/04/04 12:45:57.513 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/04 12:45:57.515 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=232] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/04 12:45:57.516 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=27] ["total regions"=46] [] [2025/04/04 12:45:57.516 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=2.678092ms] ["completed regions"=1] [2025/04/04 12:45:57.517 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/04 12:45:57.519 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=240] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/04 12:45:57.520 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=28] ["total regions"=46] [] [2025/04/04 12:45:57.520 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=2.780704ms] ["completed regions"=1] [2025/04/04 12:45:57.520 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/04 12:45:57.522 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=248] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/04 12:45:57.523 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=29] ["total regions"=46] [] [2025/04/04 12:45:57.523 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.867021ms] ["completed regions"=1] [2025/04/04 12:45:57.523 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/04 12:45:57.525 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=256] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/04 12:45:57.526 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=30] ["total regions"=46] [] [2025/04/04 12:45:57.526 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=2.590903ms] ["completed regions"=1] [2025/04/04 12:45:57.526 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/04 12:45:57.528 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=264] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/04 12:45:57.529 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=31] ["total regions"=46] [] [2025/04/04 12:45:57.529 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.480925ms] ["completed regions"=1] [2025/04/04 12:45:57.529 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/04 12:45:57.531 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=272] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/04 12:45:57.532 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=32] ["total regions"=46] [] [2025/04/04 12:45:57.532 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.684682ms] ["completed regions"=1] [2025/04/04 12:45:57.532 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/04 12:45:57.534 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=280] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/04 12:45:57.535 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=33] ["total regions"=46] [] [2025/04/04 12:45:57.535 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.461693ms] ["completed regions"=1] [2025/04/04 12:45:57.535 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/04 12:45:57.536 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=288] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/04 12:45:57.537 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=34] ["total regions"=46] [] [2025/04/04 12:45:57.537 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.226569ms] ["completed regions"=1] [2025/04/04 12:45:57.538 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/04 12:45:57.539 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=296] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/04 12:45:57.540 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=35] ["total regions"=46] [] [2025/04/04 12:45:57.540 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.45579ms] ["completed regions"=1] [2025/04/04 12:45:57.540 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/04 12:45:57.542 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=304] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/04 12:45:57.543 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=36] ["total regions"=46] [] [2025/04/04 12:45:57.543 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.515959ms] ["completed regions"=1] [2025/04/04 12:45:57.544 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/04 12:45:57.545 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=312] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/04 12:45:57.546 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=37] ["total regions"=46] [] [2025/04/04 12:45:57.546 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.146072ms] ["completed regions"=1] [2025/04/04 12:45:57.546 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/04 12:45:57.548 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=320] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/04 12:45:57.549 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=38] ["total regions"=46] [] [2025/04/04 12:45:57.549 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.618647ms] ["completed regions"=1] [2025/04/04 12:45:57.549 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/04 12:45:57.551 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=328] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/04 12:45:57.552 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=39] ["total regions"=46] [] [2025/04/04 12:45:57.552 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.171514ms] ["completed regions"=1] [2025/04/04 12:45:57.552 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/04 12:45:57.553 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=336] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/04 12:45:57.554 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=40] ["total regions"=46] [] [2025/04/04 12:45:57.554 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=1.959846ms] ["completed regions"=1] [2025/04/04 12:45:57.554 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/04 12:45:57.555 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=344] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/04 12:45:57.556 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=41] ["total regions"=46] [] [2025/04/04 12:45:57.556 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=1.991191ms] ["completed regions"=1] [2025/04/04 12:45:57.556 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/04 12:45:57.558 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=352] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/04 12:45:57.559 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=42] ["total regions"=46] [] [2025/04/04 12:45:57.559 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=1.81094ms] ["completed regions"=1] [2025/04/04 12:45:57.559 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/04 12:45:57.560 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=360] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/04 12:45:57.561 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=43] ["total regions"=46] [] [2025/04/04 12:45:57.561 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=1.843602ms] ["completed regions"=1] [2025/04/04 12:45:57.561 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/04 12:45:57.562 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=372] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/04 12:45:57.563 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=376] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/04 12:45:57.564 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=368] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/04 12:45:57.565 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=46] ["total regions"=46] [] [2025/04/04 12:45:57.565 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=3.659444ms] ["completed regions"=3] [2025/04/04 12:45:57.565 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: flashback cluster)"] [2025/04/04 12:45:57.580 +00:00] [ERROR] [domain.go:375] ["failed to load schema diff"] [error="Meets a schema diff with RegenerateSchemaMap flag"] [errorVerbose="Meets a schema diff with RegenerateSchemaMap flag\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).tryLoadSchemaDiffs\n\tpkg/domain/domain.go:652\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:358\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:375\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103"] [2025/04/04 12:45:57.664 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=137] [neededSchemaVersion=138] ["elapsed time"=84.501706ms] [2025/04/04 12:45:57.664 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 12:45:57.668 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=159] [version=138] [2025/04/04 12:45:57.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=138] ["take time"=91.677015ms] [job="ID:159, Type:flashback cluster, State:done, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:57.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:57.752 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=159] [conn=14] [job="ID:159, Type:flashback cluster, State:synced, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:57.05 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:57.764 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=159] [2025/04/04 12:45:57.765 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 14\n# Query_time: 0.711766337\n# Parse_time: 0.000071605\n# Compile_time: 0.00030442\n# Rewrite_time: 0.000003132\n# Optimize_time: 0.000138734\n# Wait_TS: 0.000513591\n# Is_internal: false\n# Digest: af09c17df48245f34604ebcd1fb822f4f2360c5d282fb4cb3aeced6fc3c852fa\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nuse ;\nflashback cluster to timestamp '2025-04-04 12:45:56.650000';"] [2025/04/04 12:45:57.766 +00:00] [INFO] [check_table_index.go:434] ["fast check table by group"] ["table name"=t] ["index name"=k] [times=1] ["current offset"=0] ["current mod"=1] ["table sql"="select /*+ read_from_storage(tikv[`test`.`t`]) */ bit_xor(crc32(md5(concat_ws(0x2, `_tidb_rowid`, `a`)))), ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024), count(*) from `test`.`t` use index() where 0 = 0 group by ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024)"] ["index sql"="select bit_xor(crc32(md5(concat_ws(0x2, `_tidb_rowid`, `a`)))), ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024), count(*) from `test`.`t` use index(`k`) where 0 = 0 group by ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024)"] [2025/04/04 12:45:57.786 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/04 12:45:57.786 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=138] [error="[schema:1049]Unknown database 'test1'"] [errorVerbose="[schema:1049]Unknown database 'test1'\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/executor.(*SimpleExec).executeUse\n\tpkg/executor/simple.go:598\ngithub.com/pingcap/tidb/pkg/executor.(*SimpleExec).Next\n\tpkg/executor/simple.go:155\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:1022\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:855\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:618\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:508\ntests/realtikvtest/flashbacktest/flashbacktest_test.TestFlashbackCreateDropSchema\n\ttests/realtikvtest/flashbacktest/flashback_test.go:350\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [session="{\n \"currDBName\": \"\",\n \"id\": 14,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2025/04/04 12:45:57.787 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/04 12:45:57.787 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=138] [error="[schema:1049]Unknown database 'test2'"] [errorVerbose="[schema:1049]Unknown database 'test2'\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/executor.(*SimpleExec).executeUse\n\tpkg/executor/simple.go:598\ngithub.com/pingcap/tidb/pkg/executor.(*SimpleExec).Next\n\tpkg/executor/simple.go:155\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:1022\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:855\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:618\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:508\ntests/realtikvtest/flashbacktest/flashbacktest_test.TestFlashbackCreateDropSchema\n\ttests/realtikvtest/flashbacktest/flashback_test.go:351\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [session="{\n \"currDBName\": \"\",\n \"id\": 14,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2025/04/04 12:45:57.787 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 12:45:57.787 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 12:45:57.787 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=bbd7ee13-bfe3-4643-97d5-0b2535dae565] [] [2025/04/04 12:45:57.787 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=bbd7ee13-bfe3-4643-97d5-0b2535dae565] [2025/04/04 12:45:57.787 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:45:57.788 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:45:57.788 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 40, tp general"] ["take time"=97.139µs] [2025/04/04 12:45:57.788 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 41, tp general"] ["take time"=59.275µs] [2025/04/04 12:45:57.788 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 42, tp general"] ["take time"=53.761µs] [2025/04/04 12:45:57.788 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 43, tp general"] ["take time"=58.489µs] [2025/04/04 12:45:57.788 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 44, tp general"] ["take time"=54.44µs] [2025/04/04 12:45:57.788 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 45, tp general"] ["take time"=53.411µs] [2025/04/04 12:45:57.788 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 46, tp general"] ["take time"=28.266µs] [2025/04/04 12:45:57.788 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=bbd7ee13-bfe3-4643-97d5-0b2535dae565] [2025/04/04 12:45:57.788 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=bbd7ee13-bfe3-4643-97d5-0b2535dae565] [2025/04/04 12:45:57.789 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 12:45:57.790 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 12:45:57.793 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=bbd7ee13-bfe3-4643-97d5-0b2535dae565] ["take time"=5.876793ms] [2025/04/04 12:45:57.793 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=bbd7ee13-bfe3-4643-97d5-0b2535dae565] [2025/04/04 12:45:57.793 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 12:45:57.793 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/5f8a26de-4edf-4742-b32a-9654027e9fd4] [watcherID=ee122928-4a2f-4164-af19-f9ac8a3b4812] [2025/04/04 12:45:57.793 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/04 12:45:57.793 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/5f8a26de-4edf-4742-b32a-9654027e9fd4] [2025/04/04 12:45:57.793 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=bbd7ee13-bfe3-4643-97d5-0b2535dae565] [ttl-worker=task-manager] [ttl-worker=bbd7ee13-bfe3-4643-97d5-0b2535dae565] [originalCount=4] [newCount=0] [2025/04/04 12:45:57.794 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:45:57.794 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:45:57.794 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:45:57.794 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:45:57.794 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=bbd7ee13-bfe3-4643-97d5-0b2535dae565] [ttl-worker=task-manager] [ttl-worker=bbd7ee13-bfe3-4643-97d5-0b2535dae565] [originalCount=4] [newCount=0] [2025/04/04 12:45:57.796 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:45:57.796 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:45:57.796 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:45:57.796 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:45:57.798 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=bbd7ee13-bfe3-4643-97d5-0b2535dae565] [2025/04/04 12:45:57.798 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 12:45:57.799 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1892] [2025/04/04 12:45:57.800 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 12:45:57.800 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 12:45:57.800 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 12:45:57.800 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 12:45:57.800 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:45:57.800 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=bbd7ee13-bfe3-4643-97d5-0b2535dae565] [2025/04/04 12:45:57.800 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 12:45:57.800 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:45:57.800 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:45:57.800 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 12:45:57.800 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 12:45:57.800 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 12:45:57.800 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:45:57.800 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 12:45:57.800 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:45:57.800 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:45:57.800 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:45:57.800 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 12:45:57.800 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 12:45:57.800 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 12:45:57.800 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 12:45:57.800 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:45:57.800 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 12:45:57.800 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 12:45:57.800 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:45:57.800 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:45:57.800 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:45:57.800 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=6f6c117e-740f-4d22-8384-5ef5f27a5db3] [] [2025/04/04 12:45:57.800 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:45:57.800 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:45:57.800 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 12:45:57.800 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:45:57.800 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:45:57.800 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:45:57.800 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/04 12:45:57.800 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 12:45:57.800 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/04 12:45:57.800 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:45:57.800 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:45:57.800 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:45:57.800 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=6f6c117e-740f-4d22-8384-5ef5f27a5db3] [2025/04/04 12:45:57.800 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 12:45:57.800 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:45:57.800 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:45:57.800 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:45:57.800 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 12:45:57.800 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:45:57.800 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:45:57.800 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 12:45:57.800 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 12:45:57.800 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:45:57.800 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 12:45:57.800 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 12:45:57.800 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:45:57.800 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 12:45:57.800 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:45:57.800 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 12:45:57.800 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:45:57.800 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/04 12:45:57.800 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:45:57.800 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:45:57.800 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:45:57.800 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/04 12:45:57.800 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:45:57.800 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=6f6c117e-740f-4d22-8384-5ef5f27a5db3] [2025/04/04 12:45:57.800 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:45:57.800 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=6f6c117e-740f-4d22-8384-5ef5f27a5db3] [2025/04/04 12:45:57.801 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=bbd7ee13-bfe3-4643-97d5-0b2535dae565] [2025/04/04 12:45:57.801 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 12:45:57.801 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 12:45:57.801 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 12:45:57.801 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 12:45:57.801 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/stats/owner] [id=bbd7ee13-bfe3-4643-97d5-0b2535dae565] [error="context canceled"] [2025/04/04 12:45:57.801 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:45:57.801 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=bbd7ee13-bfe3-4643-97d5-0b2535dae565] [2025/04/04 12:45:57.802 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 12:45:57.802 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=6f6c117e-740f-4d22-8384-5ef5f27a5db3] [daemon-id=LogBackup::Advancer] [2025/04/04 12:45:57.802 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:45:57.802 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 12:45:57.802 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:45:57.802 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 12:45:57.802 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 12:45:57.802 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:45:57.802 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 12:45:57.802 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 12:45:57.802 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:45:57.803 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=bbd7ee13-bfe3-4643-97d5-0b2535dae565] [error="context canceled"] [2025/04/04 12:45:57.803 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=bbd7ee13-bfe3-4643-97d5-0b2535dae565] [2025/04/04 12:45:57.821 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 12:45:57.821 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:45:57.866 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=bbd7ee13-bfe3-4643-97d5-0b2535dae565] [error="context canceled"] [2025/04/04 12:45:57.866 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 12:45:57.866 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:45:57.878 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=90.6864ms] [2025/04/04 12:45:57.880 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:45:57.880 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:45:57.881 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:45:57.880 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:45:57.881 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:45:57.881 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:45:57.880 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:45:57.881 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:57.881 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:57.881 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-8] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:45:57.881 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:57.881 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:45:57.882 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestFlashbackCreateDropSchema (2.68s) === NAME === RUN TestFlashbackAutoID [2025/04/04 12:45:57.891 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 12:45:57.892 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 12:45:57.893 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437820018004919] [2025/04/04 12:45:57.893 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:45:57.893 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 12:45:57.893 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:45:57.893 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:45:57.894 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:45:57.894 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:45:57.894 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:45:57.894 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:45:57.898 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 12:45:57.904 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:45:57.905 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:45:57.905 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:45:57.919 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489437820018004919] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 12:45:57.929 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 12:45:57.965 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1656] ["lease id"=6f189600d42f9895] [2025/04/04 12:45:57.967 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/04 12:45:58.058 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=138] ["elapsed time"=88.578446ms] [2025/04/04 12:45:58.058 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 12:45:58.061 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 12:45:58.071 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=ef61b514-59b6-42bc-ba26-b003298626f6] [runWorker=true] [jobVersion=v2] [2025/04/04 12:45:58.071 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 12:45:58.073 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=ef61b514-59b6-42bc-ba26-b003298626f6] [2025/04/04 12:45:58.075 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 12:45:58.075 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 261545365504/466850480128, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 12:45:58.075 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:45:58.075 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:45:58.075 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:45:58.075 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:45:58.075 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:45:58.075 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:45:58.075 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:45:58.075 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 12:45:58.075 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:45:58.075 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:45:58.075 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:45:58.075 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 12:45:58.075 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=924e4625-f597-40d1-b1ea-3f4c7abc806a] [2025/04/04 12:45:58.077 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f189600d42f989c] [ownerID=ef61b514-59b6-42bc-ba26-b003298626f6] [op=none] [2025/04/04 12:45:58.077 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=ef61b514-59b6-42bc-ba26-b003298626f6] [2025/04/04 12:45:58.077 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=ef61b514-59b6-42bc-ba26-b003298626f6] [ownerKey=/tidb/ddl/fg/owner/6f189600d42f989c] [currRev=689] [2025/04/04 12:45:58.078 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:45:58.078 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=924e4625-f597-40d1-b1ea-3f4c7abc806a] [daemon-id=LogBackup::Advancer] [2025/04/04 12:45:58.079 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 12:45:58.079 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa9600d42f9639] [ownerID=924e4625-f597-40d1-b1ea-3f4c7abc806a] [op=none] [2025/04/04 12:45:58.079 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=924e4625-f597-40d1-b1ea-3f4c7abc806a] [2025/04/04 12:45:58.079 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=924e4625-f597-40d1-b1ea-3f4c7abc806a] [ownerKey=/tidb/br-stream/owner/3eaa9600d42f9639] [currRev=689] [2025/04/04 12:45:58.079 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f189600d42f989c] [ownerID=ef61b514-59b6-42bc-ba26-b003298626f6] [op=none] [2025/04/04 12:45:58.079 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=ef61b514-59b6-42bc-ba26-b003298626f6] [op=none] [2025/04/04 12:45:58.079 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 12:45:58.084 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=ef61b514-59b6-42bc-ba26-b003298626f6] [2025/04/04 12:45:58.085 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:45:58.085 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 12:45:58.095 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:45:58.102 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:45:58.108 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:45:58.108 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:45:58.108 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 12:45:58.108 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 12:45:58.108 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:45:58.108 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 12:45:58.108 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:45:58.108 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 12:45:58.108 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 12:45:58.109 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:45:58.109 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=ef61b514-59b6-42bc-ba26-b003298626f6] [2025/04/04 12:45:58.110 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:45:58.111 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:45:58.111 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:45:58.111 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:45:58.111 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 12:45:58.111 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:45:58.111 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 12:45:58.111 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:45:58.111 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:45:58.111 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:45:58.111 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 12:45:58.111 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:45:58.111 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:45:58.111 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:45:58.111 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:45:58.113 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=434.8GiB] [2025/04/04 12:45:58.115 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/19a49176-cded-470e-b6cb-08f716a6f48c] [2025/04/04 12:45:58.115 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=ef61b514-59b6-42bc-ba26-b003298626f6] [ttl-worker=task-manager] [ttl-worker=ef61b514-59b6-42bc-ba26-b003298626f6] [originalCount=0] [newCount=4] [2025/04/04 12:45:58.116 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=ef61b514-59b6-42bc-ba26-b003298626f6] [ttl-worker=task-manager] [ttl-worker=ef61b514-59b6-42bc-ba26-b003298626f6] [originalCount=0] [newCount=4] [2025/04/04 12:45:58.116 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=ef61b514-59b6-42bc-ba26-b003298626f6] [2025/04/04 12:45:58.116 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 12:45:58.117 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:45:58.117 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 12:45:58.117 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743770758118041675 [2025/04/04 12:45:58.122 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 12:45:58.129 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=19.123592ms] [2025/04/04 12:45:58.129 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 12:45:58.129 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:45:58.139 +00:00] [INFO] [set.go:172] ["set global var"] [conn=15] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 12:45:58.142 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=138] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/04 12:45:58.155 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:160, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:151, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:58.1 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:58.155 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:160, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:151, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:58.1 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`"] [2025/04/04 12:45:58.160 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=160] [conn=15] [job="ID:160, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:151, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:58.1 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:58.176 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=138] [neededSchemaVersion=139] ["elapsed time"=1.952654ms] [gotSchemaVersion=139] [phyTblIDs="[151]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:45:58.180 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=160] [version=139] [2025/04/04 12:45:58.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=139] ["take time"=9.637835ms] [job="ID:160, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:151, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:58.1 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:58.192 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=160] [conn=15] [job="ID:160, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:151, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:58.1 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:58.207 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=139] [neededSchemaVersion=140] ["elapsed time"=1.88227ms] [gotSchemaVersion=140] [phyTblIDs="[151]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:45:58.210 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=160] [version=140] [2025/04/04 12:45:58.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=140] ["take time"=8.755549ms] [job="ID:160, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:151, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:58.1 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:58.220 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=160] [conn=15] [job="ID:160, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:151, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:58.1 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:58.227 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 151, Old Table Name: t)"] [2025/04/04 12:45:58.241 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=140] [neededSchemaVersion=141] ["elapsed time"=1.247413ms] [gotSchemaVersion=141] [phyTblIDs="[151]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:45:58.244 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=160] [version=141] [2025/04/04 12:45:58.246 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=141] ["take time"=8.473924ms] [job="ID:160, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:151, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:58.1 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:58.256 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=160] [tableIDs="[151]"] [comment="drop table: table ID"] [2025/04/04 12:45:58.263 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=160] [jobType="drop table"] [2025/04/04 12:45:58.264 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=160] [conn=15] [job="ID:160, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:151, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:58.1 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:58.285 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=160] [2025/04/04 12:45:58.285 +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: 1743770758285844997 [2025/04/04 12:45:58.312 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:162, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:161, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:58.3 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:58.312 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:162, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:161, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:58.3 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t(a int auto_increment, primary key(a)) auto_id_cache 100"] [2025/04/04 12:45:58.318 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=162] [conn=16] [job="ID:162, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:161, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:58.3 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:58.322 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 161, Table Name: t)"] [2025/04/04 12:45:58.337 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=141] [neededSchemaVersion=142] ["elapsed time"=1.548459ms] [gotSchemaVersion=142] [phyTblIDs="[161]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:58.341 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=162] [version=142] [2025/04/04 12:45:58.342 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=142] ["take time"=8.324152ms] [job="ID:162, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:161, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:58.3 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:58.354 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=162] [conn=16] [job="ID:162, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:161, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:58.3 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:58.364 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=162] [2025/04/04 12:45:58.365 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=16] [schemaVersion=142] [cur_db=test] [sql="create table t(a int auto_increment, primary key(a)) auto_id_cache 100"] [user=] [2025/04/04 12:45:59.086 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/04 12:45:59.086 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 12:45:59.086 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 12:45:59.086 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:45:59.116 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/04 12:45:59.116 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/04 12:45:59.116 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/19a49176-cded-470e-b6cb-08f716a6f48c] [watcherID=c01ab349-1b54-4696-8761-dcdc136d0ff9] [2025/04/04 12:45:59.117 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/04 12:45:59.123 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/04 12:45:59.123 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/04 12:45:59.123 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/04 12:45:59.123 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/04 12:45:59.390 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:163, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:161, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:59.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:59.390 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:163, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:161, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:59.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table t"] [2025/04/04 12:45:59.396 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=163] [conn=16] [job="ID:163, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:161, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:59.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:59.412 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=142] [neededSchemaVersion=143] ["elapsed time"=1.853818ms] [gotSchemaVersion=143] [phyTblIDs="[161]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:45:59.416 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=163] [version=143] [2025/04/04 12:45:59.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=143] ["take time"=9.365417ms] [job="ID:163, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:161, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:59.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:59.427 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=163] [conn=16] [job="ID:163, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:161, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:59.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:59.444 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=143] [neededSchemaVersion=144] ["elapsed time"=1.77006ms] [gotSchemaVersion=144] [phyTblIDs="[161]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:45:59.448 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=163] [version=144] [2025/04/04 12:45:59.449 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=144] ["take time"=9.73945ms] [job="ID:163, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:161, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:59.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:59.458 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=163] [conn=16] [job="ID:163, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:161, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:59.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:59.464 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 161, Old Table Name: t)"] [2025/04/04 12:45:59.476 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=144] [neededSchemaVersion=145] ["elapsed time"=1.26762ms] [gotSchemaVersion=145] [phyTblIDs="[161]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:45:59.480 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=163] [version=145] [2025/04/04 12:45:59.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=145] ["take time"=8.401061ms] [job="ID:163, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:161, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:59.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:59.491 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=163] [tableIDs="[161]"] [comment="drop table: table ID"] [2025/04/04 12:45:59.495 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=163] [jobType="drop table"] [2025/04/04 12:45:59.496 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=163] [conn=16] [job="ID:163, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:161, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:59.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:59.513 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=163] [2025/04/04 12:45:59.513 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=16] [schemaVersion=145] [cur_db=test] [sql="drop table t"] [user=] [2025/04/04 12:45:59.514 +00:00] [INFO] [executor.go:1408] ["get flashback cluster job"] [category=ddl] [flashbackTS="2025-04-04 12:45:59.35 +0000 UTC"] [2025/04/04 12:45:59.526 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:164, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:59.5 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="flashback cluster to timestamp '2025-04-04 12:45:59.350000'"] [2025/04/04 12:45:59.526 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:164, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:59.5 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:59.532 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=164] [conn=16] [job="ID:164, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:59.5 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:59.537 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=164] [2025/04/04 12:45:59.545 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=164] [conn=16] [job="ID:164, Type:flashback cluster, State:running, SchemaState:delete only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:59.5 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:59.625 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=500ms] [requiredStaleness=250ms] [prevState=unknown(0)] [newState=adapting] [2025/04/04 12:45:59.655 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=145] [neededSchemaVersion=146] ["elapsed time"=137.215µs] [gotSchemaVersion=146] [phyTblIDs="[-1]"] [actionTypes="[62]"] [diffTypes="[\"flashback cluster\"]"] [2025/04/04 12:45:59.659 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=164] [version=146] [2025/04/04 12:45:59.660 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=146] ["take time"=7.287317ms] [job="ID:164, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:59.5 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:59.669 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=164] [conn=16] [job="ID:164, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:59.5 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:59.701 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/04 12:45:59.705 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=32] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/04 12:45:59.707 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=5.367945ms] ["completed regions"=1] [2025/04/04 12:45:59.707 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/04 12:45:59.711 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=40] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/04 12:45:59.712 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=4.290055ms] ["completed regions"=1] [2025/04/04 12:45:59.712 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/04 12:45:59.716 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=48] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/04 12:45:59.717 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.104635ms] ["completed regions"=1] [2025/04/04 12:45:59.717 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/04 12:45:59.720 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=56] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/04 12:45:59.721 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=4.027606ms] ["completed regions"=1] [2025/04/04 12:45:59.721 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/04 12:45:59.725 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=64] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/04 12:45:59.726 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=3.879425ms] ["completed regions"=1] [2025/04/04 12:45:59.726 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/04 12:45:59.730 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=72] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/04 12:45:59.731 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=4.612131ms] ["completed regions"=1] [2025/04/04 12:45:59.731 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/04 12:45:59.734 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=80] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/04 12:45:59.735 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=4.05387ms] ["completed regions"=1] [2025/04/04 12:45:59.736 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/04 12:45:59.738 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=88] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/04 12:45:59.739 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=3.558714ms] ["completed regions"=1] [2025/04/04 12:45:59.740 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/04 12:45:59.743 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=96] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/04 12:45:59.744 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=3.902193ms] ["completed regions"=1] [2025/04/04 12:45:59.744 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/04 12:45:59.747 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=104] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/04 12:45:59.748 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=3.528171ms] ["completed regions"=1] [2025/04/04 12:45:59.748 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/04 12:45:59.751 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=112] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/04 12:45:59.752 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=3.851778ms] ["completed regions"=1] [2025/04/04 12:45:59.752 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/04 12:45:59.755 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=120] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/04 12:45:59.757 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=4.006819ms] ["completed regions"=1] [2025/04/04 12:45:59.757 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/04 12:45:59.759 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=128] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/04 12:45:59.760 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.261103ms] ["completed regions"=1] [2025/04/04 12:45:59.760 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/04 12:45:59.763 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=136] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/04 12:45:59.764 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.357005ms] ["completed regions"=1] [2025/04/04 12:45:59.764 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/04 12:45:59.767 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=144] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/04 12:45:59.768 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.213751ms] ["completed regions"=1] [2025/04/04 12:45:59.768 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/04 12:45:59.770 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=152] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/04 12:45:59.771 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.359128ms] ["completed regions"=1] [2025/04/04 12:45:59.772 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/04 12:45:59.774 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=160] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/04 12:45:59.775 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=2.940633ms] ["completed regions"=1] [2025/04/04 12:45:59.775 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/04 12:45:59.777 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=168] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/04 12:45:59.778 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.199037ms] ["completed regions"=1] [2025/04/04 12:45:59.779 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/04 12:45:59.781 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=176] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/04 12:45:59.782 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.316183ms] ["completed regions"=1] [2025/04/04 12:45:59.782 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/04 12:45:59.785 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=184] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/04 12:45:59.786 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=2.922519ms] ["completed regions"=1] [2025/04/04 12:45:59.786 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/04 12:45:59.788 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=192] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/04 12:45:59.789 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=2.922445ms] ["completed regions"=1] [2025/04/04 12:45:59.789 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/04 12:45:59.791 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=200] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/04 12:45:59.792 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=2.820363ms] ["completed regions"=1] [2025/04/04 12:45:59.792 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/04 12:45:59.795 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=208] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/04 12:45:59.796 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=2.72197ms] ["completed regions"=1] [2025/04/04 12:45:59.796 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/04 12:45:59.798 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=216] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/04 12:45:59.799 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=2.78754ms] ["completed regions"=1] [2025/04/04 12:45:59.799 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/04 12:45:59.801 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=224] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/04 12:45:59.802 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=2.504597ms] ["completed regions"=1] [2025/04/04 12:45:59.802 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/04 12:45:59.804 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=232] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/04 12:45:59.805 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=2.533047ms] ["completed regions"=1] [2025/04/04 12:45:59.805 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/04 12:45:59.807 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=240] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/04 12:45:59.808 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=2.686071ms] ["completed regions"=1] [2025/04/04 12:45:59.808 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/04 12:45:59.810 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=248] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/04 12:45:59.811 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.695619ms] ["completed regions"=1] [2025/04/04 12:45:59.811 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/04 12:45:59.813 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=256] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/04 12:45:59.814 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=2.55526ms] ["completed regions"=1] [2025/04/04 12:45:59.814 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/04 12:45:59.816 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=264] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/04 12:45:59.817 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.340127ms] ["completed regions"=1] [2025/04/04 12:45:59.817 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/04 12:45:59.819 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=272] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/04 12:45:59.820 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.404191ms] ["completed regions"=1] [2025/04/04 12:45:59.820 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/04 12:45:59.821 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=280] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/04 12:45:59.822 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.259127ms] ["completed regions"=1] [2025/04/04 12:45:59.822 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/04 12:45:59.824 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=288] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/04 12:45:59.825 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.357005ms] ["completed regions"=1] [2025/04/04 12:45:59.825 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/04 12:45:59.827 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=296] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/04 12:45:59.828 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.423511ms] ["completed regions"=1] [2025/04/04 12:45:59.828 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/04 12:45:59.830 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=304] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/04 12:45:59.831 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.262005ms] ["completed regions"=1] [2025/04/04 12:45:59.831 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/04 12:45:59.832 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=312] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/04 12:45:59.833 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.098894ms] ["completed regions"=1] [2025/04/04 12:45:59.833 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/04 12:45:59.835 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=320] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/04 12:45:59.836 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.401565ms] ["completed regions"=1] [2025/04/04 12:45:59.836 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/04 12:45:59.837 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=328] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/04 12:45:59.839 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.014673ms] ["completed regions"=1] [2025/04/04 12:45:59.839 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/04 12:45:59.840 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=336] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/04 12:45:59.841 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=2.149327ms] ["completed regions"=1] [2025/04/04 12:45:59.841 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/04 12:45:59.842 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=344] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/04 12:45:59.843 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=1.934869ms] ["completed regions"=1] [2025/04/04 12:45:59.844 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/04 12:45:59.845 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=352] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/04 12:45:59.846 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=1.897812ms] ["completed regions"=1] [2025/04/04 12:45:59.846 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/04 12:45:59.847 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=360] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/04 12:45:59.848 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=2.037716ms] ["completed regions"=1] [2025/04/04 12:45:59.848 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/04 12:45:59.849 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=372] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/04 12:45:59.851 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=376] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/04 12:45:59.852 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=368] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/04 12:45:59.853 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=4.415127ms] ["completed regions"=3] [2025/04/04 12:45:59.860 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=164] [2025/04/04 12:45:59.867 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=164] [conn=16] [job="ID:164, Type:flashback cluster, State:running, SchemaState:write reorganization, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:59.5 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:59.867 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/04 12:45:59.871 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=32] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/04 12:45:59.873 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=1] ["total regions"=45] [] [2025/04/04 12:45:59.873 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=5.454697ms] ["completed regions"=1] [2025/04/04 12:45:59.874 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/04 12:45:59.877 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=40] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/04 12:45:59.878 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=2] ["total regions"=45] [] [2025/04/04 12:45:59.878 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=4.525532ms] ["completed regions"=1] [2025/04/04 12:45:59.878 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/04 12:45:59.882 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=48] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/04 12:45:59.883 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=3] ["total regions"=45] [] [2025/04/04 12:45:59.883 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.209951ms] ["completed regions"=1] [2025/04/04 12:45:59.883 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/04 12:45:59.887 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=56] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/04 12:45:59.888 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=4] ["total regions"=45] [] [2025/04/04 12:45:59.888 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=4.283734ms] ["completed regions"=1] [2025/04/04 12:45:59.888 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/04 12:45:59.891 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=64] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/04 12:45:59.892 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=5] ["total regions"=45] [] [2025/04/04 12:45:59.892 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=4.170787ms] ["completed regions"=1] [2025/04/04 12:45:59.892 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/04 12:45:59.896 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=72] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/04 12:45:59.897 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=6] ["total regions"=45] [] [2025/04/04 12:45:59.897 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=3.994482ms] ["completed regions"=1] [2025/04/04 12:45:59.897 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/04 12:45:59.900 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=80] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/04 12:45:59.901 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=7] ["total regions"=45] [] [2025/04/04 12:45:59.901 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=3.937469ms] ["completed regions"=1] [2025/04/04 12:45:59.901 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/04 12:45:59.904 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=88] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/04 12:45:59.905 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=8] ["total regions"=45] [] [2025/04/04 12:45:59.905 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=3.736734ms] ["completed regions"=1] [2025/04/04 12:45:59.905 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/04 12:45:59.908 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=96] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/04 12:45:59.909 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=9] ["total regions"=45] [] [2025/04/04 12:45:59.910 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=3.895561ms] ["completed regions"=1] [2025/04/04 12:45:59.910 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/04 12:45:59.913 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=104] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/04 12:45:59.913 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=10] ["total regions"=45] [] [2025/04/04 12:45:59.913 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=3.59309ms] ["completed regions"=1] [2025/04/04 12:45:59.914 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/04 12:45:59.916 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=112] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/04 12:45:59.917 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=11] ["total regions"=45] [] [2025/04/04 12:45:59.918 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=3.636872ms] ["completed regions"=1] [2025/04/04 12:45:59.918 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/04 12:45:59.920 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=120] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/04 12:45:59.923 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=12] ["total regions"=45] [] [2025/04/04 12:45:59.923 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=4.726875ms] ["completed regions"=1] [2025/04/04 12:45:59.923 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/04 12:45:59.926 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=128] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/04 12:45:59.927 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=13] ["total regions"=45] [] [2025/04/04 12:45:59.927 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.548323ms] ["completed regions"=1] [2025/04/04 12:45:59.927 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/04 12:45:59.930 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=136] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/04 12:45:59.931 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=14] ["total regions"=45] [] [2025/04/04 12:45:59.931 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.800862ms] ["completed regions"=1] [2025/04/04 12:45:59.931 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/04 12:45:59.934 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=144] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/04 12:45:59.935 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=15] ["total regions"=45] [] [2025/04/04 12:45:59.935 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.338416ms] ["completed regions"=1] [2025/04/04 12:45:59.935 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/04 12:45:59.937 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=152] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/04 12:45:59.938 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=16] ["total regions"=45] [] [2025/04/04 12:45:59.938 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.428192ms] ["completed regions"=1] [2025/04/04 12:45:59.939 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/04 12:45:59.941 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=160] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/04 12:45:59.942 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=17] ["total regions"=45] [] [2025/04/04 12:45:59.942 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.271132ms] ["completed regions"=1] [2025/04/04 12:45:59.942 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/04 12:45:59.945 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=168] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/04 12:45:59.946 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=18] ["total regions"=45] [] [2025/04/04 12:45:59.946 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.276938ms] ["completed regions"=1] [2025/04/04 12:45:59.946 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/04 12:45:59.948 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=176] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/04 12:45:59.949 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=19] ["total regions"=45] [] [2025/04/04 12:45:59.949 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=2.906888ms] ["completed regions"=1] [2025/04/04 12:45:59.949 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/04 12:45:59.952 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=184] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/04 12:45:59.953 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=20] ["total regions"=45] [] [2025/04/04 12:45:59.953 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.101999ms] ["completed regions"=1] [2025/04/04 12:45:59.953 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/04 12:45:59.955 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=192] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/04 12:45:59.956 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=21] ["total regions"=45] [] [2025/04/04 12:45:59.956 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=3.03473ms] ["completed regions"=1] [2025/04/04 12:45:59.956 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/04 12:45:59.958 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=200] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/04 12:45:59.959 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=22] ["total regions"=45] [] [2025/04/04 12:45:59.959 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=2.900224ms] ["completed regions"=1] [2025/04/04 12:45:59.960 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/04 12:45:59.962 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=208] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/04 12:45:59.963 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=23] ["total regions"=45] [] [2025/04/04 12:45:59.963 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=3.492472ms] ["completed regions"=1] [2025/04/04 12:45:59.963 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/04 12:45:59.966 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=216] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/04 12:45:59.967 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=24] ["total regions"=45] [] [2025/04/04 12:45:59.967 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=3.033698ms] ["completed regions"=1] [2025/04/04 12:45:59.967 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/04 12:45:59.969 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=224] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/04 12:45:59.970 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=25] ["total regions"=45] [] [2025/04/04 12:45:59.970 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=2.807466ms] ["completed regions"=1] [2025/04/04 12:45:59.970 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/04 12:45:59.972 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=232] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/04 12:45:59.973 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=26] ["total regions"=45] [] [2025/04/04 12:45:59.973 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=2.699087ms] ["completed regions"=1] [2025/04/04 12:45:59.973 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/04 12:45:59.975 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=240] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/04 12:45:59.976 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=27] ["total regions"=45] [] [2025/04/04 12:45:59.976 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=2.682656ms] ["completed regions"=1] [2025/04/04 12:45:59.976 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/04 12:45:59.978 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=248] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/04 12:45:59.979 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=28] ["total regions"=45] [] [2025/04/04 12:45:59.979 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.581888ms] ["completed regions"=1] [2025/04/04 12:45:59.979 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/04 12:45:59.981 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=256] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/04 12:45:59.982 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=29] ["total regions"=45] [] [2025/04/04 12:45:59.982 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=2.716673ms] ["completed regions"=1] [2025/04/04 12:45:59.982 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/04 12:45:59.984 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=264] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/04 12:45:59.985 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=30] ["total regions"=45] [] [2025/04/04 12:45:59.985 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.3347ms] ["completed regions"=1] [2025/04/04 12:45:59.985 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/04 12:45:59.987 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=272] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/04 12:45:59.988 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=31] ["total regions"=45] [] [2025/04/04 12:45:59.988 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.516241ms] ["completed regions"=1] [2025/04/04 12:45:59.988 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/04 12:45:59.990 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=280] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/04 12:45:59.991 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=32] ["total regions"=45] [] [2025/04/04 12:45:59.991 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.399085ms] ["completed regions"=1] [2025/04/04 12:45:59.991 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/04 12:45:59.993 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=288] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/04 12:45:59.994 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=33] ["total regions"=45] [] [2025/04/04 12:45:59.994 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.460616ms] ["completed regions"=1] [2025/04/04 12:45:59.994 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/04 12:45:59.995 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=296] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/04 12:45:59.996 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=34] ["total regions"=45] [] [2025/04/04 12:45:59.996 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.265064ms] ["completed regions"=1] [2025/04/04 12:45:59.997 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/04 12:45:59.998 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=304] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/04 12:45:59.999 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=35] ["total regions"=45] [] [2025/04/04 12:45:59.999 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.567236ms] ["completed regions"=1] [2025/04/04 12:46:00.000 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/04 12:46:00.001 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=312] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/04 12:46:00.002 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=36] ["total regions"=45] [] [2025/04/04 12:46:00.002 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.204442ms] ["completed regions"=1] [2025/04/04 12:46:00.002 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/04 12:46:00.004 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=320] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/04 12:46:00.005 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=37] ["total regions"=45] [] [2025/04/04 12:46:00.005 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.225982ms] ["completed regions"=1] [2025/04/04 12:46:00.005 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/04 12:46:00.006 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=328] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/04 12:46:00.007 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=38] ["total regions"=45] [] [2025/04/04 12:46:00.007 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=1.971084ms] ["completed regions"=1] [2025/04/04 12:46:00.007 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/04 12:46:00.008 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=336] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/04 12:46:00.009 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=39] ["total regions"=45] [] [2025/04/04 12:46:00.010 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=1.955973ms] ["completed regions"=1] [2025/04/04 12:46:00.010 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/04 12:46:00.011 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=344] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/04 12:46:00.012 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=40] ["total regions"=45] [] [2025/04/04 12:46:00.012 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=1.955536ms] ["completed regions"=1] [2025/04/04 12:46:00.012 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/04 12:46:00.013 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=352] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/04 12:46:00.014 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=41] ["total regions"=45] [] [2025/04/04 12:46:00.014 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=1.847043ms] ["completed regions"=1] [2025/04/04 12:46:00.014 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/04 12:46:00.015 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=360] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/04 12:46:00.016 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=42] ["total regions"=45] [] [2025/04/04 12:46:00.016 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=1.7915ms] ["completed regions"=1] [2025/04/04 12:46:00.016 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/04 12:46:00.018 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=372] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/04 12:46:00.019 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=376] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/04 12:46:00.020 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=368] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/04 12:46:00.021 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=45] ["total regions"=45] [] [2025/04/04 12:46:00.021 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=4.575124ms] ["completed regions"=3] [2025/04/04 12:46:00.021 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: flashback cluster)"] [2025/04/04 12:46:00.037 +00:00] [ERROR] [domain.go:375] ["failed to load schema diff"] [error="Meets a schema diff with RegenerateSchemaMap flag"] [errorVerbose="Meets a schema diff with RegenerateSchemaMap flag\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).tryLoadSchemaDiffs\n\tpkg/domain/domain.go:652\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:358\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:375\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103"] [2025/04/04 12:46:00.075 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/04 12:46:00.120 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=146] [neededSchemaVersion=147] ["elapsed time"=83.381032ms] [2025/04/04 12:46:00.120 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 12:46:00.124 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=164] [version=147] [2025/04/04 12:46:00.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=147] ["take time"=91.071824ms] [job="ID:164, Type:flashback cluster, State:done, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:59.5 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:00.201 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=164] [conn=16] [job="ID:164, Type:flashback cluster, State:synced, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:59.5 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:00.213 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=164] [2025/04/04 12:46:00.214 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 16\n# Query_time: 0.700226315\n# Parse_time: 0.000070875\n# Compile_time: 0.000269822\n# Rewrite_time: 0.000003099\n# Optimize_time: 0.000631505\n# Wait_TS: 0.000449796\n# DB: test\n# Is_internal: false\n# Digest: af09c17df48245f34604ebcd1fb822f4f2360c5d282fb4cb3aeced6fc3c852fa\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nuse test;\nflashback cluster to timestamp '2025-04-04 12:45:59.350000';"] [2025/04/04 12:46:00.226 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 12:46:00.226 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=ef61b514-59b6-42bc-ba26-b003298626f6] [] [2025/04/04 12:46:00.226 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 12:46:00.226 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=ef61b514-59b6-42bc-ba26-b003298626f6] [2025/04/04 12:46:00.226 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:46:00.226 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:46:00.226 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 47, tp general"] ["take time"=48.645µs] [2025/04/04 12:46:00.226 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 48, tp general"] ["take time"=29.059µs] [2025/04/04 12:46:00.226 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 49, tp general"] ["take time"=32.699µs] [2025/04/04 12:46:00.226 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 50, tp general"] ["take time"=26.725µs] [2025/04/04 12:46:00.226 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=ef61b514-59b6-42bc-ba26-b003298626f6] [2025/04/04 12:46:00.226 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=ef61b514-59b6-42bc-ba26-b003298626f6] [2025/04/04 12:46:00.227 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 12:46:00.227 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 12:46:00.229 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=ef61b514-59b6-42bc-ba26-b003298626f6] ["take time"=3.578377ms] [2025/04/04 12:46:00.229 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=ef61b514-59b6-42bc-ba26-b003298626f6] [2025/04/04 12:46:00.229 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 12:46:00.229 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/19a49176-cded-470e-b6cb-08f716a6f48c] [watcherID=c01ab349-1b54-4696-8761-dcdc136d0ff9] [2025/04/04 12:46:00.229 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/04 12:46:00.230 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/19a49176-cded-470e-b6cb-08f716a6f48c] [2025/04/04 12:46:00.230 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=ef61b514-59b6-42bc-ba26-b003298626f6] [ttl-worker=task-manager] [ttl-worker=ef61b514-59b6-42bc-ba26-b003298626f6] [originalCount=4] [newCount=0] [2025/04/04 12:46:00.230 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:46:00.230 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:46:00.230 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:46:00.230 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:46:00.230 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=ef61b514-59b6-42bc-ba26-b003298626f6] [ttl-worker=task-manager] [ttl-worker=ef61b514-59b6-42bc-ba26-b003298626f6] [originalCount=4] [newCount=0] [2025/04/04 12:46:00.232 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:46:00.232 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:46:00.232 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:46:00.232 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:46:00.234 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=ef61b514-59b6-42bc-ba26-b003298626f6] [2025/04/04 12:46:00.234 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 12:46:00.235 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1656] [2025/04/04 12:46:00.235 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 12:46:00.235 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 12:46:00.235 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 12:46:00.235 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 12:46:00.235 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:46:00.235 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 12:46:00.235 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:46:00.235 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 12:46:00.235 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 12:46:00.235 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 12:46:00.235 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 12:46:00.235 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=924e4625-f597-40d1-b1ea-3f4c7abc806a] [] [2025/04/04 12:46:00.235 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 12:46:00.235 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 12:46:00.236 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 12:46:00.236 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 12:46:00.236 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 12:46:00.236 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 12:46:00.236 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 12:46:00.236 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:46:00.236 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:46:00.236 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:46:00.236 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:46:00.236 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:00.236 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:00.236 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 12:46:00.235 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:00.236 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:00.236 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:00.236 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:46:00.236 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:00.236 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:00.236 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:46:00.236 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:00.235 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:00.235 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 12:46:00.235 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:46:00.235 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 12:46:00.236 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:46:00.236 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:46:00.235 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 12:46:00.235 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 12:46:00.236 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:46:00.235 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:46:00.235 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:46:00.236 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:46:00.235 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:46:00.235 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=ef61b514-59b6-42bc-ba26-b003298626f6] [2025/04/04 12:46:00.236 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/04 12:46:00.235 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 12:46:00.236 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/04 12:46:00.236 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/04 12:46:00.236 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=924e4625-f597-40d1-b1ea-3f4c7abc806a] [2025/04/04 12:46:00.236 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 12:46:00.235 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:46:00.236 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:00.236 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=924e4625-f597-40d1-b1ea-3f4c7abc806a] [2025/04/04 12:46:00.236 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:00.236 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:46:00.236 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=924e4625-f597-40d1-b1ea-3f4c7abc806a] [2025/04/04 12:46:00.236 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:46:00.236 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:46:00.236 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 12:46:00.236 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:00.236 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 12:46:00.236 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/04 12:46:00.236 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:46:00.237 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/stats/owner] [id=ef61b514-59b6-42bc-ba26-b003298626f6] [error="context canceled"] [2025/04/04 12:46:00.237 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=ef61b514-59b6-42bc-ba26-b003298626f6] [2025/04/04 12:46:00.237 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=ef61b514-59b6-42bc-ba26-b003298626f6] [2025/04/04 12:46:00.237 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 12:46:00.237 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 12:46:00.237 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 12:46:00.237 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 12:46:00.237 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:46:00.238 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 12:46:00.238 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 12:46:00.238 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=924e4625-f597-40d1-b1ea-3f4c7abc806a] [daemon-id=LogBackup::Advancer] [2025/04/04 12:46:00.238 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 12:46:00.238 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 12:46:00.238 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:46:00.238 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:46:00.238 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:46:00.238 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 12:46:00.238 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 12:46:00.238 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:46:00.239 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=ef61b514-59b6-42bc-ba26-b003298626f6] [error="context canceled"] [2025/04/04 12:46:00.239 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=ef61b514-59b6-42bc-ba26-b003298626f6] [2025/04/04 12:46:00.239 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=ef61b514-59b6-42bc-ba26-b003298626f6] [error="context canceled"] [2025/04/04 12:46:00.239 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=ef61b514-59b6-42bc-ba26-b003298626f6] [error="context canceled"] [errorVerbose="context canceled\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:46:00.255 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 12:46:00.255 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:46:00.300 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 12:46:00.300 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:46:00.310 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=84.479256ms] [2025/04/04 12:46:00.312 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:46:00.312 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:46:00.312 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:46:00.312 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:46:00.312 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:46:00.312 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:46:00.312 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:46:00.312 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:00.312 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-9] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:46:00.312 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:00.312 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:00.312 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:46:00.313 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestFlashbackAutoID (2.43s) === NAME === RUN TestFlashbackSequence [2025/04/04 12:46:00.322 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 12:46:00.322 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 12:46:00.323 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437820018004919] [2025/04/04 12:46:00.324 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:46:00.324 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 12:46:00.324 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:46:00.324 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:46:00.324 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:46:00.324 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:46:00.324 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:46:00.325 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:46:00.328 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 12:46:00.333 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:46:00.334 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:46:00.335 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:46:00.347 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489437820018004919] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 12:46:00.357 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 12:46:00.390 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1962] ["lease id"=22319600d42f95d3] [2025/04/04 12:46:00.392 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/04 12:46:00.485 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=147] ["elapsed time"=89.760945ms] [2025/04/04 12:46:00.485 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 12:46:00.487 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 12:46:00.496 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=72951c87-dea6-42f7-b5e3-e2494f65b76d] [runWorker=true] [jobVersion=v2] [2025/04/04 12:46:00.496 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 12:46:00.498 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=72951c87-dea6-42f7-b5e3-e2494f65b76d] [2025/04/04 12:46:00.499 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 12:46:00.500 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 261545512960/466850480128, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 12:46:00.500 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:46:00.500 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:46:00.500 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:46:00.500 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:46:00.500 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:46:00.500 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:46:00.500 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:46:00.500 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:46:00.500 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 12:46:00.500 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:46:00.500 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:46:00.500 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 12:46:00.500 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=e7e528b9-22b3-4f31-8363-9cbc06eb9858] [2025/04/04 12:46:00.501 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9600d42f9666] [ownerID=72951c87-dea6-42f7-b5e3-e2494f65b76d] [op=none] [2025/04/04 12:46:00.502 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=72951c87-dea6-42f7-b5e3-e2494f65b76d] [2025/04/04 12:46:00.502 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=72951c87-dea6-42f7-b5e3-e2494f65b76d] [ownerKey=/tidb/ddl/fg/owner/3eaa9600d42f9666] [currRev=739] [2025/04/04 12:46:00.502 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:46:00.502 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=e7e528b9-22b3-4f31-8363-9cbc06eb9858] [daemon-id=LogBackup::Advancer] [2025/04/04 12:46:00.503 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 12:46:00.503 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f189600d42f98c9] [ownerID=e7e528b9-22b3-4f31-8363-9cbc06eb9858] [op=none] [2025/04/04 12:46:00.503 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=e7e528b9-22b3-4f31-8363-9cbc06eb9858] [2025/04/04 12:46:00.503 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=e7e528b9-22b3-4f31-8363-9cbc06eb9858] [ownerKey=/tidb/br-stream/owner/6f189600d42f98c9] [currRev=740] [2025/04/04 12:46:00.504 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9600d42f9666] [ownerID=72951c87-dea6-42f7-b5e3-e2494f65b76d] [op=none] [2025/04/04 12:46:00.504 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=72951c87-dea6-42f7-b5e3-e2494f65b76d] [op=none] [2025/04/04 12:46:00.504 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 12:46:00.507 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=72951c87-dea6-42f7-b5e3-e2494f65b76d] [2025/04/04 12:46:00.508 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:46:00.508 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 12:46:00.518 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:46:00.525 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:46:00.531 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:46:00.531 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:46:00.531 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:46:00.531 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:46:00.531 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 12:46:00.531 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 12:46:00.531 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 12:46:00.531 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 12:46:00.531 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 12:46:00.532 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:46:00.532 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=72951c87-dea6-42f7-b5e3-e2494f65b76d] [2025/04/04 12:46:00.533 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:46:00.533 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:46:00.533 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:46:00.533 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:46:00.533 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 12:46:00.533 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:46:00.533 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:46:00.533 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:46:00.533 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 12:46:00.533 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:46:00.533 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 12:46:00.533 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:46:00.533 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:46:00.533 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:46:00.534 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:46:00.536 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=434.8GiB] [2025/04/04 12:46:00.537 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/cba1a531-0ff6-4e34-916a-14509b9e1387] [2025/04/04 12:46:00.538 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=72951c87-dea6-42f7-b5e3-e2494f65b76d] [ttl-worker=task-manager] [ttl-worker=72951c87-dea6-42f7-b5e3-e2494f65b76d] [originalCount=0] [newCount=4] [2025/04/04 12:46:00.538 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=72951c87-dea6-42f7-b5e3-e2494f65b76d] [ttl-worker=task-manager] [ttl-worker=72951c87-dea6-42f7-b5e3-e2494f65b76d] [originalCount=0] [newCount=4] [2025/04/04 12:46:00.538 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=72951c87-dea6-42f7-b5e3-e2494f65b76d] [2025/04/04 12:46:00.539 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 12:46:00.539 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:46:00.539 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 12:46:00.540 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743770760540055648 [2025/04/04 12:46:00.545 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 12:46:00.551 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=18.81008ms] [2025/04/04 12:46:00.551 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 12:46:00.551 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:46:00.560 +00:00] [INFO] [set.go:172] ["set global var"] [conn=17] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 12:46:00.562 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=17] [schemaVersion=147] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/04 12:46:00.575 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:165, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:161, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:00.55 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:00.575 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:165, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:161, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:00.55 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`"] [2025/04/04 12:46:00.581 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=165] [conn=17] [job="ID:165, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:161, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:00.55 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:00.603 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=147] [neededSchemaVersion=148] ["elapsed time"=1.737805ms] [gotSchemaVersion=148] [phyTblIDs="[161]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:00.607 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=165] [version=148] [2025/04/04 12:46:00.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=148] ["take time"=16.249081ms] [job="ID:165, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:161, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:00.55 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:00.619 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=165] [conn=17] [job="ID:165, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:161, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:00.55 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:00.633 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=148] [neededSchemaVersion=149] ["elapsed time"=1.882703ms] [gotSchemaVersion=149] [phyTblIDs="[161]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:00.637 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=165] [version=149] [2025/04/04 12:46:00.639 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=149] ["take time"=9.252769ms] [job="ID:165, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:161, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:00.55 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:00.647 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=165] [conn=17] [job="ID:165, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:161, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:00.55 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:00.653 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 161, Old Table Name: t)"] [2025/04/04 12:46:00.665 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=149] [neededSchemaVersion=150] ["elapsed time"=1.110268ms] [gotSchemaVersion=150] [phyTblIDs="[161]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:00.669 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=165] [version=150] [2025/04/04 12:46:00.671 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=150] ["take time"=8.24908ms] [job="ID:165, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:161, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:00.55 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:00.680 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=165] [tableIDs="[161]"] [comment="drop table: table ID"] [2025/04/04 12:46:00.687 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=165] [jobType="drop table"] [2025/04/04 12:46:00.688 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=165] [conn=17] [job="ID:165, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:161, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:00.55 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:00.706 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=165] [2025/04/04 12:46:00.706 +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: 1743770760706928192 [2025/04/04 12:46:00.735 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:167, Type:create sequence, State:queueing, SchemaState:none, SchemaID:2, TableID:166, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:00.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:00.735 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:167, Type:create sequence, State:queueing, SchemaState:none, SchemaID:2, TableID:166, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:00.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create sequence seq cache 100"] [2025/04/04 12:46:00.740 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=167] [conn=18] [job="ID:167, Type:create sequence, State:queueing, SchemaState:none, SchemaID:2, TableID:166, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:00.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:00.760 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=150] [neededSchemaVersion=151] ["elapsed time"=1.557442ms] [gotSchemaVersion=151] [phyTblIDs="[166]"] [actionTypes="[34]"] [diffTypes="[\"create sequence\"]"] [2025/04/04 12:46:00.763 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=167] [version=151] [2025/04/04 12:46:00.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=151] ["take time"=11.833223ms] [job="ID:167, Type:create sequence, State:done, SchemaState:public, SchemaID:2, TableID:166, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:00.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:00.776 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=167] [conn=18] [job="ID:167, Type:create sequence, State:synced, SchemaState:public, SchemaID:2, TableID:166, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:00.699 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:00.787 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=167] [2025/04/04 12:46:01.510 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/04 12:46:01.510 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 12:46:01.510 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 12:46:01.510 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:46:01.538 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/04 12:46:01.538 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/04 12:46:01.539 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/cba1a531-0ff6-4e34-916a-14509b9e1387] [watcherID=02119b90-6aa3-4d65-b950-c75599b2e9b8] [2025/04/04 12:46:01.540 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/04 12:46:01.546 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/04 12:46:01.546 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/04 12:46:01.546 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/04 12:46:01.547 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/04 12:46:01.808 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:168, Type:drop sequence, State:queueing, SchemaState:public, SchemaID:2, TableID:166, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:01.75 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop sequence seq"] [2025/04/04 12:46:01.808 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:168, Type:drop sequence, State:queueing, SchemaState:public, SchemaID:2, TableID:166, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:01.75 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:01.815 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=168] [conn=18] [job="ID:168, Type:drop sequence, State:queueing, SchemaState:public, SchemaID:2, TableID:166, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:01.75 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:01.831 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=151] [neededSchemaVersion=152] ["elapsed time"=1.676614ms] [gotSchemaVersion=152] [phyTblIDs="[166]"] [actionTypes="[36]"] [diffTypes="[\"drop sequence\"]"] [2025/04/04 12:46:01.835 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=168] [version=152] [2025/04/04 12:46:01.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=152] ["take time"=9.42672ms] [job="ID:168, Type:drop sequence, State:running, SchemaState:write only, SchemaID:2, TableID:166, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:01.75 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:01.847 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=168] [conn=18] [job="ID:168, Type:drop sequence, State:running, SchemaState:write only, SchemaID:2, TableID:166, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:01.75 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:01.863 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=152] [neededSchemaVersion=153] ["elapsed time"=1.696846ms] [gotSchemaVersion=153] [phyTblIDs="[166]"] [actionTypes="[36]"] [diffTypes="[\"drop sequence\"]"] [2025/04/04 12:46:01.866 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=168] [version=153] [2025/04/04 12:46:01.868 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=153] ["take time"=9.447614ms] [job="ID:168, Type:drop sequence, State:running, SchemaState:delete only, SchemaID:2, TableID:166, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:01.75 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:01.876 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=168] [conn=18] [job="ID:168, Type:drop sequence, State:running, SchemaState:delete only, SchemaID:2, TableID:166, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:01.75 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:01.894 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=153] [neededSchemaVersion=154] ["elapsed time"=1.170097ms] [gotSchemaVersion=154] [phyTblIDs="[166]"] [actionTypes="[36]"] [diffTypes="[\"drop sequence\"]"] [2025/04/04 12:46:01.897 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=168] [version=154] [2025/04/04 12:46:01.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=154] ["take time"=8.202536ms] [job="ID:168, Type:drop sequence, State:done, SchemaState:none, SchemaID:2, TableID:166, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:01.75 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:01.910 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=168] [conn=18] [job="ID:168, Type:drop sequence, State:synced, SchemaState:none, SchemaID:2, TableID:166, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:01.75 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:01.922 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=168] [2025/04/04 12:46:01.924 +00:00] [INFO] [executor.go:1408] ["get flashback cluster job"] [category=ddl] [flashbackTS="2025-04-04 12:46:01.75 +0000 UTC"] [2025/04/04 12:46:01.935 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:169, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:01.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:01.935 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:169, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:01.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="flashback cluster to timestamp '2025-04-04 12:46:01.750000'"] [2025/04/04 12:46:01.942 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=169] [conn=18] [job="ID:169, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:01.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:01.948 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=169] [2025/04/04 12:46:02.114 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=169] [conn=18] [job="ID:169, Type:flashback cluster, State:running, SchemaState:delete only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:01.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:02.218 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=500ms] [requiredStaleness=460ms] [prevState=unknown(0)] [newState=adapting] [2025/04/04 12:46:02.260 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=154] [neededSchemaVersion=155] ["elapsed time"=203.195µs] [gotSchemaVersion=155] [phyTblIDs="[-1]"] [actionTypes="[62]"] [diffTypes="[\"flashback cluster\"]"] [2025/04/04 12:46:02.264 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=169] [version=155] [2025/04/04 12:46:02.266 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=155] ["take time"=8.432911ms] [job="ID:169, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:01.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:02.276 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=169] [conn=18] [job="ID:169, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:01.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:02.313 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/04 12:46:02.319 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=32] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/04 12:46:02.321 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=7.000553ms] ["completed regions"=1] [2025/04/04 12:46:02.321 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/04 12:46:02.325 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=40] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/04 12:46:02.326 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=4.781418ms] ["completed regions"=1] [2025/04/04 12:46:02.326 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/04 12:46:02.331 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=48] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/04 12:46:02.332 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.786842ms] ["completed regions"=1] [2025/04/04 12:46:02.332 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/04 12:46:02.336 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=56] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/04 12:46:02.337 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=4.374163ms] ["completed regions"=1] [2025/04/04 12:46:02.337 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/04 12:46:02.340 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=64] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/04 12:46:02.341 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=4.427093ms] ["completed regions"=1] [2025/04/04 12:46:02.342 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/04 12:46:02.345 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=72] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/04 12:46:02.347 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=4.44437ms] ["completed regions"=1] [2025/04/04 12:46:02.347 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/04 12:46:02.351 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=80] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/04 12:46:02.353 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=5.420945ms] ["completed regions"=1] [2025/04/04 12:46:02.353 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/04 12:46:02.356 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=88] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/04 12:46:02.357 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=4.323105ms] ["completed regions"=1] [2025/04/04 12:46:02.357 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/04 12:46:02.361 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=96] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/04 12:46:02.362 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=4.070536ms] ["completed regions"=1] [2025/04/04 12:46:02.362 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/04 12:46:02.365 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=104] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/04 12:46:02.367 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=3.914043ms] ["completed regions"=1] [2025/04/04 12:46:02.367 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/04 12:46:02.370 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=112] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/04 12:46:02.371 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=3.832142ms] ["completed regions"=1] [2025/04/04 12:46:02.371 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/04 12:46:02.374 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=120] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/04 12:46:02.375 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=3.730189ms] ["completed regions"=1] [2025/04/04 12:46:02.375 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/04 12:46:02.379 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=128] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/04 12:46:02.380 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=4.282522ms] ["completed regions"=1] [2025/04/04 12:46:02.380 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/04 12:46:02.383 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=136] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/04 12:46:02.384 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.890718ms] ["completed regions"=1] [2025/04/04 12:46:02.384 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/04 12:46:02.388 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=144] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/04 12:46:02.389 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=4.405237ms] ["completed regions"=1] [2025/04/04 12:46:02.389 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/04 12:46:02.392 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=152] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/04 12:46:02.393 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.61349ms] ["completed regions"=1] [2025/04/04 12:46:02.393 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/04 12:46:02.396 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=160] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/04 12:46:02.397 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.68968ms] ["completed regions"=1] [2025/04/04 12:46:02.398 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/04 12:46:02.401 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=168] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/04 12:46:02.402 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.698121ms] ["completed regions"=1] [2025/04/04 12:46:02.402 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/04 12:46:02.404 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=176] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/04 12:46:02.405 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.411527ms] ["completed regions"=1] [2025/04/04 12:46:02.406 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/04 12:46:02.408 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=184] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/04 12:46:02.410 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.479201ms] ["completed regions"=1] [2025/04/04 12:46:02.410 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/04 12:46:02.413 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=192] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/04 12:46:02.414 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=3.493248ms] ["completed regions"=1] [2025/04/04 12:46:02.414 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/04 12:46:02.416 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=200] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/04 12:46:02.417 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=3.321279ms] ["completed regions"=1] [2025/04/04 12:46:02.417 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/04 12:46:02.420 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=208] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/04 12:46:02.421 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=3.261452ms] ["completed regions"=1] [2025/04/04 12:46:02.421 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/04 12:46:02.424 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=216] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/04 12:46:02.425 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=3.154544ms] ["completed regions"=1] [2025/04/04 12:46:02.425 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/04 12:46:02.427 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=224] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/04 12:46:02.428 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=2.771814ms] ["completed regions"=1] [2025/04/04 12:46:02.428 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/04 12:46:02.430 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=232] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/04 12:46:02.431 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=2.768721ms] ["completed regions"=1] [2025/04/04 12:46:02.431 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/04 12:46:02.433 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=240] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/04 12:46:02.435 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=2.794062ms] ["completed regions"=1] [2025/04/04 12:46:02.435 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/04 12:46:02.437 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=248] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/04 12:46:02.438 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.89685ms] ["completed regions"=1] [2025/04/04 12:46:02.438 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/04 12:46:02.440 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=256] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/04 12:46:02.441 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=2.744515ms] ["completed regions"=1] [2025/04/04 12:46:02.441 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/04 12:46:02.443 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=264] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/04 12:46:02.444 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.737084ms] ["completed regions"=1] [2025/04/04 12:46:02.444 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/04 12:46:02.446 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=272] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/04 12:46:02.447 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.619202ms] ["completed regions"=1] [2025/04/04 12:46:02.447 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/04 12:46:02.450 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=280] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/04 12:46:02.451 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.779121ms] ["completed regions"=1] [2025/04/04 12:46:02.451 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/04 12:46:02.453 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=288] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/04 12:46:02.454 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.365605ms] ["completed regions"=1] [2025/04/04 12:46:02.454 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/04 12:46:02.455 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=296] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/04 12:46:02.456 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.335606ms] ["completed regions"=1] [2025/04/04 12:46:02.456 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/04 12:46:02.458 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=304] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/04 12:46:02.459 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.310976ms] ["completed regions"=1] [2025/04/04 12:46:02.459 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/04 12:46:02.461 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=312] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/04 12:46:02.463 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=3.050661ms] ["completed regions"=1] [2025/04/04 12:46:02.463 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/04 12:46:02.465 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=320] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/04 12:46:02.466 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.381539ms] ["completed regions"=1] [2025/04/04 12:46:02.466 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/04 12:46:02.468 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=328] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/04 12:46:02.469 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.149447ms] ["completed regions"=1] [2025/04/04 12:46:02.469 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/04 12:46:02.470 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=336] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/04 12:46:02.471 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=2.233342ms] ["completed regions"=1] [2025/04/04 12:46:02.472 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/04 12:46:02.473 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=344] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/04 12:46:02.474 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=2.043409ms] ["completed regions"=1] [2025/04/04 12:46:02.474 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/04 12:46:02.476 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=352] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/04 12:46:02.476 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=2.092229ms] ["completed regions"=1] [2025/04/04 12:46:02.477 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/04 12:46:02.478 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=360] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/04 12:46:02.479 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=1.875926ms] ["completed regions"=1] [2025/04/04 12:46:02.479 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/04 12:46:02.480 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=372] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/04 12:46:02.481 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=376] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/04 12:46:02.482 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=368] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/04 12:46:02.483 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=3.886244ms] ["completed regions"=3] [2025/04/04 12:46:02.490 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=169] [2025/04/04 12:46:02.498 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=169] [conn=18] [job="ID:169, Type:flashback cluster, State:running, SchemaState:write reorganization, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:01.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:02.498 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/04 12:46:02.500 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/04 12:46:02.503 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=32] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/04 12:46:02.505 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=1] ["total regions"=45] [] [2025/04/04 12:46:02.505 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=6.123393ms] ["completed regions"=1] [2025/04/04 12:46:02.505 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/04 12:46:02.509 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=40] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/04 12:46:02.510 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=2] ["total regions"=45] [] [2025/04/04 12:46:02.510 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=5.058775ms] ["completed regions"=1] [2025/04/04 12:46:02.510 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/04 12:46:02.514 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=48] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/04 12:46:02.515 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=3] ["total regions"=45] [] [2025/04/04 12:46:02.515 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.574353ms] ["completed regions"=1] [2025/04/04 12:46:02.516 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/04 12:46:02.519 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=56] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/04 12:46:02.520 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=4] ["total regions"=45] [] [2025/04/04 12:46:02.520 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=4.506684ms] ["completed regions"=1] [2025/04/04 12:46:02.521 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/04 12:46:02.524 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=64] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/04 12:46:02.525 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=5] ["total regions"=45] [] [2025/04/04 12:46:02.525 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=4.2632ms] ["completed regions"=1] [2025/04/04 12:46:02.525 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/04 12:46:02.529 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=72] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/04 12:46:02.530 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=6] ["total regions"=45] [] [2025/04/04 12:46:02.530 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=4.250955ms] ["completed regions"=1] [2025/04/04 12:46:02.530 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/04 12:46:02.533 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=80] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/04 12:46:02.534 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=7] ["total regions"=45] [] [2025/04/04 12:46:02.534 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=4.145268ms] ["completed regions"=1] [2025/04/04 12:46:02.534 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/04 12:46:02.538 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=88] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/04 12:46:02.539 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=8] ["total regions"=45] [] [2025/04/04 12:46:02.539 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=4.221742ms] ["completed regions"=1] [2025/04/04 12:46:02.539 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/04 12:46:02.542 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=96] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/04 12:46:02.543 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=9] ["total regions"=45] [] [2025/04/04 12:46:02.543 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=4.026389ms] ["completed regions"=1] [2025/04/04 12:46:02.544 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/04 12:46:02.547 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=104] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/04 12:46:02.548 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=10] ["total regions"=45] [] [2025/04/04 12:46:02.548 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=4.013617ms] ["completed regions"=1] [2025/04/04 12:46:02.548 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/04 12:46:02.551 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=112] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/04 12:46:02.553 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=11] ["total regions"=45] [] [2025/04/04 12:46:02.553 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=3.947815ms] ["completed regions"=1] [2025/04/04 12:46:02.553 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/04 12:46:02.556 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=120] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/04 12:46:02.557 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=12] ["total regions"=45] [] [2025/04/04 12:46:02.557 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=4.111897ms] ["completed regions"=1] [2025/04/04 12:46:02.557 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/04 12:46:02.560 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=128] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/04 12:46:02.561 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=13] ["total regions"=45] [] [2025/04/04 12:46:02.561 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.486944ms] ["completed regions"=1] [2025/04/04 12:46:02.561 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/04 12:46:02.564 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=136] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/04 12:46:02.565 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=14] ["total regions"=45] [] [2025/04/04 12:46:02.565 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.762232ms] ["completed regions"=1] [2025/04/04 12:46:02.565 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/04 12:46:02.568 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=144] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/04 12:46:02.570 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=15] ["total regions"=45] [] [2025/04/04 12:46:02.570 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.920369ms] ["completed regions"=1] [2025/04/04 12:46:02.570 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/04 12:46:02.573 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=152] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/04 12:46:02.574 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=16] ["total regions"=45] [] [2025/04/04 12:46:02.574 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.59137ms] ["completed regions"=1] [2025/04/04 12:46:02.574 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/04 12:46:02.576 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=160] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/04 12:46:02.577 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=17] ["total regions"=45] [] [2025/04/04 12:46:02.577 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.412966ms] ["completed regions"=1] [2025/04/04 12:46:02.578 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/04 12:46:02.580 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=168] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/04 12:46:02.581 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=18] ["total regions"=45] [] [2025/04/04 12:46:02.582 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.678019ms] ["completed regions"=1] [2025/04/04 12:46:02.582 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/04 12:46:02.584 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=176] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/04 12:46:02.585 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=19] ["total regions"=45] [] [2025/04/04 12:46:02.585 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.472554ms] ["completed regions"=1] [2025/04/04 12:46:02.586 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/04 12:46:02.588 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=184] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/04 12:46:02.589 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=20] ["total regions"=45] [] [2025/04/04 12:46:02.589 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.394309ms] ["completed regions"=1] [2025/04/04 12:46:02.589 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/04 12:46:02.592 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=192] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/04 12:46:02.593 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=21] ["total regions"=45] [] [2025/04/04 12:46:02.593 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=3.253635ms] ["completed regions"=1] [2025/04/04 12:46:02.593 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/04 12:46:02.596 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=200] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/04 12:46:02.596 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=22] ["total regions"=45] [] [2025/04/04 12:46:02.597 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=3.031126ms] ["completed regions"=1] [2025/04/04 12:46:02.597 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/04 12:46:02.599 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=208] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/04 12:46:02.600 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=23] ["total regions"=45] [] [2025/04/04 12:46:02.600 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=3.4053ms] ["completed regions"=1] [2025/04/04 12:46:02.601 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/04 12:46:02.603 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=216] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/04 12:46:02.604 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=24] ["total regions"=45] [] [2025/04/04 12:46:02.604 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=3.062457ms] ["completed regions"=1] [2025/04/04 12:46:02.604 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/04 12:46:02.606 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=224] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/04 12:46:02.607 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=25] ["total regions"=45] [] [2025/04/04 12:46:02.607 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=2.920936ms] ["completed regions"=1] [2025/04/04 12:46:02.607 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/04 12:46:02.610 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=232] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/04 12:46:02.611 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=26] ["total regions"=45] [] [2025/04/04 12:46:02.611 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=3.11597ms] ["completed regions"=1] [2025/04/04 12:46:02.611 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/04 12:46:02.613 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=240] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/04 12:46:02.614 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=27] ["total regions"=45] [] [2025/04/04 12:46:02.614 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=2.784106ms] ["completed regions"=1] [2025/04/04 12:46:02.614 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/04 12:46:02.616 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=248] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/04 12:46:02.617 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=28] ["total regions"=45] [] [2025/04/04 12:46:02.617 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.672534ms] ["completed regions"=1] [2025/04/04 12:46:02.617 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/04 12:46:02.619 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=256] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/04 12:46:02.620 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=29] ["total regions"=45] [] [2025/04/04 12:46:02.620 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=2.675447ms] ["completed regions"=1] [2025/04/04 12:46:02.620 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/04 12:46:02.622 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=264] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/04 12:46:02.623 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=30] ["total regions"=45] [] [2025/04/04 12:46:02.623 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.540031ms] ["completed regions"=1] [2025/04/04 12:46:02.623 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/04 12:46:02.625 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=272] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/04 12:46:02.626 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=31] ["total regions"=45] [] [2025/04/04 12:46:02.626 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.621662ms] ["completed regions"=1] [2025/04/04 12:46:02.626 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/04 12:46:02.628 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=280] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/04 12:46:02.629 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=32] ["total regions"=45] [] [2025/04/04 12:46:02.629 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.298376ms] ["completed regions"=1] [2025/04/04 12:46:02.629 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/04 12:46:02.631 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=288] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/04 12:46:02.631 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=33] ["total regions"=45] [] [2025/04/04 12:46:02.632 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.377904ms] ["completed regions"=1] [2025/04/04 12:46:02.632 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/04 12:46:02.633 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=296] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/04 12:46:02.634 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=34] ["total regions"=45] [] [2025/04/04 12:46:02.634 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.485237ms] ["completed regions"=1] [2025/04/04 12:46:02.635 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/04 12:46:02.636 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=304] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/04 12:46:02.637 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=35] ["total regions"=45] [] [2025/04/04 12:46:02.637 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.409925ms] ["completed regions"=1] [2025/04/04 12:46:02.637 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/04 12:46:02.639 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=312] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/04 12:46:02.640 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=36] ["total regions"=45] [] [2025/04/04 12:46:02.640 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.175855ms] ["completed regions"=1] [2025/04/04 12:46:02.640 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/04 12:46:02.641 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=320] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/04 12:46:02.642 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=37] ["total regions"=45] [] [2025/04/04 12:46:02.642 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.160992ms] ["completed regions"=1] [2025/04/04 12:46:02.642 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/04 12:46:02.644 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=328] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/04 12:46:02.645 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=38] ["total regions"=45] [] [2025/04/04 12:46:02.645 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.217405ms] ["completed regions"=1] [2025/04/04 12:46:02.645 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/04 12:46:02.646 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=336] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/04 12:46:02.647 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=39] ["total regions"=45] [] [2025/04/04 12:46:02.647 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=1.972808ms] ["completed regions"=1] [2025/04/04 12:46:02.647 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/04 12:46:02.649 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=344] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/04 12:46:02.649 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=40] ["total regions"=45] [] [2025/04/04 12:46:02.650 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=1.841778ms] ["completed regions"=1] [2025/04/04 12:46:02.650 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/04 12:46:02.651 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=352] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/04 12:46:02.652 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=41] ["total regions"=45] [] [2025/04/04 12:46:02.652 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=2.281404ms] ["completed regions"=1] [2025/04/04 12:46:02.652 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/04 12:46:02.654 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=360] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/04 12:46:02.655 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=42] ["total regions"=45] [] [2025/04/04 12:46:02.655 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=2.272598ms] ["completed regions"=1] [2025/04/04 12:46:02.655 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/04 12:46:02.656 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=372] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/04 12:46:02.657 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=376] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/04 12:46:02.658 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=368] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/04 12:46:02.659 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=45] ["total regions"=45] [] [2025/04/04 12:46:02.659 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=3.935734ms] ["completed regions"=3] [2025/04/04 12:46:02.659 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: flashback cluster)"] [2025/04/04 12:46:02.676 +00:00] [ERROR] [domain.go:375] ["failed to load schema diff"] [error="Meets a schema diff with RegenerateSchemaMap flag"] [errorVerbose="Meets a schema diff with RegenerateSchemaMap flag\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).tryLoadSchemaDiffs\n\tpkg/domain/domain.go:652\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:358\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:375\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103"] [2025/04/04 12:46:02.765 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=155] [neededSchemaVersion=156] ["elapsed time"=88.870057ms] [2025/04/04 12:46:02.765 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 12:46:02.768 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=169] [version=156] [2025/04/04 12:46:02.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=156] ["take time"=96.884414ms] [job="ID:169, Type:flashback cluster, State:done, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:01.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:02.843 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=169] [conn=18] [job="ID:169, Type:flashback cluster, State:synced, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:01.9 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:02.855 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=169] [2025/04/04 12:46:02.856 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 18\n# Query_time: 0.93315729\n# Parse_time: 0.000121155\n# Compile_time: 0.000402228\n# Rewrite_time: 0.000006172\n# Optimize_time: 0.000096197\n# Wait_TS: 0.000392465\n# DB: test\n# Is_internal: false\n# Digest: af09c17df48245f34604ebcd1fb822f4f2360c5d282fb4cb3aeced6fc3c852fa\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nuse test;\nflashback cluster to timestamp '2025-04-04 12:46:01.750000';"] [2025/04/04 12:46:02.873 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:170, Type:drop sequence, State:queueing, SchemaState:public, SchemaID:2, TableID:166, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:02.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:02.873 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:170, Type:drop sequence, State:queueing, SchemaState:public, SchemaID:2, TableID:166, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:02.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop sequence seq"] [2025/04/04 12:46:02.879 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=170] [conn=18] [job="ID:170, Type:drop sequence, State:queueing, SchemaState:public, SchemaID:2, TableID:166, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:02.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:02.893 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=156] [neededSchemaVersion=157] ["elapsed time"=1.641065ms] [gotSchemaVersion=157] [phyTblIDs="[166]"] [actionTypes="[36]"] [diffTypes="[\"drop sequence\"]"] [2025/04/04 12:46:02.897 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=170] [version=157] [2025/04/04 12:46:02.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=157] ["take time"=8.868169ms] [job="ID:170, Type:drop sequence, State:running, SchemaState:write only, SchemaID:2, TableID:166, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:02.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:02.909 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=170] [conn=18] [job="ID:170, Type:drop sequence, State:running, SchemaState:write only, SchemaID:2, TableID:166, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:02.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:02.924 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=157] [neededSchemaVersion=158] ["elapsed time"=1.570529ms] [gotSchemaVersion=158] [phyTblIDs="[166]"] [actionTypes="[36]"] [diffTypes="[\"drop sequence\"]"] [2025/04/04 12:46:02.927 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=170] [version=158] [2025/04/04 12:46:02.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=158] ["take time"=8.838158ms] [job="ID:170, Type:drop sequence, State:running, SchemaState:delete only, SchemaID:2, TableID:166, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:02.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:02.937 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=170] [conn=18] [job="ID:170, Type:drop sequence, State:running, SchemaState:delete only, SchemaID:2, TableID:166, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:02.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:02.955 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=158] [neededSchemaVersion=159] ["elapsed time"=1.168866ms] [gotSchemaVersion=159] [phyTblIDs="[166]"] [actionTypes="[36]"] [diffTypes="[\"drop sequence\"]"] [2025/04/04 12:46:02.958 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=170] [version=159] [2025/04/04 12:46:02.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=159] ["take time"=8.413994ms] [job="ID:170, Type:drop sequence, State:done, SchemaState:none, SchemaID:2, TableID:166, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:02.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:02.970 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=170] [conn=18] [job="ID:170, Type:drop sequence, State:synced, SchemaState:none, SchemaID:2, TableID:166, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:02.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:02.980 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=170] [2025/04/04 12:46:02.980 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 12:46:02.980 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 12:46:02.981 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=72951c87-dea6-42f7-b5e3-e2494f65b76d] [] [2025/04/04 12:46:02.981 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=72951c87-dea6-42f7-b5e3-e2494f65b76d] [2025/04/04 12:46:02.981 +00:00] [WARN] [job_scheduler.go:653] ["delete versions failed"] [category=ddl] ["job ID"=170] [error="context canceled"] [2025/04/04 12:46:02.981 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:46:02.981 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:46:02.981 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 51, tp general"] ["take time"=76.358µs] [2025/04/04 12:46:02.981 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 52, tp general"] ["take time"=59.324µs] [2025/04/04 12:46:02.981 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 53, tp general"] ["take time"=54.626µs] [2025/04/04 12:46:02.981 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 54, tp general"] ["take time"=41.672µs] [2025/04/04 12:46:02.982 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 55, tp general"] ["take time"=37.108µs] [2025/04/04 12:46:02.982 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=72951c87-dea6-42f7-b5e3-e2494f65b76d] [2025/04/04 12:46:02.982 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=72951c87-dea6-42f7-b5e3-e2494f65b76d] [2025/04/04 12:46:02.983 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 12:46:02.983 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 12:46:02.986 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=72951c87-dea6-42f7-b5e3-e2494f65b76d] ["take time"=5.334899ms] [2025/04/04 12:46:02.986 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=72951c87-dea6-42f7-b5e3-e2494f65b76d] [2025/04/04 12:46:02.986 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 12:46:02.986 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/cba1a531-0ff6-4e34-916a-14509b9e1387] [watcherID=02119b90-6aa3-4d65-b950-c75599b2e9b8] [2025/04/04 12:46:02.986 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/04 12:46:02.986 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/cba1a531-0ff6-4e34-916a-14509b9e1387] [2025/04/04 12:46:02.986 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=72951c87-dea6-42f7-b5e3-e2494f65b76d] [ttl-worker=task-manager] [ttl-worker=72951c87-dea6-42f7-b5e3-e2494f65b76d] [originalCount=4] [newCount=0] [2025/04/04 12:46:02.986 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:46:02.986 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:46:02.986 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:46:02.986 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:46:02.986 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=72951c87-dea6-42f7-b5e3-e2494f65b76d] [ttl-worker=task-manager] [ttl-worker=72951c87-dea6-42f7-b5e3-e2494f65b76d] [originalCount=4] [newCount=0] [2025/04/04 12:46:02.989 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:46:02.989 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:46:02.990 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:46:02.990 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:46:02.992 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=72951c87-dea6-42f7-b5e3-e2494f65b76d] [2025/04/04 12:46:02.992 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 12:46:02.993 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1962] [2025/04/04 12:46:02.993 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 12:46:02.993 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 12:46:02.993 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 12:46:02.993 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 12:46:02.993 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 12:46:02.994 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:46:02.993 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 12:46:02.993 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 12:46:02.994 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:46:02.993 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 12:46:02.994 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 12:46:02.994 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:46:02.994 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:46:02.994 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=72951c87-dea6-42f7-b5e3-e2494f65b76d] [2025/04/04 12:46:02.994 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:46:02.994 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 12:46:02.994 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:02.994 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 12:46:02.994 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:46:02.994 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=e7e528b9-22b3-4f31-8363-9cbc06eb9858] [] [2025/04/04 12:46:02.994 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 12:46:02.994 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 12:46:02.994 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:02.994 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 12:46:02.994 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 12:46:02.994 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:46:02.994 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:46:02.994 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 12:46:02.994 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:02.994 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/04 12:46:02.994 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:46:02.994 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:46:02.994 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:46:02.994 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 12:46:02.994 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:02.994 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:46:02.994 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 12:46:02.994 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:46:02.994 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:46:02.994 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 12:46:02.994 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:46:02.994 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:46:02.993 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:02.994 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 12:46:02.994 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:02.994 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 12:46:02.994 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:46:02.994 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:46:02.993 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:02.994 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:02.994 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 12:46:02.994 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:02.994 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:02.994 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=e7e528b9-22b3-4f31-8363-9cbc06eb9858] [2025/04/04 12:46:02.994 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:02.994 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:46:02.994 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 12:46:02.994 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:02.994 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/04 12:46:02.994 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/04 12:46:02.994 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 12:46:02.994 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/04 12:46:02.994 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 12:46:02.994 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:46:02.994 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=e7e528b9-22b3-4f31-8363-9cbc06eb9858] [2025/04/04 12:46:02.995 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:46:02.995 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=e7e528b9-22b3-4f31-8363-9cbc06eb9858] [2025/04/04 12:46:02.995 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=72951c87-dea6-42f7-b5e3-e2494f65b76d] [2025/04/04 12:46:02.995 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 12:46:02.995 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 12:46:02.995 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 12:46:02.995 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 12:46:02.995 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:46:02.996 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/stats/owner] [id=72951c87-dea6-42f7-b5e3-e2494f65b76d] [error="context canceled"] [2025/04/04 12:46:02.996 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=72951c87-dea6-42f7-b5e3-e2494f65b76d] [2025/04/04 12:46:02.996 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 12:46:02.996 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 12:46:02.996 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 12:46:02.996 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:46:02.996 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:46:02.996 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:46:02.996 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=e7e528b9-22b3-4f31-8363-9cbc06eb9858] [daemon-id=LogBackup::Advancer] [2025/04/04 12:46:02.996 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 12:46:02.996 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:46:02.996 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=72951c87-dea6-42f7-b5e3-e2494f65b76d] [error="context canceled"] [2025/04/04 12:46:02.996 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 12:46:02.996 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 12:46:02.997 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 12:46:02.997 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:46:02.997 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=72951c87-dea6-42f7-b5e3-e2494f65b76d] [error="context canceled"] [2025/04/04 12:46:02.997 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=72951c87-dea6-42f7-b5e3-e2494f65b76d] [2025/04/04 12:46:03.063 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=72951c87-dea6-42f7-b5e3-e2494f65b76d] [error="context canceled"] [2025/04/04 12:46:03.063 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 12:46:03.063 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:46:03.076 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=95.818493ms] [2025/04/04 12:46:03.079 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:46:03.079 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:46:03.079 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:46:03.079 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:46:03.079 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:46:03.079 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:46:03.079 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:46:03.079 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:03.079 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:03.079 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-10] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:46:03.079 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:03.079 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:46:03.107 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestFlashbackSequence (2.79s) === NAME === RUN TestFlashbackPartitionTable [2025/04/04 12:46:03.116 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 12:46:03.117 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 12:46:03.117 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437820018004919] [2025/04/04 12:46:03.118 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:46:03.118 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 12:46:03.118 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:46:03.118 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:46:03.118 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:46:03.118 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:46:03.119 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:46:03.119 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:46:03.123 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 12:46:03.129 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:46:03.130 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:46:03.130 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:46:03.144 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489437820018004919] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 12:46:03.154 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 12:46:03.195 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=507] ["lease id"=3eaa9600d42f9691] [2025/04/04 12:46:03.197 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/04 12:46:03.293 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=159] ["elapsed time"=93.971795ms] [2025/04/04 12:46:03.293 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 12:46:03.296 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 12:46:03.306 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=77dd93b3-c8d5-4876-8b67-54bc89e2e9da] [runWorker=true] [jobVersion=v2] [2025/04/04 12:46:03.306 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 12:46:03.308 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=77dd93b3-c8d5-4876-8b67-54bc89e2e9da] [2025/04/04 12:46:03.309 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 12:46:03.309 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 261549809664/466850480128, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 12:46:03.309 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:46:03.309 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:46:03.309 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:46:03.309 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:46:03.309 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:46:03.309 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:46:03.309 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:46:03.309 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:46:03.310 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:46:03.310 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 12:46:03.310 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:46:03.310 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 12:46:03.310 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=23f601b1-3782-4fab-baf9-c4ed756e01ac] [2025/04/04 12:46:03.311 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319600d42f9604] [ownerID=77dd93b3-c8d5-4876-8b67-54bc89e2e9da] [op=none] [2025/04/04 12:46:03.311 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=77dd93b3-c8d5-4876-8b67-54bc89e2e9da] [2025/04/04 12:46:03.311 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=77dd93b3-c8d5-4876-8b67-54bc89e2e9da] [ownerKey=/tidb/ddl/fg/owner/22319600d42f9604] [currRev=796] [2025/04/04 12:46:03.312 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:46:03.312 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=23f601b1-3782-4fab-baf9-c4ed756e01ac] [daemon-id=LogBackup::Advancer] [2025/04/04 12:46:03.313 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 12:46:03.313 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/22319600d42f9606] [ownerID=23f601b1-3782-4fab-baf9-c4ed756e01ac] [op=none] [2025/04/04 12:46:03.313 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=23f601b1-3782-4fab-baf9-c4ed756e01ac] [2025/04/04 12:46:03.313 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=23f601b1-3782-4fab-baf9-c4ed756e01ac] [ownerKey=/tidb/br-stream/owner/22319600d42f9606] [currRev=797] [2025/04/04 12:46:03.314 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319600d42f9604] [ownerID=77dd93b3-c8d5-4876-8b67-54bc89e2e9da] [op=none] [2025/04/04 12:46:03.314 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=77dd93b3-c8d5-4876-8b67-54bc89e2e9da] [op=none] [2025/04/04 12:46:03.314 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 12:46:03.322 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=77dd93b3-c8d5-4876-8b67-54bc89e2e9da] [2025/04/04 12:46:03.322 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:46:03.322 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 12:46:03.332 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:46:03.340 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:46:03.346 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:46:03.346 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:46:03.346 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 12:46:03.346 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:46:03.346 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:46:03.346 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 12:46:03.346 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 12:46:03.346 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 12:46:03.346 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 12:46:03.348 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:46:03.348 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=77dd93b3-c8d5-4876-8b67-54bc89e2e9da] [2025/04/04 12:46:03.348 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:46:03.349 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:46:03.349 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:46:03.349 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:46:03.349 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:46:03.349 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:46:03.349 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 12:46:03.349 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:46:03.349 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 12:46:03.349 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:46:03.349 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 12:46:03.349 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:46:03.349 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:46:03.349 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:46:03.349 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:46:03.351 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=434.8GiB] [2025/04/04 12:46:03.353 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/3b2c4d62-389d-4100-bd0e-23e1c1a80ba9] [2025/04/04 12:46:03.354 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=77dd93b3-c8d5-4876-8b67-54bc89e2e9da] [ttl-worker=task-manager] [ttl-worker=77dd93b3-c8d5-4876-8b67-54bc89e2e9da] [originalCount=0] [newCount=4] [2025/04/04 12:46:03.354 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=77dd93b3-c8d5-4876-8b67-54bc89e2e9da] [ttl-worker=task-manager] [ttl-worker=77dd93b3-c8d5-4876-8b67-54bc89e2e9da] [originalCount=0] [newCount=4] [2025/04/04 12:46:03.354 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=77dd93b3-c8d5-4876-8b67-54bc89e2e9da] [2025/04/04 12:46:03.355 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:46:03.355 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 12:46:03.355 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] [2025/04/04 12:46:03.355 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] testkit.go:123: RefreshSession rand seed: 1743770763355776169 [2025/04/04 12:46:03.360 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 12:46:03.371 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=22.90867ms] [2025/04/04 12:46:03.371 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 12:46:03.371 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:46:03.374 +00:00] [INFO] [set.go:172] ["set global var"] [conn=19] [name=innodb_lock_wait_timeout] [val=50] testkit.go:123: RefreshSession rand seed: 1743770763376530299 [2025/04/04 12:46:03.407 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:175, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:03.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t(a int) partition by range(`a`) (partition `a_1` values less than (25), partition `a_2` values less than (75), partition `a_3` values less than (200))"] [2025/04/04 12:46:03.408 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:175, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:03.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:03.414 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=175] [conn=20] [job="ID:175, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:171, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:03.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:03.419 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 171, Table Name: t)"] [2025/04/04 12:46:03.436 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=159] [neededSchemaVersion=160] ["elapsed time"=2.3786ms] [gotSchemaVersion=160] [phyTblIDs="[171,172,173,174]"] [actionTypes="[3,3,3,3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:46:03.440 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=175] [version=160] [2025/04/04 12:46:03.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=160] ["take time"=10.647838ms] [job="ID:175, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:03.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:03.454 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=175] [conn=20] [job="ID:175, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:171, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:03.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:03.466 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=175] [2025/04/04 12:46:03.466 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=20] [schemaVersion=160] [cur_db=test] [sql="create table t(a int) partition by range(`a`) (partition `a_1` values less than (25), partition `a_2` values less than (75), partition `a_3` values less than (200))"] [user=] [2025/04/04 12:46:04.319 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/04 12:46:04.319 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 12:46:04.319 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 12:46:04.319 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:46:04.354 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/04 12:46:04.354 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/04 12:46:04.354 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/3b2c4d62-389d-4100-bd0e-23e1c1a80ba9] [watcherID=4bb5d892-7238-4334-96f7-b13ae71f887a] [2025/04/04 12:46:04.355 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/04 12:46:04.360 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/04 12:46:04.360 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/04 12:46:04.360 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/04 12:46:04.360 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/04 12:46:04.718 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:176, Type:drop partition, State:queueing, SchemaState:public, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:04.7 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:04.718 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:176, Type:drop partition, State:queueing, SchemaState:public, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:04.7 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="alter table t drop partition `a_3`"] [2025/04/04 12:46:04.725 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=176] [conn=20] [job="ID:176, Type:drop partition, State:queueing, SchemaState:public, SchemaID:2, TableID:171, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:04.7 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:04.741 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=160] [neededSchemaVersion=161] ["elapsed time"=2.229117ms] [gotSchemaVersion=161] [phyTblIDs="[171,172,173,174]"] [actionTypes="[20,20,20,20]"] [diffTypes="[\"drop partition\"]"] [2025/04/04 12:46:04.745 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=176] [version=161] [2025/04/04 12:46:04.747 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=161] ["take time"=9.840024ms] [job="ID:176, Type:drop partition, State:running, SchemaState:write only, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:04.7 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:04.757 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=176] [conn=20] [job="ID:176, Type:drop partition, State:running, SchemaState:write only, SchemaID:2, TableID:171, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:04.7 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:04.776 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=161] [neededSchemaVersion=162] ["elapsed time"=2.012088ms] [gotSchemaVersion=162] [phyTblIDs="[171,172,173]"] [actionTypes="[20,20,20]"] [diffTypes="[\"drop partition\"]"] [2025/04/04 12:46:04.779 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=176] [version=162] [2025/04/04 12:46:04.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=162] ["take time"=9.053961ms] [job="ID:176, Type:drop partition, State:running, SchemaState:delete only, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:04.7 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:04.789 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=176] [conn=20] [job="ID:176, Type:drop partition, State:running, SchemaState:delete only, SchemaID:2, TableID:171, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:04.7 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:04.805 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=162] [neededSchemaVersion=163] ["elapsed time"=1.979367ms] [gotSchemaVersion=163] [phyTblIDs="[171,172,173]"] [actionTypes="[20,20,20]"] [diffTypes="[\"drop partition\"]"] [2025/04/04 12:46:04.808 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=176] [version=163] [2025/04/04 12:46:04.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=163] ["take time"=8.990148ms] [job="ID:176, Type:drop partition, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:04.7 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:04.818 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=176] [conn=20] [job="ID:176, Type:drop partition, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:171, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:04.7 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:04.823 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop partition, Table ID: 171, Table Name: t, Dropped Partition Name: a_3, Dropped Partition ID: 174)"] [2025/04/04 12:46:04.837 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=163] [neededSchemaVersion=164] ["elapsed time"=1.940863ms] [gotSchemaVersion=164] [phyTblIDs="[171,172,173]"] [actionTypes="[20,20,20]"] [diffTypes="[\"drop partition\"]"] [2025/04/04 12:46:04.841 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=176] [version=164] [2025/04/04 12:46:04.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=164] ["take time"=8.916892ms] [job="ID:176, Type:drop partition, State:done, SchemaState:none, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:04.7 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:04.852 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=176] [tableIDs="[174]"] [comment="drop partition: physical table ID(s)"] [2025/04/04 12:46:04.860 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=176] [jobType="drop partition"] [2025/04/04 12:46:04.861 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=176] [conn=20] [job="ID:176, Type:drop partition, State:synced, SchemaState:none, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:04.7 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:04.880 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=176] [2025/04/04 12:46:04.880 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=20] [schemaVersion=164] [cur_db=test] [sql="alter table t drop partition `a_3`"] [user=] [2025/04/04 12:46:04.892 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:178, Type:add partition, State:queueing, SchemaState:none, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:04.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="alter table t add partition (partition `a_3` values less than (300))"] [2025/04/04 12:46:04.892 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:178, Type:add partition, State:queueing, SchemaState:none, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:04.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:04.898 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=178] [conn=20] [job="ID:178, Type:add partition, State:queueing, SchemaState:none, SchemaID:2, TableID:171, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:04.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:04.915 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=164] [neededSchemaVersion=165] ["elapsed time"=1.991221ms] [gotSchemaVersion=165] [phyTblIDs="[171,172,173]"] [actionTypes="[19,19,19]"] [diffTypes="[\"add partition\"]"] [2025/04/04 12:46:04.919 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=178] [version=165] [2025/04/04 12:46:04.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=165] ["take time"=9.119414ms] [job="ID:178, Type:add partition, State:running, SchemaState:replica only, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:04.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:04.930 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=178] [conn=20] [job="ID:178, Type:add partition, State:running, SchemaState:replica only, SchemaID:2, TableID:171, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:04.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:04.935 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: add partition, Table ID: 171, Table Name: t, Partition Name: a_3, Partition ID: 177)"] [2025/04/04 12:46:04.949 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=165] [neededSchemaVersion=166] ["elapsed time"=2.069551ms] [gotSchemaVersion=166] [phyTblIDs="[171,172,173,177]"] [actionTypes="[19,19,19,19]"] [diffTypes="[\"add partition\"]"] [2025/04/04 12:46:04.952 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=178] [version=166] [2025/04/04 12:46:04.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=166] ["take time"=9.20993ms] [job="ID:178, Type:add partition, State:done, SchemaState:public, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:04.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:04.964 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=178] [conn=20] [job="ID:178, Type:add partition, State:synced, SchemaState:public, SchemaID:2, TableID:171, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:04.85 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:04.975 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=178] [2025/04/04 12:46:04.975 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=20] [schemaVersion=166] [cur_db=test] [sql="alter table t add partition (partition `a_3` values less than (300))"] [user=] [2025/04/04 12:46:04.992 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:179, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:04.95 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:04.992 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:179, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:04.95 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table t"] [2025/04/04 12:46:04.997 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=179] [conn=20] [job="ID:179, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:171, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:04.95 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:05.013 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=166] [neededSchemaVersion=167] ["elapsed time"=2.581061ms] [gotSchemaVersion=167] [phyTblIDs="[171,172,173,177]"] [actionTypes="[4,4,4,4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:05.017 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=179] [version=167] [2025/04/04 12:46:05.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=167] ["take time"=9.715441ms] [job="ID:179, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:04.95 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:05.029 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=179] [conn=20] [job="ID:179, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:171, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:04.95 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:05.045 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=167] [neededSchemaVersion=168] ["elapsed time"=2.458413ms] [gotSchemaVersion=168] [phyTblIDs="[171,172,173,177]"] [actionTypes="[4,4,4,4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:05.048 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=179] [version=168] [2025/04/04 12:46:05.050 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=168] ["take time"=9.862521ms] [job="ID:179, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:04.95 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:05.058 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=179] [conn=20] [job="ID:179, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:171, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:04.95 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:05.064 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 171, Old Table Name: t)"] [2025/04/04 12:46:05.078 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=168] [neededSchemaVersion=169] ["elapsed time"=1.221176ms] [gotSchemaVersion=169] [phyTblIDs="[171,172,173,177]"] [actionTypes="[4,4,4,4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:05.081 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=179] [version=169] [2025/04/04 12:46:05.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=169] ["take time"=8.099507ms] [job="ID:179, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:04.95 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:05.091 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=179] [tableIDs="[172,173,177]"] [comment="drop table: partition table IDs"] [2025/04/04 12:46:05.096 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=179] [tableIDs="[171]"] [comment="drop table: table ID"] [2025/04/04 12:46:05.100 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=179] [jobType="drop table"] [2025/04/04 12:46:05.101 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=179] [conn=20] [job="ID:179, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:04.95 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:05.119 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=179] [2025/04/04 12:46:05.119 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=20] [schemaVersion=169] [cur_db=test] [sql="drop table t"] [user=] [2025/04/04 12:46:05.121 +00:00] [INFO] [executor.go:1408] ["get flashback cluster job"] [category=ddl] [flashbackTS="2025-04-04 12:46:04.7 +0000 UTC"] [2025/04/04 12:46:05.123 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/04 12:46:05.132 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:180, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:05.1 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:05.132 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:180, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:05.1 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="flashback cluster to timestamp '2025-04-04 12:46:04.700000'"] [2025/04/04 12:46:05.137 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=180] [conn=20] [job="ID:180, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:05.1 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:05.143 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=180] [2025/04/04 12:46:05.150 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=180] [conn=20] [job="ID:180, Type:flashback cluster, State:running, SchemaState:delete only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:05.1 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:05.227 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=500ms] [requiredStaleness=500ms] [prevState=normal] [newState=adapting] [2025/04/04 12:46:05.260 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=169] [neededSchemaVersion=170] ["elapsed time"=162.251µs] [gotSchemaVersion=170] [phyTblIDs="[-1]"] [actionTypes="[62]"] [diffTypes="[\"flashback cluster\"]"] [2025/04/04 12:46:05.264 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=180] [version=170] [2025/04/04 12:46:05.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=170] ["take time"=7.01984ms] [job="ID:180, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:05.1 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:05.274 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=180] [conn=20] [job="ID:180, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:05.1 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:05.305 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/04 12:46:05.309 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=32] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/04 12:46:05.309 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/04 12:46:05.311 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=5.321381ms] ["completed regions"=1] [2025/04/04 12:46:05.311 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/04 12:46:05.315 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=40] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/04 12:46:05.316 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=4.392705ms] ["completed regions"=1] [2025/04/04 12:46:05.316 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/04 12:46:05.319 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=48] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/04 12:46:05.320 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.136442ms] ["completed regions"=1] [2025/04/04 12:46:05.321 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/04 12:46:05.324 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=56] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/04 12:46:05.325 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=4.117129ms] ["completed regions"=1] [2025/04/04 12:46:05.325 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/04 12:46:05.329 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=64] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/04 12:46:05.330 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=4.178318ms] ["completed regions"=1] [2025/04/04 12:46:05.330 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/04 12:46:05.333 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=72] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/04 12:46:05.334 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=4.186914ms] ["completed regions"=1] [2025/04/04 12:46:05.335 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/04 12:46:05.338 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=80] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/04 12:46:05.339 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=4.245839ms] ["completed regions"=1] [2025/04/04 12:46:05.339 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/04 12:46:05.343 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=88] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/04 12:46:05.344 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=4.058002ms] ["completed regions"=1] [2025/04/04 12:46:05.344 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/04 12:46:05.347 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=96] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/04 12:46:05.348 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=3.722037ms] ["completed regions"=1] [2025/04/04 12:46:05.348 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/04 12:46:05.351 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=104] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/04 12:46:05.352 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=3.804351ms] ["completed regions"=1] [2025/04/04 12:46:05.352 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/04 12:46:05.356 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=112] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/04 12:46:05.357 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=4.070046ms] ["completed regions"=1] [2025/04/04 12:46:05.357 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/04 12:46:05.360 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=120] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/04 12:46:05.362 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=4.415334ms] ["completed regions"=1] [2025/04/04 12:46:05.362 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/04 12:46:05.365 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=128] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/04 12:46:05.366 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.629577ms] ["completed regions"=1] [2025/04/04 12:46:05.366 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/04 12:46:05.369 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=136] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/04 12:46:05.370 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.522254ms] ["completed regions"=1] [2025/04/04 12:46:05.370 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/04 12:46:05.373 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=144] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/04 12:46:05.374 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.558753ms] ["completed regions"=1] [2025/04/04 12:46:05.374 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/04 12:46:05.377 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=152] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/04 12:46:05.378 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.534478ms] ["completed regions"=1] [2025/04/04 12:46:05.378 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/04 12:46:05.381 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=160] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/04 12:46:05.382 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.393635ms] ["completed regions"=1] [2025/04/04 12:46:05.382 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/04 12:46:05.385 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=168] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/04 12:46:05.386 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.245906ms] ["completed regions"=1] [2025/04/04 12:46:05.386 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/04 12:46:05.388 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=176] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/04 12:46:05.389 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.141338ms] ["completed regions"=1] [2025/04/04 12:46:05.389 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/04 12:46:05.392 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=184] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/04 12:46:05.393 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.027092ms] ["completed regions"=1] [2025/04/04 12:46:05.393 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/04 12:46:05.395 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=192] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/04 12:46:05.396 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=2.949082ms] ["completed regions"=1] [2025/04/04 12:46:05.396 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/04 12:46:05.398 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=200] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/04 12:46:05.399 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=2.90072ms] ["completed regions"=1] [2025/04/04 12:46:05.399 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/04 12:46:05.402 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=208] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/04 12:46:05.403 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=2.918607ms] ["completed regions"=1] [2025/04/04 12:46:05.403 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/04 12:46:05.405 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=216] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/04 12:46:05.406 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=2.737398ms] ["completed regions"=1] [2025/04/04 12:46:05.406 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/04 12:46:05.408 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=224] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/04 12:46:05.409 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=2.783262ms] ["completed regions"=1] [2025/04/04 12:46:05.409 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/04 12:46:05.411 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=232] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/04 12:46:05.412 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=2.699571ms] ["completed regions"=1] [2025/04/04 12:46:05.412 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/04 12:46:05.415 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=240] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/04 12:46:05.416 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=2.749735ms] ["completed regions"=1] [2025/04/04 12:46:05.416 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/04 12:46:05.418 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=248] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/04 12:46:05.419 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.616016ms] ["completed regions"=1] [2025/04/04 12:46:05.419 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/04 12:46:05.421 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=256] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/04 12:46:05.422 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=2.527727ms] ["completed regions"=1] [2025/04/04 12:46:05.422 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/04 12:46:05.424 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=264] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/04 12:46:05.425 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.464957ms] ["completed regions"=1] [2025/04/04 12:46:05.425 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/04 12:46:05.426 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=272] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/04 12:46:05.427 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.371861ms] ["completed regions"=1] [2025/04/04 12:46:05.427 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/04 12:46:05.429 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=280] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/04 12:46:05.430 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.330168ms] ["completed regions"=1] [2025/04/04 12:46:05.430 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/04 12:46:05.432 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=288] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/04 12:46:05.433 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.271553ms] ["completed regions"=1] [2025/04/04 12:46:05.433 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/04 12:46:05.435 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=296] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/04 12:46:05.436 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.232788ms] ["completed regions"=1] [2025/04/04 12:46:05.436 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/04 12:46:05.437 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=304] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/04 12:46:05.438 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.172622ms] ["completed regions"=1] [2025/04/04 12:46:05.438 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/04 12:46:05.440 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=312] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/04 12:46:05.441 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.068391ms] ["completed regions"=1] [2025/04/04 12:46:05.441 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/04 12:46:05.442 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=320] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/04 12:46:05.443 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.209783ms] ["completed regions"=1] [2025/04/04 12:46:05.443 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/04 12:46:05.445 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=328] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/04 12:46:05.446 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.137023ms] ["completed regions"=1] [2025/04/04 12:46:05.446 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/04 12:46:05.447 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=336] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/04 12:46:05.448 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=1.97692ms] ["completed regions"=1] [2025/04/04 12:46:05.448 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/04 12:46:05.450 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=344] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/04 12:46:05.451 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=2.052396ms] ["completed regions"=1] [2025/04/04 12:46:05.451 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/04 12:46:05.452 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=352] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/04 12:46:05.457 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=5.796929ms] ["completed regions"=1] [2025/04/04 12:46:05.457 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/04 12:46:05.458 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=360] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/04 12:46:05.459 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=1.91688ms] ["completed regions"=1] [2025/04/04 12:46:05.460 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/04 12:46:05.461 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=372] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/04 12:46:05.462 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=376] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/04 12:46:05.463 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=368] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/04 12:46:05.464 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=3.981667ms] ["completed regions"=3] [2025/04/04 12:46:05.470 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=180] [2025/04/04 12:46:05.478 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=180] [conn=20] [job="ID:180, Type:flashback cluster, State:running, SchemaState:write reorganization, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:05.1 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:05.479 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/04 12:46:05.483 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=32] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/04 12:46:05.485 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=1] ["total regions"=45] [] [2025/04/04 12:46:05.485 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=6.002899ms] ["completed regions"=1] [2025/04/04 12:46:05.485 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/04 12:46:05.489 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=40] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/04 12:46:05.490 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=2] ["total regions"=45] [] [2025/04/04 12:46:05.490 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=4.760572ms] ["completed regions"=1] [2025/04/04 12:46:05.491 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/04 12:46:05.494 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=48] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/04 12:46:05.495 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=3] ["total regions"=45] [] [2025/04/04 12:46:05.495 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.280389ms] ["completed regions"=1] [2025/04/04 12:46:05.495 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/04 12:46:05.499 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=56] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/04 12:46:05.500 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=4] ["total regions"=45] [] [2025/04/04 12:46:05.500 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=4.144204ms] ["completed regions"=1] [2025/04/04 12:46:05.500 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/04 12:46:05.503 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=64] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/04 12:46:05.504 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=5] ["total regions"=45] [] [2025/04/04 12:46:05.504 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=4.190429ms] ["completed regions"=1] [2025/04/04 12:46:05.504 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/04 12:46:05.507 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=72] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/04 12:46:05.509 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=6] ["total regions"=45] [] [2025/04/04 12:46:05.509 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=4.089979ms] ["completed regions"=1] [2025/04/04 12:46:05.509 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/04 12:46:05.512 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=80] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/04 12:46:05.513 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=7] ["total regions"=45] [] [2025/04/04 12:46:05.513 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=4.109355ms] ["completed regions"=1] [2025/04/04 12:46:05.513 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/04 12:46:05.517 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=88] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/04 12:46:05.518 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=8] ["total regions"=45] [] [2025/04/04 12:46:05.518 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=3.909459ms] ["completed regions"=1] [2025/04/04 12:46:05.518 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/04 12:46:05.521 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=96] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/04 12:46:05.522 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=9] ["total regions"=45] [] [2025/04/04 12:46:05.522 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=3.917329ms] ["completed regions"=1] [2025/04/04 12:46:05.522 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/04 12:46:05.525 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=104] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/04 12:46:05.526 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=10] ["total regions"=45] [] [2025/04/04 12:46:05.526 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=3.670343ms] ["completed regions"=1] [2025/04/04 12:46:05.526 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/04 12:46:05.529 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=112] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/04 12:46:05.530 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=11] ["total regions"=45] [] [2025/04/04 12:46:05.530 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=3.66714ms] ["completed regions"=1] [2025/04/04 12:46:05.530 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/04 12:46:05.533 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=120] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/04 12:46:05.536 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=12] ["total regions"=45] [] [2025/04/04 12:46:05.536 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=5.451088ms] ["completed regions"=1] [2025/04/04 12:46:05.536 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/04 12:46:05.539 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=128] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/04 12:46:05.540 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=13] ["total regions"=45] [] [2025/04/04 12:46:05.540 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.692094ms] ["completed regions"=1] [2025/04/04 12:46:05.540 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/04 12:46:05.543 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=136] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/04 12:46:05.544 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=14] ["total regions"=45] [] [2025/04/04 12:46:05.544 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.518271ms] ["completed regions"=1] [2025/04/04 12:46:05.544 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/04 12:46:05.547 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=144] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/04 12:46:05.548 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=15] ["total regions"=45] [] [2025/04/04 12:46:05.548 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.682187ms] ["completed regions"=1] [2025/04/04 12:46:05.548 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/04 12:46:05.551 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=152] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/04 12:46:05.552 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=16] ["total regions"=45] [] [2025/04/04 12:46:05.552 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.446504ms] ["completed regions"=1] [2025/04/04 12:46:05.552 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/04 12:46:05.555 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=160] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/04 12:46:05.556 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=17] ["total regions"=45] [] [2025/04/04 12:46:05.556 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.294048ms] ["completed regions"=1] [2025/04/04 12:46:05.556 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/04 12:46:05.558 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=168] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/04 12:46:05.559 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=18] ["total regions"=45] [] [2025/04/04 12:46:05.560 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.301804ms] ["completed regions"=1] [2025/04/04 12:46:05.560 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/04 12:46:05.562 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=176] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/04 12:46:05.563 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=19] ["total regions"=45] [] [2025/04/04 12:46:05.563 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.400479ms] ["completed regions"=1] [2025/04/04 12:46:05.563 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/04 12:46:05.566 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=184] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/04 12:46:05.567 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=20] ["total regions"=45] [] [2025/04/04 12:46:05.567 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.415004ms] ["completed regions"=1] [2025/04/04 12:46:05.567 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/04 12:46:05.570 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=192] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/04 12:46:05.571 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=21] ["total regions"=45] [] [2025/04/04 12:46:05.571 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=3.275637ms] ["completed regions"=1] [2025/04/04 12:46:05.571 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/04 12:46:05.573 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=200] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/04 12:46:05.574 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=22] ["total regions"=45] [] [2025/04/04 12:46:05.574 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=3.094412ms] ["completed regions"=1] [2025/04/04 12:46:05.575 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/04 12:46:05.577 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=208] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/04 12:46:05.578 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=23] ["total regions"=45] [] [2025/04/04 12:46:05.578 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=3.146332ms] ["completed regions"=1] [2025/04/04 12:46:05.578 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/04 12:46:05.580 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=216] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/04 12:46:05.581 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=24] ["total regions"=45] [] [2025/04/04 12:46:05.581 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=2.951288ms] ["completed regions"=1] [2025/04/04 12:46:05.582 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/04 12:46:05.584 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=224] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/04 12:46:05.585 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=25] ["total regions"=45] [] [2025/04/04 12:46:05.585 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=2.919566ms] ["completed regions"=1] [2025/04/04 12:46:05.585 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/04 12:46:05.587 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=232] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/04 12:46:05.588 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=26] ["total regions"=45] [] [2025/04/04 12:46:05.588 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=2.805645ms] ["completed regions"=1] [2025/04/04 12:46:05.588 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/04 12:46:05.590 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=240] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/04 12:46:05.591 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=27] ["total regions"=45] [] [2025/04/04 12:46:05.591 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=2.64691ms] ["completed regions"=1] [2025/04/04 12:46:05.591 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/04 12:46:05.593 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=248] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/04 12:46:05.594 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=28] ["total regions"=45] [] [2025/04/04 12:46:05.594 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.715463ms] ["completed regions"=1] [2025/04/04 12:46:05.594 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/04 12:46:05.596 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=256] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/04 12:46:05.597 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=29] ["total regions"=45] [] [2025/04/04 12:46:05.597 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=2.587317ms] ["completed regions"=1] [2025/04/04 12:46:05.597 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/04 12:46:05.599 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=264] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/04 12:46:05.600 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=30] ["total regions"=45] [] [2025/04/04 12:46:05.600 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.559644ms] ["completed regions"=1] [2025/04/04 12:46:05.600 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/04 12:46:05.602 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=272] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/04 12:46:05.603 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=31] ["total regions"=45] [] [2025/04/04 12:46:05.603 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.471419ms] ["completed regions"=1] [2025/04/04 12:46:05.603 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/04 12:46:05.605 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=280] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/04 12:46:05.606 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=32] ["total regions"=45] [] [2025/04/04 12:46:05.606 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.488233ms] ["completed regions"=1] [2025/04/04 12:46:05.606 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/04 12:46:05.608 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=288] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/04 12:46:05.609 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=33] ["total regions"=45] [] [2025/04/04 12:46:05.609 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.333283ms] ["completed regions"=1] [2025/04/04 12:46:05.609 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/04 12:46:05.610 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=296] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/04 12:46:05.611 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=34] ["total regions"=45] [] [2025/04/04 12:46:05.611 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.396122ms] ["completed regions"=1] [2025/04/04 12:46:05.612 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/04 12:46:05.613 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=304] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/04 12:46:05.614 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=35] ["total regions"=45] [] [2025/04/04 12:46:05.614 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.293613ms] ["completed regions"=1] [2025/04/04 12:46:05.614 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/04 12:46:05.616 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=312] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/04 12:46:05.617 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=36] ["total regions"=45] [] [2025/04/04 12:46:05.617 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.361523ms] ["completed regions"=1] [2025/04/04 12:46:05.617 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/04 12:46:05.618 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=320] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/04 12:46:05.619 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=37] ["total regions"=45] [] [2025/04/04 12:46:05.619 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.066334ms] ["completed regions"=1] [2025/04/04 12:46:05.619 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/04 12:46:05.621 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=328] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/04 12:46:05.622 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=38] ["total regions"=45] [] [2025/04/04 12:46:05.622 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.04265ms] ["completed regions"=1] [2025/04/04 12:46:05.622 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/04 12:46:05.623 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=336] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/04 12:46:05.625 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=39] ["total regions"=45] [] [2025/04/04 12:46:05.625 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=2.876658ms] ["completed regions"=1] [2025/04/04 12:46:05.625 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/04 12:46:05.627 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=344] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/04 12:46:05.628 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=40] ["total regions"=45] [] [2025/04/04 12:46:05.628 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=2.075922ms] ["completed regions"=1] [2025/04/04 12:46:05.628 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/04 12:46:05.629 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=352] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/04 12:46:05.630 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=41] ["total regions"=45] [] [2025/04/04 12:46:05.630 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=1.981454ms] ["completed regions"=1] [2025/04/04 12:46:05.630 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/04 12:46:05.631 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=360] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/04 12:46:05.632 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=42] ["total regions"=45] [] [2025/04/04 12:46:05.632 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=1.835041ms] ["completed regions"=1] [2025/04/04 12:46:05.632 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/04 12:46:05.633 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=372] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/04 12:46:05.634 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=376] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/04 12:46:05.635 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=368] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/04 12:46:05.636 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=45] ["total regions"=45] [] [2025/04/04 12:46:05.636 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=3.764095ms] ["completed regions"=3] [2025/04/04 12:46:05.637 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: flashback cluster)"] [2025/04/04 12:46:05.652 +00:00] [ERROR] [domain.go:375] ["failed to load schema diff"] [error="Meets a schema diff with RegenerateSchemaMap flag"] [errorVerbose="Meets a schema diff with RegenerateSchemaMap flag\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).tryLoadSchemaDiffs\n\tpkg/domain/domain.go:652\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:358\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:375\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103"] [2025/04/04 12:46:05.742 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=170] [neededSchemaVersion=171] ["elapsed time"=90.240101ms] [2025/04/04 12:46:05.742 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 12:46:05.746 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=180] [version=171] [2025/04/04 12:46:05.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=171] ["take time"=98.458549ms] [job="ID:180, Type:flashback cluster, State:done, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:05.1 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:05.832 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=180] [conn=20] [job="ID:180, Type:flashback cluster, State:synced, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:05.1 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:05.846 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=180] [2025/04/04 12:46:05.847 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 20\n# Query_time: 0.727215933\n# Parse_time: 0.000085876\n# Compile_time: 0.000307764\n# Rewrite_time: 0.000005604\n# Optimize_time: 0.000824494\n# Wait_TS: 0.000489107\n# DB: test\n# Is_internal: false\n# Digest: af09c17df48245f34604ebcd1fb822f4f2360c5d282fb4cb3aeced6fc3c852fa\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nuse test;\nflashback cluster to timestamp '2025-04-04 12:46:04.700000';"] [2025/04/04 12:46:05.862 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 12:46:05.862 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=77dd93b3-c8d5-4876-8b67-54bc89e2e9da] [] [2025/04/04 12:46:05.862 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 12:46:05.862 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=77dd93b3-c8d5-4876-8b67-54bc89e2e9da] [2025/04/04 12:46:05.862 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:46:05.862 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:46:05.862 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 56, tp general"] ["take time"=65.859µs] [2025/04/04 12:46:05.863 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 57, tp general"] ["take time"=311.064µs] [2025/04/04 12:46:05.863 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 58, tp general"] ["take time"=54.838µs] [2025/04/04 12:46:05.863 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 59, tp general"] ["take time"=37.796µs] [2025/04/04 12:46:05.863 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 60, tp general"] ["take time"=33.534µs] [2025/04/04 12:46:05.863 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=77dd93b3-c8d5-4876-8b67-54bc89e2e9da] [2025/04/04 12:46:05.863 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=77dd93b3-c8d5-4876-8b67-54bc89e2e9da] [2025/04/04 12:46:05.864 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 12:46:05.864 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 12:46:05.867 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=77dd93b3-c8d5-4876-8b67-54bc89e2e9da] ["take time"=5.128537ms] [2025/04/04 12:46:05.867 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=77dd93b3-c8d5-4876-8b67-54bc89e2e9da] [2025/04/04 12:46:05.867 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 12:46:05.867 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/04 12:46:05.867 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/3b2c4d62-389d-4100-bd0e-23e1c1a80ba9] [watcherID=4bb5d892-7238-4334-96f7-b13ae71f887a] [2025/04/04 12:46:05.868 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/3b2c4d62-389d-4100-bd0e-23e1c1a80ba9] [2025/04/04 12:46:05.868 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=77dd93b3-c8d5-4876-8b67-54bc89e2e9da] [ttl-worker=task-manager] [ttl-worker=77dd93b3-c8d5-4876-8b67-54bc89e2e9da] [originalCount=4] [newCount=0] [2025/04/04 12:46:05.868 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:46:05.868 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:46:05.868 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:46:05.868 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:46:05.868 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=77dd93b3-c8d5-4876-8b67-54bc89e2e9da] [ttl-worker=task-manager] [ttl-worker=77dd93b3-c8d5-4876-8b67-54bc89e2e9da] [originalCount=4] [newCount=0] [2025/04/04 12:46:05.871 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:46:05.870 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:46:05.871 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:46:05.871 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:46:05.873 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=77dd93b3-c8d5-4876-8b67-54bc89e2e9da] [2025/04/04 12:46:05.873 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 12:46:05.874 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=507] [2025/04/04 12:46:05.874 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 12:46:05.874 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=77dd93b3-c8d5-4876-8b67-54bc89e2e9da] [2025/04/04 12:46:05.874 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 12:46:05.874 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 12:46:05.874 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 12:46:05.874 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:46:05.874 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:46:05.874 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/04 12:46:05.874 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 12:46:05.874 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 12:46:05.874 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 12:46:05.874 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 12:46:05.874 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 12:46:05.874 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:46:05.874 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 12:46:05.874 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 12:46:05.874 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:46:05.874 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 12:46:05.874 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 12:46:05.874 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:46:05.874 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:05.874 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 12:46:05.874 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 12:46:05.874 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 12:46:05.874 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 12:46:05.874 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:46:05.874 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:46:05.874 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:46:05.874 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/04 12:46:05.874 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/04 12:46:05.874 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:05.874 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:05.874 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:46:05.874 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 12:46:05.874 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:46:05.874 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 12:46:05.874 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:46:05.874 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:46:05.874 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:46:05.874 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=23f601b1-3782-4fab-baf9-c4ed756e01ac] [] [2025/04/04 12:46:05.874 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=23f601b1-3782-4fab-baf9-c4ed756e01ac] [2025/04/04 12:46:05.874 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:05.875 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=23f601b1-3782-4fab-baf9-c4ed756e01ac] [2025/04/04 12:46:05.874 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 12:46:05.874 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:46:05.875 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=23f601b1-3782-4fab-baf9-c4ed756e01ac] [2025/04/04 12:46:05.875 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:05.874 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:05.875 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:46:05.874 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 12:46:05.875 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:05.874 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 12:46:05.875 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:46:05.874 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 12:46:05.875 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:46:05.874 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:05.874 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:46:05.875 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:05.874 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 12:46:05.875 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:46:05.874 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 12:46:05.874 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:05.874 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:05.875 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:05.874 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/04 12:46:05.874 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:46:05.875 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:46:05.875 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=77dd93b3-c8d5-4876-8b67-54bc89e2e9da] [2025/04/04 12:46:05.875 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 12:46:05.875 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 12:46:05.875 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 12:46:05.875 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 12:46:05.875 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:46:05.876 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/stats/owner] [id=77dd93b3-c8d5-4876-8b67-54bc89e2e9da] [error="context canceled"] [2025/04/04 12:46:05.876 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=77dd93b3-c8d5-4876-8b67-54bc89e2e9da] [2025/04/04 12:46:05.876 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=23f601b1-3782-4fab-baf9-c4ed756e01ac] [daemon-id=LogBackup::Advancer] [2025/04/04 12:46:05.876 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 12:46:05.876 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 12:46:05.876 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:46:05.876 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:46:05.876 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 12:46:05.876 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:46:05.876 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 12:46:05.876 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=77dd93b3-c8d5-4876-8b67-54bc89e2e9da] [error="context canceled"] [2025/04/04 12:46:05.876 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 12:46:05.876 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 12:46:05.876 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:46:05.877 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=77dd93b3-c8d5-4876-8b67-54bc89e2e9da] [error="context canceled"] [2025/04/04 12:46:05.877 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=77dd93b3-c8d5-4876-8b67-54bc89e2e9da] [2025/04/04 12:46:05.877 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=77dd93b3-c8d5-4876-8b67-54bc89e2e9da] [error="context canceled"] [2025/04/04 12:46:05.877 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=77dd93b3-c8d5-4876-8b67-54bc89e2e9da] [error="context canceled"] [errorVerbose="context canceled\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:46:05.895 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 12:46:05.896 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:46:05.941 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 12:46:05.941 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:46:05.951 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=89.279763ms] [2025/04/04 12:46:05.954 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:46:05.954 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:46:05.954 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:46:05.954 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:46:05.954 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:46:05.954 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:46:05.954 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:46:05.954 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:05.954 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:05.954 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-11] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:46:05.954 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:05.954 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:46:05.955 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestFlashbackPartitionTable (2.85s) === NAME === RUN TestFlashbackTmpTable [2025/04/04 12:46:05.964 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 12:46:05.965 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 12:46:05.965 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437820018004919] [2025/04/04 12:46:05.966 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:46:05.966 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 12:46:05.966 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:46:05.966 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:46:05.966 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:46:05.967 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:46:05.967 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:46:05.967 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:46:05.971 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 12:46:05.977 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:46:05.978 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:46:05.978 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:46:05.991 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489437820018004919] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 12:46:06.002 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 12:46:06.036 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=626] ["lease id"=22319600d42f9630] [2025/04/04 12:46:06.038 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/04 12:46:06.129 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=171] ["elapsed time"=87.914288ms] [2025/04/04 12:46:06.129 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 12:46:06.131 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 12:46:06.141 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=a11f0aec-87c3-4764-bb32-f5368463b30c] [runWorker=true] [jobVersion=v2] [2025/04/04 12:46:06.141 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 12:46:06.143 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=a11f0aec-87c3-4764-bb32-f5368463b30c] [2025/04/04 12:46:06.144 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 12:46:06.145 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 261552009216/466850480128, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 12:46:06.145 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:46:06.145 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:46:06.145 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:46:06.145 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:46:06.145 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:46:06.145 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:46:06.145 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:46:06.145 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:46:06.145 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:46:06.145 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:46:06.145 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 12:46:06.145 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 12:46:06.145 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=02b7798c-033c-4063-95d5-ed88fd737e05] [2025/04/04 12:46:06.147 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319600d42f9635] [ownerID=a11f0aec-87c3-4764-bb32-f5368463b30c] [op=none] [2025/04/04 12:46:06.147 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=a11f0aec-87c3-4764-bb32-f5368463b30c] [2025/04/04 12:46:06.147 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=a11f0aec-87c3-4764-bb32-f5368463b30c] [ownerKey=/tidb/ddl/fg/owner/22319600d42f9635] [currRev=854] [2025/04/04 12:46:06.148 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:46:06.148 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=02b7798c-033c-4063-95d5-ed88fd737e05] [daemon-id=LogBackup::Advancer] [2025/04/04 12:46:06.148 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f189600d42f991e] [ownerID=02b7798c-033c-4063-95d5-ed88fd737e05] [op=none] [2025/04/04 12:46:06.148 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 12:46:06.148 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=02b7798c-033c-4063-95d5-ed88fd737e05] [2025/04/04 12:46:06.148 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=02b7798c-033c-4063-95d5-ed88fd737e05] [ownerKey=/tidb/br-stream/owner/6f189600d42f991e] [currRev=855] [2025/04/04 12:46:06.149 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319600d42f9635] [ownerID=a11f0aec-87c3-4764-bb32-f5368463b30c] [op=none] [2025/04/04 12:46:06.149 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=a11f0aec-87c3-4764-bb32-f5368463b30c] [op=none] [2025/04/04 12:46:06.149 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 12:46:06.157 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=a11f0aec-87c3-4764-bb32-f5368463b30c] [2025/04/04 12:46:06.158 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:46:06.158 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 12:46:06.168 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:46:06.176 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:46:06.182 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:46:06.182 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:46:06.182 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 12:46:06.182 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:46:06.182 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:46:06.182 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 12:46:06.182 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 12:46:06.182 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 12:46:06.182 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 12:46:06.184 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:46:06.184 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=a11f0aec-87c3-4764-bb32-f5368463b30c] [2025/04/04 12:46:06.184 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:46:06.185 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:46:06.185 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:46:06.185 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:46:06.185 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:46:06.185 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 12:46:06.185 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:46:06.185 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 12:46:06.185 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:46:06.185 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:46:06.185 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 12:46:06.185 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:46:06.185 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:46:06.185 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:46:06.185 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:46:06.187 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=434.8GiB] [2025/04/04 12:46:06.189 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/b423b8de-0178-4634-b8f5-93fd38209484] [2025/04/04 12:46:06.189 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=a11f0aec-87c3-4764-bb32-f5368463b30c] [ttl-worker=task-manager] [ttl-worker=a11f0aec-87c3-4764-bb32-f5368463b30c] [originalCount=0] [newCount=4] [2025/04/04 12:46:06.189 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=a11f0aec-87c3-4764-bb32-f5368463b30c] [ttl-worker=task-manager] [ttl-worker=a11f0aec-87c3-4764-bb32-f5368463b30c] [originalCount=0] [newCount=4] [2025/04/04 12:46:06.190 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=a11f0aec-87c3-4764-bb32-f5368463b30c] [2025/04/04 12:46:06.191 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 12:46:06.191 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:46:06.191 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 12:46:06.191 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743770766191555370 [2025/04/04 12:46:06.196 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 12:46:06.205 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=21.286956ms] [2025/04/04 12:46:06.205 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 12:46:06.205 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:46:06.216 +00:00] [INFO] [set.go:172] ["set global var"] [conn=21] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 12:46:06.219 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=21] [schemaVersion=171] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/04 12:46:06.234 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:181, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:06.2 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:06.234 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:181, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:06.2 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`"] [2025/04/04 12:46:06.240 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=181] [conn=21] [job="ID:181, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:171, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:06.2 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:06.257 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=171] [neededSchemaVersion=172] ["elapsed time"=2.578525ms] [gotSchemaVersion=172] [phyTblIDs="[171,172,173,174]"] [actionTypes="[4,4,4,4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:06.261 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=181] [version=172] [2025/04/04 12:46:06.263 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=172] ["take time"=10.265441ms] [job="ID:181, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:06.2 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:06.273 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=181] [conn=21] [job="ID:181, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:171, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:06.2 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:06.289 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=172] [neededSchemaVersion=173] ["elapsed time"=2.563775ms] [gotSchemaVersion=173] [phyTblIDs="[171,172,173,174]"] [actionTypes="[4,4,4,4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:06.293 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=181] [version=173] [2025/04/04 12:46:06.294 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=173] ["take time"=10.02662ms] [job="ID:181, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:06.2 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:06.303 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=181] [conn=21] [job="ID:181, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:171, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:06.2 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:06.310 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 171, Old Table Name: t)"] [2025/04/04 12:46:06.323 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=173] [neededSchemaVersion=174] ["elapsed time"=1.262449ms] [gotSchemaVersion=174] [phyTblIDs="[171,172,173,174]"] [actionTypes="[4,4,4,4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:06.327 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=181] [version=174] [2025/04/04 12:46:06.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=174] ["take time"=8.372789ms] [job="ID:181, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:06.2 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:06.338 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=181] [tableIDs="[172,173,174]"] [comment="drop table: partition table IDs"] [2025/04/04 12:46:06.346 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=181] [tableIDs="[171]"] [comment="drop table: table ID"] [2025/04/04 12:46:06.350 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=181] [jobType="drop table"] [2025/04/04 12:46:06.351 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=181] [conn=21] [job="ID:181, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:06.2 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:06.370 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=181] [2025/04/04 12:46:06.370 +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: 1743770766370769040 [2025/04/04 12:46:06.388 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=22] [schemaVersion=174] [cur_db=test] [sql="create temporary table t(a int)"] [user=] [2025/04/04 12:46:07.155 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/04 12:46:07.155 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 12:46:07.155 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 12:46:07.155 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:46:07.190 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/04 12:46:07.190 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/04 12:46:07.190 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/b423b8de-0178-4634-b8f5-93fd38209484] [watcherID=dfbec27e-c6df-43db-bf63-d8d42a4322e4] [2025/04/04 12:46:07.191 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/04 12:46:07.196 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/04 12:46:07.196 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/04 12:46:07.196 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/04 12:46:07.196 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/04 12:46:07.392 +00:00] [INFO] [executor.go:1408] ["get flashback cluster job"] [category=ddl] [flashbackTS="2025-04-04 12:46:07.35 +0000 UTC"] [2025/04/04 12:46:07.404 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:183, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:07.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="flashback cluster to timestamp '2025-04-04 12:46:07.350000'"] [2025/04/04 12:46:07.404 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:183, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:07.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:07.410 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=183] [conn=22] [job="ID:183, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:07.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:07.417 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=183] [2025/04/04 12:46:07.425 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=183] [conn=22] [job="ID:183, Type:flashback cluster, State:running, SchemaState:delete only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:07.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:07.503 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=500ms] [requiredStaleness=101ms] [prevState=unknown(0)] [newState=adapting] [2025/04/04 12:46:07.532 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=174] [neededSchemaVersion=175] ["elapsed time"=161.262µs] [gotSchemaVersion=175] [phyTblIDs="[-1]"] [actionTypes="[62]"] [diffTypes="[\"flashback cluster\"]"] [2025/04/04 12:46:07.536 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=183] [version=175] [2025/04/04 12:46:07.538 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=175] ["take time"=7.660577ms] [job="ID:183, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:07.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:07.547 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=183] [conn=22] [job="ID:183, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:07.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:07.582 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/04 12:46:07.585 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=32] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/04 12:46:07.587 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=4.79344ms] ["completed regions"=1] [2025/04/04 12:46:07.587 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/04 12:46:07.590 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=40] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/04 12:46:07.592 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=4.482956ms] ["completed regions"=1] [2025/04/04 12:46:07.592 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/04 12:46:07.595 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=48] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/04 12:46:07.596 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.237801ms] ["completed regions"=1] [2025/04/04 12:46:07.597 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/04 12:46:07.600 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=56] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/04 12:46:07.601 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=4.36573ms] ["completed regions"=1] [2025/04/04 12:46:07.601 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/04 12:46:07.605 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=64] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/04 12:46:07.606 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=4.477746ms] ["completed regions"=1] [2025/04/04 12:46:07.606 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/04 12:46:07.610 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=72] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/04 12:46:07.611 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=4.146203ms] ["completed regions"=1] [2025/04/04 12:46:07.611 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/04 12:46:07.614 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=80] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/04 12:46:07.615 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=4.202703ms] ["completed regions"=1] [2025/04/04 12:46:07.615 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/04 12:46:07.619 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=88] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/04 12:46:07.620 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=3.838931ms] ["completed regions"=1] [2025/04/04 12:46:07.620 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/04 12:46:07.623 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=96] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/04 12:46:07.624 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=3.943079ms] ["completed regions"=1] [2025/04/04 12:46:07.624 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/04 12:46:07.627 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=104] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/04 12:46:07.628 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=3.832368ms] ["completed regions"=1] [2025/04/04 12:46:07.628 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/04 12:46:07.631 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=112] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/04 12:46:07.632 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=3.718402ms] ["completed regions"=1] [2025/04/04 12:46:07.633 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/04 12:46:07.636 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=120] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/04 12:46:07.637 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=3.811466ms] ["completed regions"=1] [2025/04/04 12:46:07.637 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/04 12:46:07.640 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=128] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/04 12:46:07.641 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.511252ms] ["completed regions"=1] [2025/04/04 12:46:07.641 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/04 12:46:07.644 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=136] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/04 12:46:07.645 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.533792ms] ["completed regions"=1] [2025/04/04 12:46:07.645 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/04 12:46:07.648 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=144] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/04 12:46:07.649 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.566233ms] ["completed regions"=1] [2025/04/04 12:46:07.649 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/04 12:46:07.652 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=152] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/04 12:46:07.653 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.39227ms] ["completed regions"=1] [2025/04/04 12:46:07.653 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/04 12:46:07.655 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=160] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/04 12:46:07.656 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.383635ms] ["completed regions"=1] [2025/04/04 12:46:07.656 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/04 12:46:07.659 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=168] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/04 12:46:07.660 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.195366ms] ["completed regions"=1] [2025/04/04 12:46:07.660 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/04 12:46:07.663 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=176] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/04 12:46:07.664 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.181426ms] ["completed regions"=1] [2025/04/04 12:46:07.664 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/04 12:46:07.666 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=184] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/04 12:46:07.667 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.174661ms] ["completed regions"=1] [2025/04/04 12:46:07.667 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/04 12:46:07.670 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=192] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/04 12:46:07.671 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=3.224915ms] ["completed regions"=1] [2025/04/04 12:46:07.671 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/04 12:46:07.674 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=200] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/04 12:46:07.675 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=3.278641ms] ["completed regions"=1] [2025/04/04 12:46:07.675 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/04 12:46:07.677 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=208] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/04 12:46:07.678 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=3.119017ms] ["completed regions"=1] [2025/04/04 12:46:07.678 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/04 12:46:07.681 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=216] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/04 12:46:07.683 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=4.038932ms] ["completed regions"=1] [2025/04/04 12:46: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/04 12:46:07.685 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=224] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/04 12:46:07.686 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=2.890225ms] ["completed regions"=1] [2025/04/04 12:46:07.686 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/04 12:46:07.688 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=232] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/04 12:46:07.689 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=2.71754ms] ["completed regions"=1] [2025/04/04 12:46:07.689 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/04 12:46:07.691 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=240] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/04 12:46:07.692 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=2.857945ms] ["completed regions"=1] [2025/04/04 12:46:07.693 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/04 12:46:07.695 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=248] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/04 12:46:07.696 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.837292ms] ["completed regions"=1] [2025/04/04 12:46:07.696 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/04 12:46:07.698 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=256] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/04 12:46:07.699 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=2.80359ms] ["completed regions"=1] [2025/04/04 12:46:07.699 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/04 12:46:07.701 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=264] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/04 12:46:07.702 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.667639ms] ["completed regions"=1] [2025/04/04 12:46:07.702 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/04 12:46:07.704 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=272] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/04 12:46:07.706 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.886554ms] ["completed regions"=1] [2025/04/04 12:46:07.706 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/04 12:46:07.708 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=280] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/04 12:46:07.709 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.64518ms] ["completed regions"=1] [2025/04/04 12:46:07.709 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/04 12:46:07.711 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=288] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/04 12:46:07.712 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.446285ms] ["completed regions"=1] [2025/04/04 12:46:07.712 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/04 12:46:07.713 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=296] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/04 12:46:07.714 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.360913ms] ["completed regions"=1] [2025/04/04 12:46:07.715 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/04 12:46:07.716 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=304] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/04 12:46:07.717 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.251408ms] ["completed regions"=1] [2025/04/04 12:46:07.717 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/04 12:46:07.719 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=312] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/04 12:46:07.720 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.147918ms] ["completed regions"=1] [2025/04/04 12:46:07.720 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/04 12:46:07.721 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=320] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/04 12:46:07.723 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.318553ms] ["completed regions"=1] [2025/04/04 12:46:07.723 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/04 12:46:07.724 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=328] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/04 12:46:07.725 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.267519ms] ["completed regions"=1] [2025/04/04 12:46:07.725 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/04 12:46:07.727 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=336] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/04 12:46:07.728 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=2.243673ms] ["completed regions"=1] [2025/04/04 12:46:07.728 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/04 12:46:07.729 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=344] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/04 12:46:07.730 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=1.921886ms] ["completed regions"=1] [2025/04/04 12:46:07.731 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/04 12:46:07.732 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=352] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/04 12:46:07.733 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=2.041561ms] ["completed regions"=1] [2025/04/04 12:46:07.733 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/04 12:46:07.734 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=360] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/04 12:46:07.735 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=1.776605ms] ["completed regions"=1] [2025/04/04 12:46:07.735 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/04 12:46:07.736 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=372] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/04 12:46:07.737 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=376] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/04 12:46:07.738 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=368] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/04 12:46:07.739 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=3.600219ms] ["completed regions"=3] [2025/04/04 12:46:07.745 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=183] [2025/04/04 12:46:07.752 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=183] [conn=22] [job="ID:183, Type:flashback cluster, State:running, SchemaState:write reorganization, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:07.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:07.753 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/04 12:46:07.757 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=32] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/04 12:46:07.758 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=1] ["total regions"=45] [] [2025/04/04 12:46:07.758 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=4.583704ms] ["completed regions"=1] [2025/04/04 12:46:07.758 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/04 12:46:07.762 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=40] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/04 12:46:07.763 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=2] ["total regions"=45] [] [2025/04/04 12:46:07.763 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=4.190616ms] ["completed regions"=1] [2025/04/04 12:46:07.763 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/04 12:46:07.766 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=48] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/04 12:46:07.767 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=3] ["total regions"=45] [] [2025/04/04 12:46:07.767 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.209637ms] ["completed regions"=1] [2025/04/04 12:46:07.767 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/04 12:46:07.771 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=56] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/04 12:46:07.772 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=4] ["total regions"=45] [] [2025/04/04 12:46:07.772 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=4.418141ms] ["completed regions"=1] [2025/04/04 12:46:07.772 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/04 12:46:07.776 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=64] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/04 12:46:07.777 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=5] ["total regions"=45] [] [2025/04/04 12:46:07.777 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=4.079994ms] ["completed regions"=1] [2025/04/04 12:46:07.777 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/04 12:46:07.780 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=72] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/04 12:46:07.781 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=6] ["total regions"=45] [] [2025/04/04 12:46:07.781 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=3.958294ms] ["completed regions"=1] [2025/04/04 12:46:07.781 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/04 12:46:07.784 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=80] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/04 12:46:07.786 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=7] ["total regions"=45] [] [2025/04/04 12:46:07.786 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=4.203935ms] ["completed regions"=1] [2025/04/04 12:46:07.786 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/04 12:46:07.789 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=88] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/04 12:46:07.790 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=8] ["total regions"=45] [] [2025/04/04 12:46:07.790 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=3.982629ms] ["completed regions"=1] [2025/04/04 12:46:07.790 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/04 12:46:07.793 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=96] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/04 12:46:07.794 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=9] ["total regions"=45] [] [2025/04/04 12:46:07.794 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=3.979084ms] ["completed regions"=1] [2025/04/04 12:46:07.795 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/04 12:46:07.798 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=104] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/04 12:46:07.799 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=10] ["total regions"=45] [] [2025/04/04 12:46:07.799 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=3.846279ms] ["completed regions"=1] [2025/04/04 12:46:07.799 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/04 12:46:07.802 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=112] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/04 12:46:07.803 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=11] ["total regions"=45] [] [2025/04/04 12:46:07.803 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=3.826275ms] ["completed regions"=1] [2025/04/04 12:46:07.803 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/04 12:46:07.806 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=120] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/04 12:46:07.807 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=12] ["total regions"=45] [] [2025/04/04 12:46:07.807 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=3.755458ms] ["completed regions"=1] [2025/04/04 12:46:07.807 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/04 12:46:07.810 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=128] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/04 12:46:07.811 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=13] ["total regions"=45] [] [2025/04/04 12:46:07.811 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.754459ms] ["completed regions"=1] [2025/04/04 12:46:07.811 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/04 12:46:07.814 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=136] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/04 12:46:07.815 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=14] ["total regions"=45] [] [2025/04/04 12:46:07.815 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.527542ms] ["completed regions"=1] [2025/04/04 12:46:07.815 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/04 12:46:07.818 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=144] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/04 12:46:07.819 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=15] ["total regions"=45] [] [2025/04/04 12:46:07.819 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.482537ms] ["completed regions"=1] [2025/04/04 12:46:07.819 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/04 12:46:07.822 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=152] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/04 12:46:07.823 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=16] ["total regions"=45] [] [2025/04/04 12:46:07.823 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.635562ms] ["completed regions"=1] [2025/04/04 12:46:07.823 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/04 12:46:07.826 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=160] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/04 12:46:07.827 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=17] ["total regions"=45] [] [2025/04/04 12:46:07.827 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.435167ms] ["completed regions"=1] [2025/04/04 12:46:07.827 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/04 12:46:07.830 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=168] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/04 12:46:07.831 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=18] ["total regions"=45] [] [2025/04/04 12:46:07.831 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.33065ms] ["completed regions"=1] [2025/04/04 12:46:07.831 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/04 12:46:07.833 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=176] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/04 12:46:07.834 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=19] ["total regions"=45] [] [2025/04/04 12:46:07.834 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.147209ms] ["completed regions"=1] [2025/04/04 12:46:07.834 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/04 12:46:07.837 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=184] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/04 12:46:07.838 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=20] ["total regions"=45] [] [2025/04/04 12:46:07.838 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=2.981236ms] ["completed regions"=1] [2025/04/04 12:46:07.838 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/04 12:46:07.840 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=192] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/04 12:46:07.841 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=21] ["total regions"=45] [] [2025/04/04 12:46:07.841 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=3.122293ms] ["completed regions"=1] [2025/04/04 12:46:07.841 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/04 12:46:07.844 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=200] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/04 12:46:07.845 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=22] ["total regions"=45] [] [2025/04/04 12:46:07.845 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=3.121068ms] ["completed regions"=1] [2025/04/04 12:46:07.845 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/04 12:46:07.847 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=208] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/04 12:46:07.848 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=23] ["total regions"=45] [] [2025/04/04 12:46:07.848 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=3.060845ms] ["completed regions"=1] [2025/04/04 12:46:07.848 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/04 12:46:07.851 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=216] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/04 12:46:07.852 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=24] ["total regions"=45] [] [2025/04/04 12:46:07.852 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=2.895866ms] ["completed regions"=1] [2025/04/04 12:46:07.852 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/04 12:46:07.854 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=224] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/04 12:46:07.855 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=25] ["total regions"=45] [] [2025/04/04 12:46:07.855 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=2.84659ms] ["completed regions"=1] [2025/04/04 12:46:07.855 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/04 12:46:07.857 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=232] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/04 12:46:07.858 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=26] ["total regions"=45] [] [2025/04/04 12:46:07.858 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=2.806451ms] ["completed regions"=1] [2025/04/04 12:46:07.858 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/04 12:46:07.860 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=240] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/04 12:46:07.861 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=27] ["total regions"=45] [] [2025/04/04 12:46:07.861 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=2.817447ms] ["completed regions"=1] [2025/04/04 12:46:07.861 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/04 12:46:07.863 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=248] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/04 12:46:07.864 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=28] ["total regions"=45] [] [2025/04/04 12:46:07.864 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.64199ms] ["completed regions"=1] [2025/04/04 12:46:07.864 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/04 12:46:07.867 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=256] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/04 12:46:07.867 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=29] ["total regions"=45] [] [2025/04/04 12:46:07.868 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=2.749731ms] ["completed regions"=1] [2025/04/04 12:46:07.868 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/04 12:46:07.870 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=264] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/04 12:46:07.870 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=30] ["total regions"=45] [] [2025/04/04 12:46:07.870 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.503568ms] ["completed regions"=1] [2025/04/04 12:46:07.871 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/04 12:46:07.872 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=272] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/04 12:46:07.873 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=31] ["total regions"=45] [] [2025/04/04 12:46:07.873 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.460371ms] ["completed regions"=1] [2025/04/04 12:46:07.873 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/04 12:46:07.875 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=280] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/04 12:46:07.876 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=32] ["total regions"=45] [] [2025/04/04 12:46:07.876 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.385236ms] ["completed regions"=1] [2025/04/04 12:46:07.876 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/04 12:46:07.878 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=288] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/04 12:46:07.879 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=33] ["total regions"=45] [] [2025/04/04 12:46:07.879 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.496222ms] ["completed regions"=1] [2025/04/04 12:46:07.879 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/04 12:46:07.881 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=296] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/04 12:46:07.882 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=34] ["total regions"=45] [] [2025/04/04 12:46:07.882 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.264789ms] ["completed regions"=1] [2025/04/04 12:46:07.882 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/04 12:46:07.883 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=304] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/04 12:46:07.884 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=35] ["total regions"=45] [] [2025/04/04 12:46:07.884 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.239368ms] ["completed regions"=1] [2025/04/04 12:46:07.885 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/04 12:46:07.886 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=312] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/04 12:46:07.887 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=36] ["total regions"=45] [] [2025/04/04 12:46:07.887 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.127327ms] ["completed regions"=1] [2025/04/04 12:46:07.887 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/04 12:46:07.888 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=320] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/04 12:46:07.889 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=37] ["total regions"=45] [] [2025/04/04 12:46:07.889 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.003539ms] ["completed regions"=1] [2025/04/04 12:46:07.889 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/04 12:46:07.891 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=328] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/04 12:46:07.892 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=38] ["total regions"=45] [] [2025/04/04 12:46:07.892 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=1.973094ms] ["completed regions"=1] [2025/04/04 12:46:07.892 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/04 12:46:07.893 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=336] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/04 12:46:07.894 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=39] ["total regions"=45] [] [2025/04/04 12:46:07.894 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=1.968096ms] ["completed regions"=1] [2025/04/04 12:46:07.894 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/04 12:46:07.896 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=344] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/04 12:46:07.896 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=40] ["total regions"=45] [] [2025/04/04 12:46:07.896 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=1.944482ms] ["completed regions"=1] [2025/04/04 12:46:07.897 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/04 12:46:07.898 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=352] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/04 12:46:07.899 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=41] ["total regions"=45] [] [2025/04/04 12:46:07.899 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=1.982919ms] ["completed regions"=1] [2025/04/04 12:46:07.899 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/04 12:46:07.900 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=360] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/04 12:46:07.901 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=42] ["total regions"=45] [] [2025/04/04 12:46:07.901 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=1.985807ms] ["completed regions"=1] [2025/04/04 12:46:07.901 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/04 12:46:07.902 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=372] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/04 12:46:07.903 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=376] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/04 12:46:07.904 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=368] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/04 12:46:07.905 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=45] ["total regions"=45] [] [2025/04/04 12:46:07.905 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=3.603035ms] ["completed regions"=3] [2025/04/04 12:46:07.905 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: flashback cluster)"] [2025/04/04 12:46:07.921 +00:00] [ERROR] [domain.go:375] ["failed to load schema diff"] [error="Meets a schema diff with RegenerateSchemaMap flag"] [errorVerbose="Meets a schema diff with RegenerateSchemaMap flag\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).tryLoadSchemaDiffs\n\tpkg/domain/domain.go:652\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:358\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:375\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103"] [2025/04/04 12:46:08.006 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=175] [neededSchemaVersion=176] ["elapsed time"=85.726403ms] [2025/04/04 12:46:08.007 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 12:46:08.011 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=183] [version=176] [2025/04/04 12:46:08.012 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=176] ["take time"=93.890956ms] [job="ID:183, Type:flashback cluster, State:done, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:07.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:08.089 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=183] [conn=22] [job="ID:183, Type:flashback cluster, State:synced, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:07.35 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:08.104 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=183] [2025/04/04 12:46:08.105 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 22\n# Query_time: 0.714103488\n# Parse_time: 0.000075935\n# Compile_time: 0.000264949\n# Rewrite_time: 0.000003018\n# Optimize_time: 0.00010822\n# Wait_TS: 0.000635128\n# DB: test\n# Is_internal: false\n# Digest: af09c17df48245f34604ebcd1fb822f4f2360c5d282fb4cb3aeced6fc3c852fa\n# Mem_max: 8192\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nuse test;\nflashback cluster to timestamp '2025-04-04 12:46:07.350000';"] [2025/04/04 12:46:08.145 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/04 12:46:09.112 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=22] [schemaVersion=176] [cur_db=test] [sql="drop table t"] [user=] [2025/04/04 12:46:09.113 +00:00] [INFO] [executor.go:1408] ["get flashback cluster job"] [category=ddl] [flashbackTS="2025-04-04 12:46:09.1 +0000 UTC"] [2025/04/04 12:46:09.126 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:184, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:09.1 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:09.126 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:184, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:09.1 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="flashback cluster to timestamp '2025-04-04 12:46:09.100000'"] [2025/04/04 12:46:09.132 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=184] [conn=22] [job="ID:184, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:09.1 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:09.138 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=184] [2025/04/04 12:46:09.146 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=184] [conn=22] [job="ID:184, Type:flashback cluster, State:running, SchemaState:delete only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:09.1 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:09.189 +00:00] [WARN] [read.go:817] ["Histogram not found, possibly due to DDL event is not handled, please consider analyze the table"] [category=stats] [tableID=135] [indexID=1] [2025/04/04 12:46:09.191 +00:00] [WARN] [read.go:817] ["Histogram not found, possibly due to DDL event is not handled, please consider analyze the table"] [category=stats] [tableID=126] [indexID=1] [2025/04/04 12:46:09.192 +00:00] [WARN] [read.go:817] ["Histogram not found, possibly due to DDL event is not handled, please consider analyze the table"] [category=stats] [tableID=151] [indexID=1] [2025/04/04 12:46:09.194 +00:00] [WARN] [read.go:817] ["Histogram not found, possibly due to DDL event is not handled, please consider analyze the table"] [category=stats] [tableID=120] [indexID=1] [2025/04/04 12:46:09.196 +00:00] [WARN] [read.go:817] ["Histogram not found, possibly due to DDL event is not handled, please consider analyze the table"] [category=stats] [tableID=120] [indexID=2] [2025/04/04 12:46:09.269 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=176] [neededSchemaVersion=177] ["elapsed time"=171.084µs] [gotSchemaVersion=177] [phyTblIDs="[-1]"] [actionTypes="[62]"] [diffTypes="[\"flashback cluster\"]"] [2025/04/04 12:46:09.273 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=184] [version=177] [2025/04/04 12:46:09.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=177] ["take time"=7.801396ms] [job="ID:184, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:09.1 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:09.284 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=184] [conn=22] [job="ID:184, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:09.1 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:09.286 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/04 12:46:09.290 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=32] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/04 12:46:09.291 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=5.461296ms] ["completed regions"=1] [2025/04/04 12:46:09.292 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/04 12:46:09.296 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=40] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/04 12:46:09.297 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=5.171182ms] ["completed regions"=1] [2025/04/04 12:46:09.297 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/04 12:46:09.301 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=48] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/04 12:46:09.302 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.418915ms] ["completed regions"=1] [2025/04/04 12:46:09.302 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/04 12:46:09.306 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=56] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/04 12:46:09.307 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=4.88257ms] ["completed regions"=1] [2025/04/04 12:46:09.307 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/04 12:46:09.311 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=64] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/04 12:46:09.312 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=4.127501ms] ["completed regions"=1] [2025/04/04 12:46:09.312 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/04 12:46:09.316 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=72] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/04 12:46:09.317 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=4.058032ms] ["completed regions"=1] [2025/04/04 12:46:09.317 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/04 12:46:09.320 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=80] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/04 12:46:09.321 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=4.129006ms] ["completed regions"=1] [2025/04/04 12:46:09.321 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/04 12:46:09.325 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=88] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/04 12:46:09.326 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=4.572056ms] ["completed regions"=1] [2025/04/04 12:46:09.326 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/04 12:46:09.330 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=96] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/04 12:46:09.331 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=4.328264ms] ["completed regions"=1] [2025/04/04 12:46:09.331 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/04 12:46:09.335 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=104] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/04 12:46:09.336 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=4.350302ms] ["completed regions"=1] [2025/04/04 12:46:09.336 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/04 12:46:09.340 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=112] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/04 12:46:09.341 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=4.205393ms] ["completed regions"=1] [2025/04/04 12:46:09.341 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/04 12:46:09.344 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=120] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/04 12:46:09.345 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=3.816949ms] ["completed regions"=1] [2025/04/04 12:46:09.345 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/04 12:46:09.348 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=128] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/04 12:46:09.349 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.78184ms] ["completed regions"=1] [2025/04/04 12:46:09.349 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/04 12:46:09.352 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=136] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/04 12:46:09.353 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.537146ms] ["completed regions"=1] [2025/04/04 12:46:09.353 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/04 12:46:09.356 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=144] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/04 12:46:09.358 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.809414ms] ["completed regions"=1] [2025/04/04 12:46:09.358 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/04 12:46:09.361 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=152] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/04 12:46:09.362 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=4.023419ms] ["completed regions"=1] [2025/04/04 12:46:09.362 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/04 12:46:09.365 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=160] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/04 12:46:09.366 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.36492ms] ["completed regions"=1] [2025/04/04 12:46:09.366 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/04 12:46:09.369 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=168] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/04 12:46:09.370 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.555955ms] ["completed regions"=1] [2025/04/04 12:46:09.370 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/04 12:46:09.373 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=176] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/04 12:46:09.374 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.164183ms] ["completed regions"=1] [2025/04/04 12:46:09.374 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/04 12:46:09.376 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=184] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/04 12:46:09.377 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.370824ms] ["completed regions"=1] [2025/04/04 12:46:09.377 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/04 12:46:09.380 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=192] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/04 12:46:09.381 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=2.950375ms] ["completed regions"=1] [2025/04/04 12:46:09.381 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/04 12:46:09.383 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=200] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/04 12:46:09.384 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=3.028485ms] ["completed regions"=1] [2025/04/04 12:46:09.384 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/04 12:46:09.387 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=208] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/04 12:46:09.388 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=2.970984ms] ["completed regions"=1] [2025/04/04 12:46:09.388 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/04 12:46:09.390 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=216] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/04 12:46:09.391 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=3.033183ms] ["completed regions"=1] [2025/04/04 12:46:09.391 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/04 12:46:09.393 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=224] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/04 12:46:09.394 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=2.878709ms] ["completed regions"=1] [2025/04/04 12:46:09.394 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/04 12:46:09.397 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=232] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/04 12:46:09.398 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=2.954029ms] ["completed regions"=1] [2025/04/04 12:46:09.398 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/04 12:46:09.400 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=240] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/04 12:46:09.401 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=3.103593ms] ["completed regions"=1] [2025/04/04 12:46:09.401 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/04 12:46:09.404 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=248] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/04 12:46:09.405 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.939404ms] ["completed regions"=1] [2025/04/04 12:46:09.405 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/04 12:46:09.407 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=256] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/04 12:46:09.408 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=2.612556ms] ["completed regions"=1] [2025/04/04 12:46:09.408 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/04 12:46:09.410 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=264] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/04 12:46:09.411 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.558618ms] ["completed regions"=1] [2025/04/04 12:46:09.411 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/04 12:46:09.413 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=272] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/04 12:46:09.414 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.733561ms] ["completed regions"=1] [2025/04/04 12:46:09.414 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/04 12:46:09.416 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=280] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/04 12:46:09.417 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.418459ms] ["completed regions"=1] [2025/04/04 12:46:09.417 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/04 12:46:09.419 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=288] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/04 12:46:09.420 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.318118ms] ["completed regions"=1] [2025/04/04 12:46:09.420 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/04 12:46:09.422 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=296] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/04 12:46:09.423 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.408955ms] ["completed regions"=1] [2025/04/04 12:46:09.423 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/04 12:46:09.424 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=304] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/04 12:46:09.425 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.292763ms] ["completed regions"=1] [2025/04/04 12:46:09.425 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/04 12:46:09.427 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=312] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/04 12:46:09.428 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.218231ms] ["completed regions"=1] [2025/04/04 12:46:09.428 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/04 12:46:09.430 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=320] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/04 12:46:09.431 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.163952ms] ["completed regions"=1] [2025/04/04 12:46:09.431 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/04 12:46:09.432 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=328] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/04 12:46:09.433 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.092113ms] ["completed regions"=1] [2025/04/04 12:46:09.433 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/04 12:46:09.435 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=336] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/04 12:46:09.436 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=2.120621ms] ["completed regions"=1] [2025/04/04 12:46:09.436 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/04 12:46:09.437 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=344] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/04 12:46:09.438 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=2.150024ms] ["completed regions"=1] [2025/04/04 12:46:09.438 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/04 12:46:09.440 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=352] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/04 12:46:09.441 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=1.931427ms] ["completed regions"=1] [2025/04/04 12:46:09.441 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/04 12:46:09.442 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=360] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/04 12:46:09.443 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=1.831375ms] ["completed regions"=1] [2025/04/04 12:46:09.443 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/04 12:46:09.444 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=372] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/04 12:46:09.445 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=376] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/04 12:46:09.446 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=368] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/04 12:46:09.447 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=3.495301ms] ["completed regions"=3] [2025/04/04 12:46:09.453 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=184] [2025/04/04 12:46:09.461 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=184] [conn=22] [job="ID:184, Type:flashback cluster, State:running, SchemaState:write reorganization, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:09.1 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:09.461 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/04 12:46:09.466 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=32] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/04 12:46:09.467 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=1] ["total regions"=45] [] [2025/04/04 12:46:09.467 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=5.124753ms] ["completed regions"=1] [2025/04/04 12:46:09.467 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/04 12:46:09.471 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=40] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/04 12:46:09.472 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=2] ["total regions"=45] [] [2025/04/04 12:46:09.472 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=4.724319ms] ["completed regions"=1] [2025/04/04 12:46:09.472 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/04 12:46:09.476 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=48] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/04 12:46:09.477 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=3] ["total regions"=45] [] [2025/04/04 12:46:09.477 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.560667ms] ["completed regions"=1] [2025/04/04 12:46:09.477 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/04 12:46:09.481 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=56] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/04 12:46:09.482 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=4] ["total regions"=45] [] [2025/04/04 12:46:09.482 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=4.386393ms] ["completed regions"=1] [2025/04/04 12:46:09.482 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/04 12:46:09.485 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=64] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/04 12:46:09.486 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=5] ["total regions"=45] [] [2025/04/04 12:46:09.486 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=4.234489ms] ["completed regions"=1] [2025/04/04 12:46:09.487 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/04 12:46:09.490 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=72] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/04 12:46:09.491 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=6] ["total regions"=45] [] [2025/04/04 12:46:09.491 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=4.547468ms] ["completed regions"=1] [2025/04/04 12:46:09.492 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/04 12:46:09.495 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=80] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/04 12:46:09.496 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=7] ["total regions"=45] [] [2025/04/04 12:46:09.497 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=4.652018ms] ["completed regions"=1] [2025/04/04 12:46:09.497 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/04 12:46:09.500 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=88] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/04 12:46:09.501 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=8] ["total regions"=45] [] [2025/04/04 12:46:09.501 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=4.158205ms] ["completed regions"=1] [2025/04/04 12:46:09.501 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/04 12:46:09.505 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=96] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/04 12:46:09.506 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=9] ["total regions"=45] [] [2025/04/04 12:46:09.506 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=4.820455ms] ["completed regions"=1] [2025/04/04 12:46:09.507 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/04 12:46:09.510 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=104] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/04 12:46:09.511 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=10] ["total regions"=45] [] [2025/04/04 12:46:09.511 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=4.340036ms] ["completed regions"=1] [2025/04/04 12:46:09.511 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/04 12:46:09.515 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=112] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/04 12:46:09.516 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=11] ["total regions"=45] [] [2025/04/04 12:46:09.516 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=3.997495ms] ["completed regions"=1] [2025/04/04 12:46:09.516 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/04 12:46:09.519 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=120] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/04 12:46:09.520 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=12] ["total regions"=45] [] [2025/04/04 12:46:09.520 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=3.934778ms] ["completed regions"=1] [2025/04/04 12:46:09.520 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/04 12:46:09.523 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=128] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/04 12:46:09.525 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=13] ["total regions"=45] [] [2025/04/04 12:46:09.525 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=4.188592ms] ["completed regions"=1] [2025/04/04 12:46:09.525 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/04 12:46:09.528 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=136] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/04 12:46:09.529 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=14] ["total regions"=45] [] [2025/04/04 12:46:09.529 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.820626ms] ["completed regions"=1] [2025/04/04 12:46:09.529 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/04 12:46:09.532 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=144] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/04 12:46:09.533 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=15] ["total regions"=45] [] [2025/04/04 12:46:09.533 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=4.171671ms] ["completed regions"=1] [2025/04/04 12:46:09.534 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/04 12:46:09.536 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=152] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/04 12:46:09.537 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=16] ["total regions"=45] [] [2025/04/04 12:46:09.538 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.613108ms] ["completed regions"=1] [2025/04/04 12:46:09.538 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/04 12:46:09.540 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=160] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/04 12:46:09.541 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=17] ["total regions"=45] [] [2025/04/04 12:46:09.542 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.608659ms] ["completed regions"=1] [2025/04/04 12:46:09.542 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/04 12:46:09.545 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=168] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/04 12:46:09.546 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=18] ["total regions"=45] [] [2025/04/04 12:46:09.546 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.836927ms] ["completed regions"=1] [2025/04/04 12:46:09.546 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/04 12:46:09.549 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=176] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/04 12:46:09.550 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=19] ["total regions"=45] [] [2025/04/04 12:46:09.550 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.585232ms] ["completed regions"=1] [2025/04/04 12:46:09.550 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/04 12:46:09.552 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=184] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/04 12:46:09.553 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=20] ["total regions"=45] [] [2025/04/04 12:46:09.554 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.325955ms] ["completed regions"=1] [2025/04/04 12:46:09.554 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/04 12:46:09.556 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=192] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/04 12:46:09.557 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=21] ["total regions"=45] [] [2025/04/04 12:46:09.557 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=3.402689ms] ["completed regions"=1] [2025/04/04 12:46:09.557 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/04 12:46:09.560 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=200] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/04 12:46:09.561 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=22] ["total regions"=45] [] [2025/04/04 12:46:09.561 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=3.053182ms] ["completed regions"=1] [2025/04/04 12:46:09.561 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/04 12:46:09.563 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=208] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/04 12:46:09.565 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=23] ["total regions"=45] [] [2025/04/04 12:46:09.565 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=3.402786ms] ["completed regions"=1] [2025/04/04 12:46:09.565 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/04 12:46:09.567 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=216] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/04 12:46:09.568 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=24] ["total regions"=45] [] [2025/04/04 12:46:09.568 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=3.233216ms] ["completed regions"=1] [2025/04/04 12:46:09.568 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/04 12:46:09.571 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=224] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/04 12:46:09.572 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=25] ["total regions"=45] [] [2025/04/04 12:46:09.572 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=3.482824ms] ["completed regions"=1] [2025/04/04 12:46:09.572 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/04 12:46:09.575 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=232] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/04 12:46:09.576 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=26] ["total regions"=45] [] [2025/04/04 12:46:09.576 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=3.092384ms] ["completed regions"=1] [2025/04/04 12:46:09.576 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/04 12:46:09.578 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=240] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/04 12:46:09.579 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=27] ["total regions"=45] [] [2025/04/04 12:46:09.579 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=3.085908ms] ["completed regions"=1] [2025/04/04 12:46:09.579 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/04 12:46:09.581 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=248] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/04 12:46:09.583 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=28] ["total regions"=45] [] [2025/04/04 12:46:09.583 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.988182ms] ["completed regions"=1] [2025/04/04 12:46:09.583 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/04 12:46:09.585 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=256] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/04 12:46:09.586 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=29] ["total regions"=45] [] [2025/04/04 12:46:09.586 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=3.036065ms] ["completed regions"=1] [2025/04/04 12:46:09.586 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/04 12:46:09.588 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=264] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/04 12:46:09.589 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=30] ["total regions"=45] [] [2025/04/04 12:46:09.589 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.787678ms] ["completed regions"=1] [2025/04/04 12:46:09.589 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/04 12:46:09.591 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=272] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/04 12:46:09.592 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=31] ["total regions"=45] [] [2025/04/04 12:46:09.592 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.671797ms] ["completed regions"=1] [2025/04/04 12:46:09.593 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/04 12:46:09.594 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=280] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/04 12:46:09.595 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=32] ["total regions"=45] [] [2025/04/04 12:46:09.596 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.685954ms] ["completed regions"=1] [2025/04/04 12:46:09.596 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/04 12:46:09.597 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=288] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/04 12:46:09.598 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=33] ["total regions"=45] [] [2025/04/04 12:46:09.599 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.634456ms] ["completed regions"=1] [2025/04/04 12:46:09.599 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/04 12:46:09.601 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=296] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/04 12:46:09.602 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=34] ["total regions"=45] [] [2025/04/04 12:46:09.602 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.560462ms] ["completed regions"=1] [2025/04/04 12:46:09.602 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/04 12:46:09.603 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=304] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/04 12:46:09.604 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=35] ["total regions"=45] [] [2025/04/04 12:46:09.604 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.406297ms] ["completed regions"=1] [2025/04/04 12:46:09.605 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/04 12:46:09.606 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=312] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/04 12:46:09.607 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=36] ["total regions"=45] [] [2025/04/04 12:46:09.607 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.318952ms] ["completed regions"=1] [2025/04/04 12:46:09.607 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/04 12:46:09.609 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=320] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/04 12:46:09.610 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=37] ["total regions"=45] [] [2025/04/04 12:46:09.610 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.399597ms] ["completed regions"=1] [2025/04/04 12:46:09.610 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/04 12:46:09.612 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=328] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/04 12:46:09.613 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=38] ["total regions"=45] [] [2025/04/04 12:46:09.613 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.286224ms] ["completed regions"=1] [2025/04/04 12:46:09.613 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/04 12:46:09.614 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=336] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/04 12:46:09.615 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=39] ["total regions"=45] [] [2025/04/04 12:46:09.615 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=2.138872ms] ["completed regions"=1] [2025/04/04 12:46:09.615 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/04 12:46:09.617 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=344] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/04 12:46:09.618 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=40] ["total regions"=45] [] [2025/04/04 12:46:09.618 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=1.990573ms] ["completed regions"=1] [2025/04/04 12:46:09.618 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/04 12:46:09.619 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=352] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/04 12:46:09.620 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=41] ["total regions"=45] [] [2025/04/04 12:46:09.620 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=2.03529ms] ["completed regions"=1] [2025/04/04 12:46:09.620 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/04 12:46:09.621 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=360] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/04 12:46:09.622 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=42] ["total regions"=45] [] [2025/04/04 12:46:09.622 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=1.917258ms] ["completed regions"=1] [2025/04/04 12:46:09.622 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/04 12:46:09.624 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=372] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/04 12:46:09.625 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=376] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/04 12:46:09.625 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=368] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/04 12:46:09.627 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=45] ["total regions"=45] [] [2025/04/04 12:46:09.627 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=4.113313ms] ["completed regions"=3] [2025/04/04 12:46:09.627 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: flashback cluster)"] [2025/04/04 12:46:09.643 +00:00] [ERROR] [domain.go:375] ["failed to load schema diff"] [error="Meets a schema diff with RegenerateSchemaMap flag"] [errorVerbose="Meets a schema diff with RegenerateSchemaMap flag\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).tryLoadSchemaDiffs\n\tpkg/domain/domain.go:652\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:358\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:375\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103"] [2025/04/04 12:46:09.730 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=177] [neededSchemaVersion=178] ["elapsed time"=86.669155ms] [2025/04/04 12:46:09.730 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 12:46:09.734 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=184] [version=178] [2025/04/04 12:46:09.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=178] ["take time"=95.237054ms] [job="ID:184, Type:flashback cluster, State:done, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:09.1 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:09.811 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=184] [conn=22] [job="ID:184, Type:flashback cluster, State:synced, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:09.1 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:09.823 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=184] [2025/04/04 12:46:09.824 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 22\n# Query_time: 0.711388689\n# Parse_time: 0.000101504\n# Compile_time: 0.000262204\n# Rewrite_time: 0.000002742\n# Optimize_time: 0.001703095\n# Wait_TS: 0.000434867\n# DB: test\n# Is_internal: false\n# Digest: af09c17df48245f34604ebcd1fb822f4f2360c5d282fb4cb3aeced6fc3c852fa\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nflashback cluster to timestamp '2025-04-04 12:46:09.100000';"] [2025/04/04 12:46:09.824 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:508\ntests/realtikvtest/flashbacktest/flashbacktest_test.TestFlashbackTmpTable\n\ttests/realtikvtest/flashbacktest/flashback_test.go:528\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL="select * from t"] [2025/04/04 12:46:09.825 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 12:46:09.825 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=a11f0aec-87c3-4764-bb32-f5368463b30c] [] [2025/04/04 12:46:09.825 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 12:46:09.825 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=a11f0aec-87c3-4764-bb32-f5368463b30c] [2025/04/04 12:46:09.825 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:46:09.825 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:46:09.825 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 61, tp general"] ["take time"=75.916µs] [2025/04/04 12:46:09.825 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 62, tp general"] ["take time"=34.909µs] [2025/04/04 12:46:09.825 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 63, tp general"] ["take time"=30.202µs] [2025/04/04 12:46:09.825 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=a11f0aec-87c3-4764-bb32-f5368463b30c] [2025/04/04 12:46:09.825 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=a11f0aec-87c3-4764-bb32-f5368463b30c] [2025/04/04 12:46:09.826 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 12:46:09.826 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 12:46:09.829 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=a11f0aec-87c3-4764-bb32-f5368463b30c] ["take time"=4.602016ms] [2025/04/04 12:46:09.829 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=a11f0aec-87c3-4764-bb32-f5368463b30c] [2025/04/04 12:46:09.829 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 12:46:09.829 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/b423b8de-0178-4634-b8f5-93fd38209484] [watcherID=dfbec27e-c6df-43db-bf63-d8d42a4322e4] [2025/04/04 12:46:09.829 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/04 12:46:09.829 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/b423b8de-0178-4634-b8f5-93fd38209484] [2025/04/04 12:46:09.829 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=a11f0aec-87c3-4764-bb32-f5368463b30c] [ttl-worker=task-manager] [ttl-worker=a11f0aec-87c3-4764-bb32-f5368463b30c] [originalCount=4] [newCount=0] [2025/04/04 12:46:09.830 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:46:09.830 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:46:09.830 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:46:09.830 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:46:09.830 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=a11f0aec-87c3-4764-bb32-f5368463b30c] [ttl-worker=task-manager] [ttl-worker=a11f0aec-87c3-4764-bb32-f5368463b30c] [originalCount=4] [newCount=0] [2025/04/04 12:46:09.833 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:46:09.833 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:46:09.833 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:46:09.833 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:46:09.836 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=a11f0aec-87c3-4764-bb32-f5368463b30c] [2025/04/04 12:46:09.836 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 12:46:09.837 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=626] [2025/04/04 12:46:09.837 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=a11f0aec-87c3-4764-bb32-f5368463b30c] [2025/04/04 12:46:09.837 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 12:46:09.837 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 12:46:09.837 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 12:46:09.837 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 12:46:09.837 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:09.837 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:46:09.837 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 12:46:09.837 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:46:09.837 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:46:09.837 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:46:09.837 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:46:09.837 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/04 12:46:09.837 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:09.837 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 12:46:09.837 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 12:46:09.837 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 12:46:09.837 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 12:46:09.837 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 12:46:09.837 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 12:46:09.837 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 12:46:09.837 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:46:09.837 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/04 12:46:09.837 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:46:09.837 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 12:46:09.837 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 12:46:09.837 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:09.837 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/04 12:46:09.837 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:46:09.837 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 12:46:09.837 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 12:46:09.837 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:46:09.837 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 12:46:09.837 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:09.837 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:46:09.837 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 12:46:09.837 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:09.837 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:46:09.837 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:46:09.837 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 12:46:09.837 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:09.837 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 12:46:09.837 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:09.837 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:46:09.837 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:09.837 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:46:09.837 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/04 12:46:09.837 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:46:09.837 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 12:46:09.837 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 12:46:09.837 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=a11f0aec-87c3-4764-bb32-f5368463b30c] [2025/04/04 12:46:09.837 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 12:46:09.837 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:46:09.837 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:09.837 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:46:09.837 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:09.838 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:46:09.837 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=02b7798c-033c-4063-95d5-ed88fd737e05] [] [2025/04/04 12:46:09.838 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:09.838 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:09.837 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:46:09.838 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=02b7798c-033c-4063-95d5-ed88fd737e05] [2025/04/04 12:46:09.838 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=02b7798c-033c-4063-95d5-ed88fd737e05] [2025/04/04 12:46:09.837 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 12:46:09.837 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 12:46:09.838 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=02b7798c-033c-4063-95d5-ed88fd737e05] [2025/04/04 12:46:09.837 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:46:09.838 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:46:09.838 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 12:46:09.838 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 12:46:09.838 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 12:46:09.838 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 12:46:09.838 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:46:09.838 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/stats/owner] [id=a11f0aec-87c3-4764-bb32-f5368463b30c] [error="context canceled"] [2025/04/04 12:46:09.838 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=a11f0aec-87c3-4764-bb32-f5368463b30c] [2025/04/04 12:46:09.839 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 12:46:09.839 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:46:09.839 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=02b7798c-033c-4063-95d5-ed88fd737e05] [daemon-id=LogBackup::Advancer] [2025/04/04 12:46:09.839 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 12:46:09.839 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 12:46:09.839 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:46:09.839 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:46:09.839 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 12:46:09.839 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 12:46:09.840 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 12:46:09.840 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:46:09.840 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 12:46:09.840 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:46:09.840 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=a11f0aec-87c3-4764-bb32-f5368463b30c] [error="context canceled"] [2025/04/04 12:46:09.841 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=a11f0aec-87c3-4764-bb32-f5368463b30c] [2025/04/04 12:46:09.841 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=a11f0aec-87c3-4764-bb32-f5368463b30c] [error="context canceled"] [2025/04/04 12:46:09.841 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=a11f0aec-87c3-4764-bb32-f5368463b30c] [error="context canceled"] [errorVerbose="context canceled\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:46:09.909 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 12:46:09.909 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:46:09.922 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=97.236685ms] [2025/04/04 12:46:09.925 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:46:09.925 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:46:09.925 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:46:09.925 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:46:09.925 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:46:09.925 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:46:09.925 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:46:09.925 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:09.925 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:09.925 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-12] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:46:09.925 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:09.925 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:46:09.927 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestFlashbackTmpTable (3.97s) === NAME === RUN TestFlashbackInProcessErrorMsg [2025/04/04 12:46:09.936 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 12:46:09.937 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 12:46:09.938 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437820018004919] [2025/04/04 12:46:09.938 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:46:09.938 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 12:46:09.939 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:46:09.939 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:46:09.939 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:46:09.939 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:46:09.939 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:46:09.939 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:46:09.943 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 12:46:09.949 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:46:09.950 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:46:09.950 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:46:09.964 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489437820018004919] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 12:46:09.975 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 12:46:10.015 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1842] ["lease id"=22319600d42f9661] [2025/04/04 12:46:10.017 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/04 12:46:10.114 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=178] ["elapsed time"=94.166158ms] [2025/04/04 12:46:10.114 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 12:46:10.116 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 12:46:10.127 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=54db13bc-aa85-406f-99ef-958fdbc37b9f] [runWorker=true] [jobVersion=v2] [2025/04/04 12:46:10.127 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 12:46:10.129 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=54db13bc-aa85-406f-99ef-958fdbc37b9f] [2025/04/04 12:46:10.131 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 12:46:10.131 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 261552164864/466850480128, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 12:46:10.131 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:46:10.131 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:46:10.131 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:46:10.131 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:46:10.131 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:46:10.131 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:46:10.131 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:46:10.131 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:46:10.131 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 12:46:10.131 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:46:10.131 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 12:46:10.131 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:46:10.131 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=69455653-0e17-4a5d-8bf4-a03fd5a62bf3] [2025/04/04 12:46:10.133 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f189600d42f9948] [ownerID=54db13bc-aa85-406f-99ef-958fdbc37b9f] [op=none] [2025/04/04 12:46:10.133 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=54db13bc-aa85-406f-99ef-958fdbc37b9f] [2025/04/04 12:46:10.133 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=54db13bc-aa85-406f-99ef-958fdbc37b9f] [ownerKey=/tidb/ddl/fg/owner/6f189600d42f9948] [currRev=910] [2025/04/04 12:46:10.134 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:46:10.134 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=69455653-0e17-4a5d-8bf4-a03fd5a62bf3] [daemon-id=LogBackup::Advancer] [2025/04/04 12:46:10.134 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f189600d42f994a] [ownerID=69455653-0e17-4a5d-8bf4-a03fd5a62bf3] [op=none] [2025/04/04 12:46:10.135 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=69455653-0e17-4a5d-8bf4-a03fd5a62bf3] [2025/04/04 12:46:10.135 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 12:46:10.135 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=69455653-0e17-4a5d-8bf4-a03fd5a62bf3] [ownerKey=/tidb/br-stream/owner/6f189600d42f994a] [currRev=911] [2025/04/04 12:46:10.135 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f189600d42f9948] [ownerID=54db13bc-aa85-406f-99ef-958fdbc37b9f] [op=none] [2025/04/04 12:46:10.136 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=54db13bc-aa85-406f-99ef-958fdbc37b9f] [op=none] [2025/04/04 12:46:10.136 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 12:46:10.144 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=54db13bc-aa85-406f-99ef-958fdbc37b9f] [2025/04/04 12:46:10.145 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:46:10.145 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 12:46:10.155 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:46:10.162 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:46:10.167 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:46:10.167 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:46:10.167 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 12:46:10.167 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:46:10.168 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:46:10.168 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 12:46:10.168 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 12:46:10.168 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 12:46:10.168 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 12:46:10.169 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:46:10.169 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=54db13bc-aa85-406f-99ef-958fdbc37b9f] [2025/04/04 12:46:10.170 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:46:10.170 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:46:10.170 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:46:10.170 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:46:10.170 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:46:10.170 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 12:46:10.170 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:46:10.170 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:46:10.170 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 12:46:10.170 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:46:10.170 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 12:46:10.170 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:46:10.170 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:46:10.170 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:46:10.171 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:46:10.172 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=434.8GiB] [2025/04/04 12:46:10.175 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/96c07504-6eb7-486a-8315-807d595b5719] [2025/04/04 12:46:10.175 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=54db13bc-aa85-406f-99ef-958fdbc37b9f] [ttl-worker=task-manager] [ttl-worker=54db13bc-aa85-406f-99ef-958fdbc37b9f] [originalCount=0] [newCount=4] [2025/04/04 12:46:10.175 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=54db13bc-aa85-406f-99ef-958fdbc37b9f] [ttl-worker=task-manager] [ttl-worker=54db13bc-aa85-406f-99ef-958fdbc37b9f] [originalCount=0] [newCount=4] [2025/04/04 12:46:10.175 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=54db13bc-aa85-406f-99ef-958fdbc37b9f] [2025/04/04 12:46:10.176 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:46:10.177 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 12:46:10.177 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743770770177258811 [2025/04/04 12:46:10.177 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 12:46:10.183 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 12:46:10.191 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=22.263104ms] [2025/04/04 12:46:10.191 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 12:46:10.191 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:46:10.198 +00:00] [INFO] [set.go:172] ["set global var"] [conn=23] [name=tidb_schema_cache_size] [val=0] [2025/04/04 12:46:10.216 +00:00] [INFO] [set.go:172] ["set global var"] [conn=23] [name=innodb_lock_wait_timeout] [val=50] testkit.go:123: RefreshSession rand seed: 1743770770218248648 [2025/04/04 12:46:10.233 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=24] [schemaVersion=178] [cur_db=test] [sql="drop table if exists t"] [user=] [2025/04/04 12:46:10.247 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:186, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:10.2 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:10.247 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:186, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:10.2 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t(a int)"] [2025/04/04 12:46:10.253 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=186] [conn=24] [job="ID:186, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:185, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:10.2 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:10.258 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 185, Table Name: t)"] [2025/04/04 12:46:10.271 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=178] [neededSchemaVersion=179] ["elapsed time"=1.430695ms] [gotSchemaVersion=179] [phyTblIDs="[185]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:46:10.275 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=186] [version=179] [2025/04/04 12:46:10.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=179] ["take time"=8.829361ms] [job="ID:186, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:10.2 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:10.288 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=186] [conn=24] [job="ID:186, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:185, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:10.2 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:10.300 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=186] [2025/04/04 12:46:10.300 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=24] [schemaVersion=179] [cur_db=test] [sql="create table t(a int)"] [user=] [2025/04/04 12:46:11.141 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/04 12:46:11.141 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 12:46:11.141 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 12:46:11.141 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:46:11.176 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/04 12:46:11.176 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/04 12:46:11.176 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/96c07504-6eb7-486a-8315-807d595b5719] [watcherID=ca2a64cc-e041-42d7-82c4-a3ce073c9840] [2025/04/04 12:46:11.177 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/04 12:46:11.182 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/04 12:46:11.182 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/04 12:46:11.182 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/04 12:46:11.182 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/04 12:46:11.303 +00:00] [INFO] [executor.go:5057] ["initialize reorg meta"] [category=ddl] [jobSchema=test] [jobTable=t] [jobType="add index"] [enableDistTask=true] [enableFastReorg=true] [targetScope=] [maxNodeCount=3] [concurrency=4] [batchSize=256] [2025/04/04 12:46:11.315 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:187, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:11.3 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0; "] [fast_create=true] [2025/04/04 12:46:11.315 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:187, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:11.3 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [query="alter table t add index k(a)"] [2025/04/04 12:46:11.321 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=187] [conn=24] [job="ID:187, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:185, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:11.3 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/04 12:46:11.323 +00:00] [INFO] [index.go:720] ["[ddl] run add index job"] [category=ddl] [job="ID:187, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:11.3 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [indexInfo="{\"id\":1,\"idx_name\":{\"O\":\"k\",\"L\":\"k\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"a\",\"L\":\"a\"},\"offset\":0,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":false,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false,\"vector_index\":null}"] [2025/04/04 12:46:11.338 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=179] [neededSchemaVersion=180] ["elapsed time"=1.809774ms] [gotSchemaVersion=180] [phyTblIDs="[185]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2025/04/04 12:46:11.342 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=187] [version=180] [2025/04/04 12:46:11.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=180] ["take time"=9.970902ms] [job="ID:187, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:11.3 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/04 12:46:11.354 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=187] [conn=24] [job="ID:187, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:185, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:11.3 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/04 12:46:11.369 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=180] [neededSchemaVersion=181] ["elapsed time"=1.558965ms] [gotSchemaVersion=181] [phyTblIDs="[185]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2025/04/04 12:46:11.373 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=187] [version=181] [2025/04/04 12:46:11.374 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=181] ["take time"=8.654357ms] [job="ID:187, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:11.3 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/04 12:46:11.383 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=187] [conn=24] [job="ID:187, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:185, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:11.3 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/04 12:46:11.401 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=181] [neededSchemaVersion=182] ["elapsed time"=1.965507ms] [gotSchemaVersion=182] [phyTblIDs="[185]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2025/04/04 12:46:11.406 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=187] [version=182] [2025/04/04 12:46:11.407 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=182] ["take time"=10.361763ms] [job="ID:187, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:11.3 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/04 12:46:11.416 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=187] [conn=24] [job="ID:187, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:185, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:11.3 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/04 12:46:11.419 +00:00] [INFO] [index.go:1382] ["table is empty, skipping reorg work"] [category=ddl] [jobID=187] [table=t] [2025/04/04 12:46:11.433 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=182] [neededSchemaVersion=183] ["elapsed time"=1.61503ms] [gotSchemaVersion=183] [phyTblIDs="[185]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2025/04/04 12:46:11.437 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=187] [version=183] [2025/04/04 12:46:11.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=183] ["take time"=8.854195ms] [job="ID:187, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:11.3 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/04 12:46:11.447 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=187] [conn=24] [job="ID:187, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:185, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:11.3 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/04 12:46:11.450 +00:00] [INFO] [index.go:1399] ["index backfill state ready to merge"] [category=ddl] ["job ID"=187] [table=t] [index=k] [2025/04/04 12:46:11.465 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=183] [neededSchemaVersion=184] ["elapsed time"=2.815324ms] [gotSchemaVersion=184] [phyTblIDs="[185]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2025/04/04 12:46:11.469 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=187] [version=184] [2025/04/04 12:46:11.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=184] ["take time"=10.611469ms] [job="ID:187, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:11.3 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/04 12:46:11.480 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=187] [conn=24] [job="ID:187, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:185, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:11.3 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/04 12:46:11.482 +00:00] [INFO] [index.go:1418] ["temp index is empty, skipping reorg work"] [category=ddl] [jobID=187] [table=t] [2025/04/04 12:46:11.486 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: add index, Table ID: 185, Table Name: t, Index ID: 1, Index Name: k)"] [2025/04/04 12:46:11.488 +00:00] [INFO] [index.go:1129] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin] [2025/04/04 12:46:11.501 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=184] [neededSchemaVersion=185] ["elapsed time"=1.636388ms] [gotSchemaVersion=185] [phyTblIDs="[185]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2025/04/04 12:46:11.504 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=187] [version=185] [2025/04/04 12:46:11.506 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=185] ["take time"=8.809563ms] [job="ID:187, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:11.3 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/04 12:46:11.516 +00:00] [INFO] [delete_range.go:448] ["insert into delete-range indices"] [category=ddl] [jobID=187] [tableID=185] [indexIDs="[9223090561878065153]"] [comment="add index: physical table ID(s)"] [2025/04/04 12:46:11.523 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=187] [jobType="add index"] [2025/04/04 12:46:11.524 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=187] [conn=24] [job="ID:187, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:11.3 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/04 12:46:11.545 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=187] [2025/04/04 12:46:11.545 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=24] [schemaVersion=185] [cur_db=test] [sql="alter table t add index k(a)"] [user=] [2025/04/04 12:46:11.553 +00:00] [INFO] [executor.go:1408] ["get flashback cluster job"] [category=ddl] [flashbackTS="2025-04-04 12:46:11.3 +0000 UTC"] [2025/04/04 12:46:11.564 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:188, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:11.55 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:11.564 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:188, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:11.55 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="flashback cluster to timestamp '2025-04-04 12:46:11.300000'"] [2025/04/04 12:46:11.570 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=188] [conn=24] [job="ID:188, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:11.55 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:11.576 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=188] [2025/04/04 12:46:11.584 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=188] [conn=24] [job="ID:188, Type:flashback cluster, State:running, SchemaState:delete only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:11.55 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:11.668 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=500ms] [requiredStaleness=350ms] [prevState=unknown(0)] [newState=adapting] [2025/04/04 12:46:11.702 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=185] [neededSchemaVersion=186] ["elapsed time"=140.328µs] [gotSchemaVersion=186] [phyTblIDs="[-1]"] [actionTypes="[62]"] [diffTypes="[\"flashback cluster\"]"] [2025/04/04 12:46:11.706 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=188] [version=186] [2025/04/04 12:46:11.708 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=186] ["take time"=7.581028ms] [job="ID:188, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:11.55 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:11.717 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=188] [conn=24] [job="ID:188, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:11.55 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:11.750 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/04 12:46:11.754 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=32] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/04 12:46:11.756 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=5.274737ms] ["completed regions"=1] [2025/04/04 12:46:11.756 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/04 12:46:11.760 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=40] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/04 12:46:11.762 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=5.892412ms] ["completed regions"=1] [2025/04/04 12:46:11.762 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/04 12:46:11.765 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=48] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/04 12:46:11.767 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.306814ms] ["completed regions"=1] [2025/04/04 12:46:11.767 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/04 12:46:11.770 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=56] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/04 12:46:11.771 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=4.390099ms] ["completed regions"=1] [2025/04/04 12:46:11.771 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/04 12:46:11.775 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=64] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/04 12:46:11.776 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=4.31862ms] ["completed regions"=1] [2025/04/04 12:46:11.776 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/04 12:46:11.780 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=72] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/04 12:46:11.781 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=4.434754ms] ["completed regions"=1] [2025/04/04 12:46:11.781 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/04 12:46:11.785 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=80] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/04 12:46:11.786 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=4.338032ms] ["completed regions"=1] [2025/04/04 12:46:11.786 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/04 12:46:11.789 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=88] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/04 12:46:11.790 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=4.045769ms] ["completed regions"=1] [2025/04/04 12:46:11.790 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/04 12:46:11.794 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=96] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/04 12:46:11.795 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=4.123219ms] ["completed regions"=1] [2025/04/04 12:46:11.795 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/04 12:46:11.798 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=104] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/04 12:46:11.799 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=3.940237ms] ["completed regions"=1] [2025/04/04 12:46:11.799 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/04 12:46:11.803 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=112] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/04 12:46:11.804 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=3.902062ms] ["completed regions"=1] [2025/04/04 12:46:11.804 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/04 12:46:11.807 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=120] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/04 12:46:11.808 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=4.319757ms] ["completed regions"=1] [2025/04/04 12:46:11.809 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/04 12:46:11.812 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=128] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/04 12:46:11.813 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.636361ms] ["completed regions"=1] [2025/04/04 12:46:11.813 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/04 12:46:11.815 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=136] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/04 12:46:11.817 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.618586ms] ["completed regions"=1] [2025/04/04 12:46:11.817 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/04 12:46:11.819 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=144] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/04 12:46:11.820 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.474805ms] ["completed regions"=1] [2025/04/04 12:46:11.821 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/04 12:46:11.823 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=152] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/04 12:46:11.824 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.521444ms] ["completed regions"=1] [2025/04/04 12:46:11.824 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/04 12:46:11.827 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=160] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/04 12:46:11.828 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.433297ms] ["completed regions"=1] [2025/04/04 12:46:11.828 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/04 12:46:11.831 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=168] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/04 12:46:11.832 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.301673ms] ["completed regions"=1] [2025/04/04 12:46:11.832 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/04 12:46:11.835 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=176] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/04 12:46:11.836 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.404832ms] ["completed regions"=1] [2025/04/04 12:46:11.836 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/04 12:46:11.839 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=184] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/04 12:46:11.840 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.278747ms] ["completed regions"=1] [2025/04/04 12:46:11.840 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/04 12:46:11.842 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=192] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/04 12:46:11.843 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=3.114804ms] ["completed regions"=1] [2025/04/04 12:46:11.843 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/04 12:46:11.846 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=200] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/04 12:46:11.847 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=3.063139ms] ["completed regions"=1] [2025/04/04 12:46:11.847 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/04 12:46:11.849 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=208] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/04 12:46:11.850 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=3.07452ms] ["completed regions"=1] [2025/04/04 12:46:11.850 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/04 12:46:11.853 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=216] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/04 12:46:11.853 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=2.887321ms] ["completed regions"=1] [2025/04/04 12:46:11.854 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/04 12:46:11.856 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=224] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/04 12:46:11.857 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=2.615776ms] ["completed regions"=1] [2025/04/04 12:46:11.857 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/04 12:46:11.859 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=232] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/04 12:46:11.860 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=2.773876ms] ["completed regions"=1] [2025/04/04 12:46:11.860 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/04 12:46:11.862 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=240] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/04 12:46:11.863 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=2.642903ms] ["completed regions"=1] [2025/04/04 12:46:11.863 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/04 12:46:11.865 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=248] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/04 12:46:11.866 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.761997ms] ["completed regions"=1] [2025/04/04 12:46:11.866 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/04 12:46:11.868 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=256] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/04 12:46:11.869 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=2.732736ms] ["completed regions"=1] [2025/04/04 12:46:11.869 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/04 12:46:11.871 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=264] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/04 12:46:11.872 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.420172ms] ["completed regions"=1] [2025/04/04 12:46:11.872 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/04 12:46:11.874 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=272] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/04 12:46:11.875 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.436457ms] ["completed regions"=1] [2025/04/04 12:46:11.875 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/04 12:46:11.877 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=280] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/04 12:46:11.879 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=4.103722ms] ["completed regions"=1] [2025/04/04 12:46:11.879 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/04 12:46:11.881 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=288] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/04 12:46:11.882 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.624219ms] ["completed regions"=1] [2025/04/04 12:46:11.882 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/04 12:46:11.884 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=296] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/04 12:46:11.885 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.419417ms] ["completed regions"=1] [2025/04/04 12:46:11.885 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/04 12:46:11.887 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=304] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/04 12:46:11.888 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.64529ms] ["completed regions"=1] [2025/04/04 12:46:11.888 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/04 12:46:11.890 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=312] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/04 12:46:11.891 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.337677ms] ["completed regions"=1] [2025/04/04 12:46:11.891 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/04 12:46:11.893 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=320] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/04 12:46:11.894 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.258006ms] ["completed regions"=1] [2025/04/04 12:46:11.894 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/04 12:46:11.895 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=328] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/04 12:46:11.896 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=1.991781ms] ["completed regions"=1] [2025/04/04 12:46:11.896 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/04 12:46:11.898 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=336] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/04 12:46:11.899 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=2.008508ms] ["completed regions"=1] [2025/04/04 12:46:11.899 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/04 12:46:11.900 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=344] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/04 12:46:11.901 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=1.972126ms] ["completed regions"=1] [2025/04/04 12:46:11.901 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/04 12:46:11.902 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=352] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/04 12:46:11.903 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=1.966377ms] ["completed regions"=1] [2025/04/04 12:46:11.903 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/04 12:46:11.905 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=360] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/04 12:46:11.906 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=1.787214ms] ["completed regions"=1] [2025/04/04 12:46:11.906 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/04 12:46:11.907 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=372] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/04 12:46:11.908 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=376] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/04 12:46:11.909 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=368] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/04 12:46:11.910 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=4.215835ms] ["completed regions"=3] [2025/04/04 12:46:11.916 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=188] [2025/04/04 12:46:11.924 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=188] [conn=24] [job="ID:188, Type:flashback cluster, State:running, SchemaState:write reorganization, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:11.55 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:11.925 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/04 12:46:11.929 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=32] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/04 12:46:11.931 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=1] ["total regions"=45] [] [2025/04/04 12:46:11.931 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=5.26732ms] ["completed regions"=1] [2025/04/04 12:46:11.931 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/04 12:46:11.936 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=40] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/04 12:46:11.937 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=2] ["total regions"=45] [] [2025/04/04 12:46:11.937 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=5.815333ms] ["completed regions"=1] [2025/04/04 12:46:11.937 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/04 12:46:11.941 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=48] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/04 12:46:11.942 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=3] ["total regions"=45] [] [2025/04/04 12:46:11.942 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.387562ms] ["completed regions"=1] [2025/04/04 12:46:11.942 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/04 12:46:11.945 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=56] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/04 12:46:11.947 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=4] ["total regions"=45] [] [2025/04/04 12:46:11.947 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=4.397743ms] ["completed regions"=1] [2025/04/04 12:46:11.947 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/04 12:46:11.950 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=64] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/04 12:46:11.951 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=5] ["total regions"=45] [] [2025/04/04 12:46:11.951 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=4.248166ms] ["completed regions"=1] [2025/04/04 12:46:11.951 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/04 12:46:11.955 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=72] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/04 12:46:11.956 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=6] ["total regions"=45] [] [2025/04/04 12:46:11.956 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=4.314957ms] ["completed regions"=1] [2025/04/04 12:46:11.956 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/04 12:46:11.959 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=80] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/04 12:46:11.960 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=7] ["total regions"=45] [] [2025/04/04 12:46:11.960 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=4.105348ms] ["completed regions"=1] [2025/04/04 12:46:11.961 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/04 12:46:11.964 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=88] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/04 12:46:11.965 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=8] ["total regions"=45] [] [2025/04/04 12:46:11.965 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=4.030995ms] ["completed regions"=1] [2025/04/04 12:46:11.965 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/04 12:46:11.968 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=96] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/04 12:46:11.970 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=9] ["total regions"=45] [] [2025/04/04 12:46:11.970 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=4.292998ms] ["completed regions"=1] [2025/04/04 12:46:11.970 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/04 12:46:11.973 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=104] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/04 12:46:11.974 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=10] ["total regions"=45] [] [2025/04/04 12:46:11.974 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=3.818341ms] ["completed regions"=1] [2025/04/04 12:46:11.974 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/04 12:46:11.977 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=112] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/04 12:46:11.978 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=11] ["total regions"=45] [] [2025/04/04 12:46:11.978 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=3.944519ms] ["completed regions"=1] [2025/04/04 12:46:11.978 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/04 12:46:11.981 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=120] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/04 12:46:11.983 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=12] ["total regions"=45] [] [2025/04/04 12:46:11.983 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=4.744876ms] ["completed regions"=1] [2025/04/04 12:46:11.983 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/04 12:46:11.987 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=128] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/04 12:46:11.988 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=13] ["total regions"=45] [] [2025/04/04 12:46:11.988 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.796506ms] ["completed regions"=1] [2025/04/04 12:46:11.988 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/04 12:46:11.991 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=136] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/04 12:46:11.992 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=14] ["total regions"=45] [] [2025/04/04 12:46:11.992 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.92997ms] ["completed regions"=1] [2025/04/04 12:46:11.992 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/04 12:46:11.995 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=144] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/04 12:46:11.996 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=15] ["total regions"=45] [] [2025/04/04 12:46:11.996 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.586988ms] ["completed regions"=1] [2025/04/04 12:46:11.996 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/04 12:46:11.999 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=152] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/04 12:46:12.000 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=16] ["total regions"=45] [] [2025/04/04 12:46:12.000 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.772921ms] ["completed regions"=1] [2025/04/04 12:46:12.000 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/04 12:46:12.003 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=160] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/04 12:46:12.004 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=17] ["total regions"=45] [] [2025/04/04 12:46:12.004 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.582779ms] ["completed regions"=1] [2025/04/04 12:46:12.004 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/04 12:46:12.007 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=168] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/04 12:46:12.008 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=18] ["total regions"=45] [] [2025/04/04 12:46:12.008 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.788838ms] ["completed regions"=1] [2025/04/04 12:46:12.009 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/04 12:46:12.012 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=176] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/04 12:46:12.013 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=19] ["total regions"=45] [] [2025/04/04 12:46:12.013 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=4.243484ms] ["completed regions"=1] [2025/04/04 12:46:12.014 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/04 12:46:12.016 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=184] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/04 12:46:12.017 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=20] ["total regions"=45] [] [2025/04/04 12:46:12.017 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.51723ms] ["completed regions"=1] [2025/04/04 12:46:12.017 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/04 12:46:12.020 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=192] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/04 12:46:12.021 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=21] ["total regions"=45] [] [2025/04/04 12:46:12.021 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=3.302555ms] ["completed regions"=1] [2025/04/04 12:46:12.021 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/04 12:46:12.024 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=200] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/04 12:46:12.025 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=22] ["total regions"=45] [] [2025/04/04 12:46:12.025 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=3.185683ms] ["completed regions"=1] [2025/04/04 12:46:12.025 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/04 12:46:12.027 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=208] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/04 12:46:12.028 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=23] ["total regions"=45] [] [2025/04/04 12:46:12.028 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=3.095381ms] ["completed regions"=1] [2025/04/04 12:46:12.028 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/04 12:46:12.031 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=216] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/04 12:46:12.032 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=24] ["total regions"=45] [] [2025/04/04 12:46:12.032 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=3.109448ms] ["completed regions"=1] [2025/04/04 12:46:12.032 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/04 12:46:12.034 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=224] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/04 12:46:12.035 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=25] ["total regions"=45] [] [2025/04/04 12:46:12.035 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=2.955782ms] ["completed regions"=1] [2025/04/04 12:46:12.035 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/04 12:46:12.038 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=232] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/04 12:46:12.039 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=26] ["total regions"=45] [] [2025/04/04 12:46:12.039 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=2.856101ms] ["completed regions"=1] [2025/04/04 12:46:12.039 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/04 12:46:12.041 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=240] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/04 12:46:12.042 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=27] ["total regions"=45] [] [2025/04/04 12:46:12.042 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=2.968658ms] ["completed regions"=1] [2025/04/04 12:46:12.042 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/04 12:46:12.044 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=248] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/04 12:46:12.045 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=28] ["total regions"=45] [] [2025/04/04 12:46:12.045 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.615805ms] ["completed regions"=1] [2025/04/04 12:46:12.045 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/04 12:46:12.047 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=256] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/04 12:46:12.048 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=29] ["total regions"=45] [] [2025/04/04 12:46:12.048 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=2.740334ms] ["completed regions"=1] [2025/04/04 12:46:12.048 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/04 12:46:12.050 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=264] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/04 12:46:12.051 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=30] ["total regions"=45] [] [2025/04/04 12:46:12.051 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.717352ms] ["completed regions"=1] [2025/04/04 12:46:12.051 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/04 12:46:12.053 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=272] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/04 12:46:12.054 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=31] ["total regions"=45] [] [2025/04/04 12:46:12.054 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.67574ms] ["completed regions"=1] [2025/04/04 12:46:12.054 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/04 12:46:12.056 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=280] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/04 12:46:12.057 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=32] ["total regions"=45] [] [2025/04/04 12:46:12.057 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.512587ms] ["completed regions"=1] [2025/04/04 12:46:12.057 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/04 12:46:12.059 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=288] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/04 12:46:12.060 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=33] ["total regions"=45] [] [2025/04/04 12:46:12.060 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.464106ms] ["completed regions"=1] [2025/04/04 12:46:12.060 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/04 12:46:12.062 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=296] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/04 12:46:12.063 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=34] ["total regions"=45] [] [2025/04/04 12:46:12.063 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.28975ms] ["completed regions"=1] [2025/04/04 12:46:12.063 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/04 12:46:12.064 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=304] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/04 12:46:12.065 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=35] ["total regions"=45] [] [2025/04/04 12:46:12.066 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.243628ms] ["completed regions"=1] [2025/04/04 12:46:12.066 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/04 12:46:12.067 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=312] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/04 12:46:12.068 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=36] ["total regions"=45] [] [2025/04/04 12:46:12.068 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.29358ms] ["completed regions"=1] [2025/04/04 12:46:12.068 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/04 12:46:12.071 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=320] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/04 12:46:12.072 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=37] ["total regions"=45] [] [2025/04/04 12:46:12.072 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.220285ms] ["completed regions"=1] [2025/04/04 12:46:12.072 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/04 12:46:12.074 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=328] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/04 12:46:12.075 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=38] ["total regions"=45] [] [2025/04/04 12:46:12.075 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.186833ms] ["completed regions"=1] [2025/04/04 12:46:12.075 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/04 12:46:12.076 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=336] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/04 12:46:12.077 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=39] ["total regions"=45] [] [2025/04/04 12:46:12.077 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=2.09006ms] ["completed regions"=1] [2025/04/04 12:46:12.077 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/04 12:46:12.079 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=344] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/04 12:46:12.079 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=40] ["total regions"=45] [] [2025/04/04 12:46:12.080 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=1.902661ms] ["completed regions"=1] [2025/04/04 12:46:12.080 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/04 12:46:12.081 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=352] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/04 12:46:12.082 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=41] ["total regions"=45] [] [2025/04/04 12:46:12.082 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=1.923292ms] ["completed regions"=1] [2025/04/04 12:46:12.082 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/04 12:46:12.083 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=360] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/04 12:46:12.084 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=42] ["total regions"=45] [] [2025/04/04 12:46:12.084 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=1.827173ms] ["completed regions"=1] [2025/04/04 12:46:12.084 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/04 12:46:12.085 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=372] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/04 12:46:12.086 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=376] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/04 12:46:12.087 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=368] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/04 12:46:12.089 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=45] ["total regions"=45] [] [2025/04/04 12:46:12.089 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=4.817376ms] ["completed regions"=3] [2025/04/04 12:46:12.089 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: flashback cluster)"] [2025/04/04 12:46:12.105 +00:00] [ERROR] [domain.go:375] ["failed to load schema diff"] [error="Meets a schema diff with RegenerateSchemaMap flag"] [errorVerbose="Meets a schema diff with RegenerateSchemaMap flag\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).tryLoadSchemaDiffs\n\tpkg/domain/domain.go:652\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:358\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:375\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103"] [2025/04/04 12:46:12.131 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/04 12:46:12.190 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=186] [neededSchemaVersion=187] ["elapsed time"=85.15996ms] [2025/04/04 12:46:12.190 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 12:46:12.194 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=188] [version=187] [2025/04/04 12:46:12.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=187] ["take time"=92.916748ms] [job="ID:188, Type:flashback cluster, State:done, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:11.55 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:12.274 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=188] [conn=24] [job="ID:188, Type:flashback cluster, State:synced, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:11.55 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:12.288 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=188] [2025/04/04 12:46:12.289 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 24\n# Query_time: 0.737222038\n# Parse_time: 0.000081253\n# Compile_time: 0.000296097\n# Rewrite_time: 0.000002935\n# Optimize_time: 0.000078157\n# Wait_TS: 0.000537272\n# DB: test\n# Is_internal: false\n# Digest: af09c17df48245f34604ebcd1fb822f4f2360c5d282fb4cb3aeced6fc3c852fa\n# Mem_max: 8192\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nuse test;\nflashback cluster to timestamp '2025-04-04 12:46:11.300000';"] [2025/04/04 12:46:12.289 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 12:46:12.289 +00:00] [WARN] [job_scheduler.go:653] ["delete versions failed"] [category=ddl] ["job ID"=188] [error="context canceled"] [2025/04/04 12:46:12.289 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=54db13bc-aa85-406f-99ef-958fdbc37b9f] [] [2025/04/04 12:46:12.289 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=54db13bc-aa85-406f-99ef-958fdbc37b9f] [2025/04/04 12:46:12.290 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 12:46:12.290 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:46:12.291 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 65, tp add index"] ["take time"=51.338µs] [2025/04/04 12:46:12.291 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:46:12.291 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 64, tp general"] ["take time"=38.615µs] [2025/04/04 12:46:12.291 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 66, tp general"] ["take time"=36.464µs] [2025/04/04 12:46:12.291 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=54db13bc-aa85-406f-99ef-958fdbc37b9f] [2025/04/04 12:46:12.291 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=54db13bc-aa85-406f-99ef-958fdbc37b9f] [2025/04/04 12:46:12.292 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 12:46:12.292 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 12:46:12.294 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=54db13bc-aa85-406f-99ef-958fdbc37b9f] ["take time"=4.813591ms] [2025/04/04 12:46:12.294 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=54db13bc-aa85-406f-99ef-958fdbc37b9f] [2025/04/04 12:46:12.294 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 12:46:12.294 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/04 12:46:12.294 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/96c07504-6eb7-486a-8315-807d595b5719] [watcherID=ca2a64cc-e041-42d7-82c4-a3ce073c9840] [2025/04/04 12:46:12.294 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/96c07504-6eb7-486a-8315-807d595b5719] [2025/04/04 12:46:12.294 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=54db13bc-aa85-406f-99ef-958fdbc37b9f] [ttl-worker=task-manager] [ttl-worker=54db13bc-aa85-406f-99ef-958fdbc37b9f] [originalCount=4] [newCount=0] [2025/04/04 12:46:12.294 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:46:12.294 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:46:12.294 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:46:12.294 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:46:12.295 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=54db13bc-aa85-406f-99ef-958fdbc37b9f] [ttl-worker=task-manager] [ttl-worker=54db13bc-aa85-406f-99ef-958fdbc37b9f] [originalCount=4] [newCount=0] [2025/04/04 12:46:12.297 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:46:12.297 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:46:12.297 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:46:12.297 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:46:12.299 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=54db13bc-aa85-406f-99ef-958fdbc37b9f] [2025/04/04 12:46:12.299 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 12:46:12.300 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1842] [2025/04/04 12:46:12.300 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 12:46:12.300 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 12:46:12.301 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 12:46:12.301 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:46:12.301 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:12.301 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:46:12.301 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 12:46:12.301 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 12:46:12.301 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:46:12.301 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 12:46:12.301 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 12:46:12.301 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 12:46:12.301 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:12.301 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 12:46:12.301 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=54db13bc-aa85-406f-99ef-958fdbc37b9f] [2025/04/04 12:46:12.301 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:46:12.301 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:12.301 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:46:12.301 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:46:12.301 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:12.301 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 12:46:12.301 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 12:46:12.301 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:12.301 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 12:46:12.301 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 12:46:12.301 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:46:12.301 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 12:46:12.301 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 12:46:12.301 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 12:46:12.301 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:46:12.301 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 12:46:12.301 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 12:46:12.301 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:46:12.301 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:46:12.301 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:46:12.301 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:46:12.301 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=69455653-0e17-4a5d-8bf4-a03fd5a62bf3] [] [2025/04/04 12:46:12.301 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=69455653-0e17-4a5d-8bf4-a03fd5a62bf3] [2025/04/04 12:46:12.301 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 12:46:12.301 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=69455653-0e17-4a5d-8bf4-a03fd5a62bf3] [2025/04/04 12:46:12.301 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:46:12.301 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:12.301 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=69455653-0e17-4a5d-8bf4-a03fd5a62bf3] [2025/04/04 12:46:12.301 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 12:46:12.301 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 12:46:12.301 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:46:12.301 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:46:12.301 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 12:46:12.301 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:46:12.301 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:46:12.301 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:12.301 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:46:12.301 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/04 12:46:12.301 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/04 12:46:12.301 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:12.301 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 12:46:12.301 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:12.301 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 12:46:12.301 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:12.301 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 12:46:12.302 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:46:12.301 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/04 12:46:12.301 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:46:12.301 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/04 12:46:12.301 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:12.301 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:46:12.301 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:12.302 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=54db13bc-aa85-406f-99ef-958fdbc37b9f] [2025/04/04 12:46:12.302 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 12:46:12.302 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 12:46:12.302 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 12:46:12.302 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 12:46:12.302 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:46:12.302 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/stats/owner] [id=54db13bc-aa85-406f-99ef-958fdbc37b9f] [error="context canceled"] [2025/04/04 12:46:12.302 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=54db13bc-aa85-406f-99ef-958fdbc37b9f] [2025/04/04 12:46:12.303 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=69455653-0e17-4a5d-8bf4-a03fd5a62bf3] [daemon-id=LogBackup::Advancer] [2025/04/04 12:46:12.303 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 12:46:12.303 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:46:12.303 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 12:46:12.303 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:46:12.303 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 12:46:12.303 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 12:46:12.303 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:46:12.303 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=54db13bc-aa85-406f-99ef-958fdbc37b9f] [error="context canceled"] [2025/04/04 12:46:12.303 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 12:46:12.303 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 12:46:12.303 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:46:12.304 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=54db13bc-aa85-406f-99ef-958fdbc37b9f] [error="context canceled"] [2025/04/04 12:46:12.304 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=54db13bc-aa85-406f-99ef-958fdbc37b9f] [2025/04/04 12:46:12.322 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 12:46:12.322 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:46:12.365 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=54db13bc-aa85-406f-99ef-958fdbc37b9f] [error="context canceled"] [2025/04/04 12:46:12.365 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 12:46:12.365 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:46:12.376 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=87.20815ms] [2025/04/04 12:46:12.379 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:46:12.379 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:46:12.379 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:46:12.379 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:46:12.379 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:46:12.379 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:46:12.379 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:12.379 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:46:12.379 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:12.379 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-13] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:46:12.379 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:12.379 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:46:12.380 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestFlashbackInProcessErrorMsg (2.45s) === NAME PASS ================================================================================ Target //tests/realtikvtest/flashbacktest:flashbacktest_test up-to-date: bazel-bin/tests/realtikvtest/flashbacktest/flashbacktest_test_/flashbacktest_test INFO: Elapsed time: 88.406s, Critical Path: 68.32s 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 42.7s PASSED flashbacktest_test.TestFlashback (7.1s) PASSED flashbacktest_test.TestFlashbackAddDropIndex (4.6s) PASSED flashbacktest_test.TestFlashbackAddDropModifyColumn (3.0s) PASSED flashbacktest_test.TestFlashbackAutoID (2.4s) PASSED flashbacktest_test.TestFlashbackBasicRenameDropCreateTable (2.7s) PASSED flashbacktest_test.TestFlashbackCreateDropSchema (2.7s) PASSED flashbacktest_test.TestFlashbackCreateDropTableWithData (2.6s) PASSED flashbacktest_test.TestFlashbackInProcessErrorMsg (2.5s) PASSED flashbacktest_test.TestFlashbackPartitionTable (2.9s) PASSED flashbacktest_test.TestFlashbackSequence (2.8s) 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 [Pipeline] } No test report files were found. Configuration error? [Pipeline] // script [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // container [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // podTemplate [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } ./t/ddl/multi_schema_change.test: ok! 305 test cases passed, take time 32.5687521 s [4,571 / 4,572] 1 / 1 tests; Testing //tests/realtikvtest/addindextest3:addindextest3_test; 66s 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: 108.128s, Critical Path: 90.25s INFO: 4272 processes: 4260 remote cache hit, 3 internal, 9 linux-sandbox. INFO: Build completed successfully, 4272 total actions //tests/realtikvtest/addindextest3:addindextest3_test PASSED in 65.9s PASSED addindextest3_test.TestAddEmptyMultiValueIndex (0.5s) PASSED addindextest3_test.TestAddIndexAdvanceWatermarkFailed (5.3s) PASSED addindextest3_test.TestAddIndexBackfillLostUpdate (2.8s) PASSED addindextest3_test.TestAddIndexDiskQuotaTS (2.6s) PASSED addindextest3_test.TestAddIndexImportFailed (1.8s) PASSED addindextest3_test.TestAddIndexIngestAdjustBackfillWorker (0.7s) PASSED addindextest3_test.TestAddIndexIngestAdjustBackfillWorkerCountFail (0.8s) PASSED addindextest3_test.TestAddIndexIngestEmptyTable (0.2s) PASSED addindextest3_test.TestAddIndexIngestFailures (3.4s) PASSED addindextest3_test.TestAddIndexIngestLimitOneBackend (2.6s) PASSED addindextest3_test.TestAddIndexIngestMemoryUsage (0.6s) PASSED addindextest3_test.TestAddIndexIngestRestoredData (0.4s) PASSED addindextest3_test.TestAddIndexIngestUniqueKey (1.1s) PASSED addindextest3_test.TestAddIndexIngestWriterCountOnPartitionTable (5.9s) PASSED addindextest3_test.TestAddIndexLoadTableRangeError (1.7s) PASSED addindextest3_test.TestAddIndexMockFlushError (0.4s) PASSED addindextest3_test.TestAddIndexPresplitFunctional (2.8s) PASSED addindextest3_test.TestAddIndexPresplitIndexRegions (5.0s) PASSED addindextest3_test.TestAddIndexRecoverOnDuplicateCheck (3.3s) PASSED addindextest3_test.TestAddIndexRemoteDuplicateCheck (0.6s) PASSED addindextest3_test.TestAddIndexSplitTableRanges (1.4s) PASSED addindextest3_test.TestAddUniqueIndexDuplicatedError (0.4s) 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.7s) PASSED addindextest3_test.TestConcFastReorg (2.6s) PASSED addindextest3_test.TestDDLTestEstimateTableRowSize (2.0s) PASSED addindextest3_test.TestFirstLitSlowStart (4.8s) PASSED addindextest3_test.TestIngestMVIndexOnPartitionTable (3.4s) PASSED addindextest3_test.TestIssue55808 (2.4s) PASSED addindextest3_test.TestMockMemoryUsedUp (0.0s) PASSED addindextest3_test.TestTiDBEncodeKeyTempIndexKey (2.7s) PASSED addindextest3_test.TestTuneWorkerPoolSize (0.5s) 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 [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] } [Pipeline] // podTemplate [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [4,750 / 4,751] Testing //tests/realtikvtest/importintotest:importintotest_test; 41s remote-cache, linux-sandbox ./t/ddl/partition.test: ok! 138 test cases passed, take time 9.611225079 s ./t/ddl/primary_key_handle.test: ok! 191 test cases passed, take time 7.414748708 s [4,637 / 4,638] 1 / 1 tests; Testing //tests/realtikvtest/addindextest2:addindextest2_test; 88s 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: 127.894s, Critical Path: 111.71s INFO: 4338 processes: 4325 remote cache hit, 3 internal, 10 linux-sandbox. INFO: Build completed successfully, 4338 total actions //tests/realtikvtest/addindextest2:addindextest2_test PASSED in 88.3s PASSED addindextest2_test.TestAddIndexIngestShowReorgTp (0.6s) PASSED addindextest2_test.TestAlterJobOnDXF (6.4s) PASSED addindextest2_test.TestAlterThreadRightAfterJobFinish (11.7s) PASSED addindextest2_test.TestGlobalSortAddIndexRecoverFromRetryableError (13.2s) PASSED addindextest2_test.TestGlobalSortBasic (9.8s) PASSED addindextest2_test.TestGlobalSortDuplicateErrMsg (4.2s) PASSED addindextest2_test.TestGlobalSortMultiSchemaChange (37.3s) PASSED addindextest2_test.TestGlobalSortMultiSchemaChange/ingest_backfill (2.7s) PASSED addindextest2_test.TestGlobalSortMultiSchemaChange/ingest_dist_backfill (13.6s) PASSED addindextest2_test.TestGlobalSortMultiSchemaChange/ingest_dist_gs_backfill (19.4s) PASSED addindextest2_test.TestGlobalSortMultiSchemaChange/txn_backfill (1.1s) PASSED addindextest2_test.TestIngestUseGivenTS (3.8s) Test cases: finished with 12 passing and 0 failing out of 12 test cases Executed 1 out of 1 test: 1 test passes.  [Pipeline] } [Pipeline] // dir Post stage [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] junit Recording test results None of the test reports contained any result [Checks API] No suitable checks publisher found. [Pipeline] } [Pipeline] // dir [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] sh No test report files were found. Configuration error? [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // container [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // podTemplate [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [4,573 / 4,574] 1 / 1 tests; Testing //tests/realtikvtest/txntest:txntest_test; 159s remote-cache, linux-sandbox Target //tests/realtikvtest/txntest:txntest_test up-to-date: bazel-bin/tests/realtikvtest/txntest/txntest_test_/txntest_test INFO: Elapsed time: 209.185s, Critical Path: 191.85s INFO: 4571 processes: 4545 remote cache hit, 13 internal, 13 linux-sandbox. INFO: Build completed successfully, 4571 total actions //tests/realtikvtest/txntest:txntest_test PASSED in 159.1s PASSED txntest_test.TestA3Phantom (1.0s) PASSED txntest_test.TestA5AReadSkew (1.6s) PASSED txntest_test.TestA5BWriteSkew (1.8s) PASSED txntest_test.TestAsOfTimestampCompatibility (2.9s) PASSED txntest_test.TestAssertionWhenPessimisticLockLost (1.1s) PASSED txntest_test.TestBasicTxnState (0.9s) PASSED txntest_test.TestBlocked (0.7s) PASSED txntest_test.TestCheckTxnStatusOnOptimisticTxnBreakConsistency (2.0s) PASSED txntest_test.TestCommitting (0.7s) PASSED txntest_test.TestDMLWithAddForeignKey (11.8s) PASSED txntest_test.TestDuplicateErrorMessage (1.0s) PASSED txntest_test.TestEntriesCountAndSize (0.5s) PASSED txntest_test.TestExactStalenessTransaction (0.5s) PASSED txntest_test.TestGetCachedStore (0.0s) PASSED txntest_test.TestInTxnPSProtoPointGet (0.6s) PASSED txntest_test.TestLockKeysInDML (2.1s) PASSED txntest_test.TestMemDBTracker (30.8s) PASSED txntest_test.TestP0DirtyWrite (5.8s) PASSED txntest_test.TestP1DirtyRead (1.0s) PASSED txntest_test.TestP2NonRepeatableRead (1.5s) PASSED txntest_test.TestP3Phantom (1.6s) PASSED txntest_test.TestP4CLostUpdate (0.0s) PASSED txntest_test.TestP4LostUpdate (1.2s) PASSED txntest_test.TestPhantomReadInInnodb (1.0s) PASSED txntest_test.TestPlanCacheWithStaleReadByBinaryProto (1.7s) PASSED txntest_test.TestReadAfterWrite (1.1s) PASSED txntest_test.TestRollbackTxnState (0.7s) PASSED txntest_test.TestRunning (0.8s) PASSED txntest_test.TestSelectAsOf (3.9s) PASSED txntest_test.TestSelectLockForPartitionTable (2.4s) PASSED txntest_test.TestSetTransactionInfoSchema (2.1s) PASSED txntest_test.TestSetTransactionIsolationOneSho (0.6s) PASSED txntest_test.TestSetTransactionReadOnlyAsOf (0.4s) PASSED txntest_test.TestSpecialSQLInStalenessTxn (8.0s) PASSED txntest_test.TestStalePrepare (5.1s) PASSED txntest_test.TestStaleReadAllCombinations (4.6s) PASSED txntest_test.TestStaleReadAllCombinations/no_labels (0.2s) PASSED txntest_test.TestStaleReadAllCombinations/no_labels/closest-adaptive (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/no_labels/closest-adaptive/AS_OF_TIMESTAMP_sees_both_rows_(using_secondTime) (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/no_labels/closest-adaptive/AS_OF_TIMESTAMP_sees_only_first_row (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/no_labels/closest-adaptive/SET_TRANSACTION (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/no_labels/closest-adaptive/SET_TRANSACTION_then_BEGIN (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/no_labels/closest-adaptive/START_TRANSACTION_READ_ONLY_AS_OF (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/no_labels/closest-adaptive/external_ts_read (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/no_labels/closest-adaptive/tidb_read_staleness (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/no_labels/closest-adaptive/tidb_snapshot (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/no_labels/closest-replicas (0.1s) PASSED txntest_test.TestStaleReadAllCombinations/no_labels/closest-replicas/AS_OF_TIMESTAMP_sees_both_rows_(using_secondTime) (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/no_labels/closest-replicas/AS_OF_TIMESTAMP_sees_only_first_row (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/no_labels/closest-replicas/SET_TRANSACTION (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/no_labels/closest-replicas/SET_TRANSACTION_then_BEGIN (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/no_labels/closest-replicas/START_TRANSACTION_READ_ONLY_AS_OF (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/no_labels/closest-replicas/external_ts_read (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/no_labels/closest-replicas/tidb_read_staleness (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/no_labels/closest-replicas/tidb_snapshot (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/no_labels/follower (0.1s) PASSED txntest_test.TestStaleReadAllCombinations/no_labels/follower/AS_OF_TIMESTAMP_sees_both_rows_(using_secondTime) (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/no_labels/follower/AS_OF_TIMESTAMP_sees_only_first_row (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/no_labels/follower/SET_TRANSACTION (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/no_labels/follower/SET_TRANSACTION_then_BEGIN (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/no_labels/follower/START_TRANSACTION_READ_ONLY_AS_OF (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/no_labels/follower/external_ts_read (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/no_labels/follower/tidb_read_staleness (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/no_labels/follower/tidb_snapshot (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/no_labels/leader (0.1s) PASSED txntest_test.TestStaleReadAllCombinations/no_labels/leader/AS_OF_TIMESTAMP_sees_both_rows_(using_secondTime) (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/no_labels/leader/AS_OF_TIMESTAMP_sees_only_first_row (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/no_labels/leader/SET_TRANSACTION (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/no_labels/leader/SET_TRANSACTION_then_BEGIN (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/no_labels/leader/START_TRANSACTION_READ_ONLY_AS_OF (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/no_labels/leader/external_ts_read (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/no_labels/leader/tidb_read_staleness (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/no_labels/leader/tidb_snapshot (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_DC_label (0.2s) PASSED txntest_test.TestStaleReadAllCombinations/with_DC_label/closest-adaptive (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_DC_label/closest-adaptive/AS_OF_TIMESTAMP_sees_both_rows_(using_secondTime) (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_DC_label/closest-adaptive/AS_OF_TIMESTAMP_sees_only_first_row (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_DC_label/closest-adaptive/SET_TRANSACTION (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_DC_label/closest-adaptive/SET_TRANSACTION_then_BEGIN (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_DC_label/closest-adaptive/START_TRANSACTION_READ_ONLY_AS_OF (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_DC_label/closest-adaptive/external_ts_read (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_DC_label/closest-adaptive/tidb_read_staleness (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_DC_label/closest-adaptive/tidb_snapshot (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_DC_label/closest-replicas (0.1s) PASSED txntest_test.TestStaleReadAllCombinations/with_DC_label/closest-replicas/AS_OF_TIMESTAMP_sees_both_rows_(using_secondTime) (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_DC_label/closest-replicas/AS_OF_TIMESTAMP_sees_only_first_row (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_DC_label/closest-replicas/SET_TRANSACTION (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_DC_label/closest-replicas/SET_TRANSACTION_then_BEGIN (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_DC_label/closest-replicas/START_TRANSACTION_READ_ONLY_AS_OF (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_DC_label/closest-replicas/external_ts_read (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_DC_label/closest-replicas/tidb_read_staleness (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_DC_label/closest-replicas/tidb_snapshot (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_DC_label/follower (0.1s) PASSED txntest_test.TestStaleReadAllCombinations/with_DC_label/follower/AS_OF_TIMESTAMP_sees_both_rows_(using_secondTime) (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_DC_label/follower/AS_OF_TIMESTAMP_sees_only_first_row (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_DC_label/follower/SET_TRANSACTION (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_DC_label/follower/SET_TRANSACTION_then_BEGIN (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_DC_label/follower/START_TRANSACTION_READ_ONLY_AS_OF (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_DC_label/follower/external_ts_read (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_DC_label/follower/tidb_read_staleness (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_DC_label/follower/tidb_snapshot (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_DC_label/leader (0.1s) PASSED txntest_test.TestStaleReadAllCombinations/with_DC_label/leader/AS_OF_TIMESTAMP_sees_both_rows_(using_secondTime) (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_DC_label/leader/AS_OF_TIMESTAMP_sees_only_first_row (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_DC_label/leader/SET_TRANSACTION (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_DC_label/leader/SET_TRANSACTION_then_BEGIN (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_DC_label/leader/START_TRANSACTION_READ_ONLY_AS_OF (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_DC_label/leader/external_ts_read (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_DC_label/leader/tidb_read_staleness (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_DC_label/leader/tidb_snapshot (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Rack_label (0.2s) PASSED txntest_test.TestStaleReadAllCombinations/with_Rack_label/closest-adaptive (0.1s) PASSED txntest_test.TestStaleReadAllCombinations/with_Rack_label/closest-adaptive/AS_OF_TIMESTAMP_sees_both_rows_(using_secondTime) (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Rack_label/closest-adaptive/AS_OF_TIMESTAMP_sees_only_first_row (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Rack_label/closest-adaptive/SET_TRANSACTION (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Rack_label/closest-adaptive/SET_TRANSACTION_then_BEGIN (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Rack_label/closest-adaptive/START_TRANSACTION_READ_ONLY_AS_OF (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Rack_label/closest-adaptive/external_ts_read (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Rack_label/closest-adaptive/tidb_read_staleness (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Rack_label/closest-adaptive/tidb_snapshot (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Rack_label/closest-replicas (0.1s) PASSED txntest_test.TestStaleReadAllCombinations/with_Rack_label/closest-replicas/AS_OF_TIMESTAMP_sees_both_rows_(using_secondTime) (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Rack_label/closest-replicas/AS_OF_TIMESTAMP_sees_only_first_row (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Rack_label/closest-replicas/SET_TRANSACTION (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Rack_label/closest-replicas/SET_TRANSACTION_then_BEGIN (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Rack_label/closest-replicas/START_TRANSACTION_READ_ONLY_AS_OF (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Rack_label/closest-replicas/external_ts_read (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Rack_label/closest-replicas/tidb_read_staleness (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Rack_label/closest-replicas/tidb_snapshot (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Rack_label/follower (0.1s) PASSED txntest_test.TestStaleReadAllCombinations/with_Rack_label/follower/AS_OF_TIMESTAMP_sees_both_rows_(using_secondTime) (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Rack_label/follower/AS_OF_TIMESTAMP_sees_only_first_row (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Rack_label/follower/SET_TRANSACTION (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Rack_label/follower/SET_TRANSACTION_then_BEGIN (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Rack_label/follower/START_TRANSACTION_READ_ONLY_AS_OF (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Rack_label/follower/external_ts_read (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Rack_label/follower/tidb_read_staleness (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Rack_label/follower/tidb_snapshot (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Rack_label/leader (0.1s) PASSED txntest_test.TestStaleReadAllCombinations/with_Rack_label/leader/AS_OF_TIMESTAMP_sees_both_rows_(using_secondTime) (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Rack_label/leader/AS_OF_TIMESTAMP_sees_only_first_row (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Rack_label/leader/SET_TRANSACTION (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Rack_label/leader/SET_TRANSACTION_then_BEGIN (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Rack_label/leader/START_TRANSACTION_READ_ONLY_AS_OF (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Rack_label/leader/external_ts_read (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Rack_label/leader/tidb_read_staleness (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Rack_label/leader/tidb_snapshot (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Zone_label (0.2s) PASSED txntest_test.TestStaleReadAllCombinations/with_Zone_label/closest-adaptive (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Zone_label/closest-adaptive/AS_OF_TIMESTAMP_sees_both_rows_(using_secondTime) (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Zone_label/closest-adaptive/AS_OF_TIMESTAMP_sees_only_first_row (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Zone_label/closest-adaptive/SET_TRANSACTION (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Zone_label/closest-adaptive/SET_TRANSACTION_then_BEGIN (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Zone_label/closest-adaptive/START_TRANSACTION_READ_ONLY_AS_OF (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Zone_label/closest-adaptive/external_ts_read (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Zone_label/closest-adaptive/tidb_read_staleness (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Zone_label/closest-adaptive/tidb_snapshot (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Zone_label/closest-replicas (0.1s) PASSED txntest_test.TestStaleReadAllCombinations/with_Zone_label/closest-replicas/AS_OF_TIMESTAMP_sees_both_rows_(using_secondTime) (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Zone_label/closest-replicas/AS_OF_TIMESTAMP_sees_only_first_row (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Zone_label/closest-replicas/SET_TRANSACTION (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Zone_label/closest-replicas/SET_TRANSACTION_then_BEGIN (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Zone_label/closest-replicas/START_TRANSACTION_READ_ONLY_AS_OF (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Zone_label/closest-replicas/external_ts_read (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Zone_label/closest-replicas/tidb_read_staleness (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Zone_label/closest-replicas/tidb_snapshot (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Zone_label/follower (0.1s) PASSED txntest_test.TestStaleReadAllCombinations/with_Zone_label/follower/AS_OF_TIMESTAMP_sees_both_rows_(using_secondTime) (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Zone_label/follower/AS_OF_TIMESTAMP_sees_only_first_row (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Zone_label/follower/SET_TRANSACTION (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Zone_label/follower/SET_TRANSACTION_then_BEGIN (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Zone_label/follower/START_TRANSACTION_READ_ONLY_AS_OF (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Zone_label/follower/external_ts_read (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Zone_label/follower/tidb_read_staleness (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Zone_label/follower/tidb_snapshot (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Zone_label/leader (0.1s) PASSED txntest_test.TestStaleReadAllCombinations/with_Zone_label/leader/AS_OF_TIMESTAMP_sees_both_rows_(using_secondTime) (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Zone_label/leader/AS_OF_TIMESTAMP_sees_only_first_row (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Zone_label/leader/SET_TRANSACTION (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Zone_label/leader/SET_TRANSACTION_then_BEGIN (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Zone_label/leader/START_TRANSACTION_READ_ONLY_AS_OF (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Zone_label/leader/external_ts_read (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Zone_label/leader/tidb_read_staleness (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_Zone_label/leader/tidb_snapshot (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_multiple_labels (0.2s) PASSED txntest_test.TestStaleReadAllCombinations/with_multiple_labels/closest-adaptive (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_multiple_labels/closest-adaptive/AS_OF_TIMESTAMP_sees_both_rows_(using_secondTime) (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_multiple_labels/closest-adaptive/AS_OF_TIMESTAMP_sees_only_first_row (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_multiple_labels/closest-adaptive/SET_TRANSACTION (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_multiple_labels/closest-adaptive/SET_TRANSACTION_then_BEGIN (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_multiple_labels/closest-adaptive/START_TRANSACTION_READ_ONLY_AS_OF (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_multiple_labels/closest-adaptive/external_ts_read (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_multiple_labels/closest-adaptive/tidb_read_staleness (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_multiple_labels/closest-adaptive/tidb_snapshot (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_multiple_labels/closest-replicas (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_multiple_labels/closest-replicas/AS_OF_TIMESTAMP_sees_both_rows_(using_secondTime) (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_multiple_labels/closest-replicas/AS_OF_TIMESTAMP_sees_only_first_row (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_multiple_labels/closest-replicas/SET_TRANSACTION (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_multiple_labels/closest-replicas/SET_TRANSACTION_then_BEGIN (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_multiple_labels/closest-replicas/START_TRANSACTION_READ_ONLY_AS_OF (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_multiple_labels/closest-replicas/external_ts_read (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_multiple_labels/closest-replicas/tidb_read_staleness (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_multiple_labels/closest-replicas/tidb_snapshot (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_multiple_labels/follower (0.1s) PASSED txntest_test.TestStaleReadAllCombinations/with_multiple_labels/follower/AS_OF_TIMESTAMP_sees_both_rows_(using_secondTime) (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_multiple_labels/follower/AS_OF_TIMESTAMP_sees_only_first_row (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_multiple_labels/follower/SET_TRANSACTION (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_multiple_labels/follower/SET_TRANSACTION_then_BEGIN (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_multiple_labels/follower/START_TRANSACTION_READ_ONLY_AS_OF (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_multiple_labels/follower/external_ts_read (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_multiple_labels/follower/tidb_read_staleness (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_multiple_labels/follower/tidb_snapshot (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_multiple_labels/leader (0.1s) PASSED txntest_test.TestStaleReadAllCombinations/with_multiple_labels/leader/AS_OF_TIMESTAMP_sees_both_rows_(using_secondTime) (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_multiple_labels/leader/AS_OF_TIMESTAMP_sees_only_first_row (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_multiple_labels/leader/SET_TRANSACTION (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_multiple_labels/leader/SET_TRANSACTION_then_BEGIN (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_multiple_labels/leader/START_TRANSACTION_READ_ONLY_AS_OF (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_multiple_labels/leader/external_ts_read (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_multiple_labels/leader/tidb_read_staleness (0.0s) PASSED txntest_test.TestStaleReadAllCombinations/with_multiple_labels/leader/tidb_snapshot (0.0s) PASSED txntest_test.TestStaleReadCompatibility (4.7s) PASSED txntest_test.TestStaleReadFutureTime (0.4s) PASSED txntest_test.TestStaleReadKVRequest (3.9s) PASSED txntest_test.TestStaleReadNoBackoff (1.4s) PASSED txntest_test.TestStaleReadNoExtraTSORequest (3.4s) PASSED txntest_test.TestStaleReadPrepare (3.1s) PASSED txntest_test.TestStaleSelect (1.5s) PASSED txntest_test.TestStaleSessionQuery (2.4s) PASSED txntest_test.TestStaleTSO (1.6s) PASSED txntest_test.TestStalenessAndHistoryRead (1.6s) PASSED txntest_test.TestStalenessTransactionSchemaVer (0.9s) PASSED txntest_test.TestStatementErrorInTransaction (0.7s) PASSED txntest_test.TestStmtCtxStaleFlag (2.7s) PASSED txntest_test.TestTimeBoundedStalenessTxn (0.7s) PASSED txntest_test.TestTxnEntrySizeLimit (13.0s) PASSED txntest_test.TestTxnGoString (0.6s) PASSED txntest_test.TestTxnInfoWithPSProtocol (0.8s) PASSED txntest_test.TestTxnInfoWithPreparedStmt (0.7s) PASSED txntest_test.TestTxnInfoWithScalarSubquery (0.8s) PASSED txntest_test.TestTxnScopeAndValidateReadTs (1.6s) PASSED txntest_test.TestValidateReadOnlyInStalenessTransaction (3.6s) PASSED txntest_test.TestWriteConflictMessage (0.8s) Test cases: finished with 243 passing and 0 failing out of 243 test cases Executed 1 out of 1 test: 1 test passes.  [Pipeline] } [Pipeline] // dir Post stage [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] junit Recording test results None of the test reports contained any result [Checks API] No suitable checks publisher found. [Pipeline] } [Pipeline] // dir [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { No test report files were found. Configuration error? [Pipeline] script [Pipeline] { [Pipeline] sh [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,582 / 4,583] Testing //tests/realtikvtest/brietest:brietest_test; 161s remote-cache, linux-sandbox [4,571 / 4,572] Testing //tests/realtikvtest/addindextest:addindextest_test; 101s remote-cache, linux-sandbox ./t/ddl/reorg_partition.test: ok! 212 test cases passed, take time 31.029789783 s ./t/ddl/resource_group.test: ok! 16 test cases passed, take time 0.076342151 s ./t/ddl/sequence.test: ok! 268 test cases passed, take time 2.969020704 s ./t/ddl/serial.test: ok! 77 test cases passed, take time 0.785349103 s ./t/ddl/table_modify.test: ok! 47 test cases passed, take time 0.398236749 s ./t/executor/adapter.test: ok! 6 test cases passed, take time 0.020135967 s [4,573 / 4,574] Testing //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test; 101s remote-cache, linux-sandbox FAIL: //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test (see /home/jenkins/.tidb/tmp/903aa8c667333396b92cebbde26882dc/execroot/__main__/bazel-out/k8-fastbuild/testlogs/tests/realtikvtest/pipelineddmltest/pipelineddmltest_test/test_attempts/attempt_1.log) [4,573 / 4,574] Testing //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test; 116s remote-cache, linux-sandbox [4,573 / 4,574] Testing //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test; 0s remote-cache, linux-sandbox [4,750 / 4,751] Testing //tests/realtikvtest/importintotest:importintotest_test; 101s remote-cache, linux-sandbox ./t/executor/admin.test: ok! 171 test cases passed, take time 24.686650384 s ./t/executor/aggregate.test: ok! 885 test cases passed, take time 6.547445453 s [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: 322.532s, Critical Path: 304.62s INFO: 4580 processes: 4485 remote cache hit, 13 internal, 82 linux-sandbox. INFO: Build completed successfully, 4580 total actions //tests/realtikvtest/brietest:brietest_test PASSED in 218.6s PASSED brietest_test.TestBackupAndRestore (10.3s) PASSED brietest_test.TestCancel (1.3s) PASSED brietest_test.TestExistedTables (9.1s) PASSED brietest_test.TestExistedTablesOfIncremental (20.0s) PASSED brietest_test.TestExistedTablesOfIncremental_1 (11.5s) PASSED brietest_test.TestExistedTablesOfIncremental_2 (11.0s) PASSED brietest_test.TestFailure (0.0s) PASSED brietest_test.TestForCoverage (0.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.3s) PASSED brietest_test.TestPiTRAndFailureRestore (19.3s) PASSED brietest_test.TestPiTRAndIncrementalRestore (8.4s) PASSED brietest_test.TestPiTRAndManyBackups (31.6s) PASSED brietest_test.TestPiTRAndRestoreFromMid (31.7s) PASSED brietest_test.TestPiTRPauseMessage (3.8s) PASSED brietest_test.TestRestoreMultiTables (15.5s) PASSED brietest_test.TestShowBackupQuery (5.8s) PASSED brietest_test.TestShowBackupQueryRedact (1.3s) Test cases: finished with 21 passing and 0 failing out of 21 test cases Executed 1 out of 1 test: 1 test passes.  [Pipeline] } [Pipeline] // dir Post stage [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] junit Recording test results None of the test reports contained any result [Checks API] No suitable checks publisher found. [Pipeline] } [Pipeline] // dir [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] sh No test report files were found. Configuration error? [Pipeline] } [4,571 / 4,572] Testing //tests/realtikvtest/addindextest:addindextest_test; 161s remote-cache, linux-sandbox [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/analyze.test: ok! 180 test cases passed, take time 12.714767728 s ./t/executor/autoid.test: ok! 458 test cases passed, take time 3.187932573 s ./t/executor/batch_point_get.test: ok! 85 test cases passed, take time 0.500762656 s ./t/executor/charset.test: ok! 214 test cases passed, take time 1.089361566 s ./t/executor/chunk_reuse.test: ok! 93 test cases passed, take time 0.151292605 s ./t/executor/cluster_table.test: ok! 36 test cases passed, take time 0.153338346 s ./t/executor/compact_table.test: ok! 19 test cases passed, take time 0.142029279 s ./t/executor/cte.test: ok! 133 test cases passed, take time 0.778327382 s [4,573 / 4,574] Testing //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test; 45s remote-cache, linux-sandbox ./t/executor/ddl.test: ok! 359 test cases passed, take time 11.505398372 s ./t/executor/delete.test: ok! 91 test cases passed, take time 0.608757066 s ./t/executor/distsql.test: ok! 61 test cases passed, take time 0.801099044 s [4,750 / 4,751] Testing //tests/realtikvtest/importintotest:importintotest_test; 161s remote-cache, linux-sandbox ./t/executor/executor.test: ok! 1951 test cases passed, take time 27.375252903 s ./t/executor/executor_txn.test: ok! 121 test cases passed, take time 0.230144212 s ./t/executor/expand.test: ok! 71 test cases passed, take time 0.473417969 s ./t/executor/explain.test: ok! 120 test cases passed, take time 0.757770725 s ./t/executor/explainfor.test: ok! 376 test cases passed, take time 1.298079563 s [4,571 / 4,572] Testing //tests/realtikvtest/addindextest:addindextest_test; 221s remote-cache, linux-sandbox ./t/executor/foreign_key.test: ok! 318 test cases passed, take time 7.773093167 s ./t/executor/grant.test: ok! 209 test cases passed, take time 1.4285748059999999 s ./t/executor/import_into.test: ok! 99 test cases passed, take time 0.170705057 s ./t/executor/index_lookup_join.test: ok! 190 test cases passed, take time 1.913934518 s ./t/executor/index_lookup_merge_join.test: ok! 83 test cases passed, take time 1.074759865 s ./t/executor/index_merge_reader.test: ok! 244 test cases passed, take time 5.993455912 s ./t/executor/infoschema_reader.test: ok! 220 test cases passed, take time 4.371850308 s [4,573 / 4,574] Testing //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test; 105s remote-cache, linux-sandbox FLAKY: //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test (Summary) /home/jenkins/.tidb/tmp/903aa8c667333396b92cebbde26882dc/execroot/__main__/bazel-out/k8-fastbuild/testlogs/tests/realtikvtest/pipelineddmltest/pipelineddmltest_test/test_attempts/attempt_1.log INFO: From Testing //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test: ==================== Test output for //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test: === RUN TestVariable [2025/04/04 12:45:32.676 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 12:45:32.676 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 12:45:32.677 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437819270443114] [2025/04/04 12:45:32.678 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:45:32.678 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 12:45:32.678 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:45:32.678 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:45:32.678 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:45:32.679 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:45:32.679 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:45:32.679 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:45:32.684 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 12:45:32.691 +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/04 12:45:32.691 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:45:32.692 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:45:32.715 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/04 12:45:32.715 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/04 12:45:32.720 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/04 12:45:32.720 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/04 12:45:32.730 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/04 12:45:32.749 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489437819270443114] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 12:45:32.771 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 12:45:32.805 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=879] ["lease id"=3eaa9600d42f935a] [2025/04/04 12:45:32.807 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/04 12:45:32.814 +00:00] [WARN] [domain.go:318] ["failed to get schema version"] [error="There is no Write MVCC info for the schema version"] [errorVerbose="There is no Write MVCC info for the schema version\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:448\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:316\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init\n\tpkg/domain/domain.go:1506\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).getWithEtcdClient.func1\n\tpkg/session/tidb.go:104\ngithub.com/pingcap/tidb/pkg/util.RunWithRetry\n\tpkg/util/misc.go:72\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).getWithEtcdClient\n\tpkg/session/tidb.go:91\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).Get\n\tpkg/session/tidb.go:66\ngithub.com/pingcap/tidb/pkg/session.createSessionWithOpt\n\tpkg/session/session.go:3794\ngithub.com/pingcap/tidb/pkg/session.createSession\n\tpkg/session/session.go:3786\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3722\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3477\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestVariable\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:35\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [version=0] [2025/04/04 12:45:32.922 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=0] ["elapsed time"=107.838944ms] [2025/04/04 12:45:32.922 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 12:45:32.924 +00:00] [INFO] [ddl.go:964] ["change job version in use"] [category=ddl] [old=v1] [new=v2] [2025/04/04 12:45:32.924 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=49499e2a-1740-4acd-805e-567f42fa1c06] [runWorker=true] [jobVersion=v2] [2025/04/04 12:45:32.924 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 12:45:32.926 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=49499e2a-1740-4acd-805e-567f42fa1c06] [2025/04/04 12:45:32.928 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 12:45:32.929 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 217597337600/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 12:45:32.929 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:45:32.929 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:45:32.929 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:45:32.929 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:45:32.929 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:45:32.929 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:45:32.929 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:45:32.929 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:45:32.929 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:45:32.929 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 12:45:32.929 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:45:32.929 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 12:45:32.929 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=a262d425-3bae-4700-bda6-095f95ee3740] [2025/04/04 12:45:32.930 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319600d42f9ff3] [ownerID=49499e2a-1740-4acd-805e-567f42fa1c06] [op=none] [2025/04/04 12:45:32.930 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=49499e2a-1740-4acd-805e-567f42fa1c06] [2025/04/04 12:45:32.931 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=49499e2a-1740-4acd-805e-567f42fa1c06] [ownerKey=/tidb/ddl/fg/owner/22319600d42f9ff3] [currRev=94] [2025/04/04 12:45:32.932 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 12:45:32.932 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:45:32.932 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=a262d425-3bae-4700-bda6-095f95ee3740] [daemon-id=LogBackup::Advancer] [2025/04/04 12:45:32.933 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/22319600d42f9ff6] [ownerID=a262d425-3bae-4700-bda6-095f95ee3740] [op=none] [2025/04/04 12:45:32.933 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=a262d425-3bae-4700-bda6-095f95ee3740] [2025/04/04 12:45:32.933 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319600d42f9ff3] [ownerID=49499e2a-1740-4acd-805e-567f42fa1c06] [op=none] [2025/04/04 12:45:32.933 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=a262d425-3bae-4700-bda6-095f95ee3740] [ownerKey=/tidb/br-stream/owner/22319600d42f9ff6] [currRev=95] [2025/04/04 12:45:32.933 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=49499e2a-1740-4acd-805e-567f42fa1c06] [op=none] [2025/04/04 12:45:32.933 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 12:45:32.936 +00:00] [WARN] [domain.go:318] ["failed to get schema version"] [error="There is no Write MVCC info for the schema version"] [errorVerbose="There is no Write MVCC info for the schema version\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:448\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:316\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/ddl.(*jobScheduler).mustReloadSchemas\n\tpkg/ddl/job_scheduler.go:455\ngithub.com/pingcap/tidb/pkg/ddl.(*jobScheduler).schedule\n\tpkg/ddl/job_scheduler.go:301\ngithub.com/pingcap/tidb/pkg/ddl.(*jobScheduler).scheduleLoop\n\tpkg/ddl/job_scheduler.go:268\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [version=0] [2025/04/04 12:45:32.951 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE IF NOT EXISTS test"] [2025/04/04 12:45:32.951 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:32.957 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=3] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:32.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.095 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=1] ["elapsed time"=124.423794ms] [2025/04/04 12:45:33.096 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 12:45:33.101 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:33.101 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1] [2025/04/04 12:45:33.103 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=1] ["take time"=134.213279ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:32.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.117 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=3] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:32.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.131 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=3] [2025/04/04 12:45:33.132 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2025/04/04 12:45:33.133 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2025/04/04 12:45:33.137 +00:00] [INFO] [helper.go:189] ["set random timezone for getStmtTimestamp"] [timezone=Europe/Berlin] [2025/04/04 12:45:33.162 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.097 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:33.162 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.097 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_reuse_history smallint unsigned DEFAULT NULL,\n\t\tPassword_reuse_time smallint unsigned DEFAULT NULL,\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPassword_expired\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_last_changed\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP(),\n\t\tPassword_lifetime\t\tSMALLINT UNSIGNED DEFAULT NULL,\n\t\tMax_user_connections \tINT UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (Host, User),\n\t\tKEY i_user (User));"] [2025/04/04 12:45:33.171 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=5] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.097 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.225 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=1] [neededSchemaVersion=2] ["elapsed time"=7.504711ms] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:33.229 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:33.229 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2] [2025/04/04 12:45:33.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=2] ["take time"=14.554892ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.097 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.249 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=5] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.097 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.281 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=5] [2025/04/04 12:45:33.281 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=2] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_reuse_history smallint unsigned DEFAULT NULL,\n\t\tPassword_reuse_time smallint unsigned DEFAULT NULL,\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPassword_expired\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_last_changed\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP(),\n\t\tPassword_lifetime\t\tSMALLINT UNSIGNED DEFAULT NULL,\n\t\tMax_user_connections \tINT UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (Host, User),\n\t\tKEY i_user (User));"] [user=] [2025/04/04 12:45:33.296 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.247 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:33.296 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.247 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.password_history (\n Host char(255) NOT NULL DEFAULT '',\n User char(32) NOT NULL DEFAULT '',\n Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n Password text,\n PRIMARY KEY (Host,User,Password_timestamp )\n ) COMMENT='Password history for user accounts' "] [2025/04/04 12:45:33.301 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=7] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.247 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.321 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=2] [neededSchemaVersion=3] ["elapsed time"=2.068583ms] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:33.324 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:33.324 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3] [2025/04/04 12:45:33.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=3] ["take time"=9.024703ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.247 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.337 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=7] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.247 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.350 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=7] [2025/04/04 12:45:33.351 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=3] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.password_history (\n Host char(255) NOT NULL DEFAULT '',\n User char(32) NOT NULL DEFAULT '',\n Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n Password text,\n PRIMARY KEY (Host,User,Password_timestamp )\n ) COMMENT='Password history for user accounts' "] [user=] [2025/04/04 12:45:33.364 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:33.364 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User),KEY i_user (User))"] [2025/04/04 12:45:33.370 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=9] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.388 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=3] [neededSchemaVersion=4] ["elapsed time"=2.074706ms] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:33.392 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:33.392 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4] [2025/04/04 12:45:33.393 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=4] ["take time"=8.967971ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.404 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=9] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.417 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=9] [2025/04/04 12:45:33.417 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=4] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User),KEY i_user (User))"] [user=] [2025/04/04 12:45:33.438 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:33.438 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User),\n\t\tKEY i_user (User));"] [2025/04/04 12:45:33.445 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=11] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.483 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=4] [neededSchemaVersion=5] ["elapsed time"=4.452803ms] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:33.487 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:33.487 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5] [2025/04/04 12:45:33.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=5] ["take time"=11.385095ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.502 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=11] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.521 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=11] [2025/04/04 12:45:33.522 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=5] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User),\n\t\tKEY i_user (User));"] [user=] [2025/04/04 12:45:33.536 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:33.536 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name),\n\t\tKEY i_user (User));"] [2025/04/04 12:45:33.543 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=13] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.565 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=5] [neededSchemaVersion=6] ["elapsed time"=2.583023ms] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:33.568 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:33.568 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6] [2025/04/04 12:45:33.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=6] ["take time"=8.929812ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.580 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=13] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.594 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=13] [2025/04/04 12:45:33.595 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=6] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name),\n\t\tKEY i_user (User));"] [user=] [2025/04/04 12:45:33.608 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.597 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:33.608 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.597 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tColumn_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name),\n\t\tKEY i_user (User));"] [2025/04/04 12:45:33.614 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=15] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.597 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.634 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=6] [neededSchemaVersion=7] ["elapsed time"=2.3697ms] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:33.637 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:33.637 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7] [2025/04/04 12:45:33.639 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=7] ["take time"=8.831424ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.597 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.650 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=15] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.597 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.663 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=15] [2025/04/04 12:45:33.663 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=7] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tColumn_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name),\n\t\tKEY i_user (User));"] [user=] [2025/04/04 12:45:33.675 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:33.675 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(16383) DEFAULT NULL);"] [2025/04/04 12:45:33.680 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=17] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.697 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=7] [neededSchemaVersion=8] ["elapsed time"=1.58577ms] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:33.700 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:33.700 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8] [2025/04/04 12:45:33.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=8] ["take time"=8.089587ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.711 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=17] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.722 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=17] [2025/04/04 12:45:33.723 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=8] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(16383) DEFAULT NULL);"] [user=] [2025/04/04 12:45:33.735 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:33.735 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [2025/04/04 12:45:33.743 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=19] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.760 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=8] [neededSchemaVersion=9] ["elapsed time"=1.90729ms] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:33.763 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:33.763 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9] [2025/04/04 12:45:33.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=9] ["take time"=8.697411ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.775 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=19] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.786 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=19] [2025/04/04 12:45:33.787 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=9] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [user=] [2025/04/04 12:45:33.800 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.747 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:33.800 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.747 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [2025/04/04 12:45:33.806 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=21] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.747 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.826 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=9] [neededSchemaVersion=10] ["elapsed time"=2.296516ms] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:33.829 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:33.829 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10] [2025/04/04 12:45:33.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=10] ["take time"=9.221241ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.747 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.841 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=21] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.747 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.854 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=21] [2025/04/04 12:45:33.854 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=10] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [user=] [2025/04/04 12:45:33.868 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:33.868 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [2025/04/04 12:45:33.873 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=23] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.893 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=10] [neededSchemaVersion=11] ["elapsed time"=2.143754ms] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:33.896 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:33.896 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11] [2025/04/04 12:45:33.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=11] ["take time"=8.917221ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.908 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=23] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.921 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=23] [2025/04/04 12:45:33.921 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=11] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [user=] [2025/04/04 12:45:33.923 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl] [2025/04/04 12:45:33.930 +00:00] [WARN] [runaway.go:85] ["failed to start runaway manager loop, please check whether the bootstrap or update is finished"] [error="[schema:1146]Table 'mysql.tidb_runaway_watch' doesn't exist"] [errorVerbose="[schema:1146]Table 'mysql.tidb_runaway_watch' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternalStmt\n\tpkg/session/session.go:2019\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1984\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1970\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1974\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.ExecRCRestrictedSQL\n\tpkg/resourcegroup/runaway/record.go:382\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*systemTableReader).Read\n\tpkg/resourcegroup/runaway/syncer.go:192\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.getRunawayWatchRecord\n\tpkg/resourcegroup/runaway/syncer.go:76\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*syncer).getWatchRecord\n\tpkg/resourcegroup/runaway/syncer.go:67\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*syncer).getNewWatchRecords\n\tpkg/resourcegroup/runaway/syncer.go:59\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*Manager).UpdateNewAndDoneWatch\n\tpkg/resourcegroup/runaway/manager.go:402\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).runawayStartLoop\n\tpkg/domain/runaway.go:75\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:45:33.937 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:33.937 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [2025/04/04 12:45:33.943 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=25] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.969 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=11] [neededSchemaVersion=12] ["elapsed time"=3.300304ms] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:33.972 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:33.972 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12] [2025/04/04 12:45:33.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=12] ["take time"=9.777888ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:33.987 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=25] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.003 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=25] [2025/04/04 12:45:34.003 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=12] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2025/04/04 12:45:34.018 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:34.018 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [2025/04/04 12:45:34.024 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=27] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.046 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=12] [neededSchemaVersion=13] ["elapsed time"=2.624717ms] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:34.049 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:34.049 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13] [2025/04/04 12:45:34.051 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=13] ["take time"=9.532088ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:33.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.063 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=27] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:33.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.077 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=27] [2025/04/04 12:45:34.078 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=13] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [user=] [2025/04/04 12:45:34.092 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [2025/04/04 12:45:34.092 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:34.097 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=29] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.117 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=13] [neededSchemaVersion=14] ["elapsed time"=2.128472ms] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:34.121 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:34.121 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14] [2025/04/04 12:45:34.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=14] ["take time"=9.254036ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.133 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=29] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.146 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=29] [2025/04/04 12:45:34.147 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=14] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [user=] [2025/04/04 12:45:34.164 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.147 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:34.164 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.147 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [2025/04/04 12:45:34.170 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=31] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.147 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.190 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=14] [neededSchemaVersion=15] ["elapsed time"=2.053331ms] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:34.193 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:34.193 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15] [2025/04/04 12:45:34.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=15] ["take time"=9.263563ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.147 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.206 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=31] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.147 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.218 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=31] [2025/04/04 12:45:34.219 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=15] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [user=] [2025/04/04 12:45:34.231 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.197 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:34.231 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.197 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [2025/04/04 12:45:34.237 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=33] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.197 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.255 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=15] [neededSchemaVersion=16] ["elapsed time"=1.933487ms] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:34.258 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:34.258 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16] [2025/04/04 12:45:34.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=16] ["take time"=8.59515ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.197 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.270 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=33] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.197 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.282 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=33] [2025/04/04 12:45:34.283 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=16] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [user=] [2025/04/04 12:45:34.296 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.247 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:34.296 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.247 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [2025/04/04 12:45:34.302 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=35] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.247 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.321 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=16] [neededSchemaVersion=17] ["elapsed time"=2.181217ms] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:34.324 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:34.324 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17] [2025/04/04 12:45:34.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=17] ["take time"=8.689677ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.247 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.337 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=35] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.247 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.349 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=35] [2025/04/04 12:45:34.349 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=17] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [user=] [2025/04/04 12:45:34.362 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.347 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:34.363 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.347 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER),\n\t\tKEY i_user (USER))"] [2025/04/04 12:45:34.368 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=37] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.347 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.387 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=17] [neededSchemaVersion=18] ["elapsed time"=2.269062ms] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:34.390 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:34.390 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18] [2025/04/04 12:45:34.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=18] ["take time"=8.803463ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.347 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.403 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=37] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.347 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.415 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=37] [2025/04/04 12:45:34.416 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=18] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER),\n\t\tKEY i_user (USER))"] [user=] [2025/04/04 12:45:34.432 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:34.432 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql LONGTEXT NOT NULL,\n\t\tbind_sql LONGTEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tsql_digest varchar(64) DEFAULT NULL,\n\t\tplan_digest varchar(64) DEFAULT NULL,\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\",\n\t\tUNIQUE INDEX digest_index(plan_digest, sql_digest) COMMENT \"avoid duplicated records\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2025/04/04 12:45:34.438 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=39] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.464 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=18] [neededSchemaVersion=19] ["elapsed time"=3.030838ms] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:34.467 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:34.467 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19] [2025/04/04 12:45:34.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=19] ["take time"=9.790541ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.481 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=39] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.497 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=39] [2025/04/04 12:45:34.498 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=19] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql LONGTEXT NOT NULL,\n\t\tbind_sql LONGTEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tsql_digest varchar(64) DEFAULT NULL,\n\t\tplan_digest varchar(64) DEFAULT NULL,\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\",\n\t\tUNIQUE INDEX digest_index(plan_digest, sql_digest) COMMENT \"avoid duplicated records\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2025/04/04 12:45:34.517 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:34.517 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [2025/04/04 12:45:34.523 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=41] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.542 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=19] [neededSchemaVersion=20] ["elapsed time"=2.067503ms] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:34.545 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:34.545 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20] [2025/04/04 12:45:34.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=20] ["take time"=8.387025ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.557 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=41] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.569 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=41] [2025/04/04 12:45:34.570 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=20] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2025/04/04 12:45:34.582 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.547 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:34.582 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.547 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [2025/04/04 12:45:34.588 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=43] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.547 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.604 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=20] [neededSchemaVersion=21] ["elapsed time"=1.733062ms] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:34.607 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:34.607 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21] [2025/04/04 12:45:34.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=21] ["take time"=8.2237ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.547 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.618 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=43] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.547 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.629 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=43] [2025/04/04 12:45:34.630 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=21] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [user=] [2025/04/04 12:45:34.641 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.597 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:34.641 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.597 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [2025/04/04 12:45:34.646 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=45] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.597 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.660 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=21] [neededSchemaVersion=22] ["elapsed time"=1.244283ms] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:34.663 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:34.663 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22] [2025/04/04 12:45:34.665 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=22] ["take time"=7.529014ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.597 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.674 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=45] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.597 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.684 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=45] [2025/04/04 12:45:34.684 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=22] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [user=] [2025/04/04 12:45:34.685 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/04 12:45:34.698 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:34.698 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [2025/04/04 12:45:34.704 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=47] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.725 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=22] [neededSchemaVersion=23] ["elapsed time"=2.515157ms] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:34.728 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:34.729 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23] [2025/04/04 12:45:34.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=23] ["take time"=9.182159ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.741 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=47] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.755 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=47] [2025/04/04 12:45:34.755 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=23] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [user=] [2025/04/04 12:45:34.768 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:34.768 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [2025/04/04 12:45:34.775 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=49] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.796 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=23] [neededSchemaVersion=24] ["elapsed time"=2.076389ms] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:34.800 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:34.800 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24] [2025/04/04 12:45:34.801 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=24] ["take time"=8.903306ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.812 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=49] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.825 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=49] [2025/04/04 12:45:34.825 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=24] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2025/04/04 12:45:34.839 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:34.839 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV),\n\t\tKEY i_user (USER)\n\t);"] [2025/04/04 12:45:34.844 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=51] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.867 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=24] [neededSchemaVersion=25] ["elapsed time"=2.140421ms] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:34.870 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:34.871 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25] [2025/04/04 12:45:34.872 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=25] ["take time"=9.485129ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.882 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=51] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.895 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=51] [2025/04/04 12:45:34.895 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=25] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV),\n\t\tKEY i_user (USER)\n\t);"] [user=] [2025/04/04 12:45:34.908 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:34.908 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [2025/04/04 12:45:34.913 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=53] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.928 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/04 12:45:34.929 +00:00] [WARN] [info.go:562] ["response not 200"] [method=GET] [host=127.0.0.1:2382] [url=/pd/api/v1/config/rule_group/tiflash] ["http status"=404] [2025/04/04 12:45:34.933 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=25] [neededSchemaVersion=26] ["elapsed time"=1.856836ms] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:34.937 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:34.937 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26] [2025/04/04 12:45:34.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=26] ["take time"=8.867572ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.950 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=53] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:34.962 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=53] [2025/04/04 12:45:34.963 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=26] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [user=] [2025/04/04 12:45:34.976 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:34.976 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [2025/04/04 12:45:34.981 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=55] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.000 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=26] [neededSchemaVersion=27] ["elapsed time"=2.088875ms] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:35.003 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:35.004 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27] [2025/04/04 12:45:35.005 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=27] ["take time"=8.716804ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.015 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=55] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.027 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=55] [2025/04/04 12:45:35.028 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=27] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [user=] [2025/04/04 12:45:35.041 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:35.041 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [2025/04/04 12:45:35.046 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=57] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.064 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=27] [neededSchemaVersion=28] ["elapsed time"=1.837769ms] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:35.068 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:35.068 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28] [2025/04/04 12:45:35.069 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=28] ["take time"=8.514475ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:34.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.079 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=57] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:34.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.092 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=57] [2025/04/04 12:45:35.092 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=28] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [user=] [2025/04/04 12:45:35.093 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl] [2025/04/04 12:45:35.106 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:35.106 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [2025/04/04 12:45:35.112 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=59] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:35.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.131 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=28] [neededSchemaVersion=29] ["elapsed time"=2.211982ms] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:35.135 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:35.135 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29] [2025/04/04 12:45:35.137 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=29] ["take time"=9.10096ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.147 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=59] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:35.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.160 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=59] [2025/04/04 12:45:35.161 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=29] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [user=] [2025/04/04 12:45:35.175 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.147 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:35.175 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.147 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [2025/04/04 12:45:35.180 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=61] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:35.147 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.202 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=29] [neededSchemaVersion=30] ["elapsed time"=2.379294ms] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:35.205 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:35.205 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30] [2025/04/04 12:45:35.207 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=30] ["take time"=9.623885ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.147 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.218 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=61] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:35.147 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.231 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=61] [2025/04/04 12:45:35.232 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=30] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2025/04/04 12:45:35.246 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.197 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:35.246 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.197 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [2025/04/04 12:45:35.252 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=63] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:35.197 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.274 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=30] [neededSchemaVersion=31] ["elapsed time"=2.488909ms] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:35.278 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:35.278 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31] [2025/04/04 12:45:35.280 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=31] ["take time"=9.723994ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.197 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.291 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=63] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:35.197 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.305 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=63] [2025/04/04 12:45:35.305 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=31] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2025/04/04 12:45:35.322 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.298 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:35.322 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.298 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time),\n\t\tINDEX idx_schema_table_state (table_schema, table_name, state),\n\t\tINDEX idx_schema_table_partition_state (table_schema, table_name, partition_name, state)\n\t);"] [2025/04/04 12:45:35.329 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=65] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:35.298 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.357 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=31] [neededSchemaVersion=32] ["elapsed time"=3.426592ms] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:35.360 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:35.360 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32] [2025/04/04 12:45:35.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=32] ["take time"=10.416275ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.298 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.375 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=65] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:35.298 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.393 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=65] [2025/04/04 12:45:35.394 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=32] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time),\n\t\tINDEX idx_schema_table_state (table_schema, table_name, state),\n\t\tINDEX idx_schema_table_partition_state (table_schema, table_name, partition_name, state)\n\t);"] [user=] [2025/04/04 12:45:35.406 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:35.406 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [2025/04/04 12:45:35.411 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=67] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:35.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.426 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=32] [neededSchemaVersion=33] ["elapsed time"=1.635334ms] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:35.430 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:35.430 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33] [2025/04/04 12:45:35.431 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=33] ["take time"=8.411528ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.441 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=67] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:35.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.452 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=67] [2025/04/04 12:45:35.452 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=33] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [user=] [2025/04/04 12:45:35.469 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.447 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:35.469 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.447 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE OR REPLACE SQL SECURITY INVOKER VIEW mysql.tidb_mdl_view as (\n\t\tSELECT tidb_mdl_info.job_id,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.schema_name\")) as db_name,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.table_name\")) as table_name,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.query\")) as query,\n\t\t\tsession_id,\n\t\t\tcluster_tidb_trx.start_time,\n\t\t\ttidb_decode_sql_digests(all_sql_digests, 4096) AS SQL_DIGESTS\n\t\tFROM mysql.tidb_ddl_job,\n\t\t\tmysql.tidb_mdl_info,\n\t\t\tinformation_schema.cluster_tidb_trx\n\t\tWHERE tidb_ddl_job.job_id=tidb_mdl_info.job_id\n\t\t\tAND CONCAT(',', tidb_mdl_info.table_ids, ',') REGEXP CONCAT(',(', REPLACE(cluster_tidb_trx.related_table_ids, ',', '|'), '),') != 0\n\t);"] [2025/04/04 12:45:35.475 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=69] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:35.447 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.498 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=33] [neededSchemaVersion=34] ["elapsed time"=2.269246ms] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2025/04/04 12:45:35.501 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:35.501 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34] [2025/04/04 12:45:35.503 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=34] ["take time"=9.334769ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.447 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.514 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=69] [job="ID:69, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:35.447 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.528 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=69] [2025/04/04 12:45:35.543 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:35.543 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [2025/04/04 12:45:35.548 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=71] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:35.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.569 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=34] [neededSchemaVersion=35] ["elapsed time"=2.225048ms] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:35.573 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:35.573 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35] [2025/04/04 12:45:35.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=35] ["take time"=9.553699ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.586 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=71] [job="ID:71, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:35.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.600 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=71] [2025/04/04 12:45:35.600 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=35] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [user=] [2025/04/04 12:45:35.615 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.597 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [2025/04/04 12:45:35.615 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.597 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:35.621 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=73] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:35.597 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.644 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=35] [neededSchemaVersion=36] ["elapsed time"=1.917115ms] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:35.647 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:35.647 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36] [2025/04/04 12:45:35.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=36] ["take time"=8.971693ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.597 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.660 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=73] [job="ID:73, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:35.597 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.672 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=73] [2025/04/04 12:45:35.672 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=36] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [user=] [2025/04/04 12:45:35.685 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:35.685 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [2025/04/04 12:45:35.693 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=75] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:35.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.711 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=36] [neededSchemaVersion=37] ["elapsed time"=1.829955ms] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:35.714 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:35.714 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37] [2025/04/04 12:45:35.716 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=37] ["take time"=8.486691ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.726 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=75] [job="ID:75, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:35.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.738 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=75] [2025/04/04 12:45:35.738 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=37] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [user=] [2025/04/04 12:45:35.755 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:35.755 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [2025/04/04 12:45:35.762 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=77] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:35.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.791 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=37] [neededSchemaVersion=38] ["elapsed time"=3.424306ms] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:35.794 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:35.795 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38] [2025/04/04 12:45:35.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=38] ["take time"=10.19444ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.809 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=77] [job="ID:77, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:35.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.827 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=77] [2025/04/04 12:45:35.827 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=38] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [user=] [2025/04/04 12:45:35.843 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:35.843 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [2025/04/04 12:45:35.849 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=79] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:35.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.875 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=38] [neededSchemaVersion=39] ["elapsed time"=3.119544ms] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:35.878 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:35.878 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39] [2025/04/04 12:45:35.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=39] ["take time"=9.710896ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.892 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=79] [job="ID:79, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:35.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.908 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=79] [2025/04/04 12:45:35.908 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=39] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [user=] [2025/04/04 12:45:35.924 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:35.925 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [2025/04/04 12:45:35.931 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=81] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:35.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.959 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=39] [neededSchemaVersion=40] ["elapsed time"=3.545766ms] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:35.962 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:35.962 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40] [2025/04/04 12:45:35.963 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=40] ["take time"=10.224978ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.976 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=81] [job="ID:81, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:35.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:35.993 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=81] [2025/04/04 12:45:35.993 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=40] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [user=] [2025/04/04 12:45:36.010 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:36.010 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [2025/04/04 12:45:36.017 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=83] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:35.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.047 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=40] [neededSchemaVersion=41] ["elapsed time"=3.731573ms] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:36.050 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:36.050 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41] [2025/04/04 12:45:36.052 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=41] ["take time"=10.325447ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:35.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.064 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=83] [job="ID:83, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:35.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.082 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=83] [2025/04/04 12:45:36.083 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=41] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2025/04/04 12:45:36.100 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:36.100 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task_history (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [2025/04/04 12:45:36.106 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=85] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:36.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.136 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=41] [neededSchemaVersion=42] ["elapsed time"=3.735284ms] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:36.139 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:36.139 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42] [2025/04/04 12:45:36.141 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=42] ["take time"=10.422515ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.154 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=85] [job="ID:85, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:36.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.171 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=85] [2025/04/04 12:45:36.171 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=42] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task_history (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2025/04/04 12:45:36.188 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:36.188 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_import_jobs (\n\t\tid bigint(64) NOT NULL AUTO_INCREMENT,\n\t\tcreate_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n\t\tstart_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tupdate_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tend_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\ttable_schema VARCHAR(64) NOT NULL,\n\t\ttable_name VARCHAR(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcreated_by VARCHAR(300) NOT NULL,\n\t\tparameters text NOT NULL,\n\t\tsource_file_size bigint(64) NOT NULL,\n\t\tstatus VARCHAR(64) NOT NULL,\n\t\tstep VARCHAR(64) NOT NULL,\n\t\tsummary text DEFAULT NULL,\n\t\terror_message TEXT DEFAULT NULL,\n\t\tPRIMARY KEY (id),\n\t\tKEY (created_by),\n\t\tKEY (status));"] [2025/04/04 12:45:36.194 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=87] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:36.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.221 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=42] [neededSchemaVersion=43] ["elapsed time"=3.409895ms] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:36.224 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:36.224 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43] [2025/04/04 12:45:36.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=43] ["take time"=9.965345ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.238 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=87] [job="ID:87, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:36.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.254 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=87] [2025/04/04 12:45:36.255 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=43] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_import_jobs (\n\t\tid bigint(64) NOT NULL AUTO_INCREMENT,\n\t\tcreate_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n\t\tstart_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tupdate_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tend_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\ttable_schema VARCHAR(64) NOT NULL,\n\t\ttable_name VARCHAR(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcreated_by VARCHAR(300) NOT NULL,\n\t\tparameters text NOT NULL,\n\t\tsource_file_size bigint(64) NOT NULL,\n\t\tstatus VARCHAR(64) NOT NULL,\n\t\tstep VARCHAR(64) NOT NULL,\n\t\tsummary text DEFAULT NULL,\n\t\terror_message TEXT DEFAULT NULL,\n\t\tPRIMARY KEY (id),\n\t\tKEY (created_by),\n\t\tKEY (status));"] [user=] [2025/04/04 12:45:36.270 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.248 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:36.270 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.248 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tINDEX sql_index(resource_group_name,watch_text(700)) COMMENT \"accelerate the speed when select quarantined query\",\n\t\tINDEX time_index(end_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2025/04/04 12:45:36.276 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=89] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:36.248 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.300 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=43] [neededSchemaVersion=44] ["elapsed time"=2.804259ms] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:36.303 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:36.303 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44] [2025/04/04 12:45:36.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=44] ["take time"=9.393973ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.248 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.317 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=89] [job="ID:89, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:36.248 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.332 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=89] [2025/04/04 12:45:36.332 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=44] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tINDEX sql_index(resource_group_name,watch_text(700)) COMMENT \"accelerate the speed when select quarantined query\",\n\t\tINDEX time_index(end_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2025/04/04 12:45:36.348 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.298 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:36.348 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.298 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time TIMESTAMP NOT NULL,\n\t\trepeats int default 1,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(64) NOT NULL,\n\t\tsample_sql TEXT NOT NULL,\n\t\tsql_digest varchar(64) NOT NULL,\n\t\tplan_digest varchar(64) NOT NULL,\n\t\ttidb_server varchar(512),\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(start_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2025/04/04 12:45:36.354 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=91] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:36.298 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.378 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=44] [neededSchemaVersion=45] ["elapsed time"=2.762244ms] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:36.381 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:36.381 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45] [2025/04/04 12:45:36.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=45] ["take time"=9.644706ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.298 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.395 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=91] [job="ID:91, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:36.298 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.410 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=91] [2025/04/04 12:45:36.410 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=45] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time TIMESTAMP NOT NULL,\n\t\trepeats int default 1,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(64) NOT NULL,\n\t\tsample_sql TEXT NOT NULL,\n\t\tsql_digest varchar(64) NOT NULL,\n\t\tplan_digest varchar(64) NOT NULL,\n\t\ttidb_server varchar(512),\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(start_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2025/04/04 12:45:36.433 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:36.433 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS `mysql`.`tidb_timers` (\n\t\tID BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tNAMESPACE VARCHAR(256) NOT NULL,\n\t\tTIMER_KEY VARCHAR(256) NOT NULL,\n\t\tTIMER_DATA BLOB,\n\t\tTIMEZONE VARCHAR(64) NOT NULL,\n\t\tSCHED_POLICY_TYPE VARCHAR(32) NOT NULL,\n\t\tSCHED_POLICY_EXPR VARCHAR(256) NOT NULL,\n\t\tHOOK_CLASS VARCHAR(64) NOT NULL,\n\t\tWATERMARK TIMESTAMP DEFAULT NULL,\n\t\tENABLE TINYINT(2) NOT NULL,\n\t\tTIMER_EXT JSON NOT NULL,\n\t\tEVENT_STATUS VARCHAR(32) NOT NULL,\n\t\tEVENT_ID VARCHAR(64) NOT NULL,\n\t\tEVENT_DATA BLOB,\n\t\tEVENT_START TIMESTAMP DEFAULT NULL,\n\t\tSUMMARY_DATA BLOB,\n\t\tCREATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\tUPDATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tVERSION BIGINT(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (ID),\n\t\tUNIQUE KEY timer_key(NAMESPACE, TIMER_KEY),\n\t\tKEY hook_class(HOOK_CLASS)\n\t)"] [2025/04/04 12:45:36.440 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=93] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:36.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.470 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=45] [neededSchemaVersion=46] ["elapsed time"=3.850975ms] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:36.473 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:36.473 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46] [2025/04/04 12:45:36.475 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=46] ["take time"=11.040822ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.489 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=93] [job="ID:93, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:36.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.508 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=93] [2025/04/04 12:45:36.508 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=46] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS `mysql`.`tidb_timers` (\n\t\tID BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tNAMESPACE VARCHAR(256) NOT NULL,\n\t\tTIMER_KEY VARCHAR(256) NOT NULL,\n\t\tTIMER_DATA BLOB,\n\t\tTIMEZONE VARCHAR(64) NOT NULL,\n\t\tSCHED_POLICY_TYPE VARCHAR(32) NOT NULL,\n\t\tSCHED_POLICY_EXPR VARCHAR(256) NOT NULL,\n\t\tHOOK_CLASS VARCHAR(64) NOT NULL,\n\t\tWATERMARK TIMESTAMP DEFAULT NULL,\n\t\tENABLE TINYINT(2) NOT NULL,\n\t\tTIMER_EXT JSON NOT NULL,\n\t\tEVENT_STATUS VARCHAR(32) NOT NULL,\n\t\tEVENT_ID VARCHAR(64) NOT NULL,\n\t\tEVENT_DATA BLOB,\n\t\tEVENT_START TIMESTAMP DEFAULT NULL,\n\t\tSUMMARY_DATA BLOB,\n\t\tCREATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\tUPDATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tVERSION BIGINT(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (ID),\n\t\tUNIQUE KEY timer_key(NAMESPACE, TIMER_KEY),\n\t\tKEY hook_class(HOOK_CLASS)\n\t)"] [user=] [2025/04/04 12:45:36.523 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:36.523 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch_done (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\trecord_id BIGINT(20) not null,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2025/04/04 12:45:36.529 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=95] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:36.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.553 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=46] [neededSchemaVersion=47] ["elapsed time"=2.803553ms] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:36.557 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:36.557 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47] [2025/04/04 12:45:36.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=47] ["take time"=9.799239ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.570 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=95] [job="ID:95, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:36.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.585 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=95] [2025/04/04 12:45:36.586 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=47] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch_done (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\trecord_id BIGINT(20) not null,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2025/04/04 12:45:36.598 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:36.598 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.dist_framework_meta (\n host VARCHAR(261) NOT NULL PRIMARY KEY,\n role VARCHAR(64),\n cpu_count int default 0,\n keyspace_id bigint(8) NOT NULL DEFAULT -1\n );"] [2025/04/04 12:45:36.604 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=97] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:36.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.622 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=47] [neededSchemaVersion=48] ["elapsed time"=1.910117ms] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:36.625 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:36.625 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48] [2025/04/04 12:45:36.627 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=48] ["take time"=8.621518ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.638 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=97] [job="ID:97, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:36.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.650 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=97] [2025/04/04 12:45:36.650 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=48] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.dist_framework_meta (\n host VARCHAR(261) NOT NULL PRIMARY KEY,\n role VARCHAR(64),\n cpu_count int default 0,\n keyspace_id bigint(8) NOT NULL DEFAULT -1\n );"] [user=] [2025/04/04 12:45:36.663 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:36.663 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.request_unit_by_group (\n\t\tstart_time TIMESTAMP(6) NOT NULL,\n\t\tend_time TIMESTAMP(6) NOT NULL,\n\t\tresource_group VARCHAR(32) NOT null,\n\t\ttotal_ru bigint(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (start_time, end_time, resource_group),\n\t\tKEY (resource_group)\n\t);"] [2025/04/04 12:45:36.668 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=99] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:36.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.688 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=48] [neededSchemaVersion=49] ["elapsed time"=2.189302ms] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:36.691 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:36.691 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49] [2025/04/04 12:45:36.693 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=49] ["take time"=9.68584ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.702 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=99] [job="ID:99, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:36.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.714 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=99] [2025/04/04 12:45:36.715 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=49] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.request_unit_by_group (\n\t\tstart_time TIMESTAMP(6) NOT NULL,\n\t\tend_time TIMESTAMP(6) NOT NULL,\n\t\tresource_group VARCHAR(32) NOT null,\n\t\ttotal_ru bigint(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (start_time, end_time, resource_group),\n\t\tKEY (resource_group)\n\t);"] [user=] [2025/04/04 12:45:36.716 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(524288) to MEDIUMBLOB"] [category=ddl] [2025/04/04 12:45:36.728 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.697 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:36.728 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.697 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_pitr_id_map (\n\t\trestored_ts BIGINT NOT NULL,\n\t\tupstream_cluster_id BIGINT NOT NULL,\n\t\tsegment_id BIGINT NOT NULL,\n\t\tid_map BLOB(524288) NOT NULL,\n\t\tupdate_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (restored_ts, upstream_cluster_id, segment_id));"] [2025/04/04 12:45:36.734 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=101] [job="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:36.697 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.753 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=49] [neededSchemaVersion=50] ["elapsed time"=2.037294ms] [gotSchemaVersion=50] [phyTblIDs="[100]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:36.756 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:36.756 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50] [2025/04/04 12:45:36.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=50] ["take time"=8.510848ms] [job="ID:101, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:100, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.697 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.768 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=101] [job="ID:101, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:100, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:36.697 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.781 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=101] [2025/04/04 12:45:36.781 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=50] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_pitr_id_map (\n\t\trestored_ts BIGINT NOT NULL,\n\t\tupstream_cluster_id BIGINT NOT NULL,\n\t\tsegment_id BIGINT NOT NULL,\n\t\tid_map BLOB(524288) NOT NULL,\n\t\tupdate_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (restored_ts, upstream_cluster_id, segment_id));"] [user=] [2025/04/04 12:45:36.793 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:103, Type:create schema, State:queueing, SchemaState:none, SchemaID:102, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.747 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:36.793 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:103, Type:create schema, State:queueing, SchemaState:none, SchemaID:102, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.747 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE IF NOT EXISTS sys;"] [2025/04/04 12:45:36.798 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=103] [job="ID:103, Type:create schema, State:queueing, SchemaState:none, SchemaID:102, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:36.747 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.810 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=50] [neededSchemaVersion=51] ["elapsed time"=664.165µs] [gotSchemaVersion=51] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 12:45:36.813 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:36.813 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51] [2025/04/04 12:45:36.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=51] ["take time"=7.323564ms] [job="ID:103, Type:create schema, State:done, SchemaState:public, SchemaID:102, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.747 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.823 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=103] [job="ID:103, Type:create schema, State:synced, SchemaState:public, SchemaID:102, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:36.747 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.833 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=103] [2025/04/04 12:45:36.833 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=51] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS sys;"] [user=] [2025/04/04 12:45:36.846 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:105, Type:create view, State:queueing, SchemaState:none, SchemaID:102, TableID:104, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:36.846 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:105, Type:create view, State:queueing, SchemaState:none, SchemaID:102, TableID:104, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE OR REPLACE VIEW sys.schema_unused_indexes AS\n\t\tSELECT\n\t\t\ttable_schema as object_schema,\n\t\t\ttable_name as object_name,\n\t\t\tindex_name\n\t\tFROM information_schema.cluster_tidb_index_usage\n\t\tWHERE\n\t\t\ttable_schema not in ('sys', 'mysql', 'INFORMATION_SCHEMA', 'PERFORMANCE_SCHEMA') and\n\t\t\tindex_name != 'PRIMARY'\n\t\tGROUP BY table_schema, table_name, index_name\n\t\tHAVING\n\t\t\tsum(last_access_time) is null;"] [2025/04/04 12:45:36.852 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=105] [job="ID:105, Type:create view, State:queueing, SchemaState:none, SchemaID:102, TableID:104, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:36.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.870 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=51] [neededSchemaVersion=52] ["elapsed time"=1.821781ms] [gotSchemaVersion=52] [phyTblIDs="[104]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2025/04/04 12:45:36.874 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:36.874 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=105] [version=52] [2025/04/04 12:45:36.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=52] ["take time"=8.579947ms] [job="ID:105, Type:create view, State:done, SchemaState:public, SchemaID:102, TableID:104, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.886 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=105] [job="ID:105, Type:create view, State:synced, SchemaState:public, SchemaID:102, TableID:104, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:36.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.897 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=105] [2025/04/04 12:45:36.913 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:106, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:36.913 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:106, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.index_advisor_results (\n id bigint primary key not null auto_increment,\n created_at datetime not null,\n updated_at datetime not null,\n\n schema_name varchar(64) not null,\n table_name varchar(64) not null,\n index_name varchar(127) not null,\n index_columns varchar(500) not null COMMENT 'split by \",\", e.g. \"c1\", \"c1,c2\", \"c1,c2,c3,c4,c5\"',\n\n index_details json, -- est_index_size, reason, DDL to create this index, ...\n top_impacted_queries json, -- improvement, plan before and after this index, ...\n workload_impact json, -- improvement and more details, ...\n extra json, -- for the cloud env to save more info like RU, cost_saving, ...\n index idx_create(created_at),\n index idx_update(updated_at),\n unique index idx(schema_name, table_name, index_columns));"] [2025/04/04 12:45:36.919 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=107] [job="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:106, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:36.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.937 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/04 12:45:36.937 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 12:45:36.937 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 12:45:36.937 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:45:36.944 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=52] [neededSchemaVersion=53] ["elapsed time"=3.085206ms] [gotSchemaVersion=53] [phyTblIDs="[106]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:36.948 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:36.948 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=107] [version=53] [2025/04/04 12:45:36.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=53] ["take time"=9.619363ms] [job="ID:107, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:106, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.962 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=107] [job="ID:107, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:106, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:36.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:36.977 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=107] [2025/04/04 12:45:36.978 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=53] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.index_advisor_results (\n id bigint primary key not null auto_increment,\n created_at datetime not null,\n updated_at datetime not null,\n\n schema_name varchar(64) not null,\n table_name varchar(64) not null,\n index_name varchar(127) not null,\n index_columns varchar(500) not null COMMENT 'split by \",\", e.g. \"c1\", \"c1,c2\", \"c1,c2,c3,c4,c5\"',\n\n index_details json, -- est_index_size, reason, DDL to create this index, ...\n top_impacted_queries json, -- improvement, plan before and after this index, ...\n workload_impact json, -- improvement and more details, ...\n extra json, -- for the cloud env to save more info like RU, cost_saving, ...\n index idx_create(created_at),\n index idx_update(updated_at),\n unique index idx(schema_name, table_name, index_columns));"] [user=] [2025/04/04 12:45:36.991 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:108, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:36.991 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:108, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_kernel_options (\n module varchar(128),\n name varchar(128),\n value varchar(128),\n updated_at datetime,\n status varchar(128),\n description text,\n primary key(module, name));"] [2025/04/04 12:45:36.997 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=109] [job="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:108, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:36.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:37.016 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=53] [neededSchemaVersion=54] ["elapsed time"=2.127132ms] [gotSchemaVersion=54] [phyTblIDs="[108]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:37.019 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:37.019 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=109] [version=54] [2025/04/04 12:45:37.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=54] ["take time"=8.944343ms] [job="ID:109, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:108, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:36.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:37.031 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=109] [job="ID:109, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:108, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:36.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:37.044 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=109] [2025/04/04 12:45:37.045 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=54] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_kernel_options (\n module varchar(128),\n name varchar(128),\n value varchar(128),\n updated_at datetime,\n status varchar(128),\n description text,\n primary key(module, name));"] [user=] [2025/04/04 12:45:37.058 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:111, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:110, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:37.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:37.058 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:111, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:110, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:37.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_workload_values (\n\t\tid bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tversion bigint(20) NOT NULL,\n\t\tcategory varchar(64) NOT NULL,\n\t\ttype varchar(64) NOT NULL,\n\t\ttable_id bigint(20) NOT NULL,\n\t\tvalue json NOT NULL,\n\t\tindex idx_version_category_type (version, category, type),\n\t\tindex idx_table_id (table_id));"] [2025/04/04 12:45:37.064 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=111] [job="ID:111, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:110, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:37.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:37.084 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=54] [neededSchemaVersion=55] ["elapsed time"=2.282656ms] [gotSchemaVersion=55] [phyTblIDs="[110]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:37.087 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:37.087 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=111] [version=55] [2025/04/04 12:45:37.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=55] ["take time"=8.806999ms] [job="ID:111, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:110, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:37.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:37.099 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=111] [job="ID:111, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:110, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:37.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:37.113 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=111] [2025/04/04 12:45:37.113 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=55] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_workload_values (\n\t\tid bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tversion bigint(20) NOT NULL,\n\t\tcategory varchar(64) NOT NULL,\n\t\ttype varchar(64) NOT NULL,\n\t\ttable_id bigint(20) NOT NULL,\n\t\tvalue json NOT NULL,\n\t\tindex idx_version_category_type (version, category, type),\n\t\tindex idx_table_id (table_id));"] [user=] [2025/04/04 12:45:37.260 +00:00] [INFO] [bootstrap.go:823] ["bootstrap successful"] ["take time"=4.327899125s] [2025/04/04 12:45:37.263 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 12:45:37.263 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=49499e2a-1740-4acd-805e-567f42fa1c06] [] [2025/04/04 12:45:37.263 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 12:45:37.263 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=49499e2a-1740-4acd-805e-567f42fa1c06] [2025/04/04 12:45:37.263 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:45:37.263 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:45:37.263 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 6, tp general"] ["take time"=64.974µs] [2025/04/04 12:45:37.263 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 7, tp general"] ["take time"=37.854µs] [2025/04/04 12:45:37.264 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 8, tp general"] ["take time"=36.945µs] [2025/04/04 12:45:37.264 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 9, tp general"] ["take time"=33.437µs] [2025/04/04 12:45:37.264 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 10, tp general"] ["take time"=25.101µs] [2025/04/04 12:45:37.264 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 1, tp general"] ["take time"=26.503µs] [2025/04/04 12:45:37.264 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 2, tp general"] ["take time"=35.684µs] [2025/04/04 12:45:37.264 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 3, tp general"] ["take time"=28.046µs] [2025/04/04 12:45:37.264 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 4, tp general"] ["take time"=25.182µs] [2025/04/04 12:45:37.264 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 5, tp general"] ["take time"=44.9µs] [2025/04/04 12:45:37.264 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=49499e2a-1740-4acd-805e-567f42fa1c06] [2025/04/04 12:45:37.264 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=49499e2a-1740-4acd-805e-567f42fa1c06] [2025/04/04 12:45:37.266 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 12:45:37.266 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 12:45:37.274 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=49499e2a-1740-4acd-805e-567f42fa1c06] ["take time"=11.432867ms] [2025/04/04 12:45:37.274 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=49499e2a-1740-4acd-805e-567f42fa1c06] [2025/04/04 12:45:37.276 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=879] [2025/04/04 12:45:37.276 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 12:45:37.276 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:45:37.276 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 12:45:37.276 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 12:45:37.276 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 12:45:37.276 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=a262d425-3bae-4700-bda6-095f95ee3740] [] [2025/04/04 12:45:37.276 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 12:45:37.276 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:45:37.276 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:45:37.276 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 12:45:37.276 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:45:37.276 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=a262d425-3bae-4700-bda6-095f95ee3740] [2025/04/04 12:45:37.276 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 12:45:37.276 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:45:37.276 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=a262d425-3bae-4700-bda6-095f95ee3740] [2025/04/04 12:45:37.276 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=a262d425-3bae-4700-bda6-095f95ee3740] [2025/04/04 12:45:37.278 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 12:45:37.278 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=a262d425-3bae-4700-bda6-095f95ee3740] [daemon-id=LogBackup::Advancer] [2025/04/04 12:45:37.278 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 12:45:37.278 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:45:37.278 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:45:37.278 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 12:45:37.278 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 12:45:37.278 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:45:37.282 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=18.938162ms] [2025/04/04 12:45:37.282 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489437819270443114] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 12:45:37.293 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 12:45:37.329 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1409] ["lease id"=22319600d42fa061] [2025/04/04 12:45:37.331 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/04 12:45:37.449 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=55] ["elapsed time"=116.148023ms] [2025/04/04 12:45:37.450 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 12:45:37.458 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=49499e2a-1740-4acd-805e-567f42fa1c06] [runWorker=true] [jobVersion=v2] [2025/04/04 12:45:37.458 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 12:45:37.460 +00:00] [INFO] [manager.go:294] ["start campaign owner with existing session"] [key=/tidb/ddl/fg/owner] [id=49499e2a-1740-4acd-805e-567f42fa1c06] [lease=22319600d42f9ff3] [2025/04/04 12:45:37.460 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 12:45:37.460 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 217597411328/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 12:45:37.461 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:45:37.461 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:45:37.461 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:45:37.461 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:45:37.461 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:45:37.461 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:45:37.461 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:45:37.461 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:45:37.461 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:45:37.461 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 12:45:37.461 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:45:37.461 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 12:45:37.461 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=d8c38472-2721-49b3-a1d9-e953ac49a05f] [2025/04/04 12:45:37.463 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319600d42f9ff3] [ownerID=49499e2a-1740-4acd-805e-567f42fa1c06] [op=none] [2025/04/04 12:45:37.463 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=49499e2a-1740-4acd-805e-567f42fa1c06] [2025/04/04 12:45:37.463 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=49499e2a-1740-4acd-805e-567f42fa1c06] [ownerKey=/tidb/ddl/fg/owner/22319600d42f9ff3] [currRev=274] [2025/04/04 12:45:37.464 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:45:37.464 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=d8c38472-2721-49b3-a1d9-e953ac49a05f] [daemon-id=LogBackup::Advancer] [2025/04/04 12:45:37.464 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 12:45:37.464 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f189600d42f9a65] [ownerID=d8c38472-2721-49b3-a1d9-e953ac49a05f] [op=none] [2025/04/04 12:45:37.464 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=d8c38472-2721-49b3-a1d9-e953ac49a05f] [2025/04/04 12:45:37.465 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=d8c38472-2721-49b3-a1d9-e953ac49a05f] [ownerKey=/tidb/br-stream/owner/6f189600d42f9a65] [currRev=275] [2025/04/04 12:45:37.465 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319600d42f9ff3] [ownerID=49499e2a-1740-4acd-805e-567f42fa1c06] [op=none] [2025/04/04 12:45:37.465 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=49499e2a-1740-4acd-805e-567f42fa1c06] [op=none] [2025/04/04 12:45:37.465 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 12:45:37.472 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=49499e2a-1740-4acd-805e-567f42fa1c06] [2025/04/04 12:45:37.473 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:45:37.473 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 12:45:37.475 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/bindinfo/owner] ["owner key"=/tidb/bindinfo/owner/22319600d42fa069] [ownerID=49499e2a-1740-4acd-805e-567f42fa1c06] [op=none] [2025/04/04 12:45:37.475 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/bindinfo/owner] [id=49499e2a-1740-4acd-805e-567f42fa1c06] [2025/04/04 12:45:37.475 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/bindinfo/owner] [id=49499e2a-1740-4acd-805e-567f42fa1c06] [ownerKey=/tidb/bindinfo/owner/22319600d42fa069] [currRev=276] [2025/04/04 12:45:37.481 +00:00] [INFO] [sysvar.go:3019] ["set resource control"] [enable=true] [2025/04/04 12:45:37.484 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 12:45:37.484 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:45:37.490 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:45:37.498 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:45:37.498 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:45:37.498 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:45:37.498 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 12:45:37.498 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:45:37.498 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 12:45:37.498 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 12:45:37.498 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 12:45:37.498 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 12:45:37.499 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:45:37.499 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=49499e2a-1740-4acd-805e-567f42fa1c06] [2025/04/04 12:45:37.500 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:45:37.500 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:45:37.500 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:45:37.500 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:45:37.500 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:45:37.500 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 12:45:37.500 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:45:37.500 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:45:37.500 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 12:45:37.500 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:45:37.500 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=10] [2025/04/04 12:45:37.500 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:45:37.500 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:45:37.500 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:45:37.500 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:45:37.502 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/6f189600d42f9a6a] [ownerID=49499e2a-1740-4acd-805e-567f42fa1c06] [op=none] [2025/04/04 12:45:37.502 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=49499e2a-1740-4acd-805e-567f42fa1c06] [2025/04/04 12:45:37.502 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=66] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/04 12:45:37.502 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=49499e2a-1740-4acd-805e-567f42fa1c06] [ownerKey=/tidb/stats/owner/6f189600d42f9a6a] [currRev=277] [2025/04/04 12:45:37.505 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/572ece56-14fc-48d6-875f-d5b140a8ddbf] [2025/04/04 12:45:37.505 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=49499e2a-1740-4acd-805e-567f42fa1c06] [ttl-worker=task-manager] [ttl-worker=49499e2a-1740-4acd-805e-567f42fa1c06] [originalCount=0] [newCount=4] [2025/04/04 12:45:37.505 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=49499e2a-1740-4acd-805e-567f42fa1c06] [ttl-worker=task-manager] [ttl-worker=49499e2a-1740-4acd-805e-567f42fa1c06] [originalCount=0] [newCount=4] [2025/04/04 12:45:37.505 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=49499e2a-1740-4acd-805e-567f42fa1c06] [2025/04/04 12:45:37.506 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 12:45:37.513 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:45:37.513 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 12:45:37.513 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743770737513946888 [2025/04/04 12:45:37.515 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 12:45:37.523 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=23.737882ms] [2025/04/04 12:45:37.523 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 12:45:37.523 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:45:37.526 +00:00] [INFO] [set.go:172] ["set global var"] [conn=1] [name=innodb_lock_wait_timeout] [val=50] testkit.go:123: RefreshSession rand seed: 1743770737527843576 [2025/04/04 12:45:37.531 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="[expression:1305]FUNCTION test.bulk does not exist"] [errorVerbose="[expression:1305]FUNCTION test.bulk does not exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/expression.newFunctionImpl\n\tpkg/expression/scalar_function.go:238\ngithub.com/pingcap/tidb/pkg/expression.NewFunction\n\tpkg/expression/scalar_function.go:313\ngithub.com/pingcap/tidb/pkg/planner/core.(*expressionRewriter).newFunctionWithInit\n\tpkg/planner/core/expression_rewriter.go:1641\ngithub.com/pingcap/tidb/pkg/planner/core.(*expressionRewriter).newFunction\n\tpkg/planner/core/expression_rewriter.go:1651\ngithub.com/pingcap/tidb/pkg/planner/core.(*expressionRewriter).funcCallToExpression\n\tpkg/planner/core/expression_rewriter.go:2409\ngithub.com/pingcap/tidb/pkg/planner/core.(*expressionRewriter).Leave\n\tpkg/planner/core/expression_rewriter.go:1475\ngithub.com/pingcap/tidb/pkg/parser/ast.(*FuncCallExpr).Accept\n\tpkg/parser/ast/functions.go:590\ngithub.com/pingcap/tidb/pkg/planner/core.rewriteExprNode\n\tpkg/planner/core/expression_rewriter.go:300\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).rewriteWithPreprocess\n\tpkg/planner/core/expression_rewriter.go:239\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).rewrite\n\tpkg/planner/core/expression_rewriter.go:206\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).buildSet\n\tpkg/planner/core/planbuilder.go:707\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).Build\n\tpkg/planner/core/planbuilder.go:551\ngithub.com/pingcap/tidb/pkg/planner.buildLogicalPlan\n\tpkg/planner/optimize.go:547\ngithub.com/pingcap/tidb/pkg/planner.optimize\n\tpkg/planner/optimize.go:466\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:333\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:101\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecToErr\n\tpkg/testkit/testkit.go:484\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestVariable\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:46\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL="set session tidb_dml_type = bulk(10)"] [2025/04/04 12:45:37.540 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="[planner:8112]Wrong parameter count"] [errorVerbose="[planner:8112]Wrong parameter count\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.planCachePreprocess\n\tpkg/planner/core/plan_cache.go:108\ngithub.com/pingcap/tidb/pkg/planner/core.GetPlanFromPlanCache\n\tpkg/planner/core/plan_cache.go:199\ngithub.com/pingcap/tidb/pkg/planner.OptimizeExecStmt\n\tpkg/planner/optimize.go:524\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:173\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:101\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecutePreparedStmt\n\tpkg/session/session.go:2511\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:462\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecToErr\n\tpkg/testkit/testkit.go:484\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestVariable\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:102\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL=] [2025/04/04 12:45:37.541 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="[planner:8112]Wrong parameter count"] [errorVerbose="[planner:8112]Wrong parameter count\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.planCachePreprocess\n\tpkg/planner/core/plan_cache.go:108\ngithub.com/pingcap/tidb/pkg/planner/core.GetPlanFromPlanCache\n\tpkg/planner/core/plan_cache.go:199\ngithub.com/pingcap/tidb/pkg/planner.OptimizeExecStmt\n\tpkg/planner/optimize.go:524\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:173\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:101\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecutePreparedStmt\n\tpkg/session/session.go:2511\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:462\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecToErr\n\tpkg/testkit/testkit.go:484\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestVariable\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:108\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL=] [2025/04/04 12:45:37.542 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="[planner:8112]Wrong parameter count"] [errorVerbose="[planner:8112]Wrong parameter count\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.planCachePreprocess\n\tpkg/planner/core/plan_cache.go:108\ngithub.com/pingcap/tidb/pkg/planner/core.GetPlanFromPlanCache\n\tpkg/planner/core/plan_cache.go:199\ngithub.com/pingcap/tidb/pkg/planner.OptimizeExecStmt\n\tpkg/planner/optimize.go:524\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:173\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:101\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecutePreparedStmt\n\tpkg/session/session.go:2511\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:462\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecToErr\n\tpkg/testkit/testkit.go:484\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestVariable\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:112\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL=] [2025/04/04 12:45:37.542 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="[planner:8112]Wrong parameter count"] [errorVerbose="[planner:8112]Wrong parameter count\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.planCachePreprocess\n\tpkg/planner/core/plan_cache.go:108\ngithub.com/pingcap/tidb/pkg/planner/core.GetPlanFromPlanCache\n\tpkg/planner/core/plan_cache.go:199\ngithub.com/pingcap/tidb/pkg/planner.OptimizeExecStmt\n\tpkg/planner/optimize.go:524\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:173\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:101\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecutePreparedStmt\n\tpkg/session/session.go:2511\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:462\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecToErr\n\tpkg/testkit/testkit.go:484\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestVariable\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:116\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL=] [2025/04/04 12:45:37.543 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="[planner:8112]Wrong parameter count"] [errorVerbose="[planner:8112]Wrong parameter count\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.planCachePreprocess\n\tpkg/planner/core/plan_cache.go:108\ngithub.com/pingcap/tidb/pkg/planner/core.GetPlanFromPlanCache\n\tpkg/planner/core/plan_cache.go:199\ngithub.com/pingcap/tidb/pkg/planner.OptimizeExecStmt\n\tpkg/planner/optimize.go:524\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:173\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:101\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecutePreparedStmt\n\tpkg/session/session.go:2511\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:462\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecToErr\n\tpkg/testkit/testkit.go:484\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestVariable\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:118\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL=] [2025/04/04 12:45:37.543 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="[planner:8112]Wrong parameter count"] [errorVerbose="[planner:8112]Wrong parameter count\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.planCachePreprocess\n\tpkg/planner/core/plan_cache.go:108\ngithub.com/pingcap/tidb/pkg/planner/core.GetPlanFromPlanCache\n\tpkg/planner/core/plan_cache.go:199\ngithub.com/pingcap/tidb/pkg/planner.OptimizeExecStmt\n\tpkg/planner/optimize.go:524\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:173\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:101\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecutePreparedStmt\n\tpkg/session/session.go:2511\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:462\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecToErr\n\tpkg/testkit/testkit.go:484\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestVariable\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:122\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL=] [2025/04/04 12:45:37.564 +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: 1743770737564854881 [2025/04/04 12:45:37.579 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:113, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:37.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:37.579 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:113, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:37.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t(id int)"] [2025/04/04 12:45:37.584 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=113] [conn=2] [job="ID:113, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:37.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:37.588 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 112, Table Name: t)"] [2025/04/04 12:45:37.605 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=55] [neededSchemaVersion=56] ["elapsed time"=1.455879ms] [gotSchemaVersion=56] [phyTblIDs="[112]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:37.608 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=113] [version=56] [2025/04/04 12:45:37.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=56] ["take time"=8.510472ms] [job="ID:113, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:37.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:37.621 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=113] [conn=2] [job="ID:113, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:37.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:37.636 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=113] [2025/04/04 12:45:37.636 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=56] [cur_db=test] [sql="create table t(id int)"] [user=] [2025/04/04 12:45:37.646 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119036236890130] [generation=1] [session=2] [keys=1] [size=19B] ["flushed keys"=1] ["flushed size"=19B] ["take time"=927.794µs] [2025/04/04 12:45:37.646 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=1.018619ms] [total_duration=2.376047ms] ["memdb traversal cache hit"=1] ["memdb traversal cache miss"=2] [size=19B] [startTS=457119036236890130] [2025/04/04 12:45:37.647 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119036236890130] [commitTS=457119036236890131] [2025/04/04 12:45:37.647 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-commit-457119036236890130] [startKey=7480000000000000705f728000000000000001] [endKey=7480000000000000705f728000000000000001] [2025/04/04 12:45:37.647 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=0] [startTS=457119036236890130] [commitTS=457119036236890131] [session=2] [2025/04/04 12:45:37.651 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 12:45:37.651 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=49499e2a-1740-4acd-805e-567f42fa1c06] [] [2025/04/04 12:45:37.651 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 12:45:37.651 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=49499e2a-1740-4acd-805e-567f42fa1c06] [2025/04/04 12:45:37.651 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:45:37.651 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:45:37.651 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 11, tp general"] ["take time"=60.324µs] [2025/04/04 12:45:37.651 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=49499e2a-1740-4acd-805e-567f42fa1c06] [2025/04/04 12:45:37.651 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=49499e2a-1740-4acd-805e-567f42fa1c06] [2025/04/04 12:45:37.652 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 12:45:37.653 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 12:45:37.653 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=49499e2a-1740-4acd-805e-567f42fa1c06] ["take time"=2.215752ms] [2025/04/04 12:45:37.653 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=49499e2a-1740-4acd-805e-567f42fa1c06] [2025/04/04 12:45:37.653 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 12:45:37.653 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/572ece56-14fc-48d6-875f-d5b140a8ddbf] [2025/04/04 12:45:37.653 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=49499e2a-1740-4acd-805e-567f42fa1c06] [ttl-worker=task-manager] [ttl-worker=49499e2a-1740-4acd-805e-567f42fa1c06] [originalCount=4] [newCount=0] [2025/04/04 12:45:37.653 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:45:37.653 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:45:37.653 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:45:37.653 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:45:37.654 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=49499e2a-1740-4acd-805e-567f42fa1c06] [ttl-worker=task-manager] [ttl-worker=49499e2a-1740-4acd-805e-567f42fa1c06] [originalCount=4] [newCount=0] [2025/04/04 12:45:37.656 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:45:37.656 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:45:37.656 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:45:37.656 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:45:37.659 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=49499e2a-1740-4acd-805e-567f42fa1c06] [2025/04/04 12:45:37.659 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 12:45:37.659 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1409] [2025/04/04 12:45:37.660 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 12:45:37.660 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=d8c38472-2721-49b3-a1d9-e953ac49a05f] [] [2025/04/04 12:45:37.660 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 12:45:37.660 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 12:45:37.660 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:45:37.660 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=d8c38472-2721-49b3-a1d9-e953ac49a05f] [2025/04/04 12:45:37.660 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 12:45:37.660 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:45:37.660 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 12:45:37.660 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:45:37.660 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=d8c38472-2721-49b3-a1d9-e953ac49a05f] [2025/04/04 12:45:37.660 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:45:37.660 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 12:45:37.660 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 12:45:37.660 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 12:45:37.660 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:45:37.660 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 12:45:37.660 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 12:45:37.660 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:45:37.660 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 12:45:37.660 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:45:37.660 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 12:45:37.660 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 12:45:37.660 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:45:37.660 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 12:45:37.660 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:45:37.660 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 12:45:37.660 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 12:45:37.660 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 12:45:37.660 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:45:37.660 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 12:45:37.660 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:45:37.660 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:45:37.660 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:45:37.660 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 12:45:37.660 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 12:45:37.660 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:45:37.660 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:45:37.660 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:45:37.660 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 12:45:37.660 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:45:37.660 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:45:37.660 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:45:37.660 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:45:37.660 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:45:37.660 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:45:37.660 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=d8c38472-2721-49b3-a1d9-e953ac49a05f] [2025/04/04 12:45:37.660 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 12:45:37.660 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:45:37.660 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 12:45:37.660 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:45:37.660 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 12:45:37.660 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:45:37.660 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:45:37.660 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:45:37.660 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:45:37.660 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:45:37.660 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 12:45:37.660 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:45:37.660 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:45:37.660 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 12:45:37.660 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=49499e2a-1740-4acd-805e-567f42fa1c06] [] [2025/04/04 12:45:37.660 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:45:37.660 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:45:37.660 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 12:45:37.660 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:45:37.660 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:45:37.660 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:45:37.660 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:45:37.660 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:45:37.660 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:45:37.660 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:45:37.660 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:45:37.661 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=49499e2a-1740-4acd-805e-567f42fa1c06] [2025/04/04 12:45:37.661 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:45:37.661 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:45:37.661 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=49499e2a-1740-4acd-805e-567f42fa1c06] [2025/04/04 12:45:37.661 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=49499e2a-1740-4acd-805e-567f42fa1c06] [2025/04/04 12:45:37.661 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 12:45:37.661 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 12:45:37.661 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=d8c38472-2721-49b3-a1d9-e953ac49a05f] [daemon-id=LogBackup::Advancer] [2025/04/04 12:45:37.661 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:45:37.661 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 12:45:37.661 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:45:37.661 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:45:37.661 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/bindinfo/owner] [id=49499e2a-1740-4acd-805e-567f42fa1c06] [] [2025/04/04 12:45:37.661 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/bindinfo/owner] [id=49499e2a-1740-4acd-805e-567f42fa1c06] [2025/04/04 12:45:37.661 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 12:45:37.661 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/bindinfo/owner] [id=49499e2a-1740-4acd-805e-567f42fa1c06] [2025/04/04 12:45:37.661 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=49499e2a-1740-4acd-805e-567f42fa1c06] [error="context canceled"] [2025/04/04 12:45:37.662 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=49499e2a-1740-4acd-805e-567f42fa1c06] [2025/04/04 12:45:37.662 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 12:45:37.662 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 12:45:37.662 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:45:37.681 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 12:45:37.681 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:45:37.728 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=49499e2a-1740-4acd-805e-567f42fa1c06] [error="context canceled"] [2025/04/04 12:45:37.729 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 12:45:37.729 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:45:37.739 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=88.218264ms] [2025/04/04 12:45:42.648 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119036236890130 commit_ts:457119036236890131 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:45:42.648 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119036236890130 commit_ts:457119036236890131 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:45:42.648 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119036236890130 commit_ts:457119036236890131 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:45:42.648 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:45:42.648 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:45:42.648 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:45:42.648 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:45:42.648 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:45:42.648 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:45:42.648 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:45:42.648 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:42.648 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:42.648 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:42.648 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-1] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:45:42.648 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:45:42.650 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestVariable (9.99s) === NAME === RUN TestPipelinedDMLPositive [2025/04/04 12:45:42.657 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 12:45:42.658 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 12:45:42.659 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437819270443114] [2025/04/04 12:45:42.659 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:45:42.659 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 12:45:42.659 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:45:42.659 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:45:42.659 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:45:42.659 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:45:42.660 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:45:42.660 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:45:42.664 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 12:45:42.668 +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/04 12:45:42.669 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:45:42.669 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:45:42.679 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489437819270443114] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 12:45:42.688 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 12:45:42.723 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=2001] ["lease id"=6f189600d42f9a7e] [2025/04/04 12:45:42.724 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/04 12:45:42.843 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=56] ["elapsed time"=116.619957ms] [2025/04/04 12:45:42.844 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 12:45:42.847 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 12:45:42.852 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=3385573d-a1e7-40d6-acaa-084bc6e5a395] [runWorker=true] [jobVersion=v2] [2025/04/04 12:45:42.852 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 12:45:42.854 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=3385573d-a1e7-40d6-acaa-084bc6e5a395] [2025/04/04 12:45:42.856 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 12:45:42.856 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 217597407232/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 12:45:42.856 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:45:42.856 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:45:42.856 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:45:42.856 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:45:42.856 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:45:42.856 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:45:42.856 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:45:42.856 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:45:42.856 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 12:45:42.856 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:45:42.856 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:45:42.856 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 12:45:42.856 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=589f1d3a-aaa1-4d66-8df4-4ee2bce602fd] [2025/04/04 12:45:42.858 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319600d42fa088] [ownerID=3385573d-a1e7-40d6-acaa-084bc6e5a395] [op=none] [2025/04/04 12:45:42.858 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=3385573d-a1e7-40d6-acaa-084bc6e5a395] [2025/04/04 12:45:42.858 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=3385573d-a1e7-40d6-acaa-084bc6e5a395] [ownerKey=/tidb/ddl/fg/owner/22319600d42fa088] [currRev=297] [2025/04/04 12:45:42.858 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:45:42.859 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=589f1d3a-aaa1-4d66-8df4-4ee2bce602fd] [daemon-id=LogBackup::Advancer] [2025/04/04 12:45:42.859 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa9600d42f93fc] [ownerID=589f1d3a-aaa1-4d66-8df4-4ee2bce602fd] [op=none] [2025/04/04 12:45:42.860 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=589f1d3a-aaa1-4d66-8df4-4ee2bce602fd] [2025/04/04 12:45:42.859 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 12:45:42.860 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=589f1d3a-aaa1-4d66-8df4-4ee2bce602fd] [ownerKey=/tidb/br-stream/owner/3eaa9600d42f93fc] [currRev=298] [2025/04/04 12:45:42.860 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319600d42fa088] [ownerID=3385573d-a1e7-40d6-acaa-084bc6e5a395] [op=none] [2025/04/04 12:45:42.860 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=3385573d-a1e7-40d6-acaa-084bc6e5a395] [op=none] [2025/04/04 12:45:42.860 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 12:45:42.866 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=3385573d-a1e7-40d6-acaa-084bc6e5a395] [2025/04/04 12:45:42.867 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:45:42.868 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 12:45:42.877 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:45:42.883 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:45:42.890 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:45:42.890 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:45:42.890 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:45:42.890 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:45:42.890 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 12:45:42.890 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 12:45:42.890 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 12:45:42.890 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 12:45:42.890 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 12:45:42.891 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:45:42.891 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=3385573d-a1e7-40d6-acaa-084bc6e5a395] [2025/04/04 12:45:42.892 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:45:42.892 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:45:42.892 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:45:42.892 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:45:42.892 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:45:42.892 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 12:45:42.892 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:45:42.892 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:45:42.892 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 12:45:42.892 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:45:42.892 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 12:45:42.892 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:45:42.892 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:45:42.892 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:45:42.892 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:45:42.894 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/04 12:45:42.894 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/6f189600d42f9a88] [ownerID=3385573d-a1e7-40d6-acaa-084bc6e5a395] [op=none] [2025/04/04 12:45:42.894 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=3385573d-a1e7-40d6-acaa-084bc6e5a395] [2025/04/04 12:45:42.894 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=3385573d-a1e7-40d6-acaa-084bc6e5a395] [ownerKey=/tidb/stats/owner/6f189600d42f9a88] [currRev=300] [2025/04/04 12:45:42.896 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/68a14d11-c879-440a-ac4e-5b06b4b0a6c1] [2025/04/04 12:45:42.896 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=3385573d-a1e7-40d6-acaa-084bc6e5a395] [ttl-worker=task-manager] [ttl-worker=3385573d-a1e7-40d6-acaa-084bc6e5a395] [originalCount=0] [newCount=4] [2025/04/04 12:45:42.897 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=3385573d-a1e7-40d6-acaa-084bc6e5a395] [ttl-worker=task-manager] [ttl-worker=3385573d-a1e7-40d6-acaa-084bc6e5a395] [originalCount=0] [newCount=4] [2025/04/04 12:45:42.897 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=3385573d-a1e7-40d6-acaa-084bc6e5a395] [2025/04/04 12:45:42.898 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 12:45:42.902 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:45:42.902 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 12:45:42.902 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743770742902579495 [2025/04/04 12:45:42.906 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 12:45:42.914 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=22.941302ms] [2025/04/04 12:45:42.914 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 12:45:42.914 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:45:42.920 +00:00] [INFO] [set.go:172] ["set global var"] [conn=4] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 12:45:42.924 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=4] [schemaVersion=56] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/04 12:45:42.936 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:114, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:42.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`"] [2025/04/04 12:45:42.936 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:114, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:42.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:42.941 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=114] [conn=4] [job="ID:114, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:42.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:42.956 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=56] [neededSchemaVersion=57] ["elapsed time"=1.684235ms] [gotSchemaVersion=57] [phyTblIDs="[112]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:45:42.960 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=114] [version=57] [2025/04/04 12:45:42.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=57] ["take time"=8.332784ms] [job="ID:114, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:42.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:42.971 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=114] [conn=4] [job="ID:114, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:42.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:42.985 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=57] [neededSchemaVersion=58] ["elapsed time"=1.693634ms] [gotSchemaVersion=58] [phyTblIDs="[112]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:45:42.988 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=114] [version=58] [2025/04/04 12:45:42.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=58] ["take time"=8.049419ms] [job="ID:114, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:42.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:42.997 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=114] [conn=4] [job="ID:114, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:42.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:43.003 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 112, Old Table Name: t)"] [2025/04/04 12:45:43.016 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=58] [neededSchemaVersion=59] ["elapsed time"=1.162137ms] [gotSchemaVersion=59] [phyTblIDs="[112]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:45:43.020 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=114] [version=59] [2025/04/04 12:45:43.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=59] ["take time"=7.875846ms] [job="ID:114, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:42.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:43.030 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=114] [tableIDs="[112]"] [comment="drop table: table ID"] [2025/04/04 12:45:43.038 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=114] [jobType="drop table"] [2025/04/04 12:45:43.039 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=114] [conn=4] [job="ID:114, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:42.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:43.062 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=114] [2025/04/04 12:45:43.063 +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: 1743770743063338728 [2025/04/04 12:45:43.086 +00:00] [INFO] [set.go:172] ["set global var"] [conn=5] [name=tidb_schema_cache_size] [val=0] [2025/04/04 12:45:43.089 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=5] [schemaVersion=59] [cur_db=test] [sql="drop table if exists t"] [user=] [2025/04/04 12:45:43.100 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:116, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:115, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:43.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:43.101 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:116, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:115, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:43.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a int, b int)"] [2025/04/04 12:45:43.106 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=116] [conn=5] [job="ID:116, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:115, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:43.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:43.110 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 115, Table Name: t)"] [2025/04/04 12:45:43.187 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=59] [neededSchemaVersion=59] ["elapsed time"=79.023347ms] [2025/04/04 12:45:43.187 +00:00] [INFO] [domain.go:431] ["infoschema v1/v2 switch"] [2025/04/04 12:45:43.187 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 12:45:43.193 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=59] [neededSchemaVersion=60] ["elapsed time"=1.44885ms] [gotSchemaVersion=60] [phyTblIDs="[115]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:43.196 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=116] [version=60] [2025/04/04 12:45:43.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=60] ["take time"=76.927752ms] [job="ID:116, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:115, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:43.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:43.209 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=116] [conn=5] [job="ID:116, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:115, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:43.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:43.219 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=116] [2025/04/04 12:45:43.220 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=5] [schemaVersion=60] [cur_db=test] [sql="create table t (a int, b int)"] [user=] [2025/04/04 12:45:43.227 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119037704634382] [generation=1] [session=5] [keys=1] [size=33B] ["flushed keys"=1] ["flushed size"=33B] ["take time"=862.161µs] [2025/04/04 12:45:43.227 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=966.003µs] [total_duration=1.351117ms] ["memdb traversal cache hit"=2] ["memdb traversal cache miss"=2] [size=33B] [startTS=457119037704634382] [2025/04/04 12:45:43.228 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457119037704634382] [startKey=7480000000000000735f728000000000000002] [endKey=7480000000000000735f728000000000000002] [2025/04/04 12:45:43.228 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457119037704634382] [commitTS=0] [session=5] [2025/04/04 12:45:43.231 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119037704634384] [generation=1] [session=5] [keys=1] [size=33B] ["flushed keys"=1] ["flushed size"=33B] ["take time"=2.154139ms] [2025/04/04 12:45:43.231 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=2.241406ms] [total_duration=2.644969ms] ["memdb traversal cache hit"=2] ["memdb traversal cache miss"=2] [size=33B] [startTS=457119037704634384] [2025/04/04 12:45:43.232 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457119037704634384] [startKey=7480000000000000735f728000000000000003] [endKey=7480000000000000735f728000000000000003] [2025/04/04 12:45:43.232 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457119037704634384] [commitTS=0] [session=5] [2025/04/04 12:45:43.238 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119037704634386] [generation=1] [session=5] [keys=1] [size=33B] ["flushed keys"=1] ["flushed size"=33B] ["take time"=793.812µs] [2025/04/04 12:45:43.238 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=882.588µs] [total_duration=5.188743ms] ["memdb traversal cache hit"=2] ["memdb traversal cache miss"=1] [size=33B] [startTS=457119037704634386] [2025/04/04 12:45:43.239 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457119037704634386] [startKey=7480000000000000735f728000000000000001] [endKey=7480000000000000735f728000000000000001] [2025/04/04 12:45:43.239 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457119037704634386] [commitTS=0] [session=5] [2025/04/04 12:45:43.246 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119037704634388] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457119037704634386, lockForUpdateTS:0, minCommitTs:457119037704634389, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:45:43.324 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119037704634388] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457119037704634386, lockForUpdateTS:0, minCommitTs:457119037704634389, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:45:43.488 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119037704634388] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457119037704634386, lockForUpdateTS:0, minCommitTs:457119037704634389, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:45:43.707 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119037704634388] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457119037704634386, lockForUpdateTS:0, minCommitTs:457119037704634389, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:45:43.863 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/04 12:45:43.864 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 12:45:43.864 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 12:45:43.864 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:45:43.897 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/04 12:45:43.897 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/04 12:45:43.897 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/68a14d11-c879-440a-ac4e-5b06b4b0a6c1] [watcherID=8d7f3b4f-2f4a-4656-9fd9-ff72cedd1c92] [2025/04/04 12:45:43.902 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/04 12:45:43.906 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/04 12:45:43.906 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/04 12:45:43.906 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/04 12:45:43.906 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/04 12:45:44.154 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119037704634388] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457119037704634386, lockForUpdateTS:0, minCommitTs:457119037704634389, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:45:44.664 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/04 12:45:44.856 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/04 12:45: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=457119037704634388] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457119037704634386, lockForUpdateTS:0, minCommitTs:457119037704634389, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:45:45.895 +00:00] [INFO] [read.go:801] ["Table statistics item not found, possibly due to table being dropped"] [category=stats] [sampled=] [tableID=24] [indexID=1] [2025/04/04 12:45:45.895 +00:00] [INFO] [read.go:686] ["Column information not found, possibly due to column being dropped"] [category=stats] [sampled=] [tableID=30] [columnID=8] [2025/04/04 12:45:48.226 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119037704634388] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457119037704634386, lockForUpdateTS:0, minCommitTs:457119037704634389, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:45:48.227 +00:00] [INFO] [lock_resolver.go:1150] ["resolveLock rollback"] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457119037704634386, lockForUpdateTS:0, minCommitTs:457119037704634389, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:45:48.229 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119037704634388] [generation=1] [session=5] [keys=1] [size=33B] ["flushed keys"=1] ["flushed size"=33B] ["take time"=4.984003337s] [2025/04/04 12:45:48.229 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=4.984112249s] [total_duration=4.989191644s] ["memdb traversal cache hit"=2] ["memdb traversal cache miss"=1] [size=33B] [startTS=457119037704634388] [2025/04/04 12:45:48.230 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457119037704634388] [startKey=7480000000000000735f728000000000000001] [endKey=7480000000000000735f728000000000000001] [2025/04/04 12:45:48.230 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457119037704634388] [commitTS=0] [session=5] [2025/04/04 12:45:48.233 +00:00] [INFO] [lock_resolver.go:1150] ["resolveLock rollback"] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457119037704634388, lockForUpdateTS:0, minCommitTs:457119037704634389, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:45:48.235 +00:00] [INFO] [lock_resolver.go:1150] ["resolveLock rollback"] [lock="key: 7480000000000000735f728000000000000002, primary: 7480000000000000735f728000000000000002, txnStartTS: 457119037704634382, lockForUpdateTS:0, minCommitTs:457119037704634389, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:45:48.236 +00:00] [INFO] [lock_resolver.go:1150] ["resolveLock rollback"] [lock="key: 7480000000000000735f728000000000000003, primary: 7480000000000000735f728000000000000003, txnStartTS: 457119037704634384, lockForUpdateTS:0, minCommitTs:457119037704634389, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:45:48.241 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119039015616515] [generation=1] [session=5] [keys=1] [size=19B] ["flushed keys"=1] ["flushed size"=19B] ["take time"=3.978595ms] [2025/04/04 12:45:48.241 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=4.078421ms] [total_duration=9.971039ms] ["memdb traversal cache hit"=1] ["memdb traversal cache miss"=2] [size=19B] [startTS=457119039015616515] [2025/04/04 12:45:48.242 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457119039015616515] [startKey=7480000000000000735f728000000000000001] [endKey=7480000000000000735f728000000000000001] [2025/04/04 12:45:48.242 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457119039015616515] [commitTS=0] [session=5] [2025/04/04 12:45:48.246 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119039015616517] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457119039015616515, lockForUpdateTS:0, minCommitTs:457119039015616518, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:45:48.335 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119039015616517] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457119039015616515, lockForUpdateTS:0, minCommitTs:457119039015616518, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:45:48.480 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119039015616517] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457119039015616515, lockForUpdateTS:0, minCommitTs:457119039015616518, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:45:48.719 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119039015616517] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457119039015616515, lockForUpdateTS:0, minCommitTs:457119039015616518, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:45:49.213 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119039015616517] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457119039015616515, lockForUpdateTS:0, minCommitTs:457119039015616518, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:45:50.398 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119039015616517] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457119039015616515, lockForUpdateTS:0, minCommitTs:457119039015616518, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:45:53.251 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119039015616517] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457119039015616515, lockForUpdateTS:0, minCommitTs:457119039015616518, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:45:53.254 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119039015616517] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457119039015616515, lockForUpdateTS:0, minCommitTs:457119039015616518, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:45:53.257 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119039015616517] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457119039015616515, lockForUpdateTS:0, minCommitTs:457119039015616518, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:45:53.260 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119039015616517] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457119039015616515, lockForUpdateTS:0, minCommitTs:457119039015616518, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:45:53.263 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119039015616517] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457119039015616515, lockForUpdateTS:0, minCommitTs:457119039015616518, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:45:53.264 +00:00] [INFO] [lock_resolver.go:1150] ["resolveLock rollback"] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457119039015616515, lockForUpdateTS:0, minCommitTs:457119039015616518, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:45:53.266 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119039015616517] [generation=1] [session=5] [keys=1] [size=19B] ["flushed keys"=1] ["flushed size"=19B] ["take time"=5.020039992s] [2025/04/04 12:45:53.266 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=5.02014703s] [total_duration=5.02283505s] ["memdb traversal cache hit"=1] ["memdb traversal cache miss"=2] [size=19B] [startTS=457119039015616517] [2025/04/04 12:45:53.266 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457119039015616517] [startKey=7480000000000000735f728000000000000001] [endKey=7480000000000000735f728000000000000001] [2025/04/04 12:45:53.266 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457119039015616517] [commitTS=0] [session=5] [2025/04/04 12:45:53.269 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119040339443715] [generation=1] [session=5] [keys=1] [size=33B] ["flushed keys"=1] ["flushed size"=33B] ["take time"=895.564µs] [2025/04/04 12:45:53.269 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=985.642µs] [total_duration=1.455717ms] ["memdb traversal cache hit"=2] ["memdb traversal cache miss"=2] [size=33B] [startTS=457119040339443715] [2025/04/04 12:45:53.269 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457119040339443715] [startKey=7480000000000000735f728000000000000004] [endKey=7480000000000000735f728000000000000004] [2025/04/04 12:45:53.269 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457119040339443715] [commitTS=0] [session=5] [2025/04/04 12:45:53.274 +00:00] [INFO] [lock_resolver.go:1150] ["resolveLock rollback"] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457119039015616517, lockForUpdateTS:0, minCommitTs:457119039015616518, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:45:53.277 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119040339443717] [generation=1] [session=5] [keys=1] [size=33B] ["flushed keys"=1] ["flushed size"=33B] ["take time"=720.819µs] [2025/04/04 12:45:53.277 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=815.149µs] [total_duration=4.905514ms] ["memdb traversal cache hit"=2] ["memdb traversal cache miss"=1] [size=33B] [startTS=457119040339443717] [2025/04/04 12:45:53.277 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457119040339443717] [startKey=7480000000000000735f728000000000000001] [endKey=7480000000000000735f728000000000000001] [2025/04/04 12:45:53.277 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457119040339443717] [commitTS=0] [session=5] [2025/04/04 12:45:53.284 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119040339443719] [generation=1] [session=5] [keys=1] [size=33B] ["flushed keys"=1] ["flushed size"=33B] ["take time"=852.734µs] [2025/04/04 12:45:53.284 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=929.887µs] [total_duration=5.005149ms] ["memdb traversal cache hit"=2] ["memdb traversal cache miss"=2] [size=33B] [startTS=457119040339443719] [2025/04/04 12:45:53.284 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457119040339443719] [startKey=7480000000000000735f728000000000000005] [endKey=7480000000000000735f728000000000000005] [2025/04/04 12:45:53.284 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457119040339443719] [commitTS=0] [session=5] [2025/04/04 12:45:53.291 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119040339443721] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457119040339443717, lockForUpdateTS:0, minCommitTs:457119040339443722, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:45:53.386 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119040339443721] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457119040339443717, lockForUpdateTS:0, minCommitTs:457119040339443722, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:45:53.569 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119040339443721] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457119040339443717, lockForUpdateTS:0, minCommitTs:457119040339443722, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:45:53.785 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119040339443721] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457119040339443717, lockForUpdateTS:0, minCommitTs:457119040339443722, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:45:54.264 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119040339443721] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457119040339443717, lockForUpdateTS:0, minCommitTs:457119040339443722, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:45:54.858 +00:00] [INFO] [owner_daemon.go:56] ["daemon became owner"] [id=589f1d3a-aaa1-4d66-8df4-4ee2bce602fd] [daemon-id=LogBackup::Advancer] [2025/04/04 12:45:54.859 +00:00] [INFO] [advancer.go:518] ["Subscription handler spawned."] [category="log backup subscription manager"] [2025/04/04 12:45:54.859 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 12:45:55.311 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119040339443721] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457119040339443717, lockForUpdateTS:0, minCommitTs:457119040339443722, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:45:58.256 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119040339443721] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457119040339443717, lockForUpdateTS:0, minCommitTs:457119040339443722, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:45:58.308 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119040339443721] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457119040339443717, lockForUpdateTS:0, minCommitTs:457119040339443722, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:45:58.310 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119040339443721] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457119040339443717, lockForUpdateTS:0, minCommitTs:457119040339443722, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:45:58.310 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119040339443721] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457119040339443717, lockForUpdateTS:0, minCommitTs:457119040339443722, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:45:58.311 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119040339443721] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457119040339443717, lockForUpdateTS:0, minCommitTs:457119040339443722, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:45:58.312 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119040339443721] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457119040339443717, lockForUpdateTS:0, minCommitTs:457119040339443722, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:45:58.314 +00:00] [INFO] [lock_resolver.go:1150] ["resolveLock rollback"] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457119040339443717, lockForUpdateTS:0, minCommitTs:457119040339443722, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:45:58.315 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119040339443721] [generation=1] [session=5] [keys=1] [size=19B] ["flushed keys"=1] ["flushed size"=19B] ["take time"=5.024524557s] [2025/04/04 12:45:58.315 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=5.02464814s] [total_duration=5.029875678s] ["memdb traversal cache hit"=1] ["memdb traversal cache miss"=2] [size=19B] [startTS=457119040339443721] [2025/04/04 12:45:58.316 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457119040339443721] [startKey=7480000000000000735f728000000000000001] [endKey=7480000000000000735f728000000000000001] [2025/04/04 12:45:58.316 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457119040339443721] [commitTS=0] [session=5] [2025/04/04 12:45:58.347 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=5] [schemaVersion=60] [cur_db=test] [sql="create global binding for update t set b = b + 1 using update /*+ SET_VAR(tidb_dml_type=bulk) */ t set b = b + 1"] [user=] [2025/04/04 12:45:58.373 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=5] [schemaVersion=60] [cur_db=test] [sql="create global binding for insert into t select * from t using insert /*+ SET_VAR(tidb_dml_type=bulk) */ into t select * from t"] [user=] [2025/04/04 12:45:58.397 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=5] [schemaVersion=60] [cur_db=test] [sql="create global binding for delete from t using delete /*+ SET_VAR(tidb_dml_type=bulk) */ from t"] [user=] [2025/04/04 12:45:58.401 +00:00] [INFO] [lock_resolver.go:1150] ["resolveLock rollback"] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457119040339443721, lockForUpdateTS:0, minCommitTs:457119040339443722, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:45:58.402 +00:00] [INFO] [lock_resolver.go:1150] ["resolveLock rollback"] [lock="key: 7480000000000000735f728000000000000004, primary: 7480000000000000735f728000000000000004, txnStartTS: 457119040339443715, lockForUpdateTS:0, minCommitTs:457119040339443722, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:45:58.403 +00:00] [INFO] [lock_resolver.go:1150] ["resolveLock rollback"] [lock="key: 7480000000000000735f728000000000000005, primary: 7480000000000000735f728000000000000005, txnStartTS: 457119040339443719, lockForUpdateTS:0, minCommitTs:457119040339443722, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:45:58.405 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119041689485313] [generation=1] [session=5] [keys=1] [size=33B] ["flushed keys"=1] ["flushed size"=33B] ["take time"=791.206µs] [2025/04/04 12:45:58.405 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=904.754µs] [total_duration=6.492464ms] ["memdb traversal cache hit"=2] ["memdb traversal cache miss"=1] [size=33B] [startTS=457119041689485313] [2025/04/04 12:45:58.406 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457119041689485313] [startKey=7480000000000000735f728000000000000001] [endKey=7480000000000000735f728000000000000001] [2025/04/04 12:45:58.406 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457119041689485313] [commitTS=0] [session=5] pipelineddml_test.go:248: Error Trace: tests/realtikvtest/pipelineddmltest/pipelineddml_test.go:248 Error: An error is expected but got nil. Test: TestPipelinedDMLPositive Messages: insert into t select * from t [2025/04/04 12:45:58.412 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=3385573d-a1e7-40d6-acaa-084bc6e5a395] [] [2025/04/04 12:45:58.412 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=3385573d-a1e7-40d6-acaa-084bc6e5a395] [2025/04/04 12:45:58.412 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 12:45:58.414 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 12:45:58.414 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:45:58.414 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:45:58.414 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 12, tp general"] ["take time"=77.904µs] [2025/04/04 12:45:58.414 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 13, tp general"] ["take time"=72.076µs] [2025/04/04 12:45:58.414 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=3385573d-a1e7-40d6-acaa-084bc6e5a395] [2025/04/04 12:45:58.414 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=3385573d-a1e7-40d6-acaa-084bc6e5a395] [2025/04/04 12:45:58.416 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 12:45:58.416 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 12:45:58.417 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=3385573d-a1e7-40d6-acaa-084bc6e5a395] ["take time"=5.918588ms] [2025/04/04 12:45:58.418 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=3385573d-a1e7-40d6-acaa-084bc6e5a395] [2025/04/04 12:45:58.418 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 12:45:58.418 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/04 12:45:58.418 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/68a14d11-c879-440a-ac4e-5b06b4b0a6c1] [watcherID=8d7f3b4f-2f4a-4656-9fd9-ff72cedd1c92] [2025/04/04 12:45:58.418 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/68a14d11-c879-440a-ac4e-5b06b4b0a6c1] [2025/04/04 12:45:58.418 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=3385573d-a1e7-40d6-acaa-084bc6e5a395] [ttl-worker=task-manager] [ttl-worker=3385573d-a1e7-40d6-acaa-084bc6e5a395] [originalCount=4] [newCount=0] [2025/04/04 12:45:58.418 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:45:58.418 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:45:58.418 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:45:58.418 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:45:58.418 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=3385573d-a1e7-40d6-acaa-084bc6e5a395] [ttl-worker=task-manager] [ttl-worker=3385573d-a1e7-40d6-acaa-084bc6e5a395] [originalCount=4] [newCount=0] [2025/04/04 12:45:58.421 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:45:58.421 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:45:58.421 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:45:58.421 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:45:58.423 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=3385573d-a1e7-40d6-acaa-084bc6e5a395] [2025/04/04 12:45:58.423 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 12:45:58.424 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=2001] [2025/04/04 12:45:58.424 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 12:45:58.424 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 12:45:58.424 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:45:58.424 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=589f1d3a-aaa1-4d66-8df4-4ee2bce602fd] [] [2025/04/04 12:45:58.425 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 12:45:58.425 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:45:58.425 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=589f1d3a-aaa1-4d66-8df4-4ee2bce602fd] [2025/04/04 12:45:58.424 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=3385573d-a1e7-40d6-acaa-084bc6e5a395] [2025/04/04 12:45:58.425 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:45:58.425 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:45:58.425 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 12:45:58.425 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=589f1d3a-aaa1-4d66-8df4-4ee2bce602fd] [2025/04/04 12:45:58.425 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 12:45:58.425 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:45:58.425 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 12:45:58.425 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 12:45:58.425 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 12:45:58.425 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 12:45:58.425 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:45:58.425 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 12:45:58.425 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:45:58.425 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:45:58.425 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:45:58.425 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:45:58.425 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:45:58.425 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/04 12:45:58.425 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/04 12:45:58.425 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 12:45:58.425 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 12:45:58.425 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:45:58.425 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:45:58.425 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:45:58.425 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 12:45:58.425 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 12:45:58.425 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:45:58.425 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 12:45:58.425 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 12:45:58.425 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:45:58.425 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 12:45:58.425 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:45:58.425 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/04 12:45:58.425 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:45:58.425 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:45:58.425 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:45:58.425 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 12:45:58.425 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:45:58.425 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 12:45:58.425 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:45:58.425 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:45:58.425 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=3385573d-a1e7-40d6-acaa-084bc6e5a395] [] [2025/04/04 12:45:58.425 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=3385573d-a1e7-40d6-acaa-084bc6e5a395] [2025/04/04 12:45:58.425 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=589f1d3a-aaa1-4d66-8df4-4ee2bce602fd] [2025/04/04 12:45:58.425 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 12:45:58.426 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:45:58.425 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/04 12:45:58.425 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 12:45:58.425 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 12:45:58.425 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:45:58.425 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:45:58.425 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 12:45:58.426 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:45:58.425 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 12:45:58.426 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:45:58.425 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:45:58.425 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:45:58.425 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 12:45:58.426 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:45:58.426 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:45:58.425 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:45:58.426 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=3385573d-a1e7-40d6-acaa-084bc6e5a395] [2025/04/04 12:45:58.426 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=3385573d-a1e7-40d6-acaa-084bc6e5a395] [2025/04/04 12:45:58.426 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 12:45:58.426 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=3385573d-a1e7-40d6-acaa-084bc6e5a395] [2025/04/04 12:45:58.426 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 12:45:58.426 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 12:45:58.426 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 12:45:58.426 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:45:58.427 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=589f1d3a-aaa1-4d66-8df4-4ee2bce602fd] [daemon-id=LogBackup::Advancer] [2025/04/04 12:45:58.427 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 12:45:58.427 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 12:45:58.427 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:45:58.427 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:45:58.427 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 12:45:58.427 +00:00] [INFO] [flush_subscriber.go:108] [Clearing.] [category="log backup flush subscriber"] [timeout=1m0s] [2025/04/04 12:45:58.427 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:45:58.427 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=3385573d-a1e7-40d6-acaa-084bc6e5a395] [error="context canceled"] [2025/04/04 12:45:58.427 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 12:45:58.427 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 12:45:58.427 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 12:45:58.427 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:45:58.428 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=3385573d-a1e7-40d6-acaa-084bc6e5a395] [error="context canceled"] [2025/04/04 12:45:58.428 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=3385573d-a1e7-40d6-acaa-084bc6e5a395] [2025/04/04 12:45:58.428 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=3385573d-a1e7-40d6-acaa-084bc6e5a395] [error="context canceled"] [2025/04/04 12:45:58.429 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=3385573d-a1e7-40d6-acaa-084bc6e5a395] [error="context canceled"] [errorVerbose="context canceled\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:45:58.446 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 12:45:58.446 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:45:58.490 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 12:45:58.490 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:45:58.501 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=89.171713ms] [2025/04/04 12:46:03.317 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119040339443721 rolled_back:true is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:46:03.317 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119040339443721 rolled_back:true is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:46:03.317 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119040339443721 rolled_back:true is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:46:03.407 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119041689485313 rolled_back:true is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:46:03.407 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119041689485313 rolled_back:true is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:46:03.407 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119041689485313 rolled_back:true is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:46:03.407 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:46:03.407 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:46:03.407 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:46:03.407 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:46:03.407 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:46:03.407 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:46:03.407 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:46:03.407 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:03.407 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:03.407 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:03.408 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:46:03.407 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-2] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:46:03.409 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- FAIL: TestPipelinedDMLPositive (20.76s) === NAME === RUN TestPipelinedDMLNegative [2025/04/04 12:46:03.419 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 12:46:03.419 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 12:46:03.420 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437819270443114] [2025/04/04 12:46:03.421 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:46:03.421 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 12:46:03.421 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:46:03.421 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:46:03.421 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:46:03.421 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:46:03.422 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:46:03.422 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:46:03.426 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 12:46:03.431 +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/04 12:46:03.432 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:46:03.432 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:46:03.442 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489437819270443114] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 12:46:03.452 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 12:46:03.486 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1005] ["lease id"=22319600d42fa0cb] [2025/04/04 12:46:03.488 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/04 12:46:03.575 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=60] ["elapsed time"=85.08122ms] [2025/04/04 12:46:03.575 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 12:46:03.578 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 12:46:03.583 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=e32b831e-1f3f-487d-8c11-332b9f090319] [runWorker=true] [jobVersion=v2] [2025/04/04 12:46:03.583 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 12:46:03.585 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=e32b831e-1f3f-487d-8c11-332b9f090319] [2025/04/04 12:46:03.586 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 12:46:03.586 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 217597468672/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 12:46:03.587 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:46:03.587 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:46:03.587 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:46:03.587 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:46:03.587 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:46:03.587 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:46:03.587 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:46:03.587 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:46:03.587 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:46:03.587 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 12:46:03.587 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 12:46:03.587 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:46:03.587 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=4cd0dc1a-68ba-4610-a110-8b2f6e23c74c] [2025/04/04 12:46:03.589 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f189600d42f9ac9] [ownerID=e32b831e-1f3f-487d-8c11-332b9f090319] [op=none] [2025/04/04 12:46:03.589 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=e32b831e-1f3f-487d-8c11-332b9f090319] [2025/04/04 12:46:03.589 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=e32b831e-1f3f-487d-8c11-332b9f090319] [ownerKey=/tidb/ddl/fg/owner/6f189600d42f9ac9] [currRev=336] [2025/04/04 12:46:03.589 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:46:03.589 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=4cd0dc1a-68ba-4610-a110-8b2f6e23c74c] [daemon-id=LogBackup::Advancer] [2025/04/04 12:46:03.590 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 12:46:03.590 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f189600d42f9acb] [ownerID=4cd0dc1a-68ba-4610-a110-8b2f6e23c74c] [op=none] [2025/04/04 12:46:03.590 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=4cd0dc1a-68ba-4610-a110-8b2f6e23c74c] [2025/04/04 12:46:03.590 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=4cd0dc1a-68ba-4610-a110-8b2f6e23c74c] [ownerKey=/tidb/br-stream/owner/6f189600d42f9acb] [currRev=337] [2025/04/04 12:46:03.591 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f189600d42f9ac9] [ownerID=e32b831e-1f3f-487d-8c11-332b9f090319] [op=none] [2025/04/04 12:46:03.591 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=e32b831e-1f3f-487d-8c11-332b9f090319] [op=none] [2025/04/04 12:46:03.591 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 12:46:03.601 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=e32b831e-1f3f-487d-8c11-332b9f090319] [2025/04/04 12:46:03.602 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:46:03.602 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 12:46:03.611 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:46:03.618 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:46:03.622 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:46:03.622 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:46:03.622 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 12:46:03.623 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:46:03.623 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 12:46:03.623 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:46:03.623 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 12:46:03.623 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 12:46:03.623 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 12:46:03.624 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:46:03.624 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=e32b831e-1f3f-487d-8c11-332b9f090319] [2025/04/04 12:46:03.625 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:46:03.625 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:46:03.625 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:46:03.625 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:46:03.625 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:46:03.625 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:46:03.625 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 12:46:03.625 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 12:46:03.625 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:46:03.625 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:46:03.625 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 12:46:03.625 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:46:03.625 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:46:03.625 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:46:03.625 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:46:03.627 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/04 12:46:03.627 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/22319600d42fa0d5] [ownerID=e32b831e-1f3f-487d-8c11-332b9f090319] [op=none] [2025/04/04 12:46:03.627 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=e32b831e-1f3f-487d-8c11-332b9f090319] [2025/04/04 12:46:03.627 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=e32b831e-1f3f-487d-8c11-332b9f090319] [ownerKey=/tidb/stats/owner/22319600d42fa0d5] [currRev=339] [2025/04/04 12:46:03.630 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:46:03.630 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 12:46:03.630 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743770763630648541 [2025/04/04 12:46:03.631 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 12:46:03.631 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/8fa9bc07-b9a8-4cd0-8263-114b4722bd1c] [2025/04/04 12:46:03.631 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=e32b831e-1f3f-487d-8c11-332b9f090319] [ttl-worker=task-manager] [ttl-worker=e32b831e-1f3f-487d-8c11-332b9f090319] [originalCount=0] [newCount=4] [2025/04/04 12:46:03.631 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=e32b831e-1f3f-487d-8c11-332b9f090319] [ttl-worker=task-manager] [ttl-worker=e32b831e-1f3f-487d-8c11-332b9f090319] [originalCount=0] [newCount=4] [2025/04/04 12:46:03.631 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=e32b831e-1f3f-487d-8c11-332b9f090319] [2025/04/04 12:46:03.636 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 12:46:03.643 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=18.958118ms] [2025/04/04 12:46:03.643 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:46:03.643 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 12:46:03.645 +00:00] [INFO] [set.go:172] ["set global var"] [conn=6] [name=tidb_schema_cache_size] [val=0] [2025/04/04 12:46:03.665 +00:00] [INFO] [set.go:172] ["set global var"] [conn=6] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 12:46:03.667 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=6] [schemaVersion=60] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/04 12:46:03.679 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:117, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:115, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:03.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:03.679 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:117, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:115, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:03.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`"] [2025/04/04 12:46:03.684 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=117] [conn=6] [job="ID:117, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:115, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:03.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:03.699 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=60] [neededSchemaVersion=61] ["elapsed time"=1.846093ms] [gotSchemaVersion=61] [phyTblIDs="[115]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:03.703 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=117] [version=61] [2025/04/04 12:46:03.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=61] ["take time"=9.081596ms] [job="ID:117, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:115, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:03.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:03.714 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=117] [conn=6] [job="ID:117, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:115, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:03.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:03.728 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=61] [neededSchemaVersion=62] ["elapsed time"=1.900024ms] [gotSchemaVersion=62] [phyTblIDs="[115]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:03.732 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=117] [version=62] [2025/04/04 12:46:03.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=62] ["take time"=8.629793ms] [job="ID:117, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:115, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:03.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:03.741 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=117] [conn=6] [job="ID:117, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:115, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:03.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:03.747 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 115, Old Table Name: t)"] [2025/04/04 12:46:03.760 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=62] [neededSchemaVersion=63] ["elapsed time"=1.041376ms] [gotSchemaVersion=63] [phyTblIDs="[115]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:03.763 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=117] [version=63] [2025/04/04 12:46:03.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=63] ["take time"=7.677648ms] [job="ID:117, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:115, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:03.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:03.774 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=117] [tableIDs="[115]"] [comment="drop table: table ID"] [2025/04/04 12:46:03.781 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=117] [jobType="drop table"] [2025/04/04 12:46:03.782 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=117] [conn=6] [job="ID:117, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:115, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:03.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:03.799 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=117] [2025/04/04 12:46:03.800 +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: 1743770763800520344 [2025/04/04 12:46:03.804 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=7] [schemaVersion=63] [cur_db=test] [sql="drop table if exists t"] [user=] [2025/04/04 12:46:03.816 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:119, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:118, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:03.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a int primary key, b int)"] [2025/04/04 12:46:03.816 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:119, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:118, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:03.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:03.822 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=119] [conn=7] [job="ID:119, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:118, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:03.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:03.826 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 118, Table Name: t)"] [2025/04/04 12:46:03.840 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=63] [neededSchemaVersion=64] ["elapsed time"=1.571978ms] [gotSchemaVersion=64] [phyTblIDs="[118]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:46:03.844 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=119] [version=64] [2025/04/04 12:46:03.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=64] ["take time"=8.421987ms] [job="ID:119, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:118, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:03.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:03.856 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=119] [conn=7] [job="ID:119, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:118, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:03.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:03.867 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=119] [2025/04/04 12:46:03.868 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=7] [schemaVersion=64] [cur_db=test] [sql="create table t (a int primary key, b int)"] [user=] [2025/04/04 12:46:03.870 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043118170119] [2025/04/04 12:46:03.887 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043118170127] [2025/04/04 12:46:03.893 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043118170131] [2025/04/04 12:46:03.910 +00:00] [INFO] [ddl.go:1174] ["switch metadata lock feature"] [category=ddl] [enable=false] [2025/04/04 12:46:03.933 +00:00] [INFO] [set.go:172] ["set global var"] [conn=7] [name=tidb_enable_metadata_lock] [val=off] [2025/04/04 12:46:03.935 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043131015182] [2025/04/04 12:46:03.943 +00:00] [INFO] [ddl.go:1174] ["switch metadata lock feature"] [category=ddl] [enable=true] [2025/04/04 12:46:03.956 +00:00] [INFO] [set.go:172] ["set global var"] [conn=7] [name=tidb_enable_metadata_lock] [val=ON] [2025/04/04 12:46:03.961 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 12:46:03.961 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=e32b831e-1f3f-487d-8c11-332b9f090319] [] [2025/04/04 12:46:03.961 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 12:46:03.961 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=e32b831e-1f3f-487d-8c11-332b9f090319] [2025/04/04 12:46:03.961 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:46:03.961 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:46:03.961 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 14, tp general"] ["take time"=46.473µs] [2025/04/04 12:46:03.961 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 15, tp general"] ["take time"=36.507µs] [2025/04/04 12:46:03.961 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=e32b831e-1f3f-487d-8c11-332b9f090319] [2025/04/04 12:46:03.961 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=e32b831e-1f3f-487d-8c11-332b9f090319] [2025/04/04 12:46:03.962 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 12:46:03.962 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 12:46:03.963 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=e32b831e-1f3f-487d-8c11-332b9f090319] ["take time"=2.238982ms] [2025/04/04 12:46:03.963 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=e32b831e-1f3f-487d-8c11-332b9f090319] [2025/04/04 12:46:03.963 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 12:46:03.963 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/8fa9bc07-b9a8-4cd0-8263-114b4722bd1c] [2025/04/04 12:46:03.963 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=e32b831e-1f3f-487d-8c11-332b9f090319] [ttl-worker=task-manager] [ttl-worker=e32b831e-1f3f-487d-8c11-332b9f090319] [originalCount=4] [newCount=0] [2025/04/04 12:46:03.963 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:46:03.963 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:46:03.963 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:46:03.963 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:46:03.963 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=e32b831e-1f3f-487d-8c11-332b9f090319] [ttl-worker=task-manager] [ttl-worker=e32b831e-1f3f-487d-8c11-332b9f090319] [originalCount=4] [newCount=0] [2025/04/04 12:46:03.966 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:46:03.966 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:46:03.966 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:46:03.966 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:46:03.968 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=e32b831e-1f3f-487d-8c11-332b9f090319] [2025/04/04 12:46:03.968 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 12:46:03.969 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1005] [2025/04/04 12:46:03.969 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=4cd0dc1a-68ba-4610-a110-8b2f6e23c74c] [] [2025/04/04 12:46:03.969 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 12:46:03.969 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 12:46:03.969 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 12:46:03.969 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:46:03.969 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 12:46:03.969 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:46:03.969 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 12:46:03.969 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 12:46:03.969 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 12:46:03.969 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:03.969 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 12:46:03.969 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 12:46:03.969 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 12:46:03.969 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:46:03.969 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 12:46:03.969 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:46:03.969 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 12:46:03.969 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:46:03.969 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:03.970 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:03.969 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:03.970 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:03.970 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:03.969 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 12:46:03.970 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 12:46:03.969 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 12:46:03.969 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=4cd0dc1a-68ba-4610-a110-8b2f6e23c74c] [2025/04/04 12:46:03.970 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 12:46:03.970 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:46:03.970 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=4cd0dc1a-68ba-4610-a110-8b2f6e23c74c] [2025/04/04 12:46:03.969 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 12:46:03.970 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:46:03.970 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=4cd0dc1a-68ba-4610-a110-8b2f6e23c74c] [2025/04/04 12:46:03.970 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:46:03.969 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 12:46:03.969 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 12:46:03.970 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:46:03.970 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:46:03.969 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 12:46:03.969 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:03.970 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:46:03.970 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:03.969 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 12:46:03.969 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 12:46:03.969 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:46:03.970 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:46:03.969 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:03.970 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:46:03.969 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:46:03.969 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 12:46:03.970 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:03.970 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:46:03.969 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:46:03.969 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 12:46:03.969 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 12:46:03.969 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:46:03.969 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 12:46:03.970 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:46:03.970 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:46:03.970 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:46:03.970 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 12:46:03.970 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=e32b831e-1f3f-487d-8c11-332b9f090319] [] [2025/04/04 12:46:03.970 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:46:03.970 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:03.970 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=e32b831e-1f3f-487d-8c11-332b9f090319] [2025/04/04 12:46:03.970 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:03.970 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:46:03.971 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=e32b831e-1f3f-487d-8c11-332b9f090319] [2025/04/04 12:46:03.971 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=e32b831e-1f3f-487d-8c11-332b9f090319] [2025/04/04 12:46:03.971 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 12:46:03.971 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:46:03.971 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=4cd0dc1a-68ba-4610-a110-8b2f6e23c74c] [daemon-id=LogBackup::Advancer] [2025/04/04 12:46:03.971 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 12:46:03.971 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:46:03.971 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 12:46:03.971 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:46:03.971 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=e32b831e-1f3f-487d-8c11-332b9f090319] [error="context canceled"] [2025/04/04 12:46:03.971 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 12:46:03.971 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 12:46:03.971 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 12:46:03.971 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:46:03.972 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=e32b831e-1f3f-487d-8c11-332b9f090319] [error="context canceled"] [2025/04/04 12:46:03.972 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=e32b831e-1f3f-487d-8c11-332b9f090319] [2025/04/04 12:46:03.972 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=e32b831e-1f3f-487d-8c11-332b9f090319] [error="context canceled"] [2025/04/04 12:46:03.973 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=e32b831e-1f3f-487d-8c11-332b9f090319] [error="context canceled"] [errorVerbose="context canceled\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:46:03.988 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 12:46:03.989 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:46:04.033 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 12:46:04.033 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:46:04.042 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=81.64878ms] [2025/04/04 12:46:04.044 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:46:04.045 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:46:04.045 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:46:04.045 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:46:04.045 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:46:04.045 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:46:04.045 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:46:04.045 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:04.045 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:04.045 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-3] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:46:04.045 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:04.045 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:46:04.046 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPipelinedDMLNegative (0.63s) === NAME === RUN TestPipelinedDMLInsert [2025/04/04 12:46:04.051 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 12:46:04.052 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 12:46:04.052 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437819270443114] [2025/04/04 12:46:04.053 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:46:04.053 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 12:46:04.053 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:46:04.053 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:46:04.053 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:46:04.053 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:46:04.054 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:46:04.054 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:46:04.058 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 12:46:04.063 +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/04 12:46:04.063 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:46:04.064 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:46:04.072 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489437819270443114] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 12:46:04.082 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 12:46:04.115 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1836] ["lease id"=6f189600d42f9ae0] [2025/04/04 12:46:04.116 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/04 12:46:04.201 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=64] ["elapsed time"=82.537187ms] [2025/04/04 12:46:04.201 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 12:46:04.203 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 12:46:04.209 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=731946ef-d1f2-480f-aa2a-4af99ded70a6] [runWorker=true] [jobVersion=v2] [2025/04/04 12:46:04.209 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 12:46:04.211 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=731946ef-d1f2-480f-aa2a-4af99ded70a6] [2025/04/04 12:46:04.212 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 12:46:04.212 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 217597497344/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 12:46:04.213 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:46:04.213 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:46:04.213 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:46:04.213 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:46:04.213 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:46:04.213 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:46:04.213 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:46:04.213 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:46:04.213 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 12:46:04.213 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:46:04.213 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:46:04.213 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 12:46:04.213 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=064235b8-d3c7-4ccf-b2fa-aba35840644b] [2025/04/04 12:46:04.215 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319600d42fa0ef] [ownerID=731946ef-d1f2-480f-aa2a-4af99ded70a6] [op=none] [2025/04/04 12:46:04.215 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=731946ef-d1f2-480f-aa2a-4af99ded70a6] [2025/04/04 12:46:04.215 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=731946ef-d1f2-480f-aa2a-4af99ded70a6] [ownerKey=/tidb/ddl/fg/owner/22319600d42fa0ef] [currRev=369] [2025/04/04 12:46:04.215 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:46:04.215 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=064235b8-d3c7-4ccf-b2fa-aba35840644b] [daemon-id=LogBackup::Advancer] [2025/04/04 12:46:04.216 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 12:46:04.216 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa9600d42f9464] [ownerID=064235b8-d3c7-4ccf-b2fa-aba35840644b] [op=none] [2025/04/04 12:46:04.216 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=064235b8-d3c7-4ccf-b2fa-aba35840644b] [2025/04/04 12:46:04.216 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=064235b8-d3c7-4ccf-b2fa-aba35840644b] [ownerKey=/tidb/br-stream/owner/3eaa9600d42f9464] [currRev=370] [2025/04/04 12:46:04.217 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319600d42fa0ef] [ownerID=731946ef-d1f2-480f-aa2a-4af99ded70a6] [op=none] [2025/04/04 12:46:04.217 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=731946ef-d1f2-480f-aa2a-4af99ded70a6] [op=none] [2025/04/04 12:46:04.217 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 12:46:04.225 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=731946ef-d1f2-480f-aa2a-4af99ded70a6] [2025/04/04 12:46:04.226 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:46:04.227 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 12:46:04.236 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:46:04.243 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:46:04.247 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:46:04.247 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:46:04.247 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:46:04.247 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 12:46:04.247 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:46:04.247 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 12:46:04.247 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 12:46:04.247 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 12:46:04.247 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 12:46:04.248 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:46:04.248 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=731946ef-d1f2-480f-aa2a-4af99ded70a6] [2025/04/04 12:46:04.249 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:46:04.249 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:46:04.249 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:46:04.249 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:46:04.249 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:46:04.249 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 12:46:04.249 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 12:46:04.249 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:46:04.250 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:46:04.250 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:46:04.250 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 12:46:04.250 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:46:04.250 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:46:04.250 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:46:04.250 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:46:04.251 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/6f189600d42f9aec] [ownerID=731946ef-d1f2-480f-aa2a-4af99ded70a6] [op=none] [2025/04/04 12:46:04.252 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=731946ef-d1f2-480f-aa2a-4af99ded70a6] [2025/04/04 12:46:04.252 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=731946ef-d1f2-480f-aa2a-4af99ded70a6] [ownerKey=/tidb/stats/owner/6f189600d42f9aec] [currRev=372] [2025/04/04 12:46:04.252 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/04 12:46:04.254 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/39e68b0b-292b-40c8-b8c3-753e6c3bf1db] [2025/04/04 12:46:04.254 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 12:46:04.254 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=731946ef-d1f2-480f-aa2a-4af99ded70a6] [ttl-worker=task-manager] [ttl-worker=731946ef-d1f2-480f-aa2a-4af99ded70a6] [originalCount=0] [newCount=4] [2025/04/04 12:46:04.254 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=731946ef-d1f2-480f-aa2a-4af99ded70a6] [ttl-worker=task-manager] [ttl-worker=731946ef-d1f2-480f-aa2a-4af99ded70a6] [originalCount=0] [newCount=4] [2025/04/04 12:46:04.254 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=731946ef-d1f2-480f-aa2a-4af99ded70a6] [2025/04/04 12:46:04.255 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:46:04.255 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 12:46:04.255 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743770764255479636 [2025/04/04 12:46:04.259 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 12:46:04.266 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=17.785066ms] [2025/04/04 12:46:04.266 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 12:46:04.266 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:46:04.268 +00:00] [INFO] [set.go:172] ["set global var"] [conn=8] [name=tidb_schema_cache_size] [val=0] [2025/04/04 12:46:04.282 +00:00] [INFO] [set.go:172] ["set global var"] [conn=8] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 12:46:04.285 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=8] [schemaVersion=64] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/04 12:46:04.297 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:120, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:118, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:04.248 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:04.297 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:120, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:118, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:04.248 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`"] [2025/04/04 12:46:04.302 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=120] [conn=8] [job="ID:120, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:118, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:04.248 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:04.317 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=64] [neededSchemaVersion=65] ["elapsed time"=1.823573ms] [gotSchemaVersion=65] [phyTblIDs="[118]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:04.321 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=120] [version=65] [2025/04/04 12:46:04.323 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=65] ["take time"=9.750258ms] [job="ID:120, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:118, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:04.248 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:04.333 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=120] [conn=8] [job="ID:120, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:118, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:04.248 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:04.348 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=65] [neededSchemaVersion=66] ["elapsed time"=1.943158ms] [gotSchemaVersion=66] [phyTblIDs="[118]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:04.351 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=120] [version=66] [2025/04/04 12:46:04.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=66] ["take time"=8.634063ms] [job="ID:120, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:118, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:04.248 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:04.361 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=120] [conn=8] [job="ID:120, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:118, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:04.248 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:04.366 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 118, Old Table Name: t)"] [2025/04/04 12:46:04.379 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=66] [neededSchemaVersion=67] ["elapsed time"=1.052939ms] [gotSchemaVersion=67] [phyTblIDs="[118]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:04.382 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=120] [version=67] [2025/04/04 12:46:04.384 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=67] ["take time"=7.498291ms] [job="ID:120, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:118, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:04.248 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:04.392 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=120] [tableIDs="[118]"] [comment="drop table: table ID"] [2025/04/04 12:46:04.399 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=120] [jobType="drop table"] [2025/04/04 12:46:04.400 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=120] [conn=8] [job="ID:120, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:118, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:04.248 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:04.418 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=120] [2025/04/04 12:46:04.418 +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: 1743770764419140071 [2025/04/04 12:46:04.422 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=9] [schemaVersion=67] [cur_db=test] [sql="drop table if exists t, _t"] [user=] [2025/04/04 12:46:04.435 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:122, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:04.397 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:04.435 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:122, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:04.397 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a int primary key, b int)"] [2025/04/04 12:46:04.440 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=122] [conn=9] [job="ID:122, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:121, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:04.397 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:04.444 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 121, Table Name: t)"] [2025/04/04 12:46:04.458 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=67] [neededSchemaVersion=68] ["elapsed time"=1.388703ms] [gotSchemaVersion=68] [phyTblIDs="[121]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:46:04.461 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=122] [version=68] [2025/04/04 12:46:04.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=68] ["take time"=8.264167ms] [job="ID:122, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:04.397 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:04.474 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=122] [conn=9] [job="ID:122, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:121, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:04.397 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:04.485 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=122] [2025/04/04 12:46:04.485 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=9] [schemaVersion=68] [cur_db=test] [sql="create table t (a int primary key, b int)"] [user=] [2025/04/04 12:46:04.497 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:124, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:123, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:04.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t like t"] [2025/04/04 12:46:04.497 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:124, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:123, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:04.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:04.503 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=124] [conn=9] [job="ID:124, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:123, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:04.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:04.507 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 123, Table Name: _t)"] [2025/04/04 12:46:04.521 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=68] [neededSchemaVersion=69] ["elapsed time"=1.524034ms] [gotSchemaVersion=69] [phyTblIDs="[123]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:46:04.524 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=124] [version=69] [2025/04/04 12:46:04.525 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=69] ["take time"=8.071588ms] [job="ID:124, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:123, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:04.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:04.536 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=124] [conn=9] [job="ID:124, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:123, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:04.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:04.547 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=124] [2025/04/04 12:46:04.547 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=9] [schemaVersion=69] [cur_db=test] [sql="create table _t like t"] [user=] [2025/04/04 12:46:04.550 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043301408770] [2025/04/04 12:46:04.553 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043301408774] [2025/04/04 12:46:04.558 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043301408777] [2025/04/04 12:46:04.563 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043301408781] [2025/04/04 12:46:04.567 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043301408784] [2025/04/04 12:46:04.572 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043301408788] [2025/04/04 12:46:04.576 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043301408791] [2025/04/04 12:46:04.579 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043301408794] [2025/04/04 12:46:04.583 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043301408797] [2025/04/04 12:46:04.587 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043301408800] [2025/04/04 12:46:04.591 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043301408803] [2025/04/04 12:46:04.595 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043301408806] [2025/04/04 12:46:04.599 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043301408809] [2025/04/04 12:46:04.603 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043314778115] [2025/04/04 12:46:04.606 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043314778118] [2025/04/04 12:46:04.610 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043314778121] [2025/04/04 12:46:04.614 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043314778124] [2025/04/04 12:46:04.617 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043314778127] [2025/04/04 12:46:04.621 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043314778131] [2025/04/04 12:46:04.625 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043314778134] [2025/04/04 12:46:04.629 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043314778137] [2025/04/04 12:46:04.633 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043314778140] [2025/04/04 12:46:04.636 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043314778143] [2025/04/04 12:46:04.640 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043314778146] [2025/04/04 12:46:04.644 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043314778149] [2025/04/04 12:46:04.648 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043314778152] [2025/04/04 12:46:04.651 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043327885315] [2025/04/04 12:46:04.655 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043327885318] [2025/04/04 12:46:04.659 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043327885321] [2025/04/04 12:46:04.662 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043327885324] [2025/04/04 12:46:04.666 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043327885327] [2025/04/04 12:46:04.670 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043327885331] [2025/04/04 12:46:04.674 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043327885334] [2025/04/04 12:46:04.677 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043327885337] [2025/04/04 12:46:04.681 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043327885340] [2025/04/04 12:46:04.685 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043327885343] [2025/04/04 12:46:04.689 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043327885346] [2025/04/04 12:46:04.692 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043327885349] [2025/04/04 12:46:04.696 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043327885352] [2025/04/04 12:46:04.700 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043340730370] [2025/04/04 12:46:04.703 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043340730373] [2025/04/04 12:46:04.707 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043340730376] [2025/04/04 12:46:04.712 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043340730379] [2025/04/04 12:46:04.716 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043340730383] [2025/04/04 12:46:04.720 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043340730389] [2025/04/04 12:46:04.724 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043340730392] [2025/04/04 12:46:04.728 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043340730395] [2025/04/04 12:46:04.732 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043340730398] [2025/04/04 12:46:04.736 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043340730401] [2025/04/04 12:46:04.739 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043340730404] [2025/04/04 12:46:04.743 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043340730407] [2025/04/04 12:46:04.747 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043340730410] [2025/04/04 12:46:04.750 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043354099714] [2025/04/04 12:46:04.754 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043354099717] [2025/04/04 12:46:04.758 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043354099720] [2025/04/04 12:46:04.762 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043354099723] [2025/04/04 12:46:04.765 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043354099726] [2025/04/04 12:46:04.769 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043354099730] [2025/04/04 12:46:04.773 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043354099733] [2025/04/04 12:46:04.777 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043354099736] [2025/04/04 12:46:04.781 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043354099739] [2025/04/04 12:46:04.785 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043354099742] [2025/04/04 12:46:04.788 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043354099745] [2025/04/04 12:46:04.792 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043354099748] [2025/04/04 12:46:04.796 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043354099751] [2025/04/04 12:46:04.800 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043366944769] [2025/04/04 12:46:04.803 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043366944772] [2025/04/04 12:46:04.807 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043366944775] [2025/04/04 12:46:04.811 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043366944778] [2025/04/04 12:46:04.815 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043366944781] [2025/04/04 12:46:04.819 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043366944784] [2025/04/04 12:46:04.823 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043366944788] [2025/04/04 12:46:04.826 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043366944791] [2025/04/04 12:46:04.830 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043366944794] [2025/04/04 12:46:04.834 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043366944797] [2025/04/04 12:46:04.838 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043366944800] [2025/04/04 12:46:04.842 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043366944803] [2025/04/04 12:46:04.845 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043366944806] [2025/04/04 12:46:04.849 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043366944809] [2025/04/04 12:46:04.853 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043380314115] [2025/04/04 12:46:04.857 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043380314118] [2025/04/04 12:46:04.861 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043380314122] [2025/04/04 12:46:04.865 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043380314125] [2025/04/04 12:46:04.869 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043380314128] [2025/04/04 12:46:04.873 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043380314132] [2025/04/04 12:46:04.876 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043380314135] [2025/04/04 12:46:04.880 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043380314138] [2025/04/04 12:46:04.883 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043380314141] [2025/04/04 12:46:04.887 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043380314144] [2025/04/04 12:46:04.890 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043380314147] [2025/04/04 12:46:04.894 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043380314150] [2025/04/04 12:46:04.897 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043380314153] [2025/04/04 12:46:04.900 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043393159170] [2025/04/04 12:46:04.904 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043393159173] [2025/04/04 12:46:04.907 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043393159176] [2025/04/04 12:46:04.912 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043393159179] [2025/04/04 12:46:04.916 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043393159182] [2025/04/04 12:46:04.921 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043393159186] [2025/04/04 12:46:04.925 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043393159189] [2025/04/04 12:46:04.929 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119043393159192] [2025/04/04 12:46:04.943 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119043393159196] [generation=1] [session=9] [keys=100] [size=2.9kB] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=2.225949ms] [2025/04/04 12:46:04.943 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119043393159196] [generation=2] [session=9] [keys=0] [size=0B] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=28.657µs] [2025/04/04 12:46:04.943 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=100] [flush_wait_duration=2.294549ms] [total_duration=6.598477ms] ["memdb traversal cache hit"=200] ["memdb traversal cache miss"=200] [size=2.9kB] [startTS=457119043393159196] [2025/04/04 12:46:04.944 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119043393159196] [commitTS=457119043393159197] [2025/04/04 12:46:04.944 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119043393159196] [startKey=74800000000000007b5f728000000000000000] [endKey=74800000000000007b5f728000000000000063] [concurrency=8] [2025/04/04 12:46:04.950 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119043393159196] [startKey=74800000000000007b5f728000000000000000] [endKey=74800000000000007b5f728000000000000063] ["cost time"=5.596271ms] ["completed regions"=1] [2025/04/04 12:46:04.950 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119043393159196] [commitTS=457119043393159197] [session=9] [2025/04/04 12:46:04.962 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119043406528514] [generation=1] [session=9] [keys=100] [size=2.9kB] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=2.162887ms] [2025/04/04 12:46:04.963 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119043406528514] [generation=2] [session=9] [keys=0] [size=0B] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=39.899µs] [2025/04/04 12:46:04.963 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=100] [flush_wait_duration=2.169741ms] [total_duration=6.895013ms] ["memdb traversal cache hit"=200] ["memdb traversal cache miss"=200] [size=2.9kB] [startTS=457119043406528514] [2025/04/04 12:46:04.964 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119043406528514] [commitTS=457119043406528516] [2025/04/04 12:46:04.964 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119043406528514] [startKey=7480000000000000795f728000000000002710] [endKey=7480000000000000795f728000000000002773] [concurrency=8] [2025/04/04 12:46:04.967 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119043406528514] [startKey=7480000000000000795f728000000000002710] [endKey=7480000000000000795f728000000000002773] ["cost time"=2.935958ms] ["completed regions"=1] [2025/04/04 12:46:04.968 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119043406528514] [commitTS=457119043406528516] [session=9] [2025/04/04 12:46:04.981 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:126, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:123, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:04.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:04.981 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:126, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:123, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:04.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t"] [2025/04/04 12:46:04.986 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=126] [conn=9] [job="ID:126, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:123, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:04.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:04.993 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 125, Table Name: _t, Old Table ID: 123, Old Table Name: _t)"] [2025/04/04 12:46:05.008 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=69] [neededSchemaVersion=70] ["elapsed time"=1.595192ms] [gotSchemaVersion=70] [phyTblIDs="[123,125]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 12:46:05.012 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=126] [version=70] [2025/04/04 12:46:05.014 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=70] ["take time"=8.684786ms] [job="ID:126, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:123, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:04.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:05.024 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=126] [tableIDs="[123]"] [comment="truncate table: table ID"] [2025/04/04 12:46:05.028 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=126] [jobType="truncate table"] [2025/04/04 12:46:05.029 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=126] [conn=9] [job="ID:126, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:123, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:04.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:05.054 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=126] [2025/04/04 12:46:05.055 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=9] [schemaVersion=70] [cur_db=test] [sql="truncate table _t"] [user=] [2025/04/04 12:46:05.056 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=9] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=74800000000000007d5f7280000000000003e8] [2025/04/04 12:46:05.059 +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:3 id:30 store_id:1 id:31 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=9] [2025/04/04 12:46:05.059 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=28] [2025/04/04 12:46:05.060 +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:3 id:30 store_id:1 id:31 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 12:46:05.060 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=32] [2025/04/04 12:46:05.061 +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:3 id:34 store_id:1 id:35 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 12:46:05.061 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=36] [2025/04/04 12:46:05.062 +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:3 id:38 store_id:1 id:39 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 12:46:05.062 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=40] [2025/04/04 12:46:05.063 +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:3 id:42 store_id:1 id:43 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 12:46:05.063 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=44] [2025/04/04 12:46:05.064 +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:3 id:46 store_id:1 id:47 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 12:46:05.064 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=48] [2025/04/04 12:46:05.065 +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:3 id:50 store_id:1 id:51 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 12:46:05.065 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=52] [2025/04/04 12:46:05.065 +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:3 id:54 store_id:1 id:55 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 12:46:05.066 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=56] [2025/04/04 12:46:05.066 +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:3 id:58 store_id:1 id:59 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 12:46:05.066 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=60] [2025/04/04 12:46:05.067 +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:3 id:62 store_id:1 id:63 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 12:46:05.067 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=9] ["region IDs"="[28,32,36,40,44,48,52,56,60]"] [2025/04/04 12:46:05.067 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=28] [backoff(ms)=299988] [2025/04/04 12:46:05.068 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=28] [2025/04/04 12:46:05.068 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=32] [backoff(ms)=299987] [2025/04/04 12:46:05.069 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=32] [2025/04/04 12:46:05.069 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=36] [backoff(ms)=299986] [2025/04/04 12:46:05.069 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=36] [2025/04/04 12:46:05.069 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=40] [backoff(ms)=299986] [2025/04/04 12:46:05.070 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=40] [2025/04/04 12:46:05.070 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=44] [backoff(ms)=299985] [2025/04/04 12:46:05.070 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=44] [2025/04/04 12:46:05.070 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=48] [backoff(ms)=299985] [2025/04/04 12:46:05.071 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=48] [2025/04/04 12:46:05.071 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=52] [backoff(ms)=299984] [2025/04/04 12:46:05.071 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=52] [2025/04/04 12:46:05.071 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=56] [backoff(ms)=299984] [2025/04/04 12:46:05.071 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=56] [2025/04/04 12:46:05.071 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=60] [backoff(ms)=299984] [2025/04/04 12:46:05.072 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=60] [2025/04/04 12:46:05.091 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119043432742932] [generation=1] [session=9] [keys=200] [size=5.8kB] ["flushed keys"=200] ["flushed size"=5.8kB] ["take time"=2.663386ms] [2025/04/04 12:46:05.091 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119043432742932] [generation=2] [session=9] [keys=0] [size=0B] ["flushed keys"=200] ["flushed size"=5.8kB] ["take time"=28.02µs] [2025/04/04 12:46:05.091 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=200] [flush_wait_duration=2.753429ms] [total_duration=10.30435ms] ["memdb traversal cache hit"=400] ["memdb traversal cache miss"=400] [size=5.8kB] [startTS=457119043432742932] [2025/04/04 12:46:05.092 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119043432742932] [commitTS=457119043432742933] [2025/04/04 12:46:05.092 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119043432742932] [startKey=74800000000000007d5f728000000000000000] [endKey=74800000000000007d5f728000000000002773] [concurrency=8] [2025/04/04 12:46:05.100 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119043432742932] [startKey=74800000000000007d5f728000000000000000] [endKey=74800000000000007d5f728000000000002773] ["cost time"=7.805258ms] ["completed regions"=10] [2025/04/04 12:46:05.100 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=10] [startTS=457119043432742932] [commitTS=457119043432742933] [session=9] [2025/04/04 12:46:05.104 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 12:46:05.104 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 12:46:05.104 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=731946ef-d1f2-480f-aa2a-4af99ded70a6] [] [2025/04/04 12:46:05.104 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=731946ef-d1f2-480f-aa2a-4af99ded70a6] [2025/04/04 12:46:05.104 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:46:05.104 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:46:05.104 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 16, tp general"] ["take time"=50.18µs] [2025/04/04 12:46:05.104 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 17, tp general"] ["take time"=34.234µs] [2025/04/04 12:46:05.104 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 18, tp general"] ["take time"=46.949µs] [2025/04/04 12:46:05.104 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 19, tp general"] ["take time"=48.847µs] [2025/04/04 12:46:05.104 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=731946ef-d1f2-480f-aa2a-4af99ded70a6] [2025/04/04 12:46:05.104 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=731946ef-d1f2-480f-aa2a-4af99ded70a6] [2025/04/04 12:46:05.105 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 12:46:05.105 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 12:46:05.107 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=731946ef-d1f2-480f-aa2a-4af99ded70a6] ["take time"=3.087949ms] [2025/04/04 12:46:05.107 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=731946ef-d1f2-480f-aa2a-4af99ded70a6] [2025/04/04 12:46:05.107 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 12:46:05.107 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/39e68b0b-292b-40c8-b8c3-753e6c3bf1db] [2025/04/04 12:46:05.107 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=731946ef-d1f2-480f-aa2a-4af99ded70a6] [ttl-worker=task-manager] [ttl-worker=731946ef-d1f2-480f-aa2a-4af99ded70a6] [originalCount=4] [newCount=0] [2025/04/04 12:46:05.107 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:46:05.107 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:46:05.107 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:46:05.107 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:46:05.107 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=731946ef-d1f2-480f-aa2a-4af99ded70a6] [ttl-worker=task-manager] [ttl-worker=731946ef-d1f2-480f-aa2a-4af99ded70a6] [originalCount=4] [newCount=0] [2025/04/04 12:46:05.110 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:46:05.110 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:46:05.110 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:46:05.110 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:46:05.112 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=731946ef-d1f2-480f-aa2a-4af99ded70a6] [2025/04/04 12:46:05.113 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 12:46:05.114 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1836] [2025/04/04 12:46:05.114 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 12:46:05.114 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 12:46:05.114 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:05.114 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 12:46:05.114 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:46:05.114 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 12:46:05.114 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:46:05.114 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:05.114 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 12:46:05.114 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 12:46:05.114 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:46:05.114 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 12:46:05.114 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:46:05.114 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 12:46:05.114 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 12:46:05.114 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=064235b8-d3c7-4ccf-b2fa-aba35840644b] [] [2025/04/04 12:46:05.114 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:46:05.114 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 12:46:05.114 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 12:46:05.114 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:46:05.114 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 12:46:05.114 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 12:46:05.114 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=064235b8-d3c7-4ccf-b2fa-aba35840644b] [2025/04/04 12:46:05.114 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:46:05.114 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 12:46:05.114 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 12:46:05.114 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 12:46:05.114 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 12:46:05.114 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:05.114 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:46:05.114 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:05.114 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:05.114 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 12:46:05.114 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=064235b8-d3c7-4ccf-b2fa-aba35840644b] [2025/04/04 12:46:05.114 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 12:46:05.114 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 12:46:05.114 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=064235b8-d3c7-4ccf-b2fa-aba35840644b] [2025/04/04 12:46:05.114 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:05.114 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:46:05.114 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 12:46:05.114 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 12:46:05.114 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:46:05.114 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:46:05.114 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:46:05.114 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:05.114 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:46:05.114 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:46:05.114 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 12:46:05.114 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 12:46:05.114 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=731946ef-d1f2-480f-aa2a-4af99ded70a6] [] [2025/04/04 12:46:05.114 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:46:05.114 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:05.114 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=731946ef-d1f2-480f-aa2a-4af99ded70a6] [2025/04/04 12:46:05.114 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:05.114 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 12:46:05.114 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=731946ef-d1f2-480f-aa2a-4af99ded70a6] [2025/04/04 12:46:05.114 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:46:05.114 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=731946ef-d1f2-480f-aa2a-4af99ded70a6] [2025/04/04 12:46:05.114 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 12:46:05.115 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:46:05.114 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:46:05.114 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 12:46:05.114 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:46:05.114 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:05.115 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:46:05.114 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:46:05.114 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:46:05.114 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:05.115 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:05.114 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:46:05.116 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=064235b8-d3c7-4ccf-b2fa-aba35840644b] [daemon-id=LogBackup::Advancer] [2025/04/04 12:46:05.116 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:46:05.116 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 12:46:05.116 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 12:46:05.116 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 12:46:05.116 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:46:05.116 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:46:05.116 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 12:46:05.116 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 12:46:05.116 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 12:46:05.116 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:46:05.117 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=731946ef-d1f2-480f-aa2a-4af99ded70a6] [error="context canceled"] [2025/04/04 12:46:05.117 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=731946ef-d1f2-480f-aa2a-4af99ded70a6] [2025/04/04 12:46:05.134 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 12:46:05.134 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:46:05.179 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=731946ef-d1f2-480f-aa2a-4af99ded70a6] [error="context canceled"] [2025/04/04 12:46:05.179 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 12:46:05.179 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:46:05.191 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=87.115356ms] [2025/04/04 12:46:06.058 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/04 12:46:09.951 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119043393159196 commit_ts:457119043393159197 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:46:09.951 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119043393159196 commit_ts:457119043393159197 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:46:09.951 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119043393159196 commit_ts:457119043393159197 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:46:09.968 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119043406528514 commit_ts:457119043406528516 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:46:09.968 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119043406528514 commit_ts:457119043406528516 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:46:09.968 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119043406528514 commit_ts:457119043406528516 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:46:10.102 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119043432742932 commit_ts:457119043432742933 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:46:10.102 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119043432742932 commit_ts:457119043432742933 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:46:10.102 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119043432742932 commit_ts:457119043432742933 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:46:10.102 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:46:10.102 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:46:10.102 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:46:10.102 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:46:10.102 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:46:10.102 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:46:10.102 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:46:10.102 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-4] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:46:10.102 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:10.102 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:10.103 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:10.103 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:46:10.104 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPipelinedDMLInsert (6.06s) === NAME === RUN TestPipelinedDMLInsertIgnore [2025/04/04 12:46:10.116 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 12:46:10.117 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 12:46:10.117 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437819270443114] [2025/04/04 12:46:10.118 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:46:10.118 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 12:46:10.118 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:46:10.118 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:46:10.118 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:46:10.118 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:46:10.119 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:46:10.119 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:46:10.123 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 12:46:10.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/04 12:46:10.130 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:46:10.130 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:46:10.141 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489437819270443114] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 12:46:10.152 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 12:46:10.185 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=449] ["lease id"=6f189600d42f9b09] [2025/04/04 12:46:10.187 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/04 12:46:10.272 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=70] ["elapsed time"=83.071054ms] [2025/04/04 12:46:10.272 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 12:46:10.274 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 12:46:10.280 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=9a387bdf-f16c-4891-b1fc-499c3413f3fb] [runWorker=true] [jobVersion=v2] [2025/04/04 12:46:10.280 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 12:46:10.282 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=9a387bdf-f16c-4891-b1fc-499c3413f3fb] [2025/04/04 12:46:10.283 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 12:46:10.283 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 217597526016/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 12:46:10.283 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:46:10.283 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:46:10.283 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:46:10.284 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:46:10.284 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:46:10.284 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:46:10.284 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:46:10.284 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 12:46:10.284 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:46:10.284 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:46:10.284 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:46:10.284 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 12:46:10.284 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=7fed2b9a-73a1-4309-bd36-0fb8cc9cc28f] [2025/04/04 12:46:10.286 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319600d42fa11c] [ownerID=9a387bdf-f16c-4891-b1fc-499c3413f3fb] [op=none] [2025/04/04 12:46:10.286 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=9a387bdf-f16c-4891-b1fc-499c3413f3fb] [2025/04/04 12:46:10.286 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=9a387bdf-f16c-4891-b1fc-499c3413f3fb] [ownerKey=/tidb/ddl/fg/owner/22319600d42fa11c] [currRev=407] [2025/04/04 12:46:10.286 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:46:10.286 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=7fed2b9a-73a1-4309-bd36-0fb8cc9cc28f] [daemon-id=LogBackup::Advancer] [2025/04/04 12:46:10.287 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 12:46:10.287 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa9600d42f948c] [ownerID=7fed2b9a-73a1-4309-bd36-0fb8cc9cc28f] [op=none] [2025/04/04 12:46:10.287 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=7fed2b9a-73a1-4309-bd36-0fb8cc9cc28f] [2025/04/04 12:46:10.287 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=7fed2b9a-73a1-4309-bd36-0fb8cc9cc28f] [ownerKey=/tidb/br-stream/owner/3eaa9600d42f948c] [currRev=408] [2025/04/04 12:46:10.288 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319600d42fa11c] [ownerID=9a387bdf-f16c-4891-b1fc-499c3413f3fb] [op=none] [2025/04/04 12:46:10.288 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=9a387bdf-f16c-4891-b1fc-499c3413f3fb] [op=none] [2025/04/04 12:46:10.288 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 12:46:10.301 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=9a387bdf-f16c-4891-b1fc-499c3413f3fb] [2025/04/04 12:46:10.302 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:46:10.302 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 12:46:10.310 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:46:10.316 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:46:10.321 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:46:10.321 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:46:10.321 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:46:10.321 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 12:46:10.321 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 12:46:10.321 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:46:10.321 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 12:46:10.321 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 12:46:10.321 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 12:46:10.323 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:46:10.323 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=9a387bdf-f16c-4891-b1fc-499c3413f3fb] [2025/04/04 12:46:10.324 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:46:10.324 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:46:10.324 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:46:10.324 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:46:10.324 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 12:46:10.324 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:46:10.324 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 12:46:10.324 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:46:10.324 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:46:10.324 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:46:10.324 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 12:46:10.324 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:46:10.324 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:46:10.324 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:46:10.324 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:46:10.326 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/04 12:46:10.326 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/6f189600d42f9b14] [ownerID=9a387bdf-f16c-4891-b1fc-499c3413f3fb] [op=none] [2025/04/04 12:46:10.326 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=9a387bdf-f16c-4891-b1fc-499c3413f3fb] [2025/04/04 12:46:10.326 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=9a387bdf-f16c-4891-b1fc-499c3413f3fb] [ownerKey=/tidb/stats/owner/6f189600d42f9b14] [currRev=410] [2025/04/04 12:46:10.329 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/4d6a804a-11aa-4d9a-bd92-5041c23933a4] [2025/04/04 12:46:10.329 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 12:46:10.329 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=9a387bdf-f16c-4891-b1fc-499c3413f3fb] [ttl-worker=task-manager] [ttl-worker=9a387bdf-f16c-4891-b1fc-499c3413f3fb] [originalCount=0] [newCount=4] [2025/04/04 12:46:10.329 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=9a387bdf-f16c-4891-b1fc-499c3413f3fb] [ttl-worker=task-manager] [ttl-worker=9a387bdf-f16c-4891-b1fc-499c3413f3fb] [originalCount=0] [newCount=4] [2025/04/04 12:46:10.329 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:46:10.329 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 12:46:10.330 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=9a387bdf-f16c-4891-b1fc-499c3413f3fb] [2025/04/04 12:46:10.330 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743770770330173933 [2025/04/04 12:46:10.335 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 12:46:10.401 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=77.812034ms] [2025/04/04 12:46:10.401 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:46:10.401 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 12:46:10.409 +00:00] [INFO] [set.go:172] ["set global var"] [conn=10] [name=tidb_schema_cache_size] [val=0] [2025/04/04 12:46:10.420 +00:00] [INFO] [set.go:172] ["set global var"] [conn=10] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 12:46:10.423 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=10] [schemaVersion=70] [cur_db=test] [sql="alter table `_t` nocache"] [user=] [2025/04/04 12:46:10.424 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=10] [schemaVersion=70] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/04 12:46:10.437 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:127, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:125, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:10.397 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:10.437 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:127, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:125, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:10.397 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/04 12:46:10.443 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=127] [conn=10] [job="ID:127, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:125, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:10.397 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:10.459 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=70] [neededSchemaVersion=71] ["elapsed time"=1.925557ms] [gotSchemaVersion=71] [phyTblIDs="[125]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:10.462 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=127] [version=71] [2025/04/04 12:46:10.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=71] ["take time"=9.113753ms] [job="ID:127, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:125, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:10.397 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:10.474 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=127] [conn=10] [job="ID:127, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:125, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:10.397 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:10.489 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=71] [neededSchemaVersion=72] ["elapsed time"=1.816816ms] [gotSchemaVersion=72] [phyTblIDs="[125]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:10.492 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=127] [version=72] [2025/04/04 12:46:10.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=72] ["take time"=8.634684ms] [job="ID:127, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:125, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:10.397 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:10.502 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=127] [conn=10] [job="ID:127, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:125, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:10.397 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:10.508 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 125, Old Table Name: _t)"] [2025/04/04 12:46:10.520 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=72] [neededSchemaVersion=73] ["elapsed time"=961.37µs] [gotSchemaVersion=73] [phyTblIDs="[125]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:10.524 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=127] [version=73] [2025/04/04 12:46:10.525 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=73] ["take time"=7.597403ms] [job="ID:127, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:125, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:10.397 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:10.535 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=127] [tableIDs="[125]"] [comment="drop table: table ID"] [2025/04/04 12:46:10.542 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=127] [jobType="drop table"] [2025/04/04 12:46:10.543 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=127] [conn=10] [job="ID:127, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:125, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:10.397 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:10.561 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=127] [2025/04/04 12:46:10.571 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:128, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:10.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:10.571 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:128, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:10.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/04 12:46:10.576 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=128] [conn=10] [job="ID:128, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:121, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:10.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:10.592 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=73] [neededSchemaVersion=74] ["elapsed time"=1.928086ms] [gotSchemaVersion=74] [phyTblIDs="[121]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:10.596 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=128] [version=74] [2025/04/04 12:46:10.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=74] ["take time"=8.632002ms] [job="ID:128, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:10.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:10.607 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=128] [conn=10] [job="ID:128, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:121, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:10.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:10.622 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=74] [neededSchemaVersion=75] ["elapsed time"=1.913755ms] [gotSchemaVersion=75] [phyTblIDs="[121]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:10.626 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=128] [version=75] [2025/04/04 12:46:10.627 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=75] ["take time"=8.515737ms] [job="ID:128, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:10.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:10.636 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=128] [conn=10] [job="ID:128, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:121, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:10.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:10.642 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 121, Old Table Name: t)"] [2025/04/04 12:46:10.655 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=75] [neededSchemaVersion=76] ["elapsed time"=1.117034ms] [gotSchemaVersion=76] [phyTblIDs="[121]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:10.658 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=128] [version=76] [2025/04/04 12:46:10.660 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=76] ["take time"=8.31635ms] [job="ID:128, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:10.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:10.669 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=128] [tableIDs="[121]"] [comment="drop table: table ID"] [2025/04/04 12:46:10.674 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=128] [jobType="drop table"] [2025/04/04 12:46:10.674 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=128] [conn=10] [job="ID:128, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:10.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:10.692 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=128] [2025/04/04 12:46:10.693 +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: 1743770770693581365 [2025/04/04 12:46:10.697 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=11] [schemaVersion=76] [cur_db=test] [sql="drop table if exists t, _t"] [user=] [2025/04/04 12:46:10.711 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:130, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:129, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:10.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:10.711 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:130, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:129, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:10.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a int primary key, b int)"] [2025/04/04 12:46:10.717 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=130] [conn=11] [job="ID:130, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:129, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:10.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:10.721 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 129, Table Name: t)"] [2025/04/04 12:46:10.735 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=76] [neededSchemaVersion=77] ["elapsed time"=1.47319ms] [gotSchemaVersion=77] [phyTblIDs="[129]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:46:10.739 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=130] [version=77] [2025/04/04 12:46:10.741 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=77] ["take time"=8.477278ms] [job="ID:130, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:129, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:10.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:10.752 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=130] [conn=11] [job="ID:130, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:129, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:10.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:10.763 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=130] [2025/04/04 12:46:10.764 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=11] [schemaVersion=77] [cur_db=test] [sql="create table t (a int primary key, b int)"] [user=] [2025/04/04 12:46:10.776 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:132, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:131, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:10.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:10.776 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:132, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:131, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:10.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t like t"] [2025/04/04 12:46:10.782 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=132] [conn=11] [job="ID:132, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:131, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:10.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:10.786 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 131, Table Name: _t)"] [2025/04/04 12:46:10.801 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=77] [neededSchemaVersion=78] ["elapsed time"=1.390425ms] [gotSchemaVersion=78] [phyTblIDs="[131]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:46:10.804 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=132] [version=78] [2025/04/04 12:46:10.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=78] ["take time"=7.973549ms] [job="ID:132, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:131, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:10.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:10.817 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=132] [conn=11] [job="ID:132, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:131, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:10.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:10.828 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=132] [2025/04/04 12:46:10.828 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=11] [schemaVersion=78] [cur_db=test] [sql="create table _t like t"] [user=] [2025/04/04 12:46:10.831 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119044939808780] [2025/04/04 12:46:10.835 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119044939808784] [2025/04/04 12:46:10.839 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119044939808787] [2025/04/04 12:46:10.843 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119044939808791] [2025/04/04 12:46:10.846 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119044939808794] [2025/04/04 12:46:10.850 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119044953178114] [2025/04/04 12:46:10.854 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119044953178117] [2025/04/04 12:46:10.858 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119044953178120] [2025/04/04 12:46:10.861 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119044953178123] [2025/04/04 12:46:10.865 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119044953178126] [2025/04/04 12:46:10.869 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119044953178129] [2025/04/04 12:46:10.873 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119044953178132] [2025/04/04 12:46:10.876 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119044953178135] [2025/04/04 12:46:10.880 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119044953178138] [2025/04/04 12:46:10.884 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119044953178141] [2025/04/04 12:46:10.888 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119044953178144] [2025/04/04 12:46:10.892 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119044953178148] [2025/04/04 12:46:10.896 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119044953178151] [2025/04/04 12:46:10.900 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119044966023170] [2025/04/04 12:46:10.904 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119044966023173] [2025/04/04 12:46:10.907 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119044966023176] [2025/04/04 12:46:10.911 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119044966023179] [2025/04/04 12:46:10.914 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119044966023182] [2025/04/04 12:46:10.918 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119044966023185] [2025/04/04 12:46:10.922 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119044966023188] [2025/04/04 12:46:10.926 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119044966023191] [2025/04/04 12:46:10.929 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119044966023194] [2025/04/04 12:46:10.933 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119044966023198] [2025/04/04 12:46:10.937 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119044966023201] [2025/04/04 12:46:10.941 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119044966023205] [2025/04/04 12:46:10.945 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119044966023208] [2025/04/04 12:46:10.949 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119044966023211] [2025/04/04 12:46:10.953 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119044979392515] [2025/04/04 12:46:10.956 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119044979392518] [2025/04/04 12:46:10.960 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119044979392521] [2025/04/04 12:46:10.964 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119044979392524] [2025/04/04 12:46:10.968 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119044979392527] [2025/04/04 12:46:10.972 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119044979392530] [2025/04/04 12:46:10.976 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119044979392533] [2025/04/04 12:46:10.979 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119044979392536] [2025/04/04 12:46:10.983 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119044979392539] [2025/04/04 12:46:10.987 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119044979392542] [2025/04/04 12:46:10.990 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119044979392546] [2025/04/04 12:46:10.994 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119044979392549] [2025/04/04 12:46:10.998 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119044979392552] [2025/04/04 12:46:11.004 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119044992499715] [2025/04/04 12:46:11.008 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119044992499718] [2025/04/04 12:46:11.012 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119044992499721] [2025/04/04 12:46:11.016 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119044992499724] [2025/04/04 12:46:11.019 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119044992499728] [2025/04/04 12:46:11.023 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119044992499731] [2025/04/04 12:46:11.027 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119044992499734] [2025/04/04 12:46:11.031 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119044992499737] [2025/04/04 12:46:11.035 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119044992499740] [2025/04/04 12:46:11.038 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119044992499746] [2025/04/04 12:46:11.043 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119044992499750] [2025/04/04 12:46:11.047 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119044992499753] [2025/04/04 12:46:11.051 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119045005606914] [2025/04/04 12:46:11.055 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119045005606917] [2025/04/04 12:46:11.058 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119045005606920] [2025/04/04 12:46:11.062 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119045005606923] [2025/04/04 12:46:11.066 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119045005606926] [2025/04/04 12:46:11.070 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119045005606929] [2025/04/04 12:46:11.074 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119045005606932] [2025/04/04 12:46:11.077 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119045005606935] [2025/04/04 12:46:11.081 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119045005606938] [2025/04/04 12:46:11.085 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119045005606941] [2025/04/04 12:46:11.089 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119045005606944] [2025/04/04 12:46:11.093 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119045005606948] [2025/04/04 12:46:11.097 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119045005606951] [2025/04/04 12:46:11.101 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119045018451971] [2025/04/04 12:46:11.105 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119045018451974] [2025/04/04 12:46:11.109 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119045018451977] [2025/04/04 12:46:11.113 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119045018451980] [2025/04/04 12:46:11.117 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119045018451983] [2025/04/04 12:46:11.120 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119045018451988] [2025/04/04 12:46:11.124 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119045018451991] [2025/04/04 12:46:11.128 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119045018451994] [2025/04/04 12:46:11.131 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119045018451997] [2025/04/04 12:46:11.135 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119045018452000] [2025/04/04 12:46:11.139 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119045018452003] [2025/04/04 12:46:11.143 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119045018452007] [2025/04/04 12:46:11.146 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119045018452010] [2025/04/04 12:46:11.150 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119045031821314] [2025/04/04 12:46:11.153 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119045031821317] [2025/04/04 12:46:11.157 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119045031821320] [2025/04/04 12:46:11.161 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119045031821323] [2025/04/04 12:46:11.164 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119045031821326] [2025/04/04 12:46:11.168 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119045031821329] [2025/04/04 12:46:11.171 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119045031821332] [2025/04/04 12:46:11.175 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119045031821335] [2025/04/04 12:46:11.179 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119045031821338] [2025/04/04 12:46:11.183 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119045031821341] [2025/04/04 12:46:11.187 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119045031821344] [2025/04/04 12:46:11.191 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119045031821348] [2025/04/04 12:46:11.194 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119045031821351] [2025/04/04 12:46:11.198 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119045031821354] [2025/04/04 12:46:11.202 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119045044928515] [2025/04/04 12:46:11.205 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119045044928518] [2025/04/04 12:46:11.209 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119045044928521] [2025/04/04 12:46:11.218 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119045044928525] [generation=1] [session=11] [keys=10] [size=290B] ["flushed keys"=10] ["flushed size"=290B] ["take time"=1.063208ms] [2025/04/04 12:46:11.218 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119045044928525] [generation=2] [session=11] [keys=0] [size=0B] ["flushed keys"=10] ["flushed size"=290B] ["take time"=35.427µs] [2025/04/04 12:46:11.219 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=10] [flush_wait_duration=1.241679ms] [total_duration=2.176646ms] ["memdb traversal cache hit"=20] ["memdb traversal cache miss"=20] [size=290B] [startTS=457119045044928525] [2025/04/04 12:46:11.220 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119045044928525] [commitTS=457119045044928526] [2025/04/04 12:46:11.220 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119045044928525] [startKey=7480000000000000835f728000000000000000] [endKey=7480000000000000835f728000000000000063] [concurrency=8] [2025/04/04 12:46:11.224 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119045044928525] [startKey=7480000000000000835f728000000000000000] [endKey=7480000000000000835f728000000000000063] ["cost time"=4.293018ms] ["completed regions"=1] [2025/04/04 12:46:11.224 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119045044928525] [commitTS=457119045044928526] [session=11] [2025/04/04 12:46:11.233 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119045044928527] [generation=1] [session=11] [keys=90] [size=2.61kB] ["flushed keys"=90] ["flushed size"=2.61kB] ["take time"=2.297187ms] [2025/04/04 12:46:11.233 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119045044928527] [generation=2] [session=11] [keys=0] [size=0B] ["flushed keys"=90] ["flushed size"=2.61kB] ["take time"=30.492µs] [2025/04/04 12:46:11.233 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=90] [flush_wait_duration=2.351022ms] [total_duration=11.762816ms] ["memdb traversal cache hit"=180] ["memdb traversal cache miss"=290] [size=2.61kB] [startTS=457119045044928527] [2025/04/04 12:46:11.234 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119045044928527] [commitTS=457119045044928529] [2025/04/04 12:46:11.235 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119045044928527] [startKey=7480000000000000835f728000000000000001] [endKey=7480000000000000835f728000000000000062] [concurrency=8] [2025/04/04 12:46:11.237 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119045044928527] [startKey=7480000000000000835f728000000000000001] [endKey=7480000000000000835f728000000000000062] ["cost time"=2.531893ms] ["completed regions"=1] [2025/04/04 12:46:11.237 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119045044928527] [commitTS=457119045044928529] [session=11] [2025/04/04 12:46:11.242 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 12:46:11.242 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=9a387bdf-f16c-4891-b1fc-499c3413f3fb] [] [2025/04/04 12:46:11.242 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 12:46:11.242 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=9a387bdf-f16c-4891-b1fc-499c3413f3fb] [2025/04/04 12:46:11.242 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:46:11.242 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:46:11.242 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 20, tp general"] ["take time"=68.038µs] [2025/04/04 12:46:11.242 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 21, tp general"] ["take time"=64.985µs] [2025/04/04 12:46:11.242 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 22, tp general"] ["take time"=38.816µs] [2025/04/04 12:46:11.242 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 23, tp general"] ["take time"=48.941µs] [2025/04/04 12:46:11.243 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=9a387bdf-f16c-4891-b1fc-499c3413f3fb] [2025/04/04 12:46:11.243 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=9a387bdf-f16c-4891-b1fc-499c3413f3fb] [2025/04/04 12:46:11.244 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 12:46:11.244 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 12:46:11.246 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=9a387bdf-f16c-4891-b1fc-499c3413f3fb] ["take time"=4.293336ms] [2025/04/04 12:46:11.246 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=9a387bdf-f16c-4891-b1fc-499c3413f3fb] [2025/04/04 12:46:11.246 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 12:46:11.246 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/4d6a804a-11aa-4d9a-bd92-5041c23933a4] [2025/04/04 12:46:11.246 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=9a387bdf-f16c-4891-b1fc-499c3413f3fb] [ttl-worker=task-manager] [ttl-worker=9a387bdf-f16c-4891-b1fc-499c3413f3fb] [originalCount=4] [newCount=0] [2025/04/04 12:46:11.246 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:46:11.246 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:46:11.246 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:46:11.246 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:46:11.246 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=9a387bdf-f16c-4891-b1fc-499c3413f3fb] [ttl-worker=task-manager] [ttl-worker=9a387bdf-f16c-4891-b1fc-499c3413f3fb] [originalCount=4] [newCount=0] [2025/04/04 12:46:11.249 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:46:11.249 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:46:11.249 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:46:11.249 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:46:11.251 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=9a387bdf-f16c-4891-b1fc-499c3413f3fb] [2025/04/04 12:46:11.252 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 12:46:11.252 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=449] [2025/04/04 12:46:11.252 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 12:46:11.252 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 12:46:11.252 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 12:46:11.252 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:46:11.252 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 12:46:11.253 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:46:11.253 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 12:46:11.253 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:46:11.253 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 12:46:11.253 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 12:46:11.253 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 12:46:11.253 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 12:46:11.253 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 12:46:11.253 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:46:11.253 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:11.253 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:11.253 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 12:46:11.253 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:11.253 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 12:46:11.253 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 12:46:11.253 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 12:46:11.253 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:46:11.253 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 12:46:11.252 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 12:46:11.253 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 12:46:11.253 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:46:11.253 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:46:11.253 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:46:11.253 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:46:11.253 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 12:46:11.253 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:46:11.253 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 12:46:11.253 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 12:46:11.253 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:46:11.253 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 12:46:11.253 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:46:11.253 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 12:46:11.253 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:46:11.253 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=7fed2b9a-73a1-4309-bd36-0fb8cc9cc28f] [] [2025/04/04 12:46:11.253 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=7fed2b9a-73a1-4309-bd36-0fb8cc9cc28f] [2025/04/04 12:46:11.253 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:46:11.253 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:46:11.253 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=7fed2b9a-73a1-4309-bd36-0fb8cc9cc28f] [2025/04/04 12:46:11.253 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=7fed2b9a-73a1-4309-bd36-0fb8cc9cc28f] [2025/04/04 12:46:11.252 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:11.254 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:11.253 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 12:46:11.254 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:46:11.253 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:11.253 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:46:11.253 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 12:46:11.254 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:11.254 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:46:11.253 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 12:46:11.254 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:46:11.253 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:46:11.253 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:11.253 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 12:46:11.253 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 12:46:11.254 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:46:11.253 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:11.253 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:11.253 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:46:11.253 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:11.253 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:46:11.254 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=9a387bdf-f16c-4891-b1fc-499c3413f3fb] [] [2025/04/04 12:46:11.254 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:11.254 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=9a387bdf-f16c-4891-b1fc-499c3413f3fb] [2025/04/04 12:46:11.254 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=9a387bdf-f16c-4891-b1fc-499c3413f3fb] [2025/04/04 12:46:11.254 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=9a387bdf-f16c-4891-b1fc-499c3413f3fb] [2025/04/04 12:46:11.255 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=7fed2b9a-73a1-4309-bd36-0fb8cc9cc28f] [daemon-id=LogBackup::Advancer] [2025/04/04 12:46:11.255 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:46:11.255 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 12:46:11.255 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 12:46:11.255 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 12:46:11.255 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:46:11.255 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:46:11.255 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=9a387bdf-f16c-4891-b1fc-499c3413f3fb] [error="context canceled"] [2025/04/04 12:46:11.255 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 12:46:11.255 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 12:46:11.255 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 12:46:11.255 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:46:11.256 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=9a387bdf-f16c-4891-b1fc-499c3413f3fb] [error="context canceled"] [2025/04/04 12:46:11.256 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=9a387bdf-f16c-4891-b1fc-499c3413f3fb] [2025/04/04 12:46:11.274 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 12:46:11.274 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:46:11.316 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=9a387bdf-f16c-4891-b1fc-499c3413f3fb] [error="context canceled"] [2025/04/04 12:46:11.316 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 12:46:11.316 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:46:11.327 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=85.636665ms] [2025/04/04 12:46:12.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/04 12:46:16.225 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119045044928525 commit_ts:457119045044928526 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:46:16.225 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119045044928525 commit_ts:457119045044928526 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:46:16.225 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119045044928525 commit_ts:457119045044928526 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:46:16.238 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119045044928527 commit_ts:457119045044928529 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:46:16.238 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119045044928527 commit_ts:457119045044928529 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:46:16.238 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119045044928527 commit_ts:457119045044928529 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:46:16.238 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:46:16.238 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:46:16.238 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:46:16.238 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:46:16.238 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:46:16.238 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:46:16.238 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:46:16.239 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:16.239 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:16.238 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-5] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:46:16.239 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:16.239 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:46:16.240 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPipelinedDMLInsertIgnore (6.13s) === NAME === RUN TestPipelinedDMLInsertOnDuplicateKeyUpdate [2025/04/04 12:46:16.249 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 12:46:16.250 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 12:46:16.251 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437819270443114] [2025/04/04 12:46:16.251 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:46:16.251 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 12:46:16.251 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:46:16.251 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:46:16.251 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:46:16.252 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:46:16.252 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:46:16.252 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:46:16.256 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 12:46:16.262 +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/04 12:46:16.263 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:46:16.263 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:46:16.273 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489437819270443114] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 12:46:16.283 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 12:46:16.316 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1235] ["lease id"=6f189600d42f9b36] [2025/04/04 12:46:16.318 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/04 12:46:16.411 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=78] ["elapsed time"=90.233095ms] [2025/04/04 12:46:16.411 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 12:46:16.414 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 12:46:16.419 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=d992ee4d-960a-4e8c-860b-a74778a527bd] [runWorker=true] [jobVersion=v2] [2025/04/04 12:46:16.419 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 12:46:16.421 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=d992ee4d-960a-4e8c-860b-a74778a527bd] [2025/04/04 12:46:16.422 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 12:46:16.422 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 217597550592/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 12:46:16.423 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:46:16.423 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:46:16.423 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:46:16.423 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:46:16.423 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:46:16.423 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:46:16.423 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:46:16.423 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:46:16.423 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 12:46:16.423 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:46:16.423 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:46:16.423 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 12:46:16.423 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=e04d5538-c5be-4aa8-a373-604306c70176] [2025/04/04 12:46:16.424 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9600d42f94b3] [ownerID=d992ee4d-960a-4e8c-860b-a74778a527bd] [op=none] [2025/04/04 12:46:16.425 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=d992ee4d-960a-4e8c-860b-a74778a527bd] [2025/04/04 12:46:16.425 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=d992ee4d-960a-4e8c-860b-a74778a527bd] [ownerKey=/tidb/ddl/fg/owner/3eaa9600d42f94b3] [currRev=449] [2025/04/04 12:46:16.425 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:46:16.426 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=e04d5538-c5be-4aa8-a373-604306c70176] [daemon-id=LogBackup::Advancer] [2025/04/04 12:46:16.426 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 12:46:16.426 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa9600d42f94b5] [ownerID=e04d5538-c5be-4aa8-a373-604306c70176] [op=none] [2025/04/04 12:46:16.426 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=e04d5538-c5be-4aa8-a373-604306c70176] [2025/04/04 12:46:16.426 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=e04d5538-c5be-4aa8-a373-604306c70176] [ownerKey=/tidb/br-stream/owner/3eaa9600d42f94b5] [currRev=450] [2025/04/04 12:46:16.427 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9600d42f94b3] [ownerID=d992ee4d-960a-4e8c-860b-a74778a527bd] [op=none] [2025/04/04 12:46:16.427 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=d992ee4d-960a-4e8c-860b-a74778a527bd] [op=none] [2025/04/04 12:46:16.427 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 12:46:16.438 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=d992ee4d-960a-4e8c-860b-a74778a527bd] [2025/04/04 12:46:16.439 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:46:16.439 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 12:46:16.448 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:46:16.456 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:46:16.460 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:46:16.460 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:46:16.460 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:46:16.460 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 12:46:16.460 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:46:16.460 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 12:46:16.460 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 12:46:16.460 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 12:46:16.460 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 12:46:16.462 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:46:16.462 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=d992ee4d-960a-4e8c-860b-a74778a527bd] [2025/04/04 12:46:16.463 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:46:16.463 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:46:16.463 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:46:16.463 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:46:16.463 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 12:46:16.463 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:46:16.463 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 12:46:16.463 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:46:16.463 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:46:16.463 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:46:16.463 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 12:46:16.463 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:46:16.463 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:46:16.463 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:46:16.464 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:46:16.465 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/6f189600d42f9b40] [ownerID=d992ee4d-960a-4e8c-860b-a74778a527bd] [op=none] [2025/04/04 12:46:16.465 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=d992ee4d-960a-4e8c-860b-a74778a527bd] [2025/04/04 12:46:16.465 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=d992ee4d-960a-4e8c-860b-a74778a527bd] [ownerKey=/tidb/stats/owner/6f189600d42f9b40] [currRev=452] [2025/04/04 12:46:16.465 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/04 12:46:16.468 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/28e63787-1906-477a-9339-630894f118fd] [2025/04/04 12:46:16.468 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 12:46:16.468 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=d992ee4d-960a-4e8c-860b-a74778a527bd] [ttl-worker=task-manager] [ttl-worker=d992ee4d-960a-4e8c-860b-a74778a527bd] [originalCount=0] [newCount=4] [2025/04/04 12:46:16.468 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=d992ee4d-960a-4e8c-860b-a74778a527bd] [ttl-worker=task-manager] [ttl-worker=d992ee4d-960a-4e8c-860b-a74778a527bd] [originalCount=0] [newCount=4] [2025/04/04 12:46:16.468 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=d992ee4d-960a-4e8c-860b-a74778a527bd] [2025/04/04 12:46:16.469 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:46:16.469 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 12:46:16.469 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743770776469360382 [2025/04/04 12:46:16.473 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 12:46:16.480 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=18.429087ms] [2025/04/04 12:46:16.480 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:46:16.480 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 12:46:16.483 +00:00] [INFO] [set.go:172] ["set global var"] [conn=12] [name=tidb_schema_cache_size] [val=0] [2025/04/04 12:46:16.497 +00:00] [INFO] [set.go:172] ["set global var"] [conn=12] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 12:46:16.500 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=12] [schemaVersion=78] [cur_db=test] [sql="alter table `_t` nocache"] [user=] [2025/04/04 12:46:16.501 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=12] [schemaVersion=78] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/04 12:46:16.513 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:133, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:131, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:16.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:16.513 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:133, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:131, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:16.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/04 12:46:16.519 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=133] [conn=12] [job="ID:133, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:131, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:16.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:16.535 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=78] [neededSchemaVersion=79] ["elapsed time"=1.911519ms] [gotSchemaVersion=79] [phyTblIDs="[131]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:16.539 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=133] [version=79] [2025/04/04 12:46:16.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=79] ["take time"=8.978892ms] [job="ID:133, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:131, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:16.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:16.550 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=133] [conn=12] [job="ID:133, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:131, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:16.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:16.565 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=79] [neededSchemaVersion=80] ["elapsed time"=1.897352ms] [gotSchemaVersion=80] [phyTblIDs="[131]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:16.568 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=133] [version=80] [2025/04/04 12:46:16.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=80] ["take time"=8.671892ms] [job="ID:133, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:131, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:16.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:16.578 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=133] [conn=12] [job="ID:133, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:131, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:16.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:16.584 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 131, Old Table Name: _t)"] [2025/04/04 12:46:16.597 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=80] [neededSchemaVersion=81] ["elapsed time"=1.085886ms] [gotSchemaVersion=81] [phyTblIDs="[131]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:16.600 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=133] [version=81] [2025/04/04 12:46:16.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=81] ["take time"=7.735566ms] [job="ID:133, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:131, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:16.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:16.611 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=133] [tableIDs="[131]"] [comment="drop table: table ID"] [2025/04/04 12:46:16.618 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=133] [jobType="drop table"] [2025/04/04 12:46:16.619 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=133] [conn=12] [job="ID:133, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:131, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:16.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:16.637 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=133] [2025/04/04 12:46:16.647 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:134, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:129, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:16.597 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:16.648 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:134, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:129, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:16.597 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/04 12:46:16.653 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=134] [conn=12] [job="ID:134, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:129, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:16.597 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:16.667 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=81] [neededSchemaVersion=82] ["elapsed time"=1.847209ms] [gotSchemaVersion=82] [phyTblIDs="[129]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:16.671 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=134] [version=82] [2025/04/04 12:46:16.673 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=82] ["take time"=9.023999ms] [job="ID:134, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:129, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:16.597 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:16.683 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=134] [conn=12] [job="ID:134, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:129, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:16.597 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:16.698 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=82] [neededSchemaVersion=83] ["elapsed time"=1.78006ms] [gotSchemaVersion=83] [phyTblIDs="[129]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:16.701 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=134] [version=83] [2025/04/04 12:46:16.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=83] ["take time"=8.273383ms] [job="ID:134, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:129, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:16.597 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:16.711 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=134] [conn=12] [job="ID:134, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:129, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:16.597 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:16.717 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 129, Old Table Name: t)"] [2025/04/04 12:46:16.730 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=83] [neededSchemaVersion=84] ["elapsed time"=1.042615ms] [gotSchemaVersion=84] [phyTblIDs="[129]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:16.733 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=134] [version=84] [2025/04/04 12:46:16.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=84] ["take time"=7.560821ms] [job="ID:134, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:129, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:16.597 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:16.744 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=134] [tableIDs="[129]"] [comment="drop table: table ID"] [2025/04/04 12:46:16.748 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=134] [jobType="drop table"] [2025/04/04 12:46:16.749 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=134] [conn=12] [job="ID:134, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:129, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:16.597 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:16.766 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=134] [2025/04/04 12:46:16.766 +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: 1743770776766944358 [2025/04/04 12:46:16.770 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=13] [schemaVersion=84] [cur_db=test] [sql="drop table if exists t, _t"] [user=] [2025/04/04 12:46:16.783 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:136, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:16.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:16.783 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:136, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:16.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a int primary key, b int)"] [2025/04/04 12:46:16.789 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=136] [conn=13] [job="ID:136, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:135, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:16.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:16.793 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 135, Table Name: t)"] [2025/04/04 12:46:16.811 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=84] [neededSchemaVersion=85] ["elapsed time"=1.501866ms] [gotSchemaVersion=85] [phyTblIDs="[135]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:46:16.814 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=136] [version=85] [2025/04/04 12:46:16.816 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=85] ["take time"=11.729155ms] [job="ID:136, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:16.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:16.827 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=136] [conn=13] [job="ID:136, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:135, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:16.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:16.838 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=136] [2025/04/04 12:46:16.838 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=13] [schemaVersion=85] [cur_db=test] [sql="create table t (a int primary key, b int)"] [user=] [2025/04/04 12:46:16.850 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:138, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:137, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:16.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:16.850 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:138, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:137, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:16.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t like t"] [2025/04/04 12:46:16.856 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=138] [conn=13] [job="ID:138, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:137, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:16.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:16.860 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 137, Table Name: _t)"] [2025/04/04 12:46:16.873 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=85] [neededSchemaVersion=86] ["elapsed time"=1.362111ms] [gotSchemaVersion=86] [phyTblIDs="[137]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:46:16.877 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=138] [version=86] [2025/04/04 12:46:16.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=86] ["take time"=7.990444ms] [job="ID:138, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:137, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:16.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:16.890 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=138] [conn=13] [job="ID:138, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:137, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:16.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:16.900 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=138] [2025/04/04 12:46:16.901 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=13] [schemaVersion=86] [cur_db=test] [sql="create table _t like t"] [user=] [2025/04/04 12:46:16.903 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046539149316] [2025/04/04 12:46:16.907 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046539149320] [2025/04/04 12:46:16.911 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046539149323] [2025/04/04 12:46:16.915 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046539149326] [2025/04/04 12:46:16.919 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046539149329] [2025/04/04 12:46:16.922 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046539149332] [2025/04/04 12:46:16.926 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046539149336] [2025/04/04 12:46:16.930 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046539149342] [2025/04/04 12:46:16.934 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046539149345] [2025/04/04 12:46:16.938 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046539149348] [2025/04/04 12:46:16.942 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046539149351] [2025/04/04 12:46:16.946 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046539149354] [2025/04/04 12:46:16.949 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046551994370] [2025/04/04 12:46:16.953 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046551994373] [2025/04/04 12:46:16.957 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046551994376] [2025/04/04 12:46:16.961 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046551994379] [2025/04/04 12:46:16.964 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046551994382] [2025/04/04 12:46:16.968 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046551994385] [2025/04/04 12:46:16.972 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046551994388] [2025/04/04 12:46:16.975 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046551994391] [2025/04/04 12:46:16.980 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046551994395] [2025/04/04 12:46:16.984 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046551994398] [2025/04/04 12:46:16.987 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046551994401] [2025/04/04 12:46:16.992 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046551994404] [2025/04/04 12:46:16.995 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046551994407] [2025/04/04 12:46:16.999 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046551994410] [2025/04/04 12:46:17.003 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046565363715] [2025/04/04 12:46:17.007 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046565363718] [2025/04/04 12:46:17.010 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046565363721] [2025/04/04 12:46:17.014 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046565363724] [2025/04/04 12:46:17.018 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046565363727] [2025/04/04 12:46:17.022 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046565363730] [2025/04/04 12:46:17.026 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046565363734] [2025/04/04 12:46:17.030 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046565363738] [2025/04/04 12:46:17.034 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046565363741] [2025/04/04 12:46:17.038 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046565363744] [2025/04/04 12:46:17.041 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046565363747] [2025/04/04 12:46:17.045 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046565363750] [2025/04/04 12:46:17.049 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046565363753] [2025/04/04 12:46:17.052 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046578208771] [2025/04/04 12:46:17.056 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046578208774] [2025/04/04 12:46:17.060 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046578208777] [2025/04/04 12:46:17.064 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046578208780] [2025/04/04 12:46:17.067 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046578208783] [2025/04/04 12:46:17.071 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046578208787] [2025/04/04 12:46:17.075 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046578208790] [2025/04/04 12:46:17.079 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046578208794] [2025/04/04 12:46:17.083 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046578208797] [2025/04/04 12:46:17.087 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046578208800] [2025/04/04 12:46:17.090 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046578208803] [2025/04/04 12:46:17.095 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046578208806] [2025/04/04 12:46:17.099 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046578208809] [2025/04/04 12:46:17.103 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046591578115] [2025/04/04 12:46:17.107 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046591578118] [2025/04/04 12:46:17.111 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046591578121] [2025/04/04 12:46:17.115 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046591578124] [2025/04/04 12:46:17.118 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046591578127] [2025/04/04 12:46:17.122 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046591578130] [2025/04/04 12:46:17.126 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046591578134] [2025/04/04 12:46:17.130 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046591578139] [2025/04/04 12:46:17.134 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046591578142] [2025/04/04 12:46:17.138 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046591578145] [2025/04/04 12:46:17.142 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046591578148] [2025/04/04 12:46:17.146 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046591578151] [2025/04/04 12:46:17.149 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046604423169] [2025/04/04 12:46:17.153 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046604423172] [2025/04/04 12:46:17.157 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046604423175] [2025/04/04 12:46:17.160 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046604423178] [2025/04/04 12:46:17.164 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046604423181] [2025/04/04 12:46:17.168 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046604423184] [2025/04/04 12:46:17.172 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046604423187] [2025/04/04 12:46:17.176 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046604423191] [2025/04/04 12:46:17.180 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046604423197] [2025/04/04 12:46:17.184 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046604423200] [2025/04/04 12:46:17.188 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046604423203] [2025/04/04 12:46:17.192 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046604423206] [2025/04/04 12:46:17.196 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046604423209] [2025/04/04 12:46:17.200 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046617530370] [2025/04/04 12:46:17.204 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046617530373] [2025/04/04 12:46:17.208 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046617530376] [2025/04/04 12:46:17.212 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046617530379] [2025/04/04 12:46:17.216 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046617530382] [2025/04/04 12:46:17.220 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046617530385] [2025/04/04 12:46:17.224 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046617530388] [2025/04/04 12:46:17.228 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046617530391] [2025/04/04 12:46:17.231 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046617530395] [2025/04/04 12:46:17.235 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046617530398] [2025/04/04 12:46:17.239 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046617530401] [2025/04/04 12:46:17.243 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046617530404] [2025/04/04 12:46:17.247 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046617530407] [2025/04/04 12:46:17.250 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046630899714] [2025/04/04 12:46:17.254 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046630899717] [2025/04/04 12:46:17.259 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046630899720] [2025/04/04 12:46:17.262 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046630899723] [2025/04/04 12:46:17.266 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046630899726] [2025/04/04 12:46:17.270 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046630899729] [2025/04/04 12:46:17.274 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046630899732] [2025/04/04 12:46:17.278 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046630899735] [2025/04/04 12:46:17.282 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046630899739] [2025/04/04 12:46:17.285 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046630899742] [2025/04/04 12:46:17.294 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119046630899745] [2025/04/04 12:46:17.314 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=d992ee4d-960a-4e8c-860b-a74778a527bd] [] [2025/04/04 12:46:17.314 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 12:46:17.314 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=d992ee4d-960a-4e8c-860b-a74778a527bd] [2025/04/04 12:46:17.314 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 12:46:17.314 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:46:17.314 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:46:17.314 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 24, tp general"] ["take time"=42.262µs] [2025/04/04 12:46:17.314 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 25, tp general"] ["take time"=48.738µs] [2025/04/04 12:46:17.314 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 26, tp general"] ["take time"=44.613µs] [2025/04/04 12:46:17.314 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 27, tp general"] ["take time"=31.621µs] [2025/04/04 12:46:17.314 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=d992ee4d-960a-4e8c-860b-a74778a527bd] [2025/04/04 12:46:17.314 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=d992ee4d-960a-4e8c-860b-a74778a527bd] [2025/04/04 12:46:17.315 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 12:46:17.316 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 12:46:17.317 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=d992ee4d-960a-4e8c-860b-a74778a527bd] ["take time"=3.669981ms] [2025/04/04 12:46:17.317 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=d992ee4d-960a-4e8c-860b-a74778a527bd] [2025/04/04 12:46:17.317 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 12:46:17.317 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/28e63787-1906-477a-9339-630894f118fd] [2025/04/04 12:46:17.318 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=d992ee4d-960a-4e8c-860b-a74778a527bd] [ttl-worker=task-manager] [ttl-worker=d992ee4d-960a-4e8c-860b-a74778a527bd] [originalCount=4] [newCount=0] [2025/04/04 12:46:17.318 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:46:17.318 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:46:17.318 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:46:17.318 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:46:17.318 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=d992ee4d-960a-4e8c-860b-a74778a527bd] [ttl-worker=task-manager] [ttl-worker=d992ee4d-960a-4e8c-860b-a74778a527bd] [originalCount=4] [newCount=0] [2025/04/04 12:46:17.320 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:46:17.320 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:46:17.321 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:46:17.321 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:46:17.323 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=d992ee4d-960a-4e8c-860b-a74778a527bd] [2025/04/04 12:46:17.323 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 12:46:17.324 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1235] [2025/04/04 12:46:17.324 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=e04d5538-c5be-4aa8-a373-604306c70176] [] [2025/04/04 12:46:17.324 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 12:46:17.324 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 12:46:17.324 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=e04d5538-c5be-4aa8-a373-604306c70176] [2025/04/04 12:46:17.324 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 12:46:17.324 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:46:17.324 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 12:46:17.324 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 12:46:17.324 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 12:46:17.324 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 12:46:17.324 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:46:17.324 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 12:46:17.324 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:17.324 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 12:46:17.324 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 12:46:17.324 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 12:46:17.324 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 12:46:17.324 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:46:17.324 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:17.324 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 12:46:17.324 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:17.324 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:17.324 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:17.324 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 12:46:17.324 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:17.324 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:46:17.324 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:46:17.324 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:46:17.324 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 12:46:17.324 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:46:17.324 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 12:46:17.324 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:46:17.324 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:46:17.324 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:46:17.324 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 12:46:17.324 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:46:17.324 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 12:46:17.324 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 12:46:17.325 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:46:17.324 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=e04d5538-c5be-4aa8-a373-604306c70176] [2025/04/04 12:46:17.325 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:46:17.324 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 12:46:17.324 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 12:46:17.325 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=e04d5538-c5be-4aa8-a373-604306c70176] [2025/04/04 12:46:17.325 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:46:17.324 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:46:17.324 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:17.325 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=d992ee4d-960a-4e8c-860b-a74778a527bd] [] [2025/04/04 12:46:17.325 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=d992ee4d-960a-4e8c-860b-a74778a527bd] [2025/04/04 12:46:17.325 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:17.324 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 12:46:17.324 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:46:17.324 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 12:46:17.325 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=d992ee4d-960a-4e8c-860b-a74778a527bd] [2025/04/04 12:46:17.325 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:46:17.325 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=d992ee4d-960a-4e8c-860b-a74778a527bd] [2025/04/04 12:46:17.324 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:46:17.324 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:17.324 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:17.325 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:17.325 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:17.324 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 12:46:17.324 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:46:17.324 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 12:46:17.324 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:46:17.324 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 12:46:17.325 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:46:17.325 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:46:17.325 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:46:17.324 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 12:46:17.326 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 12:46:17.326 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=e04d5538-c5be-4aa8-a373-604306c70176] [daemon-id=LogBackup::Advancer] [2025/04/04 12:46:17.326 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 12:46:17.326 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 12:46:17.326 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:46:17.326 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:46:17.326 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 12:46:17.326 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:46:17.326 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:46:17.326 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 12:46:17.326 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 12:46:17.327 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=d992ee4d-960a-4e8c-860b-a74778a527bd] [error="context canceled"] [2025/04/04 12:46:17.327 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=d992ee4d-960a-4e8c-860b-a74778a527bd] [2025/04/04 12:46:17.344 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 12:46:17.344 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:46:17.388 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=d992ee4d-960a-4e8c-860b-a74778a527bd] [error="context canceled"] [2025/04/04 12:46:17.388 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 12:46:17.388 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:46:17.398 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=84.692696ms] [2025/04/04 12:46:17.401 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:46:17.401 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:46:17.401 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:46:17.401 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:46:17.401 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:46:17.401 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:46:17.401 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:46:17.401 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:17.401 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:17.401 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-6] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:46:17.401 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:17.401 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:46:17.402 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPipelinedDMLInsertOnDuplicateKeyUpdate (1.16s) === NAME === RUN TestPipelinedDMLInsertRPC [2025/04/04 12:46:17.407 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 12:46:17.408 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 12:46:17.409 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437819270443114] [2025/04/04 12:46:17.409 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:46:17.409 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 12:46:17.410 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:46:17.410 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:46:17.410 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:46:17.410 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:46:17.410 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:46:17.410 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:46:17.414 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 12:46:17.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/04 12:46:17.420 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:46:17.420 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:46:17.430 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489437819270443114] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 12:46:17.440 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 12:46:17.473 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=81] ["lease id"=22319600d42fa166] [2025/04/04 12:46:17.475 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/04 12:46:17.568 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=86] ["elapsed time"=90.681982ms] [2025/04/04 12:46:17.568 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 12:46:17.571 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 12:46:17.578 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=850de45d-967c-4caa-8edf-627d6a0f6db9] [runWorker=true] [jobVersion=v2] [2025/04/04 12:46:17.578 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 12:46:17.580 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=850de45d-967c-4caa-8edf-627d6a0f6db9] [2025/04/04 12:46:17.582 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 12:46:17.582 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 217597571072/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 12:46:17.582 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:46:17.582 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:46:17.582 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:46:17.582 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:46:17.582 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:46:17.582 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:46:17.582 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:46:17.583 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:46:17.583 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:46:17.583 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 12:46:17.583 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:46:17.583 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 12:46:17.583 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=0e07addf-8e99-4df2-be76-78706d427434] [2025/04/04 12:46:17.584 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319600d42fa16b] [ownerID=850de45d-967c-4caa-8edf-627d6a0f6db9] [op=none] [2025/04/04 12:46:17.584 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=850de45d-967c-4caa-8edf-627d6a0f6db9] [2025/04/04 12:46:17.584 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=850de45d-967c-4caa-8edf-627d6a0f6db9] [ownerKey=/tidb/ddl/fg/owner/22319600d42fa16b] [currRev=489] [2025/04/04 12:46:17.586 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:46:17.586 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=0e07addf-8e99-4df2-be76-78706d427434] [daemon-id=LogBackup::Advancer] [2025/04/04 12:46:17.586 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 12:46:17.586 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f189600d42f9b59] [ownerID=0e07addf-8e99-4df2-be76-78706d427434] [op=none] [2025/04/04 12:46:17.586 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=0e07addf-8e99-4df2-be76-78706d427434] [2025/04/04 12:46:17.586 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=0e07addf-8e99-4df2-be76-78706d427434] [ownerKey=/tidb/br-stream/owner/6f189600d42f9b59] [currRev=490] [2025/04/04 12:46:17.587 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319600d42fa16b] [ownerID=850de45d-967c-4caa-8edf-627d6a0f6db9] [op=none] [2025/04/04 12:46:17.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=850de45d-967c-4caa-8edf-627d6a0f6db9] [op=none] [2025/04/04 12:46:17.587 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 12:46:17.598 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=850de45d-967c-4caa-8edf-627d6a0f6db9] [2025/04/04 12:46:17.599 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:46:17.600 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 12:46:17.609 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:46:17.617 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:46:17.622 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:46:17.622 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:46:17.622 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 12:46:17.622 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:46:17.622 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 12:46:17.622 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:46:17.622 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 12:46:17.622 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 12:46:17.622 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 12:46:17.623 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:46:17.624 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=850de45d-967c-4caa-8edf-627d6a0f6db9] [2025/04/04 12:46:17.625 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:46:17.625 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:46:17.625 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:46:17.625 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:46:17.625 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 12:46:17.625 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:46:17.625 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 12:46:17.625 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:46:17.625 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:46:17.625 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:46:17.625 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 12:46:17.625 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:46:17.625 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:46:17.625 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:46:17.625 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:46:17.627 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/04 12:46:17.627 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/22319600d42fa173] [ownerID=850de45d-967c-4caa-8edf-627d6a0f6db9] [op=none] [2025/04/04 12:46:17.627 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=850de45d-967c-4caa-8edf-627d6a0f6db9] [2025/04/04 12:46:17.627 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=850de45d-967c-4caa-8edf-627d6a0f6db9] [ownerKey=/tidb/stats/owner/22319600d42fa173] [currRev=492] [2025/04/04 12:46:17.630 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/d1fe2120-12ae-4cdf-bd2c-1efcdfdb1f63] [2025/04/04 12:46:17.630 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=850de45d-967c-4caa-8edf-627d6a0f6db9] [ttl-worker=task-manager] [ttl-worker=850de45d-967c-4caa-8edf-627d6a0f6db9] [originalCount=0] [newCount=4] [2025/04/04 12:46:17.630 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=850de45d-967c-4caa-8edf-627d6a0f6db9] [ttl-worker=task-manager] [ttl-worker=850de45d-967c-4caa-8edf-627d6a0f6db9] [originalCount=0] [newCount=4] [2025/04/04 12:46:17.630 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=850de45d-967c-4caa-8edf-627d6a0f6db9] [2025/04/04 12:46:17.631 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:46:17.631 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 12:46:17.631 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743770777631449090 [2025/04/04 12:46:17.632 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 12:46:17.638 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 12:46:17.648 +00:00] [INFO] [set.go:172] ["set global var"] [conn=14] [name=tidb_schema_cache_size] [val=0] [2025/04/04 12:46:17.650 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=26.222232ms] [2025/04/04 12:46:17.650 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 12:46:17.650 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:46:17.668 +00:00] [INFO] [set.go:172] ["set global var"] [conn=14] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 12:46:17.671 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=14] [schemaVersion=86] [cur_db=test] [sql="alter table `_t` nocache"] [user=] [2025/04/04 12:46:17.672 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=14] [schemaVersion=86] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/04 12:46:17.685 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:139, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:137, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:17.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:17.685 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:139, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:137, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:17.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/04 12:46:17.690 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=139] [conn=14] [job="ID:139, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:137, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:17.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:17.706 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=86] [neededSchemaVersion=87] ["elapsed time"=1.87217ms] [gotSchemaVersion=87] [phyTblIDs="[137]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:17.710 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=139] [version=87] [2025/04/04 12:46:17.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=87] ["take time"=8.848957ms] [job="ID:139, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:137, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:17.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:17.721 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=139] [conn=14] [job="ID:139, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:137, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:17.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:17.737 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=87] [neededSchemaVersion=88] ["elapsed time"=1.796213ms] [gotSchemaVersion=88] [phyTblIDs="[137]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:17.741 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=139] [version=88] [2025/04/04 12:46:17.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=88] ["take time"=9.233489ms] [job="ID:139, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:137, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:17.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:17.751 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=139] [conn=14] [job="ID:139, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:137, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:17.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:17.757 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 137, Old Table Name: _t)"] [2025/04/04 12:46:17.770 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=88] [neededSchemaVersion=89] ["elapsed time"=1.043163ms] [gotSchemaVersion=89] [phyTblIDs="[137]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:17.773 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=139] [version=89] [2025/04/04 12:46:17.775 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=89] ["take time"=8.000758ms] [job="ID:139, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:137, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:17.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:17.784 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=139] [tableIDs="[137]"] [comment="drop table: table ID"] [2025/04/04 12:46:17.792 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=139] [jobType="drop table"] [2025/04/04 12:46:17.793 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=139] [conn=14] [job="ID:139, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:137, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:17.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:17.811 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=139] [2025/04/04 12:46:17.821 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:140, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:17.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:17.821 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:140, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:17.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/04 12:46:17.826 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=140] [conn=14] [job="ID:140, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:135, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:17.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:17.843 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=89] [neededSchemaVersion=90] ["elapsed time"=1.780821ms] [gotSchemaVersion=90] [phyTblIDs="[135]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:17.846 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=140] [version=90] [2025/04/04 12:46:17.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=90] ["take time"=10.192402ms] [job="ID:140, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:17.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:17.859 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=140] [conn=14] [job="ID:140, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:135, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:17.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:17.875 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=90] [neededSchemaVersion=91] ["elapsed time"=1.849667ms] [gotSchemaVersion=91] [phyTblIDs="[135]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:17.879 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=140] [version=91] [2025/04/04 12:46:17.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=91] ["take time"=9.188932ms] [job="ID:140, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:17.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:17.890 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=140] [conn=14] [job="ID:140, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:135, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:17.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:17.896 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 135, Old Table Name: t)"] [2025/04/04 12:46:17.909 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=91] [neededSchemaVersion=92] ["elapsed time"=1.108713ms] [gotSchemaVersion=92] [phyTblIDs="[135]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:17.913 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=140] [version=92] [2025/04/04 12:46:17.914 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=92] ["take time"=8.176921ms] [job="ID:140, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:17.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:17.924 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=140] [tableIDs="[135]"] [comment="drop table: table ID"] [2025/04/04 12:46:17.929 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=140] [jobType="drop table"] [2025/04/04 12:46:17.929 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=140] [conn=14] [job="ID:140, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:17.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:17.948 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=140] [2025/04/04 12:46:17.948 +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: 1743770777949139817 [2025/04/04 12:46:17.953 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=92] [cur_db=test] [sql="drop table if exists t1, _t1"] [user=] [2025/04/04 12:46:17.965 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:142, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:141, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:17.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:17.965 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:142, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:141, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:17.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t1 (a int, b int)"] [2025/04/04 12:46:17.971 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=142] [conn=15] [job="ID:142, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:141, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:17.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:17.976 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 141, Table Name: t1)"] [2025/04/04 12:46:17.990 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=92] [neededSchemaVersion=93] ["elapsed time"=1.478392ms] [gotSchemaVersion=93] [phyTblIDs="[141]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:46:17.994 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=142] [version=93] [2025/04/04 12:46:17.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=93] ["take time"=8.615172ms] [job="ID:142, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:141, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:17.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:18.007 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=142] [conn=15] [job="ID:142, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:141, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:17.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:18.018 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=142] [2025/04/04 12:46:18.018 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=93] [cur_db=test] [sql="create table t1 (a int, b int)"] [user=] [2025/04/04 12:46:18.037 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:144, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:143, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:17.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:18.037 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:144, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:143, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:17.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t1 (a int, b int)"] [2025/04/04 12:46:18.042 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=144] [conn=15] [job="ID:144, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:143, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:17.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:18.047 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 143, Table Name: _t1)"] [2025/04/04 12:46:18.062 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=93] [neededSchemaVersion=94] ["elapsed time"=1.571298ms] [gotSchemaVersion=94] [phyTblIDs="[143]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:46:18.065 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=144] [version=94] [2025/04/04 12:46:18.067 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=94] ["take time"=9.316374ms] [job="ID:144, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:143, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:17.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:18.079 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=144] [conn=15] [job="ID:144, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:143, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:17.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:18.091 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=144] [2025/04/04 12:46:18.091 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=94] [cur_db=test] [sql="create table _t1 (a int, b int)"] [user=] [2025/04/04 12:46:18.116 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:146, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:143, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:18.097 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/04 12:46:18.116 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:146, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:143, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:18.097 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:18.122 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=146] [conn=15] [job="ID:146, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:143, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:18.097 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:18.129 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 145, Table Name: _t1, Old Table ID: 143, Old Table Name: _t1)"] [2025/04/04 12:46:18.144 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=94] [neededSchemaVersion=95] ["elapsed time"=1.607673ms] [gotSchemaVersion=95] [phyTblIDs="[143,145]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 12:46:18.147 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=146] [version=95] [2025/04/04 12:46:18.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=95] ["take time"=8.586625ms] [job="ID:146, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:143, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:18.097 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:18.160 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=146] [tableIDs="[143]"] [comment="truncate table: table ID"] [2025/04/04 12:46:18.164 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=146] [jobType="truncate table"] [2025/04/04 12:46:18.165 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=146] [conn=15] [job="ID:146, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:143, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:18.097 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:18.182 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=146] [2025/04/04 12:46:18.183 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=95] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/04 12:46:18.190 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119046866567181] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=1.113234ms] [2025/04/04 12:46:18.190 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.244989ms] [total_duration=5.770747ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=10] [size=165B] [startTS=457119046866567181] [2025/04/04 12:46:18.191 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119046866567181] [commitTS=457119046866567185] [2025/04/04 12:46:18.192 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119046866567181] [startKey=7480000000000000915f728000000000000001] [endKey=7480000000000000915f728000000000000005] [concurrency=8] [2025/04/04 12:46:18.196 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119046866567181] [startKey=7480000000000000915f728000000000000001] [endKey=7480000000000000915f728000000000000005] ["cost time"=4.275156ms] ["completed regions"=1] [2025/04/04 12:46:18.196 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119046866567181] [commitTS=457119046866567185] [session=15] [2025/04/04 12:46:18.207 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:148, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:145, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:18.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:18.207 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:148, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:145, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:18.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/04 12:46:18.212 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=148] [conn=15] [job="ID:148, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:145, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:18.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:18.219 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 147, Table Name: _t1, Old Table ID: 145, Old Table Name: _t1)"] [2025/04/04 12:46:18.234 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=95] [neededSchemaVersion=96] ["elapsed time"=2.069192ms] [gotSchemaVersion=96] [phyTblIDs="[145,147]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 12:46:18.239 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=148] [version=96] [2025/04/04 12:46:18.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=96] ["take time"=10.410337ms] [job="ID:148, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:145, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:18.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:18.254 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=148] [tableIDs="[145]"] [comment="truncate table: table ID"] [2025/04/04 12:46:18.259 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=148] [jobType="truncate table"] [2025/04/04 12:46:18.260 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=148] [conn=15] [job="ID:148, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:145, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:18.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:18.279 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=148] [2025/04/04 12:46:18.279 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=96] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/04 12:46:18.286 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119046892781579] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=931.67µs] [2025/04/04 12:46:18.286 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.052175ms] [total_duration=5.644982ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=5] [size=165B] [startTS=457119046892781579] [2025/04/04 12:46:18.288 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119046892781579] [commitTS=457119046892781582] [2025/04/04 12:46:18.288 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119046892781579] [startKey=7480000000000000935f728000000000000001] [endKey=7480000000000000935f728000000000000005] [concurrency=8] [2025/04/04 12:46:18.291 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119046892781579] [startKey=7480000000000000935f728000000000000001] [endKey=7480000000000000935f728000000000000005] ["cost time"=2.555266ms] ["completed regions"=1] [2025/04/04 12:46:18.291 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119046892781579] [commitTS=457119046892781582] [session=15] [2025/04/04 12:46:18.297 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119046892781584] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=1.115147ms] [2025/04/04 12:46:18.297 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.206416ms] [total_duration=2.850831ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=5] [size=165B] [startTS=457119046892781584] [2025/04/04 12:46:18.298 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119046892781584] [commitTS=457119046892781585] [2025/04/04 12:46:18.298 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119046892781584] [startKey=7480000000000000935f728000000000000006] [endKey=7480000000000000935f72800000000000000a] [concurrency=8] [2025/04/04 12:46:18.301 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119046892781584] [startKey=7480000000000000935f728000000000000006] [endKey=7480000000000000935f72800000000000000a] ["cost time"=2.107413ms] ["completed regions"=1] [2025/04/04 12:46:18.301 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119046892781584] [commitTS=457119046892781585] [session=15] [2025/04/04 12:46:18.305 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119046905888769] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=941.537µs] [2025/04/04 12:46:18.306 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.030756ms] [total_duration=2.768381ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=10] [size=165B] [startTS=457119046905888769] [2025/04/04 12:46:18.307 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119046905888769] [commitTS=457119046905888770] [2025/04/04 12:46:18.307 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119046905888769] [startKey=7480000000000000935f72800000000000000b] [endKey=7480000000000000935f72800000000000000f] [concurrency=8] [2025/04/04 12:46:18.309 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119046905888769] [startKey=7480000000000000935f72800000000000000b] [endKey=7480000000000000935f72800000000000000f] ["cost time"=1.832291ms] ["completed regions"=1] [2025/04/04 12:46:18.309 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119046905888769] [commitTS=457119046905888770] [session=15] [2025/04/04 12:46:18.314 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119046905888771] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=923.178µs] [2025/04/04 12:46:18.314 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.032259ms] [total_duration=2.696859ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=10] [size=165B] [startTS=457119046905888771] [2025/04/04 12:46:18.315 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119046905888771] [commitTS=457119046905888772] [2025/04/04 12:46:18.315 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119046905888771] [startKey=7480000000000000935f728000000000000010] [endKey=7480000000000000935f728000000000000014] [concurrency=8] [2025/04/04 12:46:18.317 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119046905888771] [startKey=7480000000000000935f728000000000000010] [endKey=7480000000000000935f728000000000000014] ["cost time"=1.873032ms] ["completed regions"=1] [2025/04/04 12:46:18.317 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119046905888771] [commitTS=457119046905888772] [session=15] [2025/04/04 12:46:18.329 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:149, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:141, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:18.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:18.329 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:149, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:141, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:18.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t1, _t1"] [2025/04/04 12:46:18.335 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=149] [conn=15] [job="ID:149, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:141, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:18.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:18.351 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=96] [neededSchemaVersion=97] ["elapsed time"=1.900744ms] [gotSchemaVersion=97] [phyTblIDs="[141]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:18.355 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=149] [version=97] [2025/04/04 12:46:18.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=97] ["take time"=9.26282ms] [job="ID:149, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:141, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:18.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:18.367 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=149] [conn=15] [job="ID:149, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:141, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:18.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:18.382 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=97] [neededSchemaVersion=98] ["elapsed time"=1.931283ms] [gotSchemaVersion=98] [phyTblIDs="[141]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:18.385 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=149] [version=98] [2025/04/04 12:46:18.387 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=98] ["take time"=8.952266ms] [job="ID:149, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:141, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:18.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:18.396 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=149] [conn=15] [job="ID:149, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:141, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:18.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:18.402 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 141, Old Table Name: t1)"] [2025/04/04 12:46:18.415 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=98] [neededSchemaVersion=99] ["elapsed time"=1.134643ms] [gotSchemaVersion=99] [phyTblIDs="[141]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:18.418 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=149] [version=99] [2025/04/04 12:46:18.420 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=99] ["take time"=8.005057ms] [job="ID:149, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:141, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:18.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:18.429 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=149] [tableIDs="[141]"] [comment="drop table: table ID"] [2025/04/04 12:46:18.433 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=149] [jobType="drop table"] [2025/04/04 12:46:18.434 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=149] [conn=15] [job="ID:149, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:141, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:18.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:18.452 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=149] [2025/04/04 12:46:18.462 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:150, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:147, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:18.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:18.462 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:150, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:147, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:18.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t1, _t1"] [2025/04/04 12:46:18.468 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=150] [conn=15] [job="ID:150, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:147, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:18.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:18.483 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=99] [neededSchemaVersion=100] ["elapsed time"=1.872659ms] [gotSchemaVersion=100] [phyTblIDs="[147]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:18.486 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=150] [version=100] [2025/04/04 12:46:18.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=100] ["take time"=8.792145ms] [job="ID:150, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:147, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:18.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:18.498 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=150] [conn=15] [job="ID:150, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:147, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:18.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:18.513 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=100] [neededSchemaVersion=101] ["elapsed time"=1.940139ms] [gotSchemaVersion=101] [phyTblIDs="[147]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:18.517 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=150] [version=101] [2025/04/04 12:46:18.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=101] ["take time"=8.67938ms] [job="ID:150, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:147, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:18.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:18.526 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=150] [conn=15] [job="ID:150, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:147, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:18.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:18.532 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 147, Old Table Name: _t1)"] [2025/04/04 12:46:18.546 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=101] [neededSchemaVersion=102] ["elapsed time"=1.099724ms] [gotSchemaVersion=102] [phyTblIDs="[147]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:18.549 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=150] [version=102] [2025/04/04 12:46:18.551 +00:00] [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.651522ms] [job="ID:150, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:147, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:18.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:18.561 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=150] [tableIDs="[147]"] [comment="drop table: table ID"] [2025/04/04 12:46:18.565 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=150] [jobType="drop table"] [2025/04/04 12:46:18.566 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=150] [conn=15] [job="ID:150, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:147, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:18.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:18.583 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=150] [2025/04/04 12:46:18.583 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=102] [cur_db=test] [sql="drop table if exists t1, _t1"] [user=] [2025/04/04 12:46:18.591 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/04 12:46:18.591 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 12:46:18.591 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 12:46:18.591 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:46:18.596 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:152, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:151, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:18.547 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:18.596 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:152, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:151, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:18.547 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t1 (a int, b int)"] [2025/04/04 12:46:18.602 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=152] [conn=15] [job="ID:152, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:151, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:18.547 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:18.607 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 151, Table Name: _t1)"] [2025/04/04 12:46:18.621 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=102] [neededSchemaVersion=103] ["elapsed time"=1.564757ms] [gotSchemaVersion=103] [phyTblIDs="[151]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:46:18.624 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=152] [version=103] [2025/04/04 12:46:18.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=103] ["take time"=8.234224ms] [job="ID:152, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:151, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:18.547 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:18.630 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/04 12:46:18.630 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/04 12:46:18.630 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/d1fe2120-12ae-4cdf-bd2c-1efcdfdb1f63] [watcherID=9b807752-e17b-4065-962b-7083713f394b] [2025/04/04 12:46:18.631 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/04 12:46:18.636 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/04 12:46:18.636 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/04 12:46:18.636 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/04 12:46:18.636 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/04 12:46:18.638 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=152] [conn=15] [job="ID:152, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:151, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:18.547 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:18.649 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=152] [2025/04/04 12:46:18.649 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=103] [cur_db=test] [sql="create table _t1 (a int, b int)"] [user=] [2025/04/04 12:46:18.670 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:154, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:151, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:18.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:18.670 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:154, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:151, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:18.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/04 12:46:18.675 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=154] [conn=15] [job="ID:154, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:151, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:18.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:18.683 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 153, Table Name: _t1, Old Table ID: 151, Old Table Name: _t1)"] [2025/04/04 12:46:18.697 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=103] [neededSchemaVersion=104] ["elapsed time"=1.515761ms] [gotSchemaVersion=104] [phyTblIDs="[151,153]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 12:46:18.700 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=154] [version=104] [2025/04/04 12:46:18.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=104] ["take time"=8.361824ms] [job="ID:154, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:151, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:18.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:18.711 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=154] [tableIDs="[151]"] [comment="truncate table: table ID"] [2025/04/04 12:46:18.715 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=154] [jobType="truncate table"] [2025/04/04 12:46:18.716 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=154] [conn=15] [job="ID:154, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:151, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:18.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:18.732 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=154] [2025/04/04 12:46:18.732 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=104] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/04 12:46:18.737 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119047010746382] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=979.372µs] [2025/04/04 12:46:18.738 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.07801ms] [total_duration=4.416999ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=10] [size=165B] [startTS=457119047010746382] [2025/04/04 12:46:18.739 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119047010746382] [commitTS=457119047010746386] [2025/04/04 12:46:18.739 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119047010746382] [startKey=7480000000000000995f728000000000000001] [endKey=7480000000000000995f728000000000000005] [concurrency=8] [2025/04/04 12:46:18.741 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119047010746382] [startKey=7480000000000000995f728000000000000001] [endKey=7480000000000000995f728000000000000005] ["cost time"=2.245463ms] ["completed regions"=1] [2025/04/04 12:46:18.741 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119047010746382] [commitTS=457119047010746386] [session=15] [2025/04/04 12:46:18.752 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:156, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:153, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:18.697 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:18.752 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:156, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:153, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:18.697 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/04 12:46:18.758 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=156] [conn=15] [job="ID:156, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:153, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:18.697 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:18.765 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 155, Table Name: _t1, Old Table ID: 153, Old Table Name: _t1)"] [2025/04/04 12:46:18.779 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=104] [neededSchemaVersion=105] ["elapsed time"=1.548836ms] [gotSchemaVersion=105] [phyTblIDs="[153,155]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 12:46:18.782 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=156] [version=105] [2025/04/04 12:46:18.784 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=105] ["take time"=8.692359ms] [job="ID:156, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:153, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:18.697 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:18.795 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=156] [tableIDs="[153]"] [comment="truncate table: table ID"] [2025/04/04 12:46:18.799 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=156] [jobType="truncate table"] [2025/04/04 12:46:18.800 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=156] [conn=15] [job="ID:156, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:153, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:18.697 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:18.818 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=156] [2025/04/04 12:46:18.818 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=105] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/04 12:46:18.824 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119047036960776] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=943.524µs] [2025/04/04 12:46:18.824 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.031397ms] [total_duration=4.364154ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=5] [size=165B] [startTS=457119047036960776] [2025/04/04 12:46:18.825 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119047036960776] [commitTS=457119047036960779] [2025/04/04 12:46:18.825 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119047036960776] [startKey=74800000000000009b5f728000000000000001] [endKey=74800000000000009b5f728000000000000005] [concurrency=8] [2025/04/04 12:46:18.827 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119047036960776] [startKey=74800000000000009b5f728000000000000001] [endKey=74800000000000009b5f728000000000000005] ["cost time"=1.894642ms] ["completed regions"=1] [2025/04/04 12:46:18.827 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119047036960776] [commitTS=457119047036960779] [session=15] [2025/04/04 12:46:18.831 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119047036960780] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=930.001µs] [2025/04/04 12:46:18.831 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.026973ms] [total_duration=1.640248ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=5] [size=165B] [startTS=457119047036960780] [2025/04/04 12:46:18.832 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119047036960780] [commitTS=457119047036960781] [2025/04/04 12:46:18.832 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119047036960780] [startKey=74800000000000009b5f728000000000000006] [endKey=74800000000000009b5f72800000000000000a] [concurrency=8] [2025/04/04 12:46:18.834 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119047036960780] [startKey=74800000000000009b5f728000000000000006] [endKey=74800000000000009b5f72800000000000000a] ["cost time"=1.935644ms] ["completed regions"=1] [2025/04/04 12:46:18.834 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119047036960780] [commitTS=457119047036960781] [session=15] [2025/04/04 12:46:18.836 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119047036960784] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=1.030313ms] [2025/04/04 12:46:18.836 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.121806ms] [total_duration=1.847516ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=10] [size=165B] [startTS=457119047036960784] [2025/04/04 12:46:18.838 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119047036960784] [commitTS=457119047036960787] [2025/04/04 12:46:18.838 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119047036960784] [startKey=74800000000000009b5f72800000000000000b] [endKey=74800000000000009b5f72800000000000000f] [concurrency=8] [2025/04/04 12:46:18.840 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119047036960784] [startKey=74800000000000009b5f72800000000000000b] [endKey=74800000000000009b5f72800000000000000f] ["cost time"=1.806273ms] ["completed regions"=1] [2025/04/04 12:46:18.840 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119047036960784] [commitTS=457119047036960787] [session=15] [2025/04/04 12:46:18.842 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119047036960789] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=950.728µs] [2025/04/04 12:46:18.842 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.076197ms] [total_duration=1.711719ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=10] [size=165B] [startTS=457119047036960789] [2025/04/04 12:46:18.843 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119047036960789] [commitTS=457119047036960790] [2025/04/04 12:46:18.843 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119047036960789] [startKey=74800000000000009b5f728000000000000010] [endKey=74800000000000009b5f728000000000000014] [concurrency=8] [2025/04/04 12:46:18.845 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119047036960789] [startKey=74800000000000009b5f728000000000000010] [endKey=74800000000000009b5f728000000000000014] ["cost time"=1.774065ms] ["completed regions"=1] [2025/04/04 12:46:18.845 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119047036960789] [commitTS=457119047036960790] [session=15] [2025/04/04 12:46:18.856 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:157, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:155, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:18.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:18.855 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:157, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:155, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:18.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t1, _t1"] [2025/04/04 12:46:18.861 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=157] [conn=15] [job="ID:157, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:155, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:18.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:18.876 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=105] [neededSchemaVersion=106] ["elapsed time"=1.880823ms] [gotSchemaVersion=106] [phyTblIDs="[155]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:18.880 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=157] [version=106] [2025/04/04 12:46:18.882 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=106] ["take time"=8.959141ms] [job="ID:157, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:155, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:18.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:18.892 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=157] [conn=15] [job="ID:157, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:155, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:18.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:18.907 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=106] [neededSchemaVersion=107] ["elapsed time"=1.92133ms] [gotSchemaVersion=107] [phyTblIDs="[155]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:18.911 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=157] [version=107] [2025/04/04 12:46:18.912 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=107] ["take time"=9.189751ms] [job="ID:157, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:155, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:18.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:18.921 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=157] [conn=15] [job="ID:157, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:155, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:18.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:18.927 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 155, Old Table Name: _t1)"] [2025/04/04 12:46:18.940 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=107] [neededSchemaVersion=108] ["elapsed time"=1.113931ms] [gotSchemaVersion=108] [phyTblIDs="[155]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:18.944 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=157] [version=108] [2025/04/04 12:46:18.945 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=108] ["take time"=8.437125ms] [job="ID:157, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:155, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:18.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:18.955 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=157] [tableIDs="[155]"] [comment="drop table: table ID"] [2025/04/04 12:46:18.959 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=157] [jobType="drop table"] [2025/04/04 12:46:18.960 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=157] [conn=15] [job="ID:157, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:155, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:18.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:18.978 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=157] [2025/04/04 12:46:18.979 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=108] [cur_db=test] [sql="drop table if exists t1, _t1"] [user=] [2025/04/04 12:46:18.992 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:159, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:158, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:18.947 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t1 (a int, b int)"] [2025/04/04 12:46:18.992 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:159, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:158, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:18.947 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:18.998 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=159] [conn=15] [job="ID:159, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:158, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:18.947 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:19.002 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 158, Table Name: t1)"] [2025/04/04 12:46:19.016 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=108] [neededSchemaVersion=109] ["elapsed time"=1.52627ms] [gotSchemaVersion=109] [phyTblIDs="[158]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:46:19.020 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=159] [version=109] [2025/04/04 12:46:19.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=109] ["take time"=8.767253ms] [job="ID:159, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:158, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:18.947 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:19.033 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=159] [conn=15] [job="ID:159, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:158, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:18.947 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:19.044 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=159] [2025/04/04 12:46:19.045 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=109] [cur_db=test] [sql="create table t1 (a int, b int)"] [user=] [2025/04/04 12:46:19.050 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119047089651728] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=892.551µs] [2025/04/04 12:46:19.050 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.002977ms] [total_duration=4.356245ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=10] [size=165B] [startTS=457119047089651728] [2025/04/04 12:46:19.051 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119047089651728] [commitTS=457119047102496770] [2025/04/04 12:46:19.051 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119047089651728] [startKey=74800000000000009e5f728000000000000001] [endKey=74800000000000009e5f728000000000000005] [concurrency=8] [2025/04/04 12:46:19.053 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119047089651728] [startKey=74800000000000009e5f728000000000000001] [endKey=74800000000000009e5f728000000000000005] ["cost time"=1.886742ms] ["completed regions"=1] [2025/04/04 12:46:19.053 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119047089651728] [commitTS=457119047102496770] [session=15] [2025/04/04 12:46:19.065 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:161, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:160, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:19.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:19.065 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:161, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:160, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:19.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t1 (a int primary key, b int)"] [2025/04/04 12:46:19.071 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=161] [conn=15] [job="ID:161, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:160, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:19.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:19.075 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 160, Table Name: _t1)"] [2025/04/04 12:46:19.092 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=109] [neededSchemaVersion=110] ["elapsed time"=1.431987ms] [gotSchemaVersion=110] [phyTblIDs="[160]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:46:19.096 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=161] [version=110] [2025/04/04 12:46:19.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=110] ["take time"=11.298176ms] [job="ID:161, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:160, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:19.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:19.108 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=161] [conn=15] [job="ID:161, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:160, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:19.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:19.120 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=161] [2025/04/04 12:46:19.120 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=110] [cur_db=test] [sql="create table _t1 (a int primary key, b int)"] [user=] [2025/04/04 12:46:19.141 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:163, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:160, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:19.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:19.141 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:163, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:160, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:19.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/04 12:46:19.147 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=163] [conn=15] [job="ID:163, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:160, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:19.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:19.154 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 162, Table Name: _t1, Old Table ID: 160, Old Table Name: _t1)"] [2025/04/04 12:46:19.168 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=110] [neededSchemaVersion=111] ["elapsed time"=1.428049ms] [gotSchemaVersion=111] [phyTblIDs="[160,162]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 12:46:19.172 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=163] [version=111] [2025/04/04 12:46:19.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=111] ["take time"=8.359522ms] [job="ID:163, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:160, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:19.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:19.184 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=163] [tableIDs="[160]"] [comment="truncate table: table ID"] [2025/04/04 12:46:19.188 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=163] [jobType="truncate table"] [2025/04/04 12:46:19.189 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=163] [conn=15] [job="ID:163, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:160, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:19.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:19.206 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=163] [2025/04/04 12:46:19.207 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=111] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/04 12:46:19.211 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119047142080515] [generation=1] [session=15] [keys=5] [size=145B] ["flushed keys"=5] ["flushed size"=145B] ["take time"=983.322µs] [2025/04/04 12:46:19.211 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.094084ms] [total_duration=2.668522ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=10] [size=145B] [startTS=457119047142080515] [2025/04/04 12:46:19.212 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119047142080515] [commitTS=457119047142080516] [2025/04/04 12:46:19.213 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119047142080515] [startKey=7480000000000000a25f728000000000000001] [endKey=7480000000000000a25f728000000000000005] [concurrency=8] [2025/04/04 12:46:19.215 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119047142080515] [startKey=7480000000000000a25f728000000000000001] [endKey=7480000000000000a25f728000000000000005] ["cost time"=1.985486ms] ["completed regions"=1] [2025/04/04 12:46:19.215 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119047142080515] [commitTS=457119047142080516] [session=15] [2025/04/04 12:46:19.225 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:165, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:162, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:19.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:19.225 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:165, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:162, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:19.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/04 12:46:19.230 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=165] [conn=15] [job="ID:165, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:162, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:19.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:19.237 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 164, Table Name: _t1, Old Table ID: 162, Old Table Name: _t1)"] [2025/04/04 12:46:19.252 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=111] [neededSchemaVersion=112] ["elapsed time"=1.508739ms] [gotSchemaVersion=112] [phyTblIDs="[162,164]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 12:46:19.255 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=165] [version=112] [2025/04/04 12:46:19.257 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=112] ["take time"=8.650645ms] [job="ID:165, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:162, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:19.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:19.267 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=165] [tableIDs="[162]"] [comment="truncate table: table ID"] [2025/04/04 12:46:19.271 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=165] [jobType="truncate table"] [2025/04/04 12:46:19.272 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=165] [conn=15] [job="ID:165, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:162, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:19.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:19.288 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=165] [2025/04/04 12:46:19.289 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=112] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/04 12:46:19.294 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119047154925585] [generation=1] [session=15] [keys=5] [size=145B] ["flushed keys"=5] ["flushed size"=145B] ["take time"=913.457µs] [2025/04/04 12:46:19.294 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.005297ms] [total_duration=3.885731ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=15] [size=145B] [startTS=457119047154925585] [2025/04/04 12:46:19.295 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119047154925585] [commitTS=457119047154925586] [2025/04/04 12:46:19.296 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119047154925585] [startKey=7480000000000000a45f728000000000000001] [endKey=7480000000000000a45f728000000000000005] [concurrency=8] [2025/04/04 12:46:19.297 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119047154925585] [startKey=7480000000000000a45f728000000000000001] [endKey=7480000000000000a45f728000000000000005] ["cost time"=1.827955ms] ["completed regions"=1] [2025/04/04 12:46:19.298 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119047154925585] [commitTS=457119047154925586] [session=15] [2025/04/04 12:46:19.313 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119047168032770] [generation=1] [session=15] [keys=10] [size=240B] ["flushed keys"=10] ["flushed size"=240B] ["take time"=1.087997ms] [2025/04/04 12:46:19.313 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=10] [flush_wait_duration=1.188272ms] [total_duration=4.209946ms] ["memdb traversal cache hit"=15] ["memdb traversal cache miss"=30] [size=240B] [startTS=457119047168032770] [2025/04/04 12:46:19.314 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119047168032770] [commitTS=457119047168032771] [2025/04/04 12:46:19.314 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119047168032770] [startKey=7480000000000000a45f728000000000000001] [endKey=7480000000000000a45f72800000000000000a] [concurrency=8] [2025/04/04 12:46:19.316 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119047168032770] [startKey=7480000000000000a45f728000000000000001] [endKey=7480000000000000a45f72800000000000000a] ["cost time"=1.892153ms] ["completed regions"=1] [2025/04/04 12:46:19.316 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119047168032770] [commitTS=457119047168032771] [session=15] [2025/04/04 12:46:19.323 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119047168032772] [generation=1] [session=15] [keys=5] [size=145B] ["flushed keys"=5] ["flushed size"=145B] ["take time"=882.156µs] [2025/04/04 12:46:19.323 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=983.675µs] [total_duration=3.726957ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=20] [size=145B] [startTS=457119047168032772] [2025/04/04 12:46:19.324 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119047168032772] [commitTS=457119047168032773] [2025/04/04 12:46:19.324 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119047168032772] [startKey=7480000000000000a45f728000000000000001] [endKey=7480000000000000a45f728000000000000005] [concurrency=8] [2025/04/04 12:46:19.326 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119047168032772] [startKey=7480000000000000a45f728000000000000001] [endKey=7480000000000000a45f728000000000000005] ["cost time"=1.745155ms] ["completed regions"=1] [2025/04/04 12:46:19.326 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119047168032772] [commitTS=457119047168032773] [session=15] [2025/04/04 12:46:19.339 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:166, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:158, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:19.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:19.339 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:166, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:158, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:19.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t1, _t1"] [2025/04/04 12:46:19.343 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=166] [conn=15] [job="ID:166, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:158, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:19.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:19.358 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=112] [neededSchemaVersion=113] ["elapsed time"=1.933817ms] [gotSchemaVersion=113] [phyTblIDs="[158]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:19.362 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=166] [version=113] [2025/04/04 12:46:19.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=113] ["take time"=8.668869ms] [job="ID:166, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:158, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:19.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:19.373 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=166] [conn=15] [job="ID:166, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:158, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:19.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:19.388 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=113] [neededSchemaVersion=114] ["elapsed time"=1.944044ms] [gotSchemaVersion=114] [phyTblIDs="[158]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:19.392 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=166] [version=114] [2025/04/04 12:46:19.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=114] ["take time"=9.344875ms] [job="ID:166, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:158, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:19.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:19.403 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=166] [conn=15] [job="ID:166, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:158, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:19.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:19.410 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 158, Old Table Name: t1)"] [2025/04/04 12:46:19.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/04 12:46:19.424 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=114] [neededSchemaVersion=115] ["elapsed time"=1.251969ms] [gotSchemaVersion=115] [phyTblIDs="[158]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:19.428 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=166] [version=115] [2025/04/04 12:46:19.430 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=115] ["take time"=9.52509ms] [job="ID:166, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:158, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:19.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:19.441 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=166] [tableIDs="[158]"] [comment="drop table: table ID"] [2025/04/04 12:46:19.445 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=166] [jobType="drop table"] [2025/04/04 12:46:19.446 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=166] [conn=15] [job="ID:166, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:158, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:19.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:19.464 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=166] [2025/04/04 12:46:19.475 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:167, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:164, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:19.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:19.475 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:167, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:164, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:19.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t1, _t1"] [2025/04/04 12:46:19.480 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=167] [conn=15] [job="ID:167, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:164, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:19.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:19.496 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=115] [neededSchemaVersion=116] ["elapsed time"=2.49564ms] [gotSchemaVersion=116] [phyTblIDs="[164]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:19.500 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=167] [version=116] [2025/04/04 12:46:19.501 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=116] ["take time"=9.534908ms] [job="ID:167, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:164, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:19.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:19.511 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=167] [conn=15] [job="ID:167, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:164, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:19.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:19.526 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=116] [neededSchemaVersion=117] ["elapsed time"=1.780575ms] [gotSchemaVersion=117] [phyTblIDs="[164]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:19.529 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=167] [version=117] [2025/04/04 12:46:19.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=117] ["take time"=8.642576ms] [job="ID:167, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:164, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:19.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:19.538 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=167] [conn=15] [job="ID:167, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:164, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:19.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:19.544 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 164, Old Table Name: _t1)"] [2025/04/04 12:46:19.557 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=117] [neededSchemaVersion=118] ["elapsed time"=1.037139ms] [gotSchemaVersion=118] [phyTblIDs="[164]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:19.560 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=167] [version=118] [2025/04/04 12:46:19.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=118] ["take time"=7.924388ms] [job="ID:167, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:164, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:19.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:19.571 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=167] [tableIDs="[164]"] [comment="drop table: table ID"] [2025/04/04 12:46:19.575 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=167] [jobType="drop table"] [2025/04/04 12:46:19.576 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=167] [conn=15] [job="ID:167, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:164, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:19.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:19.582 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/04 12:46:19.593 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=167] [2025/04/04 12:46:19.594 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=118] [cur_db=test] [sql="drop table if exists t1, _t1"] [user=] [2025/04/04 12:46:19.606 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:169, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:168, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:19.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:19.606 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:169, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:168, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:19.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t1 (a int primary key, b int)"] [2025/04/04 12:46:19.612 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=169] [conn=15] [job="ID:169, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:168, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:19.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:19.616 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 168, Table Name: _t1)"] [2025/04/04 12:46:19.630 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=118] [neededSchemaVersion=119] ["elapsed time"=1.485862ms] [gotSchemaVersion=119] [phyTblIDs="[168]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:46:19.634 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=169] [version=119] [2025/04/04 12:46:19.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=119] ["take time"=8.987331ms] [job="ID:169, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:168, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:19.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:19.647 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=169] [conn=15] [job="ID:169, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:168, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:19.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:19.659 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=169] [2025/04/04 12:46:19.659 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=119] [cur_db=test] [sql="create table _t1 (a int primary key, b int)"] [user=] [2025/04/04 12:46:19.676 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:171, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:168, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:19.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:19.676 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:171, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:168, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:19.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/04 12:46:19.681 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=171] [conn=15] [job="ID:171, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:168, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:19.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:19.688 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 170, Table Name: _t1, Old Table ID: 168, Old Table Name: _t1)"] [2025/04/04 12:46:19.702 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=119] [neededSchemaVersion=120] ["elapsed time"=1.458727ms] [gotSchemaVersion=120] [phyTblIDs="[168,170]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 12:46:19.705 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=171] [version=120] [2025/04/04 12:46:19.707 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=120] ["take time"=8.23425ms] [job="ID:171, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:168, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:19.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:19.718 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=171] [tableIDs="[168]"] [comment="truncate table: table ID"] [2025/04/04 12:46:19.722 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=171] [jobType="truncate table"] [2025/04/04 12:46:19.723 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=171] [conn=15] [job="ID:171, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:168, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:19.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:19.739 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=171] [2025/04/04 12:46:19.739 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=120] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/04 12:46:19.742 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119047273152530] [generation=1] [session=15] [keys=5] [size=145B] ["flushed keys"=5] ["flushed size"=145B] ["take time"=896.493µs] [2025/04/04 12:46:19.742 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.006008ms] [total_duration=1.595977ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=10] [size=145B] [startTS=457119047273152530] [2025/04/04 12:46:19.743 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119047273152530] [commitTS=457119047273152531] [2025/04/04 12:46:19.743 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119047273152530] [startKey=7480000000000000aa5f728000000000000001] [endKey=7480000000000000aa5f728000000000000005] [concurrency=8] [2025/04/04 12:46:19.745 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119047273152530] [startKey=7480000000000000aa5f728000000000000001] [endKey=7480000000000000aa5f728000000000000005] ["cost time"=1.843712ms] ["completed regions"=1] [2025/04/04 12:46:19.745 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119047273152530] [commitTS=457119047273152531] [session=15] [2025/04/04 12:46:19.755 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:173, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:170, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:19.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/04 12:46:19.755 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:173, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:170, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:19.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:19.760 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=173] [conn=15] [job="ID:173, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:170, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:19.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:19.767 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 172, Table Name: _t1, Old Table ID: 170, Old Table Name: _t1)"] [2025/04/04 12:46:19.781 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=120] [neededSchemaVersion=121] ["elapsed time"=1.52346ms] [gotSchemaVersion=121] [phyTblIDs="[170,172]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 12:46:19.784 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=173] [version=121] [2025/04/04 12:46:19.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=121] ["take time"=7.991247ms] [job="ID:173, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:170, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:19.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:19.796 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=173] [tableIDs="[170]"] [comment="truncate table: table ID"] [2025/04/04 12:46:19.800 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=173] [jobType="truncate table"] [2025/04/04 12:46:19.801 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=173] [conn=15] [job="ID:173, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:170, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:19.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:19.817 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=173] [2025/04/04 12:46:19.817 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=121] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/04 12:46:19.821 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119047299366920] [generation=1] [session=15] [keys=5] [size=145B] ["flushed keys"=5] ["flushed size"=145B] ["take time"=1.0071ms] [2025/04/04 12:46:19.821 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.109045ms] [total_duration=2.666917ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=15] [size=145B] [startTS=457119047299366920] [2025/04/04 12:46:19.822 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119047299366920] [commitTS=457119047299366921] [2025/04/04 12:46:19.822 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119047299366920] [startKey=7480000000000000ac5f728000000000000001] [endKey=7480000000000000ac5f728000000000000005] [concurrency=8] [2025/04/04 12:46:19.824 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119047299366920] [startKey=7480000000000000ac5f728000000000000001] [endKey=7480000000000000ac5f728000000000000005] ["cost time"=2.001526ms] ["completed regions"=1] [2025/04/04 12:46:19.825 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119047299366920] [commitTS=457119047299366921] [session=15] [2025/04/04 12:46:19.838 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119047299366923] [generation=1] [session=15] [keys=10] [size=240B] ["flushed keys"=10] ["flushed size"=240B] ["take time"=5.602761ms] [2025/04/04 12:46:19.839 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=10] [flush_wait_duration=5.827629ms] [total_duration=8.568697ms] ["memdb traversal cache hit"=15] ["memdb traversal cache miss"=30] [size=240B] [startTS=457119047299366923] [2025/04/04 12:46:19.842 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119047299366923] [commitTS=457119047299366926] [2025/04/04 12:46:19.842 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119047299366923] [startKey=7480000000000000ac5f728000000000000001] [endKey=7480000000000000ac5f72800000000000000a] [concurrency=8] [2025/04/04 12:46:19.844 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119047299366923] [startKey=7480000000000000ac5f728000000000000001] [endKey=7480000000000000ac5f72800000000000000a] ["cost time"=2.127599ms] ["completed regions"=1] [2025/04/04 12:46:19.844 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119047299366923] [commitTS=457119047299366926] [session=15] [2025/04/04 12:46:19.848 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119047299366929] [generation=1] [session=15] [keys=5] [size=145B] ["flushed keys"=5] ["flushed size"=145B] ["take time"=1.109176ms] [2025/04/04 12:46:19.848 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.213223ms] [total_duration=3.03312ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=20] [size=145B] [startTS=457119047299366929] [2025/04/04 12:46:19.850 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119047299366929] [commitTS=457119047312211969] [2025/04/04 12:46:19.850 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119047299366929] [startKey=7480000000000000ac5f728000000000000001] [endKey=7480000000000000ac5f728000000000000005] [concurrency=8] [2025/04/04 12:46:19.852 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119047299366929] [startKey=7480000000000000ac5f728000000000000001] [endKey=7480000000000000ac5f728000000000000005] ["cost time"=1.937439ms] ["completed regions"=1] [2025/04/04 12:46:19.852 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119047299366929] [commitTS=457119047312211969] [session=15] [2025/04/04 12:46:19.864 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:174, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:172, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:19.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:19.864 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:174, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:172, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:19.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t1, _t1"] [2025/04/04 12:46:19.869 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=174] [conn=15] [job="ID:174, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:172, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:19.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:19.885 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=121] [neededSchemaVersion=122] ["elapsed time"=1.938392ms] [gotSchemaVersion=122] [phyTblIDs="[172]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:19.889 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=174] [version=122] [2025/04/04 12:46:19.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=122] ["take time"=9.52687ms] [job="ID:174, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:172, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:19.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:19.901 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=174] [conn=15] [job="ID:174, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:172, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:19.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:19.916 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=122] [neededSchemaVersion=123] ["elapsed time"=1.925392ms] [gotSchemaVersion=123] [phyTblIDs="[172]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:19.920 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=174] [version=123] [2025/04/04 12:46:19.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=123] ["take time"=9.317787ms] [job="ID:174, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:172, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:19.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:19.930 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=174] [conn=15] [job="ID:174, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:172, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:19.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:19.936 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 172, Old Table Name: _t1)"] [2025/04/04 12:46:19.950 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=123] [neededSchemaVersion=124] ["elapsed time"=1.01554ms] [gotSchemaVersion=124] [phyTblIDs="[172]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:19.954 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=174] [version=124] [2025/04/04 12:46:19.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=124] ["take time"=8.293196ms] [job="ID:174, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:172, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:19.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:19.965 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=174] [tableIDs="[172]"] [comment="drop table: table ID"] [2025/04/04 12:46:19.969 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=174] [jobType="drop table"] [2025/04/04 12:46:19.970 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=174] [conn=15] [job="ID:174, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:172, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:19.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:19.987 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=174] [2025/04/04 12:46:19.988 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=124] [cur_db=test] [sql="drop table if exists t1, _t1"] [user=] [2025/04/04 12:46:20.000 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:176, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:175, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:19.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:20.000 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:176, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:175, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:19.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t1 (a int, b int)"] [2025/04/04 12:46:20.006 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=176] [conn=15] [job="ID:176, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:175, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:19.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:20.010 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 175, Table Name: t1)"] [2025/04/04 12:46:20.024 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=124] [neededSchemaVersion=125] ["elapsed time"=1.461851ms] [gotSchemaVersion=125] [phyTblIDs="[175]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:46:20.028 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=176] [version=125] [2025/04/04 12:46:20.029 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=125] ["take time"=8.191473ms] [job="ID:176, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:175, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:19.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:20.042 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=176] [conn=15] [job="ID:176, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:175, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:19.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:20.053 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=176] [2025/04/04 12:46:20.053 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=125] [cur_db=test] [sql="create table t1 (a int, b int)"] [user=] [2025/04/04 12:46:20.059 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119047364902916] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=872.931µs] [2025/04/04 12:46:20.059 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=986.287µs] [total_duration=4.545263ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=10] [size=165B] [startTS=457119047364902916] [2025/04/04 12:46:20.060 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119047364902916] [commitTS=457119047364902920] [2025/04/04 12:46:20.060 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119047364902916] [startKey=7480000000000000af5f728000000000000001] [endKey=7480000000000000af5f728000000000000005] [concurrency=8] [2025/04/04 12:46:20.062 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119047364902916] [startKey=7480000000000000af5f728000000000000001] [endKey=7480000000000000af5f728000000000000005] ["cost time"=1.945515ms] ["completed regions"=1] [2025/04/04 12:46:20.062 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119047364902916] [commitTS=457119047364902920] [session=15] [2025/04/04 12:46:20.073 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:178, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:177, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:20.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:20.073 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:178, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:177, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:20.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t1 (a int, b int, unique index idx(b))"] [2025/04/04 12:46:20.079 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=178] [conn=15] [job="ID:178, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:177, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:20.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:20.083 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 177, Table Name: _t1)"] [2025/04/04 12:46:20.099 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=125] [neededSchemaVersion=126] ["elapsed time"=1.629602ms] [gotSchemaVersion=126] [phyTblIDs="[177]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:46:20.102 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=178] [version=126] [2025/04/04 12:46:20.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=126] ["take time"=8.609835ms] [job="ID:178, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:177, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:20.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:20.115 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=178] [conn=15] [job="ID:178, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:177, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:20.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:20.127 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=178] [2025/04/04 12:46:20.127 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=126] [cur_db=test] [sql="create table _t1 (a int, b int, unique index idx(b))"] [user=] [2025/04/04 12:46:20.151 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:180, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:177, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:20.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:20.151 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:180, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:177, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:20.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/04 12:46:20.156 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=180] [conn=15] [job="ID:180, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:177, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:20.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:20.163 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 179, Table Name: _t1, Old Table ID: 177, Old Table Name: _t1)"] [2025/04/04 12:46:20.178 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=126] [neededSchemaVersion=127] ["elapsed time"=1.662379ms] [gotSchemaVersion=127] [phyTblIDs="[177,179]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 12:46:20.182 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=180] [version=127] [2025/04/04 12:46:20.183 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=127] ["take time"=8.840944ms] [job="ID:180, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:177, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:20.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:20.194 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=180] [tableIDs="[177]"] [comment="truncate table: table ID"] [2025/04/04 12:46:20.198 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=180] [jobType="truncate table"] [2025/04/04 12:46:20.199 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=180] [conn=15] [job="ID:180, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:177, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:20.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:20.216 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=180] [2025/04/04 12:46:20.217 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=127] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/04 12:46:20.224 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119047404224519] [generation=1] [session=15] [keys=10] [size=345B] ["flushed keys"=10] ["flushed size"=345B] ["take time"=1.022958ms] [2025/04/04 12:46:20.224 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=10] [flush_wait_duration=1.118043ms] [total_duration=5.567631ms] ["memdb traversal cache hit"=20] ["memdb traversal cache miss"=20] [size=345B] [startTS=457119047404224519] [2025/04/04 12:46:20.225 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119047404224519] [commitTS=457119047404224522] [2025/04/04 12:46:20.225 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119047404224519] [startKey=7480000000000000b35f698000000000000001038000000000000001] [endKey=7480000000000000b35f728000000000000005] [concurrency=8] [2025/04/04 12:46:20.227 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119047404224519] [startKey=7480000000000000b35f698000000000000001038000000000000001] [endKey=7480000000000000b35f728000000000000005] ["cost time"=2.08078ms] ["completed regions"=1] [2025/04/04 12:46:20.227 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119047404224519] [commitTS=457119047404224522] [session=15] [2025/04/04 12:46:20.240 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:182, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:179, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:20.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:20.240 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:182, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:179, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:20.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/04 12:46:20.247 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=182] [conn=15] [job="ID:182, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:179, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:20.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:20.255 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 181, Table Name: _t1, Old Table ID: 179, Old Table Name: _t1)"] [2025/04/04 12:46:20.271 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=127] [neededSchemaVersion=128] ["elapsed time"=1.54864ms] [gotSchemaVersion=128] [phyTblIDs="[179,181]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 12:46:20.274 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=182] [version=128] [2025/04/04 12:46:20.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=128] ["take time"=8.971038ms] [job="ID:182, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:179, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:20.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:20.287 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=182] [tableIDs="[179]"] [comment="truncate table: table ID"] [2025/04/04 12:46:20.292 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=182] [jobType="truncate table"] [2025/04/04 12:46:20.293 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=182] [conn=15] [job="ID:182, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:179, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:20.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:20.311 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=182] [2025/04/04 12:46:20.311 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=128] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/04 12:46:20.320 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119047430176775] [generation=1] [session=15] [keys=10] [size=345B] ["flushed keys"=10] ["flushed size"=345B] ["take time"=1.071886ms] [2025/04/04 12:46:20.320 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=10] [flush_wait_duration=1.185ms] [total_duration=7.109504ms] ["memdb traversal cache hit"=20] ["memdb traversal cache miss"=20] [size=345B] [startTS=457119047430176775] [2025/04/04 12:46:20.321 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119047430176775] [commitTS=457119047430176778] [2025/04/04 12:46:20.322 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119047430176775] [startKey=7480000000000000b55f698000000000000001038000000000000001] [endKey=7480000000000000b55f728000000000000005] [concurrency=8] [2025/04/04 12:46:20.324 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119047430176775] [startKey=7480000000000000b55f698000000000000001038000000000000001] [endKey=7480000000000000b55f728000000000000005] ["cost time"=1.958109ms] ["completed regions"=1] [2025/04/04 12:46:20.324 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119047430176775] [commitTS=457119047430176778] [session=15] [2025/04/04 12:46:20.342 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119047430176784] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=946.748µs] [2025/04/04 12:46:20.342 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.060321ms] [total_duration=5.291048ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=25] [size=165B] [startTS=457119047430176784] [2025/04/04 12:46:20.343 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119047430176784] [commitTS=457119047430176786] [2025/04/04 12:46:20.343 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119047430176784] [startKey=7480000000000000b55f728000000000000001] [endKey=7480000000000000b55f728000000000000005] [concurrency=8] [2025/04/04 12:46:20.346 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119047430176784] [startKey=7480000000000000b55f728000000000000001] [endKey=7480000000000000b55f728000000000000005] ["cost time"=1.930337ms] ["completed regions"=1] [2025/04/04 12:46:20.346 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119047430176784] [commitTS=457119047430176786] [session=15] [2025/04/04 12:46:20.355 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119047443546113] [generation=1] [session=15] [keys=15] [size=440B] ["flushed keys"=15] ["flushed size"=440B] ["take time"=1.278152ms] [2025/04/04 12:46:20.355 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=15] [flush_wait_duration=1.372376ms] [total_duration=6.13731ms] ["memdb traversal cache hit"=40] ["memdb traversal cache miss"=50] [size=440B] [startTS=457119047443546113] [2025/04/04 12:46:20.356 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119047443546113] [commitTS=457119047443546114] [2025/04/04 12:46:20.357 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119047443546113] [startKey=7480000000000000b55f698000000000000001038000000000000001] [endKey=7480000000000000b55f72800000000000000a] [concurrency=8] [2025/04/04 12:46:20.359 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119047443546113] [startKey=7480000000000000b55f698000000000000001038000000000000001] [endKey=7480000000000000b55f72800000000000000a] ["cost time"=2.198927ms] ["completed regions"=1] [2025/04/04 12:46:20.359 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119047443546113] [commitTS=457119047443546114] [session=15] [2025/04/04 12:46:20.371 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:183, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:175, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:20.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:20.371 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:183, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:175, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:20.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t1, _t1"] [2025/04/04 12:46:20.376 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=183] [conn=15] [job="ID:183, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:175, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:20.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:20.392 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=128] [neededSchemaVersion=129] ["elapsed time"=1.998266ms] [gotSchemaVersion=129] [phyTblIDs="[175]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:20.395 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=183] [version=129] [2025/04/04 12:46:20.397 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=129] ["take time"=9.328543ms] [job="ID:183, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:175, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:20.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:20.407 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=183] [conn=15] [job="ID:183, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:175, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:20.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:20.423 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=129] [neededSchemaVersion=130] ["elapsed time"=1.924645ms] [gotSchemaVersion=130] [phyTblIDs="[175]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:20.426 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=183] [version=130] [2025/04/04 12:46:20.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=130] ["take time"=9.253889ms] [job="ID:183, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:175, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:20.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:20.436 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=183] [conn=15] [job="ID:183, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:175, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:20.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:20.443 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 175, Old Table Name: t1)"] [2025/04/04 12:46:20.456 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=130] [neededSchemaVersion=131] ["elapsed time"=1.102385ms] [gotSchemaVersion=131] [phyTblIDs="[175]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:20.459 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=183] [version=131] [2025/04/04 12:46:20.461 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=131] ["take time"=8.290799ms] [job="ID:183, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:175, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:20.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:20.470 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=183] [tableIDs="[175]"] [comment="drop table: table ID"] [2025/04/04 12:46:20.474 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=183] [jobType="drop table"] [2025/04/04 12:46:20.475 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=183] [conn=15] [job="ID:183, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:175, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:20.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:20.492 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=183] [2025/04/04 12:46:20.502 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:184, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:181, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:20.447 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:20.502 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:184, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:181, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:20.447 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t1, _t1"] [2025/04/04 12:46:20.507 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=184] [conn=15] [job="ID:184, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:181, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:20.447 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:20.522 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=131] [neededSchemaVersion=132] ["elapsed time"=2.090974ms] [gotSchemaVersion=132] [phyTblIDs="[181]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:20.526 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=184] [version=132] [2025/04/04 12:46:20.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=132] ["take time"=9.077692ms] [job="ID:184, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:181, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:20.447 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:20.537 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=184] [conn=15] [job="ID:184, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:181, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:20.447 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:20.552 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=132] [neededSchemaVersion=133] ["elapsed time"=2.028999ms] [gotSchemaVersion=133] [phyTblIDs="[181]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:20.556 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=184] [version=133] [2025/04/04 12:46:20.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=133] ["take time"=9.205943ms] [job="ID:184, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:181, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:20.447 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:20.566 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=184] [conn=15] [job="ID:184, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:181, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:20.447 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:20.572 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 181, Old Table Name: _t1)"] [2025/04/04 12:46:20.585 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=133] [neededSchemaVersion=134] ["elapsed time"=1.057438ms] [gotSchemaVersion=134] [phyTblIDs="[181]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:20.589 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=184] [version=134] [2025/04/04 12:46:20.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=134] ["take time"=7.792009ms] [job="ID:184, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:181, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:20.447 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:20.600 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=184] [tableIDs="[181]"] [comment="drop table: table ID"] [2025/04/04 12:46:20.604 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=184] [jobType="drop table"] [2025/04/04 12:46:20.605 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=184] [conn=15] [job="ID:184, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:181, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:20.447 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:20.623 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=184] [2025/04/04 12:46:20.623 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=134] [cur_db=test] [sql="drop table if exists t1, _t1"] [user=] [2025/04/04 12:46:20.637 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:186, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:20.597 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:20.637 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:186, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:20.597 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t1 (a int, b int, unique index idx(b))"] [2025/04/04 12:46:20.642 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=186] [conn=15] [job="ID:186, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:185, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:20.597 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:20.647 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 185, Table Name: _t1)"] [2025/04/04 12:46:20.663 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=134] [neededSchemaVersion=135] ["elapsed time"=1.645135ms] [gotSchemaVersion=135] [phyTblIDs="[185]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:46:20.667 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=186] [version=135] [2025/04/04 12:46:20.668 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=135] ["take time"=8.869018ms] [job="ID:186, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:20.597 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:20.680 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=186] [conn=15] [job="ID:186, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:185, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:20.597 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:20.691 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=186] [2025/04/04 12:46:20.692 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=135] [cur_db=test] [sql="create table _t1 (a int, b int, unique index idx(b))"] [user=] [2025/04/04 12:46:20.713 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:188, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:20.697 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:20.713 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:188, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:20.697 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/04 12:46:20.719 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=188] [conn=15] [job="ID:188, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:185, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:20.697 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:20.727 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 187, Table Name: _t1, Old Table ID: 185, Old Table Name: _t1)"] [2025/04/04 12:46:20.742 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=135] [neededSchemaVersion=136] ["elapsed time"=1.576537ms] [gotSchemaVersion=136] [phyTblIDs="[185,187]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 12:46:20.746 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=188] [version=136] [2025/04/04 12:46:20.747 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=136] ["take time"=8.687921ms] [job="ID:188, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:20.697 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:20.758 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=188] [tableIDs="[185]"] [comment="truncate table: table ID"] [2025/04/04 12:46:20.763 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=188] [jobType="truncate table"] [2025/04/04 12:46:20.764 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=188] [conn=15] [job="ID:188, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:20.697 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:20.781 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=188] [2025/04/04 12:46:20.782 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=136] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/04 12:46:20.788 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119047548141581] [generation=1] [session=15] [keys=10] [size=345B] ["flushed keys"=10] ["flushed size"=345B] ["take time"=1.111986ms] [2025/04/04 12:46:20.788 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=10] [flush_wait_duration=1.227125ms] [total_duration=4.930493ms] ["memdb traversal cache hit"=20] ["memdb traversal cache miss"=20] [size=345B] [startTS=457119047548141581] [2025/04/04 12:46:20.789 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119047548141581] [commitTS=457119047548141584] [2025/04/04 12:46:20.789 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119047548141581] [startKey=7480000000000000bb5f698000000000000001038000000000000001] [endKey=7480000000000000bb5f728000000000000005] [concurrency=8] [2025/04/04 12:46:20.791 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119047548141581] [startKey=7480000000000000bb5f698000000000000001038000000000000001] [endKey=7480000000000000bb5f728000000000000005] ["cost time"=2.068917ms] ["completed regions"=1] [2025/04/04 12:46:20.792 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119047548141581] [commitTS=457119047548141584] [session=15] [2025/04/04 12:46:20.802 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:190, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:187, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:20.747 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:20.802 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:190, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:187, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:20.747 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/04 12:46:20.808 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=190] [conn=15] [job="ID:190, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:187, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:20.747 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:20.815 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 189, Table Name: _t1, Old Table ID: 187, Old Table Name: _t1)"] [2025/04/04 12:46:20.830 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=136] [neededSchemaVersion=137] ["elapsed time"=1.638013ms] [gotSchemaVersion=137] [phyTblIDs="[187,189]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 12:46:20.834 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=190] [version=137] [2025/04/04 12:46:20.835 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=137] ["take time"=8.931293ms] [job="ID:190, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:187, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:20.747 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:20.846 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=190] [tableIDs="[187]"] [comment="truncate table: table ID"] [2025/04/04 12:46:20.850 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=190] [jobType="truncate table"] [2025/04/04 12:46:20.851 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=190] [conn=15] [job="ID:190, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:187, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:20.747 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:20.869 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=190] [2025/04/04 12:46:20.870 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=137] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/04 12:46:20.876 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119047574618120] [generation=1] [session=15] [keys=10] [size=345B] ["flushed keys"=10] ["flushed size"=345B] ["take time"=1.070771ms] [2025/04/04 12:46:20.876 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=10] [flush_wait_duration=1.157706ms] [total_duration=5.395955ms] ["memdb traversal cache hit"=20] ["memdb traversal cache miss"=20] [size=345B] [startTS=457119047574618120] [2025/04/04 12:46:20.877 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119047574618120] [commitTS=457119047574618123] [2025/04/04 12:46:20.877 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119047574618120] [startKey=7480000000000000bd5f698000000000000001038000000000000001] [endKey=7480000000000000bd5f728000000000000005] [concurrency=8] [2025/04/04 12:46:20.879 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119047574618120] [startKey=7480000000000000bd5f698000000000000001038000000000000001] [endKey=7480000000000000bd5f728000000000000005] ["cost time"=1.919221ms] ["completed regions"=1] [2025/04/04 12:46:20.880 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119047574618120] [commitTS=457119047574618123] [session=15] [2025/04/04 12:46:20.890 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119047574618125] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=883.673µs] [2025/04/04 12:46:20.890 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=967.988µs] [total_duration=4.177637ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=25] [size=165B] [startTS=457119047574618125] [2025/04/04 12:46:20.891 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119047574618125] [commitTS=457119047574618127] [2025/04/04 12:46:20.891 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119047574618125] [startKey=7480000000000000bd5f728000000000000001] [endKey=7480000000000000bd5f728000000000000005] [concurrency=8] [2025/04/04 12:46:20.894 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119047574618125] [startKey=7480000000000000bd5f728000000000000001] [endKey=7480000000000000bd5f728000000000000005] ["cost time"=2.61899ms] ["completed regions"=1] [2025/04/04 12:46:20.894 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119047574618125] [commitTS=457119047574618127] [session=15] [2025/04/04 12:46:20.899 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119047574618128] [generation=1] [session=15] [keys=15] [size=440B] ["flushed keys"=15] ["flushed size"=440B] ["take time"=1.618007ms] [2025/04/04 12:46:20.900 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=15] [flush_wait_duration=1.707788ms] [total_duration=5.168777ms] ["memdb traversal cache hit"=40] ["memdb traversal cache miss"=50] [size=440B] [startTS=457119047574618128] [2025/04/04 12:46:20.901 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119047574618128] [commitTS=457119047587725313] [2025/04/04 12:46:20.901 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119047574618128] [startKey=7480000000000000bd5f698000000000000001038000000000000001] [endKey=7480000000000000bd5f72800000000000000a] [concurrency=8] [2025/04/04 12:46:20.903 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119047574618128] [startKey=7480000000000000bd5f698000000000000001038000000000000001] [endKey=7480000000000000bd5f72800000000000000a] ["cost time"=1.873587ms] ["completed regions"=1] [2025/04/04 12:46:20.903 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119047574618128] [commitTS=457119047587725313] [session=15] [2025/04/04 12:46:20.914 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:191, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:189, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:20.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t1, _t1"] [2025/04/04 12:46:20.914 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:191, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:189, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:20.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:20.919 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=191] [conn=15] [job="ID:191, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:189, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:20.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:20.935 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=137] [neededSchemaVersion=138] ["elapsed time"=2.079152ms] [gotSchemaVersion=138] [phyTblIDs="[189]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:20.938 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=191] [version=138] [2025/04/04 12:46:20.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=138] ["take time"=9.912956ms] [job="ID:191, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:189, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:20.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:20.950 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=191] [conn=15] [job="ID:191, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:189, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:20.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:20.966 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=138] [neededSchemaVersion=139] ["elapsed time"=2.107095ms] [gotSchemaVersion=139] [phyTblIDs="[189]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:20.970 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=191] [version=139] [2025/04/04 12:46:20.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=139] ["take time"=9.110187ms] [job="ID:191, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:189, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:20.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:20.979 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=191] [conn=15] [job="ID:191, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:189, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:20.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:20.985 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 189, Old Table Name: _t1)"] [2025/04/04 12:46:20.999 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=139] [neededSchemaVersion=140] ["elapsed time"=997.383µs] [gotSchemaVersion=140] [phyTblIDs="[189]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:21.002 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=191] [version=140] [2025/04/04 12:46:21.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=140] ["take time"=7.810765ms] [job="ID:191, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:189, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:20.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:21.013 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=191] [tableIDs="[189]"] [comment="drop table: table ID"] [2025/04/04 12:46:21.017 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=191] [jobType="drop table"] [2025/04/04 12:46:21.018 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=191] [conn=15] [job="ID:191, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:189, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:20.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:21.035 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=191] [2025/04/04 12:46:21.035 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=140] [cur_db=test] [sql="drop table if exists t1, _t1"] [user=] [2025/04/04 12:46:21.048 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:193, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:192, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:20.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:21.048 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:193, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:192, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:20.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t1 (a int, b int)"] [2025/04/04 12:46:21.054 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=193] [conn=15] [job="ID:193, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:192, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:20.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:21.058 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 192, Table Name: t1)"] [2025/04/04 12:46:21.072 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=140] [neededSchemaVersion=141] ["elapsed time"=1.47108ms] [gotSchemaVersion=141] [phyTblIDs="[192]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:46:21.076 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=193] [version=141] [2025/04/04 12:46:21.077 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=141] ["take time"=8.61784ms] [job="ID:193, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:192, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:20.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:21.089 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=193] [conn=15] [job="ID:193, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:192, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:20.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:21.100 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=193] [2025/04/04 12:46:21.100 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=141] [cur_db=test] [sql="create table t1 (a int, b int)"] [user=] [2025/04/04 12:46:21.106 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119047639891971] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=984.075µs] [2025/04/04 12:46:21.106 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.099398ms] [total_duration=4.773368ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=10] [size=165B] [startTS=457119047639891971] [2025/04/04 12:46:21.107 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119047639891971] [commitTS=457119047639891975] [2025/04/04 12:46:21.107 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119047639891971] [startKey=7480000000000000c05f728000000000000001] [endKey=7480000000000000c05f728000000000000005] [concurrency=8] [2025/04/04 12:46:21.109 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119047639891971] [startKey=7480000000000000c05f728000000000000001] [endKey=7480000000000000c05f728000000000000005] ["cost time"=1.958108ms] ["completed regions"=1] [2025/04/04 12:46:21.109 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119047639891971] [commitTS=457119047639891975] [session=15] [2025/04/04 12:46:21.120 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:195, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:194, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:21.097 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:21.120 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:195, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:194, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:21.097 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t1 (a int primary key, b int, unique index idx(b))"] [2025/04/04 12:46:21.126 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=195] [conn=15] [job="ID:195, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:194, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:21.097 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:21.130 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 194, Table Name: _t1)"] [2025/04/04 12:46:21.145 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=141] [neededSchemaVersion=142] ["elapsed time"=1.53351ms] [gotSchemaVersion=142] [phyTblIDs="[194]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:46:21.148 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=195] [version=142] [2025/04/04 12:46:21.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=142] ["take time"=8.394561ms] [job="ID:195, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:194, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:21.097 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:21.161 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=195] [conn=15] [job="ID:195, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:194, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:21.097 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:21.172 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=195] [2025/04/04 12:46:21.172 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=142] [cur_db=test] [sql="create table _t1 (a int primary key, b int, unique index idx(b))"] [user=] [2025/04/04 12:46:21.193 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:197, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:194, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:21.147 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/04 12:46:21.193 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:197, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:194, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:21.147 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:21.198 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=197] [conn=15] [job="ID:197, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:194, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:21.147 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:21.205 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 196, Table Name: _t1, Old Table ID: 194, Old Table Name: _t1)"] [2025/04/04 12:46:21.220 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=142] [neededSchemaVersion=143] ["elapsed time"=1.630863ms] [gotSchemaVersion=143] [phyTblIDs="[194,196]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 12:46:21.223 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=197] [version=143] [2025/04/04 12:46:21.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=143] ["take time"=8.348712ms] [job="ID:197, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:194, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:21.147 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:21.236 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=197] [tableIDs="[194]"] [comment="truncate table: table ID"] [2025/04/04 12:46:21.240 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=197] [jobType="truncate table"] [2025/04/04 12:46:21.241 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=197] [conn=15] [job="ID:197, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:194, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:21.147 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:21.259 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=197] [2025/04/04 12:46:21.259 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=143] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/04 12:46:21.264 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119047679475717] [generation=1] [session=15] [keys=10] [size=325B] ["flushed keys"=10] ["flushed size"=325B] ["take time"=1.106315ms] [2025/04/04 12:46:21.264 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=10] [flush_wait_duration=1.21053ms] [total_duration=2.948734ms] ["memdb traversal cache hit"=20] ["memdb traversal cache miss"=20] [size=325B] [startTS=457119047679475717] [2025/04/04 12:46:21.265 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119047679475717] [commitTS=457119047679475718] [2025/04/04 12:46:21.265 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119047679475717] [startKey=7480000000000000c45f698000000000000001038000000000000001] [endKey=7480000000000000c45f728000000000000005] [concurrency=8] [2025/04/04 12:46:21.267 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119047679475717] [startKey=7480000000000000c45f698000000000000001038000000000000001] [endKey=7480000000000000c45f728000000000000005] ["cost time"=2.000426ms] ["completed regions"=1] [2025/04/04 12:46:21.267 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119047679475717] [commitTS=457119047679475718] [session=15] [2025/04/04 12:46:21.277 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:199, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:196, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:21.248 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:21.277 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:199, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:196, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:21.248 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/04 12:46:21.282 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=199] [conn=15] [job="ID:199, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:196, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:21.248 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:21.290 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 198, Table Name: _t1, Old Table ID: 196, Old Table Name: _t1)"] [2025/04/04 12:46:21.304 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=143] [neededSchemaVersion=144] ["elapsed time"=1.66483ms] [gotSchemaVersion=144] [phyTblIDs="[196,198]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 12:46:21.308 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=199] [version=144] [2025/04/04 12:46:21.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=144] ["take time"=8.45842ms] [job="ID:199, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:196, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:21.248 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:21.320 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=199] [tableIDs="[196]"] [comment="truncate table: table ID"] [2025/04/04 12:46:21.324 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=199] [jobType="truncate table"] [2025/04/04 12:46:21.325 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=199] [conn=15] [job="ID:199, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:196, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:21.248 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:21.342 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=199] [2025/04/04 12:46:21.342 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=144] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/04 12:46:21.348 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119047692582933] [generation=1] [session=15] [keys=10] [size=325B] ["flushed keys"=10] ["flushed size"=325B] ["take time"=1.119373ms] [2025/04/04 12:46:21.348 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=10] [flush_wait_duration=1.212101ms] [total_duration=4.119797ms] ["memdb traversal cache hit"=20] ["memdb traversal cache miss"=30] [size=325B] [startTS=457119047692582933] [2025/04/04 12:46:21.349 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119047692582933] [commitTS=457119047705427969] [2025/04/04 12:46:21.350 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119047692582933] [startKey=7480000000000000c65f698000000000000001038000000000000001] [endKey=7480000000000000c65f728000000000000005] [concurrency=8] [2025/04/04 12:46:21.352 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119047692582933] [startKey=7480000000000000c65f698000000000000001038000000000000001] [endKey=7480000000000000c65f728000000000000005] ["cost time"=1.900973ms] ["completed regions"=1] [2025/04/04 12:46:21.352 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119047692582933] [commitTS=457119047705427969] [session=15] [2025/04/04 12:46:21.368 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119047705427971] [generation=1] [session=15] [keys=15] [size=420B] ["flushed keys"=15] ["flushed size"=420B] ["take time"=1.249164ms] [2025/04/04 12:46:21.368 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=15] [flush_wait_duration=1.346428ms] [total_duration=5.315754ms] ["memdb traversal cache hit"=35] ["memdb traversal cache miss"=50] [size=420B] [startTS=457119047705427971] [2025/04/04 12:46:21.370 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119047705427971] [commitTS=457119047705427972] [2025/04/04 12:46:21.370 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119047705427971] [startKey=7480000000000000c65f698000000000000001038000000000000001] [endKey=7480000000000000c65f72800000000000000a] [concurrency=8] [2025/04/04 12:46:21.372 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119047705427971] [startKey=7480000000000000c65f698000000000000001038000000000000001] [endKey=7480000000000000c65f72800000000000000a] ["cost time"=1.965877ms] ["completed regions"=1] [2025/04/04 12:46:21.372 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119047705427971] [commitTS=457119047705427972] [session=15] [2025/04/04 12:46:21.381 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119047705427973] [generation=1] [session=15] [keys=15] [size=420B] ["flushed keys"=15] ["flushed size"=420B] ["take time"=1.164281ms] [2025/04/04 12:46:21.381 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=15] [flush_wait_duration=1.266051ms] [total_duration=5.538276ms] ["memdb traversal cache hit"=40] ["memdb traversal cache miss"=60] [size=420B] [startTS=457119047705427973] [2025/04/04 12:46:21.382 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119047705427973] [commitTS=457119047705427974] [2025/04/04 12:46:21.382 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119047705427973] [startKey=7480000000000000c65f698000000000000001038000000000000001] [endKey=7480000000000000c65f72800000000000000a] [concurrency=8] [2025/04/04 12:46:21.384 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119047705427973] [startKey=7480000000000000c65f698000000000000001038000000000000001] [endKey=7480000000000000c65f72800000000000000a] ["cost time"=1.950178ms] ["completed regions"=1] [2025/04/04 12:46:21.384 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119047705427973] [commitTS=457119047705427974] [session=15] [2025/04/04 12:46:21.397 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:200, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:192, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:21.347 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t1, _t1"] [2025/04/04 12:46:21.397 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:200, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:192, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:21.347 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:21.402 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=200] [conn=15] [job="ID:200, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:192, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:21.347 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:21.417 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=144] [neededSchemaVersion=145] ["elapsed time"=1.94043ms] [gotSchemaVersion=145] [phyTblIDs="[192]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:21.421 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=200] [version=145] [2025/04/04 12:46:21.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=145] ["take time"=9.203407ms] [job="ID:200, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:192, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:21.347 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:21.432 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=200] [conn=15] [job="ID:200, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:192, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:21.347 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:21.447 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=145] [neededSchemaVersion=146] ["elapsed time"=1.767874ms] [gotSchemaVersion=146] [phyTblIDs="[192]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:21.450 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=200] [version=146] [2025/04/04 12:46:21.452 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=146] ["take time"=8.893044ms] [job="ID:200, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:192, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:21.347 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:21.460 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=200] [conn=15] [job="ID:200, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:192, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:21.347 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:21.466 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 192, Old Table Name: t1)"] [2025/04/04 12:46:21.479 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=146] [neededSchemaVersion=147] ["elapsed time"=1.061157ms] [gotSchemaVersion=147] [phyTblIDs="[192]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:21.482 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=200] [version=147] [2025/04/04 12:46:21.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=147] ["take time"=7.845553ms] [job="ID:200, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:192, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:21.347 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:21.493 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=200] [tableIDs="[192]"] [comment="drop table: table ID"] [2025/04/04 12:46:21.497 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=200] [jobType="drop table"] [2025/04/04 12:46:21.497 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=200] [conn=15] [job="ID:200, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:192, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:21.347 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:21.515 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=200] [2025/04/04 12:46:21.525 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:201, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:198, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:21.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:21.525 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:201, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:198, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:21.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t1, _t1"] [2025/04/04 12:46:21.530 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=201] [conn=15] [job="ID:201, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:198, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:21.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:21.546 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=147] [neededSchemaVersion=148] ["elapsed time"=2.006393ms] [gotSchemaVersion=148] [phyTblIDs="[198]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:21.549 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=201] [version=148] [2025/04/04 12:46:21.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=148] ["take time"=8.893181ms] [job="ID:201, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:198, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:21.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:21.560 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=201] [conn=15] [job="ID:201, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:198, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:21.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:21.575 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=148] [neededSchemaVersion=149] ["elapsed time"=1.976819ms] [gotSchemaVersion=149] [phyTblIDs="[198]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:21.579 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=201] [version=149] [2025/04/04 12:46:21.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=149] ["take time"=8.68257ms] [job="ID:201, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:198, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:21.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:21.589 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=201] [conn=15] [job="ID:201, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:198, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:21.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:21.595 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 198, Old Table Name: _t1)"] [2025/04/04 12:46:21.608 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=149] [neededSchemaVersion=150] ["elapsed time"=1.010566ms] [gotSchemaVersion=150] [phyTblIDs="[198]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:21.611 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=201] [version=150] [2025/04/04 12:46:21.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=150] ["take time"=7.890788ms] [job="ID:201, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:198, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:21.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:21.622 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=201] [tableIDs="[198]"] [comment="drop table: table ID"] [2025/04/04 12:46:21.626 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=201] [jobType="drop table"] [2025/04/04 12:46:21.627 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=201] [conn=15] [job="ID:201, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:198, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:21.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:21.645 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=201] [2025/04/04 12:46:21.645 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=150] [cur_db=test] [sql="drop table if exists t1, _t1"] [user=] [2025/04/04 12:46:21.658 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:203, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:202, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:21.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:21.658 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:203, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:202, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:21.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t1 (a int primary key, b int, unique index idx(b))"] [2025/04/04 12:46:21.664 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=203] [conn=15] [job="ID:203, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:202, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:21.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:21.668 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 202, Table Name: _t1)"] [2025/04/04 12:46:21.682 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=150] [neededSchemaVersion=151] ["elapsed time"=1.497611ms] [gotSchemaVersion=151] [phyTblIDs="[202]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:46:21.686 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=203] [version=151] [2025/04/04 12:46:21.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=151] ["take time"=8.243098ms] [job="ID:203, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:202, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:21.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:21.698 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=203] [conn=15] [job="ID:203, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:202, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:21.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:21.709 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=203] [2025/04/04 12:46:21.710 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=151] [cur_db=test] [sql="create table _t1 (a int primary key, b int, unique index idx(b))"] [user=] [2025/04/04 12:46:21.727 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:205, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:202, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:21.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:21.727 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:205, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:202, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:21.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/04 12:46:21.732 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=205] [conn=15] [job="ID:205, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:202, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:21.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:21.739 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 204, Table Name: _t1, Old Table ID: 202, Old Table Name: _t1)"] [2025/04/04 12:46:21.754 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=151] [neededSchemaVersion=152] ["elapsed time"=1.55071ms] [gotSchemaVersion=152] [phyTblIDs="[202,204]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 12:46:21.757 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=205] [version=152] [2025/04/04 12:46:21.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=152] ["take time"=8.174641ms] [job="ID:205, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:202, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:21.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:21.770 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=205] [tableIDs="[202]"] [comment="truncate table: table ID"] [2025/04/04 12:46:21.774 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=205] [jobType="truncate table"] [2025/04/04 12:46:21.775 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=205] [conn=15] [job="ID:205, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:202, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:21.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:21.792 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=205] [2025/04/04 12:46:21.792 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=152] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/04 12:46:21.795 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119047810285586] [generation=1] [session=15] [keys=10] [size=325B] ["flushed keys"=10] ["flushed size"=325B] ["take time"=1.013063ms] [2025/04/04 12:46:21.796 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=10] [flush_wait_duration=1.108234ms] [total_duration=1.89076ms] ["memdb traversal cache hit"=20] ["memdb traversal cache miss"=20] [size=325B] [startTS=457119047810285586] [2025/04/04 12:46:21.797 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119047810285586] [commitTS=457119047810285587] [2025/04/04 12:46:21.797 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119047810285586] [startKey=7480000000000000cc5f698000000000000001038000000000000001] [endKey=7480000000000000cc5f728000000000000005] [concurrency=8] [2025/04/04 12:46:21.799 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119047810285586] [startKey=7480000000000000cc5f698000000000000001038000000000000001] [endKey=7480000000000000cc5f728000000000000005] ["cost time"=1.964124ms] ["completed regions"=1] [2025/04/04 12:46:21.799 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119047810285586] [commitTS=457119047810285587] [session=15] [2025/04/04 12:46:21.809 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:207, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:204, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:21.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:21.808 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:207, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:204, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:21.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/04 12:46:21.814 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=207] [conn=15] [job="ID:207, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:204, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:21.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:21.821 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 206, Table Name: _t1, Old Table ID: 204, Old Table Name: _t1)"] [2025/04/04 12:46:21.836 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=152] [neededSchemaVersion=153] ["elapsed time"=1.589958ms] [gotSchemaVersion=153] [phyTblIDs="[204,206]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 12:46:21.839 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=207] [version=153] [2025/04/04 12:46:21.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=153] ["take time"=8.014588ms] [job="ID:207, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:204, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:21.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:21.851 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=207] [tableIDs="[204]"] [comment="truncate table: table ID"] [2025/04/04 12:46:21.855 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=207] [jobType="truncate table"] [2025/04/04 12:46:21.856 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=207] [conn=15] [job="ID:207, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:204, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:21.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:21.874 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=207] [2025/04/04 12:46:21.874 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=153] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/04 12:46:21.879 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119047836762123] [generation=1] [session=15] [keys=10] [size=325B] ["flushed keys"=10] ["flushed size"=325B] ["take time"=1.228357ms] [2025/04/04 12:46:21.879 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=10] [flush_wait_duration=1.379659ms] [total_duration=3.55422ms] ["memdb traversal cache hit"=20] ["memdb traversal cache miss"=30] [size=325B] [startTS=457119047836762123] [2025/04/04 12:46:21.880 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119047836762123] [commitTS=457119047836762124] [2025/04/04 12:46:21.880 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119047836762123] [startKey=7480000000000000ce5f698000000000000001038000000000000001] [endKey=7480000000000000ce5f728000000000000005] [concurrency=8] [2025/04/04 12:46:21.882 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119047836762123] [startKey=7480000000000000ce5f698000000000000001038000000000000001] [endKey=7480000000000000ce5f728000000000000005] ["cost time"=2.161906ms] ["completed regions"=1] [2025/04/04 12:46:21.883 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119047836762123] [commitTS=457119047836762124] [session=15] [2025/04/04 12:46:21.892 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119047836762127] [generation=1] [session=15] [keys=15] [size=420B] ["flushed keys"=15] ["flushed size"=420B] ["take time"=1.215762ms] [2025/04/04 12:46:21.892 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=15] [flush_wait_duration=1.31854ms] [total_duration=4.384238ms] ["memdb traversal cache hit"=35] ["memdb traversal cache miss"=50] [size=420B] [startTS=457119047836762127] [2025/04/04 12:46:21.894 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119047836762127] [commitTS=457119047836762128] [2025/04/04 12:46:21.894 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119047836762127] [startKey=7480000000000000ce5f698000000000000001038000000000000001] [endKey=7480000000000000ce5f72800000000000000a] [concurrency=8] [2025/04/04 12:46:21.896 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119047836762127] [startKey=7480000000000000ce5f698000000000000001038000000000000001] [endKey=7480000000000000ce5f72800000000000000a] ["cost time"=1.904641ms] ["completed regions"=1] [2025/04/04 12:46:21.896 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119047836762127] [commitTS=457119047836762128] [session=15] [2025/04/04 12:46:21.902 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119047836762129] [generation=1] [session=15] [keys=15] [size=420B] ["flushed keys"=15] ["flushed size"=420B] ["take time"=1.134936ms] [2025/04/04 12:46:21.902 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=15] [flush_wait_duration=1.237012ms] [total_duration=4.897606ms] ["memdb traversal cache hit"=40] ["memdb traversal cache miss"=60] [size=420B] [startTS=457119047836762129] [2025/04/04 12:46:21.903 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119047836762129] [commitTS=457119047849869313] [2025/04/04 12:46:21.903 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119047836762129] [startKey=7480000000000000ce5f698000000000000001038000000000000001] [endKey=7480000000000000ce5f72800000000000000a] [concurrency=8] [2025/04/04 12:46:21.904 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 12:46:21.904 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=850de45d-967c-4caa-8edf-627d6a0f6db9] [] [2025/04/04 12:46:21.905 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 12:46:21.905 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=850de45d-967c-4caa-8edf-627d6a0f6db9] [2025/04/04 12:46:21.905 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:46:21.905 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:46:21.905 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 29, tp general"] ["take time"=46.225µs] [2025/04/04 12:46:21.905 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 30, tp general"] ["take time"=36.353µs] [2025/04/04 12:46:21.905 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 31, tp general"] ["take time"=47.34µs] [2025/04/04 12:46:21.905 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 32, tp general"] ["take time"=29.401µs] [2025/04/04 12:46:21.905 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119047836762129] [startKey=7480000000000000ce5f698000000000000001038000000000000001] [endKey=7480000000000000ce5f72800000000000000a] ["cost time"=1.914551ms] ["completed regions"=1] [2025/04/04 12:46:21.905 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119047836762129] [commitTS=457119047849869313] [session=15] [2025/04/04 12:46:21.905 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 33, tp general"] ["take time"=32.399µs] [2025/04/04 12:46:21.905 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 34, tp general"] ["take time"=32.378µs] [2025/04/04 12:46:21.905 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 35, tp general"] ["take time"=37.585µs] [2025/04/04 12:46:21.905 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 36, tp general"] ["take time"=33.793µs] [2025/04/04 12:46:21.905 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 37, tp general"] ["take time"=30.934µs] [2025/04/04 12:46:21.906 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 28, tp general"] ["take time"=29.485µs] [2025/04/04 12:46:21.906 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=850de45d-967c-4caa-8edf-627d6a0f6db9] [2025/04/04 12:46:21.906 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=850de45d-967c-4caa-8edf-627d6a0f6db9] [2025/04/04 12:46:21.907 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 12:46:21.907 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 12:46:21.916 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=850de45d-967c-4caa-8edf-627d6a0f6db9] ["take time"=12.121374ms] [2025/04/04 12:46:21.917 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=850de45d-967c-4caa-8edf-627d6a0f6db9] [2025/04/04 12:46:21.917 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 12:46:21.917 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/04 12:46:21.917 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/d1fe2120-12ae-4cdf-bd2c-1efcdfdb1f63] [watcherID=9b807752-e17b-4065-962b-7083713f394b] [2025/04/04 12:46:21.917 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/d1fe2120-12ae-4cdf-bd2c-1efcdfdb1f63] [2025/04/04 12:46:21.917 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=850de45d-967c-4caa-8edf-627d6a0f6db9] [ttl-worker=task-manager] [ttl-worker=850de45d-967c-4caa-8edf-627d6a0f6db9] [originalCount=4] [newCount=0] [2025/04/04 12:46:21.917 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:46:21.917 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:46:21.917 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:46:21.917 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:46:21.917 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=850de45d-967c-4caa-8edf-627d6a0f6db9] [ttl-worker=task-manager] [ttl-worker=850de45d-967c-4caa-8edf-627d6a0f6db9] [originalCount=4] [newCount=0] [2025/04/04 12:46:21.920 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:46:21.920 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:46:21.920 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:46:21.921 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:46:21.923 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=850de45d-967c-4caa-8edf-627d6a0f6db9] [2025/04/04 12:46:21.923 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 12:46:21.924 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=81] [2025/04/04 12:46:21.924 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 12:46:21.924 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=850de45d-967c-4caa-8edf-627d6a0f6db9] [2025/04/04 12:46:21.924 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:46:21.924 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 12:46:21.924 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 12:46:21.924 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/04 12:46:21.924 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 12:46:21.924 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:46:21.924 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 12:46:21.924 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 12:46:21.924 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:21.924 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 12:46:21.924 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 12:46:21.924 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/04 12:46:21.924 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:46:21.924 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 12:46:21.924 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 12:46:21.924 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:21.924 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/04 12:46:21.924 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=0e07addf-8e99-4df2-be76-78706d427434] [] [2025/04/04 12:46:21.924 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 12:46:21.924 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 12:46:21.924 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:21.924 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=0e07addf-8e99-4df2-be76-78706d427434] [2025/04/04 12:46:21.924 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:46:21.924 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 12:46:21.924 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=0e07addf-8e99-4df2-be76-78706d427434] [2025/04/04 12:46:21.924 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 12:46:21.925 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=0e07addf-8e99-4df2-be76-78706d427434] [2025/04/04 12:46:21.925 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 12:46:21.924 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/04 12:46:21.924 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:21.924 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:21.924 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 12:46:21.924 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 12:46:21.925 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=850de45d-967c-4caa-8edf-627d6a0f6db9] [] [2025/04/04 12:46:21.925 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 12:46:21.925 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:46:21.925 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:21.924 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:46:21.924 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 12:46:21.925 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:46:21.925 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=850de45d-967c-4caa-8edf-627d6a0f6db9] [2025/04/04 12:46:21.925 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 12:46:21.925 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 12:46:21.925 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:21.925 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:46:21.925 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 12:46:21.924 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:21.924 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 12:46:21.924 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 12:46:21.925 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:46:21.924 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:46:21.925 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:21.924 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:46:21.925 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:46:21.925 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:46:21.924 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:46:21.924 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 12:46:21.924 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:46:21.924 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:46:21.924 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:46:21.925 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:46:21.924 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 12:46:21.924 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 12:46:21.925 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:46:21.925 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:46:21.925 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:21.925 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:21.925 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=850de45d-967c-4caa-8edf-627d6a0f6db9] [2025/04/04 12:46:21.925 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:46:21.925 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 12:46:21.924 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:21.925 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 12:46:21.926 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:46:21.925 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=850de45d-967c-4caa-8edf-627d6a0f6db9] [2025/04/04 12:46:21.926 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=850de45d-967c-4caa-8edf-627d6a0f6db9] [2025/04/04 12:46:21.926 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=0e07addf-8e99-4df2-be76-78706d427434] [daemon-id=LogBackup::Advancer] [2025/04/04 12:46:21.926 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 12:46:21.926 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:46:21.926 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 12:46:21.926 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 12:46:21.926 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:46:21.926 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:46:21.926 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 12:46:21.926 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=850de45d-967c-4caa-8edf-627d6a0f6db9] [error="context canceled"] [2025/04/04 12:46:21.927 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 12:46:21.927 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 12:46:21.927 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:46:21.928 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=850de45d-967c-4caa-8edf-627d6a0f6db9] [error="context canceled"] [2025/04/04 12:46:21.928 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=850de45d-967c-4caa-8edf-627d6a0f6db9] [2025/04/04 12:46:21.928 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=850de45d-967c-4caa-8edf-627d6a0f6db9] [error="context canceled"] [2025/04/04 12:46:21.928 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=850de45d-967c-4caa-8edf-627d6a0f6db9] [error="context canceled"] [errorVerbose="context canceled\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:46:21.947 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 12:46:21.947 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:46:22.005 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 12:46:22.005 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:46:22.016 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=111.411965ms] [2025/04/04 12:46:23.197 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119046866567181 commit_ts:457119046866567185 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:46:23.197 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119046866567181 commit_ts:457119046866567185 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:46:23.197 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119046866567181 commit_ts:457119046866567185 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:46:23.292 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119046892781579 commit_ts:457119046892781582 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:46:23.292 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119046892781579 commit_ts:457119046892781582 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:46:23.292 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119046892781579 commit_ts:457119046892781582 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:46:23.301 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119046892781584 commit_ts:457119046892781585 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:46:23.301 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119046892781584 commit_ts:457119046892781585 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:46:23.301 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119046892781584 commit_ts:457119046892781585 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:46:23.310 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119046905888769 commit_ts:457119046905888770 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:46:23.310 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119046905888769 commit_ts:457119046905888770 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:46:23.310 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119046905888769 commit_ts:457119046905888770 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:46:23.318 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119046905888771 commit_ts:457119046905888772 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:46:23.318 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119046905888771 commit_ts:457119046905888772 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:46:23.318 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119046905888771 commit_ts:457119046905888772 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:46:23.742 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119047010746382 commit_ts:457119047010746386 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:46:23.742 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119047010746382 commit_ts:457119047010746386 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:46:23.742 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119047010746382 commit_ts:457119047010746386 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:46:23.828 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119047036960776 commit_ts:457119047036960779 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:46:23.828 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119047036960776 commit_ts:457119047036960779 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:46:23.828 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119047036960776 commit_ts:457119047036960779 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:46:23.835 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119047036960780 commit_ts:457119047036960781 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:46:23.835 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119047036960780 commit_ts:457119047036960781 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:46:23.835 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119047036960780 commit_ts:457119047036960781 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:46:23.841 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119047036960784 commit_ts:457119047036960787 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:46:23.841 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119047036960784 commit_ts:457119047036960787 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:46:23.841 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119047036960784 commit_ts:457119047036960787 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:46:23.846 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119047036960789 commit_ts:457119047036960790 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:46:23.846 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119047036960789 commit_ts:457119047036960790 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:46:23.846 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119047036960789 commit_ts:457119047036960790 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:46:24.054 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119047089651728 commit_ts:457119047102496770 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:46:24.054 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119047089651728 commit_ts:457119047102496770 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:46:24.054 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119047089651728 commit_ts:457119047102496770 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:46:24.215 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119047142080515 commit_ts:457119047142080516 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:46:24.215 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119047142080515 commit_ts:457119047142080516 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:46:24.215 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119047142080515 commit_ts:457119047142080516 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:46:24.299 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119047154925585 commit_ts:457119047154925586 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:46:24.299 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119047154925585 commit_ts:457119047154925586 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:46:24.299 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119047154925585 commit_ts:457119047154925586 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:46:24.317 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119047168032770 commit_ts:457119047168032771 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:46:24.317 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119047168032770 commit_ts:457119047168032771 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:46:24.317 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119047168032770 commit_ts:457119047168032771 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:46:24.327 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119047168032772 commit_ts:457119047168032773 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:46:24.327 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119047168032772 commit_ts:457119047168032773 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:46:24.327 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119047168032772 commit_ts:457119047168032773 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:46:24.747 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119047273152530 commit_ts:457119047273152531 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:46:24.747 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119047273152530 commit_ts:457119047273152531 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:46:24.747 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119047273152530 commit_ts:457119047273152531 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:46:24.825 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119047299366920 commit_ts:457119047299366921 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:46:24.825 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119047299366920 commit_ts:457119047299366921 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:46:24.825 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119047299366920 commit_ts:457119047299366921 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:46:24.845 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119047299366923 commit_ts:457119047299366926 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:46:24.845 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119047299366923 commit_ts:457119047299366926 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:46:24.845 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119047299366923 commit_ts:457119047299366926 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:46:24.852 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119047299366929 commit_ts:457119047312211969 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:46:24.852 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119047299366929 commit_ts:457119047312211969 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:46:24.852 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119047299366929 commit_ts:457119047312211969 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:46:25.063 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119047364902916 commit_ts:457119047364902920 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:46:25.063 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119047364902916 commit_ts:457119047364902920 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:46:25.063 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119047364902916 commit_ts:457119047364902920 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:46:25.229 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119047404224519 commit_ts:457119047404224522 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:46:25.229 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119047404224519 commit_ts:457119047404224522 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:46:25.229 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119047404224519 commit_ts:457119047404224522 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:46:25.325 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119047430176775 commit_ts:457119047430176778 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:46:25.325 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119047430176775 commit_ts:457119047430176778 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:46:25.325 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119047430176775 commit_ts:457119047430176778 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:46:25.346 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119047430176784 commit_ts:457119047430176786 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:46:25.346 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119047430176784 commit_ts:457119047430176786 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:46:25.346 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119047430176784 commit_ts:457119047430176786 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:46:25.360 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119047443546113 commit_ts:457119047443546114 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:46:25.360 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119047443546113 commit_ts:457119047443546114 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:46:25.360 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119047443546113 commit_ts:457119047443546114 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:46:25.792 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119047548141581 commit_ts:457119047548141584 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:46:25.792 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119047548141581 commit_ts:457119047548141584 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:46:25.792 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119047548141581 commit_ts:457119047548141584 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:46:25.881 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119047574618120 commit_ts:457119047574618123 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:46:25.881 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119047574618120 commit_ts:457119047574618123 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:46:25.881 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119047574618120 commit_ts:457119047574618123 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:46:25.895 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119047574618125 commit_ts:457119047574618127 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:46:25.895 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119047574618125 commit_ts:457119047574618127 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:46:25.895 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119047574618125 commit_ts:457119047574618127 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:46:25.904 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119047574618128 commit_ts:457119047587725313 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:46:25.904 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119047574618128 commit_ts:457119047587725313 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:46:25.904 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119047574618128 commit_ts:457119047587725313 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:46:26.111 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119047639891971 commit_ts:457119047639891975 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:46:26.111 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119047639891971 commit_ts:457119047639891975 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:46:26.111 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119047639891971 commit_ts:457119047639891975 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:46:26.268 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119047679475717 commit_ts:457119047679475718 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:46:26.268 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119047679475717 commit_ts:457119047679475718 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:46:26.268 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119047679475717 commit_ts:457119047679475718 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:46:26.352 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119047692582933 commit_ts:457119047705427969 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:46:26.352 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119047692582933 commit_ts:457119047705427969 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:46:26.352 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119047692582933 commit_ts:457119047705427969 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:46:26.372 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119047705427971 commit_ts:457119047705427972 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:46:26.372 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119047705427971 commit_ts:457119047705427972 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:46:26.372 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119047705427971 commit_ts:457119047705427972 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:46:26.386 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119047705427973 commit_ts:457119047705427974 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:46:26.386 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119047705427973 commit_ts:457119047705427974 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:46:26.386 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119047705427973 commit_ts:457119047705427974 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:46:26.800 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119047810285586 commit_ts:457119047810285587 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:46:26.800 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119047810285586 commit_ts:457119047810285587 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:46:26.800 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119047810285586 commit_ts:457119047810285587 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:46:26.883 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119047836762123 commit_ts:457119047836762124 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:46:26.883 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119047836762123 commit_ts:457119047836762124 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:46:26.883 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119047836762123 commit_ts:457119047836762124 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:46:26.897 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119047836762127 commit_ts:457119047836762128 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:46:26.897 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119047836762127 commit_ts:457119047836762128 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:46:26.897 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119047836762127 commit_ts:457119047836762128 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:46:26.906 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119047836762129 commit_ts:457119047849869313 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:46:26.906 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119047836762129 commit_ts:457119047849869313 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:46:26.906 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119047836762129 commit_ts:457119047849869313 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:46:26.907 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:46:26.907 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:46:26.907 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:46:26.907 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:46:26.907 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:46:26.907 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:46:26.907 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:46:26.907 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:26.907 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-7] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:46:26.907 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:26.907 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:26.907 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:46:26.908 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPipelinedDMLInsertRPC (9.51s) === NAME === RUN TestPipelinedDMLInsertOnDuplicateKeyUpdateInTxn [2025/04/04 12:46:26.921 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 12:46:26.921 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 12:46:26.922 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437819270443114] [2025/04/04 12:46:26.923 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:46:26.923 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 12:46:26.923 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:46:26.923 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:46:26.923 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:46:26.923 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:46:26.924 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:46:26.924 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:46:26.928 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 12:46:26.933 +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/04 12:46:26.934 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:46:26.935 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:46:26.945 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489437819270443114] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 12:46:26.955 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 12:46:26.991 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=974] ["lease id"=6f189600d42f9be4] [2025/04/04 12:46:26.993 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/04 12:46:27.082 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=153] ["elapsed time"=86.695663ms] [2025/04/04 12:46:27.083 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 12:46:27.085 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 12:46:27.091 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=1ce6d8f8-fe65-4adb-9c20-1d77fd952dbe] [runWorker=true] [jobVersion=v2] [2025/04/04 12:46:27.091 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 12:46:27.093 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=1ce6d8f8-fe65-4adb-9c20-1d77fd952dbe] [2025/04/04 12:46:27.094 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 12:46:27.095 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 217599737856/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 12:46:27.095 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:46:27.095 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:46:27.095 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:46:27.095 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:46:27.095 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:46:27.095 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:46:27.095 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:46:27.095 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:46:27.095 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 12:46:27.095 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:46:27.095 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:46:27.095 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 12:46:27.095 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=3c7d285c-cba6-4dca-83b7-1bef4aa3277b] [2025/04/04 12:46:27.097 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319600d42fa1fe] [ownerID=1ce6d8f8-fe65-4adb-9c20-1d77fd952dbe] [op=none] [2025/04/04 12:46:27.097 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=1ce6d8f8-fe65-4adb-9c20-1d77fd952dbe] [2025/04/04 12:46:27.098 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=1ce6d8f8-fe65-4adb-9c20-1d77fd952dbe] [ownerKey=/tidb/ddl/fg/owner/22319600d42fa1fe] [currRev=688] [2025/04/04 12:46:27.098 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:46:27.098 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=3c7d285c-cba6-4dca-83b7-1bef4aa3277b] [daemon-id=LogBackup::Advancer] [2025/04/04 12:46:27.098 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa9600d42f9568] [ownerID=3c7d285c-cba6-4dca-83b7-1bef4aa3277b] [op=none] [2025/04/04 12:46:27.098 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=3c7d285c-cba6-4dca-83b7-1bef4aa3277b] [2025/04/04 12:46:27.099 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=3c7d285c-cba6-4dca-83b7-1bef4aa3277b] [ownerKey=/tidb/br-stream/owner/3eaa9600d42f9568] [currRev=688] [2025/04/04 12:46:27.099 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 12:46:27.100 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319600d42fa1fe] [ownerID=1ce6d8f8-fe65-4adb-9c20-1d77fd952dbe] [op=none] [2025/04/04 12:46:27.100 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=1ce6d8f8-fe65-4adb-9c20-1d77fd952dbe] [op=none] [2025/04/04 12:46:27.100 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 12:46:27.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.TestPipelinedDMLInsertOnDuplicateKeyUpdateInTxn\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:537\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:46:27.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.TestPipelinedDMLInsertOnDuplicateKeyUpdateInTxn\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:537\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:46:27.106 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestPipelinedDMLInsertOnDuplicateKeyUpdateInTxn\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:537\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:46:27.106 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=1ce6d8f8-fe65-4adb-9c20-1d77fd952dbe] [2025/04/04 12:46:27.107 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:46:27.107 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 12:46:27.117 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:46:27.123 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:46:27.128 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:46:27.128 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:46:27.128 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:46:27.128 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 12:46:27.128 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 12:46:27.128 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:46:27.128 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 12:46:27.128 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 12:46:27.128 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 12:46:27.129 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:46:27.129 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=1ce6d8f8-fe65-4adb-9c20-1d77fd952dbe] [2025/04/04 12:46:27.130 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:46:27.130 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:46:27.130 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:46:27.130 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:46:27.130 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:46:27.130 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 12:46:27.130 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:46:27.130 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 12:46:27.130 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:46:27.130 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:46:27.130 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 12:46:27.130 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:46:27.131 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:46:27.131 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:46:27.131 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:46:27.132 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/6f189600d42f9bee] [ownerID=1ce6d8f8-fe65-4adb-9c20-1d77fd952dbe] [op=none] [2025/04/04 12:46:27.132 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/04 12:46:27.132 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=1ce6d8f8-fe65-4adb-9c20-1d77fd952dbe] [2025/04/04 12:46:27.132 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=1ce6d8f8-fe65-4adb-9c20-1d77fd952dbe] [ownerKey=/tidb/stats/owner/6f189600d42f9bee] [currRev=690] [2025/04/04 12:46:27.135 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/398b6bc0-66ee-4dda-b62a-63bed812bb66] [2025/04/04 12:46:27.135 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=1ce6d8f8-fe65-4adb-9c20-1d77fd952dbe] [ttl-worker=task-manager] [ttl-worker=1ce6d8f8-fe65-4adb-9c20-1d77fd952dbe] [originalCount=0] [newCount=4] [2025/04/04 12:46:27.135 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=1ce6d8f8-fe65-4adb-9c20-1d77fd952dbe] [ttl-worker=task-manager] [ttl-worker=1ce6d8f8-fe65-4adb-9c20-1d77fd952dbe] [originalCount=0] [newCount=4] [2025/04/04 12:46:27.135 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:46:27.135 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=1ce6d8f8-fe65-4adb-9c20-1d77fd952dbe] [2025/04/04 12:46:27.135 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 12:46:27.135 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 12:46:27.135 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743770787136192095 [2025/04/04 12:46:27.140 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 12:46:27.147 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=17.84557ms] [2025/04/04 12:46:27.147 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:46:27.147 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 12:46:27.150 +00:00] [INFO] [set.go:172] ["set global var"] [conn=16] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 12:46:27.153 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=16] [schemaVersion=153] [cur_db=test] [sql="alter table `_t1` nocache"] [user=] [2025/04/04 12:46:27.165 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:208, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:206, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:27.147 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t1`"] [2025/04/04 12:46:27.166 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:208, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:206, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:27.147 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:27.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:queueing, SchemaState:public, SchemaID:2, TableID:206, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:27.147 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:27.187 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=153] [neededSchemaVersion=154] ["elapsed time"=2.211838ms] [gotSchemaVersion=154] [phyTblIDs="[206]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:27.191 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=208] [version=154] [2025/04/04 12:46:27.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=154] ["take time"=9.508733ms] [job="ID:208, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:206, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:27.147 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:27.202 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=208] [conn=16] [job="ID:208, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:206, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:27.147 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:27.218 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=154] [neededSchemaVersion=155] ["elapsed time"=1.892506ms] [gotSchemaVersion=155] [phyTblIDs="[206]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:27.221 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=208] [version=155] [2025/04/04 12:46:27.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=155] ["take time"=8.745059ms] [job="ID:208, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:206, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:27.147 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:27.231 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=208] [conn=16] [job="ID:208, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:206, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:27.147 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:27.237 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 206, Old Table Name: _t1)"] [2025/04/04 12:46:27.250 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=155] [neededSchemaVersion=156] ["elapsed time"=1.02578ms] [gotSchemaVersion=156] [phyTblIDs="[206]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:27.253 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=208] [version=156] [2025/04/04 12:46:27.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=156] ["take time"=7.841766ms] [job="ID:208, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:206, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:27.147 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:27.264 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=208] [tableIDs="[206]"] [comment="drop table: table ID"] [2025/04/04 12:46:27.271 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=208] [jobType="drop table"] [2025/04/04 12:46:27.272 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=208] [conn=16] [job="ID:208, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:206, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:27.147 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:27.291 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=208] [2025/04/04 12:46:27.291 +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: 1743770787291672445 [2025/04/04 12:46:27.295 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=17] [schemaVersion=156] [cur_db=test] [sql="drop table if exists t1"] [user=] [2025/04/04 12:46:27.308 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:210, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:209, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:27.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:27.308 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:210, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:209, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:27.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t1 (a int, b int, c varchar(128), unique index idx(b))"] [2025/04/04 12:46:27.314 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=210] [conn=17] [job="ID:210, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:209, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:27.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:27.318 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 209, Table Name: t1)"] [2025/04/04 12:46:27.334 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=156] [neededSchemaVersion=157] ["elapsed time"=1.70387ms] [gotSchemaVersion=157] [phyTblIDs="[209]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:46:27.338 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=210] [version=157] [2025/04/04 12:46:27.339 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=157] ["take time"=8.574578ms] [job="ID:210, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:209, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:27.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:27.351 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=210] [conn=17] [job="ID:210, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:209, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:27.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:27.363 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=210] [2025/04/04 12:46:27.363 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=17] [schemaVersion=157] [cur_db=test] [sql="create table t1 (a int, b int, c varchar(128), unique index idx(b))"] [user=] [2025/04/04 12:46:27.607 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/04 12:46:27.918 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119049370042370] [generation=1] [session=17] [keys=3998] [size=253.6kB] ["flushed keys"=3998] ["flushed size"=253.6kB] ["take time"=25.274474ms] [2025/04/04 12:46:27.918 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119049370042370] [generation=2] [session=17] [keys=0] [size=0B] ["flushed keys"=3998] ["flushed size"=253.6kB] ["take time"=32.685µs] [2025/04/04 12:46:27.918 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=3998] [flush_wait_duration=25.578427ms] [total_duration=181.840248ms] ["memdb traversal cache hit"=7996] ["memdb traversal cache miss"=7998] [size=253.6kB] [startTS=457119049370042370] [2025/04/04 12:46:27.920 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119049370042370] [commitTS=457119049422471170] [2025/04/04 12:46:27.920 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119049370042370] [startKey=7480000000000000d15f698000000000000001038000000000000000] [endKey=7480000000000000d15f728000000000000f9f] [concurrency=8] [2025/04/04 12:46:27.922 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 457119049370042370\n# Conn_ID: 17\n# Query_time: 0.305609663\n# Parse_time: 0.048004846\n# Compile_time: 0.073135057\n# Rewrite_time: 0.010133978\n# Optimize_time: 0.000961418\n# Wait_TS: 0.000460817\n# Commit_primary_rpc_detail: {total:0.001s, region_id: 14, store: 127.0.0.1:20160, time_detail: {total_process_time: 50.6µs, total_suspend_time: 312.3µs, tikv_grpc_process_time: 7.47µs, tikv_grpc_wait_time: 9.65µs, tikv_wall_time: 385.5µs}, scan_detail: {get_snapshot_time: 11.2µs, rocksdb: {block: {}}}, write_detail: {store_batch_wait: 14µs, propose_send_wait: 0s, persist_log: {total: 65.9µs, write_leader_wait: 33ns, sync_log: 31.3µs, write_memtable: 408ns}, commit_log: 200.7µs, apply_batch_wait: 14.1µs, apply: {total:60.2µs, mutex_lock: 0s, write_leader_wait: 0s, write_wal: 15.6µs, write_memtable: 13.5µs}, scheduler: {process: 331.1µs, latch_wait: 1.53µ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('wgnwTzAJMjdfMQkwCTAJTi9BCTAJdGltZToxNTUuOW1zLCBvcGVuOjguMjLCtXMsIGNsb3NlOjIwLjXCtXMsIGxvb3BzOjEsIHByZXBhcmU6IDE4CTdQY2hlY2tfaW5zZXJ0OiB7dG90YWxfBVoMIDEzNwFZCG1lbQ0gERgEMjIBGCxwcmVmZXRjaDogMTUBEAhma18FTRQ6IDEwLjQBEmBycGM6e0J1ZmZlckJhdGNoR2V0OntudW1fARkIMSwgHW0cNC4wN21zfSx+KAAMNS4xMQEoACABoxhfZGV0YWlsFbcYcHJvY2Vzcw2nCDNucxFjKGt2X3JlYWRfd2FsEd0INi40BaQgdGlrdl9ncnBjPj4ABDE4JToZIAh3YWkxAgQyMi1YBR4dVgwzLjc2BZ8Mc2Nhbj6fAFhrZXlzOiAyMDAwLCBnZXRfc25hcHNobxFVDDE3LjkFc0hyb2Nrc2RiOiB7YmxvY2s6IHt9AQEULCBjb21tAYQQeG46IHsVDxhwcmltYXJ5JVUtwWw6IDAuMDAxcywgcmVnaW9uX2lkOiAxNCwgc3RvJf00MjcuMC4wLjE6MjAxNjCOTgEMNTAuNgWeKbUYc3VzcGVuZDFrDDEyLjMJHlpPAQw3LjQ3OiEAPVAMOS42NRkeLlABBDg1JWoEfSw6UgFOQAEIMS4yBUVSQAEULCB3cml0XTMlCwRfYkGYBYshIQU/IHByb3Bvc2VfcwHgAaVAOiAwcywgcGVyc2lzdF9sb2c5ZwQ2NS20CV0UbGVhZGVyDTUAM0WBDHN5bmMJNAQzMS0kCSw0bWVtdGFibGU6IDQwOG4B4i3fBWEMMjAwLikxEGFwcGx5OqgABC4xBaoFGxWNBDYwLQAUbXV0ZXhfSTsBuglwMpwAGRcId2FsYcEALindCSsZmwQxMzl/JGhlZHVsZXI6IHttaBA6IDMzMQ2LAGwuSAEELjVBDUG0NAk1MjUuNCBLQglOL0EK')\n# Binary_plan: tidb_decode_binary_plan('zgnwWArJCQoISW5zZXJ0XzE4AUABUgNOL0FaMnRpbWU6MTU1Ljltcywgb3Blbjo4LjIywrVzLCBjbG9zZToyMC41wrVzLCBsb29wczoxYrsDcHJlcGFyZTogMTguBTgYY2hlY2tfaQVfIDoge3RvdGFsXwVbKCAxMzdtcywgbWVtDSARGAQyMgEYLHByZWZldGNoOiAxNQEQCGZrXwVNFDogMTAuNAESYHJwYzp7QnVmZmVyQmF0Y2hHZXQ6e251bV8BGQgxLCAdbRw0LjA3bXN9LH4oAAw1LjExASgAIAGjGF9kZXRhaWwVtxhwcm9jZXNzDacIM25zEWMoa3ZfcmVhZF93YWwR3Qg2LjQFpCB0aWt2X2dycGM+PgAEMTglShkgCHdhaTECCDIyLilZBR4dVgwzLjc2BZ8Mc2Nhbj6fAFhrZXlzOiAyMDAwLCBnZXRfc25hcHNobxFVDDE3LjkFc0hyb2Nrc2RiOiB7YmxvY2s6IHt9AQEYYrIFY29tbQGFGHhuOiB7LCANDxhwcmltYXJ5JVYtwnA6IDAuMDAxcywgcmVnaW9uX2lkOiAxNCwgc3RvciH+NDI3LjAuMC4xOjIwMTYwjk8BDDUwLjYFnym2GHN1c3BlbmQxbAwxMi4zCR5aUAEMNy40NzohAD1RCDkuNlpRAQQ4NSVrBH0sOlMBTkEBCDEuMgVjUkEBFCwgd3JpdF00JQsEX2JBmQWLISEFPyBwcm9wb3NlX3MB4AGlQDogMHMsIHBlcnNpc3RfbG9nOWcENjUttQldFGxlYWRlcg01ADNFggxzeW5jCTQEMzEtJAksNG1lbXRhYmxlOiA0MDhuAeIt0AVhDDIwMC4pMRBhcHBseTqoAAQuMQWqBRsVjQQ2MC0AFG11dGV4X0k8AboJcDKcABkXCHdhbGHCAC4p3QkrGZsEMTM5fyRoZWR1bGVyOiB7bWkQOiAzMzENiwBsLkgBBC41QQ1BtUBwkOsgeP///////////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/04 12:46:27.938 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 12:46:27.938 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=1ce6d8f8-fe65-4adb-9c20-1d77fd952dbe] [] [2025/04/04 12:46:27.938 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 12:46:27.938 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=1ce6d8f8-fe65-4adb-9c20-1d77fd952dbe] [2025/04/04 12:46:27.938 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:46:27.939 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:46:27.939 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 38, tp general"] ["take time"=85.462µs] [2025/04/04 12:46:27.939 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 39, tp general"] ["take time"=73.856µs] [2025/04/04 12:46:27.939 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=1ce6d8f8-fe65-4adb-9c20-1d77fd952dbe] [2025/04/04 12:46:27.939 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=1ce6d8f8-fe65-4adb-9c20-1d77fd952dbe] [2025/04/04 12:46:27.940 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 12:46:27.940 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 12:46:27.942 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=1ce6d8f8-fe65-4adb-9c20-1d77fd952dbe] ["take time"=3.407305ms] [2025/04/04 12:46:27.942 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=1ce6d8f8-fe65-4adb-9c20-1d77fd952dbe] [2025/04/04 12:46:27.942 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 12:46:27.942 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/398b6bc0-66ee-4dda-b62a-63bed812bb66] [2025/04/04 12:46:27.942 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=1ce6d8f8-fe65-4adb-9c20-1d77fd952dbe] [ttl-worker=task-manager] [ttl-worker=1ce6d8f8-fe65-4adb-9c20-1d77fd952dbe] [originalCount=4] [newCount=0] [2025/04/04 12:46:27.942 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:46:27.942 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:46:27.942 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:46:27.942 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:46:27.942 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=1ce6d8f8-fe65-4adb-9c20-1d77fd952dbe] [ttl-worker=task-manager] [ttl-worker=1ce6d8f8-fe65-4adb-9c20-1d77fd952dbe] [originalCount=4] [newCount=0] [2025/04/04 12:46:27.945 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:46:27.945 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:46:27.945 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:46:27.945 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:46:27.948 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=1ce6d8f8-fe65-4adb-9c20-1d77fd952dbe] [2025/04/04 12:46:27.948 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 12:46:27.949 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=974] [2025/04/04 12:46:27.949 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 12:46:27.949 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:27.949 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:46:27.949 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 12:46:27.949 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 12:46:27.949 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:27.949 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 12:46:27.949 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 12:46:27.949 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 12:46:27.949 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 12:46:27.949 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 12:46:27.949 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 12:46:27.949 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 12:46:27.949 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:27.949 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:46:27.949 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 12:46:27.949 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:46:27.949 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:46:27.949 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:46:27.949 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 12:46:27.949 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:27.949 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:46:27.949 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 12:46:27.949 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 12:46:27.949 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 12:46:27.949 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:27.949 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 12:46:27.949 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 12:46:27.949 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:27.949 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:46:27.949 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:46:27.949 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:46:27.949 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 12:46:27.949 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:46:27.949 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 12:46:27.949 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 12:46:27.949 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:46:27.949 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 12:46:27.950 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=1ce6d8f8-fe65-4adb-9c20-1d77fd952dbe] [] [2025/04/04 12:46:27.949 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:46:27.949 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 12:46:27.950 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=1ce6d8f8-fe65-4adb-9c20-1d77fd952dbe] [2025/04/04 12:46:27.950 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:46:27.949 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 12:46:27.950 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:46:27.949 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:27.949 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:46:27.949 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:27.949 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=3c7d285c-cba6-4dca-83b7-1bef4aa3277b] [] [2025/04/04 12:46:27.950 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:27.949 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 12:46:27.949 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:46:27.949 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 12:46:27.949 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:46:27.950 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 12:46:27.949 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:46:27.950 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:46:27.949 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:27.950 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:46:27.949 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 12:46:27.950 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:27.950 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:46:27.950 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:46:27.950 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=1ce6d8f8-fe65-4adb-9c20-1d77fd952dbe] [2025/04/04 12:46:27.950 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=1ce6d8f8-fe65-4adb-9c20-1d77fd952dbe] [2025/04/04 12:46:27.950 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:27.950 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=3c7d285c-cba6-4dca-83b7-1bef4aa3277b] [2025/04/04 12:46:27.950 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=3c7d285c-cba6-4dca-83b7-1bef4aa3277b] [2025/04/04 12:46:27.949 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:46:27.950 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=3c7d285c-cba6-4dca-83b7-1bef4aa3277b] [2025/04/04 12:46:27.952 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 12:46:27.952 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 12:46:27.952 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:46:27.952 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=3c7d285c-cba6-4dca-83b7-1bef4aa3277b] [daemon-id=LogBackup::Advancer] [2025/04/04 12:46:27.952 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 12:46:27.952 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 12:46:27.952 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:46:27.952 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:46:27.952 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:46:27.952 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 12:46:27.952 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 12:46:27.953 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=1ce6d8f8-fe65-4adb-9c20-1d77fd952dbe] [error="context canceled"] [2025/04/04 12:46:27.953 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=1ce6d8f8-fe65-4adb-9c20-1d77fd952dbe] [2025/04/04 12:46:27.953 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=1ce6d8f8-fe65-4adb-9c20-1d77fd952dbe] [error="context canceled"] [2025/04/04 12:46:27.953 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=1ce6d8f8-fe65-4adb-9c20-1d77fd952dbe] [error="context canceled"] [errorVerbose="context canceled\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:46:27.955 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119049370042370] [startKey=7480000000000000d15f698000000000000001038000000000000000] [endKey=7480000000000000d15f728000000000000f9f] ["cost time"=34.69176ms] ["completed regions"=1] [2025/04/04 12:46:27.955 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119049370042370] [commitTS=457119049422471170] [session=17] [2025/04/04 12:46:27.970 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 12:46:27.971 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:46:28.015 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 12:46:28.015 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:46:28.025 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=87.152786ms] [2025/04/04 12:46:28.929 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/04 12:46:32.958 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119049370042370 commit_ts:457119049422471170 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:46:32.958 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119049370042370 commit_ts:457119049422471170 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:46:32.958 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119049370042370 commit_ts:457119049422471170 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:46:32.958 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:46:32.958 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:46:32.958 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:46:32.958 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:46:32.958 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:46:32.958 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:46:32.958 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:32.958 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:46:32.958 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:32.958 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:32.958 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-8] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:46:32.958 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:46:32.960 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPipelinedDMLInsertOnDuplicateKeyUpdateInTxn (6.05s) === NAME === RUN TestPipelinedDMLDelete [2025/04/04 12:46:32.969 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 12:46:32.970 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 12:46:32.970 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437819270443114] [2025/04/04 12:46:32.971 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:46:32.971 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 12:46:32.971 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:46:32.971 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:46:32.971 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:46:32.971 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:46:32.972 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:46:32.972 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:46:32.976 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 12:46:32.981 +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/04 12:46:32.982 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:46:32.983 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:46:32.992 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489437819270443114] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 12:46:33.003 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 12:46:33.037 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=956] ["lease id"=3eaa9600d42f9590] [2025/04/04 12:46:33.039 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/04 12:46:33.125 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=157] ["elapsed time"=82.921957ms] [2025/04/04 12:46:33.125 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 12:46:33.127 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 12:46:33.133 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=af45e853-394a-4819-b2fe-c2518ab3636e] [runWorker=true] [jobVersion=v2] [2025/04/04 12:46:33.133 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 12:46:33.135 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=af45e853-394a-4819-b2fe-c2518ab3636e] [2025/04/04 12:46:33.136 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 12:46:33.137 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 217603960832/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 12:46:33.138 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:46:33.138 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:46:33.138 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:46:33.138 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:46:33.138 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:46:33.138 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:46:33.138 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:46:33.138 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:46:33.138 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 12:46:33.138 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:46:33.138 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:46:33.138 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 12:46:33.138 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9600d42f9595] [ownerID=af45e853-394a-4819-b2fe-c2518ab3636e] [op=none] [2025/04/04 12:46:33.138 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=877c9db9-28a0-49ba-b9d6-44829a56459c] [2025/04/04 12:46:33.138 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=af45e853-394a-4819-b2fe-c2518ab3636e] [2025/04/04 12:46:33.138 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=af45e853-394a-4819-b2fe-c2518ab3636e] [ownerKey=/tidb/ddl/fg/owner/3eaa9600d42f9595] [currRev=719] [2025/04/04 12:46:33.139 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 12:46:33.140 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9600d42f9595] [ownerID=af45e853-394a-4819-b2fe-c2518ab3636e] [op=none] [2025/04/04 12:46:33.140 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=af45e853-394a-4819-b2fe-c2518ab3636e] [op=none] [2025/04/04 12:46:33.140 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 12:46:33.141 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:46:33.141 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=877c9db9-28a0-49ba-b9d6-44829a56459c] [daemon-id=LogBackup::Advancer] [2025/04/04 12:46:33.141 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/22319600d42fa224] [ownerID=877c9db9-28a0-49ba-b9d6-44829a56459c] [op=none] [2025/04/04 12:46:33.141 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=877c9db9-28a0-49ba-b9d6-44829a56459c] [2025/04/04 12:46:33.141 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=877c9db9-28a0-49ba-b9d6-44829a56459c] [ownerKey=/tidb/br-stream/owner/22319600d42fa224] [currRev=720] [2025/04/04 12:46:33.146 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestPipelinedDMLDelete\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:580\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:46:33.147 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestPipelinedDMLDelete\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:580\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:46:33.148 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestPipelinedDMLDelete\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:580\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:46:33.149 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=af45e853-394a-4819-b2fe-c2518ab3636e] [2025/04/04 12:46:33.149 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:46:33.149 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 12:46:33.159 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:46:33.166 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:46:33.171 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:46:33.171 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:46:33.171 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:46:33.171 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:46:33.171 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 12:46:33.171 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 12:46:33.171 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 12:46:33.171 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 12:46:33.171 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 12:46:33.172 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:46:33.172 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=af45e853-394a-4819-b2fe-c2518ab3636e] [2025/04/04 12:46:33.173 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:46:33.173 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:46:33.173 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:46:33.173 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:46:33.173 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 12:46:33.173 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:46:33.173 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 12:46:33.173 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:46:33.173 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:46:33.173 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:46:33.173 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 12:46:33.173 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:46:33.173 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:46:33.173 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:46:33.173 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:46:33.175 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/3eaa9600d42f959c] [ownerID=af45e853-394a-4819-b2fe-c2518ab3636e] [op=none] [2025/04/04 12:46:33.175 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/04 12:46:33.175 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=af45e853-394a-4819-b2fe-c2518ab3636e] [2025/04/04 12:46:33.175 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=af45e853-394a-4819-b2fe-c2518ab3636e] [ownerKey=/tidb/stats/owner/3eaa9600d42f959c] [currRev=722] [2025/04/04 12:46:33.177 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/06f87b82-4526-4216-821c-5065034d15f1] [2025/04/04 12:46:33.178 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=af45e853-394a-4819-b2fe-c2518ab3636e] [ttl-worker=task-manager] [ttl-worker=af45e853-394a-4819-b2fe-c2518ab3636e] [originalCount=0] [newCount=4] [2025/04/04 12:46:33.178 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=af45e853-394a-4819-b2fe-c2518ab3636e] [ttl-worker=task-manager] [ttl-worker=af45e853-394a-4819-b2fe-c2518ab3636e] [originalCount=0] [newCount=4] [2025/04/04 12:46:33.178 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 12:46:33.178 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:46:33.178 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=af45e853-394a-4819-b2fe-c2518ab3636e] [2025/04/04 12:46:33.178 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 12:46:33.178 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743770793178903216 [2025/04/04 12:46:33.183 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 12:46:33.190 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=18.248671ms] [2025/04/04 12:46:33.190 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:46:33.190 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 12:46:33.193 +00:00] [INFO] [set.go:172] ["set global var"] [conn=18] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 12:46:33.196 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=18] [schemaVersion=157] [cur_db=test] [sql="alter table `t1` nocache"] [user=] [2025/04/04 12:46:33.208 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:211, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:209, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:33.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:33.208 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:211, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:209, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:33.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t1`"] [2025/04/04 12:46:33.214 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=211] [conn=18] [job="ID:211, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:209, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:33.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:33.230 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=157] [neededSchemaVersion=158] ["elapsed time"=2.230715ms] [gotSchemaVersion=158] [phyTblIDs="[209]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:33.233 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=211] [version=158] [2025/04/04 12:46:33.235 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=158] ["take time"=9.351404ms] [job="ID:211, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:209, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:33.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:33.245 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=211] [conn=18] [job="ID:211, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:209, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:33.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:33.260 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=158] [neededSchemaVersion=159] ["elapsed time"=2.23459ms] [gotSchemaVersion=159] [phyTblIDs="[209]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:33.264 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=211] [version=159] [2025/04/04 12:46:33.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=159] ["take time"=8.838562ms] [job="ID:211, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:209, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:33.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:33.273 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=211] [conn=18] [job="ID:211, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:209, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:33.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:33.279 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 209, Old Table Name: t1)"] [2025/04/04 12:46:33.293 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=159] [neededSchemaVersion=160] ["elapsed time"=1.063762ms] [gotSchemaVersion=160] [phyTblIDs="[209]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:33.296 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=211] [version=160] [2025/04/04 12:46:33.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=160] ["take time"=7.730504ms] [job="ID:211, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:209, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:33.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:33.307 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=211] [tableIDs="[209]"] [comment="drop table: table ID"] [2025/04/04 12:46:33.314 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=211] [jobType="drop table"] [2025/04/04 12:46:33.315 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=211] [conn=18] [job="ID:211, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:209, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:33.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:33.333 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=211] [2025/04/04 12:46:33.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: 1743770793334100757 [2025/04/04 12:46:33.346 +00:00] [INFO] [set.go:172] ["set global var"] [conn=19] [name=tidb_schema_cache_size] [val=0] [2025/04/04 12:46:33.349 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=19] [schemaVersion=160] [cur_db=test] [sql="drop table if exists t, _t"] [user=] [2025/04/04 12:46:33.362 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:213, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:212, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:33.347 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a int primary key, b int)"] [2025/04/04 12:46:33.362 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:213, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:212, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:33.347 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:33.367 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=213] [conn=19] [job="ID:213, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:212, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:33.347 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:33.372 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 212, Table Name: t)"] [2025/04/04 12:46:33.386 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=160] [neededSchemaVersion=161] ["elapsed time"=1.395859ms] [gotSchemaVersion=161] [phyTblIDs="[212]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:46:33.390 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=213] [version=161] [2025/04/04 12:46:33.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=161] ["take time"=8.228048ms] [job="ID:213, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:212, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:33.347 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:33.402 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=213] [conn=19] [job="ID:213, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:212, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:33.347 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:33.414 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=213] [2025/04/04 12:46:33.414 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=19] [schemaVersion=161] [cur_db=test] [sql="create table t (a int primary key, b int)"] [user=] [2025/04/04 12:46:33.427 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:215, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:214, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:33.397 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t like t"] [2025/04/04 12:46:33.429 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:215, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:214, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:33.397 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:33.435 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=215] [conn=19] [job="ID:215, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:214, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:33.397 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:33.439 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 214, Table Name: _t)"] [2025/04/04 12:46:33.454 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=161] [neededSchemaVersion=162] ["elapsed time"=1.416998ms] [gotSchemaVersion=162] [phyTblIDs="[214]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:46:33.458 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=215] [version=162] [2025/04/04 12:46:33.459 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=162] ["take time"=8.393597ms] [job="ID:215, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:214, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:33.397 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:33.470 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=215] [conn=19] [job="ID:215, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:214, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:33.397 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:33.482 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=215] [2025/04/04 12:46:33.482 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=19] [schemaVersion=162] [cur_db=test] [sql="create table _t like t"] [user=] [2025/04/04 12:46:33.485 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050877370382] [2025/04/04 12:46:33.489 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050877370386] [2025/04/04 12:46:33.494 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050877370390] [2025/04/04 12:46:33.497 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050877370393] [2025/04/04 12:46:33.501 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050890477571] [2025/04/04 12:46:33.505 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050890477574] [2025/04/04 12:46:33.509 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050890477577] [2025/04/04 12:46:33.512 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050890477580] [2025/04/04 12:46:33.516 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050890477583] [2025/04/04 12:46:33.520 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050890477586] [2025/04/04 12:46:33.524 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050890477589] [2025/04/04 12:46:33.527 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050890477592] [2025/04/04 12:46:33.531 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050890477595] [2025/04/04 12:46:33.535 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050890477598] [2025/04/04 12:46:33.539 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050890477601] [2025/04/04 12:46:33.542 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050890477605] [2025/04/04 12:46:33.546 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050890477608] [2025/04/04 12:46:33.550 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050903846914] [2025/04/04 12:46:33.554 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050903846917] [2025/04/04 12:46:33.557 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050903846920] [2025/04/04 12:46:33.561 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050903846923] [2025/04/04 12:46:33.565 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050903846926] [2025/04/04 12:46:33.568 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050903846929] [2025/04/04 12:46:33.572 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050903846932] [2025/04/04 12:46:33.576 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050903846935] [2025/04/04 12:46:33.580 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050903846938] [2025/04/04 12:46:33.583 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050903846941] [2025/04/04 12:46:33.587 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050903846944] [2025/04/04 12:46:33.590 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050903846947] [2025/04/04 12:46:33.594 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050903846951] [2025/04/04 12:46:33.598 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050903846954] [2025/04/04 12:46:33.602 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050916954115] [2025/04/04 12:46:33.606 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050916954118] [2025/04/04 12:46:33.610 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050916954121] [2025/04/04 12:46:33.614 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050916954124] [2025/04/04 12:46:33.617 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050916954127] [2025/04/04 12:46:33.621 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050916954130] [2025/04/04 12:46:33.625 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050916954133] [2025/04/04 12:46:33.629 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050916954136] [2025/04/04 12:46:33.633 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050916954139] [2025/04/04 12:46:33.637 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050916954142] [2025/04/04 12:46:33.641 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050916954146] [2025/04/04 12:46:33.645 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050916954152] [2025/04/04 12:46:33.649 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050916954155] [2025/04/04 12:46:33.653 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050929799171] [2025/04/04 12:46:33.657 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050929799174] [2025/04/04 12:46:33.660 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050929799177] [2025/04/04 12:46:33.664 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050929799180] [2025/04/04 12:46:33.668 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050929799183] [2025/04/04 12:46:33.671 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050929799186] [2025/04/04 12:46:33.675 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050929799189] [2025/04/04 12:46:33.679 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050929799192] [2025/04/04 12:46:33.683 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050929799195] [2025/04/04 12:46:33.686 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050929799198] [2025/04/04 12:46:33.690 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050929799201] [2025/04/04 12:46:33.693 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050929799205] [2025/04/04 12:46:33.697 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050929799208] [2025/04/04 12:46:33.701 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050942906371] [2025/04/04 12:46:33.704 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050942906374] [2025/04/04 12:46:33.708 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050942906377] [2025/04/04 12:46:33.712 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050942906380] [2025/04/04 12:46:33.716 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050942906383] [2025/04/04 12:46:33.719 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050942906386] [2025/04/04 12:46:33.723 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050942906389] [2025/04/04 12:46:33.727 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050942906392] [2025/04/04 12:46:33.731 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050942906395] [2025/04/04 12:46:33.735 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050942906398] [2025/04/04 12:46:33.738 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050942906401] [2025/04/04 12:46:33.742 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050942906404] [2025/04/04 12:46:33.746 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050942906408] [2025/04/04 12:46:33.750 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050956275714] [2025/04/04 12:46:33.754 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050956275717] [2025/04/04 12:46:33.758 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050956275720] [2025/04/04 12:46:33.761 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050956275723] [2025/04/04 12:46:33.765 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050956275726] [2025/04/04 12:46:33.769 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050956275729] [2025/04/04 12:46:33.772 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050956275732] [2025/04/04 12:46:33.776 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050956275735] [2025/04/04 12:46:33.780 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050956275738] [2025/04/04 12:46:33.784 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050956275742] [2025/04/04 12:46:33.788 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050956275745] [2025/04/04 12:46:33.792 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050956275748] [2025/04/04 12:46:33.795 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050956275752] [2025/04/04 12:46:33.799 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050969120769] [2025/04/04 12:46:33.803 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050969120772] [2025/04/04 12:46:33.807 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050969120775] [2025/04/04 12:46:33.811 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050969120778] [2025/04/04 12:46:33.814 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050969120781] [2025/04/04 12:46:33.818 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050969120784] [2025/04/04 12:46:33.822 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050969120787] [2025/04/04 12:46:33.826 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050969120790] [2025/04/04 12:46:33.830 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050969120793] [2025/04/04 12:46:33.834 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050969120796] [2025/04/04 12:46:33.837 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050969120799] [2025/04/04 12:46:33.841 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050969120802] [2025/04/04 12:46:33.845 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050969120806] [2025/04/04 12:46:33.849 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050969120809] [2025/04/04 12:46:33.852 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050982227971] [2025/04/04 12:46:33.856 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050982227974] [2025/04/04 12:46:33.860 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119050982227977] [2025/04/04 12:46:33.871 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119050982227981] [generation=1] [session=19] [keys=50] [size=950B] ["flushed keys"=50] ["flushed size"=950B] ["take time"=1.429761ms] [2025/04/04 12:46:33.871 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=50] [flush_wait_duration=1.515096ms] [total_duration=3.928018ms] ["memdb traversal cache hit"=50] ["memdb traversal cache miss"=100] [size=950B] [startTS=457119050982227981] [2025/04/04 12:46:33.872 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119050982227981] [commitTS=457119050982227982] [2025/04/04 12:46:33.872 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119050982227981] [startKey=7480000000000000d45f728000000000000000] [endKey=7480000000000000d45f728000000000000062] [concurrency=8] [2025/04/04 12:46:33.877 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119050982227981] [startKey=7480000000000000d45f728000000000000000] [endKey=7480000000000000d45f728000000000000062] ["cost time"=4.941975ms] ["completed regions"=1] [2025/04/04 12:46:33.877 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119050982227981] [commitTS=457119050982227982] [session=19] [2025/04/04 12:46:33.889 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119050982227984] [generation=1] [session=19] [keys=100] [size=2.4kB] ["flushed keys"=100] ["flushed size"=2.4kB] ["take time"=1.936581ms] [2025/04/04 12:46:33.889 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=100] [flush_wait_duration=2.029856ms] [total_duration=7.438757ms] ["memdb traversal cache hit"=150] ["memdb traversal cache miss"=200] [size=2.4kB] [startTS=457119050982227984] [2025/04/04 12:46:33.890 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119050982227984] [commitTS=457119050982227986] [2025/04/04 12:46:33.890 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119050982227984] [startKey=7480000000000000d45f728000000000000001] [endKey=7480000000000000d45f72800000000000270f] [concurrency=8] [2025/04/04 12:46:33.891 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=9] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=7480000000000000d45f7280000000000003e8] [2025/04/04 12:46:33.894 +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:3 id:66 store_id:1 id:67 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=9] [2025/04/04 12:46:33.894 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=64] [2025/04/04 12:46:33.912 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119050982227984] [startKey=7480000000000000d45f728000000000000001] [endKey=7480000000000000d45f72800000000000270f] ["cost time"=21.263468ms] ["completed regions"=10] [2025/04/04 12:46:33.912 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=10] [startTS=457119050982227984] [commitTS=457119050982227986] [session=19] [2025/04/04 12:46:33.994 +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:3 id:66 store_id:1 id:67 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 12:46:33.995 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=68] [2025/04/04 12:46:33.995 +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:3 id:70 store_id:1 id:71 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 12:46:33.996 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=72] [2025/04/04 12:46:33.996 +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:3 id:74 store_id:1 id:75 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 12:46:33.997 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=76] [2025/04/04 12:46:33.997 +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:3 id:78 store_id:1 id:79 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 12:46:33.998 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=80] [2025/04/04 12:46:33.998 +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:3 id:82 store_id:1 id:83 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 12:46:33.999 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=84] [2025/04/04 12:46:33.999 +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:3 id:86 store_id:1 id:87 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 12:46:33.999 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=88] [2025/04/04 12:46:34.000 +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:3 id:90 store_id:1 id:91 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 12:46:34.000 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=92] [2025/04/04 12:46:34.001 +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:3 id:94 store_id:1 id:95 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 12:46:34.001 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=96] [2025/04/04 12:46:34.002 +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:3 id:98 store_id:1 id:99 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 12:46:34.002 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=9] ["region IDs"="[64,68,72,76,80,84,88,92,96]"] [2025/04/04 12:46:34.002 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=64] [backoff(ms)=299889] [2025/04/04 12:46:34.003 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=64] [2025/04/04 12:46:34.003 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=68] [backoff(ms)=299888] [2025/04/04 12:46:34.003 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=68] [2025/04/04 12:46:34.003 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=72] [backoff(ms)=299888] [2025/04/04 12:46:34.004 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=72] [2025/04/04 12:46:34.004 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=76] [backoff(ms)=299887] [2025/04/04 12:46:34.004 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=76] [2025/04/04 12:46:34.004 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=80] [backoff(ms)=299887] [2025/04/04 12:46:34.004 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=80] [2025/04/04 12:46:34.004 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=84] [backoff(ms)=299886] [2025/04/04 12:46:34.005 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=84] [2025/04/04 12:46:34.005 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=88] [backoff(ms)=299886] [2025/04/04 12:46:34.005 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=88] [2025/04/04 12:46:34.005 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=92] [backoff(ms)=299886] [2025/04/04 12:46:34.006 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=92] [2025/04/04 12:46:34.006 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=96] [backoff(ms)=299885] [2025/04/04 12:46:34.006 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=96] [2025/04/04 12:46:34.015 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119051021549573] [generation=1] [session=19] [keys=50] [size=950B] ["flushed keys"=50] ["flushed size"=950B] ["take time"=2.339545ms] [2025/04/04 12:46:34.016 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=50] [flush_wait_duration=2.443785ms] [total_duration=7.617702ms] ["memdb traversal cache hit"=50] ["memdb traversal cache miss"=100] [size=950B] [startTS=457119051021549573] [2025/04/04 12:46:34.017 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119051021549573] [commitTS=457119051021549574] [2025/04/04 12:46:34.017 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119051021549573] [startKey=7480000000000000d45f728000000000000065] [endKey=7480000000000000d45f72800000000000270f] [concurrency=8] [2025/04/04 12:46:34.023 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 12:46:34.023 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=af45e853-394a-4819-b2fe-c2518ab3636e] [] [2025/04/04 12:46:34.023 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 12:46:34.024 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=af45e853-394a-4819-b2fe-c2518ab3636e] [2025/04/04 12:46:34.024 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:46:34.024 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:46:34.024 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 40, tp general"] ["take time"=54.84µs] [2025/04/04 12:46:34.024 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119051021549573] [startKey=7480000000000000d45f728000000000000065] [endKey=7480000000000000d45f72800000000000270f] ["cost time"=6.692487ms] ["completed regions"=10] [2025/04/04 12:46:34.024 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=10] [startTS=457119051021549573] [commitTS=457119051021549574] [session=19] [2025/04/04 12:46:34.024 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 41, tp general"] ["take time"=43.979µs] [2025/04/04 12:46:34.024 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 42, tp general"] ["take time"=38.373µs] [2025/04/04 12:46:34.024 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=af45e853-394a-4819-b2fe-c2518ab3636e] [2025/04/04 12:46:34.024 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=af45e853-394a-4819-b2fe-c2518ab3636e] [2025/04/04 12:46:34.025 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 12:46:34.025 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 12:46:34.026 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=af45e853-394a-4819-b2fe-c2518ab3636e] ["take time"=2.965345ms] [2025/04/04 12:46:34.026 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=af45e853-394a-4819-b2fe-c2518ab3636e] [2025/04/04 12:46:34.026 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 12:46:34.027 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/06f87b82-4526-4216-821c-5065034d15f1] [2025/04/04 12:46:34.027 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=af45e853-394a-4819-b2fe-c2518ab3636e] [ttl-worker=task-manager] [ttl-worker=af45e853-394a-4819-b2fe-c2518ab3636e] [originalCount=4] [newCount=0] [2025/04/04 12:46:34.027 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:46:34.027 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:46:34.027 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:46:34.027 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:46:34.027 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=af45e853-394a-4819-b2fe-c2518ab3636e] [ttl-worker=task-manager] [ttl-worker=af45e853-394a-4819-b2fe-c2518ab3636e] [originalCount=4] [newCount=0] [2025/04/04 12:46:34.029 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:46:34.029 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:46:34.029 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:46:34.029 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:46:34.032 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=af45e853-394a-4819-b2fe-c2518ab3636e] [2025/04/04 12:46:34.032 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 12:46:34.033 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=956] [2025/04/04 12:46:34.033 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 12:46:34.033 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 12:46:34.033 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:34.033 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 12:46:34.033 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 12:46:34.033 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 12:46:34.033 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:46:34.033 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:46:34.033 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 12:46:34.033 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 12:46:34.033 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:46:34.033 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 12:46:34.033 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 12:46:34.033 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 12:46:34.033 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:46:34.033 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 12:46:34.033 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 12:46:34.033 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 12:46:34.033 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 12:46:34.033 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 12:46:34.033 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:46:34.033 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 12:46:34.033 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:46:34.033 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:46:34.033 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:46:34.033 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:46:34.033 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=af45e853-394a-4819-b2fe-c2518ab3636e] [] [2025/04/04 12:46:34.033 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:34.033 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:46:34.033 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=af45e853-394a-4819-b2fe-c2518ab3636e] [2025/04/04 12:46:34.033 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=877c9db9-28a0-49ba-b9d6-44829a56459c] [] [2025/04/04 12:46:34.033 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:34.033 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 12:46:34.033 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=877c9db9-28a0-49ba-b9d6-44829a56459c] [2025/04/04 12:46:34.033 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:46:34.033 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=877c9db9-28a0-49ba-b9d6-44829a56459c] [2025/04/04 12:46:34.033 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=877c9db9-28a0-49ba-b9d6-44829a56459c] [2025/04/04 12:46:34.033 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:34.033 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:34.033 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 12:46:34.033 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:34.033 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:46:34.033 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 12:46:34.033 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:34.033 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:46:34.033 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:46:34.033 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:34.033 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:46:34.033 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 12:46:34.033 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:46:34.033 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:34.034 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:34.033 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 12:46:34.033 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:46:34.033 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 12:46:34.034 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:46:34.033 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 12:46:34.034 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 12:46:34.034 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:46:34.033 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:34.034 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:46:34.034 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:34.033 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 12:46:34.033 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:46:34.033 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 12:46:34.034 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:46:34.033 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 12:46:34.033 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=af45e853-394a-4819-b2fe-c2518ab3636e] [2025/04/04 12:46:34.034 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=af45e853-394a-4819-b2fe-c2518ab3636e] [2025/04/04 12:46:34.033 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:46:34.034 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 12:46:34.034 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=877c9db9-28a0-49ba-b9d6-44829a56459c] [daemon-id=LogBackup::Advancer] [2025/04/04 12:46:34.035 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 12:46:34.035 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:46:34.035 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:46:34.034 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 12:46:34.035 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=af45e853-394a-4819-b2fe-c2518ab3636e] [error="context canceled"] [2025/04/04 12:46:34.035 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 12:46:34.035 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 12:46:34.035 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 12:46:34.035 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:46:34.035 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:46:34.035 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=af45e853-394a-4819-b2fe-c2518ab3636e] [error="context canceled"] [2025/04/04 12:46:34.036 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=af45e853-394a-4819-b2fe-c2518ab3636e] [2025/04/04 12:46:34.036 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=af45e853-394a-4819-b2fe-c2518ab3636e] [error="context canceled"] [2025/04/04 12:46:34.036 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=af45e853-394a-4819-b2fe-c2518ab3636e] [error="context canceled"] [errorVerbose="context canceled\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:46:34.052 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 12:46:34.052 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:46:34.097 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 12:46:34.097 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:46:34.107 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=83.461094ms] [2025/04/04 12:46:34.977 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/04 12:46:38.878 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119050982227981 commit_ts:457119050982227982 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:46:38.878 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119050982227981 commit_ts:457119050982227982 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:46:38.878 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119050982227981 commit_ts:457119050982227982 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:46:38.912 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119050982227984 commit_ts:457119050982227986 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:46:38.912 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119050982227984 commit_ts:457119050982227986 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:46:38.912 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119050982227984 commit_ts:457119050982227986 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:46:39.024 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119051021549573 commit_ts:457119051021549574 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:46:39.025 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119051021549573 commit_ts:457119051021549574 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:46:39.025 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119051021549573 commit_ts:457119051021549574 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:46:39.025 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:46:39.025 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:46:39.025 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:46:39.025 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:46:39.025 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:46:39.025 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:46:39.025 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:46:39.025 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:39.025 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:39.025 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-9] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:46:39.025 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:39.025 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:46:39.026 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPipelinedDMLDelete (6.07s) === NAME === RUN TestPipelinedDMLUpdate [2025/04/04 12:46:39.034 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 12:46:39.035 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 12:46:39.036 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437819270443114] [2025/04/04 12:46:39.036 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:46:39.036 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 12:46:39.036 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:46:39.037 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:46:39.037 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:46:39.037 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:46:39.037 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:46:39.037 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:46:39.041 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 12:46:39.046 +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/04 12:46:39.047 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:46:39.047 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:46:39.057 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489437819270443114] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 12:46:39.066 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 12:46:39.100 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1070] ["lease id"=6f189600d42f9c32] [2025/04/04 12:46:39.101 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/04 12:46:39.189 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=162] ["elapsed time"=84.72108ms] [2025/04/04 12:46:39.189 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 12:46:39.191 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 12:46:39.197 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=6bf21924-f0a5-480f-8cbf-18f3533c733c] [runWorker=true] [jobVersion=v2] [2025/04/04 12:46:39.197 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 12:46:39.199 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=6bf21924-f0a5-480f-8cbf-18f3533c733c] [2025/04/04 12:46:39.200 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 12:46:39.200 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 217603981312/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 12:46:39.200 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:46:39.200 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:46:39.200 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:46:39.200 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:46:39.200 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:46:39.200 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:46:39.200 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:46:39.200 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:46:39.200 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:46:39.200 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 12:46:39.201 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:46:39.201 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 12:46:39.201 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=9ede8965-d3bd-494a-86db-e9b38989f7b8] [2025/04/04 12:46:39.202 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9600d42f95c7] [ownerID=6bf21924-f0a5-480f-8cbf-18f3533c733c] [op=none] [2025/04/04 12:46:39.202 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=6bf21924-f0a5-480f-8cbf-18f3533c733c] [2025/04/04 12:46:39.203 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=6bf21924-f0a5-480f-8cbf-18f3533c733c] [ownerKey=/tidb/ddl/fg/owner/3eaa9600d42f95c7] [currRev=755] [2025/04/04 12:46:39.203 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:46:39.204 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=9ede8965-d3bd-494a-86db-e9b38989f7b8] [daemon-id=LogBackup::Advancer] [2025/04/04 12:46:39.204 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa9600d42f95c9] [ownerID=9ede8965-d3bd-494a-86db-e9b38989f7b8] [op=none] [2025/04/04 12:46:39.204 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=9ede8965-d3bd-494a-86db-e9b38989f7b8] [2025/04/04 12:46:39.204 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 12:46:39.204 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=9ede8965-d3bd-494a-86db-e9b38989f7b8] [ownerKey=/tidb/br-stream/owner/3eaa9600d42f95c9] [currRev=756] [2025/04/04 12:46:39.204 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9600d42f95c7] [ownerID=6bf21924-f0a5-480f-8cbf-18f3533c733c] [op=none] [2025/04/04 12:46:39.205 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=6bf21924-f0a5-480f-8cbf-18f3533c733c] [op=none] [2025/04/04 12:46:39.205 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 12:46:39.214 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=6bf21924-f0a5-480f-8cbf-18f3533c733c] [2025/04/04 12:46:39.215 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:46:39.215 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 12:46:39.217 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/bindinfo/owner] ["owner key"=/tidb/bindinfo/owner/6f189600d42f9c3b] [ownerID=6bf21924-f0a5-480f-8cbf-18f3533c733c] [op=none] [2025/04/04 12:46:39.217 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/bindinfo/owner] [id=6bf21924-f0a5-480f-8cbf-18f3533c733c] [2025/04/04 12:46:39.217 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/bindinfo/owner] [id=6bf21924-f0a5-480f-8cbf-18f3533c733c] [ownerKey=/tidb/bindinfo/owner/6f189600d42f9c3b] [currRev=757] [2025/04/04 12:46:39.224 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:46:39.231 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:46:39.236 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:46:39.236 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:46:39.236 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 12:46:39.236 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:46:39.236 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 12:46:39.236 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:46:39.236 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 12:46:39.236 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 12:46:39.236 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 12:46:39.237 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:46:39.238 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=6bf21924-f0a5-480f-8cbf-18f3533c733c] [2025/04/04 12:46:39.238 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:46:39.239 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:46:39.239 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:46:39.239 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:46:39.239 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:46:39.239 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:46:39.239 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 12:46:39.239 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 12:46:39.239 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:46:39.239 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:46:39.239 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 12:46:39.239 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:46:39.239 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:46:39.239 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:46:39.239 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:46:39.241 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/04 12:46:39.241 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/3eaa9600d42f95d0] [ownerID=6bf21924-f0a5-480f-8cbf-18f3533c733c] [op=none] [2025/04/04 12:46:39.241 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=6bf21924-f0a5-480f-8cbf-18f3533c733c] [2025/04/04 12:46:39.241 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=6bf21924-f0a5-480f-8cbf-18f3533c733c] [ownerKey=/tidb/stats/owner/3eaa9600d42f95d0] [currRev=758] [2025/04/04 12:46:39.243 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/84123a69-7148-488e-8865-38864a922a59] [2025/04/04 12:46:39.244 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=6bf21924-f0a5-480f-8cbf-18f3533c733c] [ttl-worker=task-manager] [ttl-worker=6bf21924-f0a5-480f-8cbf-18f3533c733c] [originalCount=0] [newCount=4] [2025/04/04 12:46:39.244 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=6bf21924-f0a5-480f-8cbf-18f3533c733c] [ttl-worker=task-manager] [ttl-worker=6bf21924-f0a5-480f-8cbf-18f3533c733c] [originalCount=0] [newCount=4] [2025/04/04 12:46:39.244 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=6bf21924-f0a5-480f-8cbf-18f3533c733c] [2025/04/04 12:46:39.244 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 12:46:39.244 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:46:39.244 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 12:46:39.244 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743770799244955281 [2025/04/04 12:46:39.356 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 12:46:39.363 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=125.533651ms] [2025/04/04 12:46:39.363 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 12:46:39.363 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:46:39.373 +00:00] [INFO] [set.go:172] ["set global var"] [conn=20] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 12:46:39.376 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=20] [schemaVersion=162] [cur_db=test] [sql="alter table `_t` nocache"] [user=] [2025/04/04 12:46:39.377 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=20] [schemaVersion=162] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/04 12:46:39.390 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:216, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:214, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:39.347 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:39.390 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:216, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:214, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:39.347 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/04 12:46:39.395 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=216] [conn=20] [job="ID:216, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:214, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:39.347 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:39.411 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=162] [neededSchemaVersion=163] ["elapsed time"=1.851762ms] [gotSchemaVersion=163] [phyTblIDs="[214]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:39.414 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=216] [version=163] [2025/04/04 12:46:39.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=163] ["take time"=9.074747ms] [job="ID:216, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:214, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:39.347 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:39.426 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=216] [conn=20] [job="ID:216, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:214, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:39.347 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:39.441 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=163] [neededSchemaVersion=164] ["elapsed time"=1.85677ms] [gotSchemaVersion=164] [phyTblIDs="[214]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:39.444 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=216] [version=164] [2025/04/04 12:46:39.446 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=164] ["take time"=8.680179ms] [job="ID:216, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:214, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:39.347 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:39.454 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=216] [conn=20] [job="ID:216, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:214, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:39.347 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:39.460 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 214, Old Table Name: _t)"] [2025/04/04 12:46:39.473 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=164] [neededSchemaVersion=165] ["elapsed time"=979.484µs] [gotSchemaVersion=165] [phyTblIDs="[214]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:39.476 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=216] [version=165] [2025/04/04 12:46:39.478 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=165] ["take time"=7.416484ms] [job="ID:216, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:214, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:39.347 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:39.496 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=216] [tableIDs="[214]"] [comment="drop table: table ID"] [2025/04/04 12:46:39.509 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=216] [jobType="drop table"] [2025/04/04 12:46:39.510 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=216] [conn=20] [job="ID:216, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:214, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:39.347 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:39.528 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=216] [2025/04/04 12:46:39.539 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:217, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:212, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:39.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:39.539 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:217, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:212, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:39.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/04 12:46:39.544 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=217] [conn=20] [job="ID:217, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:212, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:39.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:39.559 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=165] [neededSchemaVersion=166] ["elapsed time"=1.754571ms] [gotSchemaVersion=166] [phyTblIDs="[212]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:39.563 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=217] [version=166] [2025/04/04 12:46:39.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=166] ["take time"=9.218892ms] [job="ID:217, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:212, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:39.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:39.575 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=217] [conn=20] [job="ID:217, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:212, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:39.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:39.590 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=166] [neededSchemaVersion=167] ["elapsed time"=1.746971ms] [gotSchemaVersion=167] [phyTblIDs="[212]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:39.593 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=217] [version=167] [2025/04/04 12:46:39.595 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=167] ["take time"=8.635912ms] [job="ID:217, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:212, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:39.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:39.603 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=217] [conn=20] [job="ID:217, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:212, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:39.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:39.609 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 212, Old Table Name: t)"] [2025/04/04 12:46:39.621 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=167] [neededSchemaVersion=168] ["elapsed time"=926.894µs] [gotSchemaVersion=168] [phyTblIDs="[212]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:39.625 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=217] [version=168] [2025/04/04 12:46:39.626 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=168] ["take time"=7.786883ms] [job="ID:217, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:212, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:39.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:39.635 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=217] [tableIDs="[212]"] [comment="drop table: table ID"] [2025/04/04 12:46:39.640 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=217] [jobType="drop table"] [2025/04/04 12:46:39.641 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=217] [conn=20] [job="ID:217, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:212, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:39.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:39.658 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=217] [2025/04/04 12:46:39.659 +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: 1743770799659482265 [2025/04/04 12:46:39.663 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=21] [schemaVersion=168] [cur_db=test] [sql="drop table if exists t, _t"] [user=] [2025/04/04 12:46:39.676 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:219, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:218, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:39.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:39.676 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:219, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:218, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:39.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a int primary key, b int)"] [2025/04/04 12:46:39.682 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=219] [conn=21] [job="ID:219, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:218, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:39.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:39.687 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 218, Table Name: t)"] [2025/04/04 12:46:39.701 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=168] [neededSchemaVersion=169] ["elapsed time"=1.450963ms] [gotSchemaVersion=169] [phyTblIDs="[218]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:46:39.705 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=219] [version=169] [2025/04/04 12:46:39.706 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=169] ["take time"=8.410101ms] [job="ID:219, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:218, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:39.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:39.717 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=219] [conn=21] [job="ID:219, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:218, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:39.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:39.728 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=219] [2025/04/04 12:46:39.728 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=21] [schemaVersion=169] [cur_db=test] [sql="create table t (a int primary key, b int)"] [user=] [2025/04/04 12:46:39.741 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:221, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:220, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:39.697 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:39.741 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:221, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:220, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:39.697 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t like t"] [2025/04/04 12:46:39.746 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=221] [conn=21] [job="ID:221, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:220, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:39.697 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:39.750 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 220, Table Name: _t)"] [2025/04/04 12:46:39.765 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=169] [neededSchemaVersion=170] ["elapsed time"=1.712974ms] [gotSchemaVersion=170] [phyTblIDs="[220]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:46:39.769 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=221] [version=170] [2025/04/04 12:46:39.771 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=170] ["take time"=9.82649ms] [job="ID:221, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:220, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:39.697 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:39.783 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=221] [conn=21] [job="ID:221, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:220, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:39.697 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:39.795 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=221] [2025/04/04 12:46:39.795 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=21] [schemaVersion=170] [cur_db=test] [sql="create table _t like t"] [user=] [2025/04/04 12:46:39.798 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052529139728] [2025/04/04 12:46:39.802 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052542246915] [2025/04/04 12:46:39.806 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052542246918] [2025/04/04 12:46:39.810 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052542246922] [2025/04/04 12:46:39.814 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052542246925] [2025/04/04 12:46:39.817 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052542246928] [2025/04/04 12:46:39.821 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052542246931] [2025/04/04 12:46:39.824 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052542246934] [2025/04/04 12:46:39.828 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052542246937] [2025/04/04 12:46:39.832 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052542246940] [2025/04/04 12:46:39.836 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052542246943] [2025/04/04 12:46:39.840 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052542246946] [2025/04/04 12:46:39.843 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052542246949] [2025/04/04 12:46:39.847 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052542246953] [2025/04/04 12:46:39.851 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052555091971] [2025/04/04 12:46:39.855 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052555091974] [2025/04/04 12:46:39.859 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052555091978] [2025/04/04 12:46:39.863 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052555091981] [2025/04/04 12:46:39.867 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052555091984] [2025/04/04 12:46:39.870 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052555091987] [2025/04/04 12:46:39.874 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052555091990] [2025/04/04 12:46:39.878 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052555091993] [2025/04/04 12:46:39.882 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052555091996] [2025/04/04 12:46:39.886 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052555091999] [2025/04/04 12:46:39.890 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052555092002] [2025/04/04 12:46:39.893 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052555092005] [2025/04/04 12:46:39.897 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052555092008] [2025/04/04 12:46:39.901 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052568199171] [2025/04/04 12:46:39.905 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052568199174] [2025/04/04 12:46:39.909 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052568199178] [2025/04/04 12:46:39.913 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052568199181] [2025/04/04 12:46:39.916 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052568199184] [2025/04/04 12:46:39.920 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052568199187] [2025/04/04 12:46:39.924 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052568199190] [2025/04/04 12:46:39.928 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052568199193] [2025/04/04 12:46:39.931 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052568199196] [2025/04/04 12:46:39.934 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052568199199] [2025/04/04 12:46:39.938 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052568199202] [2025/04/04 12:46:39.942 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052568199205] [2025/04/04 12:46:39.945 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052568199208] [2025/04/04 12:46:39.949 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052568199211] [2025/04/04 12:46:39.953 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052581568516] [2025/04/04 12:46:39.957 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052581568522] [2025/04/04 12:46:39.961 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052581568525] [2025/04/04 12:46:39.965 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052581568528] [2025/04/04 12:46:39.969 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052581568531] [2025/04/04 12:46:39.973 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052581568534] [2025/04/04 12:46:39.977 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052581568537] [2025/04/04 12:46:39.981 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052581568540] [2025/04/04 12:46:39.984 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052581568543] [2025/04/04 12:46:39.988 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052581568546] [2025/04/04 12:46:39.992 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052581568549] [2025/04/04 12:46:39.996 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052581568552] [2025/04/04 12:46:40.000 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052594413570] [2025/04/04 12:46:40.004 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052594413573] [2025/04/04 12:46:40.008 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052594413577] [2025/04/04 12:46:40.012 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052594413580] [2025/04/04 12:46:40.016 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052594413583] [2025/04/04 12:46:40.019 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052594413586] [2025/04/04 12:46:40.023 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052594413589] [2025/04/04 12:46:40.027 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052594413592] [2025/04/04 12:46:40.031 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052594413595] [2025/04/04 12:46:40.034 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052594413598] [2025/04/04 12:46:40.038 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052594413601] [2025/04/04 12:46:40.042 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052594413604] [2025/04/04 12:46:40.046 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052594413607] [2025/04/04 12:46:40.049 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052607520769] [2025/04/04 12:46:40.053 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052607520772] [2025/04/04 12:46:40.057 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052607520777] [2025/04/04 12:46:40.061 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052607520780] [2025/04/04 12:46:40.064 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052607520783] [2025/04/04 12:46:40.068 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052607520786] [2025/04/04 12:46:40.072 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052607520789] [2025/04/04 12:46:40.076 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052607520792] [2025/04/04 12:46:40.079 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052607520795] [2025/04/04 12:46:40.083 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052607520798] [2025/04/04 12:46:40.087 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052607520801] [2025/04/04 12:46:40.091 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052607520804] [2025/04/04 12:46:40.094 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052607520807] [2025/04/04 12:46:40.098 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052607520810] [2025/04/04 12:46:40.101 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052620890115] [2025/04/04 12:46:40.105 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052620890118] [2025/04/04 12:46:40.109 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052620890122] [2025/04/04 12:46:40.113 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052620890125] [2025/04/04 12:46:40.117 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052620890128] [2025/04/04 12:46:40.120 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052620890131] [2025/04/04 12:46:40.124 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052620890134] [2025/04/04 12:46:40.128 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052620890137] [2025/04/04 12:46:40.132 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052620890140] [2025/04/04 12:46:40.136 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052620890143] [2025/04/04 12:46:40.140 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052620890146] [2025/04/04 12:46:40.145 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052620890149] [2025/04/04 12:46:40.149 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052620890153] [2025/04/04 12:46:40.153 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052633735171] [2025/04/04 12:46:40.157 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052633735176] [2025/04/04 12:46:40.160 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052633735180] [2025/04/04 12:46:40.164 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052633735183] [2025/04/04 12:46:40.168 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052633735186] [2025/04/04 12:46:40.172 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052633735189] [2025/04/04 12:46:40.175 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119052633735192] [2025/04/04 12:46:40.189 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119052633735197] [generation=1] [session=21] [keys=10] [size=290B] ["flushed keys"=10] ["flushed size"=290B] ["take time"=1.214538ms] [2025/04/04 12:46:40.191 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119052633735197] [generation=2] [session=21] [keys=27] [size=783B] ["flushed keys"=37] ["flushed size"=1.073kB] ["take time"=1.322159ms] [2025/04/04 12:46:40.192 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119052633735197] [generation=3] [session=21] [keys=30] [size=870B] ["flushed keys"=67] ["flushed size"=1.943kB] ["take time"=1.348991ms] [2025/04/04 12:46:40.194 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119052633735197] [generation=4] [session=21] [keys=30] [size=870B] ["flushed keys"=97] ["flushed size"=2.813kB] ["take time"=1.209101ms] [2025/04/04 12:46:40.195 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119052633735197] [generation=5] [session=21] [keys=3] [size=87B] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=885.565µs] [2025/04/04 12:46:40.195 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=100] [flush_wait_duration=2.01112ms] [total_duration=8.872626ms] ["memdb traversal cache hit"=200] ["memdb traversal cache miss"=100] [size=2.9kB] [startTS=457119052633735197] [2025/04/04 12:46:40.196 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119052633735197] [commitTS=457119052633735198] [2025/04/04 12:46:40.196 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119052633735197] [startKey=7480000000000000da5f728000000000000000] [endKey=7480000000000000da5f728000000000000063] [concurrency=8] [2025/04/04 12:46:40.201 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119052633735197] [startKey=7480000000000000da5f728000000000000000] [endKey=7480000000000000da5f728000000000000063] ["cost time"=4.784858ms] ["completed regions"=1] [2025/04/04 12:46:40.201 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119052633735197] [commitTS=457119052633735198] [session=21] [2025/04/04 12:46:40.208 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119052647104516] [generation=1] [session=21] [keys=10] [size=240B] ["flushed keys"=10] ["flushed size"=240B] ["take time"=1.222954ms] [2025/04/04 12:46:40.210 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/04 12:46:40.210 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 12:46:40.210 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 12:46:40.210 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:46:40.210 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119052647104516] [generation=2] [session=21] [keys=30] [size=720B] ["flushed keys"=40] ["flushed size"=960B] ["take time"=1.36712ms] [2025/04/04 12:46:40.211 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119052647104516] [generation=3] [session=21] [keys=30] [size=720B] ["flushed keys"=70] ["flushed size"=1.68kB] ["take time"=1.396444ms] [2025/04/04 12:46:40.213 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119052647104516] [generation=4] [session=21] [keys=36] [size=864B] ["flushed keys"=106] ["flushed size"=2.544kB] ["take time"=1.341319ms] [2025/04/04 12:46:40.214 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119052647104516] [generation=5] [session=21] [keys=32] [size=768B] ["flushed keys"=138] ["flushed size"=3.312kB] ["take time"=1.27906ms] [2025/04/04 12:46:40.216 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119052647104516] [generation=6] [session=21] [keys=34] [size=816B] ["flushed keys"=172] ["flushed size"=4.128kB] ["take time"=1.327308ms] [2025/04/04 12:46:40.217 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119052647104516] [generation=7] [session=21] [keys=26] [size=624B] ["flushed keys"=198] ["flushed size"=4.752kB] ["take time"=1.243742ms] [2025/04/04 12:46:40.217 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=198] [flush_wait_duration=1.497299ms] [total_duration=12.146404ms] ["memdb traversal cache hit"=297] ["memdb traversal cache miss"=396] [size=4.752kB] [startTS=457119052647104516] [2025/04/04 12:46:40.218 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119052647104516] [commitTS=457119052647104520] [2025/04/04 12:46:40.219 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119052647104516] [startKey=7480000000000000da5f728000000000000001] [endKey=7480000000000000da5f7280000000000026ac] [concurrency=8] [2025/04/04 12:46:40.219 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=9] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=7480000000000000da5f7280000000000003e8] [2025/04/04 12:46:40.221 +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:3 id:102 store_id:1 id:103 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=9] [2025/04/04 12:46:40.222 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=100] [2025/04/04 12:46:40.222 +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:3 id:102 store_id:1 id:103 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 12:46:40.223 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=104] [2025/04/04 12:46:40.224 +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:3 id:106 store_id:1 id:107 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 12:46:40.224 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=108] [2025/04/04 12:46:40.224 +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:3 id:110 store_id:1 id:111 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 12:46:40.225 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=112] [2025/04/04 12:46:40.225 +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:3 id:114 store_id:1 id:115 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 12:46:40.225 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=116] [2025/04/04 12:46:40.226 +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:3 id:118 store_id:1 id:119 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 12:46:40.226 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=120] [2025/04/04 12:46:40.227 +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:3 id:122 store_id:1 id:123 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 12:46:40.227 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=124] [2025/04/04 12:46:40.228 +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:3 id:126 store_id:1 id:127 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 12:46:40.228 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=128] [2025/04/04 12:46:40.229 +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:3 id:130 store_id:1 id:131 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 12:46:40.229 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=132] [2025/04/04 12:46:40.230 +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:3 id:134 store_id:1 id:135 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 12:46:40.230 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=9] ["region IDs"="[100,104,108,112,116,120,124,128,132]"] [2025/04/04 12:46:40.230 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=100] [backoff(ms)=299989] [2025/04/04 12:46:40.230 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=100] [2025/04/04 12:46:40.231 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=104] [backoff(ms)=299988] [2025/04/04 12:46:40.231 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=104] [2025/04/04 12:46:40.231 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=108] [backoff(ms)=299988] [2025/04/04 12:46:40.231 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=108] [2025/04/04 12:46:40.231 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=112] [backoff(ms)=299987] [2025/04/04 12:46:40.232 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=112] [2025/04/04 12:46:40.232 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=116] [backoff(ms)=299987] [2025/04/04 12:46:40.232 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=116] [2025/04/04 12:46:40.232 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=120] [backoff(ms)=299986] [2025/04/04 12:46:40.233 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=120] [2025/04/04 12:46:40.233 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=124] [backoff(ms)=299986] [2025/04/04 12:46:40.233 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=124] [2025/04/04 12:46:40.233 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=128] [backoff(ms)=299986] [2025/04/04 12:46:40.234 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=128] [2025/04/04 12:46:40.234 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=132] [backoff(ms)=299985] [2025/04/04 12:46:40.234 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=132] [2025/04/04 12:46:40.241 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119052647104516] [startKey=7480000000000000da5f728000000000000001] [endKey=7480000000000000da5f7280000000000026ac] ["cost time"=21.910925ms] ["completed regions"=10] [2025/04/04 12:46:40.241 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=10] [startTS=457119052647104516] [commitTS=457119052647104520] [session=21] [2025/04/04 12:46:40.242 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119052647104536] [generation=1] [session=21] [keys=10] [size=290B] ["flushed keys"=10] ["flushed size"=290B] ["take time"=1.078605ms] [2025/04/04 12:46:40.243 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/04 12:46:40.243 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/04 12:46:40.243 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119052647104536] [generation=2] [session=21] [keys=22] [size=638B] ["flushed keys"=32] ["flushed size"=928B] ["take time"=1.545648ms] [2025/04/04 12:46:40.244 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/84123a69-7148-488e-8865-38864a922a59] [watcherID=456a9c74-c920-4ede-b8ae-b0a11347b6fd] [2025/04/04 12:46:40.244 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/04 12:46:40.245 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119052647104536] [generation=3] [session=21] [keys=27] [size=783B] ["flushed keys"=59] ["flushed size"=1.711kB] ["take time"=1.46928ms] [2025/04/04 12:46:40.247 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119052647104536] [generation=4] [session=21] [keys=19] [size=551B] ["flushed keys"=78] ["flushed size"=2.262kB] ["take time"=1.456664ms] [2025/04/04 12:46:40.248 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119052647104536] [generation=5] [session=21] [keys=16] [size=464B] ["flushed keys"=94] ["flushed size"=2.726kB] ["take time"=1.361553ms] [2025/04/04 12:46:40.249 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119052647104536] [generation=6] [session=21] [keys=6] [size=174B] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=905.246µs] [2025/04/04 12:46:40.249 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=100] [flush_wait_duration=1.428436ms] [total_duration=13.770658ms] ["memdb traversal cache hit"=200] ["memdb traversal cache miss"=100] [size=2.9kB] [startTS=457119052647104536] [2025/04/04 12:46:40.250 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/04 12:46:40.250 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/04 12:46:40.250 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/04 12:46:40.250 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/04 12:46:40.251 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119052647104536] [commitTS=457119052659949570] [2025/04/04 12:46:40.251 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119052647104536] [startKey=7480000000000000da5f728000000000000000] [endKey=7480000000000000da5f7280000000000026ac] [concurrency=8] [2025/04/04 12:46:40.258 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 12:46:40.258 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=6bf21924-f0a5-480f-8cbf-18f3533c733c] [] [2025/04/04 12:46:40.258 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=6bf21924-f0a5-480f-8cbf-18f3533c733c] [2025/04/04 12:46:40.258 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119052647104536] [startKey=7480000000000000da5f728000000000000000] [endKey=7480000000000000da5f7280000000000026ac] ["cost time"=6.967153ms] ["completed regions"=10] [2025/04/04 12:46:40.258 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 12:46:40.258 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=10] [startTS=457119052647104536] [commitTS=457119052659949570] [session=21] [2025/04/04 12:46:40.258 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:46:40.258 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:46:40.259 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 43, tp general"] ["take time"=98.015µs] [2025/04/04 12:46:40.259 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 44, tp general"] ["take time"=65.258µs] [2025/04/04 12:46:40.259 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 45, tp general"] ["take time"=55.064µs] [2025/04/04 12:46:40.259 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 46, tp general"] ["take time"=48.293µs] [2025/04/04 12:46:40.259 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=6bf21924-f0a5-480f-8cbf-18f3533c733c] [2025/04/04 12:46:40.259 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=6bf21924-f0a5-480f-8cbf-18f3533c733c] [2025/04/04 12:46:40.260 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 12:46:40.260 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 12:46:40.262 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=6bf21924-f0a5-480f-8cbf-18f3533c733c] ["take time"=4.447958ms] [2025/04/04 12:46:40.262 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=6bf21924-f0a5-480f-8cbf-18f3533c733c] [2025/04/04 12:46:40.262 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 12:46:40.263 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/84123a69-7148-488e-8865-38864a922a59] [watcherID=456a9c74-c920-4ede-b8ae-b0a11347b6fd] [2025/04/04 12:46:40.263 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/04 12:46:40.263 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/84123a69-7148-488e-8865-38864a922a59] [2025/04/04 12:46:40.263 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=6bf21924-f0a5-480f-8cbf-18f3533c733c] [ttl-worker=task-manager] [ttl-worker=6bf21924-f0a5-480f-8cbf-18f3533c733c] [originalCount=4] [newCount=0] [2025/04/04 12:46:40.263 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:46:40.263 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:46:40.263 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:46:40.263 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:46:40.263 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=6bf21924-f0a5-480f-8cbf-18f3533c733c] [ttl-worker=task-manager] [ttl-worker=6bf21924-f0a5-480f-8cbf-18f3533c733c] [originalCount=4] [newCount=0] [2025/04/04 12:46:40.266 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:46:40.266 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:46:40.266 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:46:40.266 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:46:40.269 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=6bf21924-f0a5-480f-8cbf-18f3533c733c] [2025/04/04 12:46:40.269 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 12:46:40.270 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1070] [2025/04/04 12:46:40.271 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 12:46:40.271 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 12:46:40.271 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:46:40.270 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 12:46:40.271 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 12:46:40.271 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 12:46:40.271 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:46:40.271 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 12:46:40.271 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 12:46:40.270 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 12:46:40.271 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=6bf21924-f0a5-480f-8cbf-18f3533c733c] [2025/04/04 12:46:40.271 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:46:40.271 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 12:46:40.271 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 12:46:40.271 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 12:46:40.271 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:46:40.271 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 12:46:40.271 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 12:46:40.271 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=9ede8965-d3bd-494a-86db-e9b38989f7b8] [] [2025/04/04 12:46:40.271 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:40.271 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:46:40.271 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:46:40.271 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/04 12:46:40.271 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 12:46:40.271 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 12:46:40.271 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=6bf21924-f0a5-480f-8cbf-18f3533c733c] [] [2025/04/04 12:46:40.271 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 12:46:40.271 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/04 12:46:40.271 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 12:46:40.271 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:40.271 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:46:40.271 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=6bf21924-f0a5-480f-8cbf-18f3533c733c] [2025/04/04 12:46:40.271 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/04 12:46:40.271 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:46:40.271 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:40.271 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:40.271 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 12:46:40.271 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 12:46:40.271 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:40.271 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 12:46:40.271 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 12:46:40.271 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:46:40.271 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:40.271 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:46:40.271 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 12:46:40.271 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:46:40.271 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:40.271 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 12:46:40.271 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:40.271 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:46:40.271 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:40.271 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/04 12:46:40.271 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:46:40.271 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=9ede8965-d3bd-494a-86db-e9b38989f7b8] [2025/04/04 12:46:40.271 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=9ede8965-d3bd-494a-86db-e9b38989f7b8] [2025/04/04 12:46:40.271 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=6bf21924-f0a5-480f-8cbf-18f3533c733c] [2025/04/04 12:46:40.271 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=9ede8965-d3bd-494a-86db-e9b38989f7b8] [2025/04/04 12:46:40.271 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:46:40.271 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 12:46:40.271 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:46:40.271 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 12:46:40.271 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 12:46:40.271 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:46:40.271 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:40.271 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 12:46:40.271 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:46:40.271 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:46:40.271 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:46:40.271 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 12:46:40.272 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:46:40.271 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:46:40.271 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:40.271 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:40.272 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 12:46:40.272 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:46:40.273 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 12:46:40.273 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=9ede8965-d3bd-494a-86db-e9b38989f7b8] [daemon-id=LogBackup::Advancer] [2025/04/04 12:46:40.273 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 12:46:40.273 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/bindinfo/owner] [id=6bf21924-f0a5-480f-8cbf-18f3533c733c] [] [2025/04/04 12:46:40.273 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 12:46:40.273 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/bindinfo/owner] [id=6bf21924-f0a5-480f-8cbf-18f3533c733c] [2025/04/04 12:46:40.273 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 12:46:40.273 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:46:40.273 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/bindinfo/owner] [id=6bf21924-f0a5-480f-8cbf-18f3533c733c] [2025/04/04 12:46:40.273 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:46:40.273 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=6bf21924-f0a5-480f-8cbf-18f3533c733c] [2025/04/04 12:46:40.273 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:46:40.291 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 12:46:40.291 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:46:40.292 +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/ddl/session.(*Session).BeginPessimistic\n\tpkg/ddl/session/session.go:55\ngithub.com/pingcap/tidb/pkg/ddl/notifier.(*DDLNotifier).processEventForHandler\n\tpkg/ddl/notifier/subscribe.go:280\ngithub.com/pingcap/tidb/pkg/ddl/notifier.(*DDLNotifier).processEvents\n\tpkg/ddl/notifier/subscribe.go:217\ngithub.com/pingcap/tidb/pkg/ddl/notifier.(*DDLNotifier).start\n\tpkg/ddl/notifier/subscribe.go:163\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithRecover.func1\n\tpkg/util/wait_group_wrapper.go:199\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700\ngithub.com/tikv/client-go/v2/oracle/oracles.(*tsFuture).Wait\n\texternal/com_github_tikv_client_go_v2/oracle/oracles/pd.go:242\ngithub.com/pingcap/tidb/pkg/session.(*txnFuture).wait\n\tpkg/session/txn.go:684\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).changePendingToValid\n\tpkg/session/txn.go:293\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Wait\n\tpkg/session/txn.go:609\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*baseTxnContextProvider).ActivateTxn\n\tpkg/sessiontxn/isolation/base.go:299\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*baseTxnContextProvider).OnInitialize\n\tpkg/sessiontxn/isolation/base.go:146\ngithub.com/pingcap/tidb/pkg/session.(*txnManager).EnterNewTxn\n\tpkg/session/txnmanager.go:161\ngithub.com/pingcap/tidb/pkg/ddl/session.(*Session).BeginPessimistic\n\tpkg/ddl/session/session.go:55\ngithub.com/pingcap/tidb/pkg/ddl/notifier.(*DDLNotifier).processEventForHandler\n\tpkg/ddl/notifier/subscribe.go:280\ngithub.com/pingcap/tidb/pkg/ddl/notifier.(*DDLNotifier).processEvents\n\tpkg/ddl/notifier/subscribe.go:217\ngithub.com/pingcap/tidb/pkg/ddl/notifier.(*DDLNotifier).start\n\tpkg/ddl/notifier/subscribe.go:163\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithRecover.func1\n\tpkg/util/wait_group_wrapper.go:199\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:46:40.297 +00:00] [ERROR] [select_result.go:556] ["invalid cop task execution summaries length"] [expected=2] [received=0] [stack="github.com/pingcap/tidb/pkg/distsql.(*selectResult).updateCopRuntimeStats\n\tpkg/distsql/select_result.go:556\ngithub.com/pingcap/tidb/pkg/distsql.(*selectResult).Close\n\tpkg/distsql/select_result.go:611\ngithub.com/pingcap/tidb/pkg/executor.closeAll\n\tpkg/executor/distsql.go:143\ngithub.com/pingcap/tidb/pkg/executor.(*tableResultHandler).Close\n\tpkg/executor/table_reader.go:634\ngithub.com/pingcap/tidb/pkg/executor.(*TableReaderExecutor).Close\n\tpkg/executor/table_reader.go:351\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Close\n\tpkg/executor/internal/exec/executor.go:480\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.(*BaseExecutorV2).Close\n\tpkg/executor/internal/exec/executor.go:315\ngithub.com/pingcap/tidb/pkg/executor.(*LimitExec).Close\n\tpkg/executor/select.go:511\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Close\n\tpkg/executor/internal/exec/executor.go:480\ngithub.com/pingcap/tidb/pkg/executor.(*recordSet).Finish.func1\n\tpkg/executor/adapter.go:202\nsync.(*Once).doSlow\n\tGOROOT/src/sync/once.go:76\nsync.(*Once).Do\n\tGOROOT/src/sync/once.go:67\ngithub.com/pingcap/tidb/pkg/executor.(*recordSet).Finish\n\tpkg/executor/adapter.go:201\ngithub.com/pingcap/tidb/pkg/session.(*execStmtResult).Finish.func1\n\tpkg/session/session.go:2377\nsync.(*Once).doSlow\n\tGOROOT/src/sync/once.go:76\nsync.(*Once).Do\n\tGOROOT/src/sync/once.go:67\ngithub.com/pingcap/tidb/pkg/session.(*execStmtResult).Finish\n\tpkg/session/session.go:2374\ngithub.com/pingcap/tidb/pkg/session.(*execStmtResult).Close\n\tpkg/session/session.go:2393\ngithub.com/pingcap/tidb/pkg/parser/terror.Call\n\tpkg/parser/terror/terror.go:315\ngithub.com/pingcap/tidb/pkg/ddl/session.(*Session).Execute\n\tpkg/ddl/session/session.go:110\ngithub.com/pingcap/tidb/pkg/ddl/notifier.(*listResult).Read\n\tpkg/ddl/notifier/store.go:180\ngithub.com/pingcap/tidb/pkg/ddl/notifier.(*DDLNotifier).processEvents\n\tpkg/ddl/notifier/subscribe.go:204\ngithub.com/pingcap/tidb/pkg/ddl/notifier.(*DDLNotifier).start\n\tpkg/ddl/notifier/subscribe.go:163\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithRecover.func1\n\tpkg/util/wait_group_wrapper.go:199"] [2025/04/04 12:46:40.298 +00:00] [ERROR] [subscribe.go:170] ["Error processing events"] [category=ddl-notifier] [error="[127.0.0.1:20160](1) context canceled"] [errorVerbose="[127.0.0.1:20160](1) context canceled\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/store/driver/error.ToTiDBErr\n\tpkg/store/driver/error/error.go:208\ngithub.com/pingcap/tidb/pkg/store/copr.(*copIteratorWorker).handleTaskOnce\n\tpkg/store/copr/coprocessor.go:1425\ngithub.com/pingcap/tidb/pkg/store/copr.(*liteCopIteratorWorker).liteSendReq\n\tpkg/store/copr/coprocessor.go:1197\ngithub.com/pingcap/tidb/pkg/store/copr.(*copIterator).Next\n\tpkg/store/copr/coprocessor.go:1112\ngithub.com/pingcap/tidb/pkg/distsql.(*selectResult).fetchResp\n\tpkg/distsql/select_result.go:317\ngithub.com/pingcap/tidb/pkg/distsql.(*selectResult).Next\n\tpkg/distsql/select_result.go:382\ngithub.com/pingcap/tidb/pkg/executor.(*tableResultHandler).nextChunk\n\tpkg/executor/table_reader.go:612\ngithub.com/pingcap/tidb/pkg/executor.(*TableReaderExecutor).Next\n\tpkg/executor/table_reader.go:331\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*LimitExec).Next\n\tpkg/executor/select.go:466\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*recordSet).Next\n\tpkg/executor/adapter.go:172\ngithub.com/pingcap/tidb/pkg/util/sqlexec.DrainRecordSet\n\tpkg/util/sqlexec/restricted_sql_executor.go:241\ngithub.com/pingcap/tidb/pkg/ddl/session.(*Session).Execute\n\tpkg/ddl/session/session.go:109\ngithub.com/pingcap/tidb/pkg/ddl/notifier.(*listResult).Read\n\tpkg/ddl/notifier/store.go:180\ngithub.com/pingcap/tidb/pkg/ddl/notifier.(*DDLNotifier).processEvents\n\tpkg/ddl/notifier/subscribe.go:204\ngithub.com/pingcap/tidb/pkg/ddl/notifier.(*DDLNotifier).start\n\tpkg/ddl/notifier/subscribe.go:163\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithRecover.func1\n\tpkg/util/wait_group_wrapper.go:199\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/ddl/notifier.(*DDLNotifier).start\n\tpkg/ddl/notifier/subscribe.go:170\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithRecover.func1\n\tpkg/util/wait_group_wrapper.go:199"] [2025/04/04 12:46:40.298 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=6bf21924-f0a5-480f-8cbf-18f3533c733c] [2025/04/04 12:46:40.298 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=6bf21924-f0a5-480f-8cbf-18f3533c733c] [2025/04/04 12:46:40.298 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=6bf21924-f0a5-480f-8cbf-18f3533c733c] [error="context canceled"] [2025/04/04 12:46:40.298 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 12:46:40.298 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 12:46:40.298 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:46:40.337 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=6bf21924-f0a5-480f-8cbf-18f3533c733c] [error="context canceled"] [2025/04/04 12:46:40.337 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 12:46:40.337 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:46:40.348 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=90.435175ms] [2025/04/04 12:46:41.042 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/04 12:46:45.202 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119052633735197 commit_ts:457119052633735198 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:46:45.202 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119052633735197 commit_ts:457119052633735198 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:46:45.202 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119052633735197 commit_ts:457119052633735198 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:46:45.241 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119052647104516 commit_ts:457119052647104520 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:46:45.241 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119052647104516 commit_ts:457119052647104520 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:46:45.241 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119052647104516 commit_ts:457119052647104520 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:46:45.260 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119052647104536 commit_ts:457119052659949570 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:46:45.260 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119052647104536 commit_ts:457119052659949570 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:46:45.260 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119052647104536 commit_ts:457119052659949570 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:46:45.260 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:46:45.260 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:46:45.260 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:46:45.260 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:46:45.260 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:46:45.260 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:46:45.260 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:46:45.260 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:45.260 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:45.260 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-10] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:46:45.260 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:45.260 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:46:45.261 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPipelinedDMLUpdate (6.24s) === NAME === RUN TestPipelinedDMLCommitFailed [2025/04/04 12:46:45.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/04 12:46:45.270 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 12:46:45.271 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437819270443114] [2025/04/04 12:46:45.272 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:46:45.272 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 12:46:45.272 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:46:45.272 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:46:45.272 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:46:45.273 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:46:45.273 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:46:45.273 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:46:45.277 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 12:46:45.282 +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/04 12:46:45.283 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:46:45.284 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:46:45.294 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489437819270443114] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 12:46:45.305 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 12:46:45.338 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1025] ["lease id"=3eaa9600d42f95f6] [2025/04/04 12:46:45.340 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/04 12:46:45.428 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=170] ["elapsed time"=85.256733ms] [2025/04/04 12:46:45.428 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 12:46:45.430 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 12:46:45.436 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=4475f16c-5e93-4c07-b425-e53e86de01f4] [runWorker=true] [jobVersion=v2] [2025/04/04 12:46:45.436 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 12:46:45.438 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=4475f16c-5e93-4c07-b425-e53e86de01f4] [2025/04/04 12:46:45.439 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 12:46:45.439 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 217604005888/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 12:46:45.439 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:46:45.439 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:46:45.439 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:46:45.439 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:46:45.439 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:46:45.439 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:46:45.439 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:46:45.439 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:46:45.439 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 12:46:45.440 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:46:45.440 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 12:46:45.440 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:46:45.440 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=e0a23cf4-164b-4618-bba0-bb427c1c6e38] [2025/04/04 12:46:45.441 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319600d42fa274] [ownerID=4475f16c-5e93-4c07-b425-e53e86de01f4] [op=none] [2025/04/04 12:46:45.441 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=4475f16c-5e93-4c07-b425-e53e86de01f4] [2025/04/04 12:46:45.441 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=4475f16c-5e93-4c07-b425-e53e86de01f4] [ownerKey=/tidb/ddl/fg/owner/22319600d42fa274] [currRev=794] [2025/04/04 12:46:45.442 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:46:45.442 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=e0a23cf4-164b-4618-bba0-bb427c1c6e38] [daemon-id=LogBackup::Advancer] [2025/04/04 12:46:45.442 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 12:46:45.443 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/22319600d42fa276] [ownerID=e0a23cf4-164b-4618-bba0-bb427c1c6e38] [op=none] [2025/04/04 12:46:45.443 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=e0a23cf4-164b-4618-bba0-bb427c1c6e38] [2025/04/04 12:46:45.443 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=e0a23cf4-164b-4618-bba0-bb427c1c6e38] [ownerKey=/tidb/br-stream/owner/22319600d42fa276] [currRev=795] [2025/04/04 12:46:45.443 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319600d42fa274] [ownerID=4475f16c-5e93-4c07-b425-e53e86de01f4] [op=none] [2025/04/04 12:46:45.443 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=4475f16c-5e93-4c07-b425-e53e86de01f4] [op=none] [2025/04/04 12:46:45.443 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 12:46:45.455 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=4475f16c-5e93-4c07-b425-e53e86de01f4] [2025/04/04 12:46:45.455 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:46:45.456 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 12:46:45.465 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:46:45.472 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:46:45.477 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:46:45.477 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:46:45.477 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 12:46:45.477 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:46:45.477 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:46:45.477 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 12:46:45.477 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 12:46:45.477 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 12:46:45.477 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 12:46:45.478 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:46:45.478 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=4475f16c-5e93-4c07-b425-e53e86de01f4] [2025/04/04 12:46:45.479 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:46:45.479 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:46:45.479 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:46:45.479 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:46:45.479 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 12:46:45.479 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:46:45.479 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:46:45.479 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 12:46:45.479 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:46:45.479 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:46:45.480 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 12:46:45.480 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:46:45.480 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:46:45.480 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:46:45.480 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:46:45.482 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/04 12:46:45.484 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/2bae88ea-c44a-4774-8bb5-f0551abace28] [2025/04/04 12:46:45.484 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=4475f16c-5e93-4c07-b425-e53e86de01f4] [ttl-worker=task-manager] [ttl-worker=4475f16c-5e93-4c07-b425-e53e86de01f4] [originalCount=0] [newCount=4] [2025/04/04 12:46:45.484 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 12:46:45.484 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=4475f16c-5e93-4c07-b425-e53e86de01f4] [ttl-worker=task-manager] [ttl-worker=4475f16c-5e93-4c07-b425-e53e86de01f4] [originalCount=0] [newCount=4] [2025/04/04 12:46:45.485 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=4475f16c-5e93-4c07-b425-e53e86de01f4] [2025/04/04 12:46:45.485 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:46:45.485 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 12:46:45.485 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743770805485404889 [2025/04/04 12:46:45.489 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 12:46:45.496 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=17.749644ms] [2025/04/04 12:46:45.496 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 12:46:45.496 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:46:45.499 +00:00] [INFO] [set.go:172] ["set global var"] [conn=22] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 12:46:45.502 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=22] [schemaVersion=170] [cur_db=test] [sql="alter table `_t` nocache"] [user=] [2025/04/04 12:46:45.503 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=22] [schemaVersion=170] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/04 12:46:45.516 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:222, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:220, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:45.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:45.516 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:222, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:220, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:45.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/04 12:46:45.522 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=222] [conn=22] [job="ID:222, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:220, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:45.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:45.537 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=170] [neededSchemaVersion=171] ["elapsed time"=1.935213ms] [gotSchemaVersion=171] [phyTblIDs="[220]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:45.541 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=222] [version=171] [2025/04/04 12:46:45.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=171] ["take time"=9.078175ms] [job="ID:222, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:220, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:45.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:45.552 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=222] [conn=22] [job="ID:222, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:220, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:45.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:45.567 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=171] [neededSchemaVersion=172] ["elapsed time"=1.81424ms] [gotSchemaVersion=172] [phyTblIDs="[220]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:45.570 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=222] [version=172] [2025/04/04 12:46:45.572 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=172] ["take time"=8.600436ms] [job="ID:222, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:220, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:45.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:45.580 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=222] [conn=22] [job="ID:222, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:220, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:45.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:45.586 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 220, Old Table Name: _t)"] [2025/04/04 12:46:45.598 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=172] [neededSchemaVersion=173] ["elapsed time"=1.069981ms] [gotSchemaVersion=173] [phyTblIDs="[220]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:45.602 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=222] [version=173] [2025/04/04 12:46:45.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=173] ["take time"=8.059031ms] [job="ID:222, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:220, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:45.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:45.612 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=222] [tableIDs="[220]"] [comment="drop table: table ID"] [2025/04/04 12:46:45.619 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=222] [jobType="drop table"] [2025/04/04 12:46:45.620 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=222] [conn=22] [job="ID:222, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:220, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:45.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:45.638 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=222] [2025/04/04 12:46:45.648 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:223, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:218, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:45.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/04 12:46:45.648 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:223, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:218, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:45.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:45.654 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=223] [conn=22] [job="ID:223, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:218, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:45.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:45.668 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=173] [neededSchemaVersion=174] ["elapsed time"=1.791143ms] [gotSchemaVersion=174] [phyTblIDs="[218]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:45.672 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=223] [version=174] [2025/04/04 12:46:45.673 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=174] ["take time"=8.718575ms] [job="ID:223, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:218, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:45.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:45.683 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=223] [conn=22] [job="ID:223, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:218, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:45.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:45.699 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=174] [neededSchemaVersion=175] ["elapsed time"=1.867451ms] [gotSchemaVersion=175] [phyTblIDs="[218]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:45.703 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=223] [version=175] [2025/04/04 12:46:45.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=175] ["take time"=10.058956ms] [job="ID:223, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:218, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:45.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:45.713 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=223] [conn=22] [job="ID:223, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:218, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:45.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:45.719 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 218, Old Table Name: t)"] [2025/04/04 12:46:45.732 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=175] [neededSchemaVersion=176] ["elapsed time"=1.117243ms] [gotSchemaVersion=176] [phyTblIDs="[218]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:45.735 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=223] [version=176] [2025/04/04 12:46:45.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=176] ["take time"=8.064024ms] [job="ID:223, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:218, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:45.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:45.746 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=223] [tableIDs="[218]"] [comment="drop table: table ID"] [2025/04/04 12:46:45.751 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=223] [jobType="drop table"] [2025/04/04 12:46:45.752 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=223] [conn=22] [job="ID:223, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:218, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:45.598 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:45.769 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=223] [2025/04/04 12:46:45.769 +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: 1743770805769943586 testkit.go:123: RefreshSession rand seed: 1743770805772214704 [2025/04/04 12:46:45.784 +00:00] [INFO] [set.go:172] ["set global var"] [conn=24] [name=tidb_schema_cache_size] [val=0] [2025/04/04 12:46:45.787 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=23] [schemaVersion=176] [cur_db=test] [sql="drop table if exists t, _t"] [user=] [2025/04/04 12:46:45.801 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:225, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:224, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:45.747 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a int primary key, b int)"] [2025/04/04 12:46:45.801 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:225, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:224, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:45.747 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:45.807 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=225] [conn=23] [job="ID:225, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:224, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:45.747 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:45.811 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 224, Table Name: t)"] [2025/04/04 12:46:45.825 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=176] [neededSchemaVersion=177] ["elapsed time"=1.497564ms] [gotSchemaVersion=177] [phyTblIDs="[224]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:46:45.829 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=225] [version=177] [2025/04/04 12:46:45.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=177] ["take time"=8.403594ms] [job="ID:225, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:224, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:45.747 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:45.842 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=225] [conn=23] [job="ID:225, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:224, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:45.747 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:45.856 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=225] [2025/04/04 12:46:45.856 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=23] [schemaVersion=177] [cur_db=test] [sql="create table t (a int primary key, b int)"] [user=] [2025/04/04 12:46:45.870 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:227, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:226, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:45.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t like t"] [2025/04/04 12:46:45.870 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:227, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:226, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:45.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:45.877 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=227] [conn=23] [job="ID:227, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:226, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:45.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:45.882 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 226, Table Name: _t)"] [2025/04/04 12:46:45.896 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=177] [neededSchemaVersion=178] ["elapsed time"=1.537718ms] [gotSchemaVersion=178] [phyTblIDs="[226]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:46:45.901 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=227] [version=178] [2025/04/04 12:46:45.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=178] ["take time"=10.163213ms] [job="ID:227, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:226, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:45.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:45.915 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=227] [conn=23] [job="ID:227, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:226, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:45.848 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:45.927 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=227] [2025/04/04 12:46:45.927 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=23] [schemaVersion=178] [cur_db=test] [sql="create table _t like t"] [user=] [2025/04/04 12:46:45.931 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054141063178] [2025/04/04 12:46:45.935 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054141063182] [2025/04/04 12:46:45.939 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054141063185] [2025/04/04 12:46:45.943 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054141063189] [2025/04/04 12:46:45.947 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054141063195] [2025/04/04 12:46:45.951 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054154432514] [2025/04/04 12:46:45.955 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054154432517] [2025/04/04 12:46:45.960 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054154432520] [2025/04/04 12:46:45.963 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054154432523] [2025/04/04 12:46:45.967 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054154432526] [2025/04/04 12:46:45.971 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054154432529] [2025/04/04 12:46:45.976 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054154432532] [2025/04/04 12:46:45.980 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054154432535] [2025/04/04 12:46:45.984 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054154432538] [2025/04/04 12:46:45.988 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054154432541] [2025/04/04 12:46:45.991 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054154432544] [2025/04/04 12:46:45.996 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054154432547] [2025/04/04 12:46:46.000 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054167277570] [2025/04/04 12:46:46.004 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054167277573] [2025/04/04 12:46:46.008 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054167277576] [2025/04/04 12:46:46.012 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054167277579] [2025/04/04 12:46:46.016 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054167277582] [2025/04/04 12:46:46.021 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054167277585] [2025/04/04 12:46:46.025 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054167277588] [2025/04/04 12:46:46.029 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054167277591] [2025/04/04 12:46:46.032 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054167277594] [2025/04/04 12:46:46.036 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054167277597] [2025/04/04 12:46:46.040 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054167277600] [2025/04/04 12:46:46.043 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054167277603] [2025/04/04 12:46:46.050 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054167277607] [2025/04/04 12:46:46.055 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054180384771] [2025/04/04 12:46:46.059 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054180384774] [2025/04/04 12:46:46.063 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054180384778] [2025/04/04 12:46:46.068 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054180384781] [2025/04/04 12:46:46.072 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054180384784] [2025/04/04 12:46:46.076 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054180384787] [2025/04/04 12:46:46.080 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054180384790] [2025/04/04 12:46:46.084 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054180384793] [2025/04/04 12:46:46.088 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054180384797] [2025/04/04 12:46:46.092 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054180384800] [2025/04/04 12:46:46.096 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054180384804] [2025/04/04 12:46:46.101 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054193491970] [2025/04/04 12:46:46.105 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054193491973] [2025/04/04 12:46:46.109 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054193491976] [2025/04/04 12:46:46.113 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054193491979] [2025/04/04 12:46:46.117 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054193491982] [2025/04/04 12:46:46.121 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054193491985] [2025/04/04 12:46:46.125 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054193491988] [2025/04/04 12:46:46.129 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054193491991] [2025/04/04 12:46:46.133 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054193491994] [2025/04/04 12:46:46.137 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054193491997] [2025/04/04 12:46:46.141 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054193492000] [2025/04/04 12:46:46.144 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054193492003] [2025/04/04 12:46:46.148 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054193492007] [2025/04/04 12:46:46.153 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054206861315] [2025/04/04 12:46:46.157 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054206861318] [2025/04/04 12:46:46.160 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054206861321] [2025/04/04 12:46:46.164 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054206861326] [2025/04/04 12:46:46.168 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054206861329] [2025/04/04 12:46:46.172 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054206861332] [2025/04/04 12:46:46.176 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054206861335] [2025/04/04 12:46:46.179 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054206861338] [2025/04/04 12:46:46.183 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054206861341] [2025/04/04 12:46:46.187 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054206861344] [2025/04/04 12:46:46.191 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054206861347] [2025/04/04 12:46:46.195 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054206861353] [2025/04/04 12:46:46.199 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054206861357] [2025/04/04 12:46:46.204 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054219968514] [2025/04/04 12:46:46.208 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054219968517] [2025/04/04 12:46:46.212 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054219968520] [2025/04/04 12:46:46.216 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054219968523] [2025/04/04 12:46:46.220 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054219968526] [2025/04/04 12:46:46.224 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054219968529] [2025/04/04 12:46:46.228 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054219968532] [2025/04/04 12:46:46.232 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054219968535] [2025/04/04 12:46:46.236 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054219968538] [2025/04/04 12:46:46.240 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054219968541] [2025/04/04 12:46:46.244 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054219968544] [2025/04/04 12:46:46.249 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054219968548] [2025/04/04 12:46:46.252 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054232813571] [2025/04/04 12:46:46.256 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054232813574] [2025/04/04 12:46:46.260 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054232813577] [2025/04/04 12:46:46.264 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054232813580] [2025/04/04 12:46:46.268 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054232813583] [2025/04/04 12:46:46.272 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054232813586] [2025/04/04 12:46:46.276 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054232813589] [2025/04/04 12:46:46.280 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054232813592] [2025/04/04 12:46:46.285 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054232813595] [2025/04/04 12:46:46.289 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054232813598] [2025/04/04 12:46:46.292 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054232813601] [2025/04/04 12:46:46.297 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054232813605] [2025/04/04 12:46:46.301 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054246182914] [2025/04/04 12:46:46.305 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054246182917] [2025/04/04 12:46:46.308 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054246182920] [2025/04/04 12:46:46.312 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054246182923] [2025/04/04 12:46:46.317 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054246182926] [2025/04/04 12:46:46.320 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054246182929] [2025/04/04 12:46:46.324 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054246182932] [2025/04/04 12:46:46.328 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054246182935] [2025/04/04 12:46:46.332 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119054246182938] [2025/04/04 12:46:46.347 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119054246182942] [generation=1] [session=23] [keys=100] [size=2.9kB] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=2.534421ms] [2025/04/04 12:46:46.347 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119054246182942] [generation=2] [session=23] [keys=0] [size=0B] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=44.311µs] [2025/04/04 12:46:46.347 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=100] [flush_wait_duration=2.758581ms] [total_duration=7.447116ms] ["memdb traversal cache hit"=200] ["memdb traversal cache miss"=200] [size=2.9kB] [startTS=457119054246182942] [2025/04/04 12:46:46.348 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-rollback-457119054246182942] [startKey=7480000000000000e25f728000000000000000] [endKey=7480000000000000e25f728000000000000063] [concurrency=8] [2025/04/04 12:46:46.348 +00:00] [WARN] [session.go:820] ["can not retry txn"] [label=general] [error="pipelined DML commit failed"] [errorVerbose="pipelined DML commit failed\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).commitFlushedMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/pipelined_flush.go:325\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).execute\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1809\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:853\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Commit\n\tpkg/store/driver/txn/txn_driver.go:117\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Commit\n\tpkg/session/txn.go:437\ngithub.com/pingcap/tidb/pkg/session.(*session).commitTxnWithTemporaryData\n\tpkg/session/session.go:672\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommit\n\tpkg/session/session.go:552\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommitWithRetry\n\tpkg/session/session.go:794\ngithub.com/pingcap/tidb/pkg/session.(*session).CommitTxn\n\tpkg/session/session.go:924\ngithub.com/pingcap/tidb/pkg/session.autoCommitAfterStmt\n\tpkg/session/tidb.go:278\ngithub.com/pingcap/tidb/pkg/session.finishStmt\n\tpkg/session/tidb.go:240\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2336\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecToErr\n\tpkg/testkit/testkit.go:484\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestPipelinedDMLCommitFailed\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:645\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=false] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2025/04/04 12:46:46.348 +00:00] [WARN] [session.go:836] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="pipelined DML commit failed"] [errorVerbose="pipelined DML commit failed\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).commitFlushedMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/pipelined_flush.go:325\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).execute\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1809\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:853\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Commit\n\tpkg/store/driver/txn/txn_driver.go:117\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Commit\n\tpkg/session/txn.go:437\ngithub.com/pingcap/tidb/pkg/session.(*session).commitTxnWithTemporaryData\n\tpkg/session/session.go:672\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommit\n\tpkg/session/session.go:552\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommitWithRetry\n\tpkg/session/session.go:794\ngithub.com/pingcap/tidb/pkg/session.(*session).CommitTxn\n\tpkg/session/session.go:924\ngithub.com/pingcap/tidb/pkg/session.autoCommitAfterStmt\n\tpkg/session/tidb.go:278\ngithub.com/pingcap/tidb/pkg/session.finishStmt\n\tpkg/session/tidb.go:240\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2336\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecToErr\n\tpkg/testkit/testkit.go:484\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestPipelinedDMLCommitFailed\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:645\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:46:46.348 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=178] [error="pipelined DML commit failed"] [errorVerbose="pipelined DML commit failed\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).commitFlushedMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/pipelined_flush.go:325\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).execute\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1809\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:853\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Commit\n\tpkg/store/driver/txn/txn_driver.go:117\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Commit\n\tpkg/session/txn.go:437\ngithub.com/pingcap/tidb/pkg/session.(*session).commitTxnWithTemporaryData\n\tpkg/session/session.go:672\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommit\n\tpkg/session/session.go:552\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommitWithRetry\n\tpkg/session/session.go:794\ngithub.com/pingcap/tidb/pkg/session.(*session).CommitTxn\n\tpkg/session/session.go:924\ngithub.com/pingcap/tidb/pkg/session.autoCommitAfterStmt\n\tpkg/session/tidb.go:278\ngithub.com/pingcap/tidb/pkg/session.finishStmt\n\tpkg/session/tidb.go:240\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2336\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecToErr\n\tpkg/testkit/testkit.go:484\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestPipelinedDMLCommitFailed\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:645\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [session="{\n \"currDBName\": \"test\",\n \"id\": 23,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2025/04/04 12:46:46.353 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-rollback-457119054246182942] [startKey=7480000000000000e25f728000000000000000] [endKey=7480000000000000e25f728000000000000063] ["cost time"=5.511553ms] ["completed regions"=1] [2025/04/04 12:46:46.354 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=1] [startTS=457119054246182942] [commitTS=0] [session=23] [2025/04/04 12:46:46.355 +00:00] [INFO] [lock_resolver.go:1150] ["resolveLock rollback"] [lock="key: 7480000000000000e25f728000000000000000, primary: 7480000000000000e25f728000000000000000, txnStartTS: 457119054246182942, lockForUpdateTS:0, minCommitTs:457119054246182943, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:46:46.364 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119054259027970] [generation=1] [session=23] [keys=100] [size=2.9kB] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=2.259793ms] [2025/04/04 12:46:46.364 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119054259027970] [generation=2] [session=23] [keys=0] [size=0B] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=25.401µs] [2025/04/04 12:46:46.364 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=100] [flush_wait_duration=2.241568ms] [total_duration=6.961517ms] ["memdb traversal cache hit"=200] ["memdb traversal cache miss"=200] [size=2.9kB] [startTS=457119054259027970] [2025/04/04 12:46:46.365 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-rollback-457119054259027970] [startKey=7480000000000000e05f728000000000000064] [endKey=7480000000000000e05f7280000000000000c7] [concurrency=8] [2025/04/04 12:46:46.365 +00:00] [WARN] [session.go:820] ["can not retry txn"] [label=general] [error="pipelined DML commit failed"] [errorVerbose="pipelined DML commit failed\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).commitFlushedMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/pipelined_flush.go:325\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).execute\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1809\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:853\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Commit\n\tpkg/store/driver/txn/txn_driver.go:117\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Commit\n\tpkg/session/txn.go:437\ngithub.com/pingcap/tidb/pkg/session.(*session).commitTxnWithTemporaryData\n\tpkg/session/session.go:672\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommit\n\tpkg/session/session.go:552\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommitWithRetry\n\tpkg/session/session.go:794\ngithub.com/pingcap/tidb/pkg/session.(*session).CommitTxn\n\tpkg/session/session.go:924\ngithub.com/pingcap/tidb/pkg/session.autoCommitAfterStmt\n\tpkg/session/tidb.go:278\ngithub.com/pingcap/tidb/pkg/session.finishStmt\n\tpkg/session/tidb.go:240\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2336\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecToErr\n\tpkg/testkit/testkit.go:484\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestPipelinedDMLCommitFailed\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:650\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=false] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2025/04/04 12:46:46.365 +00:00] [WARN] [session.go:836] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="pipelined DML commit failed"] [errorVerbose="pipelined DML commit failed\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).commitFlushedMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/pipelined_flush.go:325\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).execute\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1809\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:853\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Commit\n\tpkg/store/driver/txn/txn_driver.go:117\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Commit\n\tpkg/session/txn.go:437\ngithub.com/pingcap/tidb/pkg/session.(*session).commitTxnWithTemporaryData\n\tpkg/session/session.go:672\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommit\n\tpkg/session/session.go:552\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommitWithRetry\n\tpkg/session/session.go:794\ngithub.com/pingcap/tidb/pkg/session.(*session).CommitTxn\n\tpkg/session/session.go:924\ngithub.com/pingcap/tidb/pkg/session.autoCommitAfterStmt\n\tpkg/session/tidb.go:278\ngithub.com/pingcap/tidb/pkg/session.finishStmt\n\tpkg/session/tidb.go:240\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2336\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecToErr\n\tpkg/testkit/testkit.go:484\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestPipelinedDMLCommitFailed\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:650\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:46:46.366 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=178] [error="pipelined DML commit failed"] [errorVerbose="pipelined DML commit failed\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).commitFlushedMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/pipelined_flush.go:325\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).execute\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1809\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:853\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Commit\n\tpkg/store/driver/txn/txn_driver.go:117\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Commit\n\tpkg/session/txn.go:437\ngithub.com/pingcap/tidb/pkg/session.(*session).commitTxnWithTemporaryData\n\tpkg/session/session.go:672\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommit\n\tpkg/session/session.go:552\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommitWithRetry\n\tpkg/session/session.go:794\ngithub.com/pingcap/tidb/pkg/session.(*session).CommitTxn\n\tpkg/session/session.go:924\ngithub.com/pingcap/tidb/pkg/session.autoCommitAfterStmt\n\tpkg/session/tidb.go:278\ngithub.com/pingcap/tidb/pkg/session.finishStmt\n\tpkg/session/tidb.go:240\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2336\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecToErr\n\tpkg/testkit/testkit.go:484\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestPipelinedDMLCommitFailed\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:650\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [session="{\n \"currDBName\": \"test\",\n \"id\": 23,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2025/04/04 12:46:46.368 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-rollback-457119054259027970] [startKey=7480000000000000e05f728000000000000064] [endKey=7480000000000000e05f7280000000000000c7] ["cost time"=3.086834ms] ["completed regions"=1] [2025/04/04 12:46:46.368 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=1] [startTS=457119054259027970] [commitTS=0] [session=23] [2025/04/04 12:46:46.370 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 12:46:46.370 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=4475f16c-5e93-4c07-b425-e53e86de01f4] [] [2025/04/04 12:46:46.370 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 12:46:46.370 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=4475f16c-5e93-4c07-b425-e53e86de01f4] [2025/04/04 12:46:46.370 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:46:46.370 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:46:46.370 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 47, tp general"] ["take time"=60.911µs] [2025/04/04 12:46:46.370 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 48, tp general"] ["take time"=52.847µs] [2025/04/04 12:46:46.370 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 49, tp general"] ["take time"=52.112µs] [2025/04/04 12:46:46.371 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 50, tp general"] ["take time"=41.346µs] [2025/04/04 12:46:46.371 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=4475f16c-5e93-4c07-b425-e53e86de01f4] [2025/04/04 12:46:46.371 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=4475f16c-5e93-4c07-b425-e53e86de01f4] [2025/04/04 12:46:46.372 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 12:46:46.372 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 12:46:46.374 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=4475f16c-5e93-4c07-b425-e53e86de01f4] ["take time"=4.727122ms] [2025/04/04 12:46:46.375 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=4475f16c-5e93-4c07-b425-e53e86de01f4] [2025/04/04 12:46:46.375 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 12:46:46.375 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/2bae88ea-c44a-4774-8bb5-f0551abace28] [2025/04/04 12:46:46.375 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=4475f16c-5e93-4c07-b425-e53e86de01f4] [ttl-worker=task-manager] [ttl-worker=4475f16c-5e93-4c07-b425-e53e86de01f4] [originalCount=4] [newCount=0] [2025/04/04 12:46:46.375 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:46:46.375 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:46:46.375 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:46:46.375 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:46:46.375 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=4475f16c-5e93-4c07-b425-e53e86de01f4] [ttl-worker=task-manager] [ttl-worker=4475f16c-5e93-4c07-b425-e53e86de01f4] [originalCount=4] [newCount=0] [2025/04/04 12:46:46.378 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:46:46.378 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:46:46.378 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:46:46.378 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:46:46.381 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=4475f16c-5e93-4c07-b425-e53e86de01f4] [2025/04/04 12:46:46.381 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 12:46:46.382 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1025] [2025/04/04 12:46:46.382 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 12:46:46.382 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=e0a23cf4-164b-4618-bba0-bb427c1c6e38] [] [2025/04/04 12:46:46.382 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 12:46:46.382 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:46.382 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 12:46:46.382 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:46:46.382 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=e0a23cf4-164b-4618-bba0-bb427c1c6e38] [2025/04/04 12:46:46.382 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:46.382 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:46:46.382 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 12:46:46.382 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 12:46:46.382 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:46.382 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:46.382 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:46.382 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 12:46:46.382 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 12:46:46.382 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 12:46:46.382 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:46.382 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 12:46:46.382 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:46.382 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:46:46.382 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 12:46:46.382 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 12:46:46.382 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:46.382 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 12:46:46.382 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:46:46.382 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 12:46:46.382 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 12:46:46.382 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 12:46:46.382 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:46.382 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:46:46.382 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:46:46.382 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 12:46:46.382 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:46:46.382 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:46.382 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 12:46:46.382 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=e0a23cf4-164b-4618-bba0-bb427c1c6e38] [2025/04/04 12:46:46.382 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:46:46.382 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:46.382 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:46:46.382 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:46:46.382 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 12:46:46.382 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:46.382 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:46:46.382 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:46:46.382 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 12:46:46.382 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 12:46:46.382 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 12:46:46.382 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 12:46:46.382 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:46:46.382 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 12:46:46.382 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:46:46.382 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:46:46.382 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:46:46.382 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 12:46:46.383 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:46:46.382 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:46:46.382 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 12:46:46.383 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:46:46.382 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:46:46.382 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 12:46:46.383 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:46:46.382 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 12:46:46.383 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:46:46.382 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:46:46.382 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=e0a23cf4-164b-4618-bba0-bb427c1c6e38] [2025/04/04 12:46:46.384 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/stats/owner] [id=4475f16c-5e93-4c07-b425-e53e86de01f4] [error="context canceled"] [2025/04/04 12:46:46.384 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=4475f16c-5e93-4c07-b425-e53e86de01f4] [2025/04/04 12:46:46.384 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 12:46:46.384 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:46:46.384 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 12:46:46.384 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=e0a23cf4-164b-4618-bba0-bb427c1c6e38] [daemon-id=LogBackup::Advancer] [2025/04/04 12:46:46.384 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:46:46.385 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:46:46.385 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 12:46:46.385 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 12:46:46.385 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=4475f16c-5e93-4c07-b425-e53e86de01f4] [error="context canceled"] [2025/04/04 12:46:46.385 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 12:46:46.385 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 12:46:46.385 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:46:46.386 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=4475f16c-5e93-4c07-b425-e53e86de01f4] [error="context canceled"] [2025/04/04 12:46:46.386 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=4475f16c-5e93-4c07-b425-e53e86de01f4] [2025/04/04 12:46:46.401 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 12:46:46.401 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:46:46.451 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=4475f16c-5e93-4c07-b425-e53e86de01f4] [error="context canceled"] [2025/04/04 12:46:46.451 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 12:46:46.451 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:46:46.463 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=93.20803ms] [2025/04/04 12:46:47.277 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/04 12:46:51.354 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119054246182942 rolled_back:true is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:46:51.354 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119054246182942 rolled_back:true is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:46:51.354 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119054246182942 rolled_back:true is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:46:51.369 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119054259027970 rolled_back:true is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:46:51.369 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119054259027970 rolled_back:true is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:46:51.369 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119054259027970 rolled_back:true is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:46:51.369 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:46:51.370 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:46:51.370 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:46:51.370 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:46:51.370 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:46:51.370 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:46:51.370 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:46:51.370 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:51.370 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:51.370 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-11] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:46:51.370 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:51.370 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:46:51.371 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPipelinedDMLCommitFailed (6.11s) === NAME === RUN TestPipelinedDMLCommitSkipSecondaries [2025/04/04 12:46:51.380 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 12:46:51.381 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 12:46:51.381 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437819270443114] [2025/04/04 12:46:51.382 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:46:51.382 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 12:46:51.382 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:46:51.383 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:46:51.383 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:46:51.383 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:46:51.383 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:46:51.383 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:46:51.387 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 12:46:51.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/04 12:46:51.393 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:46:51.394 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:46:51.404 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489437819270443114] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 12:46:51.414 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 12:46:51.450 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=329] ["lease id"=22319600d42fa2a3] [2025/04/04 12:46:51.452 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/04 12:46:51.540 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=178] ["elapsed time"=85.58491ms] [2025/04/04 12:46:51.540 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 12:46:51.543 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 12:46:51.549 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=1b90509c-a2f2-46f7-86c5-869438bb872e] [runWorker=true] [jobVersion=v2] [2025/04/04 12:46:51.549 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 12:46:51.551 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=1b90509c-a2f2-46f7-86c5-869438bb872e] [2025/04/04 12:46:51.552 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 12:46:51.552 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 217604038656/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 12:46:51.552 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:46:51.552 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:46:51.552 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:46:51.552 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:46:51.552 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:46:51.552 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:46:51.552 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:46:51.552 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:46:51.552 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:46:51.552 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 12:46:51.552 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:46:51.552 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 12:46:51.552 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=bb9b5dfb-15ba-4350-994d-415beae5c646] [2025/04/04 12:46:51.554 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9600d42f9637] [ownerID=1b90509c-a2f2-46f7-86c5-869438bb872e] [op=none] [2025/04/04 12:46:51.554 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=1b90509c-a2f2-46f7-86c5-869438bb872e] [2025/04/04 12:46:51.554 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=1b90509c-a2f2-46f7-86c5-869438bb872e] [ownerKey=/tidb/ddl/fg/owner/3eaa9600d42f9637] [currRev=838] [2025/04/04 12:46:51.555 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:46:51.555 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=bb9b5dfb-15ba-4350-994d-415beae5c646] [daemon-id=LogBackup::Advancer] [2025/04/04 12:46:51.555 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 12:46:51.556 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f189600d42f9c8e] [ownerID=bb9b5dfb-15ba-4350-994d-415beae5c646] [op=none] [2025/04/04 12:46:51.556 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=bb9b5dfb-15ba-4350-994d-415beae5c646] [2025/04/04 12:46:51.556 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=bb9b5dfb-15ba-4350-994d-415beae5c646] [ownerKey=/tidb/br-stream/owner/6f189600d42f9c8e] [currRev=839] [2025/04/04 12:46:51.556 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9600d42f9637] [ownerID=1b90509c-a2f2-46f7-86c5-869438bb872e] [op=none] [2025/04/04 12:46:51.556 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=1b90509c-a2f2-46f7-86c5-869438bb872e] [op=none] [2025/04/04 12:46:51.556 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 12:46:51.569 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=1b90509c-a2f2-46f7-86c5-869438bb872e] [2025/04/04 12:46:51.570 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:46:51.570 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 12:46:51.579 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:46:51.587 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:46:51.591 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:46:51.591 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:46:51.592 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:46:51.592 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 12:46:51.592 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:46:51.592 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 12:46:51.592 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 12:46:51.592 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 12:46:51.592 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 12:46:51.593 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:46:51.593 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=1b90509c-a2f2-46f7-86c5-869438bb872e] [2025/04/04 12:46:51.594 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:46:51.594 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:46:51.594 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:46:51.594 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:46:51.594 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:46:51.594 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:46:51.594 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 12:46:51.594 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 12:46:51.594 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:46:51.594 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:46:51.594 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 12:46:51.594 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:46:51.594 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:46:51.594 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:46:51.594 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:46:51.596 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/04 12:46:51.598 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/b89927ef-3e41-4285-ba91-f74c1d7526a2] [2025/04/04 12:46:51.599 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=1b90509c-a2f2-46f7-86c5-869438bb872e] [ttl-worker=task-manager] [ttl-worker=1b90509c-a2f2-46f7-86c5-869438bb872e] [originalCount=0] [newCount=4] [2025/04/04 12:46:51.599 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=1b90509c-a2f2-46f7-86c5-869438bb872e] [ttl-worker=task-manager] [ttl-worker=1b90509c-a2f2-46f7-86c5-869438bb872e] [originalCount=0] [newCount=4] [2025/04/04 12:46:51.599 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=1b90509c-a2f2-46f7-86c5-869438bb872e] [2025/04/04 12:46:51.599 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:46:51.599 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 12:46:51.600 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 12:46:51.600 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743770811600150237 [2025/04/04 12:46:51.605 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 12:46:51.614 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=20.956685ms] [2025/04/04 12:46:51.614 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 12:46:51.614 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:46:51.622 +00:00] [INFO] [set.go:172] ["set global var"] [conn=25] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 12:46:51.625 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=178] [cur_db=test] [sql="alter table `_t` nocache"] [user=] [2025/04/04 12:46:51.626 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=178] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/04 12:46:51.639 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:228, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:226, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:51.597 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/04 12:46:51.639 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:228, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:226, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:51.597 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:51.645 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=228] [conn=25] [job="ID:228, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:226, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:51.597 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:51.661 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=178] [neededSchemaVersion=179] ["elapsed time"=2.202326ms] [gotSchemaVersion=179] [phyTblIDs="[226]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:51.665 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=228] [version=179] [2025/04/04 12:46:51.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=179] ["take time"=10.011282ms] [job="ID:228, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:226, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:51.597 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:51.676 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=228] [conn=25] [job="ID:228, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:226, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:51.597 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:51.691 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=179] [neededSchemaVersion=180] ["elapsed time"=1.865013ms] [gotSchemaVersion=180] [phyTblIDs="[226]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:51.695 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=228] [version=180] [2025/04/04 12:46:51.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=180] ["take time"=8.887436ms] [job="ID:228, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:226, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:51.597 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:51.704 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=228] [conn=25] [job="ID:228, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:226, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:51.597 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:51.710 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 226, Old Table Name: _t)"] [2025/04/04 12:46:51.723 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=180] [neededSchemaVersion=181] ["elapsed time"=925.89µs] [gotSchemaVersion=181] [phyTblIDs="[226]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:51.726 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=228] [version=181] [2025/04/04 12:46:51.728 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=181] ["take time"=7.631376ms] [job="ID:228, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:226, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:51.597 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:51.737 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=228] [tableIDs="[226]"] [comment="drop table: table ID"] [2025/04/04 12:46:51.743 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=228] [jobType="drop table"] [2025/04/04 12:46:51.744 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=228] [conn=25] [job="ID:228, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:226, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:51.597 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:51.762 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=228] [2025/04/04 12:46:51.773 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:229, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:224, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:51.747 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:51.773 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:229, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:224, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:51.747 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/04 12:46:51.778 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=229] [conn=25] [job="ID:229, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:224, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:51.747 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:51.794 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=181] [neededSchemaVersion=182] ["elapsed time"=1.804995ms] [gotSchemaVersion=182] [phyTblIDs="[224]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:51.797 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=229] [version=182] [2025/04/04 12:46:51.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=182] ["take time"=8.85241ms] [job="ID:229, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:224, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:51.747 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:51.809 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=229] [conn=25] [job="ID:229, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:224, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:51.747 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:51.827 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=182] [neededSchemaVersion=183] ["elapsed time"=1.815034ms] [gotSchemaVersion=183] [phyTblIDs="[224]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:51.831 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=229] [version=183] [2025/04/04 12:46:51.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=183] ["take time"=8.964813ms] [job="ID:229, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:224, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:51.747 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:51.841 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=229] [conn=25] [job="ID:229, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:224, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:51.747 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:51.846 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 224, Old Table Name: t)"] [2025/04/04 12:46:51.859 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=183] [neededSchemaVersion=184] ["elapsed time"=1.056676ms] [gotSchemaVersion=184] [phyTblIDs="[224]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:51.862 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=229] [version=184] [2025/04/04 12:46:51.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=184] ["take time"=7.832046ms] [job="ID:229, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:224, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:51.747 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:51.873 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=229] [tableIDs="[224]"] [comment="drop table: table ID"] [2025/04/04 12:46:51.877 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=229] [jobType="drop table"] [2025/04/04 12:46:51.877 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=229] [conn=25] [job="ID:229, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:224, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:51.747 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:51.895 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=229] [2025/04/04 12:46:51.895 +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: 1743770811896123622 [2025/04/04 12:46:51.899 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=26] [schemaVersion=184] [cur_db=test] [sql="drop table if exists t, _t"] [user=] [2025/04/04 12:46:51.913 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:231, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:230, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:51.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:51.913 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:231, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:230, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:51.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a int primary key, b int)"] [2025/04/04 12:46:51.919 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=231] [conn=26] [job="ID:231, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:230, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:51.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:51.924 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 230, Table Name: t)"] [2025/04/04 12:46:51.938 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=184] [neededSchemaVersion=185] ["elapsed time"=1.589421ms] [gotSchemaVersion=185] [phyTblIDs="[230]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:46:51.941 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=231] [version=185] [2025/04/04 12:46:51.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=185] ["take time"=8.595495ms] [job="ID:231, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:230, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:51.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:51.953 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=231] [conn=26] [job="ID:231, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:230, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:51.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:51.964 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=231] [2025/04/04 12:46:51.965 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=26] [schemaVersion=185] [cur_db=test] [sql="create table t (a int primary key, b int)"] [user=] [2025/04/04 12:46:51.977 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:233, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:232, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:51.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:51.977 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:233, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:232, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:51.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t like t"] [2025/04/04 12:46:51.983 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=233] [conn=26] [job="ID:233, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:232, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:51.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:51.987 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 232, Table Name: _t)"] [2025/04/04 12:46:52.000 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=185] [neededSchemaVersion=186] ["elapsed time"=1.431915ms] [gotSchemaVersion=186] [phyTblIDs="[232]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:46:52.004 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=233] [version=186] [2025/04/04 12:46:52.006 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=186] ["take time"=8.523761ms] [job="ID:233, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:232, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:51.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:52.017 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=233] [conn=26] [job="ID:233, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:232, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:51.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:52.028 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=233] [2025/04/04 12:46:52.029 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=26] [schemaVersion=186] [cur_db=test] [sql="create table _t like t"] [user=] [2025/04/04 12:46:52.032 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055740141581] [2025/04/04 12:46:52.035 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055740141585] [2025/04/04 12:46:52.039 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055740141588] [2025/04/04 12:46:52.043 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055740141591] [2025/04/04 12:46:52.047 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055740141594] [2025/04/04 12:46:52.050 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055753248770] [2025/04/04 12:46:52.054 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055753248774] [2025/04/04 12:46:52.058 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055753248779] [2025/04/04 12:46:52.062 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055753248783] [2025/04/04 12:46:52.066 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055753248786] [2025/04/04 12:46:52.070 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055753248790] [2025/04/04 12:46:52.074 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055753248793] [2025/04/04 12:46:52.077 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055753248796] [2025/04/04 12:46:52.081 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055753248799] [2025/04/04 12:46:52.084 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055753248802] [2025/04/04 12:46:52.088 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055753248805] [2025/04/04 12:46:52.092 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055753248808] [2025/04/04 12:46:52.095 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055753248811] [2025/04/04 12:46:52.099 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055766618113] [2025/04/04 12:46:52.103 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055766618116] [2025/04/04 12:46:52.106 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055766618119] [2025/04/04 12:46:52.111 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055766618123] [2025/04/04 12:46:52.114 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055766618126] [2025/04/04 12:46:52.118 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055766618129] [2025/04/04 12:46:52.121 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055766618132] [2025/04/04 12:46:52.125 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055766618135] [2025/04/04 12:46:52.129 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055766618138] [2025/04/04 12:46:52.132 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055766618141] [2025/04/04 12:46:52.136 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055766618144] [2025/04/04 12:46:52.140 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055766618147] [2025/04/04 12:46:52.144 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055766618150] [2025/04/04 12:46:52.148 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055766618153] [2025/04/04 12:46:52.151 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055779463171] [2025/04/04 12:46:52.155 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055779463174] [2025/04/04 12:46:52.159 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055779463178] [2025/04/04 12:46:52.163 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055779463181] [2025/04/04 12:46:52.166 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055779463184] [2025/04/04 12:46:52.170 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055779463189] [2025/04/04 12:46:52.174 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055779463192] [2025/04/04 12:46:52.178 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055779463195] [2025/04/04 12:46:52.182 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055779463198] [2025/04/04 12:46:52.186 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055779463201] [2025/04/04 12:46:52.189 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055779463204] [2025/04/04 12:46:52.193 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055779463207] [2025/04/04 12:46:52.196 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055779463210] [2025/04/04 12:46:52.200 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055779463213] [2025/04/04 12:46:52.204 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055792832516] [2025/04/04 12:46:52.208 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055792832519] [2025/04/04 12:46:52.212 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055792832523] [2025/04/04 12:46:52.216 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055792832526] [2025/04/04 12:46:52.220 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055792832529] [2025/04/04 12:46:52.224 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055792832532] [2025/04/04 12:46:52.228 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055792832535] [2025/04/04 12:46:52.232 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055792832538] [2025/04/04 12:46:52.235 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055792832541] [2025/04/04 12:46:52.239 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055792832544] [2025/04/04 12:46:52.243 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055792832547] [2025/04/04 12:46:52.247 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055792832550] [2025/04/04 12:46:52.250 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055805939714] [2025/04/04 12:46:52.254 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055805939717] [2025/04/04 12:46:52.258 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055805939720] [2025/04/04 12:46:52.262 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055805939724] [2025/04/04 12:46:52.266 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055805939727] [2025/04/04 12:46:52.270 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055805939730] [2025/04/04 12:46:52.274 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055805939733] [2025/04/04 12:46:52.278 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055805939736] [2025/04/04 12:46:52.281 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055805939739] [2025/04/04 12:46:52.285 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055805939742] [2025/04/04 12:46:52.288 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055805939745] [2025/04/04 12:46:52.292 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055805939748] [2025/04/04 12:46:52.296 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055805939751] [2025/04/04 12:46:52.299 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055818784770] [2025/04/04 12:46:52.303 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055818784773] [2025/04/04 12:46:52.307 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055818784779] [2025/04/04 12:46:52.311 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055818784783] [2025/04/04 12:46:52.315 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055818784786] [2025/04/04 12:46:52.319 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055818784789] [2025/04/04 12:46:52.323 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055818784792] [2025/04/04 12:46:52.326 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055818784795] [2025/04/04 12:46:52.330 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055818784798] [2025/04/04 12:46:52.334 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055818784801] [2025/04/04 12:46:52.338 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055818784804] [2025/04/04 12:46:52.342 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055818784807] [2025/04/04 12:46:52.346 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055818784810] [2025/04/04 12:46:52.350 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055831891970] [2025/04/04 12:46:52.353 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055831891973] [2025/04/04 12:46:52.357 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055831891976] [2025/04/04 12:46:52.361 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055831891980] [2025/04/04 12:46:52.365 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055831891983] [2025/04/04 12:46:52.369 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055831891986] [2025/04/04 12:46:52.373 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055831891989] [2025/04/04 12:46:52.377 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055831891992] [2025/04/04 12:46:52.381 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055831891995] [2025/04/04 12:46:52.385 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055831891998] [2025/04/04 12:46:52.389 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055831892001] [2025/04/04 12:46:52.392 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055831892004] [2025/04/04 12:46:52.396 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055831892007] [2025/04/04 12:46:52.400 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055845261314] [2025/04/04 12:46:52.403 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055845261317] [2025/04/04 12:46:52.407 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119055845261320] [2025/04/04 12:46:52.422 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119055845261325] [generation=1] [session=26] [keys=100] [size=2.9kB] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=2.479974ms] [2025/04/04 12:46:52.422 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119055845261325] [generation=2] [session=26] [keys=0] [size=0B] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=43.313µs] [2025/04/04 12:46:52.422 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=100] [flush_wait_duration=2.622869ms] [total_duration=7.224007ms] ["memdb traversal cache hit"=200] ["memdb traversal cache miss"=200] [size=2.9kB] [startTS=457119055845261325] [2025/04/04 12:46:52.423 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119055845261325] [commitTS=457119055845261328] [2025/04/04 12:46:52.441 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119055845261331] [generation=1] [session=26] [keys=100] [size=2.9kB] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=2.13294ms] [2025/04/04 12:46:52.441 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119055845261331] [generation=2] [session=26] [keys=0] [size=0B] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=33.466µs] [2025/04/04 12:46:52.441 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=100] [flush_wait_duration=2.134032ms] [total_duration=6.881991ms] ["memdb traversal cache hit"=200] ["memdb traversal cache miss"=200] [size=2.9kB] [startTS=457119055845261331] [2025/04/04 12:46:52.443 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119055845261331] [commitTS=457119055845261332] [2025/04/04 12:46:52.448 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 12:46:52.449 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=1b90509c-a2f2-46f7-86c5-869438bb872e] [] [2025/04/04 12:46:52.449 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=1b90509c-a2f2-46f7-86c5-869438bb872e] [2025/04/04 12:46:52.449 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 12:46:52.449 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:46:52.449 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:46:52.449 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 51, tp general"] ["take time"=41.762µs] [2025/04/04 12:46:52.449 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 52, tp general"] ["take time"=31.194µs] [2025/04/04 12:46:52.449 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 53, tp general"] ["take time"=30.789µs] [2025/04/04 12:46:52.449 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 54, tp general"] ["take time"=28.576µs] [2025/04/04 12:46:52.449 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=1b90509c-a2f2-46f7-86c5-869438bb872e] [2025/04/04 12:46:52.449 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=1b90509c-a2f2-46f7-86c5-869438bb872e] [2025/04/04 12:46:52.450 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 12:46:52.450 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 12:46:52.452 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=1b90509c-a2f2-46f7-86c5-869438bb872e] ["take time"=3.35911ms] [2025/04/04 12:46:52.452 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=1b90509c-a2f2-46f7-86c5-869438bb872e] [2025/04/04 12:46:52.452 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 12:46:52.452 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/b89927ef-3e41-4285-ba91-f74c1d7526a2] [2025/04/04 12:46:52.452 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=1b90509c-a2f2-46f7-86c5-869438bb872e] [ttl-worker=task-manager] [ttl-worker=1b90509c-a2f2-46f7-86c5-869438bb872e] [originalCount=4] [newCount=0] [2025/04/04 12:46:52.452 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:46:52.452 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:46:52.452 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:46:52.452 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:46:52.452 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=1b90509c-a2f2-46f7-86c5-869438bb872e] [ttl-worker=task-manager] [ttl-worker=1b90509c-a2f2-46f7-86c5-869438bb872e] [originalCount=4] [newCount=0] [2025/04/04 12:46:52.455 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:46:52.455 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:46:52.455 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:46:52.455 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:46:52.457 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=1b90509c-a2f2-46f7-86c5-869438bb872e] [2025/04/04 12:46:52.457 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 12:46:52.458 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=329] [2025/04/04 12:46:52.458 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=bb9b5dfb-15ba-4350-994d-415beae5c646] [] [2025/04/04 12:46:52.458 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 12:46:52.458 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=bb9b5dfb-15ba-4350-994d-415beae5c646] [2025/04/04 12:46:52.458 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 12:46:52.458 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 12:46:52.458 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 12:46:52.458 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 12:46:52.458 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:46:52.458 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:52.458 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 12:46:52.458 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 12:46:52.458 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:46:52.458 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 12:46:52.458 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 12:46:52.458 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:46:52.458 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 12:46:52.458 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:46:52.458 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:52.458 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 12:46:52.458 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:46:52.458 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 12:46:52.458 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:52.458 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:46:52.458 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 12:46:52.458 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 12:46:52.458 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:52.458 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 12:46:52.458 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:46:52.458 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:46:52.458 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 12:46:52.458 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:52.458 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 12:46:52.458 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:46:52.459 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:52.458 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:52.458 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=bb9b5dfb-15ba-4350-994d-415beae5c646] [2025/04/04 12:46:52.459 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=bb9b5dfb-15ba-4350-994d-415beae5c646] [2025/04/04 12:46:52.458 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 12:46:52.458 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 12:46:52.459 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 12:46:52.458 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:46:52.459 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:46:52.458 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 12:46:52.458 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 12:46:52.459 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:46:52.459 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:46:52.458 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:52.458 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:46:52.458 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:46:52.458 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 12:46:52.459 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:46:52.458 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:52.459 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:52.458 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 12:46:52.458 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 12:46:52.458 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:46:52.459 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:46:52.458 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 12:46:52.459 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:46:52.459 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:46:52.458 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 12:46:52.459 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:46:52.459 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:52.459 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:52.459 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:46:52.459 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:46:52.460 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/stats/owner] [id=1b90509c-a2f2-46f7-86c5-869438bb872e] [error="context canceled"] [2025/04/04 12:46:52.460 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=1b90509c-a2f2-46f7-86c5-869438bb872e] [2025/04/04 12:46:52.460 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=bb9b5dfb-15ba-4350-994d-415beae5c646] [daemon-id=LogBackup::Advancer] [2025/04/04 12:46:52.460 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 12:46:52.460 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 12:46:52.460 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:46:52.460 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 12:46:52.460 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:46:52.460 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:46:52.460 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=1b90509c-a2f2-46f7-86c5-869438bb872e] [error="context canceled"] [2025/04/04 12:46:52.460 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 12:46:52.460 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 12:46:52.460 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 12:46:52.460 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:46:52.461 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=1b90509c-a2f2-46f7-86c5-869438bb872e] [error="context canceled"] [2025/04/04 12:46:52.461 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=1b90509c-a2f2-46f7-86c5-869438bb872e] [2025/04/04 12:46:52.461 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=1b90509c-a2f2-46f7-86c5-869438bb872e] [error="context canceled"] [2025/04/04 12:46:52.461 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=1b90509c-a2f2-46f7-86c5-869438bb872e] [error="context canceled"] [errorVerbose="context canceled\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:46:52.480 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 12:46:52.480 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:46:52.525 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 12:46:52.525 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:46:52.536 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=87.79297ms] [2025/04/04 12:46:52.539 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:46:52.539 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:46:52.539 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:46:52.539 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:46:52.539 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:46:52.539 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:46:52.539 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:46:52.539 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:52.539 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-12] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:46:52.539 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:52.539 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:52.539 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:46:52.540 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPipelinedDMLCommitSkipSecondaries (1.17s) === NAME === RUN TestPipelinedDMLDisableRetry [2025/04/04 12:46:52.549 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 12:46:52.549 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 12:46:52.550 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437819270443114] [2025/04/04 12:46:52.551 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:46:52.551 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 12:46:52.551 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:46:52.551 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:46:52.551 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:46:52.551 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:46:52.551 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:46:52.552 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:46:52.555 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 12:46:52.561 +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/04 12:46:52.562 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:46:52.562 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:46:52.573 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489437819270443114] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 12:46:52.582 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 12:46:52.617 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=836] ["lease id"=6f189600d42f9ca9] [2025/04/04 12:46:52.619 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/04 12:46:52.705 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=186] ["elapsed time"=83.591461ms] [2025/04/04 12:46:52.705 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 12:46:52.707 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 12:46:52.713 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=1d0edfd2-d2ae-4184-8650-bfdf097bcb88] [runWorker=true] [jobVersion=v2] [2025/04/04 12:46:52.713 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 12:46:52.715 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=1d0edfd2-d2ae-4184-8650-bfdf097bcb88] [2025/04/04 12:46:52.716 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 12:46:52.716 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 217604050944/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 12:46:52.716 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:46:52.716 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:46:52.716 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:46:52.716 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:46:52.716 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:46:52.716 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:46:52.716 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:46:52.716 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:46:52.716 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 12:46:52.716 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:46:52.716 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:46:52.716 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 12:46:52.716 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=53a1a785-0728-44d9-a32c-672c593f831e] [2025/04/04 12:46:52.718 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f189600d42f9cae] [ownerID=1d0edfd2-d2ae-4184-8650-bfdf097bcb88] [op=none] [2025/04/04 12:46:52.718 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=1d0edfd2-d2ae-4184-8650-bfdf097bcb88] [2025/04/04 12:46:52.718 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=1d0edfd2-d2ae-4184-8650-bfdf097bcb88] [ownerKey=/tidb/ddl/fg/owner/6f189600d42f9cae] [currRev=878] [2025/04/04 12:46:52.718 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:46:52.718 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=53a1a785-0728-44d9-a32c-672c593f831e] [daemon-id=LogBackup::Advancer] [2025/04/04 12:46:52.719 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 12:46:52.719 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa9600d42f9659] [ownerID=53a1a785-0728-44d9-a32c-672c593f831e] [op=none] [2025/04/04 12:46:52.719 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=53a1a785-0728-44d9-a32c-672c593f831e] [2025/04/04 12:46:52.719 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=53a1a785-0728-44d9-a32c-672c593f831e] [ownerKey=/tidb/br-stream/owner/3eaa9600d42f9659] [currRev=879] [2025/04/04 12:46:52.720 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f189600d42f9cae] [ownerID=1d0edfd2-d2ae-4184-8650-bfdf097bcb88] [op=none] [2025/04/04 12:46:52.720 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=1d0edfd2-d2ae-4184-8650-bfdf097bcb88] [op=none] [2025/04/04 12:46:52.720 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 12:46:52.733 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=1d0edfd2-d2ae-4184-8650-bfdf097bcb88] [2025/04/04 12:46:52.736 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:46:52.737 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 12:46:52.746 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:46:52.753 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:46:52.757 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:46:52.757 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:46:52.757 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 12:46:52.757 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:46:52.758 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:46:52.758 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 12:46:52.758 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 12:46:52.758 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 12:46:52.758 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 12:46:52.759 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:46:52.759 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=1d0edfd2-d2ae-4184-8650-bfdf097bcb88] [2025/04/04 12:46:52.760 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:46:52.760 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:46:52.760 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:46:52.760 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:46:52.760 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:46:52.760 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:46:52.760 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:46:52.760 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 12:46:52.760 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 12:46:52.760 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:46:52.760 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 12:46:52.760 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:46:52.760 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:46:52.760 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:46:52.761 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:46:52.762 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/04 12:46:52.764 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/506ea018-a39c-4695-81b2-f773bcd318ec] [2025/04/04 12:46:52.765 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=1d0edfd2-d2ae-4184-8650-bfdf097bcb88] [ttl-worker=task-manager] [ttl-worker=1d0edfd2-d2ae-4184-8650-bfdf097bcb88] [originalCount=0] [newCount=4] [2025/04/04 12:46:52.765 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=1d0edfd2-d2ae-4184-8650-bfdf097bcb88] [ttl-worker=task-manager] [ttl-worker=1d0edfd2-d2ae-4184-8650-bfdf097bcb88] [originalCount=0] [newCount=4] [2025/04/04 12:46:52.765 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=1d0edfd2-d2ae-4184-8650-bfdf097bcb88] [2025/04/04 12:46:52.765 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 12:46:52.765 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:46:52.765 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 12:46:52.766 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743770812766188078 [2025/04/04 12:46:52.771 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 12:46:52.779 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=19.799813ms] [2025/04/04 12:46:52.779 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:46:52.779 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 12:46:52.787 +00:00] [INFO] [set.go:172] ["set global var"] [conn=27] [name=tidb_schema_cache_size] [val=0] [2025/04/04 12:46:52.798 +00:00] [INFO] [set.go:172] ["set global var"] [conn=27] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 12:46:52.801 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=27] [schemaVersion=186] [cur_db=test] [sql="alter table `_t` nocache"] [user=] [2025/04/04 12:46:52.802 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=27] [schemaVersion=186] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/04 12:46:52.815 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:234, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:232, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:52.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:52.815 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:234, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:232, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:52.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/04 12:46:52.821 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=234] [conn=27] [job="ID:234, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:232, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:52.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:52.837 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=186] [neededSchemaVersion=187] ["elapsed time"=2.037216ms] [gotSchemaVersion=187] [phyTblIDs="[232]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:52.841 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=234] [version=187] [2025/04/04 12:46:52.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=187] ["take time"=9.404151ms] [job="ID:234, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:232, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:52.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:52.852 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=234] [conn=27] [job="ID:234, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:232, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:52.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:52.867 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=187] [neededSchemaVersion=188] ["elapsed time"=1.871079ms] [gotSchemaVersion=188] [phyTblIDs="[232]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:52.871 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=234] [version=188] [2025/04/04 12:46:52.872 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=188] ["take time"=8.863255ms] [job="ID:234, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:232, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:52.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:52.881 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=234] [conn=27] [job="ID:234, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:232, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:52.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:52.887 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 232, Old Table Name: _t)"] [2025/04/04 12:46:52.900 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=188] [neededSchemaVersion=189] ["elapsed time"=1.086405ms] [gotSchemaVersion=189] [phyTblIDs="[232]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:52.903 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=234] [version=189] [2025/04/04 12:46:52.905 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=189] ["take time"=8.039515ms] [job="ID:234, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:232, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:52.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:52.914 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=234] [tableIDs="[232]"] [comment="drop table: table ID"] [2025/04/04 12:46:52.921 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=234] [jobType="drop table"] [2025/04/04 12:46:52.922 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=234] [conn=27] [job="ID:234, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:232, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:52.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:52.941 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=234] [2025/04/04 12:46:52.951 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:235, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:230, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:52.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:52.951 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:235, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:230, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:52.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/04 12:46:52.958 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=235] [conn=27] [job="ID:235, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:230, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:52.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:52.977 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=189] [neededSchemaVersion=190] ["elapsed time"=1.801591ms] [gotSchemaVersion=190] [phyTblIDs="[230]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:52.980 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=235] [version=190] [2025/04/04 12:46:52.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=190] ["take time"=12.564379ms] [job="ID:235, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:230, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:52.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:52.992 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=235] [conn=27] [job="ID:235, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:230, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:52.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:53.007 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=190] [neededSchemaVersion=191] ["elapsed time"=1.855511ms] [gotSchemaVersion=191] [phyTblIDs="[230]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:53.011 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=235] [version=191] [2025/04/04 12:46:53.013 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=191] ["take time"=8.887247ms] [job="ID:235, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:230, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:52.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:53.021 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=235] [conn=27] [job="ID:235, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:230, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:52.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:53.027 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 230, Old Table Name: t)"] [2025/04/04 12:46:53.044 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=191] [neededSchemaVersion=192] ["elapsed time"=1.194206ms] [gotSchemaVersion=192] [phyTblIDs="[230]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:53.048 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=235] [version=192] [2025/04/04 12:46:53.050 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=192] ["take time"=8.849909ms] [job="ID:235, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:230, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:52.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:53.059 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=235] [tableIDs="[230]"] [comment="drop table: table ID"] [2025/04/04 12:46:53.064 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=235] [jobType="drop table"] [2025/04/04 12:46:53.065 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=235] [conn=27] [job="ID:235, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:230, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:52.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:53.083 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=235] [2025/04/04 12:46:53.083 +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: 1743770813084069622 [2025/04/04 12:46:53.096 +00:00] [INFO] [set.go:172] ["set global var"] [conn=28] [name=tidb_schema_cache_size] [val=0] testkit.go:123: RefreshSession rand seed: 1743770813097886362 [2025/04/04 12:46:53.102 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=28] [schemaVersion=192] [cur_db=test] [sql="drop table if exists t1"] [user=] [2025/04/04 12:46:53.115 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:237, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:236, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:53.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:53.115 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:237, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:236, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:53.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t1(a int primary key, b int)"] [2025/04/04 12:46:53.121 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=237] [conn=28] [job="ID:237, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:236, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:53.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:53.125 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 236, Table Name: t1)"] [2025/04/04 12:46:53.139 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=192] [neededSchemaVersion=193] ["elapsed time"=1.386484ms] [gotSchemaVersion=193] [phyTblIDs="[236]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:46:53.143 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=237] [version=193] [2025/04/04 12:46:53.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=193] ["take time"=7.955662ms] [job="ID:237, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:236, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:53.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:53.156 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=237] [conn=28] [job="ID:237, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:236, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:53.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:53.166 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=237] [2025/04/04 12:46:53.166 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=28] [schemaVersion=193] [cur_db=test] [sql="create table t1(a int primary key, b int)"] [user=] [2025/04/04 12:46:53.179 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:239, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:238, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:53.147 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:53.179 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:239, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:238, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:53.147 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t2(a int, b int)"] [2025/04/04 12:46:53.185 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=239] [conn=28] [job="ID:239, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:238, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:53.147 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:53.189 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 238, Table Name: t2)"] [2025/04/04 12:46:53.203 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=193] [neededSchemaVersion=194] ["elapsed time"=1.416711ms] [gotSchemaVersion=194] [phyTblIDs="[238]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:46:53.206 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=239] [version=194] [2025/04/04 12:46:53.208 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=194] ["take time"=8.53451ms] [job="ID:239, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:238, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:53.147 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:53.219 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=239] [conn=28] [job="ID:239, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:238, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:53.147 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:53.230 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=239] [2025/04/04 12:46:53.230 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=28] [schemaVersion=194] [cur_db=test] [sql="create table t2(a int, b int)"] [user=] [2025/04/04 12:46:53.725 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/04 12:46:53.725 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 12:46:53.725 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 12:46:53.725 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:46:53.740 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119056186048519] [2025/04/04 12:46:53.743 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119056054714388] [generation=1] [session=28] [keys=1] [size=29B] ["flushed keys"=1] ["flushed size"=29B] ["take time"=951.173µs] [2025/04/04 12:46:53.743 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/04 12:46:53.743 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457119056054714388] [startKey=7480000000000000ec5f728000000000000001] [endKey=7480000000000000ec5f728000000000000001] [2025/04/04 12:46:53.743 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457119056054714388] [commitTS=0] [session=28] [2025/04/04 12:46:53.744 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 457119056054714388\n# Conn_ID: 28\n# Query_time: 0.507167404\n# Parse_time: 0.000371336\n# Compile_time: 0.000974241\n# Rewrite_time: 0.000603485\n# Optimize_time: 0.000093561\n# Wait_TS: 0.000378432\n# Cop_time: 0.000670017 Wait_time: 0.000024405 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.4405e-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('8wbwkDAJMjdfMQkwCTAJTi9BCTAJdGltZTo1MDQuOG1zLCBvcGVuOjE0OS4zwrVzLCBjbG9zZTo3MC44wrVzLCBsb29wczoxLCBwcmVwYXJlOiA1MDQuNm1zLCBpbnNlcnQ6MTM4LjXCtXMJNDAyIEJ5dGVzCU4vQQoxCTE0XzYJMAkxMDAwMAl0ZXN0LnQyLmEJMgkFgAwxLjE3GX8QMzMuNMIBcABjBX8INDQuLn8AHDIJMzIwIEJ5AVwNCCQKMgkzMV8xMAkwDWFYZGF0YTpUYWJsZUZ1bGxTY2FuXzkJMgkFbBA4ODMuMgVfCe0MMDMuNwUPCW4EMTgN/AntfDIsIGNvcF90YXNrOiB7bnVtOiAxLCBtYXg6IDU3NS45BToocHJvY19rZXlzOiAJMHRyX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgYnVpbGQFTghfZHUFGhhuOiAxNS42BUiobWF4X2Rpc3RzcWxfY29uY3VycmVuY3k6IDF9LCBycGNfaW5mbzp7Q29wOgGLNF9ycGM6MSwgdG90YWxfBd0sNTAxwrVzfX0JMjg2LSQhgCAzCTQzXzkJMV8xIaB0YWJsZTp0Miwga2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvCSE1BGt2BbIEOnsFYwQwc1UJDH0sIHMhXCBkZXRhaWw6IHsJihhwcm9jZXNzORJGFwAgX3NpemU6IDgyEb4pPjgzLCBnZXRfc25hcHNob3QJ1AwgOS4zKaJocm9ja3NkYjoge2tleV9za2lwcGVkX2NvdW50JXoMYmxvYyGnEH19fSwgAa0+mgAId2FpEVUEMjRNZQB0AeAAZyFeEbgBOhA6IDEzLimWGSEdPwQxMi4eAAx3YWxsETdAMDkuN8K1c30JTi9BCU4vQQo=')\n# Plan_digest: f7e0f28c5c86b45fa3d92926774edc8a8076ac4356558ce21165e890659f0d92\n# Binary_plan: tidb_decode_binary_plan('ygfACsUHCghJbnNlcnRfMRLJBgoGU29ydF82EuQFCg5UYWJsZVJlYWRlcl8xMBKoAwoPVAETUEZ1bGxTY2FuXzkhjARw3ptXUUEpAAEB8FiIw0AwAjgCQAJKDAoKCgR0ZXN0EgJ0MlIea2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvargCdGlrdl90YXNrOnt0aW1lOjBzLCBsb29wczoxfSwgcwFtfGRldGFpbDoge3RvdGFsX3Byb2Nlc3Nfa2V5czogMiwgRhcAHF9zaXplOiA4FR0JLOgzLCBnZXRfc25hcHNob3RfdGltZTogOS4zN8K1cywgcm9ja3NkYjoge2tleV9za2lwcGVkX2NvdW50OgFoMGJsb2NrOiB7fX19LCABPD6aAAh3YWkRVQwyNC40BVUAdAHgDGdycGMVuAE6FDogMTMuNjohAB0/BDEyLh4ADHdhbGwRNwgwOS4Brgh9cP8RAQQBeBEKJP8BIWKNiDGVpxcylwE0AUABUhRkYXRhOlRhYmw9xQRaNAWMEDg4My4yBYwcb3BlbjoxMDMFYywsIGNsb3NlOjE4LjMFHjRsb29wczoyYrQBY29wXyW0TCB7bnVtOiAxLCBtYXg6IDU3NS45BSwhpS12kDIsIGNvcHJfY2FjaGVfaGl0X3JhdGlvOiAwLjAwLCBidWlsZF8BTghfZHUFGhBuOiAxNS0AcG1heF9kaXN0c3FsX2NvbmN1cnJlbmN5OiAxfSwgIVYkaW5mbzp7Q29wOgGLFF9ycGM6MVETBd4sNTAxwrVzfX1wngJ4PSkYVC2mcdbmWkIpASwJdGVzdC50Mi5hWjIFQBgxLjE3bXMsLRwEMzMt2ABjJRwQNDQuOMJBPARsbyUcDHDAAjghbxQDTi9BWjMFQBA1MDQuOBlBBDQ5LU4JQQQ3MDJBACwxYiFwcmVwYXJlOiABOQA2ATl4aW5zZXJ0OjEzOC41wrVzcJIDeP///////////wEYAQ==')\n# Resource_group: default\nuse test;\ninsert into t1 select * from t2 order by a;"] [2025/04/04 12:46:53.745 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=194] [error="[kv:9007]Write conflict, txnStartTS=457119056054714388, conflictStartTS=457119056186048519, conflictCommitTS=457119056186048520, key={tableID=236, tableName=test.t1, handle=1}, originalKey=7480000000000000ec5f728000000000000001, primary={tableID=236, tableName=test.t1, handle=1}, originalPrimaryKey=7480000000000000ec5f728000000000000001, reason=Optimistic [try again later]"] [session="{\n \"currDBName\": \"test\",\n \"id\": 28,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2025/04/04 12:46:53.745 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=1d0edfd2-d2ae-4184-8650-bfdf097bcb88] [] [2025/04/04 12:46:53.745 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 12:46:53.745 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 12:46:53.745 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=1d0edfd2-d2ae-4184-8650-bfdf097bcb88] [2025/04/04 12:46:53.745 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:46:53.746 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:46:53.746 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 55, tp general"] ["take time"=85.517µs] [2025/04/04 12:46:53.746 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 56, tp general"] ["take time"=78.166µs] [2025/04/04 12:46:53.746 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 57, tp general"] ["take time"=46.172µs] [2025/04/04 12:46:53.746 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 58, tp general"] ["take time"=35.549µs] [2025/04/04 12:46:53.746 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=1d0edfd2-d2ae-4184-8650-bfdf097bcb88] [2025/04/04 12:46:53.746 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=1d0edfd2-d2ae-4184-8650-bfdf097bcb88] [2025/04/04 12:46:53.748 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 12:46:53.748 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 12:46:53.749 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=1d0edfd2-d2ae-4184-8650-bfdf097bcb88] ["take time"=4.284865ms] [2025/04/04 12:46:53.750 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=1d0edfd2-d2ae-4184-8650-bfdf097bcb88] [2025/04/04 12:46:53.750 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 12:46:53.750 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/506ea018-a39c-4695-81b2-f773bcd318ec] [2025/04/04 12:46:53.750 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=1d0edfd2-d2ae-4184-8650-bfdf097bcb88] [ttl-worker=task-manager] [ttl-worker=1d0edfd2-d2ae-4184-8650-bfdf097bcb88] [originalCount=4] [newCount=0] [2025/04/04 12:46:53.750 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:46:53.750 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:46:53.750 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:46:53.750 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:46:53.750 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=1d0edfd2-d2ae-4184-8650-bfdf097bcb88] [ttl-worker=task-manager] [ttl-worker=1d0edfd2-d2ae-4184-8650-bfdf097bcb88] [originalCount=4] [newCount=0] [2025/04/04 12:46:53.752 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:46:53.753 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:46:53.753 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:46:53.753 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:46:53.755 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=1d0edfd2-d2ae-4184-8650-bfdf097bcb88] [2025/04/04 12:46:53.755 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 12:46:53.756 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=836] [2025/04/04 12:46:53.756 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 12:46:53.756 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 12:46:53.756 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 12:46:53.756 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 12:46:53.756 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:46:53.756 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:53.756 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 12:46:53.756 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:46:53.756 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:46:53.756 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 12:46:53.756 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 12:46:53.756 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:46:53.756 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 12:46:53.756 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 12:46:53.756 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:53.756 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:46:53.756 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:53.756 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 12:46:53.756 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 12:46:53.756 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:53.756 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=53a1a785-0728-44d9-a32c-672c593f831e] [] [2025/04/04 12:46:53.756 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:53.756 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 12:46:53.756 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 12:46:53.756 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:46:53.756 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=53a1a785-0728-44d9-a32c-672c593f831e] [2025/04/04 12:46:53.756 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:46:53.756 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:53.756 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:46:53.756 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 12:46:53.756 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:46:53.756 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 12:46:53.756 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:46:53.756 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:53.756 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 12:46:53.756 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:46:53.756 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 12:46:53.756 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 12:46:53.756 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 12:46:53.757 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:46:53.757 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:46:53.756 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:53.756 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 12:46:53.756 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 12:46:53.757 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:53.757 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:46:53.757 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:46:53.756 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 12:46:53.756 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 12:46:53.756 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 12:46:53.756 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 12:46:53.756 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 12:46:53.757 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:46:53.757 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:46:53.756 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:46:53.756 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 12:46:53.757 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:46:53.756 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 12:46:53.757 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:46:53.756 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 12:46:53.756 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:53.757 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:46:53.756 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:53.756 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=53a1a785-0728-44d9-a32c-672c593f831e] [2025/04/04 12:46:53.757 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:46:53.757 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:53.757 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=53a1a785-0728-44d9-a32c-672c593f831e] [2025/04/04 12:46:53.758 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/stats/owner] [id=1d0edfd2-d2ae-4184-8650-bfdf097bcb88] [error="context canceled"] [2025/04/04 12:46:53.758 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=1d0edfd2-d2ae-4184-8650-bfdf097bcb88] [2025/04/04 12:46:53.759 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 12:46:53.759 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:46:53.759 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 12:46:53.759 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 12:46:53.759 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 12:46:53.759 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=53a1a785-0728-44d9-a32c-672c593f831e] [daemon-id=LogBackup::Advancer] [2025/04/04 12:46:53.759 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 12:46:53.759 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 12:46:53.759 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:46:53.759 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:46:53.759 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:46:53.760 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=1d0edfd2-d2ae-4184-8650-bfdf097bcb88] [error="context canceled"] [2025/04/04 12:46:53.760 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=1d0edfd2-d2ae-4184-8650-bfdf097bcb88] [2025/04/04 12:46:53.778 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 12:46:53.778 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:46:53.822 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=1d0edfd2-d2ae-4184-8650-bfdf097bcb88] [error="context canceled"] [2025/04/04 12:46:53.822 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 12:46:53.822 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:46:53.833 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=87.931941ms] [2025/04/04 12:46:54.557 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/04 12:46:58.744 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119056054714388 rolled_back:true is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:46:58.744 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119056054714388 rolled_back:true is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:46:58.744 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119056054714388 rolled_back:true is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:46:58.745 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:46:58.745 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:46:58.745 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:46:58.745 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:46:58.745 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:46:58.745 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:46:58.745 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:46:58.745 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:58.745 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-13] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:46:58.745 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:58.745 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:58.745 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:46:58.746 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPipelinedDMLDisableRetry (6.21s) === NAME === RUN TestReplaceRowCheck [2025/04/04 12:46:58.755 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 12:46:58.755 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 12:46:58.756 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437819270443114] [2025/04/04 12:46:58.757 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:46:58.757 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 12:46:58.757 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:46:58.757 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:46:58.757 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:46:58.757 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:46:58.758 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:46:58.758 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:46:58.762 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 12:46:58.767 +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/04 12:46:58.768 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:46:58.768 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:46:58.777 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489437819270443114] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 12:46:58.787 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 12:46:58.821 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=937] ["lease id"=6f189600d42f9cd8] [2025/04/04 12:46:58.823 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/04 12:46:58.911 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=194] ["elapsed time"=85.396236ms] [2025/04/04 12:46:58.911 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 12:46:58.913 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 12:46:58.919 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=39e5189e-3536-458c-92a6-1dedff2224c3] [runWorker=true] [jobVersion=v2] [2025/04/04 12:46:58.919 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 12:46:58.921 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=39e5189e-3536-458c-92a6-1dedff2224c3] [2025/04/04 12:46:58.921 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 12:46:58.922 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 217604067328/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 12:46:58.922 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:46:58.922 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:46:58.922 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:46:58.922 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:46:58.922 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:46:58.922 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:46:58.922 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:46:58.922 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 12:46:58.922 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:46:58.922 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:46:58.922 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:46:58.922 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 12:46:58.922 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=323b2f5f-9739-4f1c-94d3-c15ed0dc9830] [2025/04/04 12:46:58.924 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9600d42f9685] [ownerID=39e5189e-3536-458c-92a6-1dedff2224c3] [op=none] [2025/04/04 12:46:58.924 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=39e5189e-3536-458c-92a6-1dedff2224c3] [2025/04/04 12:46:58.924 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=39e5189e-3536-458c-92a6-1dedff2224c3] [ownerKey=/tidb/ddl/fg/owner/3eaa9600d42f9685] [currRev=922] [2025/04/04 12:46:58.925 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:46:58.925 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=323b2f5f-9739-4f1c-94d3-c15ed0dc9830] [daemon-id=LogBackup::Advancer] [2025/04/04 12:46:58.925 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 12:46:58.925 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa9600d42f9687] [ownerID=323b2f5f-9739-4f1c-94d3-c15ed0dc9830] [op=none] [2025/04/04 12:46:58.925 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=323b2f5f-9739-4f1c-94d3-c15ed0dc9830] [2025/04/04 12:46:58.926 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=323b2f5f-9739-4f1c-94d3-c15ed0dc9830] [ownerKey=/tidb/br-stream/owner/3eaa9600d42f9687] [currRev=923] [2025/04/04 12:46:58.926 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9600d42f9685] [ownerID=39e5189e-3536-458c-92a6-1dedff2224c3] [op=none] [2025/04/04 12:46:58.926 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=39e5189e-3536-458c-92a6-1dedff2224c3] [op=none] [2025/04/04 12:46:58.926 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 12:46:58.934 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestReplaceRowCheck\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:724\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:46:58.935 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestReplaceRowCheck\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:724\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:46:58.936 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestReplaceRowCheck\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:724\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:46:58.936 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=39e5189e-3536-458c-92a6-1dedff2224c3] [2025/04/04 12:46:58.937 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:46:58.937 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 12:46:58.947 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:46:58.954 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:46:58.959 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:46:58.959 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:46:58.959 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:46:58.959 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:46:58.959 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 12:46:58.959 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 12:46:58.959 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 12:46:58.959 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 12:46:58.959 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 12:46:58.961 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:46:58.961 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=39e5189e-3536-458c-92a6-1dedff2224c3] [2025/04/04 12:46:58.962 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:46:58.962 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:46:58.962 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:46:58.962 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:46:58.962 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:46:58.962 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:46:58.962 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 12:46:58.962 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 12:46:58.962 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:46:58.962 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:46:58.962 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 12:46:58.962 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:46:58.962 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:46:58.962 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:46:58.963 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:46:58.964 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/04 12:46:58.967 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/1940f0bb-46a8-44af-ac7c-72d45b63bd2f] [2025/04/04 12:46:58.967 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=39e5189e-3536-458c-92a6-1dedff2224c3] [ttl-worker=task-manager] [ttl-worker=39e5189e-3536-458c-92a6-1dedff2224c3] [originalCount=0] [newCount=4] [2025/04/04 12:46:58.967 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=39e5189e-3536-458c-92a6-1dedff2224c3] [ttl-worker=task-manager] [ttl-worker=39e5189e-3536-458c-92a6-1dedff2224c3] [originalCount=0] [newCount=4] [2025/04/04 12:46:58.967 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=39e5189e-3536-458c-92a6-1dedff2224c3] [2025/04/04 12:46:58.967 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:46:58.968 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 12:46:58.968 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] [2025/04/04 12:46:58.968 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] testkit.go:123: RefreshSession rand seed: 1743770818968416753 [2025/04/04 12:46:58.973 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 12:46:58.980 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=19.505083ms] [2025/04/04 12:46:58.981 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 12:46:58.981 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:46:58.988 +00:00] [INFO] [set.go:172] ["set global var"] [conn=30] [name=tidb_schema_cache_size] [val=0] [2025/04/04 12:46:59.008 +00:00] [INFO] [set.go:172] ["set global var"] [conn=30] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 12:46:59.011 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=30] [schemaVersion=194] [cur_db=test] [sql="alter table `t1` nocache"] [user=] [2025/04/04 12:46:59.012 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=30] [schemaVersion=194] [cur_db=test] [sql="alter table `t2` nocache"] [user=] [2025/04/04 12:46:59.026 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:240, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:236, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:58.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t1`,`t2`"] [2025/04/04 12:46:59.026 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:240, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:236, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:58.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:59.032 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=240] [conn=30] [job="ID:240, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:236, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:58.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:59.048 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=194] [neededSchemaVersion=195] ["elapsed time"=1.882284ms] [gotSchemaVersion=195] [phyTblIDs="[236]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:59.052 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=240] [version=195] [2025/04/04 12:46:59.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=195] ["take time"=9.154045ms] [job="ID:240, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:236, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:58.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:59.063 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=240] [conn=30] [job="ID:240, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:236, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:58.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:59.079 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=195] [neededSchemaVersion=196] ["elapsed time"=2.025933ms] [gotSchemaVersion=196] [phyTblIDs="[236]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:59.082 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=240] [version=196] [2025/04/04 12:46:59.084 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=196] ["take time"=8.612018ms] [job="ID:240, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:236, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:58.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:59.092 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=240] [conn=30] [job="ID:240, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:236, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:58.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:59.098 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 236, Old Table Name: t1)"] [2025/04/04 12:46:59.111 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=196] [neededSchemaVersion=197] ["elapsed time"=1.111361ms] [gotSchemaVersion=197] [phyTblIDs="[236]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:59.115 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=240] [version=197] [2025/04/04 12:46:59.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=197] ["take time"=10.409075ms] [job="ID:240, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:236, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:58.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:59.128 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=240] [tableIDs="[236]"] [comment="drop table: table ID"] [2025/04/04 12:46:59.136 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=240] [jobType="drop table"] [2025/04/04 12:46:59.137 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=240] [conn=30] [job="ID:240, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:236, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:58.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:59.155 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=240] [2025/04/04 12:46:59.166 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:241, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:238, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:59.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:59.166 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:241, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:238, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:59.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t1`,`t2`"] [2025/04/04 12:46:59.171 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=241] [conn=30] [job="ID:241, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:238, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:59.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:59.187 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=197] [neededSchemaVersion=198] ["elapsed time"=1.889411ms] [gotSchemaVersion=198] [phyTblIDs="[238]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:59.190 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=241] [version=198] [2025/04/04 12:46:59.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=198] ["take time"=8.863552ms] [job="ID:241, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:238, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:59.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:59.202 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=241] [conn=30] [job="ID:241, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:238, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:59.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:59.217 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=198] [neededSchemaVersion=199] ["elapsed time"=1.941626ms] [gotSchemaVersion=199] [phyTblIDs="[238]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:59.220 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=241] [version=199] [2025/04/04 12:46:59.222 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=199] ["take time"=8.914969ms] [job="ID:241, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:238, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:59.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:59.230 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=241] [conn=30] [job="ID:241, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:238, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:59.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:59.236 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 238, Old Table Name: t2)"] [2025/04/04 12:46:59.249 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=199] [neededSchemaVersion=200] ["elapsed time"=1.086358ms] [gotSchemaVersion=200] [phyTblIDs="[238]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:59.253 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=241] [version=200] [2025/04/04 12:46:59.254 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=200] ["take time"=7.959062ms] [job="ID:241, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:238, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:59.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:59.263 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=241] [tableIDs="[238]"] [comment="drop table: table ID"] [2025/04/04 12:46:59.268 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=241] [jobType="drop table"] [2025/04/04 12:46:59.269 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=241] [conn=30] [job="ID:241, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:238, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:59.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:59.287 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=241] [2025/04/04 12:46:59.288 +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: 1743770819288539301 [2025/04/04 12:46:59.292 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=31] [schemaVersion=200] [cur_db=test] [sql="drop table if exists t1, _t1"] [user=] [2025/04/04 12:46:59.305 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:243, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:242, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:59.248 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t1(a int, b int)"] [2025/04/04 12:46:59.305 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:243, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:242, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:59.248 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:59.311 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=243] [conn=31] [job="ID:243, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:242, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:59.248 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:59.315 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 242, Table Name: t1)"] [2025/04/04 12:46:59.330 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=200] [neededSchemaVersion=201] ["elapsed time"=1.612923ms] [gotSchemaVersion=201] [phyTblIDs="[242]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:46:59.334 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=243] [version=201] [2025/04/04 12:46:59.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=201] ["take time"=8.999958ms] [job="ID:243, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:242, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:59.248 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:59.347 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=243] [conn=31] [job="ID:243, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:242, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:59.248 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:59.358 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=243] [2025/04/04 12:46:59.359 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=31] [schemaVersion=201] [cur_db=test] [sql="create table t1(a int, b int)"] [user=] [2025/04/04 12:46:59.372 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:245, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:244, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:59.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t1(a int primary key, b int)"] [2025/04/04 12:46:59.372 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:245, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:244, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:59.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:59.378 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=245] [conn=31] [job="ID:245, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:244, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:59.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:59.382 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 244, Table Name: _t1)"] [2025/04/04 12:46:59.396 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=201] [neededSchemaVersion=202] ["elapsed time"=1.467924ms] [gotSchemaVersion=202] [phyTblIDs="[244]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:46:59.400 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=245] [version=202] [2025/04/04 12:46:59.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=202] ["take time"=9.708958ms] [job="ID:245, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:244, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:59.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:59.415 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=245] [conn=31] [job="ID:245, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:244, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:59.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:59.427 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=245] [2025/04/04 12:46:59.427 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=31] [schemaVersion=202] [cur_db=test] [sql="create table _t1(a int primary key, b int)"] [user=] [2025/04/04 12:46:59.440 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119057680269329] [generation=1] [session=31] [keys=2] [size=58B] ["flushed keys"=2] ["flushed size"=58B] ["take time"=938.339µs] [2025/04/04 12:46:59.440 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=2] [flush_wait_duration=1.066404ms] [total_duration=3.993117ms] ["memdb traversal cache hit"=16] ["memdb traversal cache miss"=12] [size=58B] [startTS=457119057680269329] [2025/04/04 12:46:59.441 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119057680269329] [commitTS=457119057680269330] [2025/04/04 12:46:59.441 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119057680269329] [startKey=7480000000000000f45f728000000000000001] [endKey=7480000000000000f45f728000000000000002] [concurrency=8] [2025/04/04 12:46:59.446 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119057680269329] [startKey=7480000000000000f45f728000000000000001] [endKey=7480000000000000f45f728000000000000002] ["cost time"=4.158106ms] ["completed regions"=1] [2025/04/04 12:46:59.446 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119057680269329] [commitTS=457119057680269330] [session=31] [2025/04/04 12:46:59.461 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:247, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:244, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:59.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/04 12:46:59.461 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:247, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:244, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:59.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:59.467 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=247] [conn=31] [job="ID:247, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:244, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:59.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:59.474 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 246, Table Name: _t1, Old Table ID: 244, Old Table Name: _t1)"] [2025/04/04 12:46:59.489 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=202] [neededSchemaVersion=203] ["elapsed time"=1.5487ms] [gotSchemaVersion=203] [phyTblIDs="[244,246]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 12:46:59.493 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=247] [version=203] [2025/04/04 12:46:59.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=203] ["take time"=8.485762ms] [job="ID:247, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:244, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:59.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:59.505 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=247] [tableIDs="[244]"] [comment="truncate table: table ID"] [2025/04/04 12:46:59.509 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=247] [jobType="truncate table"] [2025/04/04 12:46:59.510 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=247] [conn=31] [job="ID:247, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:244, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:59.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:59.527 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=247] [2025/04/04 12:46:59.528 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=31] [schemaVersion=203] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/04 12:46:59.533 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119057706221581] [generation=1] [session=31] [keys=2] [size=58B] ["flushed keys"=2] ["flushed size"=58B] ["take time"=926.27µs] [2025/04/04 12:46:59.533 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=2] [flush_wait_duration=1.028623ms] [total_duration=3.614627ms] ["memdb traversal cache hit"=4] ["memdb traversal cache miss"=10] [size=58B] [startTS=457119057706221581] [2025/04/04 12:46:59.534 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119057706221581] [commitTS=457119057706221582] [2025/04/04 12:46:59.534 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119057706221581] [startKey=7480000000000000f65f728000000000000001] [endKey=7480000000000000f65f728000000000000002] [concurrency=8] [2025/04/04 12:46:59.536 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119057706221581] [startKey=7480000000000000f65f728000000000000001] [endKey=7480000000000000f65f728000000000000002] ["cost time"=2.033507ms] ["completed regions"=1] [2025/04/04 12:46:59.537 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119057706221581] [commitTS=457119057706221582] [session=31] [2025/04/04 12:46:59.549 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:249, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:246, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:59.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:59.549 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:249, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:246, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:59.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/04 12:46:59.555 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=249] [conn=31] [job="ID:249, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:246, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:59.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:59.562 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 248, Table Name: _t1, Old Table ID: 246, Old Table Name: _t1)"] [2025/04/04 12:46:59.576 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=203] [neededSchemaVersion=204] ["elapsed time"=1.52738ms] [gotSchemaVersion=204] [phyTblIDs="[246,248]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 12:46:59.580 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=249] [version=204] [2025/04/04 12:46:59.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=204] ["take time"=9.203079ms] [job="ID:249, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:246, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:59.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:59.593 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=249] [tableIDs="[246]"] [comment="truncate table: table ID"] [2025/04/04 12:46:59.597 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=249] [jobType="truncate table"] [2025/04/04 12:46:59.598 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=249] [conn=31] [job="ID:249, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:246, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:59.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:59.615 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=249] [2025/04/04 12:46:59.616 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=31] [schemaVersion=204] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/04 12:46:59.621 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119057732435975] [generation=1] [session=31] [keys=2] [size=58B] ["flushed keys"=2] ["flushed size"=58B] ["take time"=892.829µs] [2025/04/04 12:46:59.621 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=2] [flush_wait_duration=994.444µs] [total_duration=3.709332ms] ["memdb traversal cache hit"=8] ["memdb traversal cache miss"=12] [size=58B] [startTS=457119057732435975] [2025/04/04 12:46:59.622 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119057732435975] [commitTS=457119057732435976] [2025/04/04 12:46:59.622 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119057732435975] [startKey=7480000000000000f85f728000000000000001] [endKey=7480000000000000f85f728000000000000002] [concurrency=8] [2025/04/04 12:46:59.625 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119057732435975] [startKey=7480000000000000f85f728000000000000001] [endKey=7480000000000000f85f728000000000000002] ["cost time"=2.173173ms] ["completed regions"=1] [2025/04/04 12:46:59.625 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119057732435975] [commitTS=457119057732435976] [session=31] [2025/04/04 12:46:59.626 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 12:46:59.626 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 12:46:59.626 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=39e5189e-3536-458c-92a6-1dedff2224c3] [] [2025/04/04 12:46:59.626 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=39e5189e-3536-458c-92a6-1dedff2224c3] [2025/04/04 12:46:59.626 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:46:59.626 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:46:59.626 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 59, tp general"] ["take time"=46.732µs] [2025/04/04 12:46:59.626 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 60, tp general"] ["take time"=35.651µs] [2025/04/04 12:46:59.626 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 61, tp general"] ["take time"=30.828µs] [2025/04/04 12:46:59.627 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 62, tp general"] ["take time"=29.229µs] [2025/04/04 12:46:59.627 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 63, tp general"] ["take time"=33.761µs] [2025/04/04 12:46:59.627 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 64, tp general"] ["take time"=44.834µs] [2025/04/04 12:46:59.627 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=39e5189e-3536-458c-92a6-1dedff2224c3] [2025/04/04 12:46:59.627 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=39e5189e-3536-458c-92a6-1dedff2224c3] [2025/04/04 12:46:59.628 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 12:46:59.628 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 12:46:59.630 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=39e5189e-3536-458c-92a6-1dedff2224c3] ["take time"=3.889587ms] [2025/04/04 12:46:59.630 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=39e5189e-3536-458c-92a6-1dedff2224c3] [2025/04/04 12:46:59.630 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 12:46:59.630 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/1940f0bb-46a8-44af-ac7c-72d45b63bd2f] [2025/04/04 12:46:59.630 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=39e5189e-3536-458c-92a6-1dedff2224c3] [ttl-worker=task-manager] [ttl-worker=39e5189e-3536-458c-92a6-1dedff2224c3] [originalCount=4] [newCount=0] [2025/04/04 12:46:59.630 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:46:59.630 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:46:59.630 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:46:59.630 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:46:59.630 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=39e5189e-3536-458c-92a6-1dedff2224c3] [ttl-worker=task-manager] [ttl-worker=39e5189e-3536-458c-92a6-1dedff2224c3] [originalCount=4] [newCount=0] [2025/04/04 12:46:59.633 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:46:59.633 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:46:59.633 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:46:59.633 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:46:59.635 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=39e5189e-3536-458c-92a6-1dedff2224c3] [2025/04/04 12:46:59.635 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 12:46:59.636 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=937] [2025/04/04 12:46:59.636 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 12:46:59.636 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 12:46:59.636 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 12:46:59.636 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 12:46:59.636 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:46:59.636 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 12:46:59.636 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 12:46:59.636 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:46:59.636 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 12:46:59.636 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:46:59.636 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:46:59.636 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:46:59.636 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:46:59.636 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 12:46:59.636 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 12:46:59.636 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 12:46:59.636 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 12:46:59.636 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 12:46:59.636 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:46:59.636 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:46:59.636 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 12:46:59.636 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 12:46:59.636 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 12:46:59.636 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:46:59.636 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:59.636 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 12:46:59.636 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:46:59.636 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:46:59.636 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:46:59.636 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:59.636 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 12:46:59.636 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:59.636 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:46:59.636 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:59.636 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 12:46:59.636 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 12:46:59.636 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=323b2f5f-9739-4f1c-94d3-c15ed0dc9830] [] [2025/04/04 12:46:59.636 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:46:59.636 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:46:59.636 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=323b2f5f-9739-4f1c-94d3-c15ed0dc9830] [2025/04/04 12:46:59.636 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:46:59.636 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:46:59.636 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:59.636 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:59.636 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:59.636 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 12:46:59.636 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:59.636 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:46:59.636 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 12:46:59.637 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:46:59.636 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 12:46:59.636 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 12:46:59.636 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:59.636 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:46:59.636 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 12:46:59.637 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 12:46:59.637 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 12:46:59.637 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:46:59.636 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:46:59.636 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=323b2f5f-9739-4f1c-94d3-c15ed0dc9830] [2025/04/04 12:46:59.637 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 12:46:59.637 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=323b2f5f-9739-4f1c-94d3-c15ed0dc9830] [2025/04/04 12:46:59.637 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:46:59.637 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:59.636 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:46:59.637 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:46:59.637 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/stats/owner] [id=39e5189e-3536-458c-92a6-1dedff2224c3] [error="context canceled"] [2025/04/04 12:46:59.637 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=39e5189e-3536-458c-92a6-1dedff2224c3] [2025/04/04 12:46:59.638 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 12:46:59.638 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 12:46:59.638 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 12:46:59.638 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:46:59.638 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:46:59.638 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 12:46:59.638 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=323b2f5f-9739-4f1c-94d3-c15ed0dc9830] [daemon-id=LogBackup::Advancer] [2025/04/04 12:46:59.638 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 12:46:59.639 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:46:59.639 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:46:59.639 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 12:46:59.640 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=39e5189e-3536-458c-92a6-1dedff2224c3] [error="context canceled"] [2025/04/04 12:46:59.640 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=39e5189e-3536-458c-92a6-1dedff2224c3] [2025/04/04 12:46:59.656 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 12:46:59.656 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:46:59.699 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=39e5189e-3536-458c-92a6-1dedff2224c3] [error="context canceled"] [2025/04/04 12:46:59.699 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 12:46:59.700 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:46:59.711 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=84.956151ms] [2025/04/04 12:47:00.762 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/04 12:47:04.446 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119057680269329 commit_ts:457119057680269330 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:47:04.446 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119057680269329 commit_ts:457119057680269330 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:47:04.446 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119057680269329 commit_ts:457119057680269330 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:47:04.538 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119057706221581 commit_ts:457119057706221582 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:47:04.538 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119057706221581 commit_ts:457119057706221582 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:47:04.538 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119057706221581 commit_ts:457119057706221582 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:47:04.626 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119057732435975 commit_ts:457119057732435976 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:47:04.626 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119057732435975 commit_ts:457119057732435976 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:47:04.626 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119057732435975 commit_ts:457119057732435976 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:47:04.626 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:47:04.626 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:47:04.626 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:47:04.626 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:47:04.626 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:47:04.626 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:47:04.626 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:47:04.626 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:47:04.626 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-14] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:47:04.626 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:47:04.626 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:47:04.627 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:47:04.628 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestReplaceRowCheck (5.88s) === NAME === RUN TestDuplicateKeyErrorMessage [2025/04/04 12:47:04.636 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 12:47:04.637 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 12:47:04.638 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437819270443114] [2025/04/04 12:47:04.638 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:47:04.638 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 12:47:04.639 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:47:04.639 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:47:04.639 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:47:04.639 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:47:04.639 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:47:04.640 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:47:04.643 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 12:47:04.649 +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/04 12:47:04.649 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:47:04.650 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:47:04.661 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489437819270443114] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 12:47:04.671 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 12:47:04.705 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=622] ["lease id"=6f189600d42f9d07] [2025/04/04 12:47:04.707 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/04 12:47:04.794 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=204] ["elapsed time"=84.354361ms] [2025/04/04 12:47:04.794 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 12:47:04.796 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 12:47:04.802 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=73893a29-88d3-45fc-ac08-053c82d462ba] [runWorker=true] [jobVersion=v2] [2025/04/04 12:47:04.802 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 12:47:04.804 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=73893a29-88d3-45fc-ac08-053c82d462ba] [2025/04/04 12:47:04.805 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 12:47:04.805 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 217604096000/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 12:47:04.806 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:47:04.806 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:47:04.806 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:47:04.806 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:47:04.806 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:47:04.806 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:47:04.806 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:47:04.806 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:47:04.806 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:47:04.806 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 12:47:04.806 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:47:04.806 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 12:47:04.806 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=aac541d5-c860-44ac-9e50-a7c83a128ddd] [2025/04/04 12:47:04.808 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f189600d42f9d0c] [ownerID=73893a29-88d3-45fc-ac08-053c82d462ba] [op=none] [2025/04/04 12:47:04.808 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=73893a29-88d3-45fc-ac08-053c82d462ba] [2025/04/04 12:47:04.808 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=73893a29-88d3-45fc-ac08-053c82d462ba] [ownerKey=/tidb/ddl/fg/owner/6f189600d42f9d0c] [currRev=970] [2025/04/04 12:47:04.808 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:47:04.809 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=aac541d5-c860-44ac-9e50-a7c83a128ddd] [daemon-id=LogBackup::Advancer] [2025/04/04 12:47:04.809 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa9600d42f96ca] [ownerID=aac541d5-c860-44ac-9e50-a7c83a128ddd] [op=none] [2025/04/04 12:47:04.810 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 12:47:04.810 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=aac541d5-c860-44ac-9e50-a7c83a128ddd] [2025/04/04 12:47:04.810 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=aac541d5-c860-44ac-9e50-a7c83a128ddd] [ownerKey=/tidb/br-stream/owner/3eaa9600d42f96ca] [currRev=971] [2025/04/04 12:47:04.810 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f189600d42f9d0c] [ownerID=73893a29-88d3-45fc-ac08-053c82d462ba] [op=none] [2025/04/04 12:47:04.810 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=73893a29-88d3-45fc-ac08-053c82d462ba] [op=none] [2025/04/04 12:47:04.810 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 12:47:04.819 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestDuplicateKeyErrorMessage\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:748\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:47:04.820 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestDuplicateKeyErrorMessage\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:748\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:47:04.820 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestDuplicateKeyErrorMessage\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:748\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:47:04.821 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=73893a29-88d3-45fc-ac08-053c82d462ba] [2025/04/04 12:47:04.822 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:47:04.822 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 12:47:04.831 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:47:04.839 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:47:04.844 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:47:04.844 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:47:04.844 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:47:04.844 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 12:47:04.844 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 12:47:04.844 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:47:04.844 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 12:47:04.844 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 12:47:04.844 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 12:47:04.845 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:47:04.845 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=73893a29-88d3-45fc-ac08-053c82d462ba] [2025/04/04 12:47:04.846 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:47:04.846 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:47:04.847 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:47:04.847 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:47:04.847 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:47:04.847 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 12:47:04.847 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:47:04.847 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 12:47:04.847 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:47:04.847 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:47:04.847 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 12:47:04.847 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:47:04.847 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:47:04.847 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:47:04.847 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:47:04.849 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/04 12:47:04.851 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/030553b6-d9c0-4498-8c83-1b8cd674fe24] [2025/04/04 12:47:04.851 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=73893a29-88d3-45fc-ac08-053c82d462ba] [ttl-worker=task-manager] [ttl-worker=73893a29-88d3-45fc-ac08-053c82d462ba] [originalCount=0] [newCount=4] [2025/04/04 12:47:04.852 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=73893a29-88d3-45fc-ac08-053c82d462ba] [ttl-worker=task-manager] [ttl-worker=73893a29-88d3-45fc-ac08-053c82d462ba] [originalCount=0] [newCount=4] [2025/04/04 12:47:04.852 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=73893a29-88d3-45fc-ac08-053c82d462ba] [2025/04/04 12:47:04.852 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 12:47:04.852 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:47:04.852 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 12:47:04.852 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743770824853153209 [2025/04/04 12:47:04.858 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 12:47:04.867 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=21.600368ms] [2025/04/04 12:47:04.867 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 12:47:04.867 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:47:04.875 +00:00] [INFO] [set.go:172] ["set global var"] [conn=32] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 12:47:04.877 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=32] [schemaVersion=204] [cur_db=test] [sql="alter table `_t1` nocache"] [user=] [2025/04/04 12:47:04.879 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=32] [schemaVersion=204] [cur_db=test] [sql="alter table `t1` nocache"] [user=] [2025/04/04 12:47:04.892 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:250, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:248, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:04.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:47:04.892 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:250, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:248, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:04.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t1`,`t1`"] [2025/04/04 12:47:04.897 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=250] [conn=32] [job="ID:250, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:248, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:04.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:04.914 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=204] [neededSchemaVersion=205] ["elapsed time"=2.257635ms] [gotSchemaVersion=205] [phyTblIDs="[248]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:47:04.919 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=250] [version=205] [2025/04/04 12:47:04.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=205] ["take time"=11.326713ms] [job="ID:250, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:248, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:04.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:04.932 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=250] [conn=32] [job="ID:250, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:248, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:04.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:04.950 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=205] [neededSchemaVersion=206] ["elapsed time"=1.966382ms] [gotSchemaVersion=206] [phyTblIDs="[248]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:47:04.954 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=250] [version=206] [2025/04/04 12:47:04.955 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=206] ["take time"=9.141367ms] [job="ID:250, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:248, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:04.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:04.965 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=250] [conn=32] [job="ID:250, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:248, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:04.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:04.971 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 248, Old Table Name: _t1)"] [2025/04/04 12:47:04.984 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=206] [neededSchemaVersion=207] ["elapsed time"=1.068301ms] [gotSchemaVersion=207] [phyTblIDs="[248]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:47:04.988 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=250] [version=207] [2025/04/04 12:47:04.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=207] ["take time"=8.465906ms] [job="ID:250, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:248, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:04.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:04.999 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=250] [tableIDs="[248]"] [comment="drop table: table ID"] [2025/04/04 12:47:05.006 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=250] [jobType="drop table"] [2025/04/04 12:47:05.007 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=250] [conn=32] [job="ID:250, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:248, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:04.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:05.026 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=250] [2025/04/04 12:47:05.037 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:251, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:242, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:04.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:47:05.037 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:251, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:242, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:04.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t1`,`t1`"] [2025/04/04 12:47:05.043 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=251] [conn=32] [job="ID:251, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:242, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:04.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:05.058 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=207] [neededSchemaVersion=208] ["elapsed time"=1.877485ms] [gotSchemaVersion=208] [phyTblIDs="[242]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:47:05.062 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=251] [version=208] [2025/04/04 12:47:05.064 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=208] ["take time"=9.325065ms] [job="ID:251, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:242, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:04.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:05.074 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=251] [conn=32] [job="ID:251, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:242, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:04.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:05.089 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=208] [neededSchemaVersion=209] ["elapsed time"=2.022502ms] [gotSchemaVersion=209] [phyTblIDs="[242]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:47:05.093 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=251] [version=209] [2025/04/04 12:47:05.095 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=209] ["take time"=9.196053ms] [job="ID:251, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:242, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:04.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:05.103 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=251] [conn=32] [job="ID:251, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:242, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:04.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:05.109 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 242, Old Table Name: t1)"] [2025/04/04 12:47:05.122 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=209] [neededSchemaVersion=210] ["elapsed time"=1.051859ms] [gotSchemaVersion=210] [phyTblIDs="[242]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:47:05.126 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=251] [version=210] [2025/04/04 12:47:05.128 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=210] ["take time"=8.160541ms] [job="ID:251, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:242, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:04.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:05.137 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=251] [tableIDs="[242]"] [comment="drop table: table ID"] [2025/04/04 12:47:05.142 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=251] [jobType="drop table"] [2025/04/04 12:47:05.143 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=251] [conn=32] [job="ID:251, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:242, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:04.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:05.161 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=251] [2025/04/04 12:47:05.161 +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: 1743770825162208101 [2025/04/04 12:47:05.166 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=33] [schemaVersion=210] [cur_db=test] [sql="drop table if exists t1"] [user=] [2025/04/04 12:47:05.179 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:253, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:252, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:05.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:47:05.179 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:253, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:252, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:05.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t1(a int primary key, b int)"] [2025/04/04 12:47:05.185 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=253] [conn=33] [job="ID:253, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:252, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:05.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:05.190 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 252, Table Name: t1)"] [2025/04/04 12:47:05.204 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=210] [neededSchemaVersion=211] ["elapsed time"=1.549113ms] [gotSchemaVersion=211] [phyTblIDs="[252]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:47:05.208 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=253] [version=211] [2025/04/04 12:47:05.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=211] ["take time"=8.573464ms] [job="ID:253, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:252, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:05.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:05.221 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=253] [conn=33] [job="ID:253, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:252, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:05.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:05.232 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=253] [2025/04/04 12:47:05.232 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=33] [schemaVersion=211] [cur_db=test] [sql="create table t1(a int primary key, b int)"] [user=] [2025/04/04 12:47:05.235 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119059200442381] [2025/04/04 12:47:05.241 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119059200442386] [generation=1] [session=33] [keys=1] [size=29B] ["flushed keys"=1] ["flushed size"=29B] ["take time"=628.82µs] [2025/04/04 12:47:05.242 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457119059200442386] [startKey=7480000000000000fc5f728000000000000001] [endKey=7480000000000000fc5f728000000000000001] [2025/04/04 12:47:05.242 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457119059200442386] [commitTS=0] [session=33] [2025/04/04 12:47:05.242 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 12:47:05.242 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=73893a29-88d3-45fc-ac08-053c82d462ba] [] [2025/04/04 12:47:05.242 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 12:47:05.242 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=73893a29-88d3-45fc-ac08-053c82d462ba] [2025/04/04 12:47:05.242 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:47:05.242 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:47:05.242 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 65, tp general"] ["take time"=70.067µs] [2025/04/04 12:47:05.242 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 66, tp general"] ["take time"=34.028µs] [2025/04/04 12:47:05.243 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 67, tp general"] ["take time"=39.081µs] [2025/04/04 12:47:05.243 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=73893a29-88d3-45fc-ac08-053c82d462ba] [2025/04/04 12:47:05.243 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=73893a29-88d3-45fc-ac08-053c82d462ba] [2025/04/04 12:47:05.244 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 12:47:05.244 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 12:47:05.245 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=73893a29-88d3-45fc-ac08-053c82d462ba] ["take time"=3.361645ms] [2025/04/04 12:47:05.245 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=73893a29-88d3-45fc-ac08-053c82d462ba] [2025/04/04 12:47:05.245 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 12:47:05.246 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/030553b6-d9c0-4498-8c83-1b8cd674fe24] [2025/04/04 12:47:05.246 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=73893a29-88d3-45fc-ac08-053c82d462ba] [ttl-worker=task-manager] [ttl-worker=73893a29-88d3-45fc-ac08-053c82d462ba] [originalCount=4] [newCount=0] [2025/04/04 12:47:05.246 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:47:05.246 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:47:05.246 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:47:05.246 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:47:05.246 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=73893a29-88d3-45fc-ac08-053c82d462ba] [ttl-worker=task-manager] [ttl-worker=73893a29-88d3-45fc-ac08-053c82d462ba] [originalCount=4] [newCount=0] [2025/04/04 12:47:05.249 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:47:05.249 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:47:05.249 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:47:05.249 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:47:05.251 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=73893a29-88d3-45fc-ac08-053c82d462ba] [2025/04/04 12:47:05.251 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 12:47:05.252 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=622] [2025/04/04 12:47:05.252 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 12:47:05.252 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 12:47:05.253 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 12:47:05.253 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 12:47:05.253 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 12:47:05.253 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:47:05.253 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:47:05.252 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=aac541d5-c860-44ac-9e50-a7c83a128ddd] [] [2025/04/04 12:47:05.253 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:47:05.253 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:47:05.253 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:47:05.253 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 12:47:05.253 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=aac541d5-c860-44ac-9e50-a7c83a128ddd] [2025/04/04 12:47:05.253 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:47:05.253 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 12:47:05.253 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:47:05.253 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:47:05.253 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:47:05.253 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=aac541d5-c860-44ac-9e50-a7c83a128ddd] [2025/04/04 12:47:05.253 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:47:05.253 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 12:47:05.253 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 12:47:05.253 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:47:05.253 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 12:47:05.253 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 12:47:05.253 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:47:05.253 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 12:47:05.253 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:47:05.253 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 12:47:05.253 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 12:47:05.253 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 12:47:05.253 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:47:05.253 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:47:05.253 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 12:47:05.253 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:47:05.253 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:47:05.253 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:47:05.253 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 12:47:05.253 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 12:47:05.253 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:47:05.253 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:47:05.253 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=aac541d5-c860-44ac-9e50-a7c83a128ddd] [2025/04/04 12:47:05.253 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:47:05.253 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:47:05.253 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:47:05.253 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 12:47:05.253 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 12:47:05.253 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 12:47:05.253 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 12:47:05.253 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 12:47:05.253 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:47:05.253 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 12:47:05.253 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 12:47:05.253 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:47:05.253 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:47:05.253 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:47:05.253 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:47:05.253 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:47:05.253 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:47:05.253 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 12:47:05.254 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:47:05.254 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:47:05.253 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 12:47:05.253 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:47:05.253 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:47:05.254 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:47:05.254 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/stats/owner] [id=73893a29-88d3-45fc-ac08-053c82d462ba] [error="context canceled"] [2025/04/04 12:47:05.254 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=73893a29-88d3-45fc-ac08-053c82d462ba] [2025/04/04 12:47:05.254 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 12:47:05.254 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=aac541d5-c860-44ac-9e50-a7c83a128ddd] [daemon-id=LogBackup::Advancer] [2025/04/04 12:47:05.255 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 12:47:05.255 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 12:47:05.255 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:47:05.255 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 12:47:05.255 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:47:05.255 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:47:05.255 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=73893a29-88d3-45fc-ac08-053c82d462ba] [error="context canceled"] [2025/04/04 12:47:05.255 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 12:47:05.255 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 12:47:05.255 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:47:05.255 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=73893a29-88d3-45fc-ac08-053c82d462ba] [error="context canceled"] [2025/04/04 12:47:05.256 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=73893a29-88d3-45fc-ac08-053c82d462ba] [2025/04/04 12:47:05.256 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=73893a29-88d3-45fc-ac08-053c82d462ba] [error="context canceled"] [2025/04/04 12:47:05.256 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=73893a29-88d3-45fc-ac08-053c82d462ba] [error="context canceled"] [errorVerbose="context canceled\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:47:05.273 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 12:47:05.273 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:47:05.318 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 12:47:05.318 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:47:05.330 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=87.866013ms] [2025/04/04 12:47:06.645 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/04 12:47:10.242 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119059200442386 rolled_back:true is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:47:10.242 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119059200442386 rolled_back:true is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:47:10.242 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119059200442386 rolled_back:true is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:47:10.243 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:47:10.243 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:47:10.243 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:47:10.243 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:47:10.243 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:47:10.243 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:47:10.243 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:47:10.243 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:47:10.243 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:47:10.243 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-15] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:47:10.243 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:47:10.243 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:47:10.244 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestDuplicateKeyErrorMessage (5.62s) === NAME === RUN TestInsertIgnoreOnDuplicateKeyUpdate [2025/04/04 12:47:10.252 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 12:47:10.253 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 12:47:10.254 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437819270443114] [2025/04/04 12:47:10.255 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:47:10.255 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 12:47:10.255 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:47:10.255 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:47:10.255 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:47:10.255 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:47:10.256 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:47:10.256 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:47:10.260 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 12:47:10.265 +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/04 12:47:10.266 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:47:10.267 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:47:10.279 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489437819270443114] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 12:47:10.290 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 12:47:10.323 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=515] ["lease id"=3eaa9600d42f96f7] [2025/04/04 12:47:10.325 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/04 12:47:10.412 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=211] ["elapsed time"=84.087556ms] [2025/04/04 12:47:10.412 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 12:47:10.415 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 12:47:10.421 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=ae075607-7bd8-4667-bf81-320714a45269] [runWorker=true] [jobVersion=v2] [2025/04/04 12:47:10.421 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 12:47:10.423 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=ae075607-7bd8-4667-bf81-320714a45269] [2025/04/04 12:47:10.424 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 12:47:10.424 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 217604108288/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 12:47:10.425 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:47:10.425 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:47:10.425 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:47:10.425 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:47:10.425 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:47:10.425 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:47:10.425 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:47:10.425 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 12:47:10.425 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:47:10.425 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:47:10.425 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:47:10.425 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 12:47:10.425 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=256ec1ea-5a2d-4ba1-aca1-f998024db5b7] [2025/04/04 12:47:10.427 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f189600d42f9d3c] [ownerID=ae075607-7bd8-4667-bf81-320714a45269] [op=none] [2025/04/04 12:47:10.427 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=ae075607-7bd8-4667-bf81-320714a45269] [2025/04/04 12:47:10.427 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=ae075607-7bd8-4667-bf81-320714a45269] [ownerKey=/tidb/ddl/fg/owner/6f189600d42f9d3c] [currRev=1010] [2025/04/04 12:47:10.427 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:47:10.427 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=256ec1ea-5a2d-4ba1-aca1-f998024db5b7] [daemon-id=LogBackup::Advancer] [2025/04/04 12:47:10.428 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 12:47:10.429 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/22319600d42fa351] [ownerID=256ec1ea-5a2d-4ba1-aca1-f998024db5b7] [op=none] [2025/04/04 12:47:10.429 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=256ec1ea-5a2d-4ba1-aca1-f998024db5b7] [2025/04/04 12:47:10.429 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=256ec1ea-5a2d-4ba1-aca1-f998024db5b7] [ownerKey=/tidb/br-stream/owner/22319600d42fa351] [currRev=1010] [2025/04/04 12:47:10.429 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f189600d42f9d3c] [ownerID=ae075607-7bd8-4667-bf81-320714a45269] [op=none] [2025/04/04 12:47:10.429 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=ae075607-7bd8-4667-bf81-320714a45269] [op=none] [2025/04/04 12:47:10.429 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 12:47:10.436 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestInsertIgnoreOnDuplicateKeyUpdate\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:763\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:47:10.437 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestInsertIgnoreOnDuplicateKeyUpdate\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:763\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:47:10.438 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestInsertIgnoreOnDuplicateKeyUpdate\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:763\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:47:10.438 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=ae075607-7bd8-4667-bf81-320714a45269] [2025/04/04 12:47:10.439 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:47:10.439 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 12:47:10.448 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:47:10.455 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:47:10.460 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:47:10.460 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:47:10.460 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 12:47:10.460 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:47:10.460 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 12:47:10.460 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:47:10.460 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 12:47:10.460 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 12:47:10.461 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 12:47:10.462 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:47:10.462 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=ae075607-7bd8-4667-bf81-320714a45269] [2025/04/04 12:47:10.463 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:47:10.463 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:47:10.463 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:47:10.463 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:47:10.463 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:47:10.463 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 12:47:10.463 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:47:10.463 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:47:10.463 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 12:47:10.463 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:47:10.463 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 12:47:10.463 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:47:10.464 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:47:10.464 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:47:10.464 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:47:10.465 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/04 12:47:10.468 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/fd8a83b7-634a-4d01-bfcf-9ed3c1e3bbc0] [2025/04/04 12:47:10.468 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=ae075607-7bd8-4667-bf81-320714a45269] [ttl-worker=task-manager] [ttl-worker=ae075607-7bd8-4667-bf81-320714a45269] [originalCount=0] [newCount=4] [2025/04/04 12:47:10.468 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=ae075607-7bd8-4667-bf81-320714a45269] [ttl-worker=task-manager] [ttl-worker=ae075607-7bd8-4667-bf81-320714a45269] [originalCount=0] [newCount=4] [2025/04/04 12:47:10.468 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=ae075607-7bd8-4667-bf81-320714a45269] [2025/04/04 12:47:10.469 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:47:10.469 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 12:47:10.469 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 12:47:10.469 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743770830469750503 [2025/04/04 12:47:10.475 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 12:47:10.483 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=21.114288ms] [2025/04/04 12:47:10.483 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:47:10.483 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 12:47:10.484 +00:00] [INFO] [set.go:172] ["set global var"] [conn=34] [name=tidb_schema_cache_size] [val=0] [2025/04/04 12:47:10.504 +00:00] [INFO] [set.go:172] ["set global var"] [conn=34] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 12:47:10.507 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=34] [schemaVersion=211] [cur_db=test] [sql="alter table `t1` nocache"] [user=] [2025/04/04 12:47:10.520 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:254, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:252, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:10.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:47:10.520 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:254, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:252, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:10.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t1`"] [2025/04/04 12:47:10.526 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=254] [conn=34] [job="ID:254, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:252, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:10.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:10.542 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=211] [neededSchemaVersion=212] ["elapsed time"=1.990682ms] [gotSchemaVersion=212] [phyTblIDs="[252]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:47:10.546 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=254] [version=212] [2025/04/04 12:47:10.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=212] ["take time"=9.541746ms] [job="ID:254, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:252, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:10.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:10.558 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=254] [conn=34] [job="ID:254, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:252, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:10.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:10.573 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=212] [neededSchemaVersion=213] ["elapsed time"=1.866551ms] [gotSchemaVersion=213] [phyTblIDs="[252]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:47:10.576 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=254] [version=213] [2025/04/04 12:47:10.578 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=213] ["take time"=9.289727ms] [job="ID:254, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:252, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:10.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:10.587 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=254] [conn=34] [job="ID:254, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:252, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:10.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:10.593 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 252, Old Table Name: t1)"] [2025/04/04 12:47:10.606 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=213] [neededSchemaVersion=214] ["elapsed time"=1.0717ms] [gotSchemaVersion=214] [phyTblIDs="[252]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:47:10.609 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=254] [version=214] [2025/04/04 12:47:10.611 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=214] ["take time"=8.082732ms] [job="ID:254, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:252, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:10.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:10.620 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=254] [tableIDs="[252]"] [comment="drop table: table ID"] [2025/04/04 12:47:10.627 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=254] [jobType="drop table"] [2025/04/04 12:47:10.628 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=254] [conn=34] [job="ID:254, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:252, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:10.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:10.647 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=254] [2025/04/04 12:47:10.648 +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: 1743770830648292783 [2025/04/04 12:47:10.660 +00:00] [INFO] [set.go:172] ["set global var"] [conn=35] [name=tidb_schema_cache_size] [val=0] [2025/04/04 12:47:10.664 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=35] [schemaVersion=214] [cur_db=test] [sql="drop table if exists t1"] [user=] [2025/04/04 12:47:10.677 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:256, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:255, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:10.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:47:10.677 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:256, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:255, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:10.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t1(a int, b int, unique index u1(a, b), unique index u2(a))"] [2025/04/04 12:47:10.684 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=256] [conn=35] [job="ID:256, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:255, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:10.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:10.688 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 255, Table Name: t1)"] [2025/04/04 12:47:10.704 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=214] [neededSchemaVersion=215] ["elapsed time"=1.793572ms] [gotSchemaVersion=215] [phyTblIDs="[255]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:47:10.708 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=256] [version=215] [2025/04/04 12:47:10.710 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=215] ["take time"=8.999031ms] [job="ID:256, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:255, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:10.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:10.721 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=256] [conn=35] [job="ID:256, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:255, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:10.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:10.733 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=256] [2025/04/04 12:47:10.734 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=35] [schemaVersion=215] [cur_db=test] [sql="create table t1(a int, b int, unique index u1(a, b), unique index u2(a))"] [user=] [2025/04/04 12:47:10.739 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119060642496525] [generation=1] [session=35] [keys=6] [size=228B] ["flushed keys"=6] ["flushed size"=228B] ["take time"=1.04764ms] [2025/04/04 12:47:10.740 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=6] [flush_wait_duration=1.159782ms] [total_duration=4.790086ms] ["memdb traversal cache hit"=12] ["memdb traversal cache miss"=12] [size=228B] [startTS=457119060642496525] [2025/04/04 12:47:10.741 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119060642496525] [commitTS=457119060642496529] [2025/04/04 12:47:10.741 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119060642496525] [startKey=7480000000000000ff5f698000000000000001038000000000000000038000000000000000] [endKey=7480000000000000ff5f728000000000000002] [concurrency=8] [2025/04/04 12:47:10.746 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119060642496525] [startKey=7480000000000000ff5f698000000000000001038000000000000000038000000000000000] [endKey=7480000000000000ff5f728000000000000002] ["cost time"=4.373849ms] ["completed regions"=1] [2025/04/04 12:47:10.746 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119060642496525] [commitTS=457119060642496529] [session=35] [2025/04/04 12:47:10.750 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119060642496530] [generation=1] [session=35] [keys=3] [size=115B] ["flushed keys"=3] ["flushed size"=115B] ["take time"=924.518µs] [2025/04/04 12:47:10.750 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=3] [flush_wait_duration=1.027302ms] [total_duration=7.875111ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=19] [size=115B] [startTS=457119060642496530] [2025/04/04 12:47:10.751 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119060642496530] [commitTS=457119060655341569] [2025/04/04 12:47:10.752 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119060642496530] [startKey=7480000000000000ff5f698000000000000001038000000000000000038000000000000000] [endKey=7480000000000000ff5f728000000000000001] [concurrency=8] [2025/04/04 12:47:10.754 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119060642496530] [startKey=7480000000000000ff5f698000000000000001038000000000000000038000000000000000] [endKey=7480000000000000ff5f728000000000000001] ["cost time"=1.970839ms] ["completed regions"=1] [2025/04/04 12:47:10.754 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119060642496530] [commitTS=457119060655341569] [session=35] [2025/04/04 12:47:10.755 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=ae075607-7bd8-4667-bf81-320714a45269] [] [2025/04/04 12:47:10.755 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 12:47:10.755 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=ae075607-7bd8-4667-bf81-320714a45269] [2025/04/04 12:47:10.755 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 12:47:10.755 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:47:10.755 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:47:10.755 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 68, tp general"] ["take time"=51.272µs] [2025/04/04 12:47:10.755 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 69, tp general"] ["take time"=45.038µs] [2025/04/04 12:47:10.755 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=ae075607-7bd8-4667-bf81-320714a45269] [2025/04/04 12:47:10.756 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=ae075607-7bd8-4667-bf81-320714a45269] [2025/04/04 12:47:10.756 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 12:47:10.756 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 12:47:10.757 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=ae075607-7bd8-4667-bf81-320714a45269] ["take time"=2.255343ms] [2025/04/04 12:47:10.757 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=ae075607-7bd8-4667-bf81-320714a45269] [2025/04/04 12:47:10.757 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 12:47:10.757 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/fd8a83b7-634a-4d01-bfcf-9ed3c1e3bbc0] [2025/04/04 12:47:10.757 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=ae075607-7bd8-4667-bf81-320714a45269] [ttl-worker=task-manager] [ttl-worker=ae075607-7bd8-4667-bf81-320714a45269] [originalCount=4] [newCount=0] [2025/04/04 12:47:10.758 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:47:10.758 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:47:10.758 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:47:10.758 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:47:10.758 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=ae075607-7bd8-4667-bf81-320714a45269] [ttl-worker=task-manager] [ttl-worker=ae075607-7bd8-4667-bf81-320714a45269] [originalCount=4] [newCount=0] [2025/04/04 12:47:10.760 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:47:10.760 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:47:10.760 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:47:10.761 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:47:10.763 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=ae075607-7bd8-4667-bf81-320714a45269] [2025/04/04 12:47:10.763 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 12:47:10.764 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=515] [2025/04/04 12:47:10.764 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=256ec1ea-5a2d-4ba1-aca1-f998024db5b7] [] [2025/04/04 12:47:10.764 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 12:47:10.764 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 12:47:10.764 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 12:47:10.764 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=256ec1ea-5a2d-4ba1-aca1-f998024db5b7] [2025/04/04 12:47:10.764 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 12:47:10.764 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:47:10.764 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 12:47:10.764 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:47:10.764 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 12:47:10.764 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 12:47:10.764 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 12:47:10.764 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:47:10.764 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 12:47:10.764 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=256ec1ea-5a2d-4ba1-aca1-f998024db5b7] [2025/04/04 12:47:10.764 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:47:10.764 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:47:10.764 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:47:10.764 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 12:47:10.764 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=256ec1ea-5a2d-4ba1-aca1-f998024db5b7] [2025/04/04 12:47:10.764 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:47:10.764 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:47:10.765 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:47:10.764 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:47:10.764 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 12:47:10.764 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 12:47:10.765 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:47:10.765 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:47:10.765 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:47:10.764 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:47:10.765 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:47:10.764 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:47:10.764 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 12:47:10.764 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 12:47:10.764 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:47:10.764 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 12:47:10.765 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:47:10.765 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:47:10.764 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 12:47:10.764 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 12:47:10.765 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:47:10.764 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:47:10.764 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:47:10.764 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 12:47:10.764 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 12:47:10.764 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 12:47:10.765 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:47:10.765 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:47:10.764 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:47:10.765 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:47:10.764 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 12:47:10.765 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 12:47:10.764 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 12:47:10.764 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:47:10.764 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:47:10.765 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:47:10.765 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:47:10.764 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 12:47:10.764 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 12:47:10.765 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:47:10.765 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:47:10.765 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:47:10.765 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:47:10.765 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 12:47:10.765 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 12:47:10.765 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:47:10.766 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 12:47:10.766 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=256ec1ea-5a2d-4ba1-aca1-f998024db5b7] [daemon-id=LogBackup::Advancer] [2025/04/04 12:47:10.766 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 12:47:10.766 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:47:10.766 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:47:10.766 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 12:47:10.766 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/stats/owner] [id=ae075607-7bd8-4667-bf81-320714a45269] [error="context canceled"] [2025/04/04 12:47:10.766 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 12:47:10.766 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/stats/owner] [id=ae075607-7bd8-4667-bf81-320714a45269] [2025/04/04 12:47:10.766 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:47:10.766 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=ae075607-7bd8-4667-bf81-320714a45269] [error="context canceled"] [2025/04/04 12:47:10.766 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/stats/owner] [id=ae075607-7bd8-4667-bf81-320714a45269] [error="context canceled"] [errorVerbose="context canceled\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:47:10.766 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 12:47:10.766 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 12:47:10.766 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:47:10.767 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=ae075607-7bd8-4667-bf81-320714a45269] [error="context canceled"] [2025/04/04 12:47:10.767 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=ae075607-7bd8-4667-bf81-320714a45269] [2025/04/04 12:47:10.767 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=ae075607-7bd8-4667-bf81-320714a45269] [error="context canceled"] [2025/04/04 12:47:10.767 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=ae075607-7bd8-4667-bf81-320714a45269] [error="context canceled"] [errorVerbose="context canceled\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:47:10.785 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 12:47:10.785 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:47:10.828 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 12:47:10.829 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:47:10.840 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=85.143863ms] [2025/04/04 12:47:12.260 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/04 12:47:15.746 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119060642496525 commit_ts:457119060642496529 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:47:15.746 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119060642496525 commit_ts:457119060642496529 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:47:15.746 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119060642496525 commit_ts:457119060642496529 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:47:15.754 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119060642496530 commit_ts:457119060655341569 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:47:15.754 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119060642496530 commit_ts:457119060655341569 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:47:15.754 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119060642496530 commit_ts:457119060655341569 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:47:15.754 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:47:15.754 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:47:15.754 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:47:15.755 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:47:15.754 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:47:15.754 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:47:15.755 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:47:15.755 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:47:15.755 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-16] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:47:15.755 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:47:15.755 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:47:15.755 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:47:15.756 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestInsertIgnoreOnDuplicateKeyUpdate (5.51s) === NAME === RUN TestConflictError [2025/04/04 12:47:15.765 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 12:47:15.765 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 12:47:15.766 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437819270443114] [2025/04/04 12:47:15.767 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:47:15.767 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 12:47:15.767 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:47:15.767 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:47:15.767 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:47:15.767 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:47:15.768 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:47:15.768 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:47:15.772 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 12:47:15.777 +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/04 12:47:15.778 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:47:15.779 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:47:15.789 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489437819270443114] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 12:47:15.799 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 12:47:15.833 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1643] ["lease id"=22319600d42fa36c] [2025/04/04 12:47:15.835 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/04 12:47:15.921 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=215] ["elapsed time"=83.576481ms] [2025/04/04 12:47:15.921 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 12:47:15.924 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 12:47:15.929 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=b25925d3-5fe9-47ce-a891-ca3a76edaced] [runWorker=true] [jobVersion=v2] [2025/04/04 12:47:15.929 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 12:47:15.931 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=b25925d3-5fe9-47ce-a891-ca3a76edaced] [2025/04/04 12:47:15.932 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 12:47:15.933 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 217604124672/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 12:47:15.933 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:47:15.933 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:47:15.933 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:47:15.933 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:47:15.933 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:47:15.933 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:47:15.933 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:47:15.933 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:47:15.933 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 12:47:15.933 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:47:15.933 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:47:15.933 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 12:47:15.933 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=1baf87d1-fa0b-4ba9-9e21-da2b94d39a52] [2025/04/04 12:47:15.935 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319600d42fa371] [ownerID=b25925d3-5fe9-47ce-a891-ca3a76edaced] [op=none] [2025/04/04 12:47:15.935 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=b25925d3-5fe9-47ce-a891-ca3a76edaced] [2025/04/04 12:47:15.935 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=b25925d3-5fe9-47ce-a891-ca3a76edaced] [ownerKey=/tidb/ddl/fg/owner/22319600d42fa371] [currRev=1042] [2025/04/04 12:47:15.936 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:47:15.936 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=1baf87d1-fa0b-4ba9-9e21-da2b94d39a52] [daemon-id=LogBackup::Advancer] [2025/04/04 12:47:15.937 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f189600d42f9d5c] [ownerID=1baf87d1-fa0b-4ba9-9e21-da2b94d39a52] [op=none] [2025/04/04 12:47:15.937 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=1baf87d1-fa0b-4ba9-9e21-da2b94d39a52] [2025/04/04 12:47:15.937 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=1baf87d1-fa0b-4ba9-9e21-da2b94d39a52] [ownerKey=/tidb/br-stream/owner/6f189600d42f9d5c] [currRev=1043] [2025/04/04 12:47:15.937 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 12:47:15.937 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319600d42fa371] [ownerID=b25925d3-5fe9-47ce-a891-ca3a76edaced] [op=none] [2025/04/04 12:47:15.938 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=b25925d3-5fe9-47ce-a891-ca3a76edaced] [op=none] [2025/04/04 12:47:15.938 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 12:47:15.945 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestConflictError\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:784\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:47:15.946 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestConflictError\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:784\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:47:15.947 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestConflictError\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:784\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:47:15.947 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=b25925d3-5fe9-47ce-a891-ca3a76edaced] [2025/04/04 12:47:15.948 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:47:15.948 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 12:47:15.958 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:47:15.965 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:47:15.970 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:47:15.970 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:47:15.970 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:47:15.970 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 12:47:15.970 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:47:15.970 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 12:47:15.970 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 12:47:15.970 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 12:47:15.970 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 12:47:15.972 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:47:15.972 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=b25925d3-5fe9-47ce-a891-ca3a76edaced] [2025/04/04 12:47:15.973 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:47:15.973 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:47:15.973 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:47:15.973 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:47:15.973 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 12:47:15.973 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:47:15.973 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 12:47:15.973 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:47:15.973 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:47:15.973 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:47:15.973 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 12:47:15.973 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:47:15.973 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:47:15.973 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:47:15.974 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:47:15.975 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/04 12:47:15.978 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/5ab23173-b7a7-406a-9295-88c3bc8762c3] [2025/04/04 12:47:15.978 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=b25925d3-5fe9-47ce-a891-ca3a76edaced] [ttl-worker=task-manager] [ttl-worker=b25925d3-5fe9-47ce-a891-ca3a76edaced] [originalCount=0] [newCount=4] [2025/04/04 12:47:15.978 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=b25925d3-5fe9-47ce-a891-ca3a76edaced] [ttl-worker=task-manager] [ttl-worker=b25925d3-5fe9-47ce-a891-ca3a76edaced] [originalCount=0] [newCount=4] [2025/04/04 12:47:15.978 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=b25925d3-5fe9-47ce-a891-ca3a76edaced] [2025/04/04 12:47:15.979 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:47:15.979 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 12:47:15.979 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] [2025/04/04 12:47:15.979 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] testkit.go:123: RefreshSession rand seed: 1743770835979656268 [2025/04/04 12:47:15.984 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 12:47:15.993 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=21.41155ms] [2025/04/04 12:47:15.993 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 12:47:15.993 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:47:15.994 +00:00] [INFO] [set.go:172] ["set global var"] [conn=36] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 12:47:15.998 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=36] [schemaVersion=215] [cur_db=test] [sql="alter table `t1` nocache"] [user=] [2025/04/04 12:47:16.011 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:257, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:255, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:15.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:47:16.011 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:257, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:255, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:15.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t1`"] [2025/04/04 12:47:16.017 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=257] [conn=36] [job="ID:257, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:255, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:15.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:16.034 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=215] [neededSchemaVersion=216] ["elapsed time"=2.307101ms] [gotSchemaVersion=216] [phyTblIDs="[255]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:47:16.038 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=257] [version=216] [2025/04/04 12:47:16.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=216] ["take time"=10.322569ms] [job="ID:257, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:255, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:15.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:16.052 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=257] [conn=36] [job="ID:257, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:255, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:15.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:16.069 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=216] [neededSchemaVersion=217] ["elapsed time"=2.332903ms] [gotSchemaVersion=217] [phyTblIDs="[255]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:47:16.072 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=257] [version=217] [2025/04/04 12:47:16.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=217] ["take time"=9.835918ms] [job="ID:257, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:255, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:15.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:16.082 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=257] [conn=36] [job="ID:257, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:255, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:15.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:16.089 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 255, Old Table Name: t1)"] [2025/04/04 12:47:16.103 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=217] [neededSchemaVersion=218] ["elapsed time"=1.062352ms] [gotSchemaVersion=218] [phyTblIDs="[255]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:47:16.107 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=257] [version=218] [2025/04/04 12:47:16.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=218] ["take time"=8.442286ms] [job="ID:257, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:255, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:15.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:16.118 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=257] [tableIDs="[255]"] [comment="drop table: table ID"] [2025/04/04 12:47:16.125 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=257] [jobType="drop table"] [2025/04/04 12:47:16.126 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=257] [conn=36] [job="ID:257, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:255, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:15.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:16.149 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=257] [2025/04/04 12:47:16.149 +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: 1743770836149943089 [2025/04/04 12:47:16.161 +00:00] [INFO] [set.go:172] ["set global var"] [conn=37] [name=tidb_schema_cache_size] [val=0] [2025/04/04 12:47:16.165 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=37] [schemaVersion=218] [cur_db=test] [sql="drop table if exists t1, _t1"] [user=] [2025/04/04 12:47:16.178 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:259, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:258, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:16.147 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:47:16.178 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:259, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:258, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:16.147 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t1(a int primary key, b int)"] [2025/04/04 12:47:16.184 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=259] [conn=37] [job="ID:259, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:258, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:16.147 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:16.188 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 258, Table Name: t1)"] [2025/04/04 12:47:16.203 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=218] [neededSchemaVersion=219] ["elapsed time"=1.478197ms] [gotSchemaVersion=219] [phyTblIDs="[258]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:47:16.207 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=259] [version=219] [2025/04/04 12:47:16.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=219] ["take time"=8.831822ms] [job="ID:259, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:258, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:16.147 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:16.220 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=259] [conn=37] [job="ID:259, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:258, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:16.147 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:16.232 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=259] [2025/04/04 12:47:16.232 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=37] [schemaVersion=219] [cur_db=test] [sql="create table t1(a int primary key, b int)"] [user=] [2025/04/04 12:47:16.245 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:261, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:260, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:16.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:47:16.245 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:261, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:260, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:16.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t1(a int primary key, b int)"] [2025/04/04 12:47:16.251 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=261] [conn=37] [job="ID:261, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:260, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:16.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:16.256 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 260, Table Name: _t1)"] [2025/04/04 12:47:16.270 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=219] [neededSchemaVersion=220] ["elapsed time"=1.529306ms] [gotSchemaVersion=220] [phyTblIDs="[260]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:47:16.274 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=261] [version=220] [2025/04/04 12:47:16.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=220] ["take time"=8.60641ms] [job="ID:261, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:260, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:16.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:16.287 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=261] [conn=37] [job="ID:261, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:260, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:16.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:16.299 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=261] [2025/04/04 12:47:16.299 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=37] [schemaVersion=220] [cur_db=test] [sql="create table _t1(a int primary key, b int)"] [user=] [2025/04/04 12:47:16.318 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119062110240773] [generation=1] [session=37] [keys=100] [size=2.9kB] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=2.416059ms] [2025/04/04 12:47:16.318 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119062110240773] [generation=2] [session=37] [keys=0] [size=0B] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=33.504µs] [2025/04/04 12:47:16.318 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=100] [flush_wait_duration=2.489127ms] [total_duration=6.862934ms] ["memdb traversal cache hit"=200] ["memdb traversal cache miss"=200] [size=2.9kB] [startTS=457119062110240773] [2025/04/04 12:47:16.319 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119062110240773] [commitTS=457119062110240774] [2025/04/04 12:47:16.319 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119062110240773] [startKey=7480000000000001045f728000000000000000] [endKey=7480000000000001045f728000000000000063] [concurrency=8] [2025/04/04 12:47:16.325 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119062110240773] [startKey=7480000000000001045f728000000000000000] [endKey=7480000000000001045f728000000000000063] ["cost time"=5.284713ms] ["completed regions"=1] [2025/04/04 12:47:16.325 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119062110240773] [commitTS=457119062110240774] [session=37] [2025/04/04 12:47:16.330 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119062110240775] [generation=1] [session=37] [keys=32] [size=928B] ["flushed keys"=32] ["flushed size"=928B] ["take time"=769.958µs] [2025/04/04 12:47:16.331 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/04 12:47:16.331 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-rollback-457119062110240775] [startKey=7480000000000001045f728000000000000002] [endKey=7480000000000001045f728000000000000063] [concurrency=8] [2025/04/04 12:47:16.332 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 12:47:16.332 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=b25925d3-5fe9-47ce-a891-ca3a76edaced] [] [2025/04/04 12:47:16.332 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=b25925d3-5fe9-47ce-a891-ca3a76edaced] [2025/04/04 12:47:16.332 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 12:47:16.332 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:47:16.332 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:47:16.332 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 70, tp general"] ["take time"=58.371µs] [2025/04/04 12:47:16.332 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 71, tp general"] ["take time"=46.585µs] [2025/04/04 12:47:16.332 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 72, tp general"] ["take time"=34.095µs] [2025/04/04 12:47:16.332 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=b25925d3-5fe9-47ce-a891-ca3a76edaced] [2025/04/04 12:47:16.332 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=b25925d3-5fe9-47ce-a891-ca3a76edaced] [2025/04/04 12:47:16.333 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-rollback-457119062110240775] [startKey=7480000000000001045f728000000000000002] [endKey=7480000000000001045f728000000000000063] ["cost time"=1.758395ms] ["completed regions"=1] [2025/04/04 12:47:16.333 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=1] [startTS=457119062110240775] [commitTS=0] [session=37] [2025/04/04 12:47:16.333 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 12:47:16.334 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 12:47:16.335 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=b25925d3-5fe9-47ce-a891-ca3a76edaced] ["take time"=2.929379ms] [2025/04/04 12:47:16.335 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=b25925d3-5fe9-47ce-a891-ca3a76edaced] [2025/04/04 12:47:16.335 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 12:47:16.335 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/5ab23173-b7a7-406a-9295-88c3bc8762c3] [2025/04/04 12:47:16.335 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=b25925d3-5fe9-47ce-a891-ca3a76edaced] [ttl-worker=task-manager] [ttl-worker=b25925d3-5fe9-47ce-a891-ca3a76edaced] [originalCount=4] [newCount=0] [2025/04/04 12:47:16.335 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:47:16.335 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:47:16.335 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:47:16.335 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:47:16.335 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=b25925d3-5fe9-47ce-a891-ca3a76edaced] [ttl-worker=task-manager] [ttl-worker=b25925d3-5fe9-47ce-a891-ca3a76edaced] [originalCount=4] [newCount=0] [2025/04/04 12:47:16.338 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:47:16.338 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:47:16.338 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:47:16.338 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:47:16.340 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=b25925d3-5fe9-47ce-a891-ca3a76edaced] [2025/04/04 12:47:16.340 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 12:47:16.341 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1643] [2025/04/04 12:47:16.341 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 12:47:16.341 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 12:47:16.341 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:47:16.341 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:47:16.341 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:47:16.341 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 12:47:16.341 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:47:16.341 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 12:47:16.341 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 12:47:16.341 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 12:47:16.341 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 12:47:16.341 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:47:16.341 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:47:16.341 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 12:47:16.341 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 12:47:16.341 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 12:47:16.341 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=1baf87d1-fa0b-4ba9-9e21-da2b94d39a52] [] [2025/04/04 12:47:16.341 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 12:47:16.341 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:47:16.341 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 12:47:16.341 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 12:47:16.341 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 12:47:16.341 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 12:47:16.341 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:47:16.341 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 12:47:16.341 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:47:16.341 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:47:16.341 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:47:16.341 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:47:16.342 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:47:16.341 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:47:16.341 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:47:16.341 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:47:16.341 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=1baf87d1-fa0b-4ba9-9e21-da2b94d39a52] [2025/04/04 12:47:16.342 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:47:16.342 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:47:16.341 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 12:47:16.341 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:47:16.342 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=1baf87d1-fa0b-4ba9-9e21-da2b94d39a52] [2025/04/04 12:47:16.341 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:47:16.341 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 12:47:16.341 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 12:47:16.342 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=1baf87d1-fa0b-4ba9-9e21-da2b94d39a52] [2025/04/04 12:47:16.341 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 12:47:16.341 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:47:16.341 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 12:47:16.342 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:47:16.341 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 12:47:16.341 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:47:16.341 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:47:16.341 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:47:16.341 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:47:16.341 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 12:47:16.341 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:47:16.341 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:47:16.342 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 12:47:16.342 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 12:47:16.341 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:47:16.342 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:47:16.341 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 12:47:16.342 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 12:47:16.341 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:47:16.342 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:47:16.342 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:47:16.342 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:47:16.342 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:47:16.343 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 12:47:16.343 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 12:47:16.343 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/stats/owner] [id=b25925d3-5fe9-47ce-a891-ca3a76edaced] [error="context canceled"] [2025/04/04 12:47:16.343 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 12:47:16.343 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:47:16.343 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=1baf87d1-fa0b-4ba9-9e21-da2b94d39a52] [daemon-id=LogBackup::Advancer] [2025/04/04 12:47:16.343 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/stats/owner] [id=b25925d3-5fe9-47ce-a891-ca3a76edaced] [2025/04/04 12:47:16.343 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:47:16.343 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:47:16.343 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 12:47:16.343 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=b25925d3-5fe9-47ce-a891-ca3a76edaced] [error="context canceled"] [2025/04/04 12:47:16.344 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/stats/owner] [id=b25925d3-5fe9-47ce-a891-ca3a76edaced] [error="context canceled"] [errorVerbose="context canceled\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:47:16.344 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 12:47:16.344 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 12:47:16.344 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:47:16.344 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=b25925d3-5fe9-47ce-a891-ca3a76edaced] [error="context canceled"] [2025/04/04 12:47:16.344 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=b25925d3-5fe9-47ce-a891-ca3a76edaced] [2025/04/04 12:47:16.344 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=b25925d3-5fe9-47ce-a891-ca3a76edaced] [error="context canceled"] [2025/04/04 12:47:16.344 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=b25925d3-5fe9-47ce-a891-ca3a76edaced] [error="context canceled"] [errorVerbose="context canceled\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:47:16.362 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 12:47:16.362 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:47:16.408 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 12:47:16.408 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:47:16.418 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=86.774432ms] [2025/04/04 12:47:17.773 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/04 12:47:21.325 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119062110240773 commit_ts:457119062110240774 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:47:21.326 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119062110240773 commit_ts:457119062110240774 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:47:21.326 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119062110240773 commit_ts:457119062110240774 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:47:21.335 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119062110240775 rolled_back:true is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:47:21.335 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119062110240775 rolled_back:true is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:47:21.335 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119062110240775 rolled_back:true is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:47:21.335 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:47:21.335 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:47:21.335 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:47:21.335 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:47:21.335 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:47:21.335 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:47:21.335 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:47:21.335 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:47:21.335 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:47:21.335 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-17] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:47:21.335 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:47:21.335 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:47:21.336 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestConflictError (5.58s) === NAME === RUN TestRejectUnsupportedTables [2025/04/04 12:47:21.345 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 12:47:21.346 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 12:47:21.346 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437819270443114] [2025/04/04 12:47:21.347 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:47:21.347 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 12:47:21.347 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:47:21.347 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:47:21.348 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:47:21.348 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:47:21.348 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:47:21.348 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:47:21.352 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 12:47:21.358 +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/04 12:47:21.359 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:47:21.360 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:47:21.370 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489437819270443114] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 12:47:21.380 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 12:47:21.414 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1045] ["lease id"=22319600d42fa399] [2025/04/04 12:47:21.416 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/04 12:47:21.504 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=220] ["elapsed time"=85.15393ms] [2025/04/04 12:47:21.504 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 12:47:21.506 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 12:47:21.512 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=e0f97896-244a-4415-9392-5b10ad2e63b7] [runWorker=true] [jobVersion=v2] [2025/04/04 12:47:21.512 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 12:47:21.514 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=e0f97896-244a-4415-9392-5b10ad2e63b7] [2025/04/04 12:47:21.515 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 12:47:21.515 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 217604136960/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 12:47:21.515 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:47:21.516 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:47:21.516 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:47:21.516 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:47:21.516 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:47:21.516 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:47:21.516 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:47:21.516 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 12:47:21.516 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:47:21.516 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:47:21.516 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:47:21.516 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 12:47:21.516 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=c53f7a00-cb59-46c8-a3b2-f2077a2034b0] [2025/04/04 12:47:21.518 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f189600d42f9d7f] [ownerID=e0f97896-244a-4415-9392-5b10ad2e63b7] [op=none] [2025/04/04 12:47:21.518 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=e0f97896-244a-4415-9392-5b10ad2e63b7] [2025/04/04 12:47:21.518 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=e0f97896-244a-4415-9392-5b10ad2e63b7] [ownerKey=/tidb/ddl/fg/owner/6f189600d42f9d7f] [currRev=1077] [2025/04/04 12:47:21.519 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:47:21.519 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=c53f7a00-cb59-46c8-a3b2-f2077a2034b0] [daemon-id=LogBackup::Advancer] [2025/04/04 12:47:21.519 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 12:47:21.519 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f189600d42f9d81] [ownerID=c53f7a00-cb59-46c8-a3b2-f2077a2034b0] [op=none] [2025/04/04 12:47:21.520 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=c53f7a00-cb59-46c8-a3b2-f2077a2034b0] [2025/04/04 12:47:21.520 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=c53f7a00-cb59-46c8-a3b2-f2077a2034b0] [ownerKey=/tidb/br-stream/owner/6f189600d42f9d81] [currRev=1078] [2025/04/04 12:47:21.520 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f189600d42f9d7f] [ownerID=e0f97896-244a-4415-9392-5b10ad2e63b7] [op=none] [2025/04/04 12:47:21.520 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=e0f97896-244a-4415-9392-5b10ad2e63b7] [op=none] [2025/04/04 12:47:21.520 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 12:47:21.526 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestRejectUnsupportedTables\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:808\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:47:21.527 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestRejectUnsupportedTables\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:808\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:47:21.528 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestRejectUnsupportedTables\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:808\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:47:21.528 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=e0f97896-244a-4415-9392-5b10ad2e63b7] [2025/04/04 12:47:21.529 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:47:21.530 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 12:47:21.539 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:47:21.546 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:47:21.551 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:47:21.551 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:47:21.551 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 12:47:21.551 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:47:21.551 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:47:21.551 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 12:47:21.551 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 12:47:21.551 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 12:47:21.551 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 12:47:21.552 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:47:21.552 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=e0f97896-244a-4415-9392-5b10ad2e63b7] [2025/04/04 12:47:21.553 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:47:21.554 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:47:21.554 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:47:21.554 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:47:21.554 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:47:21.554 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 12:47:21.554 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 12:47:21.554 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:47:21.554 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:47:21.554 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:47:21.554 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 12:47:21.554 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:47:21.554 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:47:21.554 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:47:21.554 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:47:21.556 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/04 12:47:21.559 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/73a7fca2-5ce7-4d6b-a3ea-66fd661b1a21] [2025/04/04 12:47:21.559 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=e0f97896-244a-4415-9392-5b10ad2e63b7] [ttl-worker=task-manager] [ttl-worker=e0f97896-244a-4415-9392-5b10ad2e63b7] [originalCount=0] [newCount=4] [2025/04/04 12:47:21.559 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=e0f97896-244a-4415-9392-5b10ad2e63b7] [ttl-worker=task-manager] [ttl-worker=e0f97896-244a-4415-9392-5b10ad2e63b7] [originalCount=0] [newCount=4] [2025/04/04 12:47:21.559 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=e0f97896-244a-4415-9392-5b10ad2e63b7] [2025/04/04 12:47:21.560 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 12:47:21.560 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:47:21.560 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 12:47:21.560 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743770841560736579 [2025/04/04 12:47:21.565 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 12:47:21.573 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=20.27494ms] [2025/04/04 12:47:21.573 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:47:21.573 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 12:47:21.581 +00:00] [INFO] [set.go:172] ["set global var"] [conn=38] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 12:47:21.584 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=38] [schemaVersion=220] [cur_db=test] [sql="alter table `_t1` nocache"] [user=] [2025/04/04 12:47:21.585 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=38] [schemaVersion=220] [cur_db=test] [sql="alter table `t1` nocache"] [user=] [2025/04/04 12:47:21.598 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:262, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:260, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:21.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:47:21.598 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:262, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:260, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:21.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t1`,`t1`"] [2025/04/04 12:47:21.604 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=262] [conn=38] [job="ID:262, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:260, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:21.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:21.619 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=220] [neededSchemaVersion=221] ["elapsed time"=1.757996ms] [gotSchemaVersion=221] [phyTblIDs="[260]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:47:21.623 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=262] [version=221] [2025/04/04 12:47:21.625 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=221] ["take time"=9.457926ms] [job="ID:262, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:260, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:21.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:21.635 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=262] [conn=38] [job="ID:262, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:260, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:21.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:21.650 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=221] [neededSchemaVersion=222] ["elapsed time"=1.920673ms] [gotSchemaVersion=222] [phyTblIDs="[260]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:47:21.654 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=262] [version=222] [2025/04/04 12:47:21.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=222] ["take time"=9.007003ms] [job="ID:262, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:260, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:21.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:21.664 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=262] [conn=38] [job="ID:262, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:260, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:21.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:21.670 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 260, Old Table Name: _t1)"] [2025/04/04 12:47:21.683 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=222] [neededSchemaVersion=223] ["elapsed time"=1.034281ms] [gotSchemaVersion=223] [phyTblIDs="[260]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:47:21.687 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=262] [version=223] [2025/04/04 12:47:21.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=223] ["take time"=7.778484ms] [job="ID:262, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:260, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:21.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:21.697 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=262] [tableIDs="[260]"] [comment="drop table: table ID"] [2025/04/04 12:47:21.704 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=262] [jobType="drop table"] [2025/04/04 12:47:21.705 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=262] [conn=38] [job="ID:262, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:260, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:21.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:21.723 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=262] [2025/04/04 12:47:21.733 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:263, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:258, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:21.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:47:21.733 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:263, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:258, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:21.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t1`,`t1`"] [2025/04/04 12:47:21.739 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=263] [conn=38] [job="ID:263, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:258, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:21.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:21.754 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=223] [neededSchemaVersion=224] ["elapsed time"=1.857111ms] [gotSchemaVersion=224] [phyTblIDs="[258]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:47:21.758 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=263] [version=224] [2025/04/04 12:47:21.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=224] ["take time"=8.905966ms] [job="ID:263, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:258, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:21.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:21.769 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=263] [conn=38] [job="ID:263, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:258, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:21.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:21.784 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=224] [neededSchemaVersion=225] ["elapsed time"=1.846273ms] [gotSchemaVersion=225] [phyTblIDs="[258]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:47:21.787 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=263] [version=225] [2025/04/04 12:47:21.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=225] ["take time"=8.511603ms] [job="ID:263, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:258, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:21.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:21.797 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=263] [conn=38] [job="ID:263, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:258, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:21.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:21.803 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 258, Old Table Name: t1)"] [2025/04/04 12:47:21.816 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=225] [neededSchemaVersion=226] ["elapsed time"=995.939µs] [gotSchemaVersion=226] [phyTblIDs="[258]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:47:21.819 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=263] [version=226] [2025/04/04 12:47:21.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=226] ["take time"=7.828971ms] [job="ID:263, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:258, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:21.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:21.830 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=263] [tableIDs="[258]"] [comment="drop table: table ID"] [2025/04/04 12:47:21.834 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=263] [jobType="drop table"] [2025/04/04 12:47:21.835 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=263] [conn=38] [job="ID:263, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:258, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:21.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:21.852 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=263] [2025/04/04 12:47:21.853 +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: 1743770841853552591 [2025/04/04 12:47:21.871 +00:00] [INFO] [set.go:172] ["set global var"] [conn=39] [name=tidb_schema_cache_size] [val=0] [2025/04/04 12:47:21.875 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=39] [schemaVersion=226] [cur_db=test] [sql="drop table if exists parent, child"] [user=] [2025/04/04 12:47:21.888 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:265, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:264, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:21.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:47:21.888 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:265, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:264, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:21.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table parent(a int primary key)"] [2025/04/04 12:47:21.893 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=265] [conn=39] [job="ID:265, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:264, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:21.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:21.898 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 264, Table Name: parent)"] [2025/04/04 12:47:21.911 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=226] [neededSchemaVersion=227] ["elapsed time"=1.427194ms] [gotSchemaVersion=227] [phyTblIDs="[264]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:47:21.914 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=265] [version=227] [2025/04/04 12:47:21.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=227] ["take time"=8.196343ms] [job="ID:265, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:264, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:21.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:21.927 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=265] [conn=39] [job="ID:265, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:264, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:21.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:21.938 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=265] [2025/04/04 12:47:21.938 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=39] [schemaVersion=227] [cur_db=test] [sql="create table parent(a int primary key)"] [user=] [2025/04/04 12:47:21.951 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:267, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:266, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:21.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table child(a int, foreign key (a) references parent(a))"] [2025/04/04 12:47:21.951 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:267, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:266, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:21.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:47:21.957 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=267] [conn=39] [job="ID:267, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:266, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:21.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:21.973 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=227] [neededSchemaVersion=228] ["elapsed time"=1.645731ms] [gotSchemaVersion=228] [phyTblIDs="[266]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:47:21.977 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=267] [version=228] [2025/04/04 12:47:21.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=228] ["take time"=8.83362ms] [job="ID:267, Type:create table, State:running, SchemaState:delete only, SchemaID:2, TableID:266, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:21.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:21.988 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=267] [conn=39] [job="ID:267, Type:create table, State:running, SchemaState:delete only, SchemaID:2, TableID:266, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:21.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:21.993 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 266, Table Name: child)"] [2025/04/04 12:47:22.008 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=228] [neededSchemaVersion=229] ["elapsed time"=1.560255ms] [gotSchemaVersion=229] [phyTblIDs="[266]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:47:22.011 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=267] [version=229] [2025/04/04 12:47:22.013 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=229] ["take time"=8.871969ms] [job="ID:267, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:266, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:21.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:22.024 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=267] [conn=39] [job="ID:267, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:266, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:21.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:22.035 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=267] [2025/04/04 12:47:22.036 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=39] [schemaVersion=229] [cur_db=test] [sql="create table child(a int, foreign key (a) references parent(a))"] [user=] [2025/04/04 12:47:22.038 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119063604723728] [2025/04/04 12:47:22.048 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/04 12:47:22.049 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=229] [error="[planner:1452]Cannot add or update a child row: a foreign key constraint fails (`test`.`child`, CONSTRAINT `fk_1` FOREIGN KEY (`a`) REFERENCES `parent` (`a`))"] [session="{\n \"currDBName\": \"test\",\n \"id\": 39,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2025/04/04 12:47:22.052 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119063617568769] [2025/04/04 12:47:22.064 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119063617568772] [2025/04/04 12:47:22.074 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119063617568776] [generation=1] [session=39] [keys=1] [size=25B] ["flushed keys"=1] ["flushed size"=25B] ["take time"=946.288µs] [2025/04/04 12:47:22.074 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=1.052048ms] [total_duration=1.500126ms] ["memdb traversal cache hit"=2] ["memdb traversal cache miss"=2] [size=25B] [startTS=457119063617568776] [2025/04/04 12:47:22.075 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119063617568776] [commitTS=457119063617568777] [2025/04/04 12:47:22.075 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-commit-457119063617568776] [startKey=7480000000000001085f728000000000000004] [endKey=7480000000000001085f728000000000000004] [2025/04/04 12:47:22.075 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=0] [startTS=457119063617568776] [commitTS=457119063617568777] [session=39] [2025/04/04 12:47:22.079 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119063617568778] [generation=1] [session=39] [keys=2] [size=67B] ["flushed keys"=2] ["flushed size"=67B] ["take time"=2.290037ms] [2025/04/04 12:47:22.079 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=2] [flush_wait_duration=2.401196ms] [total_duration=2.90133ms] ["memdb traversal cache hit"=4] ["memdb traversal cache miss"=3] [size=67B] [startTS=457119063617568778] [2025/04/04 12:47:22.082 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119063617568778] [commitTS=457119063617568779] [2025/04/04 12:47:22.082 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119063617568778] [startKey=74800000000000010a5f698000000000000001038000000000000004038000000000000003] [endKey=74800000000000010a5f728000000000000003] [concurrency=8] [2025/04/04 12:47:22.084 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119063617568778] [startKey=74800000000000010a5f698000000000000001038000000000000004038000000000000003] [endKey=74800000000000010a5f728000000000000003] ["cost time"=2.22802ms] ["completed regions"=1] [2025/04/04 12:47:22.084 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119063617568778] [commitTS=457119063617568779] [session=39] [2025/04/04 12:47:22.086 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=39] [schemaVersion=229] [cur_db=test] [sql="create temporary table temp(a int)"] [user=] [2025/04/04 12:47:22.101 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:270, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:269, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:22.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:47:22.101 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:270, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:269, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:22.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table cached(a int)"] [2025/04/04 12:47:22.107 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=270] [conn=39] [job="ID:270, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:269, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:22.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:22.111 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 269, Table Name: cached)"] [2025/04/04 12:47:22.125 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=229] [neededSchemaVersion=230] ["elapsed time"=1.446817ms] [gotSchemaVersion=230] [phyTblIDs="[269]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:47:22.128 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=270] [version=230] [2025/04/04 12:47:22.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=230] ["take time"=8.387411ms] [job="ID:270, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:269, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:22.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:22.141 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=270] [conn=39] [job="ID:270, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:269, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:22.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:22.151 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=270] [2025/04/04 12:47:22.152 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=39] [schemaVersion=230] [cur_db=test] [sql="create table cached(a int)"] [user=] [2025/04/04 12:47:22.171 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:271, Type:alter table cache, State:queueing, SchemaState:none, SchemaID:2, TableID:269, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:22.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="alter table cached cache"] [2025/04/04 12:47:22.171 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:271, Type:alter table cache, State:queueing, SchemaState:none, SchemaID:2, TableID:269, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:22.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:47:22.177 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=271] [conn=39] [job="ID:271, Type:alter table cache, State:queueing, SchemaState:none, SchemaID:2, TableID:269, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:22.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:22.192 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=230] [neededSchemaVersion=231] ["elapsed time"=1.631271ms] [gotSchemaVersion=231] [phyTblIDs="[269]"] [actionTypes="[57]"] [diffTypes="[\"alter table cache\"]"] [2025/04/04 12:47:22.196 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=271] [version=231] [2025/04/04 12:47:22.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=231] ["take time"=9.016773ms] [job="ID:271, Type:alter table cache, State:running, SchemaState:none, SchemaID:2, TableID:269, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:22.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:22.208 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=271] [conn=39] [job="ID:271, Type:alter table cache, State:running, SchemaState:none, SchemaID:2, TableID:269, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:22.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:22.224 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=231] [neededSchemaVersion=232] ["elapsed time"=1.669215ms] [gotSchemaVersion=232] [phyTblIDs="[269]"] [actionTypes="[57]"] [diffTypes="[\"alter table cache\"]"] [2025/04/04 12:47:22.228 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=271] [version=232] [2025/04/04 12:47:22.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=232] ["take time"=8.783259ms] [job="ID:271, Type:alter table cache, State:done, SchemaState:public, SchemaID:2, TableID:269, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:22.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:22.239 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=271] [conn=39] [job="ID:271, Type:alter table cache, State:synced, SchemaState:public, SchemaID:2, TableID:269, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:22.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:22.251 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=271] [2025/04/04 12:47:22.251 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=39] [schemaVersion=232] [cur_db=test] [sql="alter table cached cache"] [user=] [2025/04/04 12:47:22.266 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 12:47:22.266 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 12:47:22.266 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=e0f97896-244a-4415-9392-5b10ad2e63b7] [] [2025/04/04 12:47:22.266 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=e0f97896-244a-4415-9392-5b10ad2e63b7] [2025/04/04 12:47:22.267 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:47:22.267 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:47:22.267 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 73, tp general"] ["take time"=73.677µs] [2025/04/04 12:47:22.267 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 74, tp general"] ["take time"=59.12µs] [2025/04/04 12:47:22.267 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 75, tp general"] ["take time"=61.225µs] [2025/04/04 12:47:22.267 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 76, tp general"] ["take time"=33.194µs] [2025/04/04 12:47:22.267 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 77, tp general"] ["take time"=37.291µs] [2025/04/04 12:47:22.267 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 78, tp general"] ["take time"=30.87µs] [2025/04/04 12:47:22.267 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=e0f97896-244a-4415-9392-5b10ad2e63b7] [2025/04/04 12:47:22.267 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=e0f97896-244a-4415-9392-5b10ad2e63b7] [2025/04/04 12:47:22.268 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 12:47:22.268 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 12:47:22.271 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=e0f97896-244a-4415-9392-5b10ad2e63b7] ["take time"=4.599317ms] [2025/04/04 12:47:22.271 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=e0f97896-244a-4415-9392-5b10ad2e63b7] [2025/04/04 12:47:22.271 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 12:47:22.271 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/73a7fca2-5ce7-4d6b-a3ea-66fd661b1a21] [2025/04/04 12:47:22.271 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=e0f97896-244a-4415-9392-5b10ad2e63b7] [ttl-worker=task-manager] [ttl-worker=e0f97896-244a-4415-9392-5b10ad2e63b7] [originalCount=4] [newCount=0] [2025/04/04 12:47:22.271 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:47:22.271 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:47:22.271 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:47:22.271 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:47:22.272 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=e0f97896-244a-4415-9392-5b10ad2e63b7] [ttl-worker=task-manager] [ttl-worker=e0f97896-244a-4415-9392-5b10ad2e63b7] [originalCount=4] [newCount=0] [2025/04/04 12:47:22.274 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:47:22.274 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:47:22.274 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:47:22.274 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:47:22.276 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=e0f97896-244a-4415-9392-5b10ad2e63b7] [2025/04/04 12:47:22.276 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 12:47:22.277 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1045] [2025/04/04 12:47:22.278 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 12:47:22.278 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=c53f7a00-cb59-46c8-a3b2-f2077a2034b0] [] [2025/04/04 12:47:22.278 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 12:47:22.278 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:47:22.278 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 12:47:22.278 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:47:22.278 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 12:47:22.278 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 12:47:22.278 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 12:47:22.278 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:47:22.278 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 12:47:22.278 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 12:47:22.278 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:47:22.278 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:47:22.278 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:47:22.278 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:47:22.278 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:47:22.278 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 12:47:22.278 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 12:47:22.278 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 12:47:22.278 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 12:47:22.278 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:47:22.278 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 12:47:22.278 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=c53f7a00-cb59-46c8-a3b2-f2077a2034b0] [2025/04/04 12:47:22.278 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 12:47:22.278 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:47:22.278 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:47:22.278 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:47:22.278 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:47:22.278 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:47:22.278 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 12:47:22.278 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:47:22.278 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:47:22.278 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:47:22.278 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:47:22.278 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:47:22.278 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:47:22.278 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:47:22.278 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:47:22.278 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 12:47:22.278 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:47:22.278 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 12:47:22.279 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:47:22.278 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 12:47:22.278 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 12:47:22.279 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:47:22.278 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 12:47:22.278 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 12:47:22.278 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 12:47:22.278 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 12:47:22.279 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 12:47:22.279 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:47:22.279 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:47:22.278 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:47:22.278 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 12:47:22.279 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:47:22.279 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:47:22.279 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:47:22.279 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 12:47:22.278 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:47:22.279 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 12:47:22.279 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:47:22.279 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:47:22.278 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=c53f7a00-cb59-46c8-a3b2-f2077a2034b0] [2025/04/04 12:47:22.279 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:47:22.279 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=c53f7a00-cb59-46c8-a3b2-f2077a2034b0] [2025/04/04 12:47:22.279 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/stats/owner] [id=e0f97896-244a-4415-9392-5b10ad2e63b7] [error="context canceled"] [2025/04/04 12:47:22.279 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=e0f97896-244a-4415-9392-5b10ad2e63b7] [2025/04/04 12:47:22.280 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 12:47:22.280 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 12:47:22.280 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=c53f7a00-cb59-46c8-a3b2-f2077a2034b0] [daemon-id=LogBackup::Advancer] [2025/04/04 12:47:22.280 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 12:47:22.280 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:47:22.280 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:47:22.280 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:47:22.280 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 12:47:22.280 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=e0f97896-244a-4415-9392-5b10ad2e63b7] [error="context canceled"] [2025/04/04 12:47:22.280 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 12:47:22.280 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 12:47:22.280 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:47:22.281 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=e0f97896-244a-4415-9392-5b10ad2e63b7] [error="context canceled"] [2025/04/04 12:47:22.281 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=e0f97896-244a-4415-9392-5b10ad2e63b7] [2025/04/04 12:47:22.299 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 12:47:22.299 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:47:22.342 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=e0f97896-244a-4415-9392-5b10ad2e63b7] [error="context canceled"] [2025/04/04 12:47:22.342 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 12:47:22.342 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:47:22.353 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=86.349372ms] [2025/04/04 12:47:23.353 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/04 12:47:27.076 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119063617568776 commit_ts:457119063617568777 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:47:27.076 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119063617568776 commit_ts:457119063617568777 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:47:27.076 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119063617568776 commit_ts:457119063617568777 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:47:27.085 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119063617568778 commit_ts:457119063617568779 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:47:27.085 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119063617568778 commit_ts:457119063617568779 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:47:27.085 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119063617568778 commit_ts:457119063617568779 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:47:27.085 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:47:27.085 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:47:27.085 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:47:27.085 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:47:27.085 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:47:27.085 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:47:27.085 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:47:27.085 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:47:27.086 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:47:27.085 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-18] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:47:27.086 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:47:27.086 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:47:27.087 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestRejectUnsupportedTables (5.75s) === NAME FAIL ================================================================================ ==================== Test output for //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test: === RUN TestVariable [2025/04/04 12:47:29.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/04 12:47:29.157 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 12:47:29.157 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437819270443114] [2025/04/04 12:47:29.158 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:47:29.158 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 12:47:29.158 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:47:29.158 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:47:29.158 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:47:29.159 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:47:29.159 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:47:29.159 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:47:29.164 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 12:47:29.171 +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/04 12:47:29.172 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:47:29.172 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:47:29.187 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489437819270443114] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 12:47:29.208 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 12:47:29.242 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1301] ["lease id"=6f189600d42f9db3] [2025/04/04 12:47:29.244 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/04 12:47:29.334 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=232] ["elapsed time"=84.985402ms] [2025/04/04 12:47:29.334 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 12:47:29.342 +00:00] [INFO] [ddl.go:964] ["change job version in use"] [category=ddl] [old=v1] [new=v2] [2025/04/04 12:47:29.342 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=964733e8-cbb5-43cb-92bc-16deff71eaaf] [runWorker=true] [jobVersion=v2] [2025/04/04 12:47:29.342 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 12:47:29.344 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=964733e8-cbb5-43cb-92bc-16deff71eaaf] [2025/04/04 12:47:29.345 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 12:47:29.346 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 217604177920/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 12:47:29.346 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:47:29.346 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:47:29.346 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:47:29.346 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:47:29.346 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:47:29.346 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:47:29.346 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:47:29.346 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:47:29.346 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 12:47:29.346 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:47:29.346 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:47:29.346 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 12:47:29.346 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=66b10083-49c3-4a4f-927f-146c561d90b9] [2025/04/04 12:47:29.348 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9600d42f9797] [ownerID=964733e8-cbb5-43cb-92bc-16deff71eaaf] [op=none] [2025/04/04 12:47:29.348 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=964733e8-cbb5-43cb-92bc-16deff71eaaf] [2025/04/04 12:47:29.348 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:47:29.349 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=964733e8-cbb5-43cb-92bc-16deff71eaaf] [ownerKey=/tidb/ddl/fg/owner/3eaa9600d42f9797] [currRev=1130] [2025/04/04 12:47:29.349 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=66b10083-49c3-4a4f-927f-146c561d90b9] [daemon-id=LogBackup::Advancer] [2025/04/04 12:47:29.349 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa9600d42f9799] [ownerID=66b10083-49c3-4a4f-927f-146c561d90b9] [op=none] [2025/04/04 12:47:29.349 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=66b10083-49c3-4a4f-927f-146c561d90b9] [2025/04/04 12:47:29.350 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=66b10083-49c3-4a4f-927f-146c561d90b9] [ownerKey=/tidb/br-stream/owner/3eaa9600d42f9799] [currRev=1131] [2025/04/04 12:47:29.350 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 12:47:29.350 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9600d42f9797] [ownerID=964733e8-cbb5-43cb-92bc-16deff71eaaf] [op=none] [2025/04/04 12:47:29.350 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=964733e8-cbb5-43cb-92bc-16deff71eaaf] [op=none] [2025/04/04 12:47:29.351 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 12:47:29.355 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestVariable\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:35\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:47:29.356 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestVariable\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:35\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:47:29.357 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestVariable\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:35\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:47:29.357 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=964733e8-cbb5-43cb-92bc-16deff71eaaf] [2025/04/04 12:47:29.358 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:47:29.358 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 12:47:29.366 +00:00] [INFO] [sysvar.go:3019] ["set resource control"] [enable=true] [2025/04/04 12:47:29.369 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 12:47:29.369 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:47:29.376 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:47:29.381 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:47:29.381 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:47:29.381 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 12:47:29.381 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:47:29.381 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 12:47:29.381 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:47:29.381 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 12:47:29.381 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 12:47:29.381 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 12:47:29.382 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:47:29.382 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=964733e8-cbb5-43cb-92bc-16deff71eaaf] [2025/04/04 12:47:29.383 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:47:29.383 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:47:29.383 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:47:29.383 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:47:29.384 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:47:29.384 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 12:47:29.384 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:47:29.384 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 12:47:29.384 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:47:29.384 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:47:29.384 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=10] [2025/04/04 12:47:29.384 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:47:29.384 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:47:29.384 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:47:29.384 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:47:29.386 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=66] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/04 12:47:29.389 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/29b8ed24-18f6-4444-8ff4-cc216d34d8e6] [2025/04/04 12:47:29.389 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=964733e8-cbb5-43cb-92bc-16deff71eaaf] [ttl-worker=task-manager] [ttl-worker=964733e8-cbb5-43cb-92bc-16deff71eaaf] [originalCount=0] [newCount=4] [2025/04/04 12:47:29.389 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 12:47:29.390 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=964733e8-cbb5-43cb-92bc-16deff71eaaf] [ttl-worker=task-manager] [ttl-worker=964733e8-cbb5-43cb-92bc-16deff71eaaf] [originalCount=0] [newCount=4] [2025/04/04 12:47:29.390 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=964733e8-cbb5-43cb-92bc-16deff71eaaf] [2025/04/04 12:47:29.392 +00:00] [INFO] [helper.go:189] ["set random timezone for getStmtTimestamp"] [timezone=Asia/Tokyo] [2025/04/04 12:47:29.393 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:47:29.393 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 12:47:29.394 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743770849394240994 [2025/04/04 12:47:29.395 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 12:47:29.402 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=20.062019ms] [2025/04/04 12:47:29.402 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 12:47:29.403 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:47:29.414 +00:00] [INFO] [set.go:172] ["set global var"] [conn=1] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 12:47:29.430 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:272, Type:alter table nocache, State:queueing, SchemaState:none, SchemaID:2, TableID:269, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:29.397 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="alter table `cached` nocache"] [2025/04/04 12:47:29.430 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:272, Type:alter table nocache, State:queueing, SchemaState:none, SchemaID:2, TableID:269, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:29.397 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:47:29.435 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=272] [conn=1] [job="ID:272, Type:alter table nocache, State:queueing, SchemaState:none, SchemaID:2, TableID:269, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:29.397 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:29.450 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=232] [neededSchemaVersion=233] ["elapsed time"=1.625735ms] [gotSchemaVersion=233] [phyTblIDs="[269]"] [actionTypes="[59]"] [diffTypes="[\"alter table nocache\"]"] [2025/04/04 12:47:29.454 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=272] [version=233] [2025/04/04 12:47:29.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=233] ["take time"=9.550735ms] [job="ID:272, Type:alter table nocache, State:running, SchemaState:none, SchemaID:2, TableID:269, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:29.397 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:29.466 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=272] [conn=1] [job="ID:272, Type:alter table nocache, State:running, SchemaState:none, SchemaID:2, TableID:269, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:29.397 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:29.480 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=233] [neededSchemaVersion=234] ["elapsed time"=1.319516ms] [gotSchemaVersion=234] [phyTblIDs="[269]"] [actionTypes="[59]"] [diffTypes="[\"alter table nocache\"]"] [2025/04/04 12:47:29.484 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=272] [version=234] [2025/04/04 12:47:29.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=234] ["take time"=7.702085ms] [job="ID:272, Type:alter table nocache, State:done, SchemaState:public, SchemaID:2, TableID:269, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:29.397 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:29.494 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=272] [conn=1] [job="ID:272, Type:alter table nocache, State:synced, SchemaState:public, SchemaID:2, TableID:269, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:29.397 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:29.505 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=272] [2025/04/04 12:47:29.505 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=234] [cur_db=test] [sql="alter table `cached` nocache"] [user=] [2025/04/04 12:47:29.507 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=234] [cur_db=test] [sql="alter table `child` nocache"] [user=] [2025/04/04 12:47:29.508 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=234] [cur_db=test] [sql="alter table `parent` nocache"] [user=] [2025/04/04 12:47:29.519 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:273, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:269, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:29.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `cached`,`child`,`parent`"] [2025/04/04 12:47:29.519 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:273, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:269, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:29.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:47:29.525 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=273] [conn=1] [job="ID:273, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:269, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:29.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:29.539 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=234] [neededSchemaVersion=235] ["elapsed time"=1.612336ms] [gotSchemaVersion=235] [phyTblIDs="[269]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:47:29.542 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=273] [version=235] [2025/04/04 12:47:29.543 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=235] ["take time"=8.394709ms] [job="ID:273, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:269, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:29.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:29.553 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=273] [conn=1] [job="ID:273, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:269, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:29.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:29.566 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=235] [neededSchemaVersion=236] ["elapsed time"=1.580053ms] [gotSchemaVersion=236] [phyTblIDs="[269]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:47:29.570 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=273] [version=236] [2025/04/04 12:47:29.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=236] ["take time"=8.033784ms] [job="ID:273, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:269, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:29.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:29.579 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=273] [conn=1] [job="ID:273, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:269, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:29.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:29.584 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 269, Old Table Name: cached)"] [2025/04/04 12:47:29.596 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=236] [neededSchemaVersion=237] ["elapsed time"=886.722µs] [gotSchemaVersion=237] [phyTblIDs="[269]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:47:29.599 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=273] [version=237] [2025/04/04 12:47:29.601 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=237] ["take time"=7.314957ms] [job="ID:273, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:269, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:29.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:29.610 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=273] [tableIDs="[269]"] [comment="drop table: table ID"] [2025/04/04 12:47:29.616 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=273] [jobType="drop table"] [2025/04/04 12:47:29.617 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=273] [conn=1] [job="ID:273, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:269, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:29.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:29.634 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=273] [2025/04/04 12:47:29.644 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:274, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:266, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:29.597 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:47:29.644 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:274, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:266, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:29.597 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `cached`,`child`,`parent`"] [2025/04/04 12:47:29.649 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=274] [conn=1] [job="ID:274, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:266, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:29.597 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:29.664 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=237] [neededSchemaVersion=238] ["elapsed time"=1.987436ms] [gotSchemaVersion=238] [phyTblIDs="[266]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:47:29.668 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=274] [version=238] [2025/04/04 12:47:29.669 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=238] ["take time"=8.655185ms] [job="ID:274, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:266, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:29.597 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:29.678 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=274] [conn=1] [job="ID:274, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:266, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:29.597 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:29.693 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=238] [neededSchemaVersion=239] ["elapsed time"=2.04784ms] [gotSchemaVersion=239] [phyTblIDs="[266]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:47:29.696 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=274] [version=239] [2025/04/04 12:47:29.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=239] ["take time"=8.47815ms] [job="ID:274, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:266, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:29.597 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:29.709 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=274] [conn=1] [job="ID:274, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:266, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:29.597 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:29.715 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 266, Old Table Name: child)"] [2025/04/04 12:47:29.727 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=239] [neededSchemaVersion=240] ["elapsed time"=945.981µs] [gotSchemaVersion=240] [phyTblIDs="[266]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:47:29.730 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=274] [version=240] [2025/04/04 12:47:29.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=240] ["take time"=7.651152ms] [job="ID:274, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:266, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:29.597 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:29.741 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=274] [tableIDs="[266]"] [comment="drop table: table ID"] [2025/04/04 12:47:29.745 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=274] [jobType="drop table"] [2025/04/04 12:47:29.745 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=274] [conn=1] [job="ID:274, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:266, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:29.597 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:29.761 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=274] [2025/04/04 12:47:29.770 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:275, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:264, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:29.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:47:29.771 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:275, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:264, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:29.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `cached`,`child`,`parent`"] [2025/04/04 12:47:29.776 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=275] [conn=1] [job="ID:275, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:264, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:29.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:29.789 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=240] [neededSchemaVersion=241] ["elapsed time"=1.506465ms] [gotSchemaVersion=241] [phyTblIDs="[264]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:47:29.792 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=275] [version=241] [2025/04/04 12:47:29.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=241] ["take time"=7.61001ms] [job="ID:275, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:264, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:29.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:29.802 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=275] [conn=1] [job="ID:275, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:264, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:29.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:29.815 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=241] [neededSchemaVersion=242] ["elapsed time"=1.540183ms] [gotSchemaVersion=242] [phyTblIDs="[264]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:47:29.819 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=275] [version=242] [2025/04/04 12:47:29.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=242] ["take time"=7.545304ms] [job="ID:275, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:264, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:29.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:29.827 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=275] [conn=1] [job="ID:275, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:264, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:29.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:29.832 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 264, Old Table Name: parent)"] [2025/04/04 12:47:29.843 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=242] [neededSchemaVersion=243] ["elapsed time"=887.982µs] [gotSchemaVersion=243] [phyTblIDs="[264]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:47:29.846 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=275] [version=243] [2025/04/04 12:47:29.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=243] ["take time"=6.852133ms] [job="ID:275, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:264, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:29.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:29.855 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=275] [tableIDs="[264]"] [comment="drop table: table ID"] [2025/04/04 12:47:29.859 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=275] [jobType="drop table"] [2025/04/04 12:47:29.860 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=275] [conn=1] [job="ID:275, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:264, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:29.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:29.874 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=275] [2025/04/04 12:47:29.875 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 1\n# Query_time: 0.366333174\n# Parse_time: 0.000124868\n# Compile_time: 0.000263432\n# Rewrite_time: 0.000011018\n# Optimize_time: 0.000041896\n# Wait_TS: 0.000346323\n# DB: test\n# Is_internal: false\n# Digest: 3e7fdbdb1a71f46f0a6898433864b2b2ecda43740dcdab1f93c5812a586d288f\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nuse test;\ndrop table `cached`,`child`,`parent`;"] [2025/04/04 12:47:29.875 +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: 1743770849875436484 [2025/04/04 12:47:29.878 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="[expression:1305]FUNCTION test.bulk does not exist"] [errorVerbose="[expression:1305]FUNCTION test.bulk does not exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/expression.newFunctionImpl\n\tpkg/expression/scalar_function.go:238\ngithub.com/pingcap/tidb/pkg/expression.NewFunction\n\tpkg/expression/scalar_function.go:313\ngithub.com/pingcap/tidb/pkg/planner/core.(*expressionRewriter).newFunctionWithInit\n\tpkg/planner/core/expression_rewriter.go:1641\ngithub.com/pingcap/tidb/pkg/planner/core.(*expressionRewriter).newFunction\n\tpkg/planner/core/expression_rewriter.go:1651\ngithub.com/pingcap/tidb/pkg/planner/core.(*expressionRewriter).funcCallToExpression\n\tpkg/planner/core/expression_rewriter.go:2409\ngithub.com/pingcap/tidb/pkg/planner/core.(*expressionRewriter).Leave\n\tpkg/planner/core/expression_rewriter.go:1475\ngithub.com/pingcap/tidb/pkg/parser/ast.(*FuncCallExpr).Accept\n\tpkg/parser/ast/functions.go:590\ngithub.com/pingcap/tidb/pkg/planner/core.rewriteExprNode\n\tpkg/planner/core/expression_rewriter.go:300\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).rewriteWithPreprocess\n\tpkg/planner/core/expression_rewriter.go:239\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).rewrite\n\tpkg/planner/core/expression_rewriter.go:206\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).buildSet\n\tpkg/planner/core/planbuilder.go:707\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).Build\n\tpkg/planner/core/planbuilder.go:551\ngithub.com/pingcap/tidb/pkg/planner.buildLogicalPlan\n\tpkg/planner/optimize.go:547\ngithub.com/pingcap/tidb/pkg/planner.optimize\n\tpkg/planner/optimize.go:466\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:333\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:101\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecToErr\n\tpkg/testkit/testkit.go:484\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestVariable\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:46\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL="set session tidb_dml_type = bulk(10)"] [2025/04/04 12:47:29.887 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="[planner:8112]Wrong parameter count"] [errorVerbose="[planner:8112]Wrong parameter count\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.planCachePreprocess\n\tpkg/planner/core/plan_cache.go:108\ngithub.com/pingcap/tidb/pkg/planner/core.GetPlanFromPlanCache\n\tpkg/planner/core/plan_cache.go:199\ngithub.com/pingcap/tidb/pkg/planner.OptimizeExecStmt\n\tpkg/planner/optimize.go:524\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:173\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:101\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecutePreparedStmt\n\tpkg/session/session.go:2511\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:462\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecToErr\n\tpkg/testkit/testkit.go:484\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestVariable\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:102\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL=] [2025/04/04 12:47:29.887 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="[planner:8112]Wrong parameter count"] [errorVerbose="[planner:8112]Wrong parameter count\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.planCachePreprocess\n\tpkg/planner/core/plan_cache.go:108\ngithub.com/pingcap/tidb/pkg/planner/core.GetPlanFromPlanCache\n\tpkg/planner/core/plan_cache.go:199\ngithub.com/pingcap/tidb/pkg/planner.OptimizeExecStmt\n\tpkg/planner/optimize.go:524\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:173\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:101\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecutePreparedStmt\n\tpkg/session/session.go:2511\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:462\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecToErr\n\tpkg/testkit/testkit.go:484\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestVariable\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:108\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL=] [2025/04/04 12:47:29.888 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="[planner:8112]Wrong parameter count"] [errorVerbose="[planner:8112]Wrong parameter count\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.planCachePreprocess\n\tpkg/planner/core/plan_cache.go:108\ngithub.com/pingcap/tidb/pkg/planner/core.GetPlanFromPlanCache\n\tpkg/planner/core/plan_cache.go:199\ngithub.com/pingcap/tidb/pkg/planner.OptimizeExecStmt\n\tpkg/planner/optimize.go:524\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:173\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:101\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecutePreparedStmt\n\tpkg/session/session.go:2511\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:462\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecToErr\n\tpkg/testkit/testkit.go:484\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestVariable\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:112\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL=] [2025/04/04 12:47:29.889 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="[planner:8112]Wrong parameter count"] [errorVerbose="[planner:8112]Wrong parameter count\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.planCachePreprocess\n\tpkg/planner/core/plan_cache.go:108\ngithub.com/pingcap/tidb/pkg/planner/core.GetPlanFromPlanCache\n\tpkg/planner/core/plan_cache.go:199\ngithub.com/pingcap/tidb/pkg/planner.OptimizeExecStmt\n\tpkg/planner/optimize.go:524\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:173\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:101\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecutePreparedStmt\n\tpkg/session/session.go:2511\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:462\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecToErr\n\tpkg/testkit/testkit.go:484\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestVariable\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:116\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL=] [2025/04/04 12:47:29.889 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="[planner:8112]Wrong parameter count"] [errorVerbose="[planner:8112]Wrong parameter count\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.planCachePreprocess\n\tpkg/planner/core/plan_cache.go:108\ngithub.com/pingcap/tidb/pkg/planner/core.GetPlanFromPlanCache\n\tpkg/planner/core/plan_cache.go:199\ngithub.com/pingcap/tidb/pkg/planner.OptimizeExecStmt\n\tpkg/planner/optimize.go:524\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:173\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:101\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecutePreparedStmt\n\tpkg/session/session.go:2511\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:462\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecToErr\n\tpkg/testkit/testkit.go:484\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestVariable\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:118\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL=] [2025/04/04 12:47:29.890 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="[planner:8112]Wrong parameter count"] [errorVerbose="[planner:8112]Wrong parameter count\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.planCachePreprocess\n\tpkg/planner/core/plan_cache.go:108\ngithub.com/pingcap/tidb/pkg/planner/core.GetPlanFromPlanCache\n\tpkg/planner/core/plan_cache.go:199\ngithub.com/pingcap/tidb/pkg/planner.OptimizeExecStmt\n\tpkg/planner/optimize.go:524\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:173\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:101\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecutePreparedStmt\n\tpkg/session/session.go:2511\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:462\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecToErr\n\tpkg/testkit/testkit.go:484\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestVariable\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:122\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL=] [2025/04/04 12:47:29.905 +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: 1743770849905744657 [2025/04/04 12:47:29.920 +00:00] [INFO] [set.go:172] ["set global var"] [conn=3] [name=tidb_schema_cache_size] [val=0] [2025/04/04 12:47:29.933 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:277, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:276, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:29.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t(id int)"] [2025/04/04 12:47:29.933 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:277, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:276, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:29.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:47:29.938 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=277] [conn=2] [job="ID:277, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:276, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:29.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:29.942 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 276, Table Name: t)"] [2025/04/04 12:47:29.954 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=243] [neededSchemaVersion=244] ["elapsed time"=1.275151ms] [gotSchemaVersion=244] [phyTblIDs="[276]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:47:29.957 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=277] [version=244] [2025/04/04 12:47:29.958 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=244] ["take time"=7.60077ms] [job="ID:277, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:276, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:29.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:29.968 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=277] [conn=2] [job="ID:277, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:276, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:29.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:29.979 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=277] [2025/04/04 12:47:29.979 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=244] [cur_db=test] [sql="create table t(id int)"] [user=] [2025/04/04 12:47:29.989 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119065688506386] [generation=1] [session=2] [keys=1] [size=19B] ["flushed keys"=1] ["flushed size"=19B] ["take time"=1.120267ms] [2025/04/04 12:47:29.989 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=1.203941ms] [total_duration=2.624116ms] ["memdb traversal cache hit"=1] ["memdb traversal cache miss"=2] [size=19B] [startTS=457119065688506386] [2025/04/04 12:47:29.991 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119065688506386] [commitTS=457119065688506387] [2025/04/04 12:47:29.991 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-commit-457119065688506386] [startKey=7480000000000001145f728000000000000001] [endKey=7480000000000001145f728000000000000001] [2025/04/04 12:47:29.991 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=0] [startTS=457119065688506386] [commitTS=457119065688506387] [session=2] [2025/04/04 12:47:29.997 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 12:47:29.997 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=964733e8-cbb5-43cb-92bc-16deff71eaaf] [] [2025/04/04 12:47:29.997 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=964733e8-cbb5-43cb-92bc-16deff71eaaf] [2025/04/04 12:47:29.997 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 12:47:29.997 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:47:29.997 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:47:29.998 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 1, tp general"] ["take time"=56.743µs] [2025/04/04 12:47:29.998 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 2, tp general"] ["take time"=39.234µs] [2025/04/04 12:47:29.998 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 3, tp general"] ["take time"=38.219µs] [2025/04/04 12:47:29.998 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 4, tp general"] ["take time"=34.257µs] [2025/04/04 12:47:29.998 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 5, tp general"] ["take time"=36.259µs] [2025/04/04 12:47:29.998 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=964733e8-cbb5-43cb-92bc-16deff71eaaf] [2025/04/04 12:47:29.998 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=964733e8-cbb5-43cb-92bc-16deff71eaaf] [2025/04/04 12:47:29.999 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 12:47:29.999 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 12:47:30.001 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=964733e8-cbb5-43cb-92bc-16deff71eaaf] ["take time"=3.866275ms] [2025/04/04 12:47:30.001 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=964733e8-cbb5-43cb-92bc-16deff71eaaf] [2025/04/04 12:47:30.001 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 12:47:30.001 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/29b8ed24-18f6-4444-8ff4-cc216d34d8e6] [2025/04/04 12:47:30.001 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=964733e8-cbb5-43cb-92bc-16deff71eaaf] [ttl-worker=task-manager] [ttl-worker=964733e8-cbb5-43cb-92bc-16deff71eaaf] [originalCount=4] [newCount=0] [2025/04/04 12:47:30.001 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:47:30.001 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:47:30.001 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:47:30.001 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:47:30.002 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=964733e8-cbb5-43cb-92bc-16deff71eaaf] [ttl-worker=task-manager] [ttl-worker=964733e8-cbb5-43cb-92bc-16deff71eaaf] [originalCount=4] [newCount=0] [2025/04/04 12:47:30.005 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:47:30.005 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:47:30.005 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:47:30.005 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:47:30.007 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=964733e8-cbb5-43cb-92bc-16deff71eaaf] [2025/04/04 12:47:30.007 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 12:47:30.008 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1301] [2025/04/04 12:47:30.008 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:47:30.008 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 12:47:30.008 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:47:30.008 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:47:30.008 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 12:47:30.008 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:47:30.008 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 12:47:30.008 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 12:47:30.008 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:47:30.009 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 12:47:30.009 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:47:30.008 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 12:47:30.009 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 12:47:30.009 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 12:47:30.009 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 12:47:30.009 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:47:30.009 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:47:30.009 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 12:47:30.009 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=66b10083-49c3-4a4f-927f-146c561d90b9] [] [2025/04/04 12:47:30.009 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 12:47:30.009 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:47:30.009 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 12:47:30.009 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 12:47:30.009 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:47:30.009 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:47:30.009 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:47:30.009 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:47:30.009 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:47:30.009 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:47:30.009 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:47:30.009 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:47:30.008 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:47:30.009 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:47:30.009 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:47:30.009 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:47:30.008 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 12:47:30.009 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 12:47:30.009 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:47:30.009 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:47:30.008 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 12:47:30.009 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 12:47:30.009 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:47:30.009 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:47:30.009 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:47:30.009 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:47:30.009 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 12:47:30.009 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:47:30.009 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:47:30.009 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:47:30.009 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:47:30.009 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 12:47:30.009 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:47:30.009 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 12:47:30.009 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:47:30.009 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 12:47:30.009 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:47:30.009 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:47:30.009 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:47:30.009 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:47:30.008 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 12:47:30.009 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 12:47:30.009 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:47:30.009 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:47:30.009 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 12:47:30.009 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 12:47:30.009 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=66b10083-49c3-4a4f-927f-146c561d90b9] [2025/04/04 12:47:30.010 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=66b10083-49c3-4a4f-927f-146c561d90b9] [2025/04/04 12:47:30.009 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 12:47:30.010 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=66b10083-49c3-4a4f-927f-146c561d90b9] [2025/04/04 12:47:30.009 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:47:30.009 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:47:30.010 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/stats/owner] [id=964733e8-cbb5-43cb-92bc-16deff71eaaf] [error="context canceled"] [2025/04/04 12:47:30.010 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:47:30.010 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 12:47:30.010 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=964733e8-cbb5-43cb-92bc-16deff71eaaf] [2025/04/04 12:47:30.010 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:47:30.011 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 12:47:30.011 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 12:47:30.011 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 12:47:30.011 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:47:30.011 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:47:30.011 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=66b10083-49c3-4a4f-927f-146c561d90b9] [daemon-id=LogBackup::Advancer] [2025/04/04 12:47:30.011 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 12:47:30.012 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:47:30.011 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 12:47:30.012 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 12:47:30.012 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:47:30.013 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=964733e8-cbb5-43cb-92bc-16deff71eaaf] [error="context canceled"] [2025/04/04 12:47:30.013 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=964733e8-cbb5-43cb-92bc-16deff71eaaf] [2025/04/04 12:47:30.030 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 12:47:30.030 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:47:30.079 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=964733e8-cbb5-43cb-92bc-16deff71eaaf] [error="context canceled"] [2025/04/04 12:47:30.079 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 12:47:30.079 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:47:30.089 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=92.185787ms] [2025/04/04 12:47:31.165 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/04 12:47:34.992 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119065688506386 commit_ts:457119065688506387 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:47:34.992 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119065688506386 commit_ts:457119065688506387 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:47:34.992 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119065688506386 commit_ts:457119065688506387 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:47:34.992 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:47:34.992 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:47:34.992 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:47:34.992 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:47:34.992 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:47:34.992 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:47:34.992 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:47:34.992 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:47:34.992 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:47:34.992 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-1] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:47:34.992 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:47:34.992 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:47:34.993 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestVariable (5.85s) === NAME === RUN TestPipelinedDMLPositive [2025/04/04 12:47:35.001 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 12:47:35.002 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 12:47:35.003 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437819270443114] [2025/04/04 12:47:35.003 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:47:35.003 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 12:47:35.003 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:47:35.003 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:47:35.003 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:47:35.004 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:47:35.004 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:47:35.004 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:47:35.008 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 12:47:35.013 +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/04 12:47:35.014 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:47:35.014 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:47:35.024 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489437819270443114] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 12:47:35.036 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 12:47:35.070 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=841] ["lease id"=22319600d42fa400] [2025/04/04 12:47:35.072 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/04 12:47:35.158 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=244] ["elapsed time"=83.103613ms] [2025/04/04 12:47:35.158 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 12:47:35.161 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 12:47:35.166 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=5ffd6613-1e83-446b-9d1f-a9ba5401a2e9] [runWorker=true] [jobVersion=v2] [2025/04/04 12:47:35.166 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 12:47:35.168 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=5ffd6613-1e83-446b-9d1f-a9ba5401a2e9] [2025/04/04 12:47:35.169 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 12:47:35.169 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 217604202496/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 12:47:35.169 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:47:35.169 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:47:35.169 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:47:35.169 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:47:35.169 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:47:35.169 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:47:35.169 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:47:35.170 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:47:35.169 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 12:47:35.170 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:47:35.170 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:47:35.170 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 12:47:35.170 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=4e082955-ed0c-4e03-995c-2d7905350167] [2025/04/04 12:47:35.171 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319600d42fa405] [ownerID=5ffd6613-1e83-446b-9d1f-a9ba5401a2e9] [op=none] [2025/04/04 12:47:35.171 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=5ffd6613-1e83-446b-9d1f-a9ba5401a2e9] [2025/04/04 12:47:35.172 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=5ffd6613-1e83-446b-9d1f-a9ba5401a2e9] [ownerKey=/tidb/ddl/fg/owner/22319600d42fa405] [currRev=1184] [2025/04/04 12:47:35.172 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:47:35.172 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=4e082955-ed0c-4e03-995c-2d7905350167] [daemon-id=LogBackup::Advancer] [2025/04/04 12:47:35.173 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 12:47:35.173 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f189600d42f9de5] [ownerID=4e082955-ed0c-4e03-995c-2d7905350167] [op=none] [2025/04/04 12:47:35.173 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=4e082955-ed0c-4e03-995c-2d7905350167] [2025/04/04 12:47:35.173 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=4e082955-ed0c-4e03-995c-2d7905350167] [ownerKey=/tidb/br-stream/owner/6f189600d42f9de5] [currRev=1185] [2025/04/04 12:47:35.173 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319600d42fa405] [ownerID=5ffd6613-1e83-446b-9d1f-a9ba5401a2e9] [op=none] [2025/04/04 12:47:35.174 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=5ffd6613-1e83-446b-9d1f-a9ba5401a2e9] [op=none] [2025/04/04 12:47:35.174 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 12:47:35.178 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[planner:1054]Unknown column 'b' in 'field list'"] [errorVerbose="[planner:1054]Unknown column 'b' in 'field list'\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).buildUpdateLists\n\tpkg/planner/core/logical_plan_builder.go:5685\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).buildUpdate\n\tpkg/planner/core/logical_plan_builder.go:5548\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).Build\n\tpkg/planner/core/planbuilder.go:545\ngithub.com/pingcap/tidb/pkg/planner.buildLogicalPlan\n\tpkg/planner/optimize.go:547\ngithub.com/pingcap/tidb/pkg/planner.optimize\n\tpkg/planner/optimize.go:466\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:333\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).buildExplain\n\tpkg/planner/core/planbuilder.go:5469\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).Build\n\tpkg/planner/core/planbuilder.go:514\ngithub.com/pingcap/tidb/pkg/planner.buildLogicalPlan\n\tpkg/planner/optimize.go:547\ngithub.com/pingcap/tidb/pkg/planner.optimize\n\tpkg/planner/optimize.go:466\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:333\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:101\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestPipelinedDMLPositive\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:174\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:47:35.182 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=5ffd6613-1e83-446b-9d1f-a9ba5401a2e9] [2025/04/04 12:47:35.183 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:47:35.183 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 12:47:35.192 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:47:35.199 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:47:35.203 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:47:35.203 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:47:35.203 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:47:35.203 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:47:35.203 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 12:47:35.203 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 12:47:35.203 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 12:47:35.203 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 12:47:35.203 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 12:47:35.204 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:47:35.204 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=5ffd6613-1e83-446b-9d1f-a9ba5401a2e9] [2025/04/04 12:47:35.205 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:47:35.205 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:47:35.205 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:47:35.205 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:47:35.206 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:47:35.206 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 12:47:35.206 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 12:47:35.206 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:47:35.206 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:47:35.206 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:47:35.206 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 12:47:35.206 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:47:35.206 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:47:35.206 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:47:35.206 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:47:35.207 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/04 12:47:35.210 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/fe285a91-47ea-4cd6-89dd-2a94dc8563c7] [2025/04/04 12:47:35.210 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=5ffd6613-1e83-446b-9d1f-a9ba5401a2e9] [ttl-worker=task-manager] [ttl-worker=5ffd6613-1e83-446b-9d1f-a9ba5401a2e9] [originalCount=0] [newCount=4] [2025/04/04 12:47:35.210 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=5ffd6613-1e83-446b-9d1f-a9ba5401a2e9] [ttl-worker=task-manager] [ttl-worker=5ffd6613-1e83-446b-9d1f-a9ba5401a2e9] [originalCount=0] [newCount=4] [2025/04/04 12:47:35.211 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=5ffd6613-1e83-446b-9d1f-a9ba5401a2e9] [2025/04/04 12:47:35.211 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 12:47:35.214 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:47:35.214 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 12:47:35.214 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743770855214978588 [2025/04/04 12:47:35.216 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 12:47:35.222 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=17.635032ms] [2025/04/04 12:47:35.222 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 12:47:35.222 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:47:35.235 +00:00] [INFO] [set.go:172] ["set global var"] [conn=4] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 12:47:35.237 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=4] [schemaVersion=244] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/04 12:47:35.250 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:278, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:276, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:35.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:47:35.249 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:278, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:276, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:35.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`"] [2025/04/04 12:47:35.255 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=278] [conn=4] [job="ID:278, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:276, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:35.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:35.270 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=244] [neededSchemaVersion=245] ["elapsed time"=1.571228ms] [gotSchemaVersion=245] [phyTblIDs="[276]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:47:35.274 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=278] [version=245] [2025/04/04 12:47:35.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=245] ["take time"=8.699597ms] [job="ID:278, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:276, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:35.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:35.285 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=278] [conn=4] [job="ID:278, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:276, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:35.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:35.300 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=245] [neededSchemaVersion=246] ["elapsed time"=1.558161ms] [gotSchemaVersion=246] [phyTblIDs="[276]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:47:35.303 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=278] [version=246] [2025/04/04 12:47:35.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=246] ["take time"=8.408978ms] [job="ID:278, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:276, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:35.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:35.312 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=278] [conn=4] [job="ID:278, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:276, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:35.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:35.318 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 276, Old Table Name: t)"] [2025/04/04 12:47:35.330 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=246] [neededSchemaVersion=247] ["elapsed time"=923.94µs] [gotSchemaVersion=247] [phyTblIDs="[276]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:47:35.334 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=278] [version=247] [2025/04/04 12:47:35.335 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=247] ["take time"=7.951481ms] [job="ID:278, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:276, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:35.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:35.344 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=278] [tableIDs="[276]"] [comment="drop table: table ID"] [2025/04/04 12:47:35.351 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=278] [jobType="drop table"] [2025/04/04 12:47:35.352 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=278] [conn=4] [job="ID:278, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:276, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:35.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:35.369 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=278] [2025/04/04 12:47:35.369 +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: 1743770855369887736 [2025/04/04 12:47:35.373 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=5] [schemaVersion=247] [cur_db=test] [sql="drop table if exists t"] [user=] [2025/04/04 12:47:35.385 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:280, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:279, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:35.347 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:47:35.385 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:280, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:279, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:35.347 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a int, b int)"] [2025/04/04 12:47:35.391 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=280] [conn=5] [job="ID:280, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:279, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:35.347 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:35.395 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 279, Table Name: t)"] [2025/04/04 12:47:35.409 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=247] [neededSchemaVersion=248] ["elapsed time"=1.4502ms] [gotSchemaVersion=248] [phyTblIDs="[279]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:47:35.413 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=280] [version=248] [2025/04/04 12:47:35.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=248] ["take time"=8.641167ms] [job="ID:280, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:279, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:35.347 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:35.426 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=280] [conn=5] [job="ID:280, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:279, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:35.347 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:35.437 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=280] [2025/04/04 12:47:35.438 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=5] [schemaVersion=248] [cur_db=test] [sql="create table t (a int, b int)"] [user=] [2025/04/04 12:47:35.446 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119067117191189] [generation=1] [session=5] [keys=1] [size=33B] ["flushed keys"=1] ["flushed size"=33B] ["take time"=937.254µs] [2025/04/04 12:47:35.446 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=1.051087ms] [total_duration=1.406001ms] ["memdb traversal cache hit"=2] ["memdb traversal cache miss"=2] [size=33B] [startTS=457119067117191189] [2025/04/04 12:47:35.447 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457119067117191189] [startKey=7480000000000001175f728000000000000002] [endKey=7480000000000001175f728000000000000002] [2025/04/04 12:47:35.447 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457119067117191189] [commitTS=0] [session=5] [2025/04/04 12:47:35.450 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119067130298369] [generation=1] [session=5] [keys=1] [size=33B] ["flushed keys"=1] ["flushed size"=33B] ["take time"=2.322347ms] [2025/04/04 12:47:35.451 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=2.417231ms] [total_duration=2.846164ms] ["memdb traversal cache hit"=2] ["memdb traversal cache miss"=2] [size=33B] [startTS=457119067130298369] [2025/04/04 12:47:35.451 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457119067130298369] [startKey=7480000000000001175f728000000000000003] [endKey=7480000000000001175f728000000000000003] [2025/04/04 12:47:35.451 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457119067130298369] [commitTS=0] [session=5] [2025/04/04 12:47:35.459 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119067130298371] [generation=1] [session=5] [keys=1] [size=33B] ["flushed keys"=1] ["flushed size"=33B] ["take time"=853.566µs] [2025/04/04 12:47:35.459 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=952.893µs] [total_duration=5.962093ms] ["memdb traversal cache hit"=2] ["memdb traversal cache miss"=1] [size=33B] [startTS=457119067130298371] [2025/04/04 12:47:35.459 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457119067130298371] [startKey=7480000000000001175f728000000000000001] [endKey=7480000000000001175f728000000000000001] [2025/04/04 12:47:35.459 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457119067130298371] [commitTS=0] [session=5] [2025/04/04 12:47:35.467 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119067130298373] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119067130298371, lockForUpdateTS:0, minCommitTs:457119067130298374, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:35.549 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119067130298373] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119067130298371, lockForUpdateTS:0, minCommitTs:457119067130298374, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:35.746 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119067130298373] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119067130298371, lockForUpdateTS:0, minCommitTs:457119067130298374, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:36.082 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119067130298373] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119067130298371, lockForUpdateTS:0, minCommitTs:457119067130298374, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:36.178 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/04 12:47:36.178 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 12:47:36.178 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 12:47:36.178 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:47:36.210 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/04 12:47:36.210 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/04 12:47:36.211 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/fe285a91-47ea-4cd6-89dd-2a94dc8563c7] [watcherID=f511bd49-cd1f-4fa4-8bdd-591bac9e3e93] [2025/04/04 12:47:36.215 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/04 12:47:36.220 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/04 12:47:36.220 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/04 12:47:36.220 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/04 12:47:36.220 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/04 12:47:36.568 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119067130298373] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119067130298371, lockForUpdateTS:0, minCommitTs:457119067130298374, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:37.009 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/04 12:47:37.170 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/04 12:47:37.979 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119067130298373] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119067130298371, lockForUpdateTS:0, minCommitTs:457119067130298374, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:38.209 +00:00] [INFO] [read.go:801] ["Table statistics item not found, possibly due to table being dropped"] [category=stats] [sampled=] [tableID=24] [indexID=1] [2025/04/04 12:47:38.209 +00:00] [INFO] [read.go:686] ["Column information not found, possibly due to column being dropped"] [category=stats] [sampled=] [tableID=30] [columnID=8] [2025/04/04 12:47:39.934 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/22319600d42fa40e] [ownerID=5ffd6613-1e83-446b-9d1f-a9ba5401a2e9] [op=none] [2025/04/04 12:47:39.934 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=5ffd6613-1e83-446b-9d1f-a9ba5401a2e9] [2025/04/04 12:47:39.934 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/bindinfo/owner] ["owner key"=/tidb/bindinfo/owner/22319600d42fa40b] [ownerID=5ffd6613-1e83-446b-9d1f-a9ba5401a2e9] [op=none] [2025/04/04 12:47:39.934 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/bindinfo/owner] [id=5ffd6613-1e83-446b-9d1f-a9ba5401a2e9] [2025/04/04 12:47:39.934 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=5ffd6613-1e83-446b-9d1f-a9ba5401a2e9] [ownerKey=/tidb/stats/owner/22319600d42fa40e] [currRev=1201] [2025/04/04 12:47:39.934 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/bindinfo/owner] [id=5ffd6613-1e83-446b-9d1f-a9ba5401a2e9] [ownerKey=/tidb/bindinfo/owner/22319600d42fa40b] [currRev=1201] [2025/04/04 12:47:40.480 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119067130298373] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119067130298371, lockForUpdateTS:0, minCommitTs:457119067130298374, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:40.481 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119067130298373] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119067130298371, lockForUpdateTS:0, minCommitTs:457119067130298374, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:40.482 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119067130298373] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119067130298371, lockForUpdateTS:0, minCommitTs:457119067130298374, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:40.483 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119067130298373] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119067130298371, lockForUpdateTS:0, minCommitTs:457119067130298374, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:40.484 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119067130298373] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119067130298371, lockForUpdateTS:0, minCommitTs:457119067130298374, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:40.485 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119067130298373] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119067130298371, lockForUpdateTS:0, minCommitTs:457119067130298374, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:40.486 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119067130298373] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119067130298371, lockForUpdateTS:0, minCommitTs:457119067130298374, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:40.487 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119067130298373] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119067130298371, lockForUpdateTS:0, minCommitTs:457119067130298374, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:40.488 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119067130298373] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119067130298371, lockForUpdateTS:0, minCommitTs:457119067130298374, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:40.489 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119067130298373] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119067130298371, lockForUpdateTS:0, minCommitTs:457119067130298374, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:40.490 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119067130298373] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119067130298371, lockForUpdateTS:0, minCommitTs:457119067130298374, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:40.491 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119067130298373] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119067130298371, lockForUpdateTS:0, minCommitTs:457119067130298374, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:40.492 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119067130298373] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119067130298371, lockForUpdateTS:0, minCommitTs:457119067130298374, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:40.492 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119067130298373] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119067130298371, lockForUpdateTS:0, minCommitTs:457119067130298374, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:40.493 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119067130298373] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119067130298371, lockForUpdateTS:0, minCommitTs:457119067130298374, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:40.494 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119067130298373] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119067130298371, lockForUpdateTS:0, minCommitTs:457119067130298374, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:40.495 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119067130298373] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119067130298371, lockForUpdateTS:0, minCommitTs:457119067130298374, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:40.496 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119067130298373] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119067130298371, lockForUpdateTS:0, minCommitTs:457119067130298374, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:40.497 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119067130298373] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119067130298371, lockForUpdateTS:0, minCommitTs:457119067130298374, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:40.498 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119067130298373] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119067130298371, lockForUpdateTS:0, minCommitTs:457119067130298374, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:40.499 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119067130298373] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119067130298371, lockForUpdateTS:0, minCommitTs:457119067130298374, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:40.499 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119067130298373] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119067130298371, lockForUpdateTS:0, minCommitTs:457119067130298374, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:40.500 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119067130298373] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119067130298371, lockForUpdateTS:0, minCommitTs:457119067130298374, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:40.501 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119067130298373] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119067130298371, lockForUpdateTS:0, minCommitTs:457119067130298374, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:40.502 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119067130298373] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119067130298371, lockForUpdateTS:0, minCommitTs:457119067130298374, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:40.503 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119067130298373] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119067130298371, lockForUpdateTS:0, minCommitTs:457119067130298374, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:40.504 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119067130298373] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119067130298371, lockForUpdateTS:0, minCommitTs:457119067130298374, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:40.505 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119067130298373] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119067130298371, lockForUpdateTS:0, minCommitTs:457119067130298374, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:40.505 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119067130298373] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119067130298371, lockForUpdateTS:0, minCommitTs:457119067130298374, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:40.506 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119067130298373] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119067130298371, lockForUpdateTS:0, minCommitTs:457119067130298374, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:40.507 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119067130298373] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119067130298371, lockForUpdateTS:0, minCommitTs:457119067130298374, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:40.508 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119067130298373] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119067130298371, lockForUpdateTS:0, minCommitTs:457119067130298374, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:40.509 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119067130298373] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119067130298371, lockForUpdateTS:0, minCommitTs:457119067130298374, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:40.509 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119067130298373] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119067130298371, lockForUpdateTS:0, minCommitTs:457119067130298374, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:40.510 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119067130298373] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119067130298371, lockForUpdateTS:0, minCommitTs:457119067130298374, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:40.511 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119067130298373] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119067130298371, lockForUpdateTS:0, minCommitTs:457119067130298374, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:40.512 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119067130298373] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119067130298371, lockForUpdateTS:0, minCommitTs:457119067130298374, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:40.513 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119067130298373] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119067130298371, lockForUpdateTS:0, minCommitTs:457119067130298374, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:40.514 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119067130298373] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119067130298371, lockForUpdateTS:0, minCommitTs:457119067130298374, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:40.515 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119067130298373] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119067130298371, lockForUpdateTS:0, minCommitTs:457119067130298374, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:40.515 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119067130298373] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119067130298371, lockForUpdateTS:0, minCommitTs:457119067130298374, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:40.516 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119067130298373] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119067130298371, lockForUpdateTS:0, minCommitTs:457119067130298374, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:40.517 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119067130298373] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119067130298371, lockForUpdateTS:0, minCommitTs:457119067130298374, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:40.518 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119067130298373] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119067130298371, lockForUpdateTS:0, minCommitTs:457119067130298374, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:40.519 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119067130298373] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119067130298371, lockForUpdateTS:0, minCommitTs:457119067130298374, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:40.520 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119067130298373] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119067130298371, lockForUpdateTS:0, minCommitTs:457119067130298374, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:40.520 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119067130298373] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119067130298371, lockForUpdateTS:0, minCommitTs:457119067130298374, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:40.521 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119067130298373] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119067130298371, lockForUpdateTS:0, minCommitTs:457119067130298374, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:40.522 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119067130298373] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119067130298371, lockForUpdateTS:0, minCommitTs:457119067130298374, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:40.523 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119067130298373] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119067130298371, lockForUpdateTS:0, minCommitTs:457119067130298374, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:40.523 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119067130298373] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119067130298371, lockForUpdateTS:0, minCommitTs:457119067130298374, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:40.524 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119067130298373] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119067130298371, lockForUpdateTS:0, minCommitTs:457119067130298374, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:40.525 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119067130298373] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119067130298371, lockForUpdateTS:0, minCommitTs:457119067130298374, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:40.526 +00:00] [INFO] [lock_resolver.go:1150] ["resolveLock rollback"] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119067130298371, lockForUpdateTS:0, minCommitTs:457119067130298374, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:40.528 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119067130298373] [generation=1] [session=5] [keys=1] [size=33B] ["flushed keys"=1] ["flushed size"=33B] ["take time"=5.061876896s] [2025/04/04 12:47:40.528 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=5.061973408s] [total_duration=5.067362594s] ["memdb traversal cache hit"=2] ["memdb traversal cache miss"=1] [size=33B] [startTS=457119067130298373] [2025/04/04 12:47:40.529 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457119067130298373] [startKey=7480000000000001175f728000000000000001] [endKey=7480000000000001175f728000000000000001] [2025/04/04 12:47:40.529 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457119067130298373] [commitTS=0] [session=5] [2025/04/04 12:47:40.532 +00:00] [INFO] [lock_resolver.go:1150] ["resolveLock rollback"] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119067130298373, lockForUpdateTS:0, minCommitTs:457119067130298374, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:40.533 +00:00] [INFO] [lock_resolver.go:1150] ["resolveLock rollback"] [lock="key: 7480000000000001175f728000000000000002, primary: 7480000000000001175f728000000000000002, txnStartTS: 457119067117191189, lockForUpdateTS:0, minCommitTs:457119067130298374, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:40.535 +00:00] [INFO] [lock_resolver.go:1150] ["resolveLock rollback"] [lock="key: 7480000000000001175f728000000000000003, primary: 7480000000000001175f728000000000000003, txnStartTS: 457119067130298369, lockForUpdateTS:0, minCommitTs:457119067130298374, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:40.536 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119068454387715] [generation=1] [session=5] [keys=1] [size=19B] ["flushed keys"=1] ["flushed size"=19B] ["take time"=771.989µs] [2025/04/04 12:47:40.536 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=868.208µs] [total_duration=6.372101ms] ["memdb traversal cache hit"=1] ["memdb traversal cache miss"=2] [size=19B] [startTS=457119068454387715] [2025/04/04 12:47:40.537 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457119068454387715] [startKey=7480000000000001175f728000000000000001] [endKey=7480000000000001175f728000000000000001] [2025/04/04 12:47:40.537 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457119068454387715] [commitTS=0] [session=5] [2025/04/04 12:47:40.541 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119068454387717] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119068454387715, lockForUpdateTS:0, minCommitTs:457119068454387718, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:40.629 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119068454387717] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119068454387715, lockForUpdateTS:0, minCommitTs:457119068454387718, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:40.776 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119068454387717] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119068454387715, lockForUpdateTS:0, minCommitTs:457119068454387718, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:41.065 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119068454387717] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119068454387715, lockForUpdateTS:0, minCommitTs:457119068454387718, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:41.523 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119068454387717] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119068454387715, lockForUpdateTS:0, minCommitTs:457119068454387718, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:43.076 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119068454387717] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119068454387715, lockForUpdateTS:0, minCommitTs:457119068454387718, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:44.746 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119068454387717] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119068454387715, lockForUpdateTS:0, minCommitTs:457119068454387718, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:45.549 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119068454387717] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119068454387715, lockForUpdateTS:0, minCommitTs:457119068454387718, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:45.551 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119068454387717] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119068454387715, lockForUpdateTS:0, minCommitTs:457119068454387718, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:45.553 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119068454387717] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119068454387715, lockForUpdateTS:0, minCommitTs:457119068454387718, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:45.555 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119068454387717] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119068454387715, lockForUpdateTS:0, minCommitTs:457119068454387718, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:45.557 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119068454387717] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119068454387715, lockForUpdateTS:0, minCommitTs:457119068454387718, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:45.559 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119068454387717] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119068454387715, lockForUpdateTS:0, minCommitTs:457119068454387718, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:45.561 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119068454387717] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119068454387715, lockForUpdateTS:0, minCommitTs:457119068454387718, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:45.563 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119068454387717] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119068454387715, lockForUpdateTS:0, minCommitTs:457119068454387718, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:45.565 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119068454387717] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119068454387715, lockForUpdateTS:0, minCommitTs:457119068454387718, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:45.568 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119068454387717] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119068454387715, lockForUpdateTS:0, minCommitTs:457119068454387718, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:45.569 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119068454387717] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119068454387715, lockForUpdateTS:0, minCommitTs:457119068454387718, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:45.571 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119068454387717] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119068454387715, lockForUpdateTS:0, minCommitTs:457119068454387718, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:45.573 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119068454387717] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119068454387715, lockForUpdateTS:0, minCommitTs:457119068454387718, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:45.575 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119068454387717] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119068454387715, lockForUpdateTS:0, minCommitTs:457119068454387718, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:45.577 +00:00] [INFO] [lock_resolver.go:1150] ["resolveLock rollback"] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119068454387715, lockForUpdateTS:0, minCommitTs:457119068454387718, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:45.578 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119068454387717] [generation=1] [session=5] [keys=1] [size=19B] ["flushed keys"=1] ["flushed size"=19B] ["take time"=5.03729269s] [2025/04/04 12:47:45.578 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=5.037394698s] [total_duration=5.040149594s] ["memdb traversal cache hit"=1] ["memdb traversal cache miss"=2] [size=19B] [startTS=457119068454387717] [2025/04/04 12:47:45.579 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457119068454387717] [startKey=7480000000000001175f728000000000000001] [endKey=7480000000000001175f728000000000000001] [2025/04/04 12:47:45.579 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457119068454387717] [commitTS=0] [session=5] [2025/04/04 12:47:45.581 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119069777952771] [generation=1] [session=5] [keys=1] [size=33B] ["flushed keys"=1] ["flushed size"=33B] ["take time"=808.511µs] [2025/04/04 12:47:45.581 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=888.013µs] [total_duration=1.320084ms] ["memdb traversal cache hit"=2] ["memdb traversal cache miss"=2] [size=33B] [startTS=457119069777952771] [2025/04/04 12:47:45.582 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457119069777952771] [startKey=7480000000000001175f728000000000000004] [endKey=7480000000000001175f728000000000000004] [2025/04/04 12:47:45.582 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457119069777952771] [commitTS=0] [session=5] [2025/04/04 12:47:45.586 +00:00] [INFO] [lock_resolver.go:1150] ["resolveLock rollback"] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119068454387717, lockForUpdateTS:0, minCommitTs:457119068454387718, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:45.590 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119069777952773] [generation=1] [session=5] [keys=1] [size=33B] ["flushed keys"=1] ["flushed size"=33B] ["take time"=757.54µs] [2025/04/04 12:47:45.590 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=875.177µs] [total_duration=5.216894ms] ["memdb traversal cache hit"=2] ["memdb traversal cache miss"=1] [size=33B] [startTS=457119069777952773] [2025/04/04 12:47:45.590 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457119069777952773] [startKey=7480000000000001175f728000000000000001] [endKey=7480000000000001175f728000000000000001] [2025/04/04 12:47:45.590 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457119069777952773] [commitTS=0] [session=5] [2025/04/04 12:47:45.597 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119069777952775] [generation=1] [session=5] [keys=1] [size=33B] ["flushed keys"=1] ["flushed size"=33B] ["take time"=774.244µs] [2025/04/04 12:47:45.597 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=853.173µs] [total_duration=5.265992ms] ["memdb traversal cache hit"=2] ["memdb traversal cache miss"=2] [size=33B] [startTS=457119069777952775] [2025/04/04 12:47:45.598 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457119069777952775] [startKey=7480000000000001175f728000000000000005] [endKey=7480000000000001175f728000000000000005] [2025/04/04 12:47:45.598 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457119069777952775] [commitTS=0] [session=5] [2025/04/04 12:47:45.604 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119069791059969] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119069777952773, lockForUpdateTS:0, minCommitTs:457119069791059970, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:45.662 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119069791059969] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119069777952773, lockForUpdateTS:0, minCommitTs:457119069791059970, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:45.778 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119069791059969] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119069777952773, lockForUpdateTS:0, minCommitTs:457119069791059970, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:46.107 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119069791059969] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119069777952773, lockForUpdateTS:0, minCommitTs:457119069791059970, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:46.666 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119069791059969] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119069777952773, lockForUpdateTS:0, minCommitTs:457119069791059970, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:47.172 +00:00] [INFO] [owner_daemon.go:56] ["daemon became owner"] [id=4e082955-ed0c-4e03-995c-2d7905350167] [daemon-id=LogBackup::Advancer] [2025/04/04 12:47:47.172 +00:00] [INFO] [advancer.go:518] ["Subscription handler spawned."] [category="log backup subscription manager"] [2025/04/04 12:47:47.172 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 12:47:47.682 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119069791059969] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119069777952773, lockForUpdateTS:0, minCommitTs:457119069791059970, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:49.268 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119069791059969] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119069777952773, lockForUpdateTS:0, minCommitTs:457119069791059970, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:50.620 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119069791059969] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119069777952773, lockForUpdateTS:0, minCommitTs:457119069791059970, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:50.621 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119069791059969] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119069777952773, lockForUpdateTS:0, minCommitTs:457119069791059970, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:50.622 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119069791059969] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119069777952773, lockForUpdateTS:0, minCommitTs:457119069791059970, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:50.623 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119069791059969] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119069777952773, lockForUpdateTS:0, minCommitTs:457119069791059970, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:50.624 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119069791059969] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119069777952773, lockForUpdateTS:0, minCommitTs:457119069791059970, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:50.625 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119069791059969] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119069777952773, lockForUpdateTS:0, minCommitTs:457119069791059970, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:50.625 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119069791059969] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119069777952773, lockForUpdateTS:0, minCommitTs:457119069791059970, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:50.627 +00:00] [INFO] [lock_resolver.go:1150] ["resolveLock rollback"] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119069777952773, lockForUpdateTS:0, minCommitTs:457119069791059970, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:50.628 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119069791059969] [generation=1] [session=5] [keys=1] [size=19B] ["flushed keys"=1] ["flushed size"=19B] ["take time"=5.024322893s] [2025/04/04 12:47:50.628 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=5.0244141s] [total_duration=5.029479757s] ["memdb traversal cache hit"=1] ["memdb traversal cache miss"=2] [size=19B] [startTS=457119069791059969] [2025/04/04 12:47:50.629 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457119069791059969] [startKey=7480000000000001175f728000000000000001] [endKey=7480000000000001175f728000000000000001] [2025/04/04 12:47:50.629 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457119069791059969] [commitTS=0] [session=5] [2025/04/04 12:47:50.661 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=5] [schemaVersion=248] [cur_db=test] [sql="create global binding for update t set b = b + 1 using update /*+ SET_VAR(tidb_dml_type=bulk) */ t set b = b + 1"] [user=] [2025/04/04 12:47:50.689 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=5] [schemaVersion=248] [cur_db=test] [sql="create global binding for insert into t select * from t using insert /*+ SET_VAR(tidb_dml_type=bulk) */ into t select * from t"] [user=] [2025/04/04 12:47:50.716 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=5] [schemaVersion=248] [cur_db=test] [sql="create global binding for delete from t using delete /*+ SET_VAR(tidb_dml_type=bulk) */ from t"] [user=] [2025/04/04 12:47:50.719 +00:00] [INFO] [lock_resolver.go:1150] ["resolveLock rollback"] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119069791059969, lockForUpdateTS:0, minCommitTs:457119069791059970, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:50.721 +00:00] [INFO] [lock_resolver.go:1150] ["resolveLock rollback"] [lock="key: 7480000000000001175f728000000000000004, primary: 7480000000000001175f728000000000000004, txnStartTS: 457119069777952771, lockForUpdateTS:0, minCommitTs:457119069791059970, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:50.722 +00:00] [INFO] [lock_resolver.go:1150] ["resolveLock rollback"] [lock="key: 7480000000000001175f728000000000000005, primary: 7480000000000001175f728000000000000005, txnStartTS: 457119069777952775, lockForUpdateTS:0, minCommitTs:457119069791059970, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:50.724 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119071128256517] [generation=1] [session=5] [keys=1] [size=33B] ["flushed keys"=1] ["flushed size"=33B] ["take time"=746.032µs] [2025/04/04 12:47:50.724 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=821.255µs] [total_duration=6.277647ms] ["memdb traversal cache hit"=2] ["memdb traversal cache miss"=1] [size=33B] [startTS=457119071128256517] [2025/04/04 12:47:50.724 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457119071128256517] [startKey=7480000000000001175f728000000000000001] [endKey=7480000000000001175f728000000000000001] [2025/04/04 12:47:50.724 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457119071128256517] [commitTS=0] [session=5] [2025/04/04 12:47:50.729 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119071128256520] [generation=1] [session=5] [keys=1] [size=33B] ["flushed keys"=1] ["flushed size"=33B] ["take time"=847.402µs] [2025/04/04 12:47:50.729 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=955.853µs] [total_duration=3.53478ms] ["memdb traversal cache hit"=2] ["memdb traversal cache miss"=2] [size=33B] [startTS=457119071128256520] [2025/04/04 12:47:50.730 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457119071128256520] [startKey=7480000000000001175f728000000000000006] [endKey=7480000000000001175f728000000000000006] [2025/04/04 12:47:50.730 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457119071128256520] [commitTS=0] [session=5] [2025/04/04 12:47:50.735 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119071128256522] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119071128256517, lockForUpdateTS:0, minCommitTs:457119071128256523, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:50.792 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119071128256522] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119071128256517, lockForUpdateTS:0, minCommitTs:457119071128256523, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:50.910 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119071128256522] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119071128256517, lockForUpdateTS:0, minCommitTs:457119071128256523, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:51.163 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119071128256522] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119071128256517, lockForUpdateTS:0, minCommitTs:457119071128256523, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:51.759 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119071128256522] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119071128256517, lockForUpdateTS:0, minCommitTs:457119071128256523, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:53.039 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119071128256522] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119071128256517, lockForUpdateTS:0, minCommitTs:457119071128256523, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:54.573 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119071128256522] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119071128256517, lockForUpdateTS:0, minCommitTs:457119071128256523, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:55.775 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119071128256522] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119071128256517, lockForUpdateTS:0, minCommitTs:457119071128256523, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:55.776 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457119071128256522] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119071128256517, lockForUpdateTS:0, minCommitTs:457119071128256523, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:55.777 +00:00] [INFO] [lock_resolver.go:1150] ["resolveLock rollback"] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457119071128256517, lockForUpdateTS:0, minCommitTs:457119071128256523, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/04 12:47:55.779 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119071128256522] [generation=1] [session=5] [keys=1] [size=19B] ["flushed keys"=1] ["flushed size"=19B] ["take time"=5.043948751s] [2025/04/04 12:47:55.779 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=5.044042809s] [total_duration=5.047589288s] ["memdb traversal cache hit"=1] ["memdb traversal cache miss"=2] [size=19B] [startTS=457119071128256522] [2025/04/04 12:47:55.779 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457119071128256522] [startKey=7480000000000001175f728000000000000001] [endKey=7480000000000001175f728000000000000001] [2025/04/04 12:47:55.779 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457119071128256522] [commitTS=0] [session=5] [2025/04/04 12:47:55.779 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 12:47:55.779 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=5ffd6613-1e83-446b-9d1f-a9ba5401a2e9] [] [2025/04/04 12:47:55.780 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=5ffd6613-1e83-446b-9d1f-a9ba5401a2e9] [2025/04/04 12:47:55.780 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 12:47:55.780 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:47:55.780 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:47:55.780 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 6, tp general"] ["take time"=60.085µs] [2025/04/04 12:47:55.780 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 7, tp general"] ["take time"=44.12µs] [2025/04/04 12:47:55.780 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=5ffd6613-1e83-446b-9d1f-a9ba5401a2e9] [2025/04/04 12:47:55.780 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=5ffd6613-1e83-446b-9d1f-a9ba5401a2e9] [2025/04/04 12:47:55.781 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 12:47:55.781 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 12:47:55.782 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=5ffd6613-1e83-446b-9d1f-a9ba5401a2e9] ["take time"=2.771622ms] [2025/04/04 12:47:55.782 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=5ffd6613-1e83-446b-9d1f-a9ba5401a2e9] [2025/04/04 12:47:55.782 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 12:47:55.782 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/04 12:47:55.782 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/fe285a91-47ea-4cd6-89dd-2a94dc8563c7] [watcherID=f511bd49-cd1f-4fa4-8bdd-591bac9e3e93] [2025/04/04 12:47:55.782 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/fe285a91-47ea-4cd6-89dd-2a94dc8563c7] [2025/04/04 12:47:55.783 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=5ffd6613-1e83-446b-9d1f-a9ba5401a2e9] [ttl-worker=task-manager] [ttl-worker=5ffd6613-1e83-446b-9d1f-a9ba5401a2e9] [originalCount=4] [newCount=0] [2025/04/04 12:47:55.783 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:47:55.783 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:47:55.783 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:47:55.783 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:47:55.783 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=5ffd6613-1e83-446b-9d1f-a9ba5401a2e9] [ttl-worker=task-manager] [ttl-worker=5ffd6613-1e83-446b-9d1f-a9ba5401a2e9] [originalCount=4] [newCount=0] [2025/04/04 12:47:55.785 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:47:55.785 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:47:55.786 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:47:55.786 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:47:55.788 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=5ffd6613-1e83-446b-9d1f-a9ba5401a2e9] [2025/04/04 12:47:55.788 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 12:47:55.789 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=841] [2025/04/04 12:47:55.789 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=4e082955-ed0c-4e03-995c-2d7905350167] [] [2025/04/04 12:47:55.789 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 12:47:55.789 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 12:47:55.789 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:47:55.789 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:47:55.789 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:47:55.789 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 12:47:55.789 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 12:47:55.789 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:47:55.789 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 12:47:55.789 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:47:55.789 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:47:55.789 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:47:55.789 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:47:55.789 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 12:47:55.789 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 12:47:55.789 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 12:47:55.790 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:47:55.790 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:47:55.789 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 12:47:55.790 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:47:55.789 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=4e082955-ed0c-4e03-995c-2d7905350167] [2025/04/04 12:47:55.789 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 12:47:55.789 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:47:55.790 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:47:55.790 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 12:47:55.789 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:47:55.790 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:47:55.790 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=5ffd6613-1e83-446b-9d1f-a9ba5401a2e9] [] [2025/04/04 12:47:55.789 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:47:55.789 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 12:47:55.789 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:47:55.789 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 12:47:55.790 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=5ffd6613-1e83-446b-9d1f-a9ba5401a2e9] [2025/04/04 12:47:55.790 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:47:55.789 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 12:47:55.789 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 12:47:55.789 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 12:47:55.789 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 12:47:55.790 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:47:55.790 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:47:55.790 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=5ffd6613-1e83-446b-9d1f-a9ba5401a2e9] [2025/04/04 12:47:55.790 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:47:55.789 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=5ffd6613-1e83-446b-9d1f-a9ba5401a2e9] [2025/04/04 12:47:55.789 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 12:47:55.791 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=5ffd6613-1e83-446b-9d1f-a9ba5401a2e9] [2025/04/04 12:47:55.790 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:47:55.790 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:47:55.790 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=4e082955-ed0c-4e03-995c-2d7905350167] [2025/04/04 12:47:55.791 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:47:55.791 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/04 12:47:55.791 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/04 12:47:55.791 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/04 12:47:55.791 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/04 12:47:55.789 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 12:47:55.790 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 12:47:55.791 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:47:55.791 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=5ffd6613-1e83-446b-9d1f-a9ba5401a2e9] [2025/04/04 12:47:55.791 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 12:47:55.789 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 12:47:55.791 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:47:55.790 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:47:55.791 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 12:47:55.790 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:47:55.789 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 12:47:55.791 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 12:47:55.791 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:47:55.791 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:47:55.791 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 12:47:55.791 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:47:55.789 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 12:47:55.790 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 12:47:55.791 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:47:55.791 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:47:55.789 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 12:47:55.791 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:47:55.791 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=4e082955-ed0c-4e03-995c-2d7905350167] [2025/04/04 12:47:55.793 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 12:47:55.793 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 12:47:55.793 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:47:55.793 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 12:47:55.793 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:47:55.793 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=4e082955-ed0c-4e03-995c-2d7905350167] [daemon-id=LogBackup::Advancer] [2025/04/04 12:47:55.793 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:47:55.793 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 12:47:55.793 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/bindinfo/owner] [id=5ffd6613-1e83-446b-9d1f-a9ba5401a2e9] [] [2025/04/04 12:47:55.793 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/bindinfo/owner] [id=5ffd6613-1e83-446b-9d1f-a9ba5401a2e9] [2025/04/04 12:47:55.793 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/bindinfo/owner] [id=5ffd6613-1e83-446b-9d1f-a9ba5401a2e9] [2025/04/04 12:47:55.793 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:47:55.793 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 12:47:55.793 +00:00] [INFO] [flush_subscriber.go:108] [Clearing.] [category="log backup flush subscriber"] [timeout=1m0s] [2025/04/04 12:47:55.793 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 12:47:55.793 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=5ffd6613-1e83-446b-9d1f-a9ba5401a2e9] [2025/04/04 12:47:55.794 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=5ffd6613-1e83-446b-9d1f-a9ba5401a2e9] [error="context canceled"] [2025/04/04 12:47:55.794 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=5ffd6613-1e83-446b-9d1f-a9ba5401a2e9] [error="context canceled"] [errorVerbose="context canceled\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:47:55.813 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 12:47:55.813 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:47:55.858 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 12:47:55.858 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:47:55.869 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=89.680821ms] [2025/04/04 12:48:00.780 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119071128256522 rolled_back:true is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:48:00.780 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119071128256522 rolled_back:true is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:48:00.780 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119071128256522 rolled_back:true is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:48:00.781 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:48:00.781 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:48:00.781 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:48:00.781 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:48:00.781 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:48:00.781 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:48:00.781 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:48:00.781 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:48:00.781 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-2] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:48:00.781 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:48:00.781 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:48:00.781 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:48:00.782 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPipelinedDMLPositive (25.79s) === NAME === RUN TestPipelinedDMLNegative [2025/04/04 12:48:00.790 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 12:48:00.791 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 12:48:00.791 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437819270443114] [2025/04/04 12:48:00.792 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:48:00.792 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 12:48:00.792 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:48:00.792 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:48:00.792 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:48:00.792 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:48:00.793 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:48:00.793 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:48:00.796 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 12:48:00.801 +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/04 12:48:00.802 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:48:00.802 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:48:00.812 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489437819270443114] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 12:48:00.821 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 12:48:00.853 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1456] ["lease id"=6f189600d42f9e35] [2025/04/04 12:48:00.855 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/04 12:48:00.938 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=248] ["elapsed time"=80.019462ms] [2025/04/04 12:48:00.938 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 12:48:00.940 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 12:48:00.945 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=153e072c-7775-490b-93da-d21296531d3b] [runWorker=true] [jobVersion=v2] [2025/04/04 12:48:00.945 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 12:48:00.947 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=153e072c-7775-490b-93da-d21296531d3b] [2025/04/04 12:48:00.948 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 12:48:00.948 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 217604247552/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 12:48:00.948 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:48:00.948 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:48:00.948 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:48:00.948 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:48:00.948 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:48:00.948 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:48:00.948 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:48:00.948 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:48:00.948 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:48:00.948 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 12:48:00.948 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:48:00.948 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 12:48:00.948 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=df9eb166-4e1c-4d34-b5cd-89ffc002d02e] [2025/04/04 12:48:00.950 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9600d42f985a] [ownerID=153e072c-7775-490b-93da-d21296531d3b] [op=none] [2025/04/04 12:48:00.950 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=153e072c-7775-490b-93da-d21296531d3b] [2025/04/04 12:48:00.950 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=153e072c-7775-490b-93da-d21296531d3b] [ownerKey=/tidb/ddl/fg/owner/3eaa9600d42f985a] [currRev=1225] [2025/04/04 12:48:00.950 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:48:00.950 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=df9eb166-4e1c-4d34-b5cd-89ffc002d02e] [daemon-id=LogBackup::Advancer] [2025/04/04 12:48:00.951 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 12:48:00.951 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa9600d42f985c] [ownerID=df9eb166-4e1c-4d34-b5cd-89ffc002d02e] [op=none] [2025/04/04 12:48:00.951 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=df9eb166-4e1c-4d34-b5cd-89ffc002d02e] [2025/04/04 12:48:00.951 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=df9eb166-4e1c-4d34-b5cd-89ffc002d02e] [ownerKey=/tidb/br-stream/owner/3eaa9600d42f985c] [currRev=1226] [2025/04/04 12:48:00.952 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9600d42f985a] [ownerID=153e072c-7775-490b-93da-d21296531d3b] [op=none] [2025/04/04 12:48:00.952 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=153e072c-7775-490b-93da-d21296531d3b] [op=none] [2025/04/04 12:48:00.952 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 12:48:00.962 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=153e072c-7775-490b-93da-d21296531d3b] [2025/04/04 12:48:00.963 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:48:00.963 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 12:48:00.972 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:48:00.978 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:48:00.983 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:48:00.983 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:48:00.983 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:48:00.983 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 12:48:00.983 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:48:00.983 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 12:48:00.983 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 12:48:00.983 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 12:48:00.983 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 12:48:00.984 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:48:00.984 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=153e072c-7775-490b-93da-d21296531d3b] [2025/04/04 12:48:00.985 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:48:00.985 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:48:00.985 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:48:00.985 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:48:00.985 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:48:00.985 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:48:00.985 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 12:48:00.985 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 12:48:00.985 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:48:00.985 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:48:00.985 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 12:48:00.985 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:48:00.985 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:48:00.985 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:48:00.985 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:48:00.987 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/04 12:48:00.987 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/6f189600d42f9e3f] [ownerID=153e072c-7775-490b-93da-d21296531d3b] [op=none] [2025/04/04 12:48:00.987 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=153e072c-7775-490b-93da-d21296531d3b] [2025/04/04 12:48:00.987 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=153e072c-7775-490b-93da-d21296531d3b] [ownerKey=/tidb/stats/owner/6f189600d42f9e3f] [currRev=1228] [2025/04/04 12:48:00.989 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/643270bc-7030-4a4e-ae7f-0834a4056908] [2025/04/04 12:48:00.989 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=153e072c-7775-490b-93da-d21296531d3b] [ttl-worker=task-manager] [ttl-worker=153e072c-7775-490b-93da-d21296531d3b] [originalCount=0] [newCount=4] [2025/04/04 12:48:00.989 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=153e072c-7775-490b-93da-d21296531d3b] [ttl-worker=task-manager] [ttl-worker=153e072c-7775-490b-93da-d21296531d3b] [originalCount=0] [newCount=4] [2025/04/04 12:48:00.990 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=153e072c-7775-490b-93da-d21296531d3b] [2025/04/04 12:48:00.990 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 12:48:00.990 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:48:00.990 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 12:48:00.990 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743770880990565259 [2025/04/04 12:48:00.994 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 12:48:01.002 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=18.077597ms] [2025/04/04 12:48:01.002 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:48:01.002 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 12:48:01.009 +00:00] [INFO] [set.go:172] ["set global var"] [conn=6] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 12:48:01.011 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=6] [schemaVersion=248] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/04 12:48:01.023 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:281, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:279, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:00.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:48:01.023 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:281, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:279, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:00.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`"] [2025/04/04 12:48:01.028 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=281] [conn=6] [job="ID:281, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:279, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:00.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:01.042 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=248] [neededSchemaVersion=249] ["elapsed time"=1.751636ms] [gotSchemaVersion=249] [phyTblIDs="[279]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:48:01.046 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=281] [version=249] [2025/04/04 12:48:01.047 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=249] ["take time"=8.43001ms] [job="ID:281, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:279, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:00.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:01.057 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=281] [conn=6] [job="ID:281, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:279, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:00.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:01.071 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=249] [neededSchemaVersion=250] ["elapsed time"=1.761842ms] [gotSchemaVersion=250] [phyTblIDs="[279]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:48:01.074 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=281] [version=250] [2025/04/04 12:48:01.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=250] ["take time"=8.472557ms] [job="ID:281, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:279, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:00.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:01.084 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=281] [conn=6] [job="ID:281, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:279, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:00.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:01.090 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 279, Old Table Name: t)"] [2025/04/04 12:48:01.102 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=250] [neededSchemaVersion=251] ["elapsed time"=985.932µs] [gotSchemaVersion=251] [phyTblIDs="[279]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:48:01.105 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=281] [version=251] [2025/04/04 12:48:01.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=251] ["take time"=7.402431ms] [job="ID:281, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:279, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:00.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:01.115 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=281] [tableIDs="[279]"] [comment="drop table: table ID"] [2025/04/04 12:48:01.122 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=281] [jobType="drop table"] [2025/04/04 12:48:01.123 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=281] [conn=6] [job="ID:281, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:279, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:00.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:01.146 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=281] [2025/04/04 12:48:01.146 +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: 1743770881146856099 [2025/04/04 12:48:01.151 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=7] [schemaVersion=251] [cur_db=test] [sql="drop table if exists t"] [user=] [2025/04/04 12:48:01.164 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:283, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:282, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:01.147 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a int primary key, b int)"] [2025/04/04 12:48:01.164 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:283, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:282, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:01.147 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:48:01.170 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=283] [conn=7] [job="ID:283, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:282, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:01.147 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:01.175 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 282, Table Name: t)"] [2025/04/04 12:48:01.190 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=251] [neededSchemaVersion=252] ["elapsed time"=1.590654ms] [gotSchemaVersion=252] [phyTblIDs="[282]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:48:01.194 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=283] [version=252] [2025/04/04 12:48:01.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=252] ["take time"=9.357007ms] [job="ID:283, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:282, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:01.147 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:01.208 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=283] [conn=7] [job="ID:283, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:282, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:01.147 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:01.219 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=283] [2025/04/04 12:48:01.220 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=7] [schemaVersion=252] [cur_db=test] [sql="create table t (a int primary key, b int)"] [user=] [2025/04/04 12:48:01.222 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119073880768522] [2025/04/04 12:48:01.239 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119073880768530] [2025/04/04 12:48:01.246 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119073880768533] [2025/04/04 12:48:01.261 +00:00] [INFO] [ddl.go:1174] ["switch metadata lock feature"] [category=ddl] [enable=false] [2025/04/04 12:48:01.283 +00:00] [INFO] [set.go:172] ["set global var"] [conn=7] [name=tidb_enable_metadata_lock] [val=off] [2025/04/04 12:48:01.286 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119073893875729] [2025/04/04 12:48:01.294 +00:00] [INFO] [ddl.go:1174] ["switch metadata lock feature"] [category=ddl] [enable=true] [2025/04/04 12:48:01.314 +00:00] [INFO] [set.go:172] ["set global var"] [conn=7] [name=tidb_enable_metadata_lock] [val=ON] [2025/04/04 12:48:01.318 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 12:48:01.319 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=153e072c-7775-490b-93da-d21296531d3b] [] [2025/04/04 12:48:01.319 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=153e072c-7775-490b-93da-d21296531d3b] [2025/04/04 12:48:01.319 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 12:48:01.319 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:48:01.319 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:48:01.319 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 8, tp general"] ["take time"=102.201µs] [2025/04/04 12:48:01.319 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 9, tp general"] ["take time"=31.127µs] [2025/04/04 12:48:01.319 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=153e072c-7775-490b-93da-d21296531d3b] [2025/04/04 12:48:01.319 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=153e072c-7775-490b-93da-d21296531d3b] [2025/04/04 12:48:01.320 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 12:48:01.320 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 12:48:01.321 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=153e072c-7775-490b-93da-d21296531d3b] ["take time"=2.940241ms] [2025/04/04 12:48:01.321 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=153e072c-7775-490b-93da-d21296531d3b] [2025/04/04 12:48:01.321 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 12:48:01.322 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/643270bc-7030-4a4e-ae7f-0834a4056908] [2025/04/04 12:48:01.322 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=153e072c-7775-490b-93da-d21296531d3b] [ttl-worker=task-manager] [ttl-worker=153e072c-7775-490b-93da-d21296531d3b] [originalCount=4] [newCount=0] [2025/04/04 12:48:01.322 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:48:01.322 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:48:01.322 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:48:01.322 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:48:01.322 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=153e072c-7775-490b-93da-d21296531d3b] [ttl-worker=task-manager] [ttl-worker=153e072c-7775-490b-93da-d21296531d3b] [originalCount=4] [newCount=0] [2025/04/04 12:48:01.324 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:48:01.325 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:48:01.325 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:48:01.325 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:48:01.327 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=153e072c-7775-490b-93da-d21296531d3b] [2025/04/04 12:48:01.327 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 12:48:01.328 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1456] [2025/04/04 12:48:01.328 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 12:48:01.328 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 12:48:01.328 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:48:01.328 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 12:48:01.328 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 12:48:01.328 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:48:01.328 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 12:48:01.328 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 12:48:01.328 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 12:48:01.328 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 12:48:01.328 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:48:01.328 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 12:48:01.328 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 12:48:01.328 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:48:01.328 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 12:48:01.328 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 12:48:01.328 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:48:01.328 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 12:48:01.328 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=df9eb166-4e1c-4d34-b5cd-89ffc002d02e] [] [2025/04/04 12:48:01.329 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:48:01.329 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 12:48:01.329 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 12:48:01.329 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:48:01.329 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:48:01.329 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:48:01.329 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:48:01.329 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:48:01.329 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 12:48:01.329 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:48:01.328 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 12:48:01.329 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:48:01.329 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:48:01.328 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 12:48:01.329 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:48:01.328 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 12:48:01.328 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:48:01.328 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 12:48:01.329 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:48:01.328 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 12:48:01.329 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:48:01.328 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 12:48:01.329 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:48:01.328 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:48:01.328 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:48:01.328 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 12:48:01.328 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:48:01.329 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:48:01.328 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 12:48:01.329 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:48:01.328 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:48:01.328 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 12:48:01.328 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:48:01.329 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:48:01.329 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=153e072c-7775-490b-93da-d21296531d3b] [] [2025/04/04 12:48:01.329 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:48:01.329 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=153e072c-7775-490b-93da-d21296531d3b] [2025/04/04 12:48:01.329 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:48:01.329 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=153e072c-7775-490b-93da-d21296531d3b] [2025/04/04 12:48:01.329 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:48:01.329 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=df9eb166-4e1c-4d34-b5cd-89ffc002d02e] [2025/04/04 12:48:01.329 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:48:01.329 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:48:01.328 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:48:01.329 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 12:48:01.328 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:48:01.329 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 12:48:01.329 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=153e072c-7775-490b-93da-d21296531d3b] [2025/04/04 12:48:01.329 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=df9eb166-4e1c-4d34-b5cd-89ffc002d02e] [2025/04/04 12:48:01.330 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:48:01.330 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=df9eb166-4e1c-4d34-b5cd-89ffc002d02e] [2025/04/04 12:48:01.331 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 12:48:01.331 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=df9eb166-4e1c-4d34-b5cd-89ffc002d02e] [daemon-id=LogBackup::Advancer] [2025/04/04 12:48:01.331 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 12:48:01.331 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=153e072c-7775-490b-93da-d21296531d3b] [error="context canceled"] [2025/04/04 12:48:01.331 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 12:48:01.331 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 12:48:01.331 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:48:01.331 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:48:01.331 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 12:48:01.331 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:48:01.331 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 12:48:01.331 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:48:01.332 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=153e072c-7775-490b-93da-d21296531d3b] [error="context canceled"] [2025/04/04 12:48:01.332 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=153e072c-7775-490b-93da-d21296531d3b] [2025/04/04 12:48:01.348 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 12:48:01.348 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:48:01.394 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=153e072c-7775-490b-93da-d21296531d3b] [error="context canceled"] [2025/04/04 12:48:01.394 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 12:48:01.394 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:48:01.405 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=86.896488ms] [2025/04/04 12:48:01.408 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:48:01.408 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:48:01.408 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:48:01.408 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:48:01.408 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:48:01.408 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:48:01.408 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:48:01.408 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:48:01.408 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-3] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:48:01.408 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:48:01.408 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:48:01.408 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:48:01.409 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPipelinedDMLNegative (0.62s) === NAME === RUN TestPipelinedDMLInsert [2025/04/04 12:48:01.415 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 12:48:01.416 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 12:48:01.416 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437819270443114] [2025/04/04 12:48:01.417 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:48:01.417 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 12:48:01.417 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:48:01.417 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:48:01.417 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:48:01.418 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:48:01.418 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:48:01.418 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:48:01.422 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 12:48:01.427 +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/04 12:48:01.428 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:48:01.429 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:48:01.438 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489437819270443114] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 12:48:01.448 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 12:48:01.481 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1980] ["lease id"=3eaa9600d42f987a] [2025/04/04 12:48:01.483 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/04 12:48:01.570 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=252] ["elapsed time"=84.867708ms] [2025/04/04 12:48:01.571 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 12:48:01.573 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 12:48:01.578 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=103b964d-d09b-4e66-a0fd-17da93cd1422] [runWorker=true] [jobVersion=v2] [2025/04/04 12:48:01.578 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 12:48:01.580 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=103b964d-d09b-4e66-a0fd-17da93cd1422] [2025/04/04 12:48:01.581 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 12:48:01.582 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 217604251648/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 12:48:01.582 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:48:01.582 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:48:01.582 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:48:01.582 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:48:01.582 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:48:01.582 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:48:01.582 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:48:01.582 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:48:01.582 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 12:48:01.582 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:48:01.582 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:48:01.582 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 12:48:01.582 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=7286de6a-c82c-4200-947a-9a227f3d0458] [2025/04/04 12:48:01.584 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9600d42f987f] [ownerID=103b964d-d09b-4e66-a0fd-17da93cd1422] [op=none] [2025/04/04 12:48:01.584 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=103b964d-d09b-4e66-a0fd-17da93cd1422] [2025/04/04 12:48:01.584 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=103b964d-d09b-4e66-a0fd-17da93cd1422] [ownerKey=/tidb/ddl/fg/owner/3eaa9600d42f987f] [currRev=1257] [2025/04/04 12:48:01.584 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:48:01.584 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=7286de6a-c82c-4200-947a-9a227f3d0458] [daemon-id=LogBackup::Advancer] [2025/04/04 12:48:01.585 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/22319600d42fa472] [ownerID=7286de6a-c82c-4200-947a-9a227f3d0458] [op=none] [2025/04/04 12:48:01.585 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=7286de6a-c82c-4200-947a-9a227f3d0458] [2025/04/04 12:48:01.585 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=7286de6a-c82c-4200-947a-9a227f3d0458] [ownerKey=/tidb/br-stream/owner/22319600d42fa472] [currRev=1258] [2025/04/04 12:48:01.585 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 12:48:01.586 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9600d42f987f] [ownerID=103b964d-d09b-4e66-a0fd-17da93cd1422] [op=none] [2025/04/04 12:48:01.586 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=103b964d-d09b-4e66-a0fd-17da93cd1422] [op=none] [2025/04/04 12:48:01.586 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 12:48:01.598 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=103b964d-d09b-4e66-a0fd-17da93cd1422] [2025/04/04 12:48:01.599 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:48:01.599 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 12:48:01.608 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:48:01.615 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:48:01.619 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:48:01.619 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:48:01.619 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 12:48:01.619 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:48:01.619 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:48:01.619 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 12:48:01.619 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 12:48:01.619 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 12:48:01.619 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 12:48:01.620 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:48:01.620 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=103b964d-d09b-4e66-a0fd-17da93cd1422] [2025/04/04 12:48:01.621 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:48:01.621 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:48:01.621 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:48:01.621 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:48:01.621 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 12:48:01.621 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:48:01.621 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:48:01.621 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 12:48:01.621 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:48:01.621 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:48:01.622 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 12:48:01.622 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:48:01.622 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:48:01.622 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:48:01.622 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:48:01.623 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/04 12:48:01.623 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/3eaa9600d42f9887] [ownerID=103b964d-d09b-4e66-a0fd-17da93cd1422] [op=none] [2025/04/04 12:48:01.623 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=103b964d-d09b-4e66-a0fd-17da93cd1422] [2025/04/04 12:48:01.624 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=103b964d-d09b-4e66-a0fd-17da93cd1422] [ownerKey=/tidb/stats/owner/3eaa9600d42f9887] [currRev=1260] [2025/04/04 12:48:01.626 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/1c739bf7-ff9a-46cc-a362-dda817fc613d] [2025/04/04 12:48:01.626 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=103b964d-d09b-4e66-a0fd-17da93cd1422] [ttl-worker=task-manager] [ttl-worker=103b964d-d09b-4e66-a0fd-17da93cd1422] [originalCount=0] [newCount=4] [2025/04/04 12:48:01.626 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=103b964d-d09b-4e66-a0fd-17da93cd1422] [ttl-worker=task-manager] [ttl-worker=103b964d-d09b-4e66-a0fd-17da93cd1422] [originalCount=0] [newCount=4] [2025/04/04 12:48:01.626 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=103b964d-d09b-4e66-a0fd-17da93cd1422] [2025/04/04 12:48:01.626 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:48:01.626 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 12:48:01.627 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743770881627111853 [2025/04/04 12:48:01.627 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 12:48:01.631 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 12:48:01.640 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=19.199022ms] [2025/04/04 12:48:01.640 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 12:48:01.640 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:48:01.648 +00:00] [INFO] [set.go:172] ["set global var"] [conn=8] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 12:48:01.650 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=8] [schemaVersion=252] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/04 12:48:01.662 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:284, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:282, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:01.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:48:01.662 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:284, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:282, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:01.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`"] [2025/04/04 12:48:01.667 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=284] [conn=8] [job="ID:284, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:282, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:01.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:01.682 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=252] [neededSchemaVersion=253] ["elapsed time"=1.785877ms] [gotSchemaVersion=253] [phyTblIDs="[282]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:48:01.686 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=284] [version=253] [2025/04/04 12:48:01.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=253] ["take time"=9.271257ms] [job="ID:284, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:282, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:01.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:01.698 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=284] [conn=8] [job="ID:284, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:282, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:01.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:01.712 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=253] [neededSchemaVersion=254] ["elapsed time"=1.842595ms] [gotSchemaVersion=254] [phyTblIDs="[282]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:48:01.715 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=284] [version=254] [2025/04/04 12:48:01.717 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=254] ["take time"=8.454265ms] [job="ID:284, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:282, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:01.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:01.725 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=284] [conn=8] [job="ID:284, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:282, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:01.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:01.730 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 282, Old Table Name: t)"] [2025/04/04 12:48:01.743 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=254] [neededSchemaVersion=255] ["elapsed time"=1.013662ms] [gotSchemaVersion=255] [phyTblIDs="[282]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:48:01.746 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=284] [version=255] [2025/04/04 12:48:01.747 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=255] ["take time"=7.546062ms] [job="ID:284, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:282, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:01.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:01.756 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=284] [tableIDs="[282]"] [comment="drop table: table ID"] [2025/04/04 12:48:01.762 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=284] [jobType="drop table"] [2025/04/04 12:48:01.763 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=284] [conn=8] [job="ID:284, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:282, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:01.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:01.780 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=284] [2025/04/04 12:48:01.780 +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: 1743770881781034310 [2025/04/04 12:48:01.784 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=9] [schemaVersion=255] [cur_db=test] [sql="drop table if exists t, _t"] [user=] [2025/04/04 12:48:01.795 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:286, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:285, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:01.747 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:48:01.795 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:286, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:285, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:01.747 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a int primary key, b int)"] [2025/04/04 12:48:01.801 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=286] [conn=9] [job="ID:286, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:285, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:01.747 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:01.805 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 285, Table Name: t)"] [2025/04/04 12:48:01.818 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=255] [neededSchemaVersion=256] ["elapsed time"=1.354759ms] [gotSchemaVersion=256] [phyTblIDs="[285]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:48:01.821 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=286] [version=256] [2025/04/04 12:48:01.823 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=256] ["take time"=7.920599ms] [job="ID:286, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:285, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:01.747 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:01.833 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=286] [conn=9] [job="ID:286, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:285, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:01.747 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:01.845 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=286] [2025/04/04 12:48:01.845 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=9] [schemaVersion=256] [cur_db=test] [sql="create table t (a int primary key, b int)"] [user=] [2025/04/04 12:48:01.858 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:288, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:287, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:01.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:48:01.858 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:288, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:287, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:01.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t like t"] [2025/04/04 12:48:01.863 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=288] [conn=9] [job="ID:288, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:287, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:01.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:01.867 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 287, Table Name: _t)"] [2025/04/04 12:48:01.881 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=256] [neededSchemaVersion=257] ["elapsed time"=1.443035ms] [gotSchemaVersion=257] [phyTblIDs="[287]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:48:01.884 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=288] [version=257] [2025/04/04 12:48:01.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=257] ["take time"=8.021951ms] [job="ID:288, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:287, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:01.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:01.896 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=288] [conn=9] [job="ID:288, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:287, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:01.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:01.907 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=288] [2025/04/04 12:48:01.907 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=9] [schemaVersion=257] [cur_db=test] [sql="create table _t like t"] [user=] [2025/04/04 12:48:01.910 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074064007175] [2025/04/04 12:48:01.914 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074064007178] [2025/04/04 12:48:01.918 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074064007181] [2025/04/04 12:48:01.922 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074064007184] [2025/04/04 12:48:01.925 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074064007187] [2025/04/04 12:48:01.929 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074064007191] [2025/04/04 12:48:01.933 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074064007194] [2025/04/04 12:48:01.937 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074064007197] [2025/04/04 12:48:01.941 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074064007201] [2025/04/04 12:48:01.946 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074064007204] [2025/04/04 12:48:01.950 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074077114369] [2025/04/04 12:48:01.953 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074077114372] [2025/04/04 12:48:01.957 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074077114375] [2025/04/04 12:48:01.961 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074077114378] [2025/04/04 12:48:01.965 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074077114381] [2025/04/04 12:48:01.968 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074077114384] [2025/04/04 12:48:01.972 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074077114387] [2025/04/04 12:48:01.976 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074077114390] [2025/04/04 12:48:01.979 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074077114393] [2025/04/04 12:48:01.983 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074077114396] [2025/04/04 12:48:01.987 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074077114399] [2025/04/04 12:48:01.991 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074077114403] [2025/04/04 12:48:01.995 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074077114406] [2025/04/04 12:48:01.999 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074077114409] [2025/04/04 12:48:02.002 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074090221571] [2025/04/04 12:48:02.006 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074090221574] [2025/04/04 12:48:02.010 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074090221577] [2025/04/04 12:48:02.014 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074090221580] [2025/04/04 12:48:02.017 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074090221583] [2025/04/04 12:48:02.021 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074090221586] [2025/04/04 12:48:02.025 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074090221589] [2025/04/04 12:48:02.029 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074090221592] [2025/04/04 12:48:02.033 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074090221595] [2025/04/04 12:48:02.037 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074090221598] [2025/04/04 12:48:02.040 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074090221602] [2025/04/04 12:48:02.044 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074090221605] [2025/04/04 12:48:02.048 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074090221608] [2025/04/04 12:48:02.052 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074103590915] [2025/04/04 12:48:02.056 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074103590918] [2025/04/04 12:48:02.059 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074103590921] [2025/04/04 12:48:02.063 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074103590924] [2025/04/04 12:48:02.067 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074103590927] [2025/04/04 12:48:02.071 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074103590930] [2025/04/04 12:48:02.074 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074103590933] [2025/04/04 12:48:02.078 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074103590936] [2025/04/04 12:48:02.082 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074103590939] [2025/04/04 12:48:02.086 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074103590943] [2025/04/04 12:48:02.090 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074103590949] [2025/04/04 12:48:02.094 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074103590952] [2025/04/04 12:48:02.097 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074103590955] [2025/04/04 12:48:02.101 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074116435971] [2025/04/04 12:48:02.105 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074116435974] [2025/04/04 12:48:02.108 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074116435977] [2025/04/04 12:48:02.112 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074116435980] [2025/04/04 12:48:02.116 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074116435983] [2025/04/04 12:48:02.120 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074116435986] [2025/04/04 12:48:02.123 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074116435989] [2025/04/04 12:48:02.127 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074116435992] [2025/04/04 12:48:02.131 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074116435995] [2025/04/04 12:48:02.135 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074116435998] [2025/04/04 12:48:02.139 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074116436002] [2025/04/04 12:48:02.142 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074116436005] [2025/04/04 12:48:02.146 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074116436008] [2025/04/04 12:48:02.150 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074129543170] [2025/04/04 12:48:02.154 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074129543173] [2025/04/04 12:48:02.158 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074129543177] [2025/04/04 12:48:02.161 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074129543180] [2025/04/04 12:48:02.165 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074129543183] [2025/04/04 12:48:02.169 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074129543186] [2025/04/04 12:48:02.173 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074129543189] [2025/04/04 12:48:02.177 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074129543192] [2025/04/04 12:48:02.181 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074129543195] [2025/04/04 12:48:02.184 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074129543198] [2025/04/04 12:48:02.188 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074129543201] [2025/04/04 12:48:02.192 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074129543205] [2025/04/04 12:48:02.196 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074129543208] [2025/04/04 12:48:02.199 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074142650369] [2025/04/04 12:48:02.203 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074142650372] [2025/04/04 12:48:02.207 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074142650375] [2025/04/04 12:48:02.211 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074142650378] [2025/04/04 12:48:02.215 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074142650381] [2025/04/04 12:48:02.218 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074142650384] [2025/04/04 12:48:02.222 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074142650387] [2025/04/04 12:48:02.226 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074142650390] [2025/04/04 12:48:02.230 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074142650394] [2025/04/04 12:48:02.234 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074142650397] [2025/04/04 12:48:02.238 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074142650400] [2025/04/04 12:48:02.242 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074142650404] [2025/04/04 12:48:02.246 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074142650407] [2025/04/04 12:48:02.250 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074155757570] [2025/04/04 12:48:02.253 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074155757573] [2025/04/04 12:48:02.257 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074155757578] [2025/04/04 12:48:02.261 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074155757581] [2025/04/04 12:48:02.265 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074155757584] [2025/04/04 12:48:02.269 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074155757587] [2025/04/04 12:48:02.273 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074155757590] [2025/04/04 12:48:02.278 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074155757593] [2025/04/04 12:48:02.282 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074155757596] [2025/04/04 12:48:02.286 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074155757599] [2025/04/04 12:48:02.290 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119074155757603] [2025/04/04 12:48:02.304 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119074155757607] [generation=1] [session=9] [keys=100] [size=2.9kB] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=2.527255ms] [2025/04/04 12:48:02.304 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119074155757607] [generation=2] [session=9] [keys=0] [size=0B] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=33.404µs] [2025/04/04 12:48:02.304 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=100] [flush_wait_duration=2.651993ms] [total_duration=7.05602ms] ["memdb traversal cache hit"=200] ["memdb traversal cache miss"=200] [size=2.9kB] [startTS=457119074155757607] [2025/04/04 12:48:02.305 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119074155757607] [commitTS=457119074168864769] [2025/04/04 12:48:02.306 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119074155757607] [startKey=74800000000000011f5f728000000000000000] [endKey=74800000000000011f5f728000000000000063] [concurrency=8] [2025/04/04 12:48:02.312 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119074155757607] [startKey=74800000000000011f5f728000000000000000] [endKey=74800000000000011f5f728000000000000063] ["cost time"=6.066611ms] ["completed regions"=1] [2025/04/04 12:48:02.312 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119074155757607] [commitTS=457119074168864769] [session=9] [2025/04/04 12:48:02.323 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119074168864772] [generation=1] [session=9] [keys=100] [size=2.9kB] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=2.242352ms] [2025/04/04 12:48:02.323 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119074168864772] [generation=2] [session=9] [keys=0] [size=0B] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=52.866µs] [2025/04/04 12:48:02.323 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=100] [flush_wait_duration=2.314207ms] [total_duration=6.751755ms] ["memdb traversal cache hit"=200] ["memdb traversal cache miss"=200] [size=2.9kB] [startTS=457119074168864772] [2025/04/04 12:48:02.325 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119074168864772] [commitTS=457119074168864773] [2025/04/04 12:48:02.325 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119074168864772] [startKey=74800000000000011d5f728000000000002710] [endKey=74800000000000011d5f728000000000002773] [concurrency=8] [2025/04/04 12:48:02.328 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119074168864772] [startKey=74800000000000011d5f728000000000002710] [endKey=74800000000000011d5f728000000000002773] ["cost time"=2.843974ms] ["completed regions"=1] [2025/04/04 12:48:02.328 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119074168864772] [commitTS=457119074168864773] [session=9] [2025/04/04 12:48:02.342 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:290, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:287, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:02.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:48:02.342 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:290, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:287, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:02.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t"] [2025/04/04 12:48:02.347 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=290] [conn=9] [job="ID:290, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:287, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:02.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:02.355 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 289, Table Name: _t, Old Table ID: 287, Old Table Name: _t)"] [2025/04/04 12:48:02.370 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=257] [neededSchemaVersion=258] ["elapsed time"=1.501883ms] [gotSchemaVersion=258] [phyTblIDs="[287,289]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 12:48:02.373 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=290] [version=258] [2025/04/04 12:48:02.375 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=258] ["take time"=9.000043ms] [job="ID:290, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:287, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:02.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:02.386 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=290] [tableIDs="[287]"] [comment="truncate table: table ID"] [2025/04/04 12:48:02.390 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=290] [jobType="truncate table"] [2025/04/04 12:48:02.391 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=290] [conn=9] [job="ID:290, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:287, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:02.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:02.407 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=290] [2025/04/04 12:48:02.408 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=9] [schemaVersion=258] [cur_db=test] [sql="truncate table _t"] [user=] [2025/04/04 12:48:02.409 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=9] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=7480000000000001215f7280000000000003e8] [2025/04/04 12:48:02.411 +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:3 id:138 store_id:1 id:139 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=9] [2025/04/04 12:48:02.411 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=136] [2025/04/04 12:48:02.412 +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:3 id:138 store_id:1 id:139 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 12:48:02.412 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=140] [2025/04/04 12:48:02.413 +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:3 id:142 store_id:1 id:143 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 12:48:02.413 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=144] [2025/04/04 12:48:02.414 +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:3 id:146 store_id:1 id:147 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 12:48:02.414 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=148] [2025/04/04 12:48:02.415 +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:3 id:150 store_id:1 id:151 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 12:48:02.415 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=152] [2025/04/04 12:48:02.416 +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:3 id:154 store_id:1 id:155 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 12:48:02.416 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=156] [2025/04/04 12:48:02.417 +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:3 id:158 store_id:1 id:159 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 12:48:02.417 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=160] [2025/04/04 12:48:02.418 +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:3 id:162 store_id:1 id:163 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 12:48:02.418 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=164] [2025/04/04 12:48:02.418 +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:3 id:166 store_id:1 id:167 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 12:48:02.419 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=168] [2025/04/04 12:48:02.419 +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:3 id:170 store_id:1 id:171 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 12:48:02.420 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=9] ["region IDs"="[136,140,144,148,152,156,160,164,168]"] [2025/04/04 12:48:02.420 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=136] [backoff(ms)=299988] [2025/04/04 12:48:02.421 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=136] [2025/04/04 12:48:02.421 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=140] [backoff(ms)=299987] [2025/04/04 12:48:02.421 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=140] [2025/04/04 12:48:02.421 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=144] [backoff(ms)=299987] [2025/04/04 12:48:02.421 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=144] [2025/04/04 12:48:02.422 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=148] [backoff(ms)=299987] [2025/04/04 12:48:02.422 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=148] [2025/04/04 12:48:02.422 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=152] [backoff(ms)=299986] [2025/04/04 12:48:02.422 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=152] [2025/04/04 12:48:02.422 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=156] [backoff(ms)=299986] [2025/04/04 12:48:02.423 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=156] [2025/04/04 12:48:02.423 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=160] [backoff(ms)=299985] [2025/04/04 12:48:02.423 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=160] [2025/04/04 12:48:02.423 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=164] [backoff(ms)=299985] [2025/04/04 12:48:02.424 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=164] [2025/04/04 12:48:02.424 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=168] [backoff(ms)=299984] [2025/04/04 12:48:02.424 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=168] [2025/04/04 12:48:02.460 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119074208186369] [generation=1] [session=9] [keys=200] [size=5.8kB] ["flushed keys"=200] ["flushed size"=5.8kB] ["take time"=2.697473ms] [2025/04/04 12:48:02.460 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119074208186369] [generation=2] [session=9] [keys=0] [size=0B] ["flushed keys"=200] ["flushed size"=5.8kB] ["take time"=38.004µs] [2025/04/04 12:48:02.460 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=200] [flush_wait_duration=2.733477ms] [total_duration=9.985425ms] ["memdb traversal cache hit"=400] ["memdb traversal cache miss"=400] [size=5.8kB] [startTS=457119074208186369] [2025/04/04 12:48:02.461 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119074208186369] [commitTS=457119074208186370] [2025/04/04 12:48:02.461 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119074208186369] [startKey=7480000000000001215f728000000000000000] [endKey=7480000000000001215f728000000000002773] [concurrency=8] [2025/04/04 12:48:02.469 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119074208186369] [startKey=7480000000000001215f728000000000000000] [endKey=7480000000000001215f728000000000002773] ["cost time"=7.901882ms] ["completed regions"=10] [2025/04/04 12:48:02.469 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=10] [startTS=457119074208186369] [commitTS=457119074208186370] [session=9] [2025/04/04 12:48:02.472 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 12:48:02.472 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=103b964d-d09b-4e66-a0fd-17da93cd1422] [] [2025/04/04 12:48:02.472 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 12:48:02.472 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=103b964d-d09b-4e66-a0fd-17da93cd1422] [2025/04/04 12:48:02.472 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:48:02.473 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:48:02.473 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 10, tp general"] ["take time"=56.025µs] [2025/04/04 12:48:02.473 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 11, tp general"] ["take time"=57.143µs] [2025/04/04 12:48:02.473 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 12, tp general"] ["take time"=33.429µs] [2025/04/04 12:48:02.473 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 13, tp general"] ["take time"=48.414µs] [2025/04/04 12:48:02.473 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=103b964d-d09b-4e66-a0fd-17da93cd1422] [2025/04/04 12:48:02.473 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=103b964d-d09b-4e66-a0fd-17da93cd1422] [2025/04/04 12:48:02.474 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 12:48:02.474 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 12:48:02.475 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=103b964d-d09b-4e66-a0fd-17da93cd1422] ["take time"=3.220681ms] [2025/04/04 12:48:02.476 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=103b964d-d09b-4e66-a0fd-17da93cd1422] [2025/04/04 12:48:02.476 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 12:48:02.476 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/1c739bf7-ff9a-46cc-a362-dda817fc613d] [2025/04/04 12:48:02.476 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=103b964d-d09b-4e66-a0fd-17da93cd1422] [ttl-worker=task-manager] [ttl-worker=103b964d-d09b-4e66-a0fd-17da93cd1422] [originalCount=4] [newCount=0] [2025/04/04 12:48:02.476 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:48:02.476 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:48:02.476 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:48:02.476 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:48:02.476 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=103b964d-d09b-4e66-a0fd-17da93cd1422] [ttl-worker=task-manager] [ttl-worker=103b964d-d09b-4e66-a0fd-17da93cd1422] [originalCount=4] [newCount=0] [2025/04/04 12:48:02.479 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:48:02.479 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:48:02.479 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:48:02.479 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:48:02.482 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=103b964d-d09b-4e66-a0fd-17da93cd1422] [2025/04/04 12:48:02.482 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 12:48:02.483 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1980] [2025/04/04 12:48:02.483 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 12:48:02.483 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 12:48:02.483 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 12:48:02.483 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:48:02.483 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 12:48:02.483 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 12:48:02.483 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:48:02.483 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 12:48:02.483 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 12:48:02.483 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 12:48:02.483 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 12:48:02.483 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:48:02.483 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 12:48:02.483 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 12:48:02.483 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 12:48:02.483 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:48:02.483 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:48:02.483 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:48:02.483 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:48:02.483 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:48:02.483 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:48:02.483 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 12:48:02.483 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=7286de6a-c82c-4200-947a-9a227f3d0458] [] [2025/04/04 12:48:02.483 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 12:48:02.483 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 12:48:02.483 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:48:02.483 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=7286de6a-c82c-4200-947a-9a227f3d0458] [2025/04/04 12:48:02.483 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:48:02.483 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:48:02.483 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 12:48:02.483 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:48:02.483 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=7286de6a-c82c-4200-947a-9a227f3d0458] [2025/04/04 12:48:02.483 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 12:48:02.483 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=7286de6a-c82c-4200-947a-9a227f3d0458] [2025/04/04 12:48:02.483 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:48:02.483 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:48:02.483 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:48:02.483 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:48:02.483 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:48:02.483 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:48:02.483 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:48:02.483 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 12:48:02.483 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:48:02.483 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 12:48:02.483 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 12:48:02.484 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 12:48:02.483 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 12:48:02.483 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 12:48:02.484 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:48:02.484 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:48:02.483 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:48:02.483 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:48:02.483 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:48:02.483 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 12:48:02.484 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:48:02.483 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 12:48:02.484 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:48:02.483 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 12:48:02.484 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:48:02.483 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 12:48:02.484 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:48:02.483 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:48:02.483 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:48:02.483 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:48:02.483 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:48:02.484 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:48:02.484 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=103b964d-d09b-4e66-a0fd-17da93cd1422] [] [2025/04/04 12:48:02.484 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=103b964d-d09b-4e66-a0fd-17da93cd1422] [2025/04/04 12:48:02.484 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=103b964d-d09b-4e66-a0fd-17da93cd1422] [2025/04/04 12:48:02.484 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=103b964d-d09b-4e66-a0fd-17da93cd1422] [2025/04/04 12:48:02.485 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 12:48:02.485 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 12:48:02.485 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 12:48:02.485 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:48:02.485 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=7286de6a-c82c-4200-947a-9a227f3d0458] [daemon-id=LogBackup::Advancer] [2025/04/04 12:48:02.485 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=103b964d-d09b-4e66-a0fd-17da93cd1422] [error="context canceled"] [2025/04/04 12:48:02.485 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:48:02.485 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 12:48:02.485 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:48:02.485 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 12:48:02.485 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 12:48:02.485 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:48:02.486 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=103b964d-d09b-4e66-a0fd-17da93cd1422] [error="context canceled"] [2025/04/04 12:48:02.486 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=103b964d-d09b-4e66-a0fd-17da93cd1422] [2025/04/04 12:48:02.503 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 12:48:02.503 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:48:02.546 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=103b964d-d09b-4e66-a0fd-17da93cd1422] [error="context canceled"] [2025/04/04 12:48:02.546 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 12:48:02.546 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:48:02.556 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=84.081003ms] [2025/04/04 12:48:03.423 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/04 12:48:07.313 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119074155757607 commit_ts:457119074168864769 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:48:07.313 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119074155757607 commit_ts:457119074168864769 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:48:07.313 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119074155757607 commit_ts:457119074168864769 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:48:07.329 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119074168864772 commit_ts:457119074168864773 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:48:07.329 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119074168864772 commit_ts:457119074168864773 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:48:07.329 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119074168864772 commit_ts:457119074168864773 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:48:07.470 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119074208186369 commit_ts:457119074208186370 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:48:07.470 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119074208186369 commit_ts:457119074208186370 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:48:07.470 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119074208186369 commit_ts:457119074208186370 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:48:07.471 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:48:07.471 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:48:07.471 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:48:07.471 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:48:07.471 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:48:07.471 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:48:07.471 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:48:07.471 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:48:07.471 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:48:07.471 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-4] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:48:07.471 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:48:07.471 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:48:07.472 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPipelinedDMLInsert (6.07s) === NAME === RUN TestPipelinedDMLInsertIgnore [2025/04/04 12:48:07.482 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 12:48:07.483 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 12:48:07.484 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437819270443114] [2025/04/04 12:48:07.484 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:48:07.484 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 12:48:07.485 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:48:07.485 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:48:07.485 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:48:07.485 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:48:07.485 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:48:07.486 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:48:07.489 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 12:48:07.495 +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/04 12:48:07.496 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:48:07.497 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:48:07.508 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489437819270443114] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 12:48:07.519 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 12:48:07.551 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=889] ["lease id"=22319600d42fa495] [2025/04/04 12:48:07.553 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/04 12:48:07.641 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=258] ["elapsed time"=85.184194ms] [2025/04/04 12:48:07.641 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 12:48:07.644 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 12:48:07.649 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=7844bbc6-3dd5-48d0-8c76-4ea1fb936045] [runWorker=true] [jobVersion=v2] [2025/04/04 12:48:07.649 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 12:48:07.651 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=7844bbc6-3dd5-48d0-8c76-4ea1fb936045] [2025/04/04 12:48:07.652 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 12:48:07.652 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 217604272128/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 12:48:07.652 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:48:07.652 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:48:07.653 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:48:07.653 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:48:07.653 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:48:07.653 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:48:07.653 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:48:07.653 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:48:07.653 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 12:48:07.653 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:48:07.653 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:48:07.653 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 12:48:07.653 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=6e7ba101-aba1-415e-beb6-ad6615229646] [2025/04/04 12:48:07.655 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319600d42fa49a] [ownerID=7844bbc6-3dd5-48d0-8c76-4ea1fb936045] [op=none] [2025/04/04 12:48:07.655 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=7844bbc6-3dd5-48d0-8c76-4ea1fb936045] [2025/04/04 12:48:07.655 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=7844bbc6-3dd5-48d0-8c76-4ea1fb936045] [ownerKey=/tidb/ddl/fg/owner/22319600d42fa49a] [currRev=1294] [2025/04/04 12:48:07.656 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:48:07.656 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=6e7ba101-aba1-415e-beb6-ad6615229646] [daemon-id=LogBackup::Advancer] [2025/04/04 12:48:07.656 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 12:48:07.656 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f189600d42f9e78] [ownerID=6e7ba101-aba1-415e-beb6-ad6615229646] [op=none] [2025/04/04 12:48:07.657 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=6e7ba101-aba1-415e-beb6-ad6615229646] [2025/04/04 12:48:07.657 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=6e7ba101-aba1-415e-beb6-ad6615229646] [ownerKey=/tidb/br-stream/owner/6f189600d42f9e78] [currRev=1295] [2025/04/04 12:48:07.657 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319600d42fa49a] [ownerID=7844bbc6-3dd5-48d0-8c76-4ea1fb936045] [op=none] [2025/04/04 12:48:07.657 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=7844bbc6-3dd5-48d0-8c76-4ea1fb936045] [op=none] [2025/04/04 12:48:07.657 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 12:48:07.671 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=7844bbc6-3dd5-48d0-8c76-4ea1fb936045] [2025/04/04 12:48:07.672 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:48:07.672 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 12:48:07.682 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:48:07.689 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:48:07.694 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:48:07.694 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:48:07.694 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 12:48:07.694 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:48:07.694 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:48:07.694 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 12:48:07.694 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 12:48:07.694 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 12:48:07.694 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 12:48:07.696 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:48:07.696 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=7844bbc6-3dd5-48d0-8c76-4ea1fb936045] [2025/04/04 12:48:07.697 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:48:07.697 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:48:07.697 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:48:07.697 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:48:07.697 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 12:48:07.697 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:48:07.697 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:48:07.697 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:48:07.697 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 12:48:07.697 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:48:07.698 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 12:48:07.698 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:48:07.698 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:48:07.698 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:48:07.698 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:48:07.699 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/04 12:48:07.699 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/22319600d42fa4a2] [ownerID=7844bbc6-3dd5-48d0-8c76-4ea1fb936045] [op=none] [2025/04/04 12:48:07.700 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=7844bbc6-3dd5-48d0-8c76-4ea1fb936045] [2025/04/04 12:48:07.700 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=7844bbc6-3dd5-48d0-8c76-4ea1fb936045] [ownerKey=/tidb/stats/owner/22319600d42fa4a2] [currRev=1297] [2025/04/04 12:48:07.703 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:48:07.703 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/5341d736-3642-496f-a6db-f2d97475bd4d] [2025/04/04 12:48:07.704 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 12:48:07.704 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743770887704176785 [2025/04/04 12:48:07.704 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=7844bbc6-3dd5-48d0-8c76-4ea1fb936045] [ttl-worker=task-manager] [ttl-worker=7844bbc6-3dd5-48d0-8c76-4ea1fb936045] [originalCount=0] [newCount=4] [2025/04/04 12:48:07.704 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=7844bbc6-3dd5-48d0-8c76-4ea1fb936045] [ttl-worker=task-manager] [ttl-worker=7844bbc6-3dd5-48d0-8c76-4ea1fb936045] [originalCount=0] [newCount=4] [2025/04/04 12:48:07.704 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=7844bbc6-3dd5-48d0-8c76-4ea1fb936045] [2025/04/04 12:48:07.705 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 12:48:07.712 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 12:48:07.720 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=23.970042ms] [2025/04/04 12:48:07.720 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 12:48:07.720 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:48:07.722 +00:00] [INFO] [set.go:172] ["set global var"] [conn=10] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 12:48:07.726 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=10] [schemaVersion=258] [cur_db=test] [sql="alter table `_t` nocache"] [user=] [2025/04/04 12:48:07.727 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=10] [schemaVersion=258] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/04 12:48:07.742 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:291, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:289, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:07.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:48:07.742 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:291, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:289, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:07.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/04 12:48:07.747 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=291] [conn=10] [job="ID:291, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:289, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:07.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:07.763 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=258] [neededSchemaVersion=259] ["elapsed time"=1.884504ms] [gotSchemaVersion=259] [phyTblIDs="[289]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:48:07.767 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=291] [version=259] [2025/04/04 12:48:07.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=259] ["take time"=9.530779ms] [job="ID:291, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:289, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:07.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:07.779 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=291] [conn=10] [job="ID:291, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:289, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:07.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:07.795 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=259] [neededSchemaVersion=260] ["elapsed time"=1.941024ms] [gotSchemaVersion=260] [phyTblIDs="[289]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:48:07.799 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=291] [version=260] [2025/04/04 12:48:07.800 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=260] ["take time"=8.958426ms] [job="ID:291, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:289, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:07.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:07.809 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=291] [conn=10] [job="ID:291, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:289, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:07.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:07.815 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 289, Old Table Name: _t)"] [2025/04/04 12:48:07.828 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=260] [neededSchemaVersion=261] ["elapsed time"=1.037165ms] [gotSchemaVersion=261] [phyTblIDs="[289]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:48:07.831 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=291] [version=261] [2025/04/04 12:48:07.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=261] ["take time"=7.973843ms] [job="ID:291, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:289, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:07.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:07.842 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=291] [tableIDs="[289]"] [comment="drop table: table ID"] [2025/04/04 12:48:07.849 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=291] [jobType="drop table"] [2025/04/04 12:48:07.850 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=291] [conn=10] [job="ID:291, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:289, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:07.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:07.869 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=291] [2025/04/04 12:48:07.880 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:292, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:285, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:07.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:48:07.880 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:292, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:285, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:07.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/04 12:48:07.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-04 12:48:07.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:07.901 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=261] [neededSchemaVersion=262] ["elapsed time"=1.891998ms] [gotSchemaVersion=262] [phyTblIDs="[285]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:48:07.904 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=292] [version=262] [2025/04/04 12:48:07.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.745627ms] [job="ID:292, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:285, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:07.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:07.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-04 12:48:07.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:07.931 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=262] [neededSchemaVersion=263] ["elapsed time"=1.852581ms] [gotSchemaVersion=263] [phyTblIDs="[285]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:48:07.934 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=292] [version=263] [2025/04/04 12:48:07.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=263] ["take time"=8.708549ms] [job="ID:292, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:285, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:07.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:07.944 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=292] [conn=10] [job="ID:292, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:285, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:07.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:07.950 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 285, Old Table Name: t)"] [2025/04/04 12:48:07.963 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=263] [neededSchemaVersion=264] ["elapsed time"=1.103082ms] [gotSchemaVersion=264] [phyTblIDs="[285]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:48:07.967 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=292] [version=264] [2025/04/04 12:48:07.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=264] ["take time"=7.871371ms] [job="ID:292, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:285, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:07.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:07.978 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=292] [tableIDs="[285]"] [comment="drop table: table ID"] [2025/04/04 12:48:07.982 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=292] [jobType="drop table"] [2025/04/04 12:48:07.983 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=292] [conn=10] [job="ID:292, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:285, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:07.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:08.001 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=292] [2025/04/04 12:48:08.002 +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: 1743770888002370788 [2025/04/04 12:48:08.006 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=11] [schemaVersion=264] [cur_db=test] [sql="drop table if exists t, _t"] [user=] [2025/04/04 12:48:08.020 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:294, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:293, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:07.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:48:08.020 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:294, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:293, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:07.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a int primary key, b int)"] [2025/04/04 12:48:08.027 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=294] [conn=11] [job="ID:294, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:293, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:07.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:08.031 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 293, Table Name: t)"] [2025/04/04 12:48:08.046 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=264] [neededSchemaVersion=265] ["elapsed time"=1.531108ms] [gotSchemaVersion=265] [phyTblIDs="[293]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:48:08.049 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=294] [version=265] [2025/04/04 12:48:08.051 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=265] ["take time"=8.757295ms] [job="ID:294, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:293, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:07.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:08.062 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=294] [conn=11] [job="ID:294, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:293, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:07.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:08.074 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=294] [2025/04/04 12:48:08.074 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=11] [schemaVersion=265] [cur_db=test] [sql="create table t (a int primary key, b int)"] [user=] [2025/04/04 12:48:08.087 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:296, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:295, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:08.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:48:08.087 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:296, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:295, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:08.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t like t"] [2025/04/04 12:48:08.093 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=296] [conn=11] [job="ID:296, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:295, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:08.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:08.098 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 295, Table Name: _t)"] [2025/04/04 12:48:08.112 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=265] [neededSchemaVersion=266] ["elapsed time"=1.539526ms] [gotSchemaVersion=266] [phyTblIDs="[295]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:48:08.116 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=296] [version=266] [2025/04/04 12:48:08.117 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=266] ["take time"=8.519948ms] [job="ID:296, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:295, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:08.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:08.129 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=296] [conn=11] [job="ID:296, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:295, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:08.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:08.140 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=296] [2025/04/04 12:48:08.141 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=11] [schemaVersion=266] [cur_db=test] [sql="create table _t like t"] [user=] [2025/04/04 12:48:08.144 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075689562126] [2025/04/04 12:48:08.148 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075689562130] [2025/04/04 12:48:08.152 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075702407171] [2025/04/04 12:48:08.156 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075702407175] [2025/04/04 12:48:08.160 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075702407181] [2025/04/04 12:48:08.164 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075702407184] [2025/04/04 12:48:08.168 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075702407188] [2025/04/04 12:48:08.172 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075702407191] [2025/04/04 12:48:08.176 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075702407194] [2025/04/04 12:48:08.180 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075702407197] [2025/04/04 12:48:08.183 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075702407200] [2025/04/04 12:48:08.187 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075702407203] [2025/04/04 12:48:08.191 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075702407206] [2025/04/04 12:48:08.195 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075702407209] [2025/04/04 12:48:08.199 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075702407212] [2025/04/04 12:48:08.202 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075715514371] [2025/04/04 12:48:08.206 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075715514374] [2025/04/04 12:48:08.211 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075715514378] [2025/04/04 12:48:08.214 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075715514381] [2025/04/04 12:48:08.218 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075715514384] [2025/04/04 12:48:08.222 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075715514387] [2025/04/04 12:48:08.226 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075715514390] [2025/04/04 12:48:08.230 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075715514393] [2025/04/04 12:48:08.233 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075715514396] [2025/04/04 12:48:08.237 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075715514399] [2025/04/04 12:48:08.241 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075715514402] [2025/04/04 12:48:08.245 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075715514405] [2025/04/04 12:48:08.249 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075715514408] [2025/04/04 12:48:08.252 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075728621571] [2025/04/04 12:48:08.256 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075728621574] [2025/04/04 12:48:08.260 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075728621578] [2025/04/04 12:48:08.264 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075728621583] [2025/04/04 12:48:08.267 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075728621586] [2025/04/04 12:48:08.271 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075728621589] [2025/04/04 12:48:08.275 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075728621592] [2025/04/04 12:48:08.279 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075728621595] [2025/04/04 12:48:08.282 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075728621598] [2025/04/04 12:48:08.286 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075728621601] [2025/04/04 12:48:08.290 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075728621604] [2025/04/04 12:48:08.294 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075728621607] [2025/04/04 12:48:08.297 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075728621610] [2025/04/04 12:48:08.301 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075741728771] [2025/04/04 12:48:08.305 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075741728774] [2025/04/04 12:48:08.309 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075741728778] [2025/04/04 12:48:08.313 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075741728782] [2025/04/04 12:48:08.316 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075741728785] [2025/04/04 12:48:08.320 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075741728788] [2025/04/04 12:48:08.324 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075741728791] [2025/04/04 12:48:08.328 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075741728794] [2025/04/04 12:48:08.332 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075741728797] [2025/04/04 12:48:08.335 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075741728800] [2025/04/04 12:48:08.339 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075741728803] [2025/04/04 12:48:08.342 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075741728806] [2025/04/04 12:48:08.346 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075741728809] [2025/04/04 12:48:08.349 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075754835970] [2025/04/04 12:48:08.353 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075754835973] [2025/04/04 12:48:08.357 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075754835976] [2025/04/04 12:48:08.361 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075754835980] [2025/04/04 12:48:08.365 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075754835983] [2025/04/04 12:48:08.368 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075754835986] [2025/04/04 12:48:08.372 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075754835989] [2025/04/04 12:48:08.376 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075754835992] [2025/04/04 12:48:08.380 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075754835995] [2025/04/04 12:48:08.384 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075754835998] [2025/04/04 12:48:08.388 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075754836001] [2025/04/04 12:48:08.391 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075754836004] [2025/04/04 12:48:08.395 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075754836007] [2025/04/04 12:48:08.399 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075754836010] [2025/04/04 12:48:08.403 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075768205315] [2025/04/04 12:48:08.407 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075768205320] [2025/04/04 12:48:08.412 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075768205325] [2025/04/04 12:48:08.415 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075768205328] [2025/04/04 12:48:08.419 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075768205331] [2025/04/04 12:48:08.423 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075768205334] [2025/04/04 12:48:08.427 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075768205337] [2025/04/04 12:48:08.431 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075768205340] [2025/04/04 12:48:08.435 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075768205343] [2025/04/04 12:48:08.439 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075768205346] [2025/04/04 12:48:08.443 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075768205349] [2025/04/04 12:48:08.446 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075768205352] [2025/04/04 12:48:08.450 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075781312514] [2025/04/04 12:48:08.454 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075781312517] [2025/04/04 12:48:08.458 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075781312520] [2025/04/04 12:48:08.462 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075781312524] [2025/04/04 12:48:08.466 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075781312527] [2025/04/04 12:48:08.470 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075781312530] [2025/04/04 12:48:08.474 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075781312533] [2025/04/04 12:48:08.478 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075781312536] [2025/04/04 12:48:08.482 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075781312539] [2025/04/04 12:48:08.486 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075781312542] [2025/04/04 12:48:08.490 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075781312545] [2025/04/04 12:48:08.494 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075781312548] [2025/04/04 12:48:08.498 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075781312551] [2025/04/04 12:48:08.502 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075794419715] [2025/04/04 12:48:08.505 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075794419718] [2025/04/04 12:48:08.509 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075794419721] [2025/04/04 12:48:08.514 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075794419725] [2025/04/04 12:48:08.517 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075794419728] [2025/04/04 12:48:08.521 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075794419731] [2025/04/04 12:48:08.525 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119075794419734] [2025/04/04 12:48:08.535 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119075794419738] [generation=1] [session=11] [keys=10] [size=290B] ["flushed keys"=10] ["flushed size"=290B] ["take time"=1.10617ms] [2025/04/04 12:48:08.535 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119075794419738] [generation=2] [session=11] [keys=0] [size=0B] ["flushed keys"=10] ["flushed size"=290B] ["take time"=34.062µs] [2025/04/04 12:48:08.535 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=10] [flush_wait_duration=1.203265ms] [total_duration=2.021693ms] ["memdb traversal cache hit"=20] ["memdb traversal cache miss"=20] [size=290B] [startTS=457119075794419738] [2025/04/04 12:48:08.536 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119075794419738] [commitTS=457119075794419739] [2025/04/04 12:48:08.536 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119075794419738] [startKey=7480000000000001275f728000000000000000] [endKey=7480000000000001275f728000000000000063] [concurrency=8] [2025/04/04 12:48:08.542 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119075794419738] [startKey=7480000000000001275f728000000000000000] [endKey=7480000000000001275f728000000000000063] ["cost time"=5.073827ms] ["completed regions"=1] [2025/04/04 12:48:08.542 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119075794419738] [commitTS=457119075794419739] [session=11] [2025/04/04 12:48:08.552 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119075794419740] [generation=1] [session=11] [keys=90] [size=2.61kB] ["flushed keys"=90] ["flushed size"=2.61kB] ["take time"=2.157615ms] [2025/04/04 12:48:08.552 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119075794419740] [generation=2] [session=11] [keys=0] [size=0B] ["flushed keys"=90] ["flushed size"=2.61kB] ["take time"=26.46µs] [2025/04/04 12:48:08.552 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=90] [flush_wait_duration=2.141472ms] [total_duration=13.824218ms] ["memdb traversal cache hit"=180] ["memdb traversal cache miss"=290] [size=2.61kB] [startTS=457119075794419740] [2025/04/04 12:48:08.553 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119075794419740] [commitTS=457119075807264769] [2025/04/04 12:48:08.553 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119075794419740] [startKey=7480000000000001275f728000000000000001] [endKey=7480000000000001275f728000000000000062] [concurrency=8] [2025/04/04 12:48:08.556 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119075794419740] [startKey=7480000000000001275f728000000000000001] [endKey=7480000000000001275f728000000000000062] ["cost time"=2.889838ms] ["completed regions"=1] [2025/04/04 12:48:08.556 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119075794419740] [commitTS=457119075807264769] [session=11] [2025/04/04 12:48:08.561 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 12:48:08.561 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=7844bbc6-3dd5-48d0-8c76-4ea1fb936045] [] [2025/04/04 12:48:08.561 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=7844bbc6-3dd5-48d0-8c76-4ea1fb936045] [2025/04/04 12:48:08.561 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 12:48:08.561 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:48:08.561 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:48:08.561 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 14, tp general"] ["take time"=39.893µs] [2025/04/04 12:48:08.561 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 15, tp general"] ["take time"=45.5µs] [2025/04/04 12:48:08.561 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 16, tp general"] ["take time"=32.483µs] [2025/04/04 12:48:08.562 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 17, tp general"] ["take time"=49.292µs] [2025/04/04 12:48:08.562 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=7844bbc6-3dd5-48d0-8c76-4ea1fb936045] [2025/04/04 12:48:08.562 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=7844bbc6-3dd5-48d0-8c76-4ea1fb936045] [2025/04/04 12:48:08.563 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 12:48:08.563 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 12:48:08.564 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=7844bbc6-3dd5-48d0-8c76-4ea1fb936045] ["take time"=3.571882ms] [2025/04/04 12:48:08.564 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=7844bbc6-3dd5-48d0-8c76-4ea1fb936045] [2025/04/04 12:48:08.564 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 12:48:08.564 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/5341d736-3642-496f-a6db-f2d97475bd4d] [2025/04/04 12:48:08.565 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=7844bbc6-3dd5-48d0-8c76-4ea1fb936045] [ttl-worker=task-manager] [ttl-worker=7844bbc6-3dd5-48d0-8c76-4ea1fb936045] [originalCount=4] [newCount=0] [2025/04/04 12:48:08.565 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:48:08.565 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:48:08.565 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:48:08.565 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:48:08.565 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=7844bbc6-3dd5-48d0-8c76-4ea1fb936045] [ttl-worker=task-manager] [ttl-worker=7844bbc6-3dd5-48d0-8c76-4ea1fb936045] [originalCount=4] [newCount=0] [2025/04/04 12:48:08.567 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:48:08.567 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:48:08.568 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:48:08.568 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:48:08.570 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=7844bbc6-3dd5-48d0-8c76-4ea1fb936045] [2025/04/04 12:48:08.570 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 12:48:08.571 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=889] [2025/04/04 12:48:08.571 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 12:48:08.571 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 12:48:08.571 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 12:48:08.571 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 12:48:08.571 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:48:08.571 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 12:48:08.571 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:48:08.571 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 12:48:08.571 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:48:08.571 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:48:08.571 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 12:48:08.571 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:48:08.571 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 12:48:08.571 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 12:48:08.571 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 12:48:08.571 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 12:48:08.571 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 12:48:08.571 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:48:08.571 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 12:48:08.571 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 12:48:08.571 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 12:48:08.571 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:48:08.571 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:48:08.571 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 12:48:08.571 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 12:48:08.571 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=7844bbc6-3dd5-48d0-8c76-4ea1fb936045] [] [2025/04/04 12:48:08.571 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:48:08.571 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 12:48:08.571 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 12:48:08.571 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=7844bbc6-3dd5-48d0-8c76-4ea1fb936045] [2025/04/04 12:48:08.571 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:48:08.571 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:48:08.571 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:48:08.571 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:48:08.571 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:48:08.571 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:48:08.572 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=7844bbc6-3dd5-48d0-8c76-4ea1fb936045] [2025/04/04 12:48:08.572 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:48:08.572 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=7844bbc6-3dd5-48d0-8c76-4ea1fb936045] [2025/04/04 12:48:08.571 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 12:48:08.572 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:48:08.571 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:48:08.571 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 12:48:08.571 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:48:08.571 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=6e7ba101-aba1-415e-beb6-ad6615229646] [] [2025/04/04 12:48:08.571 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:48:08.572 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 12:48:08.571 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:48:08.572 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=6e7ba101-aba1-415e-beb6-ad6615229646] [2025/04/04 12:48:08.571 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:48:08.571 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:48:08.572 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=6e7ba101-aba1-415e-beb6-ad6615229646] [2025/04/04 12:48:08.572 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=6e7ba101-aba1-415e-beb6-ad6615229646] [2025/04/04 12:48:08.572 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:48:08.571 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:48:08.571 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:48:08.571 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:48:08.571 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 12:48:08.572 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:48:08.571 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 12:48:08.571 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:48:08.572 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:48:08.571 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 12:48:08.572 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:48:08.572 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:48:08.571 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:48:08.571 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:48:08.572 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 12:48:08.572 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 12:48:08.572 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:48:08.573 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 12:48:08.573 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 12:48:08.573 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:48:08.573 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 12:48:08.573 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 12:48:08.573 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=6e7ba101-aba1-415e-beb6-ad6615229646] [daemon-id=LogBackup::Advancer] [2025/04/04 12:48:08.573 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 12:48:08.573 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:48:08.573 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:48:08.573 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:48:08.573 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 12:48:08.574 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=7844bbc6-3dd5-48d0-8c76-4ea1fb936045] [error="context canceled"] [2025/04/04 12:48:08.574 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=7844bbc6-3dd5-48d0-8c76-4ea1fb936045] [2025/04/04 12:48:08.575 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=7844bbc6-3dd5-48d0-8c76-4ea1fb936045] [error="context canceled"] [2025/04/04 12:48:08.575 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=7844bbc6-3dd5-48d0-8c76-4ea1fb936045] [error="context canceled"] [errorVerbose="context canceled\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:48:08.591 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 12:48:08.591 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:48:08.635 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 12:48:08.635 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:48:08.645 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=83.979549ms] [2025/04/04 12:48:09.490 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/04 12:48:13.542 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119075794419738 commit_ts:457119075794419739 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:48:13.542 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119075794419738 commit_ts:457119075794419739 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:48:13.542 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119075794419738 commit_ts:457119075794419739 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:48:13.557 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119075794419740 commit_ts:457119075807264769 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:48:13.558 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119075794419740 commit_ts:457119075807264769 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:48:13.558 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119075794419740 commit_ts:457119075807264769 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:48:13.558 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:48:13.558 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:48:13.558 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:48:13.558 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:48:13.558 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:48:13.558 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:48:13.558 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:48:13.558 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:48:13.558 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-5] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:48:13.558 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:48:13.558 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:48:13.558 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:48:13.559 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPipelinedDMLInsertIgnore (6.09s) === NAME === RUN TestPipelinedDMLInsertOnDuplicateKeyUpdate [2025/04/04 12:48:13.571 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 12:48:13.571 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 12:48:13.572 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437819270443114] [2025/04/04 12:48:13.573 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:48:13.573 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 12:48:13.573 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:48:13.573 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:48:13.573 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:48:13.574 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:48:13.574 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:48:13.574 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:48:13.578 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 12:48:13.584 +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/04 12:48:13.584 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:48:13.585 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:48:13.595 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489437819270443114] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 12:48:13.605 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 12:48:13.638 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1248] ["lease id"=3eaa9600d42f98ef] [2025/04/04 12:48:13.640 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/04 12:48:13.725 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=266] ["elapsed time"=82.254249ms] [2025/04/04 12:48:13.725 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 12:48:13.727 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 12:48:13.732 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=789da125-df93-4086-999a-79d32c8e3c67] [runWorker=true] [jobVersion=v2] [2025/04/04 12:48:13.732 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 12:48:13.734 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=789da125-df93-4086-999a-79d32c8e3c67] [2025/04/04 12:48:13.735 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 12:48:13.735 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 217604292608/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 12:48:13.735 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:48:13.736 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:48:13.736 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:48:13.736 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:48:13.736 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:48:13.736 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:48:13.736 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:48:13.736 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:48:13.736 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:48:13.736 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:48:13.736 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 12:48:13.736 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 12:48:13.736 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=f02273a2-9115-4d98-b19a-fe7c6d360eb7] [2025/04/04 12:48:13.738 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9600d42f98f4] [ownerID=789da125-df93-4086-999a-79d32c8e3c67] [op=none] [2025/04/04 12:48:13.738 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=789da125-df93-4086-999a-79d32c8e3c67] [2025/04/04 12:48:13.738 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=789da125-df93-4086-999a-79d32c8e3c67] [ownerKey=/tidb/ddl/fg/owner/3eaa9600d42f98f4] [currRev=1336] [2025/04/04 12:48:13.738 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:48:13.738 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=f02273a2-9115-4d98-b19a-fe7c6d360eb7] [daemon-id=LogBackup::Advancer] [2025/04/04 12:48:13.739 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/22319600d42fa4c6] [ownerID=f02273a2-9115-4d98-b19a-fe7c6d360eb7] [op=none] [2025/04/04 12:48:13.739 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=f02273a2-9115-4d98-b19a-fe7c6d360eb7] [2025/04/04 12:48:13.739 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=f02273a2-9115-4d98-b19a-fe7c6d360eb7] [ownerKey=/tidb/br-stream/owner/22319600d42fa4c6] [currRev=1337] [2025/04/04 12:48:13.739 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 12:48:13.740 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9600d42f98f4] [ownerID=789da125-df93-4086-999a-79d32c8e3c67] [op=none] [2025/04/04 12:48:13.740 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=789da125-df93-4086-999a-79d32c8e3c67] [op=none] [2025/04/04 12:48:13.740 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 12:48:13.751 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=789da125-df93-4086-999a-79d32c8e3c67] [2025/04/04 12:48:13.752 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:48:13.752 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 12:48:13.762 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:48:13.770 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:48:13.775 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:48:13.775 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:48:13.775 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:48:13.775 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 12:48:13.775 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:48:13.775 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 12:48:13.775 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 12:48:13.775 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 12:48:13.775 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 12:48:13.776 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:48:13.776 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=789da125-df93-4086-999a-79d32c8e3c67] [2025/04/04 12:48:13.777 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:48:13.777 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:48:13.777 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:48:13.777 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:48:13.777 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:48:13.777 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:48:13.777 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 12:48:13.777 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:48:13.777 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 12:48:13.777 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:48:13.778 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 12:48:13.778 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:48:13.778 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:48:13.778 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:48:13.778 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:48:13.779 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/3eaa9600d42f98fc] [ownerID=789da125-df93-4086-999a-79d32c8e3c67] [op=none] [2025/04/04 12:48:13.779 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=789da125-df93-4086-999a-79d32c8e3c67] [2025/04/04 12:48:13.779 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=789da125-df93-4086-999a-79d32c8e3c67] [ownerKey=/tidb/stats/owner/3eaa9600d42f98fc] [currRev=1339] [2025/04/04 12:48:13.780 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/04 12:48:13.782 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/29bfceec-a609-4bda-a2ee-6604968027e9] [2025/04/04 12:48:13.783 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=789da125-df93-4086-999a-79d32c8e3c67] [ttl-worker=task-manager] [ttl-worker=789da125-df93-4086-999a-79d32c8e3c67] [originalCount=0] [newCount=4] [2025/04/04 12:48:13.783 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=789da125-df93-4086-999a-79d32c8e3c67] [ttl-worker=task-manager] [ttl-worker=789da125-df93-4086-999a-79d32c8e3c67] [originalCount=0] [newCount=4] [2025/04/04 12:48:13.783 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=789da125-df93-4086-999a-79d32c8e3c67] [2025/04/04 12:48:13.783 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:48:13.783 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 12:48:13.783 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 12:48:13.784 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743770893784199501 [2025/04/04 12:48:13.790 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 12:48:13.797 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=20.708876ms] [2025/04/04 12:48:13.797 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 12:48:13.797 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:48:13.806 +00:00] [INFO] [set.go:172] ["set global var"] [conn=12] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 12:48:13.809 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=12] [schemaVersion=266] [cur_db=test] [sql="alter table `_t` nocache"] [user=] [2025/04/04 12:48:13.810 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=12] [schemaVersion=266] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/04 12:48:13.823 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:297, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:295, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:13.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:48:13.823 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:297, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:295, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:13.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/04 12:48:13.828 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=297] [conn=12] [job="ID:297, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:295, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:13.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:13.844 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=266] [neededSchemaVersion=267] ["elapsed time"=1.840722ms] [gotSchemaVersion=267] [phyTblIDs="[295]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:48:13.848 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=297] [version=267] [2025/04/04 12:48:13.850 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=267] ["take time"=9.308319ms] [job="ID:297, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:295, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:13.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:13.859 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=297] [conn=12] [job="ID:297, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:295, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:13.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:13.874 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=267] [neededSchemaVersion=268] ["elapsed time"=1.810368ms] [gotSchemaVersion=268] [phyTblIDs="[295]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:48:13.877 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=297] [version=268] [2025/04/04 12:48:13.879 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=268] ["take time"=9.033335ms] [job="ID:297, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:295, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:13.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:13.887 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=297] [conn=12] [job="ID:297, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:295, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:13.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:13.893 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 295, Old Table Name: _t)"] [2025/04/04 12:48:13.905 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=268] [neededSchemaVersion=269] ["elapsed time"=995.847µs] [gotSchemaVersion=269] [phyTblIDs="[295]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:48:13.909 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=297] [version=269] [2025/04/04 12:48:13.910 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=269] ["take time"=7.565993ms] [job="ID:297, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:295, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:13.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:13.919 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=297] [tableIDs="[295]"] [comment="drop table: table ID"] [2025/04/04 12:48:13.926 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=297] [jobType="drop table"] [2025/04/04 12:48:13.927 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=297] [conn=12] [job="ID:297, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:295, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:13.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:13.951 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=297] [2025/04/04 12:48:13.962 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:298, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:293, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:13.947 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:48:13.962 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:298, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:293, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:13.947 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/04 12:48:13.968 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=298] [conn=12] [job="ID:298, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:293, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:13.947 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:13.983 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=269] [neededSchemaVersion=270] ["elapsed time"=2.075245ms] [gotSchemaVersion=270] [phyTblIDs="[293]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:48:13.987 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=298] [version=270] [2025/04/04 12:48:13.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=270] ["take time"=9.40194ms] [job="ID:298, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:293, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:13.947 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:13.999 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=298] [conn=12] [job="ID:298, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:293, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:13.947 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:14.016 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=270] [neededSchemaVersion=271] ["elapsed time"=2.073166ms] [gotSchemaVersion=271] [phyTblIDs="[293]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:48:14.020 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=298] [version=271] [2025/04/04 12:48:14.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=271] ["take time"=9.563534ms] [job="ID:298, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:293, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:13.947 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:14.029 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=298] [conn=12] [job="ID:298, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:293, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:13.947 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:14.036 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 293, Old Table Name: t)"] [2025/04/04 12:48:14.049 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=271] [neededSchemaVersion=272] ["elapsed time"=1.020259ms] [gotSchemaVersion=272] [phyTblIDs="[293]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:48:14.052 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=298] [version=272] [2025/04/04 12:48:14.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=272] ["take time"=8.058441ms] [job="ID:298, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:293, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:13.947 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:14.063 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=298] [tableIDs="[293]"] [comment="drop table: table ID"] [2025/04/04 12:48:14.068 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=298] [jobType="drop table"] [2025/04/04 12:48:14.069 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=298] [conn=12] [job="ID:298, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:293, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:13.947 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:14.087 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=298] [2025/04/04 12:48:14.087 +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: 1743770894087757783 [2025/04/04 12:48:14.091 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=13] [schemaVersion=272] [cur_db=test] [sql="drop table if exists t, _t"] [user=] [2025/04/04 12:48:14.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-04 12:48:14.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a int primary key, b int)"] [2025/04/04 12:48:14.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-04 12:48:14.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:48:14.109 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=300] [conn=13] [job="ID:300, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:299, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:14.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:14.113 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 299, Table Name: t)"] [2025/04/04 12:48:14.127 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=272] [neededSchemaVersion=273] ["elapsed time"=1.427968ms] [gotSchemaVersion=273] [phyTblIDs="[299]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:48:14.131 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=300] [version=273] [2025/04/04 12:48:14.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=273] ["take time"=8.106839ms] [job="ID:300, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:299, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:14.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:14.142 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=300] [conn=13] [job="ID:300, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:299, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:14.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:14.153 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=300] [2025/04/04 12:48:14.153 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=13] [schemaVersion=273] [cur_db=test] [sql="create table t (a int primary key, b int)"] [user=] [2025/04/04 12:48:14.164 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:302, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:301, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:14.147 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:48:14.165 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:302, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:301, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:14.147 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t like t"] [2025/04/04 12:48:14.170 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=302] [conn=13] [job="ID:302, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:301, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:14.147 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:14.174 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 301, Table Name: _t)"] [2025/04/04 12:48:14.187 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=273] [neededSchemaVersion=274] ["elapsed time"=1.361286ms] [gotSchemaVersion=274] [phyTblIDs="[301]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:48:14.190 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=302] [version=274] [2025/04/04 12:48:14.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=274] ["take time"=7.915928ms] [job="ID:302, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:301, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:14.147 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:14.202 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=302] [conn=13] [job="ID:302, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:301, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:14.147 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:14.213 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=302] [2025/04/04 12:48:14.213 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=13] [schemaVersion=274] [cur_db=test] [sql="create table _t like t"] [user=] [2025/04/04 12:48:14.216 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077288640519] [2025/04/04 12:48:14.220 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077288640523] [2025/04/04 12:48:14.223 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077288640526] [2025/04/04 12:48:14.227 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077288640529] [2025/04/04 12:48:14.231 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077288640532] [2025/04/04 12:48:14.235 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077288640535] [2025/04/04 12:48:14.239 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077288640539] [2025/04/04 12:48:14.243 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077288640545] [2025/04/04 12:48:14.246 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077288640548] [2025/04/04 12:48:14.250 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077301747714] [2025/04/04 12:48:14.254 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077301747717] [2025/04/04 12:48:14.258 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077301747720] [2025/04/04 12:48:14.261 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077301747723] [2025/04/04 12:48:14.265 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077301747726] [2025/04/04 12:48:14.269 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077301747730] [2025/04/04 12:48:14.273 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077301747734] [2025/04/04 12:48:14.276 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077301747737] [2025/04/04 12:48:14.280 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077301747740] [2025/04/04 12:48:14.283 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077301747743] [2025/04/04 12:48:14.287 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077301747746] [2025/04/04 12:48:14.290 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077301747749] [2025/04/04 12:48:14.294 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077301747753] [2025/04/04 12:48:14.298 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077301747756] [2025/04/04 12:48:14.302 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077314854915] [2025/04/04 12:48:14.305 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077314854918] [2025/04/04 12:48:14.309 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077314854921] [2025/04/04 12:48:14.313 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077314854924] [2025/04/04 12:48:14.316 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077314854927] [2025/04/04 12:48:14.320 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077314854930] [2025/04/04 12:48:14.324 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077314854933] [2025/04/04 12:48:14.327 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077314854936] [2025/04/04 12:48:14.331 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077314854939] [2025/04/04 12:48:14.335 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077314854942] [2025/04/04 12:48:14.338 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077314854945] [2025/04/04 12:48:14.342 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077314854948] [2025/04/04 12:48:14.345 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077314854952] [2025/04/04 12:48:14.349 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077314854955] [2025/04/04 12:48:14.352 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077327699971] [2025/04/04 12:48:14.356 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077327699974] [2025/04/04 12:48:14.360 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077327699977] [2025/04/04 12:48:14.364 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077327699980] [2025/04/04 12:48:14.367 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077327699983] [2025/04/04 12:48:14.371 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077327699986] [2025/04/04 12:48:14.374 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077327699989] [2025/04/04 12:48:14.378 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077327699992] [2025/04/04 12:48:14.381 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077327699995] [2025/04/04 12:48:14.385 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077327699998] [2025/04/04 12:48:14.388 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077327700002] [2025/04/04 12:48:14.392 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077327700005] [2025/04/04 12:48:14.396 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077327700009] [2025/04/04 12:48:14.399 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077340807170] [2025/04/04 12:48:14.403 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077340807173] [2025/04/04 12:48:14.406 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077340807176] [2025/04/04 12:48:14.410 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077340807179] [2025/04/04 12:48:14.413 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077340807182] [2025/04/04 12:48:14.417 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077340807185] [2025/04/04 12:48:14.421 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077340807188] [2025/04/04 12:48:14.424 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077340807191] [2025/04/04 12:48:14.428 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077340807194] [2025/04/04 12:48:14.431 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077340807197] [2025/04/04 12:48:14.435 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077340807200] [2025/04/04 12:48:14.439 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077340807203] [2025/04/04 12:48:14.442 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077340807207] [2025/04/04 12:48:14.446 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077340807210] [2025/04/04 12:48:14.449 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077353914370] [2025/04/04 12:48:14.453 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077353914373] [2025/04/04 12:48:14.456 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077353914376] [2025/04/04 12:48:14.460 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077353914379] [2025/04/04 12:48:14.463 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077353914382] [2025/04/04 12:48:14.467 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077353914385] [2025/04/04 12:48:14.471 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077353914388] [2025/04/04 12:48:14.474 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077353914391] [2025/04/04 12:48:14.478 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077353914394] [2025/04/04 12:48:14.481 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077353914397] [2025/04/04 12:48:14.485 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077353914400] [2025/04/04 12:48:14.489 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077353914404] [2025/04/04 12:48:14.492 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077353914410] [2025/04/04 12:48:14.496 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077353914413] [2025/04/04 12:48:14.500 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077367021570] [2025/04/04 12:48:14.503 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077367021573] [2025/04/04 12:48:14.506 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077367021576] [2025/04/04 12:48:14.510 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077367021579] [2025/04/04 12:48:14.514 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077367021582] [2025/04/04 12:48:14.517 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077367021585] [2025/04/04 12:48:14.521 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077367021588] [2025/04/04 12:48:14.524 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077367021591] [2025/04/04 12:48:14.528 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077367021594] [2025/04/04 12:48:14.531 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077367021597] [2025/04/04 12:48:14.534 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077367021600] [2025/04/04 12:48:14.538 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077367021603] [2025/04/04 12:48:14.541 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077367021606] [2025/04/04 12:48:14.545 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077367021610] [2025/04/04 12:48:14.548 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077367021613] [2025/04/04 12:48:14.552 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077380390915] [2025/04/04 12:48:14.555 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077380390918] [2025/04/04 12:48:14.559 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077380390921] [2025/04/04 12:48:14.562 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077380390924] [2025/04/04 12:48:14.566 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077380390927] [2025/04/04 12:48:14.569 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077380390930] [2025/04/04 12:48:14.573 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077380390933] [2025/04/04 12:48:14.581 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077380390936] [2025/04/04 12:48:14.600 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 12:48:14.600 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 12:48:14.600 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=789da125-df93-4086-999a-79d32c8e3c67] [] [2025/04/04 12:48:14.600 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=789da125-df93-4086-999a-79d32c8e3c67] [2025/04/04 12:48:14.600 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:48:14.600 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:48:14.601 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 18, tp general"] ["take time"=70.942µs] [2025/04/04 12:48:14.601 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 19, tp general"] ["take time"=51.766µs] [2025/04/04 12:48:14.601 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 20, tp general"] ["take time"=36.864µs] [2025/04/04 12:48:14.601 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 21, tp general"] ["take time"=39.657µs] [2025/04/04 12:48:14.601 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=789da125-df93-4086-999a-79d32c8e3c67] [2025/04/04 12:48:14.601 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=789da125-df93-4086-999a-79d32c8e3c67] [2025/04/04 12:48:14.602 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 12:48:14.602 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 12:48:14.603 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=789da125-df93-4086-999a-79d32c8e3c67] ["take time"=3.209856ms] [2025/04/04 12:48:14.603 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=789da125-df93-4086-999a-79d32c8e3c67] [2025/04/04 12:48:14.603 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 12:48:14.603 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/29bfceec-a609-4bda-a2ee-6604968027e9] [2025/04/04 12:48:14.604 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=789da125-df93-4086-999a-79d32c8e3c67] [ttl-worker=task-manager] [ttl-worker=789da125-df93-4086-999a-79d32c8e3c67] [originalCount=4] [newCount=0] [2025/04/04 12:48:14.604 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:48:14.604 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:48:14.604 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:48:14.604 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:48:14.604 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=789da125-df93-4086-999a-79d32c8e3c67] [ttl-worker=task-manager] [ttl-worker=789da125-df93-4086-999a-79d32c8e3c67] [originalCount=4] [newCount=0] [2025/04/04 12:48:14.607 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:48:14.607 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:48:14.607 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:48:14.607 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:48:14.609 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=789da125-df93-4086-999a-79d32c8e3c67] [2025/04/04 12:48:14.609 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 12:48:14.610 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1248] [2025/04/04 12:48:14.610 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 12:48:14.610 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 12:48:14.610 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:48:14.610 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 12:48:14.610 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 12:48:14.610 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 12:48:14.610 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 12:48:14.610 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 12:48:14.610 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:48:14.610 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:48:14.610 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:48:14.610 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:48:14.610 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:48:14.610 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 12:48:14.610 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 12:48:14.610 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 12:48:14.610 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:48:14.610 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:48:14.610 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 12:48:14.610 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 12:48:14.610 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 12:48:14.610 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:48:14.610 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 12:48:14.610 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:48:14.610 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 12:48:14.610 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:48:14.610 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 12:48:14.610 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 12:48:14.611 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 12:48:14.611 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 12:48:14.611 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:48:14.611 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:48:14.611 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 12:48:14.610 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 12:48:14.610 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 12:48:14.611 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:48:14.610 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:48:14.611 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 12:48:14.611 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:48:14.611 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 12:48:14.611 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:48:14.611 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:48:14.611 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:48:14.611 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:48:14.611 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:48:14.611 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:48:14.611 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 12:48:14.610 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:48:14.611 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=789da125-df93-4086-999a-79d32c8e3c67] [] [2025/04/04 12:48:14.610 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:48:14.610 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=f02273a2-9115-4d98-b19a-fe7c6d360eb7] [] [2025/04/04 12:48:14.611 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=789da125-df93-4086-999a-79d32c8e3c67] [2025/04/04 12:48:14.611 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:48:14.611 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=f02273a2-9115-4d98-b19a-fe7c6d360eb7] [2025/04/04 12:48:14.611 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=789da125-df93-4086-999a-79d32c8e3c67] [2025/04/04 12:48:14.610 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:48:14.610 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 12:48:14.611 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=789da125-df93-4086-999a-79d32c8e3c67] [2025/04/04 12:48:14.611 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:48:14.610 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:48:14.610 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:48:14.611 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 12:48:14.611 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:48:14.611 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:48:14.611 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:48:14.611 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:48:14.611 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=f02273a2-9115-4d98-b19a-fe7c6d360eb7] [2025/04/04 12:48:14.611 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:48:14.611 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:48:14.611 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=f02273a2-9115-4d98-b19a-fe7c6d360eb7] [2025/04/04 12:48:14.613 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 12:48:14.613 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 12:48:14.613 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:48:14.613 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 12:48:14.613 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 12:48:14.613 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:48:14.613 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=f02273a2-9115-4d98-b19a-fe7c6d360eb7] [daemon-id=LogBackup::Advancer] [2025/04/04 12:48:14.613 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:48:14.613 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 12:48:14.613 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:48:14.613 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 12:48:14.614 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=789da125-df93-4086-999a-79d32c8e3c67] [error="context canceled"] [2025/04/04 12:48:14.614 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=789da125-df93-4086-999a-79d32c8e3c67] [2025/04/04 12:48:14.614 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=789da125-df93-4086-999a-79d32c8e3c67] [error="context canceled"] [2025/04/04 12:48:14.614 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=789da125-df93-4086-999a-79d32c8e3c67] [error="context canceled"] [errorVerbose="context canceled\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:48:14.630 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 12:48:14.630 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:48:14.679 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 12:48:14.679 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:48:14.689 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=88.836513ms] [2025/04/04 12:48:14.692 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:48:14.692 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:48:14.692 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:48:14.692 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:48:14.692 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:48:14.692 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:48:14.692 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:48:14.692 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:48:14.692 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:48:14.692 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-6] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:48:14.692 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:48:14.692 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:48:14.693 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPipelinedDMLInsertOnDuplicateKeyUpdate (1.13s) === NAME === RUN TestPipelinedDMLInsertRPC [2025/04/04 12:48:14.699 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 12:48:14.699 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 12:48:14.700 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437819270443114] [2025/04/04 12:48:14.701 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:48:14.701 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 12:48:14.701 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:48:14.701 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:48:14.701 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:48:14.701 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:48:14.701 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:48:14.702 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:48:14.705 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 12:48:14.710 +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/04 12:48:14.711 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:48:14.712 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:48:14.721 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489437819270443114] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 12:48:14.731 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 12:48:14.771 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1137] ["lease id"=22319600d42fa4e4] [2025/04/04 12:48:14.773 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/04 12:48:14.862 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=274] ["elapsed time"=86.301151ms] [2025/04/04 12:48:14.862 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 12:48:14.864 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 12:48:14.870 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=c8b7682e-b37f-414e-8ea8-0217989d86fb] [runWorker=true] [jobVersion=v2] [2025/04/04 12:48:14.870 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 12:48:14.872 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=c8b7682e-b37f-414e-8ea8-0217989d86fb] [2025/04/04 12:48:14.873 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 12:48:14.873 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 217606406144/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 12:48:14.873 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:48:14.873 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:48:14.873 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:48:14.874 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:48:14.874 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:48:14.874 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:48:14.874 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:48:14.874 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 12:48:14.874 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:48:14.874 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:48:14.874 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:48:14.874 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 12:48:14.874 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=f70617f0-9ddc-44a7-823d-d710c8caa338] [2025/04/04 12:48:14.876 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f189600d42f9ec1] [ownerID=c8b7682e-b37f-414e-8ea8-0217989d86fb] [op=none] [2025/04/04 12:48:14.876 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=c8b7682e-b37f-414e-8ea8-0217989d86fb] [2025/04/04 12:48:14.876 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=c8b7682e-b37f-414e-8ea8-0217989d86fb] [ownerKey=/tidb/ddl/fg/owner/6f189600d42f9ec1] [currRev=1376] [2025/04/04 12:48:14.877 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:48:14.877 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=f70617f0-9ddc-44a7-823d-d710c8caa338] [daemon-id=LogBackup::Advancer] [2025/04/04 12:48:14.877 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 12:48:14.877 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f189600d42f9ec3] [ownerID=f70617f0-9ddc-44a7-823d-d710c8caa338] [op=none] [2025/04/04 12:48:14.877 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=f70617f0-9ddc-44a7-823d-d710c8caa338] [2025/04/04 12:48:14.877 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=f70617f0-9ddc-44a7-823d-d710c8caa338] [ownerKey=/tidb/br-stream/owner/6f189600d42f9ec3] [currRev=1377] [2025/04/04 12:48:14.878 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f189600d42f9ec1] [ownerID=c8b7682e-b37f-414e-8ea8-0217989d86fb] [op=none] [2025/04/04 12:48:14.878 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=c8b7682e-b37f-414e-8ea8-0217989d86fb] [op=none] [2025/04/04 12:48:14.878 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 12:48:14.887 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=c8b7682e-b37f-414e-8ea8-0217989d86fb] [2025/04/04 12:48:14.888 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:48:14.889 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 12:48:14.898 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:48:14.905 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:48:14.910 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:48:14.910 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:48:14.910 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:48:14.910 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:48:14.910 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 12:48:14.910 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 12:48:14.910 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 12:48:14.910 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 12:48:14.910 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 12:48:14.911 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:48:14.911 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=c8b7682e-b37f-414e-8ea8-0217989d86fb] [2025/04/04 12:48:14.912 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:48:14.912 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:48:14.912 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:48:14.912 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:48:14.912 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:48:14.912 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 12:48:14.912 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:48:14.912 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 12:48:14.912 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:48:14.912 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:48:14.913 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 12:48:14.913 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:48:14.913 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:48:14.913 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:48:14.913 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:48:14.914 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/04 12:48:14.915 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/22319600d42fa4ee] [ownerID=c8b7682e-b37f-414e-8ea8-0217989d86fb] [op=none] [2025/04/04 12:48:14.915 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=c8b7682e-b37f-414e-8ea8-0217989d86fb] [2025/04/04 12:48:14.915 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=c8b7682e-b37f-414e-8ea8-0217989d86fb] [ownerKey=/tidb/stats/owner/22319600d42fa4ee] [currRev=1379] [2025/04/04 12:48:14.917 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/1ef14a12-e2cb-4caf-abf7-deb76212756e] [2025/04/04 12:48:14.917 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=c8b7682e-b37f-414e-8ea8-0217989d86fb] [ttl-worker=task-manager] [ttl-worker=c8b7682e-b37f-414e-8ea8-0217989d86fb] [originalCount=0] [newCount=4] [2025/04/04 12:48:14.917 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=c8b7682e-b37f-414e-8ea8-0217989d86fb] [ttl-worker=task-manager] [ttl-worker=c8b7682e-b37f-414e-8ea8-0217989d86fb] [originalCount=0] [newCount=4] [2025/04/04 12:48:14.917 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=c8b7682e-b37f-414e-8ea8-0217989d86fb] [2025/04/04 12:48:14.917 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:48:14.917 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 12:48:14.918 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] [2025/04/04 12:48:14.918 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] testkit.go:123: RefreshSession rand seed: 1743770894918187633 [2025/04/04 12:48:14.923 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 12:48:14.929 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=18.179978ms] [2025/04/04 12:48:14.930 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 12:48:14.930 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:48:14.938 +00:00] [INFO] [set.go:172] ["set global var"] [conn=14] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 12:48:14.940 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=14] [schemaVersion=274] [cur_db=test] [sql="alter table `_t` nocache"] [user=] [2025/04/04 12:48:14.942 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=14] [schemaVersion=274] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/04 12:48:14.954 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:303, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:301, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:14.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:48:14.954 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:303, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:301, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:14.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/04 12:48:14.959 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=303] [conn=14] [job="ID:303, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:301, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:14.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:14.975 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=274] [neededSchemaVersion=275] ["elapsed time"=1.804134ms] [gotSchemaVersion=275] [phyTblIDs="[301]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:48:14.978 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=303] [version=275] [2025/04/04 12:48:14.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=275] ["take time"=9.265063ms] [job="ID:303, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:301, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:14.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:14.990 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=303] [conn=14] [job="ID:303, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:301, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:14.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:15.004 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=275] [neededSchemaVersion=276] ["elapsed time"=1.891435ms] [gotSchemaVersion=276] [phyTblIDs="[301]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:48:15.008 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=303] [version=276] [2025/04/04 12:48:15.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=276] ["take time"=8.539642ms] [job="ID:303, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:301, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:14.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:15.018 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=303] [conn=14] [job="ID:303, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:301, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:14.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:15.025 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 301, Old Table Name: _t)"] [2025/04/04 12:48:15.038 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=276] [neededSchemaVersion=277] ["elapsed time"=1.062085ms] [gotSchemaVersion=277] [phyTblIDs="[301]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:48:15.042 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=303] [version=277] [2025/04/04 12:48:15.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=277] ["take time"=8.34245ms] [job="ID:303, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:301, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:14.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:15.053 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=303] [tableIDs="[301]"] [comment="drop table: table ID"] [2025/04/04 12:48:15.060 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=303] [jobType="drop table"] [2025/04/04 12:48:15.061 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=303] [conn=14] [job="ID:303, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:301, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:14.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:15.080 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=303] [2025/04/04 12:48:15.091 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:304, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:299, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:15.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:48:15.091 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:304, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:299, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:15.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/04 12:48:15.096 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=304] [conn=14] [job="ID:304, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:299, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:15.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:15.111 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=277] [neededSchemaVersion=278] ["elapsed time"=1.76403ms] [gotSchemaVersion=278] [phyTblIDs="[299]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:48:15.115 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=304] [version=278] [2025/04/04 12:48:15.116 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=278] ["take time"=8.527921ms] [job="ID:304, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:299, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:15.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:15.126 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=304] [conn=14] [job="ID:304, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:299, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:15.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:15.141 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=278] [neededSchemaVersion=279] ["elapsed time"=1.890741ms] [gotSchemaVersion=279] [phyTblIDs="[299]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:48:15.144 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=304] [version=279] [2025/04/04 12:48:15.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=279] ["take time"=8.55213ms] [job="ID:304, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:299, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:15.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:15.154 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=304] [conn=14] [job="ID:304, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:299, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:15.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:15.160 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 299, Old Table Name: t)"] [2025/04/04 12:48:15.172 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=279] [neededSchemaVersion=280] ["elapsed time"=1.00117ms] [gotSchemaVersion=280] [phyTblIDs="[299]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:48:15.176 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=304] [version=280] [2025/04/04 12:48:15.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=280] ["take time"=7.810669ms] [job="ID:304, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:299, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:15.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:15.186 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=304] [tableIDs="[299]"] [comment="drop table: table ID"] [2025/04/04 12:48:15.190 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=304] [jobType="drop table"] [2025/04/04 12:48:15.191 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=304] [conn=14] [job="ID:304, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:299, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:15.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:15.209 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=304] [2025/04/04 12:48:15.209 +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: 1743770895209566659 [2025/04/04 12:48:15.213 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=280] [cur_db=test] [sql="drop table if exists t1, _t1"] [user=] [2025/04/04 12:48:15.226 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:306, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:305, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:15.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:48:15.226 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:306, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:305, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:15.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t1 (a int, b int)"] [2025/04/04 12:48:15.232 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=306] [conn=15] [job="ID:306, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:305, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:15.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:15.237 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 305, Table Name: t1)"] [2025/04/04 12:48:15.251 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=280] [neededSchemaVersion=281] ["elapsed time"=1.460881ms] [gotSchemaVersion=281] [phyTblIDs="[305]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:48:15.255 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=306] [version=281] [2025/04/04 12:48:15.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=281] ["take time"=8.632906ms] [job="ID:306, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:305, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:15.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:15.268 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=306] [conn=15] [job="ID:306, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:305, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:15.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:15.278 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=306] [2025/04/04 12:48:15.279 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=281] [cur_db=test] [sql="create table t1 (a int, b int)"] [user=] [2025/04/04 12:48:15.297 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:308, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:307, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:15.247 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t1 (a int, b int)"] [2025/04/04 12:48:15.297 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:308, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:307, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:15.247 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:48:15.302 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=308] [conn=15] [job="ID:308, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:307, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:15.247 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:15.307 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 307, Table Name: _t1)"] [2025/04/04 12:48:15.325 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=281] [neededSchemaVersion=282] ["elapsed time"=1.706752ms] [gotSchemaVersion=282] [phyTblIDs="[307]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:48:15.329 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=308] [version=282] [2025/04/04 12:48:15.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=282] ["take time"=9.395513ms] [job="ID:308, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:307, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:15.247 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:15.342 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=308] [conn=15] [job="ID:308, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:307, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:15.247 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:15.353 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=308] [2025/04/04 12:48:15.353 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=282] [cur_db=test] [sql="create table _t1 (a int, b int)"] [user=] [2025/04/04 12:48:15.462 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:310, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:307, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:15.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:48:15.462 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:310, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:307, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:15.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/04 12:48:15.469 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=310] [conn=15] [job="ID:310, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:307, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:15.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:15.477 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 309, Table Name: _t1, Old Table ID: 307, Old Table Name: _t1)"] [2025/04/04 12:48:15.492 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=282] [neededSchemaVersion=283] ["elapsed time"=1.634577ms] [gotSchemaVersion=283] [phyTblIDs="[307,309]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 12:48:15.496 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=310] [version=283] [2025/04/04 12:48:15.498 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=283] ["take time"=9.257453ms] [job="ID:310, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:307, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:15.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:15.509 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=310] [tableIDs="[307]"] [comment="truncate table: table ID"] [2025/04/04 12:48:15.513 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=310] [jobType="truncate table"] [2025/04/04 12:48:15.514 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=310] [conn=15] [job="ID:310, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:307, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:15.348 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:15.532 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=310] [2025/04/04 12:48:15.532 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=283] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/04 12:48:15.539 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119077629165583] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=967.527µs] [2025/04/04 12:48:15.539 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.366071ms] [total_duration=5.520946ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=10] [size=165B] [startTS=457119077629165583] [2025/04/04 12:48:15.541 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119077629165583] [commitTS=457119077629165586] [2025/04/04 12:48:15.541 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119077629165583] [startKey=7480000000000001355f728000000000000001] [endKey=7480000000000001355f728000000000000005] [concurrency=8] [2025/04/04 12:48:15.546 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119077629165583] [startKey=7480000000000001355f728000000000000001] [endKey=7480000000000001355f728000000000000005] ["cost time"=4.67546ms] ["completed regions"=1] [2025/04/04 12:48:15.546 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119077629165583] [commitTS=457119077629165586] [session=15] [2025/04/04 12:48:15.555 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:312, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:309, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:15.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:48:15.555 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:312, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:309, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:15.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/04 12:48:15.560 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=312] [conn=15] [job="ID:312, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:309, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:15.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:15.567 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 311, Table Name: _t1, Old Table ID: 309, Old Table Name: _t1)"] [2025/04/04 12:48:15.580 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=283] [neededSchemaVersion=284] ["elapsed time"=1.5058ms] [gotSchemaVersion=284] [phyTblIDs="[309,311]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 12:48:15.584 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=312] [version=284] [2025/04/04 12:48:15.586 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=284] ["take time"=8.393519ms] [job="ID:312, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:309, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:15.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:15.595 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=312] [tableIDs="[309]"] [comment="truncate table: table ID"] [2025/04/04 12:48:15.599 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=312] [jobType="truncate table"] [2025/04/04 12:48:15.600 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=312] [conn=15] [job="ID:312, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:309, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:15.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:15.616 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=312] [2025/04/04 12:48:15.616 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=284] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/04 12:48:15.623 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119077655379976] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=823.979µs] [2025/04/04 12:48:15.623 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=927.041µs] [total_duration=4.907233ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=5] [size=165B] [startTS=457119077655379976] [2025/04/04 12:48:15.624 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119077655379976] [commitTS=457119077655379979] [2025/04/04 12:48:15.624 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119077655379976] [startKey=7480000000000001375f728000000000000001] [endKey=7480000000000001375f728000000000000005] [concurrency=8] [2025/04/04 12:48:15.627 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119077655379976] [startKey=7480000000000001375f728000000000000001] [endKey=7480000000000001375f728000000000000005] ["cost time"=2.217579ms] ["completed regions"=1] [2025/04/04 12:48:15.627 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119077655379976] [commitTS=457119077655379979] [session=15] [2025/04/04 12:48:15.632 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119077655379984] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=917.072µs] [2025/04/04 12:48:15.632 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.030653ms] [total_duration=2.533491ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=5] [size=165B] [startTS=457119077655379984] [2025/04/04 12:48:15.634 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119077655379984] [commitTS=457119077655379985] [2025/04/04 12:48:15.634 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119077655379984] [startKey=7480000000000001375f728000000000000006] [endKey=7480000000000001375f72800000000000000a] [concurrency=8] [2025/04/04 12:48:15.639 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119077655379984] [startKey=7480000000000001375f728000000000000006] [endKey=7480000000000001375f72800000000000000a] ["cost time"=4.654212ms] ["completed regions"=1] [2025/04/04 12:48:15.639 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119077655379984] [commitTS=457119077655379985] [session=15] [2025/04/04 12:48:15.648 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119077655379986] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=3.088717ms] [2025/04/04 12:48:15.648 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=3.269229ms] [total_duration=6.642782ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=10] [size=165B] [startTS=457119077655379986] [2025/04/04 12:48:15.649 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119077655379986] [commitTS=457119077668487169] [2025/04/04 12:48:15.650 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119077655379986] [startKey=7480000000000001375f72800000000000000b] [endKey=7480000000000001375f72800000000000000f] [concurrency=8] [2025/04/04 12:48:15.652 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119077655379986] [startKey=7480000000000001375f72800000000000000b] [endKey=7480000000000001375f72800000000000000f] ["cost time"=2.016934ms] ["completed regions"=1] [2025/04/04 12:48:15.652 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119077655379986] [commitTS=457119077668487169] [session=15] [2025/04/04 12:48:15.657 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119077668487170] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=1.060471ms] [2025/04/04 12:48:15.657 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.183602ms] [total_duration=3.107131ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=10] [size=165B] [startTS=457119077668487170] [2025/04/04 12:48:15.658 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119077668487170] [commitTS=457119077668487171] [2025/04/04 12:48:15.659 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119077668487170] [startKey=7480000000000001375f728000000000000010] [endKey=7480000000000001375f728000000000000014] [concurrency=8] [2025/04/04 12:48:15.661 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119077668487170] [startKey=7480000000000001375f728000000000000010] [endKey=7480000000000001375f728000000000000014] ["cost time"=2.09938ms] ["completed regions"=1] [2025/04/04 12:48:15.661 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119077668487170] [commitTS=457119077668487171] [session=15] [2025/04/04 12:48:15.673 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:313, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:305, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:15.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:48:15.673 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:313, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:305, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:15.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t1, _t1"] [2025/04/04 12:48:15.680 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=313] [conn=15] [job="ID:313, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:305, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:15.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:15.696 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=284] [neededSchemaVersion=285] ["elapsed time"=1.954727ms] [gotSchemaVersion=285] [phyTblIDs="[305]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:48:15.700 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=313] [version=285] [2025/04/04 12:48:15.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=285] ["take time"=9.229608ms] [job="ID:313, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:305, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:15.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:15.712 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=313] [conn=15] [job="ID:313, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:305, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:15.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:15.728 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=285] [neededSchemaVersion=286] ["elapsed time"=2.059963ms] [gotSchemaVersion=286] [phyTblIDs="[305]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:48:15.732 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=313] [version=286] [2025/04/04 12:48:15.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=286] ["take time"=9.686093ms] [job="ID:313, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:305, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:15.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:15.743 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=313] [conn=15] [job="ID:313, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:305, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:15.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:15.750 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 305, Old Table Name: t1)"] [2025/04/04 12:48:15.764 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=286] [neededSchemaVersion=287] ["elapsed time"=1.079714ms] [gotSchemaVersion=287] [phyTblIDs="[305]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:48:15.767 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=313] [version=287] [2025/04/04 12:48:15.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=287] ["take time"=8.255687ms] [job="ID:313, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:305, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:15.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:15.778 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=313] [tableIDs="[305]"] [comment="drop table: table ID"] [2025/04/04 12:48:15.782 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=313] [jobType="drop table"] [2025/04/04 12:48:15.783 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=313] [conn=15] [job="ID:313, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:305, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:15.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:15.801 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=313] [2025/04/04 12:48:15.811 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:314, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:311, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:15.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:48:15.811 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:314, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:311, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:15.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t1, _t1"] [2025/04/04 12:48:15.816 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=314] [conn=15] [job="ID:314, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:311, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:15.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:15.832 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=287] [neededSchemaVersion=288] ["elapsed time"=2.045038ms] [gotSchemaVersion=288] [phyTblIDs="[311]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:48:15.836 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=314] [version=288] [2025/04/04 12:48: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=288] ["take time"=9.529828ms] [job="ID:314, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:311, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:15.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:15.848 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=314] [conn=15] [job="ID:314, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:311, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:15.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:15.863 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=288] [neededSchemaVersion=289] ["elapsed time"=1.904591ms] [gotSchemaVersion=289] [phyTblIDs="[311]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:48:15.866 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=314] [version=289] [2025/04/04 12:48:15.868 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=289] ["take time"=8.952523ms] [job="ID:314, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:311, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:15.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:15.876 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=314] [conn=15] [job="ID:314, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:311, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:15.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:15.882 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/04 12:48:15.882 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 12:48:15.882 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 12:48:15.882 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:48:15.882 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 311, Old Table Name: _t1)"] [2025/04/04 12:48:15.895 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=289] [neededSchemaVersion=290] ["elapsed time"=1.010723ms] [gotSchemaVersion=290] [phyTblIDs="[311]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:48:15.899 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=314] [version=290] [2025/04/04 12:48:15.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=290] ["take time"=7.832957ms] [job="ID:314, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:311, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:15.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:15.909 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=314] [tableIDs="[311]"] [comment="drop table: table ID"] [2025/04/04 12:48:15.913 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=314] [jobType="drop table"] [2025/04/04 12:48:15.914 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=314] [conn=15] [job="ID:314, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:311, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:15.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:15.917 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/04 12:48:15.917 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/04 12:48:15.917 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/1ef14a12-e2cb-4caf-abf7-deb76212756e] [watcherID=a58a101c-be5f-42b1-bd88-91eb901c5dde] [2025/04/04 12:48:15.918 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/04 12:48:15.924 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/04 12:48:15.924 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/04 12:48:15.924 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/04 12:48:15.924 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/04 12:48:15.934 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=314] [2025/04/04 12:48:15.934 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=290] [cur_db=test] [sql="drop table if exists t1, _t1"] [user=] [2025/04/04 12:48:15.946 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:316, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:315, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:15.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:48:15.946 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:316, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:315, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:15.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t1 (a int, b int)"] [2025/04/04 12:48:15.952 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=316] [conn=15] [job="ID:316, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:315, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:15.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:15.956 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 315, Table Name: _t1)"] [2025/04/04 12:48:15.969 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=290] [neededSchemaVersion=291] ["elapsed time"=1.448574ms] [gotSchemaVersion=291] [phyTblIDs="[315]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:48:15.973 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=316] [version=291] [2025/04/04 12:48:15.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=291] ["take time"=8.323648ms] [job="ID:316, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:315, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:15.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:15.985 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=316] [conn=15] [job="ID:316, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:315, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:15.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:15.996 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=316] [2025/04/04 12:48:15.996 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=291] [cur_db=test] [sql="create table _t1 (a int, b int)"] [user=] [2025/04/04 12:48:16.002 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119077747392529] [2025/04/04 12:48:16.018 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:318, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:315, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:15.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:48:16.018 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:318, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:315, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:15.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/04 12:48:16.023 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=318] [conn=15] [job="ID:318, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:315, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:15.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:16.030 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 317, Table Name: _t1, Old Table ID: 315, Old Table Name: _t1)"] [2025/04/04 12:48:16.044 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=291] [neededSchemaVersion=292] ["elapsed time"=1.487886ms] [gotSchemaVersion=292] [phyTblIDs="[315,317]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 12:48:16.047 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=318] [version=292] [2025/04/04 12:48:16.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=292] ["take time"=8.471956ms] [job="ID:318, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:315, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:15.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:16.059 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=318] [tableIDs="[315]"] [comment="truncate table: table ID"] [2025/04/04 12:48:16.063 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=318] [jobType="truncate table"] [2025/04/04 12:48:16.064 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=318] [conn=15] [job="ID:318, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:315, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:15.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:16.081 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=318] [2025/04/04 12:48:16.082 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=292] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/04 12:48:16.087 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119077773606926] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=910.09µs] [2025/04/04 12:48:16.087 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.011067ms] [total_duration=4.28851ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=10] [size=165B] [startTS=457119077773606926] [2025/04/04 12:48:16.088 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119077773606926] [commitTS=457119077773606929] [2025/04/04 12:48:16.089 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119077773606926] [startKey=74800000000000013d5f728000000000000001] [endKey=74800000000000013d5f728000000000000005] [concurrency=8] [2025/04/04 12:48:16.090 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119077773606926] [startKey=74800000000000013d5f728000000000000001] [endKey=74800000000000013d5f728000000000000005] ["cost time"=1.840027ms] ["completed regions"=1] [2025/04/04 12:48:16.091 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119077773606926] [commitTS=457119077773606929] [session=15] [2025/04/04 12:48:16.101 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:320, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:317, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:16.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:48:16.101 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:320, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:317, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:16.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/04 12:48:16.106 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=320] [conn=15] [job="ID:320, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:317, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:16.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:16.113 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 319, Table Name: _t1, Old Table ID: 317, Old Table Name: _t1)"] [2025/04/04 12:48:16.127 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=292] [neededSchemaVersion=293] ["elapsed time"=1.45729ms] [gotSchemaVersion=293] [phyTblIDs="[317,319]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 12:48:16.131 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=320] [version=293] [2025/04/04 12:48:16.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=293] ["take time"=8.257956ms] [job="ID:320, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:317, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:16.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:16.142 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=320] [tableIDs="[317]"] [comment="truncate table: table ID"] [2025/04/04 12:48:16.146 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=320] [jobType="truncate table"] [2025/04/04 12:48:16.147 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=320] [conn=15] [job="ID:320, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:317, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:16.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:16.163 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=320] [2025/04/04 12:48:16.163 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=293] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/04 12:48:16.168 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119077799559175] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=813.29µs] [2025/04/04 12:48:16.168 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=901.66µs] [total_duration=3.910172ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=5] [size=165B] [startTS=457119077799559175] [2025/04/04 12:48:16.169 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119077799559175] [commitTS=457119077799559178] [2025/04/04 12:48:16.169 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119077799559175] [startKey=74800000000000013f5f728000000000000001] [endKey=74800000000000013f5f728000000000000005] [concurrency=8] [2025/04/04 12:48:16.171 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119077799559175] [startKey=74800000000000013f5f728000000000000001] [endKey=74800000000000013f5f728000000000000005] ["cost time"=1.743249ms] ["completed regions"=1] [2025/04/04 12:48:16.171 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119077799559175] [commitTS=457119077799559178] [session=15] [2025/04/04 12:48:16.175 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119077799559179] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=757.229µs] [2025/04/04 12:48:16.175 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=858.969µs] [total_duration=1.403841ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=5] [size=165B] [startTS=457119077799559179] [2025/04/04 12:48:16.176 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119077799559179] [commitTS=457119077799559181] [2025/04/04 12:48:16.176 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119077799559179] [startKey=74800000000000013f5f728000000000000006] [endKey=74800000000000013f5f72800000000000000a] [concurrency=8] [2025/04/04 12:48:16.178 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119077799559179] [startKey=74800000000000013f5f728000000000000006] [endKey=74800000000000013f5f72800000000000000a] ["cost time"=1.916645ms] ["completed regions"=1] [2025/04/04 12:48:16.178 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119077799559179] [commitTS=457119077799559181] [session=15] [2025/04/04 12:48:16.180 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119077799559182] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=870.393µs] [2025/04/04 12:48:16.180 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=959.519µs] [total_duration=1.52566ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=10] [size=165B] [startTS=457119077799559182] [2025/04/04 12:48:16.181 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119077799559182] [commitTS=457119077799559184] [2025/04/04 12:48:16.181 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119077799559182] [startKey=74800000000000013f5f72800000000000000b] [endKey=74800000000000013f5f72800000000000000f] [concurrency=8] [2025/04/04 12:48:16.183 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119077799559182] [startKey=74800000000000013f5f72800000000000000b] [endKey=74800000000000013f5f72800000000000000f] ["cost time"=1.832161ms] ["completed regions"=1] [2025/04/04 12:48:16.183 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119077799559182] [commitTS=457119077799559184] [session=15] [2025/04/04 12:48:16.184 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119077799559185] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=819.642µs] [2025/04/04 12:48:16.184 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=914.282µs] [total_duration=1.487223ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=10] [size=165B] [startTS=457119077799559185] [2025/04/04 12:48:16.185 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119077799559185] [commitTS=457119077799559186] [2025/04/04 12:48:16.185 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119077799559185] [startKey=74800000000000013f5f728000000000000010] [endKey=74800000000000013f5f728000000000000014] [concurrency=8] [2025/04/04 12:48:16.187 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119077799559185] [startKey=74800000000000013f5f728000000000000010] [endKey=74800000000000013f5f728000000000000014] ["cost time"=1.699031ms] ["completed regions"=1] [2025/04/04 12:48:16.187 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119077799559185] [commitTS=457119077799559186] [session=15] [2025/04/04 12:48:16.197 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:321, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:319, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:16.147 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:48:16.197 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:321, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:319, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:16.147 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t1, _t1"] [2025/04/04 12:48:16.203 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=321] [conn=15] [job="ID:321, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:319, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:16.147 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:16.218 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=293] [neededSchemaVersion=294] ["elapsed time"=1.869197ms] [gotSchemaVersion=294] [phyTblIDs="[319]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:48:16.222 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=321] [version=294] [2025/04/04 12:48:16.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=294] ["take time"=8.905167ms] [job="ID:321, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:319, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:16.147 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:16.232 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=321] [conn=15] [job="ID:321, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:319, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:16.147 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:16.247 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=294] [neededSchemaVersion=295] ["elapsed time"=1.904604ms] [gotSchemaVersion=295] [phyTblIDs="[319]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:48:16.250 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=321] [version=295] [2025/04/04 12:48:16.252 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=295] ["take time"=8.489216ms] [job="ID:321, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:319, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:16.147 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:16.260 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=321] [conn=15] [job="ID:321, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:319, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:16.147 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:16.265 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 319, Old Table Name: _t1)"] [2025/04/04 12:48:16.278 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=295] [neededSchemaVersion=296] ["elapsed time"=968.217µs] [gotSchemaVersion=296] [phyTblIDs="[319]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:48:16.281 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=321] [version=296] [2025/04/04 12:48:16.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=296] ["take time"=8.042389ms] [job="ID:321, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:319, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:16.147 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:16.291 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=321] [tableIDs="[319]"] [comment="drop table: table ID"] [2025/04/04 12:48:16.295 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=321] [jobType="drop table"] [2025/04/04 12:48:16.296 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=321] [conn=15] [job="ID:321, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:319, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:16.147 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:16.313 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=321] [2025/04/04 12:48:16.313 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=296] [cur_db=test] [sql="drop table if exists t1, _t1"] [user=] [2025/04/04 12:48:16.326 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:323, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:322, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:16.298 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t1 (a int, b int)"] [2025/04/04 12:48:16.326 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:323, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:322, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:16.298 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:48:16.331 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=323] [conn=15] [job="ID:323, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:322, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:16.298 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:16.335 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 322, Table Name: t1)"] [2025/04/04 12:48:16.349 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=296] [neededSchemaVersion=297] ["elapsed time"=1.367926ms] [gotSchemaVersion=297] [phyTblIDs="[322]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:48:16.352 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=323] [version=297] [2025/04/04 12:48:16.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=297] ["take time"=7.80161ms] [job="ID:323, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:322, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:16.298 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:16.364 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=323] [conn=15] [job="ID:323, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:322, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:16.298 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:16.374 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=323] [2025/04/04 12:48:16.375 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=297] [cur_db=test] [sql="create table t1 (a int, b int)"] [user=] [2025/04/04 12:48:16.381 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119077851987979] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=993.128µs] [2025/04/04 12:48:16.381 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.09631ms] [total_duration=5.031752ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=10] [size=165B] [startTS=457119077851987979] [2025/04/04 12:48:16.382 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119077851987979] [commitTS=457119077851987985] [2025/04/04 12:48:16.383 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119077851987979] [startKey=7480000000000001425f728000000000000001] [endKey=7480000000000001425f728000000000000005] [concurrency=8] [2025/04/04 12:48:16.385 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119077851987979] [startKey=7480000000000001425f728000000000000001] [endKey=7480000000000001425f728000000000000005] ["cost time"=2.114342ms] ["completed regions"=1] [2025/04/04 12:48:16.385 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119077851987979] [commitTS=457119077851987985] [session=15] [2025/04/04 12:48:16.396 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:325, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:324, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:16.347 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t1 (a int primary key, b int)"] [2025/04/04 12:48:16.396 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:325, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:324, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:16.347 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:48:16.401 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=325] [conn=15] [job="ID:325, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:324, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:16.347 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:16.406 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 324, Table Name: _t1)"] [2025/04/04 12:48:16.420 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=297] [neededSchemaVersion=298] ["elapsed time"=1.529652ms] [gotSchemaVersion=298] [phyTblIDs="[324]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:48:16.424 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=325] [version=298] [2025/04/04 12:48:16.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=298] ["take time"=8.867027ms] [job="ID:325, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:324, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:16.347 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:16.437 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=325] [conn=15] [job="ID:325, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:324, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:16.347 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:16.447 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=325] [2025/04/04 12:48:16.448 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=298] [cur_db=test] [sql="create table _t1 (a int primary key, b int)"] [user=] [2025/04/04 12:48:16.467 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:327, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:324, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:16.447 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:48:16.467 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:327, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:324, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:16.447 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/04 12:48:16.473 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=327] [conn=15] [job="ID:327, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:324, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:16.447 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:16.480 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 326, Table Name: _t1, Old Table ID: 324, Old Table Name: _t1)"] [2025/04/04 12:48:16.494 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=298] [neededSchemaVersion=299] ["elapsed time"=1.502271ms] [gotSchemaVersion=299] [phyTblIDs="[324,326]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 12:48:16.497 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=327] [version=299] [2025/04/04 12:48:16.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=299] ["take time"=8.35761ms] [job="ID:327, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:324, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:16.447 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:16.509 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=327] [tableIDs="[324]"] [comment="truncate table: table ID"] [2025/04/04 12:48:16.513 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=327] [jobType="truncate table"] [2025/04/04 12:48:16.514 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=327] [conn=15] [job="ID:327, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:324, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:16.447 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:16.531 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=327] [2025/04/04 12:48:16.531 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=299] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/04 12:48:16.535 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119077891309582] [generation=1] [session=15] [keys=5] [size=145B] ["flushed keys"=5] ["flushed size"=145B] ["take time"=960.022µs] [2025/04/04 12:48:16.535 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.051398ms] [total_duration=2.543585ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=10] [size=145B] [startTS=457119077891309582] [2025/04/04 12:48:16.536 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119077891309582] [commitTS=457119077891309583] [2025/04/04 12:48:16.536 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119077891309582] [startKey=7480000000000001465f728000000000000001] [endKey=7480000000000001465f728000000000000005] [concurrency=8] [2025/04/04 12:48:16.539 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119077891309582] [startKey=7480000000000001465f728000000000000001] [endKey=7480000000000001465f728000000000000005] ["cost time"=2.336655ms] ["completed regions"=1] [2025/04/04 12:48:16.539 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119077891309582] [commitTS=457119077891309583] [session=15] [2025/04/04 12:48:16.549 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:329, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:326, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:16.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:48:16.549 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:329, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:326, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:16.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/04 12:48:16.554 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=329] [conn=15] [job="ID:329, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:326, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:16.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:16.562 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 328, Table Name: _t1, Old Table ID: 326, Old Table Name: _t1)"] [2025/04/04 12:48:16.576 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=299] [neededSchemaVersion=300] ["elapsed time"=1.539583ms] [gotSchemaVersion=300] [phyTblIDs="[326,328]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 12:48:16.580 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=329] [version=300] [2025/04/04 12:48:16.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=300] ["take time"=8.700093ms] [job="ID:329, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:326, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:16.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:16.592 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=329] [tableIDs="[326]"] [comment="truncate table: table ID"] [2025/04/04 12:48:16.596 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=329] [jobType="truncate table"] [2025/04/04 12:48:16.597 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=329] [conn=15] [job="ID:329, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:326, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:16.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:16.613 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=329] [2025/04/04 12:48:16.613 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=300] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/04 12:48:16.619 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119077917523975] [generation=1] [session=15] [keys=5] [size=145B] ["flushed keys"=5] ["flushed size"=145B] ["take time"=985.989µs] [2025/04/04 12:48:16.619 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.103806ms] [total_duration=4.446145ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=15] [size=145B] [startTS=457119077917523975] [2025/04/04 12:48:16.621 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119077917523975] [commitTS=457119077917523976] [2025/04/04 12:48:16.621 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119077917523975] [startKey=7480000000000001485f728000000000000001] [endKey=7480000000000001485f728000000000000005] [concurrency=8] [2025/04/04 12:48:16.624 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119077917523975] [startKey=7480000000000001485f728000000000000001] [endKey=7480000000000001485f728000000000000005] ["cost time"=2.285607ms] ["completed regions"=1] [2025/04/04 12:48:16.624 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119077917523975] [commitTS=457119077917523976] [session=15] [2025/04/04 12:48:16.640 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119077917523982] [generation=1] [session=15] [keys=10] [size=240B] ["flushed keys"=10] ["flushed size"=240B] ["take time"=1.088808ms] [2025/04/04 12:48:16.640 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=10] [flush_wait_duration=1.179163ms] [total_duration=4.229711ms] ["memdb traversal cache hit"=15] ["memdb traversal cache miss"=30] [size=240B] [startTS=457119077917523982] [2025/04/04 12:48:16.642 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119077917523982] [commitTS=457119077917523983] [2025/04/04 12:48:16.642 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119077917523982] [startKey=7480000000000001485f728000000000000001] [endKey=7480000000000001485f72800000000000000a] [concurrency=8] [2025/04/04 12:48:16.644 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119077917523982] [startKey=7480000000000001485f728000000000000001] [endKey=7480000000000001485f72800000000000000a] ["cost time"=2.152605ms] ["completed regions"=1] [2025/04/04 12:48:16.644 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119077917523982] [commitTS=457119077917523983] [session=15] [2025/04/04 12:48:16.651 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119077917523984] [generation=1] [session=15] [keys=5] [size=145B] ["flushed keys"=5] ["flushed size"=145B] ["take time"=857.764µs] [2025/04/04 12:48:16.651 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=960.498µs] [total_duration=3.635382ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=20] [size=145B] [startTS=457119077917523984] [2025/04/04 12:48:16.652 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119077917523984] [commitTS=457119077930631169] [2025/04/04 12:48:16.652 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119077917523984] [startKey=7480000000000001485f728000000000000001] [endKey=7480000000000001485f728000000000000005] [concurrency=8] [2025/04/04 12:48:16.655 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119077917523984] [startKey=7480000000000001485f728000000000000001] [endKey=7480000000000001485f728000000000000005] ["cost time"=1.888093ms] ["completed regions"=1] [2025/04/04 12:48:16.655 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119077917523984] [commitTS=457119077930631169] [session=15] [2025/04/04 12:48:16.667 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:330, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:322, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:16.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:48:16.667 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:330, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:322, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:16.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t1, _t1"] [2025/04/04 12:48:16.672 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=330] [conn=15] [job="ID:330, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:322, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:16.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:16.687 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=300] [neededSchemaVersion=301] ["elapsed time"=1.83923ms] [gotSchemaVersion=301] [phyTblIDs="[322]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:48:16.690 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=330] [version=301] [2025/04/04 12:48:16.692 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=301] ["take time"=9.071427ms] [job="ID:330, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:322, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:16.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:16.702 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=330] [conn=15] [job="ID:330, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:322, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:16.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:16.706 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/04 12:48:16.717 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=301] [neededSchemaVersion=302] ["elapsed time"=1.829334ms] [gotSchemaVersion=302] [phyTblIDs="[322]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:48:16.720 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=330] [version=302] [2025/04/04 12:48:16.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=302] ["take time"=8.997631ms] [job="ID:330, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:322, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:16.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:16.731 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=330] [conn=15] [job="ID:330, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:322, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:16.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:16.736 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 322, Old Table Name: t1)"] [2025/04/04 12:48:16.749 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=302] [neededSchemaVersion=303] ["elapsed time"=999.851µs] [gotSchemaVersion=303] [phyTblIDs="[322]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:48:16.752 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=330] [version=303] [2025/04/04 12:48:16.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=303] ["take time"=7.828759ms] [job="ID:330, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:322, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:16.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:16.763 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=330] [tableIDs="[322]"] [comment="drop table: table ID"] [2025/04/04 12:48:16.767 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=330] [jobType="drop table"] [2025/04/04 12:48:16.768 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=330] [conn=15] [job="ID:330, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:322, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:16.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:16.785 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=330] [2025/04/04 12:48:16.795 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:331, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:328, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:16.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:48:16.795 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:331, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:328, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:16.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t1, _t1"] [2025/04/04 12:48:16.801 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=331] [conn=15] [job="ID:331, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:328, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:16.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:16.816 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=303] [neededSchemaVersion=304] ["elapsed time"=1.823252ms] [gotSchemaVersion=304] [phyTblIDs="[328]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:48:16.820 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=331] [version=304] [2025/04/04 12:48:16.822 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=304] ["take time"=9.085068ms] [job="ID:331, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:328, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:16.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:16.831 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=331] [conn=15] [job="ID:331, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:328, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:16.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:16.847 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=304] [neededSchemaVersion=305] ["elapsed time"=1.880555ms] [gotSchemaVersion=305] [phyTblIDs="[328]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:48:16.850 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=331] [version=305] [2025/04/04 12:48:16.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=305] ["take time"=9.433074ms] [job="ID:331, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:328, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:16.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:16.860 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=331] [conn=15] [job="ID:331, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:328, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:16.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:16.866 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 328, Old Table Name: _t1)"] [2025/04/04 12:48:16.874 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/04 12:48:16.883 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=305] [neededSchemaVersion=306] ["elapsed time"=1.037363ms] [gotSchemaVersion=306] [phyTblIDs="[328]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:48:16.887 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=331] [version=306] [2025/04/04 12:48:16.888 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=306] ["take time"=12.230727ms] [job="ID:331, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:328, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:16.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:16.897 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=331] [tableIDs="[328]"] [comment="drop table: table ID"] [2025/04/04 12:48:16.901 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=331] [jobType="drop table"] [2025/04/04 12:48:16.902 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=331] [conn=15] [job="ID:331, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:328, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:16.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:16.919 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=331] [2025/04/04 12:48:16.919 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=306] [cur_db=test] [sql="drop table if exists t1, _t1"] [user=] [2025/04/04 12:48:16.934 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:333, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:332, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:16.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:48:16.934 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:333, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:332, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:16.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t1 (a int primary key, b int)"] [2025/04/04 12:48:16.940 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=333] [conn=15] [job="ID:333, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:332, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:16.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:16.944 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 332, Table Name: _t1)"] [2025/04/04 12:48:16.958 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=306] [neededSchemaVersion=307] ["elapsed time"=1.440825ms] [gotSchemaVersion=307] [phyTblIDs="[332]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:48:16.962 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=333] [version=307] [2025/04/04 12:48:16.964 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=307] ["take time"=8.62616ms] [job="ID:333, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:332, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:16.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:16.975 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=333] [conn=15] [job="ID:333, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:332, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:16.898 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:16.986 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=333] [2025/04/04 12:48:16.986 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=307] [cur_db=test] [sql="create table _t1 (a int primary key, b int)"] [user=] [2025/04/04 12:48:17.003 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:335, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:332, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:16.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/04 12:48:17.003 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:335, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:332, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:16.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:48:17.009 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=335] [conn=15] [job="ID:335, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:332, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:16.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:17.016 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 334, Table Name: _t1, Old Table ID: 332, Old Table Name: _t1)"] [2025/04/04 12:48:17.030 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=307] [neededSchemaVersion=308] ["elapsed time"=1.441719ms] [gotSchemaVersion=308] [phyTblIDs="[332,334]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 12:48:17.034 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=335] [version=308] [2025/04/04 12:48:17.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=308] ["take time"=8.780021ms] [job="ID:335, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:332, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:16.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:17.046 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=335] [tableIDs="[332]"] [comment="truncate table: table ID"] [2025/04/04 12:48:17.050 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=335] [jobType="truncate table"] [2025/04/04 12:48:17.051 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=335] [conn=15] [job="ID:335, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:332, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:16.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:17.067 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=335] [2025/04/04 12:48:17.068 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=308] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/04 12:48:17.070 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119078035750920] [generation=1] [session=15] [keys=5] [size=145B] ["flushed keys"=5] ["flushed size"=145B] ["take time"=891.697µs] [2025/04/04 12:48:17.070 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.001326ms] [total_duration=1.507982ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=10] [size=145B] [startTS=457119078035750920] [2025/04/04 12:48:17.072 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119078035750920] [commitTS=457119078035750921] [2025/04/04 12:48:17.072 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119078035750920] [startKey=74800000000000014e5f728000000000000001] [endKey=74800000000000014e5f728000000000000005] [concurrency=8] [2025/04/04 12:48:17.074 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119078035750920] [startKey=74800000000000014e5f728000000000000001] [endKey=74800000000000014e5f728000000000000005] ["cost time"=1.967691ms] ["completed regions"=1] [2025/04/04 12:48:17.074 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119078035750920] [commitTS=457119078035750921] [session=15] [2025/04/04 12:48:17.084 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:337, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:334, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:17.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:48:17.084 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:337, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:334, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:17.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/04 12:48:17.089 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=337] [conn=15] [job="ID:337, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:334, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:17.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:17.096 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 336, Table Name: _t1, Old Table ID: 334, Old Table Name: _t1)"] [2025/04/04 12:48:17.110 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=308] [neededSchemaVersion=309] ["elapsed time"=1.455059ms] [gotSchemaVersion=309] [phyTblIDs="[334,336]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 12:48:17.114 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=337] [version=309] [2025/04/04 12:48:17.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=309] ["take time"=8.478556ms] [job="ID:337, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:334, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:17.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:17.126 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=337] [tableIDs="[334]"] [comment="truncate table: table ID"] [2025/04/04 12:48:17.130 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=337] [jobType="truncate table"] [2025/04/04 12:48:17.131 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=337] [conn=15] [job="ID:337, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:334, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:17.048 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:17.148 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=337] [2025/04/04 12:48:17.149 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=309] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/04 12:48:17.153 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119078061965313] [generation=1] [session=15] [keys=5] [size=145B] ["flushed keys"=5] ["flushed size"=145B] ["take time"=952.393µs] [2025/04/04 12:48:17.153 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.068828ms] [total_duration=2.787059ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=15] [size=145B] [startTS=457119078061965313] [2025/04/04 12:48:17.154 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119078061965313] [commitTS=457119078061965314] [2025/04/04 12:48:17.154 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119078061965313] [startKey=7480000000000001505f728000000000000001] [endKey=7480000000000001505f728000000000000005] [concurrency=8] [2025/04/04 12:48:17.156 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119078061965313] [startKey=7480000000000001505f728000000000000001] [endKey=7480000000000001505f728000000000000005] ["cost time"=1.93373ms] ["completed regions"=1] [2025/04/04 12:48:17.156 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119078061965313] [commitTS=457119078061965314] [session=15] [2025/04/04 12:48:17.164 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119078061965316] [generation=1] [session=15] [keys=10] [size=240B] ["flushed keys"=10] ["flushed size"=240B] ["take time"=933.751µs] [2025/04/04 12:48:17.165 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=10] [flush_wait_duration=1.028426ms] [total_duration=2.999775ms] ["memdb traversal cache hit"=15] ["memdb traversal cache miss"=30] [size=240B] [startTS=457119078061965316] [2025/04/04 12:48:17.166 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119078061965316] [commitTS=457119078061965317] [2025/04/04 12:48:17.166 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119078061965316] [startKey=7480000000000001505f728000000000000001] [endKey=7480000000000001505f72800000000000000a] [concurrency=8] [2025/04/04 12:48:17.168 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119078061965316] [startKey=7480000000000001505f728000000000000001] [endKey=7480000000000001505f72800000000000000a] ["cost time"=1.908523ms] ["completed regions"=1] [2025/04/04 12:48:17.168 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119078061965316] [commitTS=457119078061965317] [session=15] [2025/04/04 12:48:17.171 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119078061965318] [generation=1] [session=15] [keys=5] [size=145B] ["flushed keys"=5] ["flushed size"=145B] ["take time"=811.219µs] [2025/04/04 12:48:17.172 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=896.135µs] [total_duration=2.675116ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=20] [size=145B] [startTS=457119078061965318] [2025/04/04 12:48:17.173 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119078061965318] [commitTS=457119078061965319] [2025/04/04 12:48:17.173 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119078061965318] [startKey=7480000000000001505f728000000000000001] [endKey=7480000000000001505f728000000000000005] [concurrency=8] [2025/04/04 12:48:17.175 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119078061965318] [startKey=7480000000000001505f728000000000000001] [endKey=7480000000000001505f728000000000000005] ["cost time"=1.846596ms] ["completed regions"=1] [2025/04/04 12:48:17.175 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119078061965318] [commitTS=457119078061965319] [session=15] [2025/04/04 12:48:17.185 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:338, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:336, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:17.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:48:17.185 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:338, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:336, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:17.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t1, _t1"] [2025/04/04 12:48:17.191 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=338] [conn=15] [job="ID:338, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:336, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:17.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:17.205 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=309] [neededSchemaVersion=310] ["elapsed time"=1.8509ms] [gotSchemaVersion=310] [phyTblIDs="[336]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:48:17.209 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=338] [version=310] [2025/04/04 12:48:17.211 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=310] ["take time"=8.731822ms] [job="ID:338, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:336, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:17.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:17.220 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=338] [conn=15] [job="ID:338, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:336, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:17.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:17.236 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=310] [neededSchemaVersion=311] ["elapsed time"=1.957837ms] [gotSchemaVersion=311] [phyTblIDs="[336]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:48:17.239 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=338] [version=311] [2025/04/04 12:48:17.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=311] ["take time"=9.488724ms] [job="ID:338, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:336, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:17.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:17.249 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=338] [conn=15] [job="ID:338, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:336, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:17.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:17.255 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 336, Old Table Name: _t1)"] [2025/04/04 12:48:17.268 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=311] [neededSchemaVersion=312] ["elapsed time"=1.027352ms] [gotSchemaVersion=312] [phyTblIDs="[336]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:48:17.272 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=338] [version=312] [2025/04/04 12:48:17.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=312] ["take time"=8.386491ms] [job="ID:338, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:336, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:17.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:17.283 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=338] [tableIDs="[336]"] [comment="drop table: table ID"] [2025/04/04 12:48:17.287 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=338] [jobType="drop table"] [2025/04/04 12:48:17.288 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=338] [conn=15] [job="ID:338, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:336, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:17.148 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:17.306 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=338] [2025/04/04 12:48:17.306 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=312] [cur_db=test] [sql="drop table if exists t1, _t1"] [user=] [2025/04/04 12:48:17.319 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:340, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:339, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:17.298 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:48:17.319 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:340, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:339, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:17.298 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t1 (a int, b int)"] [2025/04/04 12:48:17.325 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=340] [conn=15] [job="ID:340, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:339, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:17.298 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:17.329 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 339, Table Name: t1)"] [2025/04/04 12:48:17.345 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=312] [neededSchemaVersion=313] ["elapsed time"=1.559511ms] [gotSchemaVersion=313] [phyTblIDs="[339]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:48:17.348 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=340] [version=313] [2025/04/04 12:48:17.350 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=313] ["take time"=8.937406ms] [job="ID:340, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:339, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:17.298 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:17.361 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=340] [conn=15] [job="ID:340, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:339, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:17.298 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:17.374 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=340] [2025/04/04 12:48:17.374 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=313] [cur_db=test] [sql="create table t1 (a int, b int)"] [user=] [2025/04/04 12:48:17.380 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119078114131977] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=904.788µs] [2025/04/04 12:48:17.380 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=993.272µs] [total_duration=4.641459ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=10] [size=165B] [startTS=457119078114131977] [2025/04/04 12:48:17.381 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119078114131977] [commitTS=457119078114131984] [2025/04/04 12:48:17.381 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119078114131977] [startKey=7480000000000001535f728000000000000001] [endKey=7480000000000001535f728000000000000005] [concurrency=8] [2025/04/04 12:48:17.383 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119078114131977] [startKey=7480000000000001535f728000000000000001] [endKey=7480000000000001535f728000000000000005] ["cost time"=2.027456ms] ["completed regions"=1] [2025/04/04 12:48:17.384 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119078114131977] [commitTS=457119078114131984] [session=15] [2025/04/04 12:48:17.394 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:342, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:341, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:17.347 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:48:17.394 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:342, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:341, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:17.347 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t1 (a int, b int, unique index idx(b))"] [2025/04/04 12:48:17.400 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=342] [conn=15] [job="ID:342, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:341, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:17.347 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:17.404 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 341, Table Name: _t1)"] [2025/04/04 12:48:17.419 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=313] [neededSchemaVersion=314] ["elapsed time"=1.629645ms] [gotSchemaVersion=314] [phyTblIDs="[341]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:48:17.422 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=342] [version=314] [2025/04/04 12:48:17.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=314] ["take time"=8.778436ms] [job="ID:342, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:341, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:17.347 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:17.436 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=342] [conn=15] [job="ID:342, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:341, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:17.347 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:17.447 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=342] [2025/04/04 12:48:17.448 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=314] [cur_db=test] [sql="create table _t1 (a int, b int, unique index idx(b))"] [user=] [2025/04/04 12:48:17.473 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:344, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:341, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:17.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:48:17.473 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:344, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:341, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:17.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/04 12:48:17.478 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=344] [conn=15] [job="ID:344, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:341, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:17.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:17.486 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 343, Table Name: _t1, Old Table ID: 341, Old Table Name: _t1)"] [2025/04/04 12:48:17.500 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=314] [neededSchemaVersion=315] ["elapsed time"=1.559615ms] [gotSchemaVersion=315] [phyTblIDs="[341,343]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 12:48:17.504 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=344] [version=315] [2025/04/04 12:48:17.506 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=315] ["take time"=8.878301ms] [job="ID:344, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:341, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:17.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:17.517 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=344] [tableIDs="[341]"] [comment="truncate table: table ID"] [2025/04/04 12:48:17.521 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=344] [jobType="truncate table"] [2025/04/04 12:48:17.522 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=344] [conn=15] [job="ID:344, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:341, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:17.448 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:17.541 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=344] [2025/04/04 12:48:17.542 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=315] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/04 12:48:17.549 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119078153453584] [generation=1] [session=15] [keys=10] [size=345B] ["flushed keys"=10] ["flushed size"=345B] ["take time"=1.064146ms] [2025/04/04 12:48:17.549 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=10] [flush_wait_duration=1.153464ms] [total_duration=5.727059ms] ["memdb traversal cache hit"=20] ["memdb traversal cache miss"=20] [size=345B] [startTS=457119078153453584] [2025/04/04 12:48:17.550 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119078153453584] [commitTS=457119078166822913] [2025/04/04 12:48:17.550 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119078153453584] [startKey=7480000000000001575f698000000000000001038000000000000001] [endKey=7480000000000001575f728000000000000005] [concurrency=8] [2025/04/04 12:48:17.553 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119078153453584] [startKey=7480000000000001575f698000000000000001038000000000000001] [endKey=7480000000000001575f728000000000000005] ["cost time"=2.170658ms] ["completed regions"=1] [2025/04/04 12:48:17.553 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119078153453584] [commitTS=457119078166822913] [session=15] [2025/04/04 12:48:17.565 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:346, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:343, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:17.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:48:17.565 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:346, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:343, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:17.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/04 12:48:17.570 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=346] [conn=15] [job="ID:346, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:343, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:17.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:17.578 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 345, Table Name: _t1, Old Table ID: 343, Old Table Name: _t1)"] [2025/04/04 12:48:17.593 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=315] [neededSchemaVersion=316] ["elapsed time"=1.636313ms] [gotSchemaVersion=316] [phyTblIDs="[343,345]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 12:48:17.597 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=346] [version=316] [2025/04/04 12:48:17.598 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=316] ["take time"=8.992736ms] [job="ID:346, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:343, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:17.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:17.609 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=346] [tableIDs="[343]"] [comment="truncate table: table ID"] [2025/04/04 12:48:17.613 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=346] [jobType="truncate table"] [2025/04/04 12:48:17.614 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=346] [conn=15] [job="ID:346, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:343, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:17.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:17.633 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=346] [2025/04/04 12:48:17.633 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=316] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/04 12:48:17.641 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119078179667986] [generation=1] [session=15] [keys=10] [size=345B] ["flushed keys"=10] ["flushed size"=345B] ["take time"=1.028045ms] [2025/04/04 12:48:17.642 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=10] [flush_wait_duration=1.142341ms] [total_duration=6.844828ms] ["memdb traversal cache hit"=20] ["memdb traversal cache miss"=20] [size=345B] [startTS=457119078179667986] [2025/04/04 12:48:17.643 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119078179667986] [commitTS=457119078179667989] [2025/04/04 12:48:17.643 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119078179667986] [startKey=7480000000000001595f698000000000000001038000000000000001] [endKey=7480000000000001595f728000000000000005] [concurrency=8] [2025/04/04 12:48:17.645 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119078179667986] [startKey=7480000000000001595f698000000000000001038000000000000001] [endKey=7480000000000001595f728000000000000005] ["cost time"=2.097391ms] ["completed regions"=1] [2025/04/04 12:48:17.645 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119078179667986] [commitTS=457119078179667989] [session=15] [2025/04/04 12:48:17.663 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119078193037314] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=836.294µs] [2025/04/04 12:48:17.663 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=954.041µs] [total_duration=5.097621ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=25] [size=165B] [startTS=457119078193037314] [2025/04/04 12:48:17.664 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119078193037314] [commitTS=457119078193037315] [2025/04/04 12:48:17.664 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119078193037314] [startKey=7480000000000001595f728000000000000001] [endKey=7480000000000001595f728000000000000005] [concurrency=8] [2025/04/04 12:48:17.667 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119078193037314] [startKey=7480000000000001595f728000000000000001] [endKey=7480000000000001595f728000000000000005] ["cost time"=2.095535ms] ["completed regions"=1] [2025/04/04 12:48:17.667 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119078193037314] [commitTS=457119078193037315] [session=15] [2025/04/04 12:48:17.675 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119078193037316] [generation=1] [session=15] [keys=15] [size=440B] ["flushed keys"=15] ["flushed size"=440B] ["take time"=1.027172ms] [2025/04/04 12:48:17.675 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=15] [flush_wait_duration=1.105076ms] [total_duration=5.470099ms] ["memdb traversal cache hit"=40] ["memdb traversal cache miss"=50] [size=440B] [startTS=457119078193037316] [2025/04/04 12:48:17.676 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119078193037316] [commitTS=457119078193037317] [2025/04/04 12:48:17.677 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119078193037316] [startKey=7480000000000001595f698000000000000001038000000000000001] [endKey=7480000000000001595f72800000000000000a] [concurrency=8] [2025/04/04 12:48:17.679 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119078193037316] [startKey=7480000000000001595f698000000000000001038000000000000001] [endKey=7480000000000001595f72800000000000000a] ["cost time"=2.081322ms] ["completed regions"=1] [2025/04/04 12:48:17.679 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119078193037316] [commitTS=457119078193037317] [session=15] [2025/04/04 12:48:17.691 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:347, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:339, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:17.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:48:17.691 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:347, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:339, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:17.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t1, _t1"] [2025/04/04 12:48:17.696 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=347] [conn=15] [job="ID:347, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:339, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:17.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:17.711 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=316] [neededSchemaVersion=317] ["elapsed time"=1.772679ms] [gotSchemaVersion=317] [phyTblIDs="[339]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:48:17.715 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=347] [version=317] [2025/04/04 12:48:17.717 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=317] ["take time"=8.765405ms] [job="ID:347, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:339, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:17.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:17.726 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=347] [conn=15] [job="ID:347, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:339, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:17.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:17.741 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=317] [neededSchemaVersion=318] ["elapsed time"=2.005209ms] [gotSchemaVersion=318] [phyTblIDs="[339]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:48:17.745 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=347] [version=318] [2025/04/04 12:48:17.746 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=318] ["take time"=8.855378ms] [job="ID:347, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:339, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:17.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:17.754 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=347] [conn=15] [job="ID:347, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:339, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:17.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:17.760 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 339, Old Table Name: t1)"] [2025/04/04 12:48:17.773 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=318] [neededSchemaVersion=319] ["elapsed time"=1.050775ms] [gotSchemaVersion=319] [phyTblIDs="[339]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:48:17.777 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=347] [version=319] [2025/04/04 12:48:17.778 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=319] ["take time"=7.751746ms] [job="ID:347, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:339, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:17.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:17.787 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=347] [tableIDs="[339]"] [comment="drop table: table ID"] [2025/04/04 12:48:17.791 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=347] [jobType="drop table"] [2025/04/04 12:48:17.792 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=347] [conn=15] [job="ID:347, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:339, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:17.648 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:17.809 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=347] [2025/04/04 12:48:17.820 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:348, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:345, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:17.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:48:17.820 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:348, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:345, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:17.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t1, _t1"] [2025/04/04 12:48:17.825 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=348] [conn=15] [job="ID:348, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:345, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:17.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:17.842 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=319] [neededSchemaVersion=320] ["elapsed time"=2.10569ms] [gotSchemaVersion=320] [phyTblIDs="[345]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:48:17.846 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=348] [version=320] [2025/04/04 12:48:17.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=320] ["take time"=9.119544ms] [job="ID:348, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:345, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:17.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:17.857 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=348] [conn=15] [job="ID:348, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:345, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:17.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:17.872 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=320] [neededSchemaVersion=321] ["elapsed time"=2.082283ms] [gotSchemaVersion=321] [phyTblIDs="[345]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:48:17.876 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=348] [version=321] [2025/04/04 12:48:17.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=321] ["take time"=9.089395ms] [job="ID:348, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:345, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:17.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:17.886 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=348] [conn=15] [job="ID:348, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:345, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:17.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:17.892 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 345, Old Table Name: _t1)"] [2025/04/04 12:48:17.905 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=321] [neededSchemaVersion=322] ["elapsed time"=1.057201ms] [gotSchemaVersion=322] [phyTblIDs="[345]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:48:17.909 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=348] [version=322] [2025/04/04 12:48:17.910 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=322] ["take time"=8.035008ms] [job="ID:348, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:345, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:17.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:17.920 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=348] [tableIDs="[345]"] [comment="drop table: table ID"] [2025/04/04 12:48:17.925 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=348] [jobType="drop table"] [2025/04/04 12:48:17.926 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=348] [conn=15] [job="ID:348, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:345, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:17.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:17.945 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=348] [2025/04/04 12:48:17.946 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=322] [cur_db=test] [sql="drop table if exists t1, _t1"] [user=] [2025/04/04 12:48:17.959 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:350, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:349, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:17.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:48:17.959 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:350, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:349, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:17.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t1 (a int, b int, unique index idx(b))"] [2025/04/04 12:48:17.965 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=350] [conn=15] [job="ID:350, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:349, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:17.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:17.969 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 349, Table Name: _t1)"] [2025/04/04 12:48:17.985 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=322] [neededSchemaVersion=323] ["elapsed time"=1.635268ms] [gotSchemaVersion=323] [phyTblIDs="[349]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:48:17.990 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=350] [version=323] [2025/04/04 12:48:17.992 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=323] ["take time"=10.496394ms] [job="ID:350, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:349, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:17.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:18.004 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=350] [conn=15] [job="ID:350, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:349, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:17.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:18.016 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=350] [2025/04/04 12:48:18.016 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=323] [cur_db=test] [sql="create table _t1 (a int, b int, unique index idx(b))"] [user=] [2025/04/04 12:48:18.037 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:352, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:349, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:17.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/04 12:48:18.037 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:352, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:349, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:17.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:48:18.043 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=352] [conn=15] [job="ID:352, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:349, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:17.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:18.050 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 351, Table Name: _t1, Old Table ID: 349, Old Table Name: _t1)"] [2025/04/04 12:48:18.065 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=323] [neededSchemaVersion=324] ["elapsed time"=1.571328ms] [gotSchemaVersion=324] [phyTblIDs="[349,351]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 12:48:18.069 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=352] [version=324] [2025/04/04 12:48:18.070 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=324] ["take time"=8.985662ms] [job="ID:352, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:349, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:17.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:18.081 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=352] [tableIDs="[349]"] [comment="truncate table: table ID"] [2025/04/04 12:48:18.085 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=352] [jobType="truncate table"] [2025/04/04 12:48:18.086 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=352] [conn=15] [job="ID:352, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:349, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:17.997 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:18.104 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=352] [2025/04/04 12:48:18.104 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=324] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/04 12:48:18.110 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119078311002115] [generation=1] [session=15] [keys=10] [size=345B] ["flushed keys"=10] ["flushed size"=345B] ["take time"=999.917µs] [2025/04/04 12:48:18.110 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=10] [flush_wait_duration=1.094308ms] [total_duration=4.808125ms] ["memdb traversal cache hit"=20] ["memdb traversal cache miss"=20] [size=345B] [startTS=457119078311002115] [2025/04/04 12:48:18.112 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119078311002115] [commitTS=457119078311002118] [2025/04/04 12:48:18.112 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119078311002115] [startKey=74800000000000015f5f698000000000000001038000000000000001] [endKey=74800000000000015f5f728000000000000005] [concurrency=8] [2025/04/04 12:48:18.114 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119078311002115] [startKey=74800000000000015f5f698000000000000001038000000000000001] [endKey=74800000000000015f5f728000000000000005] ["cost time"=2.198775ms] ["completed regions"=1] [2025/04/04 12:48:18.114 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119078311002115] [commitTS=457119078311002118] [session=15] [2025/04/04 12:48:18.124 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:354, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:351, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:18.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:48:18.124 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:354, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:351, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:18.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/04 12:48:18.130 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=354] [conn=15] [job="ID:354, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:351, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:18.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:18.137 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 353, Table Name: _t1, Old Table ID: 351, Old Table Name: _t1)"] [2025/04/04 12:48:18.152 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=324] [neededSchemaVersion=325] ["elapsed time"=1.585832ms] [gotSchemaVersion=325] [phyTblIDs="[351,353]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 12:48:18.155 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=354] [version=325] [2025/04/04 12:48:18.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=325] ["take time"=8.493253ms] [job="ID:354, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:351, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:18.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:18.167 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=354] [tableIDs="[351]"] [comment="truncate table: table ID"] [2025/04/04 12:48:18.171 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=354] [jobType="truncate table"] [2025/04/04 12:48:18.172 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=354] [conn=15] [job="ID:354, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:351, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:18.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:18.189 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=354] [2025/04/04 12:48:18.190 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=325] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/04 12:48:18.196 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119078324109330] [generation=1] [session=15] [keys=10] [size=345B] ["flushed keys"=10] ["flushed size"=345B] ["take time"=1.079194ms] [2025/04/04 12:48:18.196 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=10] [flush_wait_duration=1.168425ms] [total_duration=5.633035ms] ["memdb traversal cache hit"=20] ["memdb traversal cache miss"=20] [size=345B] [startTS=457119078324109330] [2025/04/04 12:48:18.198 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119078324109330] [commitTS=457119078324109333] [2025/04/04 12:48:18.198 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119078324109330] [startKey=7480000000000001615f698000000000000001038000000000000001] [endKey=7480000000000001615f728000000000000005] [concurrency=8] [2025/04/04 12:48:18.200 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119078324109330] [startKey=7480000000000001615f698000000000000001038000000000000001] [endKey=7480000000000001615f728000000000000005] ["cost time"=2.019306ms] ["completed regions"=1] [2025/04/04 12:48:18.200 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119078324109330] [commitTS=457119078324109333] [session=15] [2025/04/04 12:48:18.210 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119078337216514] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=885.437µs] [2025/04/04 12:48:18.210 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=980.194µs] [total_duration=3.980814ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=25] [size=165B] [startTS=457119078337216514] [2025/04/04 12:48:18.211 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119078337216514] [commitTS=457119078337216515] [2025/04/04 12:48:18.211 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119078337216514] [startKey=7480000000000001615f728000000000000001] [endKey=7480000000000001615f728000000000000005] [concurrency=8] [2025/04/04 12:48:18.213 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119078337216514] [startKey=7480000000000001615f728000000000000001] [endKey=7480000000000001615f728000000000000005] ["cost time"=1.965853ms] ["completed regions"=1] [2025/04/04 12:48:18.213 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119078337216514] [commitTS=457119078337216515] [session=15] [2025/04/04 12:48:18.219 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119078337216516] [generation=1] [session=15] [keys=15] [size=440B] ["flushed keys"=15] ["flushed size"=440B] ["take time"=1.162467ms] [2025/04/04 12:48:18.219 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=15] [flush_wait_duration=1.257399ms] [total_duration=4.676512ms] ["memdb traversal cache hit"=40] ["memdb traversal cache miss"=50] [size=440B] [startTS=457119078337216516] [2025/04/04 12:48:18.220 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119078337216516] [commitTS=457119078337216518] [2025/04/04 12:48:18.220 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119078337216516] [startKey=7480000000000001615f698000000000000001038000000000000001] [endKey=7480000000000001615f72800000000000000a] [concurrency=8] [2025/04/04 12:48:18.222 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119078337216516] [startKey=7480000000000001615f698000000000000001038000000000000001] [endKey=7480000000000001615f72800000000000000a] ["cost time"=2.117636ms] ["completed regions"=1] [2025/04/04 12:48:18.222 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119078337216516] [commitTS=457119078337216518] [session=15] [2025/04/04 12:48:18.234 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:355, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:353, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:18.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:48:18.234 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:355, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:353, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:18.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t1, _t1"] [2025/04/04 12:48:18.239 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=355] [conn=15] [job="ID:355, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:353, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:18.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:18.254 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=325] [neededSchemaVersion=326] ["elapsed time"=1.952148ms] [gotSchemaVersion=326] [phyTblIDs="[353]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:48:18.258 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=355] [version=326] [2025/04/04 12:48:18.259 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=326] ["take time"=8.760022ms] [job="ID:355, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:353, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:18.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:18.269 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=355] [conn=15] [job="ID:355, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:353, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:18.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:18.284 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=326] [neededSchemaVersion=327] ["elapsed time"=1.984291ms] [gotSchemaVersion=327] [phyTblIDs="[353]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:48:18.288 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=355] [version=327] [2025/04/04 12:48:18.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=327] ["take time"=9.063347ms] [job="ID:355, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:353, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:18.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:18.297 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=355] [conn=15] [job="ID:355, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:353, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:18.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:18.303 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 353, Old Table Name: _t1)"] [2025/04/04 12:48:18.316 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=327] [neededSchemaVersion=328] ["elapsed time"=1.053972ms] [gotSchemaVersion=328] [phyTblIDs="[353]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:48:18.320 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=355] [version=328] [2025/04/04 12:48:18.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=328] ["take time"=8.136155ms] [job="ID:355, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:353, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:18.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:18.330 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=355] [tableIDs="[353]"] [comment="drop table: table ID"] [2025/04/04 12:48:18.334 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=355] [jobType="drop table"] [2025/04/04 12:48:18.335 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=355] [conn=15] [job="ID:355, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:353, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:18.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:18.352 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=355] [2025/04/04 12:48:18.352 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=328] [cur_db=test] [sql="drop table if exists t1, _t1"] [user=] [2025/04/04 12:48:18.365 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:357, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:356, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:18.347 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:48:18.365 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:357, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:356, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:18.347 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t1 (a int, b int)"] [2025/04/04 12:48:18.370 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=357] [conn=15] [job="ID:357, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:356, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:18.347 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:18.375 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 356, Table Name: t1)"] [2025/04/04 12:48:18.388 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=328] [neededSchemaVersion=329] ["elapsed time"=1.351724ms] [gotSchemaVersion=329] [phyTblIDs="[356]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:48:18.391 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=357] [version=329] [2025/04/04 12:48:18.393 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=329] ["take time"=7.832028ms] [job="ID:357, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:356, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:18.347 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:18.403 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=357] [conn=15] [job="ID:357, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:356, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:18.347 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:18.413 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=357] [2025/04/04 12:48:18.413 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=329] [cur_db=test] [sql="create table t1 (a int, b int)"] [user=] [2025/04/04 12:48:18.418 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119078389383174] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=846.332µs] [2025/04/04 12:48:18.418 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=942.225µs] [total_duration=4.297725ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=10] [size=165B] [startTS=457119078389383174] [2025/04/04 12:48:18.419 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119078389383174] [commitTS=457119078389383178] [2025/04/04 12:48:18.420 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119078389383174] [startKey=7480000000000001645f728000000000000001] [endKey=7480000000000001645f728000000000000005] [concurrency=8] [2025/04/04 12:48:18.422 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119078389383174] [startKey=7480000000000001645f728000000000000001] [endKey=7480000000000001645f728000000000000005] ["cost time"=2.028216ms] ["completed regions"=1] [2025/04/04 12:48:18.422 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119078389383174] [commitTS=457119078389383178] [session=15] [2025/04/04 12:48:18.432 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:359, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:358, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:18.397 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:48:18.432 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:359, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:358, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:18.397 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t1 (a int primary key, b int, unique index idx(b))"] [2025/04/04 12:48:18.438 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=359] [conn=15] [job="ID:359, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:358, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:18.397 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:18.442 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 358, Table Name: _t1)"] [2025/04/04 12:48:18.457 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=329] [neededSchemaVersion=330] ["elapsed time"=1.613841ms] [gotSchemaVersion=330] [phyTblIDs="[358]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:48:18.460 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=359] [version=330] [2025/04/04 12:48:18.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=330] ["take time"=8.109351ms] [job="ID:359, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:358, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:18.397 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:18.473 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=359] [conn=15] [job="ID:359, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:358, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:18.397 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:18.484 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=359] [2025/04/04 12:48:18.484 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=330] [cur_db=test] [sql="create table _t1 (a int primary key, b int, unique index idx(b))"] [user=] [2025/04/04 12:48:18.504 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:361, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:358, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:18.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:48:18.504 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:361, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:358, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:18.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/04 12:48:18.509 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=361] [conn=15] [job="ID:361, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:358, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:18.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:18.516 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 360, Table Name: _t1, Old Table ID: 358, Old Table Name: _t1)"] [2025/04/04 12:48:18.535 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=330] [neededSchemaVersion=331] ["elapsed time"=1.894219ms] [gotSchemaVersion=331] [phyTblIDs="[358,360]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 12:48:18.539 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=361] [version=331] [2025/04/04 12:48:18.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=331] ["take time"=14.530916ms] [job="ID:361, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:358, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:18.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:18.553 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=361] [tableIDs="[358]"] [comment="truncate table: table ID"] [2025/04/04 12:48:18.557 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=361] [jobType="truncate table"] [2025/04/04 12:48:18.558 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=361] [conn=15] [job="ID:361, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:358, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:18.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:18.576 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=361] [2025/04/04 12:48:18.577 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=331] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/04 12:48:18.582 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119078428704779] [generation=1] [session=15] [keys=10] [size=325B] ["flushed keys"=10] ["flushed size"=325B] ["take time"=1.141737ms] [2025/04/04 12:48:18.582 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=10] [flush_wait_duration=1.281883ms] [total_duration=3.300543ms] ["memdb traversal cache hit"=20] ["memdb traversal cache miss"=20] [size=325B] [startTS=457119078428704779] [2025/04/04 12:48:18.583 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119078428704779] [commitTS=457119078428704781] [2025/04/04 12:48:18.583 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119078428704779] [startKey=7480000000000001685f698000000000000001038000000000000001] [endKey=7480000000000001685f728000000000000005] [concurrency=8] [2025/04/04 12:48:18.586 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119078428704779] [startKey=7480000000000001685f698000000000000001038000000000000001] [endKey=7480000000000001685f728000000000000005] ["cost time"=2.406595ms] ["completed regions"=1] [2025/04/04 12:48:18.586 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119078428704779] [commitTS=457119078428704781] [session=15] [2025/04/04 12:48:18.596 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:363, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:360, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:18.547 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/04 12:48:18.596 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:363, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:360, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:18.547 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:48:18.601 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=363] [conn=15] [job="ID:363, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:360, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:18.547 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:18.608 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 362, Table Name: _t1, Old Table ID: 360, Old Table Name: _t1)"] [2025/04/04 12:48:18.623 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=331] [neededSchemaVersion=332] ["elapsed time"=1.503312ms] [gotSchemaVersion=332] [phyTblIDs="[360,362]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 12:48:18.627 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=363] [version=332] [2025/04/04 12:48:18.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=332] ["take time"=8.64889ms] [job="ID:363, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:360, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:18.547 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:18.639 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=363] [tableIDs="[360]"] [comment="truncate table: table ID"] [2025/04/04 12:48:18.643 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=363] [jobType="truncate table"] [2025/04/04 12:48:18.643 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=363] [conn=15] [job="ID:363, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:360, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:18.547 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:18.660 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=363] [2025/04/04 12:48:18.661 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=332] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/04 12:48:18.666 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119078455181319] [generation=1] [session=15] [keys=10] [size=325B] ["flushed keys"=10] ["flushed size"=325B] ["take time"=929.086µs] [2025/04/04 12:48:18.666 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=10] [flush_wait_duration=1.02996ms] [total_duration=3.938777ms] ["memdb traversal cache hit"=20] ["memdb traversal cache miss"=30] [size=325B] [startTS=457119078455181319] [2025/04/04 12:48:18.667 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119078455181319] [commitTS=457119078455181320] [2025/04/04 12:48:18.667 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119078455181319] [startKey=74800000000000016a5f698000000000000001038000000000000001] [endKey=74800000000000016a5f728000000000000005] [concurrency=8] [2025/04/04 12:48:18.670 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119078455181319] [startKey=74800000000000016a5f698000000000000001038000000000000001] [endKey=74800000000000016a5f728000000000000005] ["cost time"=2.093983ms] ["completed regions"=1] [2025/04/04 12:48:18.670 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119078455181319] [commitTS=457119078455181320] [session=15] [2025/04/04 12:48:18.687 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119078455181323] [generation=1] [session=15] [keys=15] [size=420B] ["flushed keys"=15] ["flushed size"=420B] ["take time"=1.206537ms] [2025/04/04 12:48:18.687 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=15] [flush_wait_duration=1.313564ms] [total_duration=5.401676ms] ["memdb traversal cache hit"=35] ["memdb traversal cache miss"=50] [size=420B] [startTS=457119078455181323] [2025/04/04 12:48:18.688 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119078455181323] [commitTS=457119078455181324] [2025/04/04 12:48:18.688 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119078455181323] [startKey=74800000000000016a5f698000000000000001038000000000000001] [endKey=74800000000000016a5f72800000000000000a] [concurrency=8] [2025/04/04 12:48:18.691 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119078455181323] [startKey=74800000000000016a5f698000000000000001038000000000000001] [endKey=74800000000000016a5f72800000000000000a] ["cost time"=2.308122ms] ["completed regions"=1] [2025/04/04 12:48:18.691 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119078455181323] [commitTS=457119078455181324] [session=15] [2025/04/04 12:48:18.700 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119078455181325] [generation=1] [session=15] [keys=15] [size=420B] ["flushed keys"=15] ["flushed size"=420B] ["take time"=1.139943ms] [2025/04/04 12:48:18.700 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=15] [flush_wait_duration=1.236058ms] [total_duration=5.793013ms] ["memdb traversal cache hit"=40] ["memdb traversal cache miss"=60] [size=420B] [startTS=457119078455181325] [2025/04/04 12:48:18.701 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119078455181325] [commitTS=457119078468288513] [2025/04/04 12:48:18.701 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119078455181325] [startKey=74800000000000016a5f698000000000000001038000000000000001] [endKey=74800000000000016a5f72800000000000000a] [concurrency=8] [2025/04/04 12:48:18.703 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119078455181325] [startKey=74800000000000016a5f698000000000000001038000000000000001] [endKey=74800000000000016a5f72800000000000000a] ["cost time"=2.041044ms] ["completed regions"=1] [2025/04/04 12:48:18.703 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119078455181325] [commitTS=457119078468288513] [session=15] [2025/04/04 12:48:18.716 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:364, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:356, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:18.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:48:18.716 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:364, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:356, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:18.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t1, _t1"] [2025/04/04 12:48:18.722 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=364] [conn=15] [job="ID:364, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:356, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:18.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:18.738 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=332] [neededSchemaVersion=333] ["elapsed time"=1.863937ms] [gotSchemaVersion=333] [phyTblIDs="[356]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:48:18.741 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=364] [version=333] [2025/04/04 12:48:18.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=333] ["take time"=8.858674ms] [job="ID:364, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:356, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:18.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:18.753 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=364] [conn=15] [job="ID:364, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:356, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:18.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:18.768 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=333] [neededSchemaVersion=334] ["elapsed time"=1.80615ms] [gotSchemaVersion=334] [phyTblIDs="[356]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:48:18.771 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=364] [version=334] [2025/04/04 12:48:18.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=334] ["take time"=8.970637ms] [job="ID:364, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:356, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:18.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:18.781 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=364] [conn=15] [job="ID:364, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:356, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:18.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:18.787 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 356, Old Table Name: t1)"] [2025/04/04 12:48:18.800 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=334] [neededSchemaVersion=335] ["elapsed time"=1.031275ms] [gotSchemaVersion=335] [phyTblIDs="[356]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:48:18.804 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=364] [version=335] [2025/04/04 12:48:18.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=335] ["take time"=8.433404ms] [job="ID:364, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:356, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:18.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:18.814 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=364] [tableIDs="[356]"] [comment="drop table: table ID"] [2025/04/04 12:48:18.819 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=364] [jobType="drop table"] [2025/04/04 12:48:18.820 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=364] [conn=15] [job="ID:364, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:356, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:18.698 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:18.838 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=364] [2025/04/04 12:48:18.848 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:365, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:362, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:18.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:48:18.848 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:365, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:362, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:18.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t1, _t1"] [2025/04/04 12:48:18.854 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=365] [conn=15] [job="ID:365, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:362, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:18.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:18.869 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=335] [neededSchemaVersion=336] ["elapsed time"=2.076522ms] [gotSchemaVersion=336] [phyTblIDs="[362]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:48:18.872 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=365] [version=336] [2025/04/04 12:48:18.874 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=336] ["take time"=9.331493ms] [job="ID:365, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:362, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:18.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:18.885 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=365] [conn=15] [job="ID:365, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:362, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:18.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:18.900 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=336] [neededSchemaVersion=337] ["elapsed time"=1.969675ms] [gotSchemaVersion=337] [phyTblIDs="[362]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:48:18.903 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=365] [version=337] [2025/04/04 12:48:18.905 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=337] ["take time"=8.949071ms] [job="ID:365, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:362, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:18.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:18.913 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=365] [conn=15] [job="ID:365, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:362, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:18.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:18.920 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 362, Old Table Name: _t1)"] [2025/04/04 12:48:18.935 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=337] [neededSchemaVersion=338] ["elapsed time"=1.048905ms] [gotSchemaVersion=338] [phyTblIDs="[362]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:48:18.939 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=365] [version=338] [2025/04/04 12:48:18.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=338] ["take time"=8.384647ms] [job="ID:365, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:362, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:18.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:18.950 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=365] [tableIDs="[362]"] [comment="drop table: table ID"] [2025/04/04 12:48:18.954 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=365] [jobType="drop table"] [2025/04/04 12:48:18.955 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=365] [conn=15] [job="ID:365, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:362, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:18.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:18.972 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=365] [2025/04/04 12:48:18.972 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=338] [cur_db=test] [sql="drop table if exists t1, _t1"] [user=] [2025/04/04 12:48:18.987 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:367, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:366, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:18.947 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:48:18.987 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:367, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:366, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:18.947 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t1 (a int primary key, b int, unique index idx(b))"] [2025/04/04 12:48:18.992 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=367] [conn=15] [job="ID:367, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:366, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:18.947 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:18.997 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 366, Table Name: _t1)"] [2025/04/04 12:48:19.012 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=338] [neededSchemaVersion=339] ["elapsed time"=1.685664ms] [gotSchemaVersion=339] [phyTblIDs="[366]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:48:19.016 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=367] [version=339] [2025/04/04 12:48:19.017 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=339] ["take time"=9.144232ms] [job="ID:367, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:366, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:18.947 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:19.029 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=367] [conn=15] [job="ID:367, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:366, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:18.947 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:19.040 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=367] [2025/04/04 12:48:19.041 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=339] [cur_db=test] [sql="create table _t1 (a int primary key, b int, unique index idx(b))"] [user=] [2025/04/04 12:48:19.058 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:369, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:366, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:19.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/04 12:48:19.058 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:369, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:366, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:19.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:48:19.064 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=369] [conn=15] [job="ID:369, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:366, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:19.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:19.071 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 368, Table Name: _t1, Old Table ID: 366, Old Table Name: _t1)"] [2025/04/04 12:48:19.086 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=339] [neededSchemaVersion=340] ["elapsed time"=1.649725ms] [gotSchemaVersion=340] [phyTblIDs="[366,368]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 12:48:19.090 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=369] [version=340] [2025/04/04 12:48:19.092 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=340] ["take time"=9.004776ms] [job="ID:369, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:366, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:19.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:19.103 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=369] [tableIDs="[366]"] [comment="truncate table: table ID"] [2025/04/04 12:48:19.107 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=369] [jobType="truncate table"] [2025/04/04 12:48:19.107 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=369] [conn=15] [job="ID:369, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:366, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:19.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:19.125 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=369] [2025/04/04 12:48:19.125 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=340] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/04 12:48:19.128 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119078573146126] [generation=1] [session=15] [keys=10] [size=325B] ["flushed keys"=10] ["flushed size"=325B] ["take time"=1.043516ms] [2025/04/04 12:48:19.128 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=10] [flush_wait_duration=1.141465ms] [total_duration=1.972478ms] ["memdb traversal cache hit"=20] ["memdb traversal cache miss"=20] [size=325B] [startTS=457119078573146126] [2025/04/04 12:48:19.129 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119078573146126] [commitTS=457119078573146128] [2025/04/04 12:48:19.130 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119078573146126] [startKey=7480000000000001705f698000000000000001038000000000000001] [endKey=7480000000000001705f728000000000000005] [concurrency=8] [2025/04/04 12:48:19.132 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119078573146126] [startKey=7480000000000001705f698000000000000001038000000000000001] [endKey=7480000000000001705f728000000000000005] ["cost time"=2.139181ms] ["completed regions"=1] [2025/04/04 12:48:19.132 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119078573146126] [commitTS=457119078573146128] [session=15] [2025/04/04 12:48:19.142 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:371, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:368, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:19.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:48:19.142 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:371, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:368, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:19.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/04 12:48:19.148 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=371] [conn=15] [job="ID:371, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:368, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:19.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:19.155 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 370, Table Name: _t1, Old Table ID: 368, Old Table Name: _t1)"] [2025/04/04 12:48:19.170 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=340] [neededSchemaVersion=341] ["elapsed time"=1.674022ms] [gotSchemaVersion=341] [phyTblIDs="[368,370]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 12:48:19.174 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=371] [version=341] [2025/04/04 12:48:19.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=341] ["take time"=8.695937ms] [job="ID:371, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:368, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:19.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:19.187 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=371] [tableIDs="[368]"] [comment="truncate table: table ID"] [2025/04/04 12:48:19.190 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=371] [jobType="truncate table"] [2025/04/04 12:48:19.191 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=371] [conn=15] [job="ID:371, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:368, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:19.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:19.209 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=371] [2025/04/04 12:48:19.209 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=341] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/04 12:48:19.213 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119078599360517] [generation=1] [session=15] [keys=10] [size=325B] ["flushed keys"=10] ["flushed size"=325B] ["take time"=1.209783ms] [2025/04/04 12:48:19.213 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=10] [flush_wait_duration=1.296631ms] [total_duration=3.229487ms] ["memdb traversal cache hit"=20] ["memdb traversal cache miss"=30] [size=325B] [startTS=457119078599360517] [2025/04/04 12:48:19.215 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119078599360517] [commitTS=457119078599360518] [2025/04/04 12:48:19.215 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119078599360517] [startKey=7480000000000001725f698000000000000001038000000000000001] [endKey=7480000000000001725f728000000000000005] [concurrency=8] [2025/04/04 12:48:19.217 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119078599360517] [startKey=7480000000000001725f698000000000000001038000000000000001] [endKey=7480000000000001725f728000000000000005] ["cost time"=2.11658ms] ["completed regions"=1] [2025/04/04 12:48:19.217 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119078599360517] [commitTS=457119078599360518] [session=15] [2025/04/04 12:48:19.227 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119078599360520] [generation=1] [session=15] [keys=15] [size=420B] ["flushed keys"=15] ["flushed size"=420B] ["take time"=1.123856ms] [2025/04/04 12:48:19.227 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=15] [flush_wait_duration=1.228616ms] [total_duration=4.44959ms] ["memdb traversal cache hit"=35] ["memdb traversal cache miss"=50] [size=420B] [startTS=457119078599360520] [2025/04/04 12:48:19.228 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119078599360520] [commitTS=457119078599360521] [2025/04/04 12:48:19.228 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119078599360520] [startKey=7480000000000001725f698000000000000001038000000000000001] [endKey=7480000000000001725f72800000000000000a] [concurrency=8] [2025/04/04 12:48:19.231 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119078599360520] [startKey=7480000000000001725f698000000000000001038000000000000001] [endKey=7480000000000001725f72800000000000000a] ["cost time"=2.211543ms] ["completed regions"=1] [2025/04/04 12:48:19.231 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119078599360520] [commitTS=457119078599360521] [session=15] [2025/04/04 12:48:19.236 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119078599360523] [generation=1] [session=15] [keys=15] [size=420B] ["flushed keys"=15] ["flushed size"=420B] ["take time"=1.071482ms] [2025/04/04 12:48:19.236 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=15] [flush_wait_duration=1.170603ms] [total_duration=4.692758ms] ["memdb traversal cache hit"=40] ["memdb traversal cache miss"=60] [size=420B] [startTS=457119078599360523] [2025/04/04 12:48:19.237 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119078599360523] [commitTS=457119078599360524] [2025/04/04 12:48:19.237 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119078599360523] [startKey=7480000000000001725f698000000000000001038000000000000001] [endKey=7480000000000001725f72800000000000000a] [concurrency=8] [2025/04/04 12:48:19.239 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 12:48:19.239 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=c8b7682e-b37f-414e-8ea8-0217989d86fb] [] [2025/04/04 12:48:19.239 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 12:48:19.239 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=c8b7682e-b37f-414e-8ea8-0217989d86fb] [2025/04/04 12:48:19.239 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:48:19.239 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:48:19.239 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 23, tp general"] ["take time"=57.647µs] [2025/04/04 12:48:19.239 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 24, tp general"] ["take time"=48.729µs] [2025/04/04 12:48:19.239 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 25, tp general"] ["take time"=47.768µs] [2025/04/04 12:48:19.240 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 26, tp general"] ["take time"=34.038µs] [2025/04/04 12:48:19.240 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 27, tp general"] ["take time"=25.18µs] [2025/04/04 12:48:19.240 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119078599360523] [startKey=7480000000000001725f698000000000000001038000000000000001] [endKey=7480000000000001725f72800000000000000a] ["cost time"=2.087481ms] ["completed regions"=1] [2025/04/04 12:48:19.240 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 28, tp general"] ["take time"=31.977µs] [2025/04/04 12:48:19.240 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119078599360523] [commitTS=457119078599360524] [session=15] [2025/04/04 12:48:19.240 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 29, tp general"] ["take time"=30.903µs] [2025/04/04 12:48:19.240 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 30, tp general"] ["take time"=26.914µs] [2025/04/04 12:48:19.240 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 31, tp general"] ["take time"=33.237µs] [2025/04/04 12:48:19.240 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 22, tp general"] ["take time"=31.446µs] [2025/04/04 12:48:19.240 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=c8b7682e-b37f-414e-8ea8-0217989d86fb] [2025/04/04 12:48:19.240 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=c8b7682e-b37f-414e-8ea8-0217989d86fb] [2025/04/04 12:48:19.241 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 12:48:19.241 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 12:48:19.258 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=c8b7682e-b37f-414e-8ea8-0217989d86fb] ["take time"=19.636048ms] [2025/04/04 12:48:19.259 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=c8b7682e-b37f-414e-8ea8-0217989d86fb] [2025/04/04 12:48:19.259 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 12:48:19.259 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/1ef14a12-e2cb-4caf-abf7-deb76212756e] [watcherID=a58a101c-be5f-42b1-bd88-91eb901c5dde] [2025/04/04 12:48:19.259 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/04 12:48:19.259 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/1ef14a12-e2cb-4caf-abf7-deb76212756e] [2025/04/04 12:48:19.259 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=c8b7682e-b37f-414e-8ea8-0217989d86fb] [ttl-worker=task-manager] [ttl-worker=c8b7682e-b37f-414e-8ea8-0217989d86fb] [originalCount=4] [newCount=0] [2025/04/04 12:48:19.259 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:48:19.259 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:48:19.259 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:48:19.259 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:48:19.259 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=c8b7682e-b37f-414e-8ea8-0217989d86fb] [ttl-worker=task-manager] [ttl-worker=c8b7682e-b37f-414e-8ea8-0217989d86fb] [originalCount=4] [newCount=0] [2025/04/04 12:48:19.262 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:48:19.263 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:48:19.263 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:48:19.263 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:48:19.265 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=c8b7682e-b37f-414e-8ea8-0217989d86fb] [2025/04/04 12:48:19.265 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 12:48:19.266 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1137] [2025/04/04 12:48:19.266 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 12:48:19.266 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=c8b7682e-b37f-414e-8ea8-0217989d86fb] [2025/04/04 12:48:19.266 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 12:48:19.266 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:48:19.266 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 12:48:19.266 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 12:48:19.266 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:48:19.266 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 12:48:19.266 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:48:19.266 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 12:48:19.266 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:48:19.266 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:48:19.266 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 12:48:19.266 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 12:48:19.266 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/04 12:48:19.266 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/04 12:48:19.266 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:48:19.266 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 12:48:19.266 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:48:19.266 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:48:19.266 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 12:48:19.266 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 12:48:19.266 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:48:19.266 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:48:19.266 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:48:19.266 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 12:48:19.266 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 12:48:19.266 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:48:19.266 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:48:19.266 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 12:48:19.267 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:48:19.267 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 12:48:19.267 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:48:19.267 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:48:19.266 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:48:19.266 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:48:19.266 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 12:48:19.266 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 12:48:19.266 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:48:19.267 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:48:19.266 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:48:19.267 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:48:19.267 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:48:19.266 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 12:48:19.266 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 12:48:19.267 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:48:19.266 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 12:48:19.267 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:48:19.266 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 12:48:19.267 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=c8b7682e-b37f-414e-8ea8-0217989d86fb] [] [2025/04/04 12:48:19.267 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:48:19.266 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/04 12:48:19.267 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=c8b7682e-b37f-414e-8ea8-0217989d86fb] [2025/04/04 12:48:19.266 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:48:19.267 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:48:19.266 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/04 12:48:19.267 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=c8b7682e-b37f-414e-8ea8-0217989d86fb] [2025/04/04 12:48:19.266 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=f70617f0-9ddc-44a7-823d-d710c8caa338] [] [2025/04/04 12:48:19.267 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=c8b7682e-b37f-414e-8ea8-0217989d86fb] [2025/04/04 12:48:19.267 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=c8b7682e-b37f-414e-8ea8-0217989d86fb] [2025/04/04 12:48:19.267 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 12:48:19.266 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 12:48:19.267 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:48:19.266 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:48:19.266 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 12:48:19.267 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 12:48:19.267 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:48:19.266 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:48:19.266 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 12:48:19.267 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:48:19.267 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=f70617f0-9ddc-44a7-823d-d710c8caa338] [2025/04/04 12:48:19.266 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 12:48:19.267 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 12:48:19.268 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=f70617f0-9ddc-44a7-823d-d710c8caa338] [2025/04/04 12:48:19.268 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=f70617f0-9ddc-44a7-823d-d710c8caa338] [2025/04/04 12:48:19.268 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 12:48:19.268 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:48:19.269 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=f70617f0-9ddc-44a7-823d-d710c8caa338] [daemon-id=LogBackup::Advancer] [2025/04/04 12:48:19.269 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 12:48:19.269 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 12:48:19.269 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:48:19.269 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:48:19.269 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 12:48:19.269 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 12:48:19.269 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 12:48:19.269 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 12:48:19.269 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:48:19.269 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:48:19.270 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=c8b7682e-b37f-414e-8ea8-0217989d86fb] [error="context canceled"] [2025/04/04 12:48:19.270 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=c8b7682e-b37f-414e-8ea8-0217989d86fb] [2025/04/04 12:48:19.270 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=c8b7682e-b37f-414e-8ea8-0217989d86fb] [error="context canceled"] [2025/04/04 12:48:19.270 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=c8b7682e-b37f-414e-8ea8-0217989d86fb] [error="context canceled"] [errorVerbose="context canceled\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:48:19.288 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 12:48:19.288 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:48:19.331 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 12:48:19.331 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:48:19.343 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=104.225833ms] [2025/04/04 12:48:20.546 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119077629165583 commit_ts:457119077629165586 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:48:20.546 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119077629165583 commit_ts:457119077629165586 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:48:20.546 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119077629165583 commit_ts:457119077629165586 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:48:20.627 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119077655379976 commit_ts:457119077655379979 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:48:20.627 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119077655379976 commit_ts:457119077655379979 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:48:20.627 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119077655379976 commit_ts:457119077655379979 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:48:20.639 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119077655379984 commit_ts:457119077655379985 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:48:20.639 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119077655379984 commit_ts:457119077655379985 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:48:20.639 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119077655379984 commit_ts:457119077655379985 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:48:20.653 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119077655379986 commit_ts:457119077668487169 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:48:20.653 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119077655379986 commit_ts:457119077668487169 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:48:20.653 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119077655379986 commit_ts:457119077668487169 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:48:20.662 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119077668487170 commit_ts:457119077668487171 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:48:20.662 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119077668487170 commit_ts:457119077668487171 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:48:20.662 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119077668487170 commit_ts:457119077668487171 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:48:21.091 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119077773606926 commit_ts:457119077773606929 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:48:21.091 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119077773606926 commit_ts:457119077773606929 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:48:21.091 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119077773606926 commit_ts:457119077773606929 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:48:21.173 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119077799559175 commit_ts:457119077799559178 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:48:21.173 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119077799559175 commit_ts:457119077799559178 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:48:21.173 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119077799559175 commit_ts:457119077799559178 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:48:21.179 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119077799559179 commit_ts:457119077799559181 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:48:21.179 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119077799559179 commit_ts:457119077799559181 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:48:21.179 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119077799559179 commit_ts:457119077799559181 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:48:21.184 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119077799559182 commit_ts:457119077799559184 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:48:21.184 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119077799559182 commit_ts:457119077799559184 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:48:21.184 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119077799559182 commit_ts:457119077799559184 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:48:21.188 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119077799559185 commit_ts:457119077799559186 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:48:21.188 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119077799559185 commit_ts:457119077799559186 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:48:21.188 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119077799559185 commit_ts:457119077799559186 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:48:21.386 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119077851987979 commit_ts:457119077851987985 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:48:21.386 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119077851987979 commit_ts:457119077851987985 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:48:21.386 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119077851987979 commit_ts:457119077851987985 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:48:21.540 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119077891309582 commit_ts:457119077891309583 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:48:21.540 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119077891309582 commit_ts:457119077891309583 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:48:21.540 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119077891309582 commit_ts:457119077891309583 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:48:21.624 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119077917523975 commit_ts:457119077917523976 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:48:21.624 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119077917523975 commit_ts:457119077917523976 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:48:21.624 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119077917523975 commit_ts:457119077917523976 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:48:21.645 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119077917523982 commit_ts:457119077917523983 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:48:21.645 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119077917523982 commit_ts:457119077917523983 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:48:21.645 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119077917523982 commit_ts:457119077917523983 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:48:21.656 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119077917523984 commit_ts:457119077930631169 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:48:21.656 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119077917523984 commit_ts:457119077930631169 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:48:21.656 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119077917523984 commit_ts:457119077930631169 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:48:22.074 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119078035750920 commit_ts:457119078035750921 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:48:22.074 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119078035750920 commit_ts:457119078035750921 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:48:22.074 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119078035750920 commit_ts:457119078035750921 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:48:22.157 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119078061965313 commit_ts:457119078061965314 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:48:22.157 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119078061965313 commit_ts:457119078061965314 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:48:22.157 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119078061965313 commit_ts:457119078061965314 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:48:22.169 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119078061965316 commit_ts:457119078061965317 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:48:22.169 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119078061965316 commit_ts:457119078061965317 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:48:22.169 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119078061965316 commit_ts:457119078061965317 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:48:22.175 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119078061965318 commit_ts:457119078061965319 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:48:22.175 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119078061965318 commit_ts:457119078061965319 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:48:22.175 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119078061965318 commit_ts:457119078061965319 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:48:22.384 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119078114131977 commit_ts:457119078114131984 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:48:22.384 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119078114131977 commit_ts:457119078114131984 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:48:22.384 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119078114131977 commit_ts:457119078114131984 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:48:22.554 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119078153453584 commit_ts:457119078166822913 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:48:22.554 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119078153453584 commit_ts:457119078166822913 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:48:22.554 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119078153453584 commit_ts:457119078166822913 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:48:22.646 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119078179667986 commit_ts:457119078179667989 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:48:22.646 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119078179667986 commit_ts:457119078179667989 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:48:22.646 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119078179667986 commit_ts:457119078179667989 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:48:22.668 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119078193037314 commit_ts:457119078193037315 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:48:22.668 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119078193037314 commit_ts:457119078193037315 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:48:22.668 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119078193037314 commit_ts:457119078193037315 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:48:22.680 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119078193037316 commit_ts:457119078193037317 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:48:22.680 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119078193037316 commit_ts:457119078193037317 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:48:22.680 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119078193037316 commit_ts:457119078193037317 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:48:23.115 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119078311002115 commit_ts:457119078311002118 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:48:23.115 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119078311002115 commit_ts:457119078311002118 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:48:23.115 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119078311002115 commit_ts:457119078311002118 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:48:23.200 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119078324109330 commit_ts:457119078324109333 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:48:23.200 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119078324109330 commit_ts:457119078324109333 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:48:23.200 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119078324109330 commit_ts:457119078324109333 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:48:23.214 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119078337216514 commit_ts:457119078337216515 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:48:23.214 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119078337216514 commit_ts:457119078337216515 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:48:23.214 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119078337216514 commit_ts:457119078337216515 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:48:23.223 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119078337216516 commit_ts:457119078337216518 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:48:23.223 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119078337216516 commit_ts:457119078337216518 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:48:23.223 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119078337216516 commit_ts:457119078337216518 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:48:23.422 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119078389383174 commit_ts:457119078389383178 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:48:23.422 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119078389383174 commit_ts:457119078389383178 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:48:23.422 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119078389383174 commit_ts:457119078389383178 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:48:23.587 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119078428704779 commit_ts:457119078428704781 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:48:23.587 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119078428704779 commit_ts:457119078428704781 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:48:23.587 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119078428704779 commit_ts:457119078428704781 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:48:23.671 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119078455181319 commit_ts:457119078455181320 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:48:23.671 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119078455181319 commit_ts:457119078455181320 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:48:23.671 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119078455181319 commit_ts:457119078455181320 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:48:23.691 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119078455181323 commit_ts:457119078455181324 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:48:23.691 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119078455181323 commit_ts:457119078455181324 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:48:23.691 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119078455181323 commit_ts:457119078455181324 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:48:23.704 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119078455181325 commit_ts:457119078468288513 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:48:23.704 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119078455181325 commit_ts:457119078468288513 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:48:23.704 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119078455181325 commit_ts:457119078468288513 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:48:24.133 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119078573146126 commit_ts:457119078573146128 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:48:24.133 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119078573146126 commit_ts:457119078573146128 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:48:24.133 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119078573146126 commit_ts:457119078573146128 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:48:24.217 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119078599360517 commit_ts:457119078599360518 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:48:24.217 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119078599360517 commit_ts:457119078599360518 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:48:24.218 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119078599360517 commit_ts:457119078599360518 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:48:24.232 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119078599360520 commit_ts:457119078599360521 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:48:24.232 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119078599360520 commit_ts:457119078599360521 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:48:24.232 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119078599360520 commit_ts:457119078599360521 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:48:24.241 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119078599360523 commit_ts:457119078599360524 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:48:24.241 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119078599360523 commit_ts:457119078599360524 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:48:24.241 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119078599360523 commit_ts:457119078599360524 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:48:24.241 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:48:24.241 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:48:24.241 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:48:24.241 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:48:24.241 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:48:24.241 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:48:24.241 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:48:24.241 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-7] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:48:24.241 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:48:24.241 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:48:24.241 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:48:24.241 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:48:24.243 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPipelinedDMLInsertRPC (9.55s) === NAME === RUN TestPipelinedDMLInsertOnDuplicateKeyUpdateInTxn [2025/04/04 12:48:24.252 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 12:48:24.253 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 12:48:24.254 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437819270443114] [2025/04/04 12:48:24.254 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:48:24.254 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 12:48:24.255 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:48:24.255 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:48:24.255 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:48:24.255 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:48:24.255 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:48:24.255 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:48:24.259 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 12:48:24.265 +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/04 12:48:24.265 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:48:24.266 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:48:24.275 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489437819270443114] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 12:48:24.285 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 12:48:24.318 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=256] ["lease id"=6f189600d42f9f4d] [2025/04/04 12:48:24.320 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/04 12:48:24.408 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=341] ["elapsed time"=86.121488ms] [2025/04/04 12:48:24.409 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 12:48:24.412 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 12:48:24.417 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=45ee38c5-546f-4c53-8d49-dcc6174b298e] [runWorker=true] [jobVersion=v2] [2025/04/04 12:48:24.418 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 12:48:24.419 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=45ee38c5-546f-4c53-8d49-dcc6174b298e] [2025/04/04 12:48:24.420 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 12:48:24.421 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 217610686464/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 12:48:24.421 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:48:24.421 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:48:24.421 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:48:24.421 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:48:24.421 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:48:24.421 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:48:24.421 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:48:24.421 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:48:24.421 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:48:24.421 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 12:48:24.421 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 12:48:24.421 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:48:24.421 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=0efee2c3-cec7-4973-a0e4-1dce185c1ca1] [2025/04/04 12:48:24.423 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f189600d42f9f52] [ownerID=45ee38c5-546f-4c53-8d49-dcc6174b298e] [op=none] [2025/04/04 12:48:24.423 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=45ee38c5-546f-4c53-8d49-dcc6174b298e] [2025/04/04 12:48:24.423 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=45ee38c5-546f-4c53-8d49-dcc6174b298e] [ownerKey=/tidb/ddl/fg/owner/6f189600d42f9f52] [currRev=1573] [2025/04/04 12:48:24.423 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:48:24.423 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=0efee2c3-cec7-4973-a0e4-1dce185c1ca1] [daemon-id=LogBackup::Advancer] [2025/04/04 12:48:24.424 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa9600d42f99c5] [ownerID=0efee2c3-cec7-4973-a0e4-1dce185c1ca1] [op=none] [2025/04/04 12:48:24.424 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=0efee2c3-cec7-4973-a0e4-1dce185c1ca1] [2025/04/04 12:48:24.424 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 12:48:24.424 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=0efee2c3-cec7-4973-a0e4-1dce185c1ca1] [ownerKey=/tidb/br-stream/owner/3eaa9600d42f99c5] [currRev=1574] [2025/04/04 12:48:24.425 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f189600d42f9f52] [ownerID=45ee38c5-546f-4c53-8d49-dcc6174b298e] [op=none] [2025/04/04 12:48:24.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=45ee38c5-546f-4c53-8d49-dcc6174b298e] [op=none] [2025/04/04 12:48:24.425 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 12:48:24.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.TestPipelinedDMLInsertOnDuplicateKeyUpdateInTxn\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:537\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:48:24.432 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestPipelinedDMLInsertOnDuplicateKeyUpdateInTxn\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:537\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:48:24.435 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestPipelinedDMLInsertOnDuplicateKeyUpdateInTxn\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:537\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:48:24.435 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=45ee38c5-546f-4c53-8d49-dcc6174b298e] [2025/04/04 12:48:24.436 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:48:24.436 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 12:48:24.446 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:48:24.454 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:48:24.459 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:48:24.459 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:48:24.459 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 12:48:24.459 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:48:24.459 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:48:24.459 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 12:48:24.459 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 12:48:24.459 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 12:48:24.459 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 12:48:24.460 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:48:24.460 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=45ee38c5-546f-4c53-8d49-dcc6174b298e] [2025/04/04 12:48:24.461 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:48:24.461 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:48:24.461 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:48:24.461 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:48:24.461 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:48:24.461 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 12:48:24.461 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:48:24.461 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 12:48:24.461 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:48:24.462 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:48:24.462 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 12:48:24.462 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:48:24.462 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:48:24.462 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:48:24.462 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:48:24.463 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/04 12:48:24.464 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/6f189600d42f9f5a] [ownerID=45ee38c5-546f-4c53-8d49-dcc6174b298e] [op=none] [2025/04/04 12:48:24.464 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=45ee38c5-546f-4c53-8d49-dcc6174b298e] [2025/04/04 12:48:24.464 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=45ee38c5-546f-4c53-8d49-dcc6174b298e] [ownerKey=/tidb/stats/owner/6f189600d42f9f5a] [currRev=1576] [2025/04/04 12:48:24.466 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/6d93d0e5-3614-41ed-8349-0a6fb40fe171] [2025/04/04 12:48:24.466 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=45ee38c5-546f-4c53-8d49-dcc6174b298e] [ttl-worker=task-manager] [ttl-worker=45ee38c5-546f-4c53-8d49-dcc6174b298e] [originalCount=0] [newCount=4] [2025/04/04 12:48:24.467 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=45ee38c5-546f-4c53-8d49-dcc6174b298e] [ttl-worker=task-manager] [ttl-worker=45ee38c5-546f-4c53-8d49-dcc6174b298e] [originalCount=0] [newCount=4] [2025/04/04 12:48:24.467 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=45ee38c5-546f-4c53-8d49-dcc6174b298e] [2025/04/04 12:48:24.467 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:48:24.467 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 12:48:24.467 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743770904467685537 [2025/04/04 12:48:24.468 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 12:48:24.473 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 12:48:24.481 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=21.405518ms] [2025/04/04 12:48:24.482 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 12:48:24.482 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:48:24.490 +00:00] [INFO] [set.go:172] ["set global var"] [conn=16] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 12:48:24.493 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=16] [schemaVersion=341] [cur_db=test] [sql="alter table `_t1` nocache"] [user=] [2025/04/04 12:48:24.506 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:372, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:370, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:24.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:48:24.506 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:372, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:370, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:24.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t1`"] [2025/04/04 12:48:24.512 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=372] [conn=16] [job="ID:372, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:370, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:24.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:24.528 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=341] [neededSchemaVersion=342] ["elapsed time"=2.198088ms] [gotSchemaVersion=342] [phyTblIDs="[370]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:48:24.532 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=372] [version=342] [2025/04/04 12:48:24.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=342] ["take time"=9.882944ms] [job="ID:372, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:370, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:24.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:24.544 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=372] [conn=16] [job="ID:372, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:370, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:24.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:24.559 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=342] [neededSchemaVersion=343] ["elapsed time"=2.081149ms] [gotSchemaVersion=343] [phyTblIDs="[370]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:48:24.563 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=372] [version=343] [2025/04/04 12:48:24.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=343] ["take time"=9.241691ms] [job="ID:372, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:370, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:24.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:24.573 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=372] [conn=16] [job="ID:372, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:370, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:24.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:24.580 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 370, Old Table Name: _t1)"] [2025/04/04 12:48:24.592 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=343] [neededSchemaVersion=344] ["elapsed time"=1.028836ms] [gotSchemaVersion=344] [phyTblIDs="[370]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:48:24.596 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=372] [version=344] [2025/04/04 12:48:24.598 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=344] ["take time"=8.443732ms] [job="ID:372, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:370, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:24.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:24.607 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=372] [tableIDs="[370]"] [comment="drop table: table ID"] [2025/04/04 12:48:24.613 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=372] [jobType="drop table"] [2025/04/04 12:48:24.614 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=372] [conn=16] [job="ID:372, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:370, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:24.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:24.633 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=372] [2025/04/04 12:48:24.634 +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: 1743770904634583570 [2025/04/04 12:48:24.654 +00:00] [INFO] [set.go:172] ["set global var"] [conn=17] [name=tidb_schema_cache_size] [val=0] [2025/04/04 12:48:24.656 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=17] [schemaVersion=344] [cur_db=test] [sql="drop table if exists t1"] [user=] [2025/04/04 12:48:24.670 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:374, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:373, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:24.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:48:24.670 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:374, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:373, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:24.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t1 (a int, b int, c varchar(128), unique index idx(b))"] [2025/04/04 12:48:24.676 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=374] [conn=17] [job="ID:374, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:373, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:24.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:24.681 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 373, Table Name: t1)"] [2025/04/04 12:48:24.696 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=344] [neededSchemaVersion=345] ["elapsed time"=1.5917ms] [gotSchemaVersion=345] [phyTblIDs="[373]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:48:24.700 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=374] [version=345] [2025/04/04 12:48:24.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=345] ["take time"=8.702852ms] [job="ID:374, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:373, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:24.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:24.713 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=374] [conn=17] [job="ID:374, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:373, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:24.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:24.730 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=374] [2025/04/04 12:48:24.730 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=17] [schemaVersion=345] [cur_db=test] [sql="create table t1 (a int, b int, c varchar(128), unique index idx(b))"] [user=] [2025/04/04 12:48:24.978 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/04 12:48:25.288 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119080145747969] [generation=1] [session=17] [keys=3998] [size=253.6kB] ["flushed keys"=3998] ["flushed size"=253.6kB] ["take time"=22.086199ms] [2025/04/04 12:48:25.288 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119080145747969] [generation=2] [session=17] [keys=0] [size=0B] ["flushed keys"=3998] ["flushed size"=253.6kB] ["take time"=40.294µs] [2025/04/04 12:48:25.289 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=3998] [flush_wait_duration=22.265224ms] [total_duration=177.892653ms] ["memdb traversal cache hit"=7996] ["memdb traversal cache miss"=7998] [size=253.6kB] [startTS=457119080145747969] [2025/04/04 12:48:25.290 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119080145747969] [commitTS=457119080185331716] [2025/04/04 12:48:25.290 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119080145747969] [startKey=7480000000000001755f698000000000000001038000000000000000] [endKey=7480000000000001755f728000000000000f9f] [concurrency=8] [2025/04/04 12:48:25.291 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 457119080145747969\n# Conn_ID: 17\n# Query_time: 0.304558735\n# Parse_time: 0.046019004\n# Compile_time: 0.078656899\n# Rewrite_time: 0.009858114\n# Optimize_time: 0.001031809\n# Wait_TS: 0.000436075\n# Commit_primary_rpc_detail: {total:0.001s, region_id: 14, store: 127.0.0.1:20160, time_detail: {total_process_time: 43.9µs, total_suspend_time: 279.5µs, tikv_grpc_process_time: 14.5µs, tikv_grpc_wait_time: 17.5µs, tikv_wall_time: 362.7µs}, scan_detail: {get_snapshot_time: 6.96µs, rocksdb: {block: {}}}, write_detail: {store_batch_wait: 12.8µs, propose_send_wait: 0s, persist_log: {total: 61µs, write_leader_wait: 34ns, sync_log: 36.2µs, write_memtable: 707ns}, commit_log: 163µs, apply_batch_wait: 13.5µs, apply: {total:57.8µs, mutex_lock: 0s, write_leader_wait: 0s, write_wal: 13.1µs, write_memtable: 13.8µs}, scheduler: {process: 288.8µs, latch_wait: 1.27µ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('xAnwdTAJMjdfMQkwCTAJTi9BCTAJdGltZToxNTUuNG1zLCBvcGVuOjkuODTCtXMsIGNsb3NlOjE4LjbCtXMsIGxvb3BzOjEsIHByZXBhcmU6IDE4LjNtcywgY2hlY2tfaW5zZXJ0OiB7dG90YWxfdGltZTogMTM3LjEBWwxtZW1fCSIRGgwyMC45ARo0cHJlZmV0Y2g6IDE2LjIBEghma18FUxA6IDkuNwWZYHJwYzp7QnVmZmVyQmF0Y2hHZXQ6e251bV8BGQwxLCB0GXMYNC41bXN9LH4nAAA2ASUAIAH/GF9kZXRhaWwVuRhwcm9jZXNzDacING5zEV8sa3ZfcmVhZF93YWxsDR4MNy44MwGyIHRpa3ZfZ3JwYzo+AAwxOTMuKU0ZIgh3YWk1BAg2LjElXAUeHVgINC43CaEMc2Nhbj6hAFhrZXlzOiAyMDAwLCBnZXRfc25hcHNobxVVADUNc0hyb2Nrc2RiOiB7YmxvY2s6IHt9AQEULCBjb21tAYQQeG46IHsVDxhwcmltYXJ5JVMEIHslUmw6IDAuMDAxcywgcmVnaW9uX2lkOiAxNCwgc3RvRQE0MjcuMC4wLjE6MjAxNjCSUAEIMy45CfMlsxhzdXNwZW5kLU8QMjc5LjUJHl5RAQA0QiEALlABADcuHgA9UCQzNjIuN8K1c30sOlIBSkABDDYuOTYFhFJAARQsIHdyaXRdNSULBF9iQZYFixQ6IDEyLjgFQSBwcm9wb3NlX3MB4gGnQDogMHMsIHBlcnNpc3RfbG9nOWkANkkJCV0UbGVhZGVyDTMAM0WDDHN5bmMJMgwzNi4yBV8JLDRtZW10YWJsZTogNzA3bgHiLd8FXwgxNjMFLBBhcHBseTamAAAzLSwFGxWJBDU3Db0UbXV0ZXhfSTkBtgluMpoAGRcYd2FsOiAxM03OCSsZmQQxMwVUJX0kaGVkdWxlcjoge21oEDogMjg4BSAILCBsLkYBBC4yJbJAfX19CTUyNS40IEtCCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('0AnwZQrLCQoISW5zZXJ0XzE4AUABUgNOL0FaMnRpbWU6MTU1LjRtcywgb3Blbjo5Ljg0wrVzLCBjbG9zZToxOC42wrVzLCBsb29wczoxYr8DcHJlcGFyZTogMTguM21zLCBjaGVja19pbgFfIDoge3RvdGFsXwVbOCAxMzcuMW1zLCBtZW1faQmBDRoMMjAuOQEaNHByZWZldGNoOiAxNi4yARIMZmtfYwFTEDogOS43BZpgcnBjOntCdWZmZXJCYXRjaEdldDp7bnVtXwEZCDEsIB1zGDQuNW1zfSx+JwAANgElACABixhfZGV0YWlsFbkYcHJvY2Vzcw2nCDRucxFfKGt2X3JlYWRfd2FsEd8INy44JQIgdGlrdl9ncnBjOj4AEDE5My40JU4ZIgx3YWl0DV0MMTYuMRkeHVgINC43CaEMc2Nhbj6hAFhrZXlzOiAyMDAwLCBnZXRfc25hcHNobxVVADUNc0hyb2Nrc2RiOiB7YmxvY2s6IHt9AQEYYrAFY29tbQGFGHhuOiB7LCANDxhwcmltYXJ5JVQtxnA6IDAuMDAxcywgcmVnaW9uX2lkOiAxNCwgc3RvckECNDI3LjAuMC4xOjIwMTYwklEBCDMuOQn0RScYc3VzcGVuZC0REDI3OS41CR5eUgEANEIhAC5RAQA3Lh4APVEkMzYyLjfCtXN9LDpTAUpBAQg2LjlJ81JBARQsIHdyaXRdNiULBF9iQZcFixQ6IDEyLjgFxSBwcm9wb3NlX3MB4gGnQDogMHMsIHBlcnNpc3RfbG9nOWkANkkKCV0UbGVhZGVyDTMAM0WEDHN5bmMJMgwzNi4yBV8JLDRtZW10YWJsZTogNzA3bgHiLdAFXwgxNjMFLBBhcHBseTamAAAzLSwFGxWJBDU3Db0UbXV0ZXhfSToBtgluMpoAGRcId2FsYe1NzwkrGZkEMTMFVCV9JGhlZHVsZXI6IHttaRA6IDI4OAUgCCwgbC5GAQQuMiWyTH19fXCQ6yB4////////////ARgB')\n# Resource_group: default\nuse test;\ninsert ignore into t1 values (0, 0, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (1, 1, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (2, 2, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (3, 3, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (4, 4, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (5, 5, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (6, 6, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (7, 7, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (8, 8, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (9, 9, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (10, 10, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (11, 11, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (12, 12, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (13, 13, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (14, 14, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (15, 15, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (16, 16, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (17, 17, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (18, 18, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (19, 19, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (20, 20, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (21, 21, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (22, 22, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (23, 23, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (24, 24, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (25, 25, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (26, 26, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (27, 27, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (28, 28, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (29, 29, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (30, 30, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (31, 31, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (32, 32, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (33, 33, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (34, 34, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (35, 35, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (36, 36, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (37, 37, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (38, 38, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (39, 39, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (40, 40, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (41, 41, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (42, 42, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (43, 43, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (44, 44, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (45, 45, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (46, 46, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (47, 47, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (48, 48, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (49, 49, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (50, 50, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (51, 51, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (52, 52, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (53, 53, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (54, 54, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (55, 55, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (56, 56, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (57, 57, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (58, 58, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (59, 59, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (60, 60, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (len:139806);"] [2025/04/04 12:48:25.305 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=45ee38c5-546f-4c53-8d49-dcc6174b298e] [] [2025/04/04 12:48:25.305 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 12:48:25.305 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 12:48:25.306 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=45ee38c5-546f-4c53-8d49-dcc6174b298e] [2025/04/04 12:48:25.306 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:48:25.306 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:48:25.306 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 32, tp general"] ["take time"=47.004µs] [2025/04/04 12:48:25.306 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 33, tp general"] ["take time"=44.004µs] [2025/04/04 12:48:25.306 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=45ee38c5-546f-4c53-8d49-dcc6174b298e] [2025/04/04 12:48:25.306 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=45ee38c5-546f-4c53-8d49-dcc6174b298e] [2025/04/04 12:48:25.307 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 12:48:25.307 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 12:48:25.308 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=45ee38c5-546f-4c53-8d49-dcc6174b298e] ["take time"=2.556834ms] [2025/04/04 12:48:25.308 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=45ee38c5-546f-4c53-8d49-dcc6174b298e] [2025/04/04 12:48:25.308 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 12:48:25.308 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/6d93d0e5-3614-41ed-8349-0a6fb40fe171] [2025/04/04 12:48:25.308 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=45ee38c5-546f-4c53-8d49-dcc6174b298e] [ttl-worker=task-manager] [ttl-worker=45ee38c5-546f-4c53-8d49-dcc6174b298e] [originalCount=4] [newCount=0] [2025/04/04 12:48:25.308 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:48:25.308 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:48:25.308 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:48:25.308 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:48:25.308 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=45ee38c5-546f-4c53-8d49-dcc6174b298e] [ttl-worker=task-manager] [ttl-worker=45ee38c5-546f-4c53-8d49-dcc6174b298e] [originalCount=4] [newCount=0] [2025/04/04 12:48:25.311 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:48:25.311 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:48:25.311 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:48:25.311 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:48:25.313 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=45ee38c5-546f-4c53-8d49-dcc6174b298e] [2025/04/04 12:48:25.313 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 12:48:25.314 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=256] [2025/04/04 12:48:25.314 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 12:48:25.314 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 12:48:25.314 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:48:25.314 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 12:48:25.314 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:48:25.314 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 12:48:25.314 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:48:25.314 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 12:48:25.314 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=0efee2c3-cec7-4973-a0e4-1dce185c1ca1] [] [2025/04/04 12:48:25.314 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:48:25.314 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 12:48:25.314 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 12:48:25.314 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:48:25.314 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 12:48:25.314 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=0efee2c3-cec7-4973-a0e4-1dce185c1ca1] [2025/04/04 12:48:25.314 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 12:48:25.314 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:48:25.315 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 12:48:25.315 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 12:48:25.314 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 12:48:25.315 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 12:48:25.315 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:48:25.315 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=45ee38c5-546f-4c53-8d49-dcc6174b298e] [] [2025/04/04 12:48:25.314 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:48:25.314 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 12:48:25.315 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:48:25.315 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:48:25.315 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:48:25.315 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:48:25.314 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:48:25.314 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 12:48:25.315 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:48:25.314 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 12:48:25.315 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:48:25.314 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 12:48:25.315 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:48:25.315 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:48:25.314 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 12:48:25.315 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:48:25.315 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:48:25.314 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 12:48:25.314 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 12:48:25.314 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:48:25.314 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:48:25.315 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:48:25.315 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 12:48:25.315 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:48:25.315 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 12:48:25.315 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 12:48:25.315 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 12:48:25.315 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:48:25.315 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:48:25.315 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=0efee2c3-cec7-4973-a0e4-1dce185c1ca1] [2025/04/04 12:48:25.315 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:48:25.315 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:48:25.315 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=0efee2c3-cec7-4973-a0e4-1dce185c1ca1] [2025/04/04 12:48:25.315 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=45ee38c5-546f-4c53-8d49-dcc6174b298e] [2025/04/04 12:48:25.315 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 12:48:25.315 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=45ee38c5-546f-4c53-8d49-dcc6174b298e] [2025/04/04 12:48:25.315 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:48:25.315 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=45ee38c5-546f-4c53-8d49-dcc6174b298e] [2025/04/04 12:48:25.315 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:48:25.315 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 12:48:25.315 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:48:25.315 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:48:25.315 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:48:25.315 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:48:25.316 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 12:48:25.316 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:48:25.316 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:48:25.317 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=0efee2c3-cec7-4973-a0e4-1dce185c1ca1] [daemon-id=LogBackup::Advancer] [2025/04/04 12:48:25.317 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 12:48:25.317 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:48:25.317 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:48:25.317 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 12:48:25.317 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 12:48:25.317 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:48:25.317 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 12:48:25.317 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 12:48:25.317 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:48:25.317 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 12:48:25.318 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=45ee38c5-546f-4c53-8d49-dcc6174b298e] [error="context canceled"] [2025/04/04 12:48:25.318 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=45ee38c5-546f-4c53-8d49-dcc6174b298e] [2025/04/04 12:48:25.326 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119080145747969] [startKey=7480000000000001755f698000000000000001038000000000000000] [endKey=7480000000000001755f728000000000000f9f] ["cost time"=35.9423ms] ["completed regions"=1] [2025/04/04 12:48:25.326 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119080145747969] [commitTS=457119080185331716] [session=17] [2025/04/04 12:48:25.333 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 12:48:25.334 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:48:25.379 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=45ee38c5-546f-4c53-8d49-dcc6174b298e] [error="context canceled"] [2025/04/04 12:48:25.379 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 12:48:25.379 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:48:25.390 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=84.833131ms] [2025/04/04 12:48:26.260 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/04 12:48:30.327 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119080145747969 commit_ts:457119080185331716 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:48:30.327 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119080145747969 commit_ts:457119080185331716 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:48:30.327 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119080145747969 commit_ts:457119080185331716 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:48:30.327 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:48:30.327 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:48:30.327 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:48:30.327 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:48:30.327 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:48:30.327 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:48:30.327 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:48:30.327 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:48:30.327 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:48:30.327 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-8] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:48:30.328 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:48:30.328 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:48:30.329 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPipelinedDMLInsertOnDuplicateKeyUpdateInTxn (6.08s) === NAME === RUN TestPipelinedDMLDelete [2025/04/04 12:48:30.337 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 12:48:30.338 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 12:48:30.338 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437819270443114] [2025/04/04 12:48:30.339 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:48:30.339 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 12:48:30.339 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:48:30.339 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:48:30.339 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:48:30.339 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:48:30.340 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:48:30.340 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:48:30.344 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 12:48:30.349 +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/04 12:48:30.350 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:48:30.350 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:48:30.360 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489437819270443114] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 12:48:30.371 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 12:48:30.406 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1401] ["lease id"=6f189600d42f9f7b] [2025/04/04 12:48:30.408 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/04 12:48:30.495 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=345] ["elapsed time"=84.360298ms] [2025/04/04 12:48:30.495 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 12:48:30.498 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 12:48:30.503 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=95d6f86c-ab49-4b2e-8769-16914fa3f3d1] [runWorker=true] [jobVersion=v2] [2025/04/04 12:48:30.503 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 12:48:30.505 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=95d6f86c-ab49-4b2e-8769-16914fa3f3d1] [2025/04/04 12:48:30.506 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 12:48:30.508 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 217610706944/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 12:48:30.508 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:48:30.508 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:48:30.508 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:48:30.508 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:48:30.508 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:48:30.508 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:48:30.508 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:48:30.508 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 12:48:30.508 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:48:30.509 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:48:30.509 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:48:30.509 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 12:48:30.509 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=18eefb51-5e01-45c5-80db-9a42a9fb4003] [2025/04/04 12:48:30.509 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9600d42f99ef] [ownerID=95d6f86c-ab49-4b2e-8769-16914fa3f3d1] [op=none] [2025/04/04 12:48:30.509 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=95d6f86c-ab49-4b2e-8769-16914fa3f3d1] [2025/04/04 12:48:30.509 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=95d6f86c-ab49-4b2e-8769-16914fa3f3d1] [ownerKey=/tidb/ddl/fg/owner/3eaa9600d42f99ef] [currRev=1605] [2025/04/04 12:48:30.511 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 12:48:30.514 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:48:30.514 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9600d42f99ef] [ownerID=95d6f86c-ab49-4b2e-8769-16914fa3f3d1] [op=none] [2025/04/04 12:48:30.514 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=95d6f86c-ab49-4b2e-8769-16914fa3f3d1] [op=none] [2025/04/04 12:48:30.514 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 12:48:30.514 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=18eefb51-5e01-45c5-80db-9a42a9fb4003] [daemon-id=LogBackup::Advancer] [2025/04/04 12:48:30.514 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa9600d42f99f2] [ownerID=18eefb51-5e01-45c5-80db-9a42a9fb4003] [op=none] [2025/04/04 12:48:30.514 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=18eefb51-5e01-45c5-80db-9a42a9fb4003] [2025/04/04 12:48:30.515 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=18eefb51-5e01-45c5-80db-9a42a9fb4003] [ownerKey=/tidb/br-stream/owner/3eaa9600d42f99f2] [currRev=1606] [2025/04/04 12:48:30.521 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestPipelinedDMLDelete\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:580\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:48:30.522 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestPipelinedDMLDelete\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:580\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:48:30.523 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestPipelinedDMLDelete\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:580\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:48:30.523 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=95d6f86c-ab49-4b2e-8769-16914fa3f3d1] [2025/04/04 12:48:30.524 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:48:30.524 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 12:48:30.533 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:48:30.540 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:48:30.545 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:48:30.545 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:48:30.545 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:48:30.545 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 12:48:30.545 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:48:30.545 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 12:48:30.545 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 12:48:30.545 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 12:48:30.545 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 12:48:30.546 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:48:30.546 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=95d6f86c-ab49-4b2e-8769-16914fa3f3d1] [2025/04/04 12:48:30.547 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:48:30.548 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:48:30.548 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:48:30.548 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:48:30.548 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:48:30.548 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 12:48:30.548 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:48:30.548 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:48:30.548 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 12:48:30.548 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:48:30.548 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 12:48:30.548 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:48:30.548 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:48:30.548 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:48:30.548 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:48:30.550 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/6f189600d42f9f85] [ownerID=95d6f86c-ab49-4b2e-8769-16914fa3f3d1] [op=none] [2025/04/04 12:48:30.550 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=95d6f86c-ab49-4b2e-8769-16914fa3f3d1] [2025/04/04 12:48:30.550 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/04 12:48:30.550 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=95d6f86c-ab49-4b2e-8769-16914fa3f3d1] [ownerKey=/tidb/stats/owner/6f189600d42f9f85] [currRev=1608] [2025/04/04 12:48:30.552 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/866b754f-b33e-4ca0-a2ed-439e20054427] [2025/04/04 12:48:30.552 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=95d6f86c-ab49-4b2e-8769-16914fa3f3d1] [ttl-worker=task-manager] [ttl-worker=95d6f86c-ab49-4b2e-8769-16914fa3f3d1] [originalCount=0] [newCount=4] [2025/04/04 12:48:30.552 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 12:48:30.552 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=95d6f86c-ab49-4b2e-8769-16914fa3f3d1] [ttl-worker=task-manager] [ttl-worker=95d6f86c-ab49-4b2e-8769-16914fa3f3d1] [originalCount=0] [newCount=4] [2025/04/04 12:48:30.552 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=95d6f86c-ab49-4b2e-8769-16914fa3f3d1] [2025/04/04 12:48:30.553 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:48:30.553 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 12:48:30.553 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743770910553850176 [2025/04/04 12:48:30.558 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 12:48:30.564 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=17.847332ms] [2025/04/04 12:48:30.564 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:48:30.564 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 12:48:30.573 +00:00] [INFO] [set.go:172] ["set global var"] [conn=18] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 12:48:30.576 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=18] [schemaVersion=345] [cur_db=test] [sql="alter table `t1` nocache"] [user=] [2025/04/04 12:48:30.589 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:375, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:373, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:30.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t1`"] [2025/04/04 12:48:30.589 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:375, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:373, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:30.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:48:30.596 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=375] [conn=18] [job="ID:375, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:373, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:30.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:30.613 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=345] [neededSchemaVersion=346] ["elapsed time"=2.22762ms] [gotSchemaVersion=346] [phyTblIDs="[373]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:48:30.617 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=375] [version=346] [2025/04/04 12:48:30.619 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=346] ["take time"=9.846971ms] [job="ID:375, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:373, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:30.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:30.629 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=375] [conn=18] [job="ID:375, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:373, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:30.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:30.645 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=346] [neededSchemaVersion=347] ["elapsed time"=2.310997ms] [gotSchemaVersion=347] [phyTblIDs="[373]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:48:30.649 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=375] [version=347] [2025/04/04 12:48:30.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=347] ["take time"=9.373338ms] [job="ID:375, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:373, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:30.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:30.658 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=375] [conn=18] [job="ID:375, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:373, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:30.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:30.664 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 373, Old Table Name: t1)"] [2025/04/04 12:48:30.678 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=347] [neededSchemaVersion=348] ["elapsed time"=1.0409ms] [gotSchemaVersion=348] [phyTblIDs="[373]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:48:30.682 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=375] [version=348] [2025/04/04 12:48:30.683 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=348] ["take time"=8.010432ms] [job="ID:375, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:373, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:30.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:30.693 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=375] [tableIDs="[373]"] [comment="drop table: table ID"] [2025/04/04 12:48:30.700 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=375] [jobType="drop table"] [2025/04/04 12:48:30.701 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=375] [conn=18] [job="ID:375, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:373, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:30.548 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:30.719 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=375] [2025/04/04 12:48:30.719 +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: 1743770910720214382 [2025/04/04 12:48:30.724 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=19] [schemaVersion=348] [cur_db=test] [sql="drop table if exists t, _t"] [user=] [2025/04/04 12:48:30.736 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:377, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:376, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:30.697 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:48:30.736 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:377, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:376, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:30.697 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a int primary key, b int)"] [2025/04/04 12:48:30.742 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=377] [conn=19] [job="ID:377, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:376, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:30.697 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:30.746 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 376, Table Name: t)"] [2025/04/04 12:48:30.761 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=348] [neededSchemaVersion=349] ["elapsed time"=1.448051ms] [gotSchemaVersion=349] [phyTblIDs="[376]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:48:30.764 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=377] [version=349] [2025/04/04 12:48:30.766 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=349] ["take time"=8.621879ms] [job="ID:377, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:376, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:30.697 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:30.778 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=377] [conn=19] [job="ID:377, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:376, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:30.697 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:30.789 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=377] [2025/04/04 12:48:30.789 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=19] [schemaVersion=349] [cur_db=test] [sql="create table t (a int primary key, b int)"] [user=] [2025/04/04 12:48:30.802 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:379, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:378, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:30.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:48:30.802 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:379, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:378, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:30.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t like t"] [2025/04/04 12:48:30.807 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=379] [conn=19] [job="ID:379, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:378, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:30.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:30.812 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 378, Table Name: _t)"] [2025/04/04 12:48:30.825 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=349] [neededSchemaVersion=350] ["elapsed time"=1.423823ms] [gotSchemaVersion=350] [phyTblIDs="[378]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:48:30.829 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=379] [version=350] [2025/04/04 12:48:30.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=350] ["take time"=8.353223ms] [job="ID:379, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:378, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:30.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:30.842 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=379] [conn=19] [job="ID:379, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:378, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:30.748 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:30.853 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=379] [2025/04/04 12:48:30.853 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=19] [schemaVersion=350] [cur_db=test] [sql="create table _t like t"] [user=] [2025/04/04 12:48:30.856 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081653338116] [2025/04/04 12:48:30.861 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081653338121] [2025/04/04 12:48:30.864 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081653338124] [2025/04/04 12:48:30.869 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081653338128] [2025/04/04 12:48:30.872 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081653338131] [2025/04/04 12:48:30.877 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081653338134] [2025/04/04 12:48:30.880 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081653338137] [2025/04/04 12:48:30.884 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081653338140] [2025/04/04 12:48:30.888 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081653338143] [2025/04/04 12:48:30.892 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081653338146] [2025/04/04 12:48:30.896 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081653338149] [2025/04/04 12:48:30.900 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081666183170] [2025/04/04 12:48:30.903 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081666183173] [2025/04/04 12:48:30.907 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081666183176] [2025/04/04 12:48:30.911 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081666183179] [2025/04/04 12:48:30.914 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081666183182] [2025/04/04 12:48:30.918 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081666183186] [2025/04/04 12:48:30.922 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081666183189] [2025/04/04 12:48:30.926 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081666183192] [2025/04/04 12:48:30.929 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081666183195] [2025/04/04 12:48:30.933 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081666183198] [2025/04/04 12:48:30.937 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081666183201] [2025/04/04 12:48:30.941 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081666183204] [2025/04/04 12:48:30.944 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081666183207] [2025/04/04 12:48:30.948 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081666183210] [2025/04/04 12:48:30.951 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081679552515] [2025/04/04 12:48:30.955 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081679552518] [2025/04/04 12:48:30.959 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081679552521] [2025/04/04 12:48:30.962 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081679552524] [2025/04/04 12:48:30.966 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081679552527] [2025/04/04 12:48:30.969 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081679552531] [2025/04/04 12:48:30.973 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081679552534] [2025/04/04 12:48:30.977 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081679552537] [2025/04/04 12:48:30.981 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081679552540] [2025/04/04 12:48:30.984 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081679552543] [2025/04/04 12:48:30.988 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081679552546] [2025/04/04 12:48:30.992 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081679552549] [2025/04/04 12:48:30.995 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081679552552] [2025/04/04 12:48:30.999 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081679552555] [2025/04/04 12:48:31.003 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081692659715] [2025/04/04 12:48:31.007 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081692659718] [2025/04/04 12:48:31.010 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081692659722] [2025/04/04 12:48:31.014 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081692659727] [2025/04/04 12:48:31.018 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081692659731] [2025/04/04 12:48:31.022 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081692659734] [2025/04/04 12:48:31.026 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081692659737] [2025/04/04 12:48:31.030 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081692659740] [2025/04/04 12:48:31.034 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081692659743] [2025/04/04 12:48:31.038 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081692659746] [2025/04/04 12:48:31.041 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081692659749] [2025/04/04 12:48:31.045 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081692659752] [2025/04/04 12:48:31.049 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081692659755] [2025/04/04 12:48:31.053 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081705504771] [2025/04/04 12:48:31.056 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081705504774] [2025/04/04 12:48:31.060 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081705504777] [2025/04/04 12:48:31.064 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081705504780] [2025/04/04 12:48:31.068 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081705504784] [2025/04/04 12:48:31.072 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081705504787] [2025/04/04 12:48:31.076 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081705504790] [2025/04/04 12:48:31.079 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081705504793] [2025/04/04 12:48:31.083 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081705504796] [2025/04/04 12:48:31.087 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081705504799] [2025/04/04 12:48:31.091 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081705504802] [2025/04/04 12:48:31.094 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081705504805] [2025/04/04 12:48:31.098 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081705504808] [2025/04/04 12:48:31.102 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081718874115] [2025/04/04 12:48:31.106 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081718874118] [2025/04/04 12:48:31.109 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081718874121] [2025/04/04 12:48:31.113 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081718874124] [2025/04/04 12:48:31.117 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081718874128] [2025/04/04 12:48:31.121 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081718874131] [2025/04/04 12:48:31.125 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081718874134] [2025/04/04 12:48:31.128 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081718874137] [2025/04/04 12:48:31.132 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081718874140] [2025/04/04 12:48:31.136 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081718874143] [2025/04/04 12:48:31.140 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081718874146] [2025/04/04 12:48:31.144 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081718874149] [2025/04/04 12:48:31.147 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081718874152] [2025/04/04 12:48:31.151 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081731719171] [2025/04/04 12:48:31.155 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081731719174] [2025/04/04 12:48:31.160 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081731719178] [2025/04/04 12:48:31.163 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081731719181] [2025/04/04 12:48:31.167 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081731719185] [2025/04/04 12:48:31.171 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081731719188] [2025/04/04 12:48:31.175 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081731719191] [2025/04/04 12:48:31.179 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081731719194] [2025/04/04 12:48:31.183 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081731719197] [2025/04/04 12:48:31.187 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081731719200] [2025/04/04 12:48:31.191 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081731719203] [2025/04/04 12:48:31.195 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081731719207] [2025/04/04 12:48:31.198 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081731719210] [2025/04/04 12:48:31.202 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081744826370] [2025/04/04 12:48:31.206 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081744826373] [2025/04/04 12:48:31.210 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081744826376] [2025/04/04 12:48:31.214 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081744826379] [2025/04/04 12:48:31.217 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081744826383] [2025/04/04 12:48:31.221 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081744826386] [2025/04/04 12:48:31.225 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081744826389] [2025/04/04 12:48:31.229 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081744826392] [2025/04/04 12:48:31.232 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119081744826395] [2025/04/04 12:48:31.244 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119081744826399] [generation=1] [session=19] [keys=50] [size=950B] ["flushed keys"=50] ["flushed size"=950B] ["take time"=1.579233ms] [2025/04/04 12:48:31.244 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=50] [flush_wait_duration=1.679487ms] [total_duration=4.151672ms] ["memdb traversal cache hit"=50] ["memdb traversal cache miss"=100] [size=950B] [startTS=457119081744826399] [2025/04/04 12:48:31.245 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119081744826399] [commitTS=457119081744826400] [2025/04/04 12:48:31.245 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119081744826399] [startKey=7480000000000001785f728000000000000000] [endKey=7480000000000001785f728000000000000062] [concurrency=8] [2025/04/04 12:48:31.250 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119081744826399] [startKey=7480000000000001785f728000000000000000] [endKey=7480000000000001785f728000000000000062] ["cost time"=4.848161ms] ["completed regions"=1] [2025/04/04 12:48:31.250 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119081744826399] [commitTS=457119081744826400] [session=19] [2025/04/04 12:48:31.260 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119081757933569] [generation=1] [session=19] [keys=100] [size=2.4kB] ["flushed keys"=100] ["flushed size"=2.4kB] ["take time"=2.301412ms] [2025/04/04 12:48:31.260 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=100] [flush_wait_duration=2.394674ms] [total_duration=7.800826ms] ["memdb traversal cache hit"=150] ["memdb traversal cache miss"=200] [size=2.4kB] [startTS=457119081757933569] [2025/04/04 12:48:31.261 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119081757933569] [commitTS=457119081757933571] [2025/04/04 12:48:31.262 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119081757933569] [startKey=7480000000000001785f728000000000000001] [endKey=7480000000000001785f72800000000000270f] [concurrency=8] [2025/04/04 12:48:31.262 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=9] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=7480000000000001785f7280000000000003e8] [2025/04/04 12:48:31.265 +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:3 id:174 store_id:1 id:175 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=9] [2025/04/04 12:48:31.265 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=172] [2025/04/04 12:48:31.280 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119081757933569] [startKey=7480000000000001785f728000000000000001] [endKey=7480000000000001785f72800000000000270f] ["cost time"=18.69601ms] ["completed regions"=10] [2025/04/04 12:48:31.280 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=10] [startTS=457119081757933569] [commitTS=457119081757933571] [session=19] [2025/04/04 12:48:31.366 +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:3 id:174 store_id:1 id:175 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 12:48:31.366 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=176] [2025/04/04 12:48:31.367 +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:3 id:178 store_id:1 id:179 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 12:48:31.367 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=180] [2025/04/04 12:48:31.368 +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:3 id:182 store_id:1 id:183 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 12:48:31.368 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=184] [2025/04/04 12:48:31.369 +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:3 id:186 store_id:1 id:187 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 12:48:31.369 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=188] [2025/04/04 12:48:31.370 +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:3 id:190 store_id:1 id:191 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 12:48:31.370 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=192] [2025/04/04 12:48:31.371 +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:3 id:194 store_id:1 id:195 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 12:48:31.371 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=196] [2025/04/04 12:48:31.372 +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:3 id:198 store_id:1 id:199 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 12:48:31.372 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=200] [2025/04/04 12:48:31.373 +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:3 id:202 store_id:1 id:203 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 12:48:31.373 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=204] [2025/04/04 12:48:31.374 +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:3 id:206 store_id:1 id:207 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 12:48:31.374 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=9] ["region IDs"="[172,176,180,184,188,192,196,200,204]"] [2025/04/04 12:48:31.374 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=172] [backoff(ms)=299888] [2025/04/04 12:48:31.374 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=172] [2025/04/04 12:48:31.375 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=176] [backoff(ms)=299887] [2025/04/04 12:48:31.375 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=176] [2025/04/04 12:48:31.375 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=180] [backoff(ms)=299887] [2025/04/04 12:48:31.375 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=180] [2025/04/04 12:48:31.376 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=184] [backoff(ms)=299886] [2025/04/04 12:48:31.376 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=184] [2025/04/04 12:48:31.376 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=188] [backoff(ms)=299886] [2025/04/04 12:48:31.376 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=188] [2025/04/04 12:48:31.377 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=192] [backoff(ms)=299885] [2025/04/04 12:48:31.377 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=192] [2025/04/04 12:48:31.377 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=196] [backoff(ms)=299885] [2025/04/04 12:48:31.377 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=196] [2025/04/04 12:48:31.377 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=200] [backoff(ms)=299884] [2025/04/04 12:48:31.378 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=200] [2025/04/04 12:48:31.378 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=204] [backoff(ms)=299884] [2025/04/04 12:48:31.378 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=204] [2025/04/04 12:48:31.387 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119081784147976] [generation=1] [session=19] [keys=50] [size=950B] ["flushed keys"=50] ["flushed size"=950B] ["take time"=2.146125ms] [2025/04/04 12:48:31.388 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=50] [flush_wait_duration=2.254307ms] [total_duration=7.28788ms] ["memdb traversal cache hit"=50] ["memdb traversal cache miss"=100] [size=950B] [startTS=457119081784147976] [2025/04/04 12:48:31.389 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119081784147976] [commitTS=457119081784147977] [2025/04/04 12:48:31.389 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119081784147976] [startKey=7480000000000001785f728000000000000065] [endKey=7480000000000001785f72800000000000270f] [concurrency=8] [2025/04/04 12:48:31.397 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119081784147976] [startKey=7480000000000001785f728000000000000065] [endKey=7480000000000001785f72800000000000270f] ["cost time"=7.644083ms] ["completed regions"=10] [2025/04/04 12:48:31.397 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=10] [startTS=457119081784147976] [commitTS=457119081784147977] [session=19] [2025/04/04 12:48:31.397 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 12:48:31.397 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=95d6f86c-ab49-4b2e-8769-16914fa3f3d1] [] [2025/04/04 12:48:31.397 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 12:48:31.398 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=95d6f86c-ab49-4b2e-8769-16914fa3f3d1] [2025/04/04 12:48:31.398 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:48:31.398 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:48:31.398 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 34, tp general"] ["take time"=94.711µs] [2025/04/04 12:48:31.398 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 35, tp general"] ["take time"=44.996µs] [2025/04/04 12:48:31.398 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 36, tp general"] ["take time"=34.79µs] [2025/04/04 12:48:31.398 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=95d6f86c-ab49-4b2e-8769-16914fa3f3d1] [2025/04/04 12:48:31.398 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=95d6f86c-ab49-4b2e-8769-16914fa3f3d1] [2025/04/04 12:48:31.399 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 12:48:31.399 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 12:48:31.401 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=95d6f86c-ab49-4b2e-8769-16914fa3f3d1] ["take time"=3.553936ms] [2025/04/04 12:48:31.401 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=95d6f86c-ab49-4b2e-8769-16914fa3f3d1] [2025/04/04 12:48:31.401 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 12:48:31.401 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/866b754f-b33e-4ca0-a2ed-439e20054427] [2025/04/04 12:48:31.401 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=95d6f86c-ab49-4b2e-8769-16914fa3f3d1] [ttl-worker=task-manager] [ttl-worker=95d6f86c-ab49-4b2e-8769-16914fa3f3d1] [originalCount=4] [newCount=0] [2025/04/04 12:48:31.401 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:48:31.401 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:48:31.401 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:48:31.401 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:48:31.401 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=95d6f86c-ab49-4b2e-8769-16914fa3f3d1] [ttl-worker=task-manager] [ttl-worker=95d6f86c-ab49-4b2e-8769-16914fa3f3d1] [originalCount=4] [newCount=0] [2025/04/04 12:48:31.404 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:48:31.404 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:48:31.405 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:48:31.405 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:48:31.407 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=95d6f86c-ab49-4b2e-8769-16914fa3f3d1] [2025/04/04 12:48:31.407 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 12:48:31.408 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1401] [2025/04/04 12:48:31.408 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 12:48:31.408 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 12:48:31.408 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 12:48:31.408 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 12:48:31.408 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:48:31.408 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 12:48:31.408 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 12:48:31.408 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:48:31.408 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 12:48:31.408 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 12:48:31.408 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 12:48:31.408 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 12:48:31.408 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:48:31.408 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=18eefb51-5e01-45c5-80db-9a42a9fb4003] [] [2025/04/04 12:48:31.408 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:48:31.408 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:48:31.408 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 12:48:31.408 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:48:31.408 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:48:31.408 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:48:31.408 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 12:48:31.408 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 12:48:31.408 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:48:31.408 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:48:31.408 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 12:48:31.408 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 12:48:31.408 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 12:48:31.408 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:48:31.408 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:48:31.408 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:48:31.408 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=18eefb51-5e01-45c5-80db-9a42a9fb4003] [2025/04/04 12:48:31.408 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:48:31.408 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:48:31.408 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:48:31.408 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=18eefb51-5e01-45c5-80db-9a42a9fb4003] [2025/04/04 12:48:31.408 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:48:31.408 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=18eefb51-5e01-45c5-80db-9a42a9fb4003] [2025/04/04 12:48:31.408 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 12:48:31.408 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:48:31.408 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:48:31.408 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:48:31.408 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:48:31.408 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 12:48:31.408 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 12:48:31.409 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 12:48:31.408 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 12:48:31.409 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:48:31.408 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 12:48:31.409 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:48:31.408 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:48:31.408 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 12:48:31.409 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:48:31.409 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:48:31.408 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 12:48:31.409 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:48:31.408 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 12:48:31.408 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 12:48:31.409 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:48:31.409 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:48:31.408 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=95d6f86c-ab49-4b2e-8769-16914fa3f3d1] [] [2025/04/04 12:48:31.408 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 12:48:31.409 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=95d6f86c-ab49-4b2e-8769-16914fa3f3d1] [2025/04/04 12:48:31.409 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:48:31.408 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:48:31.408 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:48:31.409 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=95d6f86c-ab49-4b2e-8769-16914fa3f3d1] [2025/04/04 12:48:31.408 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:48:31.409 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=95d6f86c-ab49-4b2e-8769-16914fa3f3d1] [2025/04/04 12:48:31.408 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:48:31.409 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:48:31.410 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 12:48:31.410 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 12:48:31.410 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:48:31.410 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 12:48:31.410 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 12:48:31.410 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=18eefb51-5e01-45c5-80db-9a42a9fb4003] [daemon-id=LogBackup::Advancer] [2025/04/04 12:48:31.410 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 12:48:31.410 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:48:31.410 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:48:31.410 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:48:31.410 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 12:48:31.411 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=95d6f86c-ab49-4b2e-8769-16914fa3f3d1] [error="context canceled"] [2025/04/04 12:48:31.411 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=95d6f86c-ab49-4b2e-8769-16914fa3f3d1] [2025/04/04 12:48:31.412 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=95d6f86c-ab49-4b2e-8769-16914fa3f3d1] [error="context canceled"] [2025/04/04 12:48:31.412 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=95d6f86c-ab49-4b2e-8769-16914fa3f3d1] [error="context canceled"] [errorVerbose="context canceled\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:48:31.428 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 12:48:31.428 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:48:31.474 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 12:48:31.474 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:48:31.485 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=87.316351ms] [2025/04/04 12:48:32.345 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/04 12:48:36.251 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119081744826399 commit_ts:457119081744826400 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:48:36.251 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119081744826399 commit_ts:457119081744826400 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:48:36.251 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119081744826399 commit_ts:457119081744826400 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:48:36.281 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119081757933569 commit_ts:457119081757933571 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:48:36.281 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119081757933569 commit_ts:457119081757933571 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:48:36.281 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119081757933569 commit_ts:457119081757933571 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:48:36.398 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119081784147976 commit_ts:457119081784147977 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:48:36.398 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119081784147976 commit_ts:457119081784147977 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:48:36.398 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119081784147976 commit_ts:457119081784147977 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:48:36.398 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:48:36.398 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:48:36.398 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:48:36.398 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:48:36.398 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:48:36.398 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:48:36.398 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:48:36.398 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-9] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:48:36.398 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:48:36.398 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:48:36.398 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:48:36.398 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:48:36.399 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPipelinedDMLDelete (6.07s) === NAME === RUN TestPipelinedDMLUpdate [2025/04/04 12:48:36.408 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 12:48:36.409 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 12:48:36.410 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437819270443114] [2025/04/04 12:48:36.410 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:48:36.410 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 12:48:36.410 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:48:36.410 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:48:36.411 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:48:36.411 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:48:36.411 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:48:36.411 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:48:36.415 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 12:48:36.420 +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/04 12:48:36.421 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:48:36.422 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:48:36.431 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489437819270443114] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 12:48:36.441 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 12:48:36.475 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=296] ["lease id"=22319600d42fa5c0] [2025/04/04 12:48:36.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/04 12:48:36.564 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=350] ["elapsed time"=84.365739ms] [2025/04/04 12:48:36.564 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 12:48:36.566 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 12:48:36.572 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=d58adf38-f6e9-4a4c-8c73-47a9ab571eb8] [runWorker=true] [jobVersion=v2] [2025/04/04 12:48:36.572 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 12:48:36.574 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=d58adf38-f6e9-4a4c-8c73-47a9ab571eb8] [2025/04/04 12:48:36.575 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 12:48:36.575 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 217610727424/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 12:48:36.575 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:48:36.575 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:48:36.575 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:48:36.575 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:48:36.575 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:48:36.575 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:48:36.575 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:48:36.576 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:48:36.576 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:48:36.576 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:48:36.576 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 12:48:36.576 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 12:48:36.576 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=f234cbba-89cc-4cd2-a9a0-4ec69fa138ea] [2025/04/04 12:48:36.577 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319600d42fa5c5] [ownerID=d58adf38-f6e9-4a4c-8c73-47a9ab571eb8] [op=none] [2025/04/04 12:48:36.577 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=d58adf38-f6e9-4a4c-8c73-47a9ab571eb8] [2025/04/04 12:48:36.577 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=d58adf38-f6e9-4a4c-8c73-47a9ab571eb8] [ownerKey=/tidb/ddl/fg/owner/22319600d42fa5c5] [currRev=1639] [2025/04/04 12:48:36.578 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:48:36.578 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=f234cbba-89cc-4cd2-a9a0-4ec69fa138ea] [daemon-id=LogBackup::Advancer] [2025/04/04 12:48:36.579 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 12:48:36.579 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f189600d42f9fa2] [ownerID=f234cbba-89cc-4cd2-a9a0-4ec69fa138ea] [op=none] [2025/04/04 12:48:36.579 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=f234cbba-89cc-4cd2-a9a0-4ec69fa138ea] [2025/04/04 12:48:36.579 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=f234cbba-89cc-4cd2-a9a0-4ec69fa138ea] [ownerKey=/tidb/br-stream/owner/6f189600d42f9fa2] [currRev=1640] [2025/04/04 12:48:36.580 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319600d42fa5c5] [ownerID=d58adf38-f6e9-4a4c-8c73-47a9ab571eb8] [op=none] [2025/04/04 12:48:36.580 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=d58adf38-f6e9-4a4c-8c73-47a9ab571eb8] [op=none] [2025/04/04 12:48:36.580 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 12:48:36.589 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=d58adf38-f6e9-4a4c-8c73-47a9ab571eb8] [2025/04/04 12:48:36.590 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:48:36.590 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 12:48:36.601 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:48:36.608 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:48:36.613 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:48:36.613 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:48:36.613 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:48:36.613 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 12:48:36.613 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:48:36.613 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 12:48:36.613 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 12:48:36.613 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 12:48:36.614 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 12:48:36.614 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:48:36.614 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=d58adf38-f6e9-4a4c-8c73-47a9ab571eb8] [2025/04/04 12:48:36.616 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:48:36.616 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:48:36.616 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:48:36.616 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:48:36.616 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 12:48:36.616 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:48:36.616 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:48:36.616 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 12:48:36.616 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:48:36.616 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:48:36.616 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 12:48:36.616 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:48:36.616 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:48:36.616 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:48:36.616 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:48:36.618 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/04 12:48:36.618 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/22319600d42fa5cd] [ownerID=d58adf38-f6e9-4a4c-8c73-47a9ab571eb8] [op=none] [2025/04/04 12:48:36.619 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=d58adf38-f6e9-4a4c-8c73-47a9ab571eb8] [2025/04/04 12:48:36.619 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=d58adf38-f6e9-4a4c-8c73-47a9ab571eb8] [ownerKey=/tidb/stats/owner/22319600d42fa5cd] [currRev=1642] [2025/04/04 12:48:36.621 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/cccabcd1-1e8f-43a8-b687-e8445e1629b1] [2025/04/04 12:48:36.621 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 12:48:36.621 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=d58adf38-f6e9-4a4c-8c73-47a9ab571eb8] [ttl-worker=task-manager] [ttl-worker=d58adf38-f6e9-4a4c-8c73-47a9ab571eb8] [originalCount=0] [newCount=4] [2025/04/04 12:48:36.621 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=d58adf38-f6e9-4a4c-8c73-47a9ab571eb8] [ttl-worker=task-manager] [ttl-worker=d58adf38-f6e9-4a4c-8c73-47a9ab571eb8] [originalCount=0] [newCount=4] [2025/04/04 12:48:36.621 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:48:36.621 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=d58adf38-f6e9-4a4c-8c73-47a9ab571eb8] [2025/04/04 12:48:36.621 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 12:48:36.621 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743770916622029004 [2025/04/04 12:48:36.627 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 12:48:36.633 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=18.554994ms] [2025/04/04 12:48:36.633 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 12:48:36.633 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:48:36.636 +00:00] [INFO] [set.go:172] ["set global var"] [conn=20] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 12:48:36.639 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=20] [schemaVersion=350] [cur_db=test] [sql="alter table `_t` nocache"] [user=] [2025/04/04 12:48:36.640 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=20] [schemaVersion=350] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/04 12:48:36.654 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:380, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:378, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:36.597 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/04 12:48:36.654 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:380, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:378, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:36.597 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:48:36.660 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=380] [conn=20] [job="ID:380, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:378, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:36.597 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:36.676 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=350] [neededSchemaVersion=351] ["elapsed time"=1.79865ms] [gotSchemaVersion=351] [phyTblIDs="[378]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:48:36.680 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=380] [version=351] [2025/04/04 12:48:36.682 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=351] ["take time"=9.784186ms] [job="ID:380, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:378, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:36.597 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:36.691 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=380] [conn=20] [job="ID:380, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:378, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:36.597 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:36.706 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=351] [neededSchemaVersion=352] ["elapsed time"=1.800738ms] [gotSchemaVersion=352] [phyTblIDs="[378]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:48:36.710 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=380] [version=352] [2025/04/04 12:48:36.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=352] ["take time"=9.16704ms] [job="ID:380, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:378, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:36.597 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:36.720 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=380] [conn=20] [job="ID:380, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:378, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:36.597 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:36.726 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 378, Old Table Name: _t)"] [2025/04/04 12:48:36.739 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=352] [neededSchemaVersion=353] ["elapsed time"=1.130801ms] [gotSchemaVersion=353] [phyTblIDs="[378]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:48:36.742 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=380] [version=353] [2025/04/04 12:48:36.744 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=353] ["take time"=8.190163ms] [job="ID:380, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:378, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:36.597 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:36.753 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=380] [tableIDs="[378]"] [comment="drop table: table ID"] [2025/04/04 12:48:36.760 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=380] [jobType="drop table"] [2025/04/04 12:48:36.761 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=380] [conn=20] [job="ID:380, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:378, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:36.597 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:36.779 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=380] [2025/04/04 12:48:36.790 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:381, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:376, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:36.747 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:48:36.790 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:381, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:376, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:36.747 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/04 12:48:36.795 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=381] [conn=20] [job="ID:381, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:376, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:36.747 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:36.811 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=353] [neededSchemaVersion=354] ["elapsed time"=1.892963ms] [gotSchemaVersion=354] [phyTblIDs="[376]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:48:36.814 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=381] [version=354] [2025/04/04 12:48:36.816 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=354] ["take time"=8.838425ms] [job="ID:381, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:376, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:36.747 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:36.825 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=381] [conn=20] [job="ID:381, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:376, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:36.747 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:36.841 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=354] [neededSchemaVersion=355] ["elapsed time"=1.867378ms] [gotSchemaVersion=355] [phyTblIDs="[376]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:48:36.845 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=381] [version=355] [2025/04/04 12:48:36.846 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=355] ["take time"=8.846614ms] [job="ID:381, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:376, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:36.747 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:36.854 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=381] [conn=20] [job="ID:381, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:376, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:36.747 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:36.859 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 376, Old Table Name: t)"] [2025/04/04 12:48:36.872 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=355] [neededSchemaVersion=356] ["elapsed time"=980.968µs] [gotSchemaVersion=356] [phyTblIDs="[376]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:48:36.875 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=381] [version=356] [2025/04/04 12:48:36.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=356] ["take time"=7.724696ms] [job="ID:381, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:376, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:36.747 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:36.886 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=381] [tableIDs="[376]"] [comment="drop table: table ID"] [2025/04/04 12:48:36.890 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=381] [jobType="drop table"] [2025/04/04 12:48:36.891 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=381] [conn=20] [job="ID:381, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:376, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:36.747 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:36.908 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=381] [2025/04/04 12:48:36.908 +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: 1743770916909060404 [2025/04/04 12:48:36.920 +00:00] [INFO] [set.go:172] ["set global var"] [conn=21] [name=tidb_schema_cache_size] [val=0] [2025/04/04 12:48:36.923 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=21] [schemaVersion=356] [cur_db=test] [sql="drop table if exists t, _t"] [user=] [2025/04/04 12:48:36.937 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:383, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:382, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:36.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:48:36.937 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:383, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:382, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:36.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a int primary key, b int)"] [2025/04/04 12:48:36.943 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=383] [conn=21] [job="ID:383, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:382, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:36.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:36.948 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 382, Table Name: t)"] [2025/04/04 12:48:36.962 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=356] [neededSchemaVersion=357] ["elapsed time"=1.497086ms] [gotSchemaVersion=357] [phyTblIDs="[382]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:48:36.965 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=383] [version=357] [2025/04/04 12:48:36.967 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=357] ["take time"=8.500035ms] [job="ID:383, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:382, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:36.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:36.978 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=383] [conn=21] [job="ID:383, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:382, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:36.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:36.989 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=383] [2025/04/04 12:48:36.989 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=21] [schemaVersion=357] [cur_db=test] [sql="create table t (a int primary key, b int)"] [user=] [2025/04/04 12:48:37.002 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:385, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:384, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:36.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:48:37.002 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:385, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:384, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:36.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t like t"] [2025/04/04 12:48:37.008 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=385] [conn=21] [job="ID:385, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:384, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:36.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:37.012 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 384, Table Name: _t)"] [2025/04/04 12:48:37.027 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=357] [neededSchemaVersion=358] ["elapsed time"=1.559041ms] [gotSchemaVersion=358] [phyTblIDs="[384]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:48:37.030 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=385] [version=358] [2025/04/04 12:48:37.032 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=358] ["take time"=8.406559ms] [job="ID:385, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:384, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:36.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:37.043 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=385] [conn=21] [job="ID:385, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:384, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:36.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:37.054 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=385] [2025/04/04 12:48:37.054 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=21] [schemaVersion=358] [cur_db=test] [sql="create table _t like t"] [user=] [2025/04/04 12:48:37.058 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083278368774] [2025/04/04 12:48:37.062 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083278368778] [2025/04/04 12:48:37.066 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083278368781] [2025/04/04 12:48:37.070 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083278368784] [2025/04/04 12:48:37.074 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083278368787] [2025/04/04 12:48:37.077 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083278368791] [2025/04/04 12:48:37.081 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083278368796] [2025/04/04 12:48:37.085 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083278368800] [2025/04/04 12:48:37.089 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083278368803] [2025/04/04 12:48:37.093 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083278368806] [2025/04/04 12:48:37.097 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083278368809] [2025/04/04 12:48:37.101 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083291475970] [2025/04/04 12:48:37.104 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083291475973] [2025/04/04 12:48:37.108 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083291475976] [2025/04/04 12:48:37.112 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083291475979] [2025/04/04 12:48:37.116 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083291475982] [2025/04/04 12:48:37.120 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083291475985] [2025/04/04 12:48:37.123 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083291475988] [2025/04/04 12:48:37.127 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083291475991] [2025/04/04 12:48:37.131 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083291475994] [2025/04/04 12:48:37.135 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083291475998] [2025/04/04 12:48:37.138 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083291476001] [2025/04/04 12:48:37.142 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083291476004] [2025/04/04 12:48:37.146 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083291476007] [2025/04/04 12:48:37.150 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083304583170] [2025/04/04 12:48:37.154 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083304583173] [2025/04/04 12:48:37.157 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083304583176] [2025/04/04 12:48:37.161 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083304583179] [2025/04/04 12:48:37.165 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083304583182] [2025/04/04 12:48:37.169 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083304583185] [2025/04/04 12:48:37.172 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083304583188] [2025/04/04 12:48:37.176 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083304583191] [2025/04/04 12:48:37.179 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083304583194] [2025/04/04 12:48:37.183 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083304583198] [2025/04/04 12:48:37.187 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083304583201] [2025/04/04 12:48:37.191 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083304583204] [2025/04/04 12:48:37.194 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083304583207] [2025/04/04 12:48:37.198 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083304583210] [2025/04/04 12:48:37.202 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083317690371] [2025/04/04 12:48:37.206 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083317690374] [2025/04/04 12:48:37.210 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083317690377] [2025/04/04 12:48:37.214 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083317690380] [2025/04/04 12:48:37.218 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083317690383] [2025/04/04 12:48:37.221 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083317690386] [2025/04/04 12:48:37.225 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083317690390] [2025/04/04 12:48:37.229 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083317690393] [2025/04/04 12:48:37.233 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083317690397] [2025/04/04 12:48:37.237 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083317690400] [2025/04/04 12:48:37.241 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083317690403] [2025/04/04 12:48:37.245 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083317690406] [2025/04/04 12:48:37.249 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083317690409] [2025/04/04 12:48:37.253 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083331059715] [2025/04/04 12:48:37.256 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083331059718] [2025/04/04 12:48:37.260 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083331059721] [2025/04/04 12:48:37.264 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083331059724] [2025/04/04 12:48:37.268 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083331059727] [2025/04/04 12:48:37.272 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083331059730] [2025/04/04 12:48:37.276 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083331059733] [2025/04/04 12:48:37.280 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083331059736] [2025/04/04 12:48:37.284 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083331059740] [2025/04/04 12:48:37.288 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083331059743] [2025/04/04 12:48:37.292 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083331059746] [2025/04/04 12:48:37.296 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083331059749] [2025/04/04 12:48:37.300 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083343904770] [2025/04/04 12:48:37.304 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083343904774] [2025/04/04 12:48:37.307 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083343904777] [2025/04/04 12:48:37.312 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083343904780] [2025/04/04 12:48:37.315 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083343904783] [2025/04/04 12:48:37.319 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083343904786] [2025/04/04 12:48:37.323 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083343904789] [2025/04/04 12:48:37.327 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083343904792] [2025/04/04 12:48:37.331 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083343904797] [2025/04/04 12:48:37.335 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083343904802] [2025/04/04 12:48:37.338 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083343904805] [2025/04/04 12:48:37.343 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083343904808] [2025/04/04 12:48:37.348 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083343904811] [2025/04/04 12:48:37.351 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083357011971] [2025/04/04 12:48:37.355 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083357011974] [2025/04/04 12:48:37.359 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083357011977] [2025/04/04 12:48:37.363 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083357011980] [2025/04/04 12:48:37.367 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083357011983] [2025/04/04 12:48:37.371 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083357011986] [2025/04/04 12:48:37.374 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083357011989] [2025/04/04 12:48:37.378 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083357011992] [2025/04/04 12:48:37.382 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083357011996] [2025/04/04 12:48:37.386 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083357011999] [2025/04/04 12:48:37.390 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083357012002] [2025/04/04 12:48:37.394 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083357012005] [2025/04/04 12:48:37.397 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083357012008] [2025/04/04 12:48:37.401 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083370119171] [2025/04/04 12:48:37.405 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083370119174] [2025/04/04 12:48:37.409 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083370119177] [2025/04/04 12:48:37.412 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083370119180] [2025/04/04 12:48:37.416 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083370119184] [2025/04/04 12:48:37.420 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083370119188] [2025/04/04 12:48:37.424 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083370119191] [2025/04/04 12:48:37.427 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083370119194] [2025/04/04 12:48:37.431 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083370119197] [2025/04/04 12:48:37.435 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083370119201] [2025/04/04 12:48:37.439 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119083370119204] [2025/04/04 12:48:37.453 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119083383488514] [generation=1] [session=21] [keys=10] [size=290B] ["flushed keys"=10] ["flushed size"=290B] ["take time"=1.187055ms] [2025/04/04 12:48:37.454 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119083383488514] [generation=2] [session=21] [keys=25] [size=725B] ["flushed keys"=35] ["flushed size"=1.015kB] ["take time"=1.387226ms] [2025/04/04 12:48:37.455 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119083383488514] [generation=3] [session=21] [keys=30] [size=870B] ["flushed keys"=65] ["flushed size"=1.885kB] ["take time"=1.316936ms] [2025/04/04 12:48:37.457 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119083383488514] [generation=4] [session=21] [keys=29] [size=841B] ["flushed keys"=94] ["flushed size"=2.726kB] ["take time"=1.170977ms] [2025/04/04 12:48:37.458 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119083383488514] [generation=5] [session=21] [keys=6] [size=174B] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=857.607µs] [2025/04/04 12:48:37.458 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=100] [flush_wait_duration=1.772431ms] [total_duration=8.528612ms] ["memdb traversal cache hit"=200] ["memdb traversal cache miss"=100] [size=2.9kB] [startTS=457119083383488514] [2025/04/04 12:48:37.459 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119083383488514] [commitTS=457119083383488515] [2025/04/04 12:48:37.459 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119083383488514] [startKey=74800000000000017e5f728000000000000000] [endKey=74800000000000017e5f728000000000000063] [concurrency=8] [2025/04/04 12:48:37.465 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119083383488514] [startKey=74800000000000017e5f728000000000000000] [endKey=74800000000000017e5f728000000000000063] ["cost time"=5.490951ms] ["completed regions"=1] [2025/04/04 12:48:37.465 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119083383488514] [commitTS=457119083383488515] [session=21] [2025/04/04 12:48:37.470 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119083383488517] [generation=1] [session=21] [keys=10] [size=240B] ["flushed keys"=10] ["flushed size"=240B] ["take time"=1.255179ms] [2025/04/04 12:48:37.472 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119083383488517] [generation=2] [session=21] [keys=26] [size=624B] ["flushed keys"=36] ["flushed size"=864B] ["take time"=1.542469ms] [2025/04/04 12:48:37.473 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119083383488517] [generation=3] [session=21] [keys=32] [size=768B] ["flushed keys"=68] ["flushed size"=1.632kB] ["take time"=1.415452ms] [2025/04/04 12:48:37.475 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119083383488517] [generation=4] [session=21] [keys=32] [size=768B] ["flushed keys"=100] ["flushed size"=2.4kB] ["take time"=1.418306ms] [2025/04/04 12:48:37.477 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119083383488517] [generation=5] [session=21] [keys=32] [size=768B] ["flushed keys"=132] ["flushed size"=3.168kB] ["take time"=1.384544ms] [2025/04/04 12:48:37.478 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119083383488517] [generation=6] [session=21] [keys=30] [size=720B] ["flushed keys"=162] ["flushed size"=3.888kB] ["take time"=1.491686ms] [2025/04/04 12:48:37.480 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119083383488517] [generation=7] [session=21] [keys=32] [size=768B] ["flushed keys"=194] ["flushed size"=4.656kB] ["take time"=1.332607ms] [2025/04/04 12:48:37.481 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119083383488517] [generation=8] [session=21] [keys=4] [size=96B] ["flushed keys"=198] ["flushed size"=4.752kB] ["take time"=913.44µs] [2025/04/04 12:48:37.481 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=198] [flush_wait_duration=2.045336ms] [total_duration=14.221457ms] ["memdb traversal cache hit"=297] ["memdb traversal cache miss"=396] [size=4.752kB] [startTS=457119083383488517] [2025/04/04 12:48:37.482 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119083383488517] [commitTS=457119083383488519] [2025/04/04 12:48:37.483 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119083383488517] [startKey=74800000000000017e5f728000000000000001] [endKey=74800000000000017e5f7280000000000026ac] [concurrency=8] [2025/04/04 12:48:37.483 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=9] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=74800000000000017e5f7280000000000003e8] [2025/04/04 12:48:37.486 +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:3 id:210 store_id:1 id:211 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=9] [2025/04/04 12:48:37.486 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=208] [2025/04/04 12:48:37.502 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119083383488517] [startKey=74800000000000017e5f728000000000000001] [endKey=74800000000000017e5f7280000000000026ac] ["cost time"=19.703394ms] ["completed regions"=10] [2025/04/04 12:48:37.502 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=10] [startTS=457119083383488517] [commitTS=457119083383488519] [session=21] [2025/04/04 12:48:37.583 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/04 12:48:37.583 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 12:48:37.583 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 12:48:37.583 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:48:37.587 +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:3 id:210 store_id:1 id:211 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 12:48:37.587 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=212] [2025/04/04 12:48:37.588 +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:3 id:214 store_id:1 id:215 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 12:48:37.588 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=216] [2025/04/04 12:48:37.589 +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:3 id:218 store_id:1 id:219 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 12:48:37.589 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=220] [2025/04/04 12:48:37.590 +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:3 id:222 store_id:1 id:223 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 12:48:37.590 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=224] [2025/04/04 12:48:37.590 +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:3 id:226 store_id:1 id:227 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 12:48:37.591 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=228] [2025/04/04 12:48:37.591 +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:3 id:230 store_id:1 id:231 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 12:48:37.592 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=232] [2025/04/04 12:48:37.592 +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:3 id:234 store_id:1 id:235 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 12:48:37.593 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=236] [2025/04/04 12:48:37.593 +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:3 id:238 store_id:1 id:239 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 12:48:37.593 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=240] [2025/04/04 12:48:37.594 +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:3 id:242 store_id:1 id:243 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/04 12:48:37.594 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=9] ["region IDs"="[208,212,216,220,224,228,232,236,240]"] [2025/04/04 12:48:37.594 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=208] [backoff(ms)=299889] [2025/04/04 12:48:37.595 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=208] [2025/04/04 12:48:37.595 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=212] [backoff(ms)=299888] [2025/04/04 12:48:37.595 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=212] [2025/04/04 12:48:37.596 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=216] [backoff(ms)=299887] [2025/04/04 12:48:37.596 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=216] [2025/04/04 12:48:37.596 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=220] [backoff(ms)=299887] [2025/04/04 12:48:37.596 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=220] [2025/04/04 12:48:37.596 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=224] [backoff(ms)=299887] [2025/04/04 12:48:37.597 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=224] [2025/04/04 12:48:37.597 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=228] [backoff(ms)=299886] [2025/04/04 12:48:37.597 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=228] [2025/04/04 12:48:37.597 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=232] [backoff(ms)=299886] [2025/04/04 12:48:37.598 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=232] [2025/04/04 12:48:37.598 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=236] [backoff(ms)=299885] [2025/04/04 12:48:37.598 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=236] [2025/04/04 12:48:37.598 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=240] [backoff(ms)=299885] [2025/04/04 12:48:37.599 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=240] [2025/04/04 12:48:37.606 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119083422547969] [generation=1] [session=21] [keys=10] [size=290B] ["flushed keys"=10] ["flushed size"=290B] ["take time"=1.28677ms] [2025/04/04 12:48:37.607 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119083422547969] [generation=2] [session=21] [keys=26] [size=754B] ["flushed keys"=36] ["flushed size"=1.044kB] ["take time"=1.350519ms] [2025/04/04 12:48:37.609 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119083422547969] [generation=3] [session=21] [keys=26] [size=754B] ["flushed keys"=62] ["flushed size"=1.798kB] ["take time"=1.485893ms] [2025/04/04 12:48:37.611 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119083422547969] [generation=4] [session=21] [keys=32] [size=928B] ["flushed keys"=94] ["flushed size"=2.726kB] ["take time"=1.504027ms] [2025/04/04 12:48:37.612 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119083422547969] [generation=5] [session=21] [keys=6] [size=174B] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=910.561µs] [2025/04/04 12:48:37.612 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=100] [flush_wait_duration=2.146001ms] [total_duration=11.464909ms] ["memdb traversal cache hit"=200] ["memdb traversal cache miss"=100] [size=2.9kB] [startTS=457119083422547969] [2025/04/04 12:48:37.613 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119083422547969] [commitTS=457119083422547970] [2025/04/04 12:48:37.613 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119083422547969] [startKey=74800000000000017e5f728000000000000000] [endKey=74800000000000017e5f7280000000000026ac] [concurrency=8] [2025/04/04 12:48:37.620 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 12:48:37.620 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 12:48:37.620 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=d58adf38-f6e9-4a4c-8c73-47a9ab571eb8] [] [2025/04/04 12:48:37.620 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=d58adf38-f6e9-4a4c-8c73-47a9ab571eb8] [2025/04/04 12:48:37.620 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:48:37.620 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:48:37.620 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 37, tp general"] ["take time"=61.383µs] [2025/04/04 12:48:37.620 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 38, tp general"] ["take time"=39.229µs] [2025/04/04 12:48:37.620 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 39, tp general"] ["take time"=36.234µs] [2025/04/04 12:48:37.620 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 40, tp general"] ["take time"=28.662µs] [2025/04/04 12:48:37.620 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=d58adf38-f6e9-4a4c-8c73-47a9ab571eb8] [2025/04/04 12:48:37.621 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=d58adf38-f6e9-4a4c-8c73-47a9ab571eb8] [2025/04/04 12:48:37.620 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119083422547969] [startKey=74800000000000017e5f728000000000000000] [endKey=74800000000000017e5f7280000000000026ac] ["cost time"=7.123356ms] ["completed regions"=10] [2025/04/04 12:48:37.621 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=10] [startTS=457119083422547969] [commitTS=457119083422547970] [session=21] [2025/04/04 12:48:37.622 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 12:48:37.622 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 12:48:37.623 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=d58adf38-f6e9-4a4c-8c73-47a9ab571eb8] ["take time"=3.155124ms] [2025/04/04 12:48:37.623 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=d58adf38-f6e9-4a4c-8c73-47a9ab571eb8] [2025/04/04 12:48:37.623 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 12:48:37.623 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/cccabcd1-1e8f-43a8-b687-e8445e1629b1] [2025/04/04 12:48:37.623 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=d58adf38-f6e9-4a4c-8c73-47a9ab571eb8] [ttl-worker=task-manager] [ttl-worker=d58adf38-f6e9-4a4c-8c73-47a9ab571eb8] [originalCount=4] [newCount=0] [2025/04/04 12:48:37.623 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:48:37.623 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:48:37.623 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:48:37.623 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:48:37.623 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=d58adf38-f6e9-4a4c-8c73-47a9ab571eb8] [ttl-worker=task-manager] [ttl-worker=d58adf38-f6e9-4a4c-8c73-47a9ab571eb8] [originalCount=4] [newCount=0] [2025/04/04 12:48:37.626 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:48:37.626 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:48:37.626 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:48:37.626 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:48:37.628 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=d58adf38-f6e9-4a4c-8c73-47a9ab571eb8] [2025/04/04 12:48:37.628 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 12:48:37.629 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=296] [2025/04/04 12:48:37.630 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 12:48:37.630 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 12:48:37.630 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:48:37.630 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=f234cbba-89cc-4cd2-a9a0-4ec69fa138ea] [] [2025/04/04 12:48:37.630 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 12:48:37.630 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 12:48:37.630 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 12:48:37.630 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:48:37.630 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 12:48:37.630 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:48:37.630 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 12:48:37.630 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:48:37.630 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:48:37.630 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 12:48:37.630 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 12:48:37.630 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:48:37.630 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:48:37.630 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:48:37.630 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 12:48:37.630 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 12:48:37.630 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 12:48:37.630 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 12:48:37.630 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 12:48:37.630 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=d58adf38-f6e9-4a4c-8c73-47a9ab571eb8] [] [2025/04/04 12:48:37.630 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:48:37.630 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:48:37.630 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:48:37.630 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=d58adf38-f6e9-4a4c-8c73-47a9ab571eb8] [2025/04/04 12:48:37.630 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 12:48:37.630 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:48:37.630 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:48:37.630 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=f234cbba-89cc-4cd2-a9a0-4ec69fa138ea] [2025/04/04 12:48:37.630 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 12:48:37.630 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 12:48:37.630 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 12:48:37.630 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=f234cbba-89cc-4cd2-a9a0-4ec69fa138ea] [2025/04/04 12:48:37.630 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=f234cbba-89cc-4cd2-a9a0-4ec69fa138ea] [2025/04/04 12:48:37.630 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 12:48:37.630 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:48:37.630 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 12:48:37.630 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:48:37.630 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:48:37.630 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:48:37.630 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:48:37.630 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 12:48:37.630 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:48:37.630 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:48:37.630 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 12:48:37.630 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 12:48:37.630 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:48:37.630 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 12:48:37.630 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:48:37.630 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:48:37.630 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 12:48:37.631 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:48:37.630 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 12:48:37.630 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 12:48:37.631 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:48:37.630 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:48:37.631 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:48:37.631 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:48:37.630 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 12:48:37.630 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:48:37.630 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:48:37.631 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:48:37.630 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:48:37.631 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:48:37.630 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 12:48:37.631 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:48:37.632 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=f234cbba-89cc-4cd2-a9a0-4ec69fa138ea] [daemon-id=LogBackup::Advancer] [2025/04/04 12:48:37.632 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 12:48:37.632 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 12:48:37.632 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 12:48:37.632 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:48:37.632 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:48:37.632 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:48:37.632 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 12:48:37.633 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=d58adf38-f6e9-4a4c-8c73-47a9ab571eb8] [error="context canceled"] [2025/04/04 12:48:37.633 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=d58adf38-f6e9-4a4c-8c73-47a9ab571eb8] [2025/04/04 12:48:37.633 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=d58adf38-f6e9-4a4c-8c73-47a9ab571eb8] [error="context canceled"] [2025/04/04 12:48:37.633 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=d58adf38-f6e9-4a4c-8c73-47a9ab571eb8] [error="context canceled"] [errorVerbose="context canceled\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:48:37.649 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 12:48:37.649 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:48:37.742 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 12:48:37.742 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:48:37.750 +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/ddl/session.(*Session).BeginPessimistic\n\tpkg/ddl/session/session.go:55\ngithub.com/pingcap/tidb/pkg/ddl/notifier.(*DDLNotifier).processEventForHandler\n\tpkg/ddl/notifier/subscribe.go:280\ngithub.com/pingcap/tidb/pkg/ddl/notifier.(*DDLNotifier).processEvents\n\tpkg/ddl/notifier/subscribe.go:217\ngithub.com/pingcap/tidb/pkg/ddl/notifier.(*DDLNotifier).start\n\tpkg/ddl/notifier/subscribe.go:163\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithRecover.func1\n\tpkg/util/wait_group_wrapper.go:199\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700\ngithub.com/tikv/client-go/v2/oracle/oracles.(*tsFuture).Wait\n\texternal/com_github_tikv_client_go_v2/oracle/oracles/pd.go:242\ngithub.com/pingcap/tidb/pkg/session.(*txnFuture).wait\n\tpkg/session/txn.go:684\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).changePendingToValid\n\tpkg/session/txn.go:293\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Wait\n\tpkg/session/txn.go:609\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*baseTxnContextProvider).ActivateTxn\n\tpkg/sessiontxn/isolation/base.go:299\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*baseTxnContextProvider).OnInitialize\n\tpkg/sessiontxn/isolation/base.go:146\ngithub.com/pingcap/tidb/pkg/session.(*txnManager).EnterNewTxn\n\tpkg/session/txnmanager.go:161\ngithub.com/pingcap/tidb/pkg/ddl/session.(*Session).BeginPessimistic\n\tpkg/ddl/session/session.go:55\ngithub.com/pingcap/tidb/pkg/ddl/notifier.(*DDLNotifier).processEventForHandler\n\tpkg/ddl/notifier/subscribe.go:280\ngithub.com/pingcap/tidb/pkg/ddl/notifier.(*DDLNotifier).processEvents\n\tpkg/ddl/notifier/subscribe.go:217\ngithub.com/pingcap/tidb/pkg/ddl/notifier.(*DDLNotifier).start\n\tpkg/ddl/notifier/subscribe.go:163\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithRecover.func1\n\tpkg/util/wait_group_wrapper.go:199\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:48:37.755 +00:00] [ERROR] [select_result.go:556] ["invalid cop task execution summaries length"] [expected=2] [received=0] [stack="github.com/pingcap/tidb/pkg/distsql.(*selectResult).updateCopRuntimeStats\n\tpkg/distsql/select_result.go:556\ngithub.com/pingcap/tidb/pkg/distsql.(*selectResult).Close\n\tpkg/distsql/select_result.go:611\ngithub.com/pingcap/tidb/pkg/executor.closeAll\n\tpkg/executor/distsql.go:143\ngithub.com/pingcap/tidb/pkg/executor.(*tableResultHandler).Close\n\tpkg/executor/table_reader.go:634\ngithub.com/pingcap/tidb/pkg/executor.(*TableReaderExecutor).Close\n\tpkg/executor/table_reader.go:351\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Close\n\tpkg/executor/internal/exec/executor.go:480\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.(*BaseExecutorV2).Close\n\tpkg/executor/internal/exec/executor.go:315\ngithub.com/pingcap/tidb/pkg/executor.(*LimitExec).Close\n\tpkg/executor/select.go:511\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Close\n\tpkg/executor/internal/exec/executor.go:480\ngithub.com/pingcap/tidb/pkg/executor.(*recordSet).Finish.func1\n\tpkg/executor/adapter.go:202\nsync.(*Once).doSlow\n\tGOROOT/src/sync/once.go:76\nsync.(*Once).Do\n\tGOROOT/src/sync/once.go:67\ngithub.com/pingcap/tidb/pkg/executor.(*recordSet).Finish\n\tpkg/executor/adapter.go:201\ngithub.com/pingcap/tidb/pkg/session.(*execStmtResult).Finish.func1\n\tpkg/session/session.go:2377\nsync.(*Once).doSlow\n\tGOROOT/src/sync/once.go:76\nsync.(*Once).Do\n\tGOROOT/src/sync/once.go:67\ngithub.com/pingcap/tidb/pkg/session.(*execStmtResult).Finish\n\tpkg/session/session.go:2374\ngithub.com/pingcap/tidb/pkg/session.(*execStmtResult).Close\n\tpkg/session/session.go:2393\ngithub.com/pingcap/tidb/pkg/parser/terror.Call\n\tpkg/parser/terror/terror.go:315\ngithub.com/pingcap/tidb/pkg/ddl/session.(*Session).Execute\n\tpkg/ddl/session/session.go:110\ngithub.com/pingcap/tidb/pkg/ddl/notifier.(*listResult).Read\n\tpkg/ddl/notifier/store.go:180\ngithub.com/pingcap/tidb/pkg/ddl/notifier.(*DDLNotifier).processEvents\n\tpkg/ddl/notifier/subscribe.go:204\ngithub.com/pingcap/tidb/pkg/ddl/notifier.(*DDLNotifier).start\n\tpkg/ddl/notifier/subscribe.go:163\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithRecover.func1\n\tpkg/util/wait_group_wrapper.go:199"] [2025/04/04 12:48:37.755 +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/04 12:48:37.755 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=d58adf38-f6e9-4a4c-8c73-47a9ab571eb8] [2025/04/04 12:48:37.756 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/stats/owner] [id=d58adf38-f6e9-4a4c-8c73-47a9ab571eb8] [2025/04/04 12:48:37.756 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=d58adf38-f6e9-4a4c-8c73-47a9ab571eb8] [error="context canceled"] [2025/04/04 12:48:37.756 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/stats/owner] [id=d58adf38-f6e9-4a4c-8c73-47a9ab571eb8] [error="context canceled"] [errorVerbose="context canceled\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:48:37.756 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 12:48:37.756 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 12:48:37.756 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:48:37.766 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=146.5552ms] [2025/04/04 12:48:38.416 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/04 12:48:42.466 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119083383488514 commit_ts:457119083383488515 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:48:42.466 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119083383488514 commit_ts:457119083383488515 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:48:42.466 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119083383488514 commit_ts:457119083383488515 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:48:42.503 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119083383488517 commit_ts:457119083383488519 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:48:42.503 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119083383488517 commit_ts:457119083383488519 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:48:42.503 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119083383488517 commit_ts:457119083383488519 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:48:42.621 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119083422547969 commit_ts:457119083422547970 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:48:42.621 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119083422547969 commit_ts:457119083422547970 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:48:42.621 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119083422547969 commit_ts:457119083422547970 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:48:42.622 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:48:42.622 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:48:42.622 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:48:42.622 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:48:42.622 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:48:42.622 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:48:42.622 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:48:42.622 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:48:42.622 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-10] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:48:42.622 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:48:42.622 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:48:42.622 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:48:42.623 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPipelinedDMLUpdate (6.22s) === NAME === RUN TestPipelinedDMLCommitFailed [2025/04/04 12:48:42.631 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 12:48:42.632 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 12:48:42.633 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437819270443114] [2025/04/04 12:48:42.633 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:48:42.633 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 12:48:42.634 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:48:42.634 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:48:42.634 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:48:42.634 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:48:42.634 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:48:42.634 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:48:42.638 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 12:48:42.643 +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/04 12:48:42.644 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:48:42.644 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:48:42.654 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489437819270443114] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 12:48:42.664 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 12:48:42.696 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=818] ["lease id"=22319600d42fa5ee] [2025/04/04 12:48:42.698 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/04 12:48:42.785 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=358] ["elapsed time"=83.881293ms] [2025/04/04 12:48:42.785 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 12:48:42.787 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 12:48:42.793 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=da831f16-e644-4a51-9899-e2a7a90aff71] [runWorker=true] [jobVersion=v2] [2025/04/04 12:48:42.793 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 12:48:42.795 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=da831f16-e644-4a51-9899-e2a7a90aff71] [2025/04/04 12:48:42.796 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 12:48:42.796 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 217610764288/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 12:48:42.796 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:48:42.796 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:48:42.796 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:48:42.796 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:48:42.796 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:48:42.796 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:48:42.796 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:48:42.796 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:48:42.796 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 12:48:42.796 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:48:42.796 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:48:42.796 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 12:48:42.797 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=6ed94b23-3b1d-40f9-897f-61576e32a456] [2025/04/04 12:48:42.798 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f189600d42f9fcb] [ownerID=da831f16-e644-4a51-9899-e2a7a90aff71] [op=none] [2025/04/04 12:48:42.798 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=da831f16-e644-4a51-9899-e2a7a90aff71] [2025/04/04 12:48:42.799 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=da831f16-e644-4a51-9899-e2a7a90aff71] [ownerKey=/tidb/ddl/fg/owner/6f189600d42f9fcb] [currRev=1680] [2025/04/04 12:48:42.799 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:48:42.799 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=6ed94b23-3b1d-40f9-897f-61576e32a456] [daemon-id=LogBackup::Advancer] [2025/04/04 12:48:42.800 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 12:48:42.800 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f189600d42f9fcd] [ownerID=6ed94b23-3b1d-40f9-897f-61576e32a456] [op=none] [2025/04/04 12:48:42.800 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=6ed94b23-3b1d-40f9-897f-61576e32a456] [2025/04/04 12:48:42.800 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=6ed94b23-3b1d-40f9-897f-61576e32a456] [ownerKey=/tidb/br-stream/owner/6f189600d42f9fcd] [currRev=1681] [2025/04/04 12:48:42.801 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f189600d42f9fcb] [ownerID=da831f16-e644-4a51-9899-e2a7a90aff71] [op=none] [2025/04/04 12:48:42.801 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=da831f16-e644-4a51-9899-e2a7a90aff71] [op=none] [2025/04/04 12:48:42.801 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 12:48:42.810 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=da831f16-e644-4a51-9899-e2a7a90aff71] [2025/04/04 12:48:42.811 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:48:42.811 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 12:48:42.820 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:48:42.827 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:48:42.832 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:48:42.832 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:48:42.832 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 12:48:42.832 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:48:42.832 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 12:48:42.832 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:48:42.832 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 12:48:42.832 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 12:48:42.832 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 12:48:42.833 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:48:42.833 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=da831f16-e644-4a51-9899-e2a7a90aff71] [2025/04/04 12:48:42.834 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:48:42.834 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:48:42.834 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:48:42.834 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:48:42.834 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:48:42.834 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 12:48:42.835 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:48:42.835 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:48:42.835 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 12:48:42.835 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:48:42.835 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 12:48:42.835 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:48:42.835 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:48:42.835 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:48:42.835 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:48:42.837 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/04 12:48:42.839 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/708f8d8f-de99-476b-b8f6-7739eeb09722] [2025/04/04 12:48:42.839 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 12:48:42.839 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=da831f16-e644-4a51-9899-e2a7a90aff71] [ttl-worker=task-manager] [ttl-worker=da831f16-e644-4a51-9899-e2a7a90aff71] [originalCount=0] [newCount=4] [2025/04/04 12:48:42.839 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=da831f16-e644-4a51-9899-e2a7a90aff71] [ttl-worker=task-manager] [ttl-worker=da831f16-e644-4a51-9899-e2a7a90aff71] [originalCount=0] [newCount=4] [2025/04/04 12:48:42.840 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=da831f16-e644-4a51-9899-e2a7a90aff71] [2025/04/04 12:48:42.840 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:48:42.840 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 12:48:42.840 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743770922840537123 [2025/04/04 12:48:42.844 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 12:48:42.851 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=17.351875ms] [2025/04/04 12:48:42.851 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:48:42.851 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 12:48:42.860 +00:00] [INFO] [set.go:172] ["set global var"] [conn=22] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 12:48:42.863 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=22] [schemaVersion=358] [cur_db=test] [sql="alter table `_t` nocache"] [user=] [2025/04/04 12:48:42.864 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=22] [schemaVersion=358] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/04 12:48:42.878 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:386, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:384, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:42.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:48:42.878 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:386, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:384, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:42.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/04 12:48:42.884 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=386] [conn=22] [job="ID:386, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:384, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:42.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:42.900 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=358] [neededSchemaVersion=359] ["elapsed time"=1.85061ms] [gotSchemaVersion=359] [phyTblIDs="[384]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:48:42.904 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=386] [version=359] [2025/04/04 12:48:42.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=359] ["take time"=9.757637ms] [job="ID:386, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:384, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:42.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:42.916 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=386] [conn=22] [job="ID:386, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:384, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:42.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:42.932 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=359] [neededSchemaVersion=360] ["elapsed time"=1.853267ms] [gotSchemaVersion=360] [phyTblIDs="[384]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:48:42.935 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=386] [version=360] [2025/04/04 12:48:42.937 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=360] ["take time"=8.956407ms] [job="ID:386, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:384, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:42.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:42.946 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=386] [conn=22] [job="ID:386, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:384, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:42.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:42.952 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 384, Old Table Name: _t)"] [2025/04/04 12:48:42.964 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=360] [neededSchemaVersion=361] ["elapsed time"=954.818µs] [gotSchemaVersion=361] [phyTblIDs="[384]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:48:42.968 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=386] [version=361] [2025/04/04 12:48:42.969 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=361] ["take time"=7.442571ms] [job="ID:386, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:384, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:42.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:42.978 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=386] [tableIDs="[384]"] [comment="drop table: table ID"] [2025/04/04 12:48:42.985 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=386] [jobType="drop table"] [2025/04/04 12:48:42.986 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=386] [conn=22] [job="ID:386, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:384, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:42.847 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:43.003 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=386] [2025/04/04 12:48:43.014 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:387, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:382, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:42.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/04 12:48:43.014 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:387, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:382, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:42.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:48:43.019 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=387] [conn=22] [job="ID:387, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:382, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:42.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:43.034 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=361] [neededSchemaVersion=362] ["elapsed time"=1.874519ms] [gotSchemaVersion=362] [phyTblIDs="[382]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:48:43.038 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=387] [version=362] [2025/04/04 12:48:43.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=362] ["take time"=9.283111ms] [job="ID:387, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:382, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:42.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:43.050 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=387] [conn=22] [job="ID:387, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:382, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:42.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:43.065 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=362] [neededSchemaVersion=363] ["elapsed time"=1.927557ms] [gotSchemaVersion=363] [phyTblIDs="[382]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:48:43.069 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=387] [version=363] [2025/04/04 12:48:43.070 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=363] ["take time"=8.632049ms] [job="ID:387, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:382, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:42.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:43.079 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=387] [conn=22] [job="ID:387, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:382, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:42.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:43.085 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 382, Old Table Name: t)"] [2025/04/04 12:48:43.098 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=363] [neededSchemaVersion=364] ["elapsed time"=1.09183ms] [gotSchemaVersion=364] [phyTblIDs="[382]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:48:43.102 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=387] [version=364] [2025/04/04 12:48:43.103 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=364] ["take time"=8.228873ms] [job="ID:387, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:382, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:42.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:43.112 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=387] [tableIDs="[382]"] [comment="drop table: table ID"] [2025/04/04 12:48:43.116 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=387] [jobType="drop table"] [2025/04/04 12:48:43.117 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=387] [conn=22] [job="ID:387, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:382, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:42.998 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:43.133 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=387] [2025/04/04 12:48:43.134 +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: 1743770923134351293 testkit.go:123: RefreshSession rand seed: 1743770923136510852 [2025/04/04 12:48:43.140 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=23] [schemaVersion=364] [cur_db=test] [sql="drop table if exists t, _t"] [user=] [2025/04/04 12:48:43.153 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:389, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:388, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:43.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a int primary key, b int)"] [2025/04/04 12:48:43.153 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:389, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:388, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:43.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:48:43.157 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=389] [conn=23] [job="ID:389, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:388, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:43.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:43.162 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 388, Table Name: t)"] [2025/04/04 12:48:43.176 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=364] [neededSchemaVersion=365] ["elapsed time"=1.517506ms] [gotSchemaVersion=365] [phyTblIDs="[388]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:48:43.180 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=389] [version=365] [2025/04/04 12:48:43.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=365] ["take time"=8.779893ms] [job="ID:389, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:388, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:43.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:43.192 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=389] [conn=23] [job="ID:389, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:388, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:43.098 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:43.203 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=389] [2025/04/04 12:48:43.204 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=23] [schemaVersion=365] [cur_db=test] [sql="create table t (a int primary key, b int)"] [user=] [2025/04/04 12:48:43.217 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:391, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:390, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:43.197 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:48:43.217 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:391, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:390, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:43.197 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t like t"] [2025/04/04 12:48:43.223 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=391] [conn=23] [job="ID:391, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:390, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:43.197 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:43.227 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 390, Table Name: _t)"] [2025/04/04 12:48:43.241 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=365] [neededSchemaVersion=366] ["elapsed time"=1.553872ms] [gotSchemaVersion=366] [phyTblIDs="[390]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:48:43.245 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=391] [version=366] [2025/04/04 12:48:43.247 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=366] ["take time"=8.951256ms] [job="ID:391, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:390, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:43.197 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:43.258 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=391] [conn=23] [job="ID:391, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:390, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:43.197 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:43.269 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=391] [2025/04/04 12:48:43.270 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=23] [schemaVersion=366] [cur_db=test] [sql="create table _t like t"] [user=] [2025/04/04 12:48:43.273 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084903923721] [2025/04/04 12:48:43.276 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084903923725] [2025/04/04 12:48:43.280 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084903923728] [2025/04/04 12:48:43.284 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084903923731] [2025/04/04 12:48:43.288 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084903923734] [2025/04/04 12:48:43.292 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084903923737] [2025/04/04 12:48:43.295 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084903923740] [2025/04/04 12:48:43.299 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084903923744] [2025/04/04 12:48:43.303 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084917030918] [2025/04/04 12:48:43.307 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084917030923] [2025/04/04 12:48:43.311 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084917030926] [2025/04/04 12:48:43.315 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084917030929] [2025/04/04 12:48:43.319 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084917030932] [2025/04/04 12:48:43.323 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084917030935] [2025/04/04 12:48:43.327 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084917030938] [2025/04/04 12:48:43.330 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084917030941] [2025/04/04 12:48:43.334 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084917030944] [2025/04/04 12:48:43.338 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084917030947] [2025/04/04 12:48:43.342 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084917030950] [2025/04/04 12:48:43.345 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084917030953] [2025/04/04 12:48:43.349 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084917030956] [2025/04/04 12:48:43.353 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084930138116] [2025/04/04 12:48:43.357 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084930138119] [2025/04/04 12:48:43.361 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084930138122] [2025/04/04 12:48:43.365 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084930138125] [2025/04/04 12:48:43.368 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084930138128] [2025/04/04 12:48:43.372 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084930138131] [2025/04/04 12:48:43.376 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084930138134] [2025/04/04 12:48:43.380 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084930138137] [2025/04/04 12:48:43.384 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084930138140] [2025/04/04 12:48:43.387 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084930138143] [2025/04/04 12:48:43.391 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084930138146] [2025/04/04 12:48:43.395 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084930138149] [2025/04/04 12:48:43.398 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084930138152] [2025/04/04 12:48:43.402 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084943245315] [2025/04/04 12:48:43.406 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084943245319] [2025/04/04 12:48:43.410 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084943245322] [2025/04/04 12:48:43.414 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084943245325] [2025/04/04 12:48:43.418 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084943245328] [2025/04/04 12:48:43.422 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084943245331] [2025/04/04 12:48:43.425 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084943245334] [2025/04/04 12:48:43.429 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084943245337] [2025/04/04 12:48:43.433 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084943245340] [2025/04/04 12:48:43.437 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084943245343] [2025/04/04 12:48:43.441 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084943245346] [2025/04/04 12:48:43.445 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084943245350] [2025/04/04 12:48:43.449 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084956090369] [2025/04/04 12:48:43.453 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084956090373] [2025/04/04 12:48:43.457 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084956090376] [2025/04/04 12:48:43.461 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084956090379] [2025/04/04 12:48:43.464 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084956090382] [2025/04/04 12:48:43.468 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084956090385] [2025/04/04 12:48:43.472 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084956090388] [2025/04/04 12:48:43.475 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084956090391] [2025/04/04 12:48:43.479 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084956090394] [2025/04/04 12:48:43.483 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084956090397] [2025/04/04 12:48:43.487 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084956090400] [2025/04/04 12:48:43.490 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084956090403] [2025/04/04 12:48:43.494 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084956090406] [2025/04/04 12:48:43.497 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084956090409] [2025/04/04 12:48:43.501 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084969197571] [2025/04/04 12:48:43.505 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084969197575] [2025/04/04 12:48:43.509 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084969197578] [2025/04/04 12:48:43.512 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084969197581] [2025/04/04 12:48:43.516 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084969197584] [2025/04/04 12:48:43.520 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084969197587] [2025/04/04 12:48:43.524 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084969197590] [2025/04/04 12:48:43.527 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084969197593] [2025/04/04 12:48:43.531 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084969197596] [2025/04/04 12:48:43.535 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084969197599] [2025/04/04 12:48:43.539 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084969197602] [2025/04/04 12:48:43.542 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084969197605] [2025/04/04 12:48:43.546 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084969197608] [2025/04/04 12:48:43.550 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084982566914] [2025/04/04 12:48:43.555 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084982566920] [2025/04/04 12:48:43.560 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084982566923] [2025/04/04 12:48:43.564 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084982566926] [2025/04/04 12:48:43.568 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084982566929] [2025/04/04 12:48:43.572 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084982566932] [2025/04/04 12:48:43.576 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084982566935] [2025/04/04 12:48:43.579 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084982566938] [2025/04/04 12:48:43.583 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084982566941] [2025/04/04 12:48:43.587 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084982566944] [2025/04/04 12:48:43.591 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084982566947] [2025/04/04 12:48:43.595 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084982566950] [2025/04/04 12:48:43.599 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084982566953] [2025/04/04 12:48:43.602 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084995411971] [2025/04/04 12:48:43.606 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084995411975] [2025/04/04 12:48:43.610 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084995411978] [2025/04/04 12:48:43.614 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084995411981] [2025/04/04 12:48:43.618 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084995411984] [2025/04/04 12:48:43.621 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084995411987] [2025/04/04 12:48:43.625 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084995411990] [2025/04/04 12:48:43.629 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084995411993] [2025/04/04 12:48:43.633 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084995411996] [2025/04/04 12:48:43.637 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084995411999] [2025/04/04 12:48:43.640 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084995412002] [2025/04/04 12:48:43.644 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084995412005] [2025/04/04 12:48:43.648 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119084995412008] [2025/04/04 12:48:43.652 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119085008519171] [2025/04/04 12:48:43.666 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119085008519176] [generation=1] [session=23] [keys=100] [size=2.9kB] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=2.494173ms] [2025/04/04 12:48:43.666 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119085008519176] [generation=2] [session=23] [keys=0] [size=0B] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=30.785µs] [2025/04/04 12:48:43.666 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=100] [flush_wait_duration=2.593328ms] [total_duration=7.073969ms] ["memdb traversal cache hit"=200] ["memdb traversal cache miss"=200] [size=2.9kB] [startTS=457119085008519176] [2025/04/04 12:48:43.667 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-rollback-457119085008519176] [startKey=7480000000000001865f728000000000000000] [endKey=7480000000000001865f728000000000000063] [concurrency=8] [2025/04/04 12:48:43.667 +00:00] [WARN] [session.go:820] ["can not retry txn"] [label=general] [error="pipelined DML commit failed"] [errorVerbose="pipelined DML commit failed\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).commitFlushedMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/pipelined_flush.go:325\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).execute\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1809\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:853\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Commit\n\tpkg/store/driver/txn/txn_driver.go:117\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Commit\n\tpkg/session/txn.go:437\ngithub.com/pingcap/tidb/pkg/session.(*session).commitTxnWithTemporaryData\n\tpkg/session/session.go:672\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommit\n\tpkg/session/session.go:552\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommitWithRetry\n\tpkg/session/session.go:794\ngithub.com/pingcap/tidb/pkg/session.(*session).CommitTxn\n\tpkg/session/session.go:924\ngithub.com/pingcap/tidb/pkg/session.autoCommitAfterStmt\n\tpkg/session/tidb.go:278\ngithub.com/pingcap/tidb/pkg/session.finishStmt\n\tpkg/session/tidb.go:240\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2336\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecToErr\n\tpkg/testkit/testkit.go:484\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestPipelinedDMLCommitFailed\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:645\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=false] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2025/04/04 12:48:43.667 +00:00] [WARN] [session.go:836] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="pipelined DML commit failed"] [errorVerbose="pipelined DML commit failed\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).commitFlushedMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/pipelined_flush.go:325\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).execute\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1809\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:853\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Commit\n\tpkg/store/driver/txn/txn_driver.go:117\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Commit\n\tpkg/session/txn.go:437\ngithub.com/pingcap/tidb/pkg/session.(*session).commitTxnWithTemporaryData\n\tpkg/session/session.go:672\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommit\n\tpkg/session/session.go:552\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommitWithRetry\n\tpkg/session/session.go:794\ngithub.com/pingcap/tidb/pkg/session.(*session).CommitTxn\n\tpkg/session/session.go:924\ngithub.com/pingcap/tidb/pkg/session.autoCommitAfterStmt\n\tpkg/session/tidb.go:278\ngithub.com/pingcap/tidb/pkg/session.finishStmt\n\tpkg/session/tidb.go:240\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2336\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecToErr\n\tpkg/testkit/testkit.go:484\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestPipelinedDMLCommitFailed\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:645\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:48:43.668 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=366] [error="pipelined DML commit failed"] [errorVerbose="pipelined DML commit failed\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).commitFlushedMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/pipelined_flush.go:325\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).execute\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1809\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:853\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Commit\n\tpkg/store/driver/txn/txn_driver.go:117\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Commit\n\tpkg/session/txn.go:437\ngithub.com/pingcap/tidb/pkg/session.(*session).commitTxnWithTemporaryData\n\tpkg/session/session.go:672\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommit\n\tpkg/session/session.go:552\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommitWithRetry\n\tpkg/session/session.go:794\ngithub.com/pingcap/tidb/pkg/session.(*session).CommitTxn\n\tpkg/session/session.go:924\ngithub.com/pingcap/tidb/pkg/session.autoCommitAfterStmt\n\tpkg/session/tidb.go:278\ngithub.com/pingcap/tidb/pkg/session.finishStmt\n\tpkg/session/tidb.go:240\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2336\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecToErr\n\tpkg/testkit/testkit.go:484\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestPipelinedDMLCommitFailed\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:645\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [session="{\n \"currDBName\": \"test\",\n \"id\": 23,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2025/04/04 12:48:43.673 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-rollback-457119085008519176] [startKey=7480000000000001865f728000000000000000] [endKey=7480000000000001865f728000000000000063] ["cost time"=5.578381ms] ["completed regions"=1] [2025/04/04 12:48:43.673 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=1] [startTS=457119085008519176] [commitTS=0] [session=23] [2025/04/04 12:48:43.681 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119085008519179] [generation=1] [session=23] [keys=100] [size=2.9kB] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=2.498548ms] [2025/04/04 12:48:43.681 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119085008519179] [generation=2] [session=23] [keys=0] [size=0B] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=28.228µs] [2025/04/04 12:48:43.681 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=100] [flush_wait_duration=2.566658ms] [total_duration=7.211962ms] ["memdb traversal cache hit"=200] ["memdb traversal cache miss"=200] [size=2.9kB] [startTS=457119085008519179] [2025/04/04 12:48:43.682 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-rollback-457119085008519179] [startKey=7480000000000001845f728000000000000064] [endKey=7480000000000001845f7280000000000000c7] [concurrency=8] [2025/04/04 12:48:43.682 +00:00] [WARN] [session.go:820] ["can not retry txn"] [label=general] [error="pipelined DML commit failed"] [errorVerbose="pipelined DML commit failed\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).commitFlushedMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/pipelined_flush.go:325\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).execute\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1809\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:853\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Commit\n\tpkg/store/driver/txn/txn_driver.go:117\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Commit\n\tpkg/session/txn.go:437\ngithub.com/pingcap/tidb/pkg/session.(*session).commitTxnWithTemporaryData\n\tpkg/session/session.go:672\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommit\n\tpkg/session/session.go:552\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommitWithRetry\n\tpkg/session/session.go:794\ngithub.com/pingcap/tidb/pkg/session.(*session).CommitTxn\n\tpkg/session/session.go:924\ngithub.com/pingcap/tidb/pkg/session.autoCommitAfterStmt\n\tpkg/session/tidb.go:278\ngithub.com/pingcap/tidb/pkg/session.finishStmt\n\tpkg/session/tidb.go:240\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2336\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecToErr\n\tpkg/testkit/testkit.go:484\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestPipelinedDMLCommitFailed\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:650\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=false] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2025/04/04 12:48:43.682 +00:00] [WARN] [session.go:836] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="pipelined DML commit failed"] [errorVerbose="pipelined DML commit failed\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).commitFlushedMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/pipelined_flush.go:325\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).execute\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1809\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:853\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Commit\n\tpkg/store/driver/txn/txn_driver.go:117\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Commit\n\tpkg/session/txn.go:437\ngithub.com/pingcap/tidb/pkg/session.(*session).commitTxnWithTemporaryData\n\tpkg/session/session.go:672\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommit\n\tpkg/session/session.go:552\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommitWithRetry\n\tpkg/session/session.go:794\ngithub.com/pingcap/tidb/pkg/session.(*session).CommitTxn\n\tpkg/session/session.go:924\ngithub.com/pingcap/tidb/pkg/session.autoCommitAfterStmt\n\tpkg/session/tidb.go:278\ngithub.com/pingcap/tidb/pkg/session.finishStmt\n\tpkg/session/tidb.go:240\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2336\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecToErr\n\tpkg/testkit/testkit.go:484\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestPipelinedDMLCommitFailed\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:650\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:48:43.682 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=366] [error="pipelined DML commit failed"] [errorVerbose="pipelined DML commit failed\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).commitFlushedMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/pipelined_flush.go:325\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).execute\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1809\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:853\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Commit\n\tpkg/store/driver/txn/txn_driver.go:117\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Commit\n\tpkg/session/txn.go:437\ngithub.com/pingcap/tidb/pkg/session.(*session).commitTxnWithTemporaryData\n\tpkg/session/session.go:672\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommit\n\tpkg/session/session.go:552\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommitWithRetry\n\tpkg/session/session.go:794\ngithub.com/pingcap/tidb/pkg/session.(*session).CommitTxn\n\tpkg/session/session.go:924\ngithub.com/pingcap/tidb/pkg/session.autoCommitAfterStmt\n\tpkg/session/tidb.go:278\ngithub.com/pingcap/tidb/pkg/session.finishStmt\n\tpkg/session/tidb.go:240\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2336\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecToErr\n\tpkg/testkit/testkit.go:484\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestPipelinedDMLCommitFailed\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:650\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [session="{\n \"currDBName\": \"test\",\n \"id\": 23,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2025/04/04 12:48:43.685 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-rollback-457119085008519179] [startKey=7480000000000001845f728000000000000064] [endKey=7480000000000001845f7280000000000000c7] ["cost time"=3.249983ms] ["completed regions"=1] [2025/04/04 12:48:43.685 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=1] [startTS=457119085008519179] [commitTS=0] [session=23] [2025/04/04 12:48:43.688 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 12:48:43.688 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=da831f16-e644-4a51-9899-e2a7a90aff71] [] [2025/04/04 12:48:43.688 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=da831f16-e644-4a51-9899-e2a7a90aff71] [2025/04/04 12:48:43.688 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 12:48:43.688 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:48:43.689 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:48:43.689 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 41, tp general"] ["take time"=48.361µs] [2025/04/04 12:48:43.689 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 42, tp general"] ["take time"=33.349µs] [2025/04/04 12:48:43.689 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 43, tp general"] ["take time"=30.128µs] [2025/04/04 12:48:43.689 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 44, tp general"] ["take time"=38.834µs] [2025/04/04 12:48:43.689 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=da831f16-e644-4a51-9899-e2a7a90aff71] [2025/04/04 12:48:43.689 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=da831f16-e644-4a51-9899-e2a7a90aff71] [2025/04/04 12:48:43.690 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 12:48:43.690 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 12:48:43.691 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=da831f16-e644-4a51-9899-e2a7a90aff71] ["take time"=3.188398ms] [2025/04/04 12:48:43.692 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=da831f16-e644-4a51-9899-e2a7a90aff71] [2025/04/04 12:48:43.692 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 12:48:43.692 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/708f8d8f-de99-476b-b8f6-7739eeb09722] [2025/04/04 12:48:43.692 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=da831f16-e644-4a51-9899-e2a7a90aff71] [ttl-worker=task-manager] [ttl-worker=da831f16-e644-4a51-9899-e2a7a90aff71] [originalCount=4] [newCount=0] [2025/04/04 12:48:43.692 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:48:43.692 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:48:43.692 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:48:43.692 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:48:43.692 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=da831f16-e644-4a51-9899-e2a7a90aff71] [ttl-worker=task-manager] [ttl-worker=da831f16-e644-4a51-9899-e2a7a90aff71] [originalCount=4] [newCount=0] [2025/04/04 12:48:43.694 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:48:43.694 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:48:43.694 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:48:43.695 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:48:43.697 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=da831f16-e644-4a51-9899-e2a7a90aff71] [2025/04/04 12:48:43.697 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 12:48:43.697 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=818] [2025/04/04 12:48:43.698 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 12:48:43.698 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 12:48:43.698 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 12:48:43.698 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 12:48:43.698 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 12:48:43.698 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:48:43.698 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:48:43.698 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 12:48:43.698 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:48:43.698 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 12:48:43.698 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:48:43.698 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:48:43.698 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:48:43.698 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:48:43.698 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 12:48:43.698 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:48:43.698 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 12:48:43.698 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 12:48:43.698 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:48:43.698 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 12:48:43.698 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:48:43.698 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 12:48:43.698 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:48:43.698 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:48:43.698 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 12:48:43.698 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:48:43.698 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 12:48:43.698 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 12:48:43.698 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:48:43.698 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 12:48:43.698 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 12:48:43.698 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:48:43.698 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:48:43.698 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:48:43.698 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 12:48:43.698 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 12:48:43.698 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 12:48:43.698 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:48:43.698 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:48:43.698 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:48:43.698 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:48:43.698 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:48:43.698 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 12:48:43.698 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:48:43.698 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:48:43.698 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 12:48:43.698 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 12:48:43.698 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:48:43.698 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=6ed94b23-3b1d-40f9-897f-61576e32a456] [] [2025/04/04 12:48:43.698 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:48:43.698 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:48:43.698 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=6ed94b23-3b1d-40f9-897f-61576e32a456] [2025/04/04 12:48:43.698 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:48:43.698 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 12:48:43.698 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:48:43.698 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:48:43.698 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=6ed94b23-3b1d-40f9-897f-61576e32a456] [2025/04/04 12:48:43.698 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=6ed94b23-3b1d-40f9-897f-61576e32a456] [2025/04/04 12:48:43.698 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 12:48:43.699 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:48:43.698 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:48:43.698 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 12:48:43.699 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:48:43.698 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:48:43.698 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 12:48:43.699 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:48:43.699 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/stats/owner] [id=da831f16-e644-4a51-9899-e2a7a90aff71] [error="context canceled"] [2025/04/04 12:48:43.699 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=da831f16-e644-4a51-9899-e2a7a90aff71] [2025/04/04 12:48:43.700 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 12:48:43.700 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 12:48:43.700 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:48:43.700 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=6ed94b23-3b1d-40f9-897f-61576e32a456] [daemon-id=LogBackup::Advancer] [2025/04/04 12:48:43.700 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 12:48:43.700 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:48:43.700 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:48:43.700 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 12:48:43.700 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=da831f16-e644-4a51-9899-e2a7a90aff71] [error="context canceled"] [2025/04/04 12:48:43.700 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 12:48:43.700 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 12:48:43.700 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:48:43.701 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=da831f16-e644-4a51-9899-e2a7a90aff71] [error="context canceled"] [2025/04/04 12:48:43.701 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=da831f16-e644-4a51-9899-e2a7a90aff71] [2025/04/04 12:48:43.717 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 12:48:43.717 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:48:43.761 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=da831f16-e644-4a51-9899-e2a7a90aff71] [error="context canceled"] [2025/04/04 12:48:43.761 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 12:48:43.761 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:48:43.771 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=83.135233ms] [2025/04/04 12:48:44.639 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/04 12:48:48.674 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119085008519176 rolled_back:true is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:48:48.674 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119085008519176 rolled_back:true is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:48:48.674 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119085008519176 rolled_back:true is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:48:48.686 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119085008519179 rolled_back:true is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:48:48.686 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119085008519179 rolled_back:true is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:48:48.686 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119085008519179 rolled_back:true is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:48:48.686 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:48:48.686 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:48:48.686 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:48:48.686 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:48:48.686 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:48:48.686 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:48:48.686 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:48:48.686 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-11] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:48:48.686 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:48:48.686 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:48:48.686 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:48:48.686 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:48:48.687 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPipelinedDMLCommitFailed (6.06s) === NAME === RUN TestPipelinedDMLCommitSkipSecondaries [2025/04/04 12:48:48.696 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 12:48:48.697 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 12:48:48.697 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437819270443114] [2025/04/04 12:48:48.698 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:48:48.698 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 12:48:48.698 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:48:48.698 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:48:48.698 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:48:48.698 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:48:48.699 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:48:48.699 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:48:48.702 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 12:48:48.707 +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/04 12:48:48.708 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:48:48.709 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:48:48.718 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489437819270443114] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 12:48:48.728 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 12:48:48.762 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1624] ["lease id"=3eaa9600d42f9a84] [2025/04/04 12:48:48.764 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/04 12:48:48.856 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=366] ["elapsed time"=89.708425ms] [2025/04/04 12:48:48.856 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 12:48:48.858 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 12:48:48.864 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=1eabf4f5-b7ca-4bea-9574-947931f36155] [runWorker=true] [jobVersion=v2] [2025/04/04 12:48:48.864 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 12:48:48.866 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=1eabf4f5-b7ca-4bea-9574-947931f36155] [2025/04/04 12:48:48.867 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 12:48:48.867 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 217610776576/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 12:48:48.867 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:48:48.867 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:48:48.867 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:48:48.867 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:48:48.867 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:48:48.868 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:48:48.868 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:48:48.868 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:48:48.868 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 12:48:48.868 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:48:48.868 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:48:48.868 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 12:48:48.868 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=f05d42ce-d9a0-459b-83df-e0ec98db74c6] [2025/04/04 12:48:48.870 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319600d42fa61a] [ownerID=1eabf4f5-b7ca-4bea-9574-947931f36155] [op=none] [2025/04/04 12:48:48.870 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=1eabf4f5-b7ca-4bea-9574-947931f36155] [2025/04/04 12:48:48.870 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=1eabf4f5-b7ca-4bea-9574-947931f36155] [ownerKey=/tidb/ddl/fg/owner/22319600d42fa61a] [currRev=1722] [2025/04/04 12:48:48.870 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:48:48.870 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=f05d42ce-d9a0-459b-83df-e0ec98db74c6] [daemon-id=LogBackup::Advancer] [2025/04/04 12:48:48.871 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/22319600d42fa61c] [ownerID=f05d42ce-d9a0-459b-83df-e0ec98db74c6] [op=none] [2025/04/04 12:48:48.871 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=f05d42ce-d9a0-459b-83df-e0ec98db74c6] [2025/04/04 12:48:48.871 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=f05d42ce-d9a0-459b-83df-e0ec98db74c6] [ownerKey=/tidb/br-stream/owner/22319600d42fa61c] [currRev=1722] [2025/04/04 12:48:48.872 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 12:48:48.872 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319600d42fa61a] [ownerID=1eabf4f5-b7ca-4bea-9574-947931f36155] [op=none] [2025/04/04 12:48:48.872 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=1eabf4f5-b7ca-4bea-9574-947931f36155] [op=none] [2025/04/04 12:48:48.872 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 12:48:48.881 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=1eabf4f5-b7ca-4bea-9574-947931f36155] [2025/04/04 12:48:48.882 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:48:48.882 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 12:48:48.891 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:48:48.898 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:48:48.903 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:48:48.903 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:48:48.903 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:48:48.903 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 12:48:48.903 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 12:48:48.903 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:48:48.903 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 12:48:48.903 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 12:48:48.903 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 12:48:48.904 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:48:48.904 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=1eabf4f5-b7ca-4bea-9574-947931f36155] [2025/04/04 12:48:48.905 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:48:48.905 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:48:48.905 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:48:48.905 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:48:48.905 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:48:48.905 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:48:48.905 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 12:48:48.905 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 12:48:48.905 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:48:48.905 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:48:48.906 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 12:48:48.906 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:48:48.906 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:48:48.906 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:48:48.906 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:48:48.907 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/04 12:48:48.910 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/e72ab025-6b07-4c82-8e63-b6c4300eb416] [2025/04/04 12:48:48.910 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=1eabf4f5-b7ca-4bea-9574-947931f36155] [ttl-worker=task-manager] [ttl-worker=1eabf4f5-b7ca-4bea-9574-947931f36155] [originalCount=0] [newCount=4] [2025/04/04 12:48:48.910 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=1eabf4f5-b7ca-4bea-9574-947931f36155] [ttl-worker=task-manager] [ttl-worker=1eabf4f5-b7ca-4bea-9574-947931f36155] [originalCount=0] [newCount=4] [2025/04/04 12:48:48.910 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=1eabf4f5-b7ca-4bea-9574-947931f36155] [2025/04/04 12:48:48.911 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 12:48:48.911 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:48:48.911 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 12:48:48.911 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743770928911597046 [2025/04/04 12:48:48.916 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 12:48:48.923 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=18.270327ms] [2025/04/04 12:48:48.923 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:48:48.923 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 12:48:48.924 +00:00] [INFO] [set.go:172] ["set global var"] [conn=25] [name=tidb_schema_cache_size] [val=0] [2025/04/04 12:48:48.945 +00:00] [INFO] [set.go:172] ["set global var"] [conn=25] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 12:48:48.947 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=366] [cur_db=test] [sql="alter table `_t` nocache"] [user=] [2025/04/04 12:48:48.949 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=366] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/04 12:48:48.962 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:392, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:390, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:48.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:48:48.962 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:392, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:390, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:48.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/04 12:48:48.968 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=392] [conn=25] [job="ID:392, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:390, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:48.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:48.984 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=366] [neededSchemaVersion=367] ["elapsed time"=1.774766ms] [gotSchemaVersion=367] [phyTblIDs="[390]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:48:48.988 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=392] [version=367] [2025/04/04 12:48:48.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=367] ["take time"=9.32282ms] [job="ID:392, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:390, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:48.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:49.000 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=392] [conn=25] [job="ID:392, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:390, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:48.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:49.016 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=367] [neededSchemaVersion=368] ["elapsed time"=1.860228ms] [gotSchemaVersion=368] [phyTblIDs="[390]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:48:49.019 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=392] [version=368] [2025/04/04 12:48:49.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=368] ["take time"=9.085636ms] [job="ID:392, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:390, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:48.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:49.029 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=392] [conn=25] [job="ID:392, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:390, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:48.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:49.036 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 390, Old Table Name: _t)"] [2025/04/04 12:48:49.048 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=368] [neededSchemaVersion=369] ["elapsed time"=1.034247ms] [gotSchemaVersion=369] [phyTblIDs="[390]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:48:49.052 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=392] [version=369] [2025/04/04 12:48:49.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=369] ["take time"=8.252547ms] [job="ID:392, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:390, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:48.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:49.063 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=392] [tableIDs="[390]"] [comment="drop table: table ID"] [2025/04/04 12:48:49.070 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=392] [jobType="drop table"] [2025/04/04 12:48:49.071 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=392] [conn=25] [job="ID:392, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:390, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:48.948 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:49.089 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=392] [2025/04/04 12:48:49.100 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:393, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:388, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:49.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:48:49.100 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:393, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:388, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:49.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/04 12:48:49.105 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=393] [conn=25] [job="ID:393, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:388, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:49.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:49.121 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=369] [neededSchemaVersion=370] ["elapsed time"=1.924928ms] [gotSchemaVersion=370] [phyTblIDs="[388]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:48:49.125 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=393] [version=370] [2025/04/04 12:48:49.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=370] ["take time"=9.538011ms] [job="ID:393, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:388, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:49.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:49.137 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=393] [conn=25] [job="ID:393, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:388, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:49.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:49.152 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=370] [neededSchemaVersion=371] ["elapsed time"=1.89082ms] [gotSchemaVersion=371] [phyTblIDs="[388]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:48:49.156 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=393] [version=371] [2025/04/04 12:48:49.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=371] ["take time"=8.994088ms] [job="ID:393, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:388, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:49.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:49.166 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=393] [conn=25] [job="ID:393, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:388, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:49.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:49.172 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 388, Old Table Name: t)"] [2025/04/04 12:48:49.185 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=371] [neededSchemaVersion=372] ["elapsed time"=1.041761ms] [gotSchemaVersion=372] [phyTblIDs="[388]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:48:49.189 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=393] [version=372] [2025/04/04 12:48:49.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=372] ["take time"=8.046409ms] [job="ID:393, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:388, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:49.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:49.200 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=393] [tableIDs="[388]"] [comment="drop table: table ID"] [2025/04/04 12:48:49.204 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=393] [jobType="drop table"] [2025/04/04 12:48:49.205 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=393] [conn=25] [job="ID:393, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:388, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:49.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:49.331 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=393] [2025/04/04 12:48:49.331 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 25\n# Query_time: 0.38257563\n# Parse_time: 0.000084015\n# Compile_time: 0.000264802\n# Rewrite_time: 0.000004256\n# Optimize_time: 0.000044272\n# Wait_TS: 0.000452137\n# DB: test\n# Is_internal: false\n# Digest: 1d598c400a4fb4369dc077dca9a083040a8c43d93f07445071b1410ea9ffe67a\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nuse test;\ndrop table `_t`,`t`;"] [2025/04/04 12:48:49.332 +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: 1743770929332352233 [2025/04/04 12:48:49.336 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=26] [schemaVersion=372] [cur_db=test] [sql="drop table if exists t, _t"] [user=] [2025/04/04 12:48:49.348 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:395, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:394, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:49.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:48:49.348 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:395, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:394, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:49.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a int primary key, b int)"] [2025/04/04 12:48:49.354 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=395] [conn=26] [job="ID:395, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:394, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:49.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:49.359 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 394, Table Name: t)"] [2025/04/04 12:48:49.371 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=372] [neededSchemaVersion=373] ["elapsed time"=1.524818ms] [gotSchemaVersion=373] [phyTblIDs="[394]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:48:49.375 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=395] [version=373] [2025/04/04 12:48:49.377 +00:00] [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"=7.07268ms] [job="ID:395, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:394, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:49.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:49.387 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=395] [conn=26] [job="ID:395, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:394, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:49.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:49.398 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=395] [2025/04/04 12:48:49.399 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=26] [schemaVersion=373] [cur_db=test] [sql="create table t (a int primary key, b int)"] [user=] [2025/04/04 12:48:49.412 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:397, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:396, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:49.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:48:49.412 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:397, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:396, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:49.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t like t"] [2025/04/04 12:48:49.418 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=397] [conn=26] [job="ID:397, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:396, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:49.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:49.423 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 396, Table Name: _t)"] [2025/04/04 12:48:49.438 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=373] [neededSchemaVersion=374] ["elapsed time"=1.582481ms] [gotSchemaVersion=374] [phyTblIDs="[396]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:48:49.442 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=397] [version=374] [2025/04/04 12:48:49.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=374] ["take time"=9.198534ms] [job="ID:397, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:396, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:49.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:49.455 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=397] [conn=26] [job="ID:397, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:396, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:49.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:49.466 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=397] [2025/04/04 12:48:49.466 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=26] [schemaVersion=374] [cur_db=test] [sql="create table _t like t"] [user=] [2025/04/04 12:48:49.469 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086528954376] [2025/04/04 12:48:49.473 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086528954380] [2025/04/04 12:48:49.477 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086528954384] [2025/04/04 12:48:49.481 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086528954387] [2025/04/04 12:48:49.484 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086528954390] [2025/04/04 12:48:49.488 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086528954393] [2025/04/04 12:48:49.492 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086528954396] [2025/04/04 12:48:49.495 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086528954399] [2025/04/04 12:48:49.499 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086528954402] [2025/04/04 12:48:49.503 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086542323715] [2025/04/04 12:48:49.506 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086542323718] [2025/04/04 12:48:49.510 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086542323721] [2025/04/04 12:48:49.514 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086542323725] [2025/04/04 12:48:49.517 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086542323728] [2025/04/04 12:48:49.521 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086542323731] [2025/04/04 12:48:49.525 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086542323735] [2025/04/04 12:48:49.529 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086542323738] [2025/04/04 12:48:49.532 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086542323741] [2025/04/04 12:48:49.536 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086542323744] [2025/04/04 12:48:49.540 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086542323747] [2025/04/04 12:48:49.544 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086542323750] [2025/04/04 12:48:49.547 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086542323753] [2025/04/04 12:48:49.551 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086555168771] [2025/04/04 12:48:49.555 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086555168774] [2025/04/04 12:48:49.558 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086555168777] [2025/04/04 12:48:49.562 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086555168780] [2025/04/04 12:48:49.566 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086555168783] [2025/04/04 12:48:49.570 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086555168786] [2025/04/04 12:48:49.573 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086555168789] [2025/04/04 12:48:49.577 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086555168793] [2025/04/04 12:48:49.581 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086555168796] [2025/04/04 12:48:49.585 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086555168799] [2025/04/04 12:48:49.588 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086555168802] [2025/04/04 12:48:49.592 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086555168805] [2025/04/04 12:48:49.595 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086555168808] [2025/04/04 12:48:49.599 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086555168811] [2025/04/04 12:48:49.603 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086568538115] [2025/04/04 12:48:49.606 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086568538118] [2025/04/04 12:48:49.610 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086568538121] [2025/04/04 12:48:49.614 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086568538124] [2025/04/04 12:48:49.618 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086568538127] [2025/04/04 12:48:49.622 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086568538132] [2025/04/04 12:48:49.625 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086568538137] [2025/04/04 12:48:49.629 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086568538140] [2025/04/04 12:48:49.633 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086568538143] [2025/04/04 12:48:49.637 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086568538146] [2025/04/04 12:48:49.640 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086568538149] [2025/04/04 12:48:49.644 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086568538152] [2025/04/04 12:48:49.647 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086568538155] [2025/04/04 12:48:49.651 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086581383171] [2025/04/04 12:48:49.654 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086581383174] [2025/04/04 12:48:49.658 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086581383177] [2025/04/04 12:48:49.661 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086581383180] [2025/04/04 12:48:49.665 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086581383183] [2025/04/04 12:48:49.669 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086581383186] [2025/04/04 12:48:49.672 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086581383189] [2025/04/04 12:48:49.676 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086581383193] [2025/04/04 12:48:49.680 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086581383196] [2025/04/04 12:48:49.683 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086581383199] [2025/04/04 12:48:49.687 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086581383202] [2025/04/04 12:48:49.691 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086581383205] [2025/04/04 12:48:49.694 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086581383208] [2025/04/04 12:48:49.698 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086581383211] [2025/04/04 12:48:49.702 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086594752515] [2025/04/04 12:48:49.706 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086594752518] [2025/04/04 12:48:49.710 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086594752521] [2025/04/04 12:48:49.713 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086594752524] [2025/04/04 12:48:49.717 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086594752527] [2025/04/04 12:48:49.720 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086594752530] [2025/04/04 12:48:49.724 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086594752533] [2025/04/04 12:48:49.728 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086594752537] [2025/04/04 12:48:49.731 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086594752540] [2025/04/04 12:48:49.735 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086594752543] [2025/04/04 12:48:49.738 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086594752546] [2025/04/04 12:48:49.742 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086594752549] [2025/04/04 12:48:49.746 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086594752552] [2025/04/04 12:48:49.749 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086607597570] [2025/04/04 12:48:49.753 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086607597573] [2025/04/04 12:48:49.756 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086607597576] [2025/04/04 12:48:49.760 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086607597579] [2025/04/04 12:48:49.764 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086607597582] [2025/04/04 12:48:49.767 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086607597585] [2025/04/04 12:48:49.771 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086607597588] [2025/04/04 12:48:49.774 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086607597591] [2025/04/04 12:48:49.778 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086607597595] [2025/04/04 12:48:49.781 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086607597598] [2025/04/04 12:48:49.785 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086607597601] [2025/04/04 12:48:49.789 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086607597604] [2025/04/04 12:48:49.792 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086607597607] [2025/04/04 12:48:49.796 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086607597610] [2025/04/04 12:48:49.800 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086620966914] [2025/04/04 12:48:49.803 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086620966917] [2025/04/04 12:48:49.807 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086620966920] [2025/04/04 12:48:49.810 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086620966923] [2025/04/04 12:48:49.814 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086620966927] [2025/04/04 12:48:49.818 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086620966930] [2025/04/04 12:48:49.821 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086620966933] [2025/04/04 12:48:49.826 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086620966937] [2025/04/04 12:48:49.829 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086620966940] [2025/04/04 12:48:49.833 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086620966943] [2025/04/04 12:48:49.848 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119086620966947] [generation=1] [session=26] [keys=100] [size=2.9kB] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=3.035144ms] [2025/04/04 12:48:49.848 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119086620966947] [generation=2] [session=26] [keys=0] [size=0B] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=47.731µs] [2025/04/04 12:48:49.848 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=100] [flush_wait_duration=3.1827ms] [total_duration=7.711087ms] ["memdb traversal cache hit"=200] ["memdb traversal cache miss"=200] [size=2.9kB] [startTS=457119086620966947] [2025/04/04 12:48:49.849 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119086620966947] [commitTS=457119086633811969] [2025/04/04 12:48:49.868 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119086633811972] [generation=1] [session=26] [keys=100] [size=2.9kB] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=2.654362ms] [2025/04/04 12:48:49.868 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119086633811972] [generation=2] [session=26] [keys=0] [size=0B] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=24.748µs] [2025/04/04 12:48:49.868 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=100] [flush_wait_duration=2.741095ms] [total_duration=7.29503ms] ["memdb traversal cache hit"=200] ["memdb traversal cache miss"=200] [size=2.9kB] [startTS=457119086633811972] [2025/04/04 12:48:49.869 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119086633811972] [commitTS=457119086633811974] [2025/04/04 12:48:49.875 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=1eabf4f5-b7ca-4bea-9574-947931f36155] [] [2025/04/04 12:48:49.875 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 12:48:49.876 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=1eabf4f5-b7ca-4bea-9574-947931f36155] [2025/04/04 12:48:49.876 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/04 12:48:49.876 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 12:48:49.876 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 12:48:49.876 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:48:49.876 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 12:48:49.876 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:48:49.877 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:48:49.877 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 45, tp general"] ["take time"=69.617µs] [2025/04/04 12:48:49.877 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 46, tp general"] ["take time"=36.328µs] [2025/04/04 12:48:49.877 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 47, tp general"] ["take time"=33.326µs] [2025/04/04 12:48:49.877 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 48, tp general"] ["take time"=38.345µs] [2025/04/04 12:48:49.877 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=1eabf4f5-b7ca-4bea-9574-947931f36155] [2025/04/04 12:48:49.877 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=1eabf4f5-b7ca-4bea-9574-947931f36155] [2025/04/04 12:48:49.878 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 12:48:49.878 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 12:48:49.880 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=1eabf4f5-b7ca-4bea-9574-947931f36155] ["take time"=4.917943ms] [2025/04/04 12:48:49.880 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=1eabf4f5-b7ca-4bea-9574-947931f36155] [2025/04/04 12:48:49.880 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 12:48:49.880 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/e72ab025-6b07-4c82-8e63-b6c4300eb416] [2025/04/04 12:48:49.881 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=1eabf4f5-b7ca-4bea-9574-947931f36155] [ttl-worker=task-manager] [ttl-worker=1eabf4f5-b7ca-4bea-9574-947931f36155] [originalCount=4] [newCount=0] [2025/04/04 12:48:49.881 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:48:49.881 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:48:49.881 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:48:49.881 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:48:49.881 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=1eabf4f5-b7ca-4bea-9574-947931f36155] [ttl-worker=task-manager] [ttl-worker=1eabf4f5-b7ca-4bea-9574-947931f36155] [originalCount=4] [newCount=0] [2025/04/04 12:48:49.883 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:48:49.883 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:48:49.883 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:48:49.884 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:48:49.886 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=1eabf4f5-b7ca-4bea-9574-947931f36155] [2025/04/04 12:48:49.886 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 12:48:49.886 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1624] [2025/04/04 12:48:49.887 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 12:48:49.887 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 12:48:49.887 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 12:48:49.887 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 12:48:49.887 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 12:48:49.887 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 12:48:49.887 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:48:49.887 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:48:49.887 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:48:49.887 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 12:48:49.887 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 12:48:49.887 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 12:48:49.887 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 12:48:49.887 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 12:48:49.887 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 12:48:49.887 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 12:48:49.887 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:48:49.887 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 12:48:49.887 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:48:49.887 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 12:48:49.887 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 12:48:49.887 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 12:48:49.887 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 12:48:49.887 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:48:49.887 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:48:49.887 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 12:48:49.887 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:48:49.887 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:48:49.887 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 12:48:49.887 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:48:49.887 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:48:49.887 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 12:48:49.887 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:48:49.887 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:48:49.887 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=f05d42ce-d9a0-459b-83df-e0ec98db74c6] [] [2025/04/04 12:48:49.887 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=f05d42ce-d9a0-459b-83df-e0ec98db74c6] [2025/04/04 12:48:49.887 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:48:49.887 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:48:49.887 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=f05d42ce-d9a0-459b-83df-e0ec98db74c6] [2025/04/04 12:48:49.887 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 12:48:49.887 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:48:49.887 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 12:48:49.887 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 12:48:49.887 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:48:49.887 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:48:49.887 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:48:49.887 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:48:49.887 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:48:49.887 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:48:49.887 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:48:49.887 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:48:49.887 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 12:48:49.887 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 12:48:49.887 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:48:49.887 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:48:49.888 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:48:49.887 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 12:48:49.887 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:48:49.887 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:48:49.888 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:48:49.888 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:48:49.888 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:48:49.887 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=f05d42ce-d9a0-459b-83df-e0ec98db74c6] [2025/04/04 12:48:49.887 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 12:48:49.888 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:48:49.888 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 12:48:49.888 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:48:49.888 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/stats/owner] [id=1eabf4f5-b7ca-4bea-9574-947931f36155] [error="context canceled"] [2025/04/04 12:48:49.888 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=1eabf4f5-b7ca-4bea-9574-947931f36155] [2025/04/04 12:48:49.889 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=f05d42ce-d9a0-459b-83df-e0ec98db74c6] [daemon-id=LogBackup::Advancer] [2025/04/04 12:48:49.889 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 12:48:49.889 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 12:48:49.889 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:48:49.889 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:48:49.889 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 12:48:49.889 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:48:49.889 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 12:48:49.890 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 12:48:49.890 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 12:48:49.890 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:48:49.891 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=1eabf4f5-b7ca-4bea-9574-947931f36155] [error="context canceled"] [2025/04/04 12:48:49.891 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=1eabf4f5-b7ca-4bea-9574-947931f36155] [2025/04/04 12:48:49.909 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 12:48:49.909 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:48:49.953 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=1eabf4f5-b7ca-4bea-9574-947931f36155] [error="context canceled"] [2025/04/04 12:48:49.953 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 12:48:49.953 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:48:49.963 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=87.784718ms] [2025/04/04 12:48:49.966 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:48:49.965 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:48:49.966 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:48:49.966 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:48:49.966 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:48:49.966 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:48:49.966 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:48:49.966 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:48:49.966 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:48:49.966 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:48:49.966 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:48:49.966 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-12] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:48:49.967 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPipelinedDMLCommitSkipSecondaries (1.28s) === NAME === RUN TestPipelinedDMLDisableRetry [2025/04/04 12:48:49.975 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 12:48:49.976 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 12:48:49.976 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437819270443114] [2025/04/04 12:48:49.977 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:48:49.977 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 12:48:49.977 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:48:49.977 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:48:49.977 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:48:49.977 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:48:49.978 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:48:49.978 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:48:49.982 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 12:48:49.987 +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/04 12:48:49.988 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:48:49.988 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:48:49.998 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489437819270443114] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 12:48:50.007 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 12:48:50.041 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1794] ["lease id"=22319600d42fa63f] [2025/04/04 12:48:50.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/04 12:48:50.130 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=374] ["elapsed time"=85.188769ms] [2025/04/04 12:48:50.130 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 12:48:50.132 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 12:48:50.137 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=93c0ed64-8d19-402a-8c6f-7a320a3bc6a5] [runWorker=true] [jobVersion=v2] [2025/04/04 12:48:50.138 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 12:48:50.139 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=93c0ed64-8d19-402a-8c6f-7a320a3bc6a5] [2025/04/04 12:48:50.140 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 12:48:50.140 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 217610788864/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 12:48:50.141 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:48:50.141 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:48:50.141 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:48:50.141 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:48:50.141 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:48:50.141 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:48:50.141 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:48:50.141 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:48:50.141 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:48:50.141 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:48:50.141 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 12:48:50.141 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 12:48:50.141 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=ef39043a-4ef4-485b-a89b-a576d525d676] [2025/04/04 12:48:50.143 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9600d42f9abb] [ownerID=93c0ed64-8d19-402a-8c6f-7a320a3bc6a5] [op=none] [2025/04/04 12:48:50.143 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=93c0ed64-8d19-402a-8c6f-7a320a3bc6a5] [2025/04/04 12:48:50.143 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=93c0ed64-8d19-402a-8c6f-7a320a3bc6a5] [ownerKey=/tidb/ddl/fg/owner/3eaa9600d42f9abb] [currRev=1763] [2025/04/04 12:48:50.143 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:48:50.143 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=ef39043a-4ef4-485b-a89b-a576d525d676] [daemon-id=LogBackup::Advancer] [2025/04/04 12:48:50.144 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 12:48:50.144 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f189600d42fa01c] [ownerID=ef39043a-4ef4-485b-a89b-a576d525d676] [op=none] [2025/04/04 12:48:50.144 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=ef39043a-4ef4-485b-a89b-a576d525d676] [2025/04/04 12:48:50.144 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=ef39043a-4ef4-485b-a89b-a576d525d676] [ownerKey=/tidb/br-stream/owner/6f189600d42fa01c] [currRev=1764] [2025/04/04 12:48:50.145 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9600d42f9abb] [ownerID=93c0ed64-8d19-402a-8c6f-7a320a3bc6a5] [op=none] [2025/04/04 12:48:50.145 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=93c0ed64-8d19-402a-8c6f-7a320a3bc6a5] [op=none] [2025/04/04 12:48:50.145 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 12:48:50.154 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=93c0ed64-8d19-402a-8c6f-7a320a3bc6a5] [2025/04/04 12:48:50.155 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:48:50.155 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 12:48:50.164 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:48:50.171 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:48:50.176 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:48:50.176 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:48:50.176 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 12:48:50.176 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:48:50.176 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 12:48:50.176 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:48:50.176 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 12:48:50.176 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 12:48:50.176 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 12:48:50.177 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:48:50.177 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=93c0ed64-8d19-402a-8c6f-7a320a3bc6a5] [2025/04/04 12:48:50.178 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:48:50.178 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:48:50.178 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:48:50.178 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:48:50.178 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:48:50.178 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 12:48:50.178 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:48:50.178 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 12:48:50.178 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:48:50.178 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:48:50.178 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 12:48:50.178 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:48:50.179 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:48:50.179 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:48:50.179 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:48:50.180 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/04 12:48:50.183 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/3077901c-4c88-4e31-b2a3-afa2e8a10f50] [2025/04/04 12:48:50.183 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=93c0ed64-8d19-402a-8c6f-7a320a3bc6a5] [ttl-worker=task-manager] [ttl-worker=93c0ed64-8d19-402a-8c6f-7a320a3bc6a5] [originalCount=0] [newCount=4] [2025/04/04 12:48:50.183 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=93c0ed64-8d19-402a-8c6f-7a320a3bc6a5] [ttl-worker=task-manager] [ttl-worker=93c0ed64-8d19-402a-8c6f-7a320a3bc6a5] [originalCount=0] [newCount=4] [2025/04/04 12:48:50.183 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 12:48:50.183 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=93c0ed64-8d19-402a-8c6f-7a320a3bc6a5] [2025/04/04 12:48:50.184 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:48:50.184 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 12:48:50.184 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743770930184538077 [2025/04/04 12:48:50.188 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 12:48:50.194 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=16.972446ms] [2025/04/04 12:48:50.194 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 12:48:50.194 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:48:50.203 +00:00] [INFO] [set.go:172] ["set global var"] [conn=27] [name=tidb_schema_cache_size] [val=0] [2025/04/04 12:48:50.221 +00:00] [INFO] [set.go:172] ["set global var"] [conn=27] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 12:48:50.224 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=27] [schemaVersion=374] [cur_db=test] [sql="alter table `_t` nocache"] [user=] [2025/04/04 12:48:50.225 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=27] [schemaVersion=374] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/04 12:48:50.239 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:398, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:396, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:50.197 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:48:50.239 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:398, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:396, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:50.197 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/04 12:48:50.245 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=398] [conn=27] [job="ID:398, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:396, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:50.197 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:50.262 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=374] [neededSchemaVersion=375] ["elapsed time"=1.994675ms] [gotSchemaVersion=375] [phyTblIDs="[396]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:48:50.266 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=398] [version=375] [2025/04/04 12:48:50.268 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=375] ["take time"=9.985196ms] [job="ID:398, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:396, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:50.197 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:50.278 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=398] [conn=27] [job="ID:398, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:396, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:50.197 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:50.294 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=375] [neededSchemaVersion=376] ["elapsed time"=1.892448ms] [gotSchemaVersion=376] [phyTblIDs="[396]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:48:50.298 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=398] [version=376] [2025/04/04 12:48:50.299 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=376] ["take time"=9.175222ms] [job="ID:398, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:396, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:50.197 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:50.308 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=398] [conn=27] [job="ID:398, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:396, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:50.197 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:50.314 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 396, Old Table Name: _t)"] [2025/04/04 12:48:50.326 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=376] [neededSchemaVersion=377] ["elapsed time"=1.03306ms] [gotSchemaVersion=377] [phyTblIDs="[396]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:48:50.330 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=398] [version=377] [2025/04/04 12:48:50.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=377] ["take time"=8.06939ms] [job="ID:398, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:396, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:50.197 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:50.340 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=398] [tableIDs="[396]"] [comment="drop table: table ID"] [2025/04/04 12:48:50.347 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=398] [jobType="drop table"] [2025/04/04 12:48:50.348 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=398] [conn=27] [job="ID:398, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:396, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:50.197 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:50.366 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=398] [2025/04/04 12:48:50.377 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:399, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:394, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:50.347 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:48:50.377 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:399, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:394, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:50.347 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/04 12:48:50.382 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=399] [conn=27] [job="ID:399, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:394, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:50.347 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:50.401 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=377] [neededSchemaVersion=378] ["elapsed time"=1.842402ms] [gotSchemaVersion=378] [phyTblIDs="[394]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:48:50.404 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=399] [version=378] [2025/04/04 12:48:50.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=378] ["take time"=12.763957ms] [job="ID:399, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:394, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:50.347 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:50.415 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=399] [conn=27] [job="ID:399, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:394, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:50.347 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:50.430 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=378] [neededSchemaVersion=379] ["elapsed time"=1.880439ms] [gotSchemaVersion=379] [phyTblIDs="[394]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:48:50.433 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=399] [version=379] [2025/04/04 12:48:50.435 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=379] ["take time"=8.883435ms] [job="ID:399, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:394, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:50.347 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:50.443 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=399] [conn=27] [job="ID:399, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:394, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:50.347 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:50.449 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 394, Old Table Name: t)"] [2025/04/04 12:48:50.462 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=379] [neededSchemaVersion=380] ["elapsed time"=1.010867ms] [gotSchemaVersion=380] [phyTblIDs="[394]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:48:50.465 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=399] [version=380] [2025/04/04 12:48:50.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=380] ["take time"=8.030634ms] [job="ID:399, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:394, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:50.347 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:50.476 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=399] [tableIDs="[394]"] [comment="drop table: table ID"] [2025/04/04 12:48:50.480 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=399] [jobType="drop table"] [2025/04/04 12:48:50.481 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=399] [conn=27] [job="ID:399, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:394, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:50.347 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:50.499 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=399] [2025/04/04 12:48:50.499 +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: 1743770930499866523 testkit.go:123: RefreshSession rand seed: 1743770930502096368 [2025/04/04 12:48:50.506 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=28] [schemaVersion=380] [cur_db=test] [sql="drop table if exists t1"] [user=] [2025/04/04 12:48:50.518 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:401, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:400, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:50.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t1(a int primary key, b int)"] [2025/04/04 12:48:50.518 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:401, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:400, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:50.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:48:50.524 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=401] [conn=28] [job="ID:401, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:400, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:50.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:50.528 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 400, Table Name: t1)"] [2025/04/04 12:48:50.542 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=380] [neededSchemaVersion=381] ["elapsed time"=1.481242ms] [gotSchemaVersion=381] [phyTblIDs="[400]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:48:50.546 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=401] [version=381] [2025/04/04 12:48:50.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=381] ["take time"=8.55927ms] [job="ID:401, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:400, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:50.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:50.559 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=401] [conn=28] [job="ID:401, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:400, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:50.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:50.570 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=401] [2025/04/04 12:48:50.570 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=28] [schemaVersion=381] [cur_db=test] [sql="create table t1(a int primary key, b int)"] [user=] [2025/04/04 12:48:50.583 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:403, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:402, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:50.547 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:48:50.583 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:403, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:402, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:50.547 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t2(a int, b int)"] [2025/04/04 12:48:50.589 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=403] [conn=28] [job="ID:403, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:402, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:50.547 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:50.593 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 402, Table Name: t2)"] [2025/04/04 12:48:50.608 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=381] [neededSchemaVersion=382] ["elapsed time"=1.421237ms] [gotSchemaVersion=382] [phyTblIDs="[402]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:48:50.611 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=403] [version=382] [2025/04/04 12:48:50.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=382] ["take time"=8.325403ms] [job="ID:403, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:402, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:50.547 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:50.624 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=403] [conn=28] [job="ID:403, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:402, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:50.547 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:50.635 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=403] [2025/04/04 12:48:50.635 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=28] [schemaVersion=382] [cur_db=test] [sql="create table t2(a int, b int)"] [user=] [2025/04/04 12:48:51.144 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119086961754114] [2025/04/04 12:48:51.147 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119086830419986] [generation=1] [session=28] [keys=1] [size=29B] ["flushed keys"=1] ["flushed size"=29B] ["take time"=998.802µs] [2025/04/04 12:48:51.147 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/04 12:48:51.147 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457119086830419986] [startKey=7480000000000001905f728000000000000001] [endKey=7480000000000001905f728000000000000001] [2025/04/04 12:48:51.147 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457119086830419986] [commitTS=0] [session=28] [2025/04/04 12:48:51.148 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 457119086830419986\n# Conn_ID: 28\n# Query_time: 0.506157948\n# Parse_time: 0.000316904\n# Compile_time: 0.000956556\n# Rewrite_time: 0.000566078\n# Optimize_time: 0.00007728\n# Wait_TS: 0.000362147\n# Cop_time: 0.000733905 Wait_time: 0.000026209 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.6209e-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('7gbwkDAJMjdfMQkwCTAJTi9BCTAJdGltZTo1MDMuOW1zLCBvcGVuOjEzNS43wrVzLCBjbG9zZTo2Ni4xwrVzLCBsb29wczoxLCBwcmVwYXJlOiA1MDMuOG1zLCBpbnNlcnQ6MTQ3LjjCtXMJNDAyIEJ5dGVzCU4vQQoxCTE0XzYJMAkxMDAwMAl0ZXN0LnQyLmEJMgkFgAwxLjIxGX8QMjcuNsIBcABjBX8INDMuLn8AHDIJMzIwIEJ5AVwNCCQKMgkzMV8xMAkwDWFYZGF0YTpUYWJsZUZ1bGxTY2FuXzkJMgkFbBA5MjYuMgVfBe0EOTIy7AAAMjJrAHAsIGNvcF90YXNrOiB7bnVtOiAxLCBtYXg6IDY0MQ2WKHByb2Nfa2V5czogCTB0cl9jYWNoZV9oaXRfcmF0aW86IDAuMDAsIGJ1aWxkBU4IX2R1BRoQbjogMTcNjqhtYXhfZGlzdHNxbF9jb25jdXJyZW5jeTogMX0sIHJwY19pbmZvOntDb3A6AYs0X3JwYzoxLCB0b3RhbF8F2jQ1NTUuOMK1c319CTI4Ny0jIX8gMwk0M185CTFfMSCgdGFibGU6dDIsIGtlZXAgb3JkZXI6ZmFsc2UsIHN0YXRzOnBzZXVkbwkhNARrdgW0BDp7BWUEMHNVCAx9LCBzIVsgZGV0YWlsOiB7CYwYcHJvY2VzczkURhcAIF9zaXplOiA4MhHAKUA4MywgZ2V0X3NuYXBzaG90CdYIIDEwJa5ocm9ja3NkYjoge2tleV9za2lwcGVkX2NvdW50JXoMYmxvYyGnEH19fSwgAas+mAAId2FpEVNVAwB0Ad4AZyFeEbYBOgw6IDE5JUoBSQRrdgkhHT8IMTMuSaEFPwx3YWxsETc4NTLCtXN9CU4vQQlOL0EK')\n# Plan_digest: f7e0f28c5c86b45fa3d92926774edc8a8076ac4356558ce21165e890659f0d92\n# Binary_plan: tidb_decode_binary_plan('xQfACsAHCghJbnNlcnRfMRLEBgoGU29ydF82Et8FCg5UYWJsZVJlYWRlcl8xMBKkAwoPVAETUEZ1bGxTY2FuXzkhjARw3ptXUUEpAAEB8FiIw0AwAjgCQAJKDAoKCgR0ZXN0EgJ0MlIea2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvarQCdGlrdl90YXNrOnt0aW1lOjBzLCBsb29wczoxfSwgcwFtfGRldGFpbDoge3RvdGFsX3Byb2Nlc3Nfa2V5czogMiwgRhcAHF9zaXplOiA4FR0JLOAzLCBnZXRfc25hcHNob3RfdGltZTogMTDCtXMsIHJvY2tzZGI6IHtrZXlfc2tpcHBlZF9jb3VudDoBZjBibG9jazoge319fSwgATo+mAAId2FpEVMMMjYuMgVVAHQB3gxncnBjFbYBOhQ6IDE5Ljg6IQAdPwwxMy42GR4Md2FsbBE3ADUBVwh9cP8RAQQBeBEKJP8BIWKNiDGVpxcykwE0AUABUhRkYXRhOlRhYmw9wQRaMQWKADkVqyBvcGVuOjkyLjcFehxjbG9zZToyMQUNQGxvb3BzOjJitgFjb3BfdGFzIQhAbnVtOiAxLCBtYXg6IDY0MS4JLCGeLW+QMiwgY29wcl9jYWNoZV9oaXRfcmF0aW86IDAuMDAsIGJ1aWxkXwFOCF9kdQUaGG46IDE3LjIFdHBtYXhfZGlzdHNxbF9jb25jdXJyZW5jeTogMX0sICFRJGluZm86e0NvcDoBixRfcnBjOjFRDAXbDDU1NS4hZRh9fXCfAnj/EQEkASFULaZx1uZaQS67AiEoLAl0ZXN0LnQyLmFaMgVCGDEuMjFtcywpGwgxMjctlgBjJRwENDMN8i0eCHDAAgVGFANOL0FaMwVAEDUwMy45GUEEMzUyXQEENjYyQQAsMWIhcHJlcGFyZTogATkAOAE5BGluYaEMOjE0NwXLPHCSA3j///////////8BGAE=')\n# Resource_group: default\nuse test;\ninsert into t1 select * from t2 order by a;"] [2025/04/04 12:48:51.149 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=382] [error="[kv:9007]Write conflict, txnStartTS=457119086830419986, conflictStartTS=457119086961754114, conflictCommitTS=457119086961754117, key={tableID=400, tableName=test.t1, handle=1}, originalKey=7480000000000001905f728000000000000001, primary={tableID=400, tableName=test.t1, handle=1}, originalPrimaryKey=7480000000000001905f728000000000000001, reason=Optimistic [try again later]"] [session="{\n \"currDBName\": \"test\",\n \"id\": 28,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2025/04/04 12:48:51.149 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=93c0ed64-8d19-402a-8c6f-7a320a3bc6a5] [] [2025/04/04 12:48:51.149 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 12:48:51.149 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=93c0ed64-8d19-402a-8c6f-7a320a3bc6a5] [2025/04/04 12:48:51.149 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 12:48:51.149 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:48:51.149 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:48:51.149 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 49, tp general"] ["take time"=43.271µs] [2025/04/04 12:48:51.149 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 50, tp general"] ["take time"=36.633µs] [2025/04/04 12:48:51.150 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 51, tp general"] ["take time"=30.13µs] [2025/04/04 12:48:51.150 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 52, tp general"] ["take time"=33.231µs] [2025/04/04 12:48:51.150 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=93c0ed64-8d19-402a-8c6f-7a320a3bc6a5] [2025/04/04 12:48:51.150 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=93c0ed64-8d19-402a-8c6f-7a320a3bc6a5] [2025/04/04 12:48:51.151 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 12:48:51.151 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 12:48:51.151 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/04 12:48:51.151 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 12:48:51.151 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 12:48:51.151 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:48:51.152 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=93c0ed64-8d19-402a-8c6f-7a320a3bc6a5] ["take time"=2.932647ms] [2025/04/04 12:48:51.152 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=93c0ed64-8d19-402a-8c6f-7a320a3bc6a5] [2025/04/04 12:48:51.152 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 12:48:51.152 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/3077901c-4c88-4e31-b2a3-afa2e8a10f50] [2025/04/04 12:48:51.152 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=93c0ed64-8d19-402a-8c6f-7a320a3bc6a5] [ttl-worker=task-manager] [ttl-worker=93c0ed64-8d19-402a-8c6f-7a320a3bc6a5] [originalCount=4] [newCount=0] [2025/04/04 12:48:51.152 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:48:51.152 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:48:51.152 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:48:51.152 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:48:51.152 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=93c0ed64-8d19-402a-8c6f-7a320a3bc6a5] [ttl-worker=task-manager] [ttl-worker=93c0ed64-8d19-402a-8c6f-7a320a3bc6a5] [originalCount=4] [newCount=0] [2025/04/04 12:48:51.155 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:48:51.155 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:48:51.155 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:48:51.155 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:48:51.157 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=93c0ed64-8d19-402a-8c6f-7a320a3bc6a5] [2025/04/04 12:48:51.157 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 12:48:51.158 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1794] [2025/04/04 12:48:51.158 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 12:48:51.158 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 12:48:51.158 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 12:48:51.158 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:48:51.158 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:48:51.158 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:48:51.158 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 12:48:51.158 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 12:48:51.158 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 12:48:51.158 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:48:51.158 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 12:48:51.158 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:48:51.158 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 12:48:51.158 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 12:48:51.158 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 12:48:51.158 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 12:48:51.158 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:48:51.158 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:48:51.158 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 12:48:51.158 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 12:48:51.158 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:48:51.158 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 12:48:51.158 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:48:51.158 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 12:48:51.158 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:48:51.159 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:48:51.159 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:48:51.158 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 12:48:51.159 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:48:51.158 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 12:48:51.159 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 12:48:51.159 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:48:51.158 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:48:51.159 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:48:51.158 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 12:48:51.159 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:48:51.158 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 12:48:51.158 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:48:51.158 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 12:48:51.159 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:48:51.158 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:48:51.158 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 12:48:51.159 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:48:51.158 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:48:51.158 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 12:48:51.158 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:48:51.159 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:48:51.158 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=ef39043a-4ef4-485b-a89b-a576d525d676] [] [2025/04/04 12:48:51.158 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:48:51.159 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=ef39043a-4ef4-485b-a89b-a576d525d676] [2025/04/04 12:48:51.158 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:48:51.158 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 12:48:51.159 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=ef39043a-4ef4-485b-a89b-a576d525d676] [2025/04/04 12:48:51.158 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 12:48:51.159 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=ef39043a-4ef4-485b-a89b-a576d525d676] [2025/04/04 12:48:51.159 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:48:51.158 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 12:48:51.159 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:48:51.158 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:48:51.158 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:48:51.158 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:48:51.159 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:48:51.158 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 12:48:51.158 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 12:48:51.158 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 12:48:51.159 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:48:51.159 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:48:51.160 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/stats/owner] [id=93c0ed64-8d19-402a-8c6f-7a320a3bc6a5] [error="context canceled"] [2025/04/04 12:48:51.160 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=93c0ed64-8d19-402a-8c6f-7a320a3bc6a5] [2025/04/04 12:48:51.160 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 12:48:51.160 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:48:51.160 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 12:48:51.160 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 12:48:51.160 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:48:51.160 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=ef39043a-4ef4-485b-a89b-a576d525d676] [daemon-id=LogBackup::Advancer] [2025/04/04 12:48:51.160 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=93c0ed64-8d19-402a-8c6f-7a320a3bc6a5] [error="context canceled"] [2025/04/04 12:48:51.161 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:48:51.161 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 12:48:51.160 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 12:48:51.161 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 12:48:51.161 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:48:51.161 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=93c0ed64-8d19-402a-8c6f-7a320a3bc6a5] [error="context canceled"] [2025/04/04 12:48:51.161 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=93c0ed64-8d19-402a-8c6f-7a320a3bc6a5] [2025/04/04 12:48:51.178 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 12:48:51.178 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:48:51.223 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=93c0ed64-8d19-402a-8c6f-7a320a3bc6a5] [error="context canceled"] [2025/04/04 12:48:51.223 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 12:48:51.223 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:48:51.233 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=83.833017ms] [2025/04/04 12:48:51.982 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/04 12:48:56.148 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119086830419986 rolled_back:true is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:48:56.148 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119086830419986 rolled_back:true is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:48:56.148 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119086830419986 rolled_back:true is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:48:56.148 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:48:56.148 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:48:56.148 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:48:56.148 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:48:56.148 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:48:56.148 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:48:56.148 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:48:56.149 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:48:56.149 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:48:56.149 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:48:56.148 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-13] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:48:56.149 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:48:56.150 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPipelinedDMLDisableRetry (6.18s) === NAME === RUN TestReplaceRowCheck [2025/04/04 12:48:56.158 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 12:48:56.159 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 12:48:56.160 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437819270443114] [2025/04/04 12:48:56.160 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:48:56.160 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 12:48:56.160 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:48:56.160 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:48:56.160 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:48:56.161 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:48:56.161 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:48:56.161 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:48:56.165 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 12:48:56.170 +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/04 12:48:56.171 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:48:56.171 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:48:56.181 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489437819270443114] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 12:48:56.191 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 12:48:56.224 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=669] ["lease id"=3eaa9600d42f9aec] [2025/04/04 12:48:56.227 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/04 12:48:56.314 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=382] ["elapsed time"=84.919651ms] [2025/04/04 12:48:56.314 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 12:48:56.317 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 12:48:56.322 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=d14cee08-b2a1-4cdc-a4c7-25322858d9fa] [runWorker=true] [jobVersion=v2] [2025/04/04 12:48:56.322 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 12:48:56.324 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=d14cee08-b2a1-4cdc-a4c7-25322858d9fa] [2025/04/04 12:48:56.325 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 12:48:56.326 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 217610838016/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 12:48:56.326 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:48:56.326 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:48:56.326 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:48:56.326 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:48:56.326 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:48:56.326 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:48:56.326 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:48:56.326 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:48:56.326 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:48:56.326 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 12:48:56.326 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:48:56.326 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 12:48:56.326 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=4f80f917-43e2-4215-a9aa-9b58ef56925e] [2025/04/04 12:48:56.328 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f189600d42fa04a] [ownerID=d14cee08-b2a1-4cdc-a4c7-25322858d9fa] [op=none] [2025/04/04 12:48:56.328 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=d14cee08-b2a1-4cdc-a4c7-25322858d9fa] [2025/04/04 12:48:56.328 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=d14cee08-b2a1-4cdc-a4c7-25322858d9fa] [ownerKey=/tidb/ddl/fg/owner/6f189600d42fa04a] [currRev=1806] [2025/04/04 12:48:56.328 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:48:56.328 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=4f80f917-43e2-4215-a9aa-9b58ef56925e] [daemon-id=LogBackup::Advancer] [2025/04/04 12:48:56.329 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/22319600d42fa670] [ownerID=4f80f917-43e2-4215-a9aa-9b58ef56925e] [op=none] [2025/04/04 12:48:56.329 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=4f80f917-43e2-4215-a9aa-9b58ef56925e] [2025/04/04 12:48:56.329 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 12:48:56.329 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=4f80f917-43e2-4215-a9aa-9b58ef56925e] [ownerKey=/tidb/br-stream/owner/22319600d42fa670] [currRev=1807] [2025/04/04 12:48:56.330 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f189600d42fa04a] [ownerID=d14cee08-b2a1-4cdc-a4c7-25322858d9fa] [op=none] [2025/04/04 12:48:56.330 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=d14cee08-b2a1-4cdc-a4c7-25322858d9fa] [op=none] [2025/04/04 12:48:56.330 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 12:48:56.334 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestReplaceRowCheck\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:724\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:48:56.335 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestReplaceRowCheck\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:724\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:48:56.336 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestReplaceRowCheck\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:724\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:48:56.336 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=d14cee08-b2a1-4cdc-a4c7-25322858d9fa] [2025/04/04 12:48:56.337 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:48:56.337 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 12:48:56.339 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/bindinfo/owner] ["owner key"=/tidb/bindinfo/owner/3eaa9600d42f9af5] [ownerID=d14cee08-b2a1-4cdc-a4c7-25322858d9fa] [op=none] [2025/04/04 12:48:56.339 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/bindinfo/owner] [id=d14cee08-b2a1-4cdc-a4c7-25322858d9fa] [2025/04/04 12:48:56.339 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/bindinfo/owner] [id=d14cee08-b2a1-4cdc-a4c7-25322858d9fa] [ownerKey=/tidb/bindinfo/owner/3eaa9600d42f9af5] [currRev=1808] [2025/04/04 12:48:56.346 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:48:56.353 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:48:56.358 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:48:56.358 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:48:56.358 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 12:48:56.358 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:48:56.358 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 12:48:56.358 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:48:56.358 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 12:48:56.358 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 12:48:56.358 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 12:48:56.359 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:48:56.359 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=d14cee08-b2a1-4cdc-a4c7-25322858d9fa] [2025/04/04 12:48:56.360 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:48:56.360 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:48:56.360 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:48:56.360 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:48:56.360 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:48:56.360 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 12:48:56.360 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:48:56.360 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 12:48:56.360 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:48:56.360 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:48:56.360 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 12:48:56.360 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:48:56.360 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:48:56.361 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:48:56.361 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:48:56.362 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/04 12:48:56.365 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/d720d8e8-d811-49cf-91f7-670cb92a1d15] [2025/04/04 12:48:56.365 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=d14cee08-b2a1-4cdc-a4c7-25322858d9fa] [ttl-worker=task-manager] [ttl-worker=d14cee08-b2a1-4cdc-a4c7-25322858d9fa] [originalCount=0] [newCount=4] [2025/04/04 12:48:56.365 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=d14cee08-b2a1-4cdc-a4c7-25322858d9fa] [ttl-worker=task-manager] [ttl-worker=d14cee08-b2a1-4cdc-a4c7-25322858d9fa] [originalCount=0] [newCount=4] [2025/04/04 12:48:56.365 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=d14cee08-b2a1-4cdc-a4c7-25322858d9fa] [2025/04/04 12:48:56.365 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:48:56.365 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 12:48:56.365 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 12:48:56.365 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743770936366148034 [2025/04/04 12:48:56.370 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 12:48:56.377 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=17.527392ms] [2025/04/04 12:48:56.377 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 12:48:56.377 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:48:56.379 +00:00] [INFO] [set.go:172] ["set global var"] [conn=30] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 12:48:56.382 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=30] [schemaVersion=382] [cur_db=test] [sql="alter table `t1` nocache"] [user=] [2025/04/04 12:48:56.383 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=30] [schemaVersion=382] [cur_db=test] [sql="alter table `t2` nocache"] [user=] [2025/04/04 12:48:56.397 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:404, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:400, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:56.347 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:48:56.397 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:404, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:400, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:56.347 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t1`,`t2`"] [2025/04/04 12:48:56.403 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=404] [conn=30] [job="ID:404, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:400, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:56.347 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:56.419 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=382] [neededSchemaVersion=383] ["elapsed time"=1.894174ms] [gotSchemaVersion=383] [phyTblIDs="[400]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:48:56.423 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=404] [version=383] [2025/04/04 12:48:56.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=383] ["take time"=10.155601ms] [job="ID:404, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:400, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:56.347 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:56.435 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=404] [conn=30] [job="ID:404, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:400, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:56.347 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:56.450 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=383] [neededSchemaVersion=384] ["elapsed time"=1.818612ms] [gotSchemaVersion=384] [phyTblIDs="[400]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:48:56.454 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=404] [version=384] [2025/04/04 12:48:56.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=384] ["take time"=8.87871ms] [job="ID:404, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:400, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:56.347 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:56.463 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=404] [conn=30] [job="ID:404, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:400, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:56.347 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:56.469 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 400, Old Table Name: t1)"] [2025/04/04 12:48:56.482 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=384] [neededSchemaVersion=385] ["elapsed time"=1.095681ms] [gotSchemaVersion=385] [phyTblIDs="[400]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:48:56.486 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=404] [version=385] [2025/04/04 12:48:56.488 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=385] ["take time"=8.371985ms] [job="ID:404, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:400, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:56.347 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:56.497 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=404] [tableIDs="[400]"] [comment="drop table: table ID"] [2025/04/04 12:48:56.504 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=404] [jobType="drop table"] [2025/04/04 12:48:56.505 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=404] [conn=30] [job="ID:404, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:400, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:56.347 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:56.523 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=404] [2025/04/04 12:48:56.533 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:405, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:402, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:56.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t1`,`t2`"] [2025/04/04 12:48:56.533 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:405, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:402, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:56.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:48:56.541 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=405] [conn=30] [job="ID:405, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:402, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:56.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:56.556 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=385] [neededSchemaVersion=386] ["elapsed time"=1.817141ms] [gotSchemaVersion=386] [phyTblIDs="[402]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:48:56.560 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=405] [version=386] [2025/04/04 12:48:56.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=386] ["take time"=8.772504ms] [job="ID:405, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:402, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:56.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:56.571 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=405] [conn=30] [job="ID:405, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:402, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:56.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:56.587 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=386] [neededSchemaVersion=387] ["elapsed time"=1.897545ms] [gotSchemaVersion=387] [phyTblIDs="[402]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:48:56.590 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=405] [version=387] [2025/04/04 12:48:56.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=387] ["take time"=9.376879ms] [job="ID:405, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:402, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:56.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:56.600 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=405] [conn=30] [job="ID:405, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:402, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:56.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:56.606 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 402, Old Table Name: t2)"] [2025/04/04 12:48:56.619 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=387] [neededSchemaVersion=388] ["elapsed time"=1.046717ms] [gotSchemaVersion=388] [phyTblIDs="[402]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:48:56.623 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=405] [version=388] [2025/04/04 12:48:56.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=388] ["take time"=8.427686ms] [job="ID:405, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:402, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:56.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:56.633 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=405] [tableIDs="[402]"] [comment="drop table: table ID"] [2025/04/04 12:48:56.637 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=405] [jobType="drop table"] [2025/04/04 12:48:56.638 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=405] [conn=30] [job="ID:405, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:402, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:56.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:56.655 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=405] [2025/04/04 12:48:56.655 +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: 1743770936655841469 [2025/04/04 12:48:56.659 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=31] [schemaVersion=388] [cur_db=test] [sql="drop table if exists t1, _t1"] [user=] [2025/04/04 12:48:56.671 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:407, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:406, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:56.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t1(a int, b int)"] [2025/04/04 12:48:56.672 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:407, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:406, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:56.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:48:56.678 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=407] [conn=31] [job="ID:407, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:406, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:56.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:56.682 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 406, Table Name: t1)"] [2025/04/04 12:48:56.697 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=388] [neededSchemaVersion=389] ["elapsed time"=1.546184ms] [gotSchemaVersion=389] [phyTblIDs="[406]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:48:56.700 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=407] [version=389] [2025/04/04 12:48:56.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=389] ["take time"=8.407578ms] [job="ID:407, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:406, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:56.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:56.713 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=407] [conn=31] [job="ID:407, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:406, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:56.647 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:56.723 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=407] [2025/04/04 12:48:56.724 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=31] [schemaVersion=389] [cur_db=test] [sql="create table t1(a int, b int)"] [user=] [2025/04/04 12:48:56.736 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:409, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:408, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:56.697 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:48:56.736 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:409, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:408, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:56.697 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t1(a int primary key, b int)"] [2025/04/04 12:48:56.742 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=409] [conn=31] [job="ID:409, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:408, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:56.697 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:56.747 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 408, Table Name: _t1)"] [2025/04/04 12:48:56.760 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=389] [neededSchemaVersion=390] ["elapsed time"=1.469331ms] [gotSchemaVersion=390] [phyTblIDs="[408]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:48:56.764 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=409] [version=390] [2025/04/04 12:48:56.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=390] ["take time"=8.374095ms] [job="ID:409, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:408, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:56.697 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:56.777 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=409] [conn=31] [job="ID:409, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:408, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:56.697 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:56.788 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=409] [2025/04/04 12:48:56.788 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=31] [schemaVersion=390] [cur_db=test] [sql="create table _t1(a int primary key, b int)"] [user=] [2025/04/04 12:48:56.799 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119088442605586] [generation=1] [session=31] [keys=2] [size=58B] ["flushed keys"=2] ["flushed size"=58B] ["take time"=904.469µs] [2025/04/04 12:48:56.799 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=2] [flush_wait_duration=998.971µs] [total_duration=4.027869ms] ["memdb traversal cache hit"=16] ["memdb traversal cache miss"=12] [size=58B] [startTS=457119088442605586] [2025/04/04 12:48:56.801 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119088442605586] [commitTS=457119088455974913] [2025/04/04 12:48:56.801 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119088442605586] [startKey=7480000000000001985f728000000000000001] [endKey=7480000000000001985f728000000000000002] [concurrency=8] [2025/04/04 12:48:56.805 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119088442605586] [startKey=7480000000000001985f728000000000000001] [endKey=7480000000000001985f728000000000000002] ["cost time"=4.267909ms] ["completed regions"=1] [2025/04/04 12:48:56.805 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119088442605586] [commitTS=457119088455974913] [session=31] [2025/04/04 12:48:56.818 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:411, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:408, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:56.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:48:56.818 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:411, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:408, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:56.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/04 12:48:56.823 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=411] [conn=31] [job="ID:411, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:408, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:56.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:56.831 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 410, Table Name: _t1, Old Table ID: 408, Old Table Name: _t1)"] [2025/04/04 12:48:56.845 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=390] [neededSchemaVersion=391] ["elapsed time"=1.577502ms] [gotSchemaVersion=391] [phyTblIDs="[408,410]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 12:48:56.849 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=411] [version=391] [2025/04/04 12:48:56.851 +00:00] [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.851284ms] [job="ID:411, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:408, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:56.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:56.861 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=411] [tableIDs="[408]"] [comment="truncate table: table ID"] [2025/04/04 12:48:56.865 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=411] [jobType="truncate table"] [2025/04/04 12:48:56.866 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=411] [conn=31] [job="ID:411, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:408, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:56.798 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:56.883 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=411] [2025/04/04 12:48:56.883 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=31] [schemaVersion=391] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/04 12:48:56.888 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119088469082126] [generation=1] [session=31] [keys=2] [size=58B] ["flushed keys"=2] ["flushed size"=58B] ["take time"=916.258µs] [2025/04/04 12:48:56.889 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=2] [flush_wait_duration=1.025507ms] [total_duration=3.628484ms] ["memdb traversal cache hit"=4] ["memdb traversal cache miss"=10] [size=58B] [startTS=457119088469082126] [2025/04/04 12:48:56.890 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119088469082126] [commitTS=457119088469082127] [2025/04/04 12:48:56.890 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119088469082126] [startKey=74800000000000019a5f728000000000000001] [endKey=74800000000000019a5f728000000000000002] [concurrency=8] [2025/04/04 12:48:56.892 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119088469082126] [startKey=74800000000000019a5f728000000000000001] [endKey=74800000000000019a5f728000000000000002] ["cost time"=2.262085ms] ["completed regions"=1] [2025/04/04 12:48:56.892 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119088469082126] [commitTS=457119088469082127] [session=31] [2025/04/04 12:48:56.909 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:413, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:410, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:56.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:48:56.909 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:413, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:410, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:56.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/04 12:48:56.915 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=413] [conn=31] [job="ID:413, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:410, RowCount:0, ArgLen:0, start time: 2025-04-04 12:48:56.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:56.922 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 412, Table Name: _t1, Old Table ID: 410, Old Table Name: _t1)"] [2025/04/04 12:48:56.937 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=391] [neededSchemaVersion=392] ["elapsed time"=1.575897ms] [gotSchemaVersion=392] [phyTblIDs="[410,412]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 12:48:56.941 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=413] [version=392] [2025/04/04 12:48:56.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=392] ["take time"=8.917654ms] [job="ID:413, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:410, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:56.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:56.953 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=413] [tableIDs="[410]"] [comment="truncate table: table ID"] [2025/04/04 12:48:56.957 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=413] [jobType="truncate table"] [2025/04/04 12:48:56.958 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=413] [conn=31] [job="ID:413, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:410, RowCount:0, ArgLen:1, start time: 2025-04-04 12:48:56.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:48:56.975 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=413] [2025/04/04 12:48:56.975 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=31] [schemaVersion=392] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/04 12:48:56.980 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119088495034380] [generation=1] [session=31] [keys=2] [size=58B] ["flushed keys"=2] ["flushed size"=58B] ["take time"=877.239µs] [2025/04/04 12:48:56.980 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=2] [flush_wait_duration=983.141µs] [total_duration=3.93116ms] ["memdb traversal cache hit"=8] ["memdb traversal cache miss"=12] [size=58B] [startTS=457119088495034380] [2025/04/04 12:48:56.982 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119088495034380] [commitTS=457119088495034381] [2025/04/04 12:48:56.982 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119088495034380] [startKey=74800000000000019c5f728000000000000001] [endKey=74800000000000019c5f728000000000000002] [concurrency=8] [2025/04/04 12:48:56.984 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119088495034380] [startKey=74800000000000019c5f728000000000000001] [endKey=74800000000000019c5f728000000000000002] ["cost time"=2.397362ms] ["completed regions"=1] [2025/04/04 12:48:56.984 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119088495034380] [commitTS=457119088495034381] [session=31] [2025/04/04 12:48:56.985 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 12:48:56.985 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 12:48:56.985 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=d14cee08-b2a1-4cdc-a4c7-25322858d9fa] [] [2025/04/04 12:48:56.985 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=d14cee08-b2a1-4cdc-a4c7-25322858d9fa] [2025/04/04 12:48:56.985 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:48:56.985 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:48:56.986 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 53, tp general"] ["take time"=59.298µs] [2025/04/04 12:48:56.986 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 54, tp general"] ["take time"=39.777µs] [2025/04/04 12:48:56.986 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 55, tp general"] ["take time"=33.938µs] [2025/04/04 12:48:56.986 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 56, tp general"] ["take time"=28.9µs] [2025/04/04 12:48:56.986 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 57, tp general"] ["take time"=30.068µs] [2025/04/04 12:48:56.986 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 58, tp general"] ["take time"=25.747µs] [2025/04/04 12:48:56.986 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=d14cee08-b2a1-4cdc-a4c7-25322858d9fa] [2025/04/04 12:48:56.986 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=d14cee08-b2a1-4cdc-a4c7-25322858d9fa] [2025/04/04 12:48:56.987 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 12:48:56.987 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 12:48:56.989 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=d14cee08-b2a1-4cdc-a4c7-25322858d9fa] ["take time"=3.625795ms] [2025/04/04 12:48:56.989 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=d14cee08-b2a1-4cdc-a4c7-25322858d9fa] [2025/04/04 12:48:56.989 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 12:48:56.989 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/d720d8e8-d811-49cf-91f7-670cb92a1d15] [2025/04/04 12:48:56.989 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=d14cee08-b2a1-4cdc-a4c7-25322858d9fa] [ttl-worker=task-manager] [ttl-worker=d14cee08-b2a1-4cdc-a4c7-25322858d9fa] [originalCount=4] [newCount=0] [2025/04/04 12:48:56.989 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:48:56.989 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:48:56.989 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:48:56.989 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:48:56.989 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=d14cee08-b2a1-4cdc-a4c7-25322858d9fa] [ttl-worker=task-manager] [ttl-worker=d14cee08-b2a1-4cdc-a4c7-25322858d9fa] [originalCount=4] [newCount=0] [2025/04/04 12:48:56.992 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:48:56.992 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:48:56.992 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:48:56.992 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:48:56.994 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=d14cee08-b2a1-4cdc-a4c7-25322858d9fa] [2025/04/04 12:48:56.994 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 12:48:56.995 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=669] [2025/04/04 12:48:56.995 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 12:48:56.995 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 12:48:56.995 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:48:56.995 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:48:56.995 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:48:56.995 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 12:48:56.995 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:48:56.995 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 12:48:56.995 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 12:48:56.995 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 12:48:56.995 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:48:56.995 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:48:56.995 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:48:56.995 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 12:48:56.995 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 12:48:56.995 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:48:56.995 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 12:48:56.995 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:48:56.995 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:48:56.995 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:48:56.995 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 12:48:56.995 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 12:48:56.995 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 12:48:56.995 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:48:56.995 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:48:56.995 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 12:48:56.995 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 12:48:56.995 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 12:48:56.995 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:48:56.995 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:48:56.996 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:48:56.995 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:48:56.996 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:48:56.995 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 12:48:56.995 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 12:48:56.995 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 12:48:56.995 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 12:48:56.996 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:48:56.995 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 12:48:56.995 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 12:48:56.996 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:48:56.996 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:48:56.995 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:48:56.996 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:48:56.995 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 12:48:56.996 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:48:56.995 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:48:56.995 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 12:48:56.996 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:48:56.995 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:48:56.995 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 12:48:56.995 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 12:48:56.996 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:48:56.995 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:48:56.995 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=4f80f917-43e2-4215-a9aa-9b58ef56925e] [] [2025/04/04 12:48:56.996 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:48:56.996 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=4f80f917-43e2-4215-a9aa-9b58ef56925e] [2025/04/04 12:48:56.995 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 12:48:56.996 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=4f80f917-43e2-4215-a9aa-9b58ef56925e] [2025/04/04 12:48:56.995 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:48:56.996 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:48:56.996 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 12:48:56.996 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=4f80f917-43e2-4215-a9aa-9b58ef56925e] [2025/04/04 12:48:56.996 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:48:56.996 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:48:56.996 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:48:56.997 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/stats/owner] [id=d14cee08-b2a1-4cdc-a4c7-25322858d9fa] [error="context canceled"] [2025/04/04 12:48:56.997 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=d14cee08-b2a1-4cdc-a4c7-25322858d9fa] [2025/04/04 12:48:56.998 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=4f80f917-43e2-4215-a9aa-9b58ef56925e] [daemon-id=LogBackup::Advancer] [2025/04/04 12:48:56.998 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 12:48:56.998 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:48:56.998 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 12:48:56.998 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:48:56.998 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 12:48:56.998 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:48:56.998 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 12:48:56.998 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/bindinfo/owner] [id=d14cee08-b2a1-4cdc-a4c7-25322858d9fa] [] [2025/04/04 12:48:56.998 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 12:48:56.998 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/bindinfo/owner] [id=d14cee08-b2a1-4cdc-a4c7-25322858d9fa] [2025/04/04 12:48:56.998 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 12:48:56.998 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:48:56.998 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/bindinfo/owner] [id=d14cee08-b2a1-4cdc-a4c7-25322858d9fa] [2025/04/04 12:48:56.998 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=d14cee08-b2a1-4cdc-a4c7-25322858d9fa] [2025/04/04 12:48:56.998 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=d14cee08-b2a1-4cdc-a4c7-25322858d9fa] [error="context canceled"] [2025/04/04 12:48:56.998 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=d14cee08-b2a1-4cdc-a4c7-25322858d9fa] [error="context canceled"] [errorVerbose="context canceled\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:48:57.015 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 12:48:57.015 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:48:57.059 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 12:48:57.059 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:48:57.069 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=83.971575ms] [2025/04/04 12:48:58.166 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/04 12:49:01.807 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119088442605586 commit_ts:457119088455974913 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:49:01.807 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119088442605586 commit_ts:457119088455974913 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:49:01.807 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119088442605586 commit_ts:457119088455974913 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:49:01.893 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119088469082126 commit_ts:457119088469082127 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:49:01.893 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119088469082126 commit_ts:457119088469082127 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:49:01.893 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119088469082126 commit_ts:457119088469082127 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:49:01.985 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119088495034380 commit_ts:457119088495034381 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:49:01.985 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119088495034380 commit_ts:457119088495034381 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:49:01.985 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119088495034380 commit_ts:457119088495034381 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:49:01.985 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:49:01.985 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:49:01.985 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:49:01.985 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:49:01.985 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:49:01.985 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:49:01.985 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:49:01.985 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-14] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:49:01.986 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:49:01.986 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:49:01.986 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:49:01.986 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:49:01.987 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestReplaceRowCheck (5.84s) === NAME === RUN TestDuplicateKeyErrorMessage [2025/04/04 12:49:01.995 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 12:49:01.996 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 12:49:01.996 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437819270443114] [2025/04/04 12:49:01.997 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:49:01.997 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 12:49:01.997 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:49:01.997 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:49:01.997 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:49:01.997 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:49:01.998 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:49:01.998 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:49:02.001 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 12:49:02.006 +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/04 12:49:02.007 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:49:02.008 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:49:02.017 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489437819270443114] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 12:49:02.027 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 12:49:02.060 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=562] ["lease id"=3eaa9600d42f9b34] [2025/04/04 12:49:02.062 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/04 12:49:02.146 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=392] ["elapsed time"=82.272604ms] [2025/04/04 12:49:02.146 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 12:49:02.148 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 12:49:02.154 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=9aee35d1-9be0-4c63-a089-661f290a791a] [runWorker=true] [jobVersion=v2] [2025/04/04 12:49:02.154 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 12:49:02.155 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=9aee35d1-9be0-4c63-a089-661f290a791a] [2025/04/04 12:49:02.156 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 12:49:02.156 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 217610850304/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 12:49:02.157 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:49:02.157 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:49:02.157 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:49:02.157 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:49:02.157 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:49:02.157 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:49:02.157 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:49:02.157 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 12:49:02.157 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:49:02.157 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:49:02.157 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:49:02.157 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 12:49:02.157 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=a72891a3-9ac1-4495-8a2c-0dacbccec0de] [2025/04/04 12:49:02.159 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9600d42f9b39] [ownerID=9aee35d1-9be0-4c63-a089-661f290a791a] [op=none] [2025/04/04 12:49:02.159 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=9aee35d1-9be0-4c63-a089-661f290a791a] [2025/04/04 12:49:02.159 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=9aee35d1-9be0-4c63-a089-661f290a791a] [ownerKey=/tidb/ddl/fg/owner/3eaa9600d42f9b39] [currRev=1853] [2025/04/04 12:49:02.160 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:49:02.160 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=a72891a3-9ac1-4495-8a2c-0dacbccec0de] [daemon-id=LogBackup::Advancer] [2025/04/04 12:49:02.160 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/22319600d42fa69b] [ownerID=a72891a3-9ac1-4495-8a2c-0dacbccec0de] [op=none] [2025/04/04 12:49:02.160 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=a72891a3-9ac1-4495-8a2c-0dacbccec0de] [2025/04/04 12:49:02.160 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 12:49:02.161 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=a72891a3-9ac1-4495-8a2c-0dacbccec0de] [ownerKey=/tidb/br-stream/owner/22319600d42fa69b] [currRev=1854] [2025/04/04 12:49:02.161 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9600d42f9b39] [ownerID=9aee35d1-9be0-4c63-a089-661f290a791a] [op=none] [2025/04/04 12:49:02.161 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=9aee35d1-9be0-4c63-a089-661f290a791a] [op=none] [2025/04/04 12:49:02.161 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 12:49:02.165 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestDuplicateKeyErrorMessage\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:748\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:49:02.166 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestDuplicateKeyErrorMessage\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:748\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:49:02.167 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestDuplicateKeyErrorMessage\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:748\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:49:02.167 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=9aee35d1-9be0-4c63-a089-661f290a791a] [2025/04/04 12:49:02.168 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:49:02.168 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 12:49:02.177 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:49:02.185 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:49:02.189 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:49:02.189 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:49:02.189 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:49:02.189 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:49:02.189 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 12:49:02.189 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 12:49:02.189 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 12:49:02.189 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 12:49:02.189 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 12:49:02.190 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:49:02.190 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=9aee35d1-9be0-4c63-a089-661f290a791a] [2025/04/04 12:49:02.191 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:49:02.191 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:49:02.191 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:49:02.191 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:49:02.191 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 12:49:02.191 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:49:02.191 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:49:02.191 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 12:49:02.191 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:49:02.191 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:49:02.191 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 12:49:02.191 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:49:02.191 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:49:02.191 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:49:02.192 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:49:02.193 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/04 12:49:02.196 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/bf130ff7-2641-4e38-ade1-140f758ea03a] [2025/04/04 12:49:02.196 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=9aee35d1-9be0-4c63-a089-661f290a791a] [ttl-worker=task-manager] [ttl-worker=9aee35d1-9be0-4c63-a089-661f290a791a] [originalCount=0] [newCount=4] [2025/04/04 12:49:02.196 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=9aee35d1-9be0-4c63-a089-661f290a791a] [ttl-worker=task-manager] [ttl-worker=9aee35d1-9be0-4c63-a089-661f290a791a] [originalCount=0] [newCount=4] [2025/04/04 12:49:02.196 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 12:49:02.196 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=9aee35d1-9be0-4c63-a089-661f290a791a] [2025/04/04 12:49:02.196 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:49:02.196 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 12:49:02.197 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743770942197134186 [2025/04/04 12:49:02.201 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 12:49:02.208 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=17.748534ms] [2025/04/04 12:49:02.208 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 12:49:02.208 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:49:02.216 +00:00] [INFO] [set.go:172] ["set global var"] [conn=32] [name=tidb_schema_cache_size] [val=0] [2025/04/04 12:49:02.227 +00:00] [INFO] [set.go:172] ["set global var"] [conn=32] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 12:49:02.230 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=32] [schemaVersion=392] [cur_db=test] [sql="alter table `_t1` nocache"] [user=] [2025/04/04 12:49:02.231 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=32] [schemaVersion=392] [cur_db=test] [sql="alter table `t1` nocache"] [user=] [2025/04/04 12:49:02.245 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:414, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:412, RowCount:0, ArgLen:1, start time: 2025-04-04 12:49:02.197 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:49:02.245 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:414, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:412, RowCount:0, ArgLen:1, start time: 2025-04-04 12:49:02.197 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t1`,`t1`"] [2025/04/04 12:49:02.251 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=414] [conn=32] [job="ID:414, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:412, RowCount:0, ArgLen:0, start time: 2025-04-04 12:49:02.197 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:49:02.267 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=392] [neededSchemaVersion=393] ["elapsed time"=1.901923ms] [gotSchemaVersion=393] [phyTblIDs="[412]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:49:02.271 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=414] [version=393] [2025/04/04 12:49:02.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=393] ["take time"=9.819437ms] [job="ID:414, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:412, RowCount:0, ArgLen:1, start time: 2025-04-04 12:49:02.197 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:49:02.283 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=414] [conn=32] [job="ID:414, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:412, RowCount:0, ArgLen:0, start time: 2025-04-04 12:49:02.197 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:49:02.298 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=393] [neededSchemaVersion=394] ["elapsed time"=1.916635ms] [gotSchemaVersion=394] [phyTblIDs="[412]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:49:02.302 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=414] [version=394] [2025/04/04 12:49:02.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=394] ["take time"=9.498431ms] [job="ID:414, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:412, RowCount:0, ArgLen:1, start time: 2025-04-04 12:49:02.197 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:49:02.312 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=414] [conn=32] [job="ID:414, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:412, RowCount:0, ArgLen:0, start time: 2025-04-04 12:49:02.197 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:49:02.318 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 412, Old Table Name: _t1)"] [2025/04/04 12:49:02.331 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=394] [neededSchemaVersion=395] ["elapsed time"=974.015µs] [gotSchemaVersion=395] [phyTblIDs="[412]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:49:02.335 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=414] [version=395] [2025/04/04 12:49:02.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=395] ["take time"=7.979797ms] [job="ID:414, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:412, RowCount:0, ArgLen:1, start time: 2025-04-04 12:49:02.197 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:49:02.345 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=414] [tableIDs="[412]"] [comment="drop table: table ID"] [2025/04/04 12:49:02.352 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=414] [jobType="drop table"] [2025/04/04 12:49:02.353 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=414] [conn=32] [job="ID:414, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:412, RowCount:0, ArgLen:1, start time: 2025-04-04 12:49:02.197 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:49:02.371 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=414] [2025/04/04 12:49:02.382 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:415, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:406, RowCount:0, ArgLen:1, start time: 2025-04-04 12:49:02.347 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:49:02.382 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:415, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:406, RowCount:0, ArgLen:1, start time: 2025-04-04 12:49:02.347 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t1`,`t1`"] [2025/04/04 12:49:02.387 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=415] [conn=32] [job="ID:415, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:406, RowCount:0, ArgLen:0, start time: 2025-04-04 12:49:02.347 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:49:02.402 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=395] [neededSchemaVersion=396] ["elapsed time"=1.75832ms] [gotSchemaVersion=396] [phyTblIDs="[406]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:49:02.406 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=415] [version=396] [2025/04/04 12:49:02.407 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=396] ["take time"=8.710883ms] [job="ID:415, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:406, RowCount:0, ArgLen:1, start time: 2025-04-04 12:49:02.347 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:49:02.417 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=415] [conn=32] [job="ID:415, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:406, RowCount:0, ArgLen:0, start time: 2025-04-04 12:49:02.347 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:49:02.432 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=396] [neededSchemaVersion=397] ["elapsed time"=1.834586ms] [gotSchemaVersion=397] [phyTblIDs="[406]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:49:02.435 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=415] [version=397] [2025/04/04 12:49:02.437 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=397] ["take time"=8.74487ms] [job="ID:415, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:406, RowCount:0, ArgLen:1, start time: 2025-04-04 12:49:02.347 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:49:02.445 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=415] [conn=32] [job="ID:415, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:406, RowCount:0, ArgLen:0, start time: 2025-04-04 12:49:02.347 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:49:02.451 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 406, Old Table Name: t1)"] [2025/04/04 12:49:02.464 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=397] [neededSchemaVersion=398] ["elapsed time"=1.01913ms] [gotSchemaVersion=398] [phyTblIDs="[406]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:49:02.468 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=415] [version=398] [2025/04/04 12:49:02.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=398] ["take time"=9.467583ms] [job="ID:415, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:406, RowCount:0, ArgLen:1, start time: 2025-04-04 12:49:02.347 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:49:02.480 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=415] [tableIDs="[406]"] [comment="drop table: table ID"] [2025/04/04 12:49:02.484 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=415] [jobType="drop table"] [2025/04/04 12:49:02.485 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=415] [conn=32] [job="ID:415, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:406, RowCount:0, ArgLen:1, start time: 2025-04-04 12:49:02.347 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:49:02.503 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=415] [2025/04/04 12:49:02.503 +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: 1743770942503808464 [2025/04/04 12:49:02.507 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=33] [schemaVersion=398] [cur_db=test] [sql="drop table if exists t1"] [user=] [2025/04/04 12:49:02.520 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:417, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:416, RowCount:0, ArgLen:1, start time: 2025-04-04 12:49:02.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:49:02.520 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:417, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:416, RowCount:0, ArgLen:1, start time: 2025-04-04 12:49:02.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t1(a int primary key, b int)"] [2025/04/04 12:49:02.526 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=417] [conn=33] [job="ID:417, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:416, RowCount:0, ArgLen:0, start time: 2025-04-04 12:49:02.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:49:02.531 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 416, Table Name: t1)"] [2025/04/04 12:49:02.544 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=398] [neededSchemaVersion=399] ["elapsed time"=1.383504ms] [gotSchemaVersion=399] [phyTblIDs="[416]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:49:02.548 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=417] [version=399] [2025/04/04 12:49:02.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=399] ["take time"=8.398803ms] [job="ID:417, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:416, RowCount:0, ArgLen:1, start time: 2025-04-04 12:49:02.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:49:02.561 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=417] [conn=33] [job="ID:417, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:416, RowCount:0, ArgLen:0, start time: 2025-04-04 12:49:02.497 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:49:02.572 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=417] [2025/04/04 12:49:02.572 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=33] [schemaVersion=399] [cur_db=test] [sql="create table t1(a int primary key, b int)"] [user=] [2025/04/04 12:49:02.574 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119089963040777] [2025/04/04 12:49:02.581 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119089963040782] [generation=1] [session=33] [keys=1] [size=29B] ["flushed keys"=1] ["flushed size"=29B] ["take time"=733.772µs] [2025/04/04 12:49:02.581 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457119089963040782] [startKey=7480000000000001a05f728000000000000001] [endKey=7480000000000001a05f728000000000000001] [2025/04/04 12:49:02.581 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457119089963040782] [commitTS=0] [session=33] [2025/04/04 12:49:02.582 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=9aee35d1-9be0-4c63-a089-661f290a791a] [] [2025/04/04 12:49:02.582 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=9aee35d1-9be0-4c63-a089-661f290a791a] [2025/04/04 12:49:02.582 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 12:49:02.582 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 12:49:02.582 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:49:02.582 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:49:02.582 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 59, tp general"] ["take time"=62.761µs] [2025/04/04 12:49:02.582 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 60, tp general"] ["take time"=36.095µs] [2025/04/04 12:49:02.582 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 61, tp general"] ["take time"=25.213µs] [2025/04/04 12:49:02.582 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=9aee35d1-9be0-4c63-a089-661f290a791a] [2025/04/04 12:49:02.582 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=9aee35d1-9be0-4c63-a089-661f290a791a] [2025/04/04 12:49:02.583 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 12:49:02.583 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 12:49:02.585 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=9aee35d1-9be0-4c63-a089-661f290a791a] ["take time"=3.183012ms] [2025/04/04 12:49:02.585 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=9aee35d1-9be0-4c63-a089-661f290a791a] [2025/04/04 12:49:02.585 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 12:49:02.585 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/bf130ff7-2641-4e38-ade1-140f758ea03a] [2025/04/04 12:49:02.585 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=9aee35d1-9be0-4c63-a089-661f290a791a] [ttl-worker=task-manager] [ttl-worker=9aee35d1-9be0-4c63-a089-661f290a791a] [originalCount=4] [newCount=0] [2025/04/04 12:49:02.585 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:49:02.585 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:49:02.585 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:49:02.585 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:49:02.585 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=9aee35d1-9be0-4c63-a089-661f290a791a] [ttl-worker=task-manager] [ttl-worker=9aee35d1-9be0-4c63-a089-661f290a791a] [originalCount=4] [newCount=0] [2025/04/04 12:49:02.588 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:49:02.588 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:49:02.588 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:49:02.588 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:49:02.591 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=9aee35d1-9be0-4c63-a089-661f290a791a] [2025/04/04 12:49:02.591 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 12:49:02.592 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=562] [2025/04/04 12:49:02.592 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 12:49:02.592 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 12:49:02.592 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 12:49:02.592 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 12:49:02.592 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 12:49:02.592 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 12:49:02.592 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 12:49:02.592 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:49:02.592 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 12:49:02.592 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 12:49:02.592 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 12:49:02.592 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 12:49:02.592 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:49:02.592 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 12:49:02.592 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:49:02.592 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 12:49:02.592 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 12:49:02.592 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 12:49:02.592 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:49:02.592 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:49:02.592 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:49:02.592 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 12:49:02.592 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 12:49:02.592 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 12:49:02.592 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 12:49:02.592 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:49:02.592 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:49:02.592 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:49:02.592 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:49:02.592 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:49:02.592 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:49:02.592 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:49:02.592 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:49:02.592 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:49:02.592 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 12:49:02.592 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:49:02.592 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:49:02.592 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:49:02.592 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 12:49:02.592 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 12:49:02.592 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:49:02.592 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:49:02.592 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:49:02.592 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:49:02.592 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 12:49:02.592 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 12:49:02.592 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=a72891a3-9ac1-4495-8a2c-0dacbccec0de] [] [2025/04/04 12:49:02.592 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:49:02.592 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 12:49:02.592 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=a72891a3-9ac1-4495-8a2c-0dacbccec0de] [2025/04/04 12:49:02.592 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 12:49:02.593 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:49:02.592 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:49:02.592 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:49:02.592 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:49:02.592 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:49:02.592 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 12:49:02.592 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:49:02.592 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:49:02.593 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=a72891a3-9ac1-4495-8a2c-0dacbccec0de] [2025/04/04 12:49:02.593 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:49:02.593 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=a72891a3-9ac1-4495-8a2c-0dacbccec0de] [2025/04/04 12:49:02.593 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:49:02.593 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:49:02.594 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/stats/owner] [id=9aee35d1-9be0-4c63-a089-661f290a791a] [error="context canceled"] [2025/04/04 12:49:02.594 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=9aee35d1-9be0-4c63-a089-661f290a791a] [2025/04/04 12:49:02.594 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 12:49:02.594 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 12:49:02.594 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:49:02.594 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 12:49:02.594 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:49:02.594 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=a72891a3-9ac1-4495-8a2c-0dacbccec0de] [daemon-id=LogBackup::Advancer] [2025/04/04 12:49:02.594 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:49:02.594 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 12:49:02.595 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=9aee35d1-9be0-4c63-a089-661f290a791a] [error="context canceled"] [2025/04/04 12:49:02.595 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 12:49:02.595 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 12:49:02.595 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:49:02.595 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:49:02.595 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:49:02.596 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=9aee35d1-9be0-4c63-a089-661f290a791a] [error="context canceled"] [2025/04/04 12:49:02.596 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=9aee35d1-9be0-4c63-a089-661f290a791a] [2025/04/04 12:49:02.596 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=9aee35d1-9be0-4c63-a089-661f290a791a] [error="context canceled"] [2025/04/04 12:49:02.596 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=9aee35d1-9be0-4c63-a089-661f290a791a] [error="context canceled"] [errorVerbose="context canceled\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:49:02.613 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 12:49:02.613 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:49:02.657 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 12:49:02.657 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:49:02.668 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=86.252151ms] [2025/04/04 12:49:04.002 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/04 12:49:07.582 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119089963040782 rolled_back:true is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:49:07.582 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119089963040782 rolled_back:true is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:49:07.582 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119089963040782 rolled_back:true is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:49:07.582 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:49:07.582 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:49:07.582 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:49:07.582 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:49:07.582 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:49:07.582 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:49:07.582 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:49:07.582 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:49:07.583 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:49:07.582 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-15] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:49:07.583 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:49:07.583 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:49:07.584 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestDuplicateKeyErrorMessage (5.60s) === NAME === RUN TestInsertIgnoreOnDuplicateKeyUpdate [2025/04/04 12:49:07.593 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 12:49:07.594 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 12:49:07.594 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437819270443114] [2025/04/04 12:49:07.595 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:49:07.595 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 12:49:07.595 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:49:07.595 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:49:07.595 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:49:07.596 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:49:07.596 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:49:07.596 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:49:07.600 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 12:49:07.605 +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/04 12:49:07.606 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:49:07.606 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:49:07.616 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489437819270443114] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 12:49:07.625 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 12:49:07.658 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1041] ["lease id"=22319600d42fa6c2] [2025/04/04 12:49:07.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/04 12:49:07.744 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=399] ["elapsed time"=82.149032ms] [2025/04/04 12:49:07.744 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 12:49:07.746 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 12:49:07.751 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=188afe35-c103-43ce-ba59-32d2ca1b66c3] [runWorker=true] [jobVersion=v2] [2025/04/04 12:49:07.751 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 12:49:07.753 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=188afe35-c103-43ce-ba59-32d2ca1b66c3] [2025/04/04 12:49:07.754 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 12:49:07.754 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 217610883072/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 12:49:07.754 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:49:07.754 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:49:07.754 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:49:07.754 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:49:07.754 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:49:07.754 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:49:07.755 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:49:07.755 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:49:07.755 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:49:07.755 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 12:49:07.755 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:49:07.755 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 12:49:07.755 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=6f4ba6a3-902c-4f2e-9e08-7f80f67cdaad] [2025/04/04 12:49:07.756 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319600d42fa6c7] [ownerID=188afe35-c103-43ce-ba59-32d2ca1b66c3] [op=none] [2025/04/04 12:49:07.756 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=188afe35-c103-43ce-ba59-32d2ca1b66c3] [2025/04/04 12:49:07.757 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=188afe35-c103-43ce-ba59-32d2ca1b66c3] [ownerKey=/tidb/ddl/fg/owner/22319600d42fa6c7] [currRev=1894] [2025/04/04 12:49:07.757 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:49:07.757 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=6f4ba6a3-902c-4f2e-9e08-7f80f67cdaad] [daemon-id=LogBackup::Advancer] [2025/04/04 12:49:07.758 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 12:49:07.758 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f189600d42fa09b] [ownerID=6f4ba6a3-902c-4f2e-9e08-7f80f67cdaad] [op=none] [2025/04/04 12:49:07.758 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=6f4ba6a3-902c-4f2e-9e08-7f80f67cdaad] [2025/04/04 12:49:07.758 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=6f4ba6a3-902c-4f2e-9e08-7f80f67cdaad] [ownerKey=/tidb/br-stream/owner/6f189600d42fa09b] [currRev=1895] [2025/04/04 12:49:07.759 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319600d42fa6c7] [ownerID=188afe35-c103-43ce-ba59-32d2ca1b66c3] [op=none] [2025/04/04 12:49:07.759 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=188afe35-c103-43ce-ba59-32d2ca1b66c3] [op=none] [2025/04/04 12:49:07.759 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 12:49:07.762 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestInsertIgnoreOnDuplicateKeyUpdate\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:763\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:49:07.763 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestInsertIgnoreOnDuplicateKeyUpdate\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:763\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:49:07.764 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestInsertIgnoreOnDuplicateKeyUpdate\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:763\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:49:07.764 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=188afe35-c103-43ce-ba59-32d2ca1b66c3] [2025/04/04 12:49:07.765 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:49:07.765 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 12:49:07.774 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:49:07.781 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:49:07.785 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:49:07.785 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:49:07.785 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:49:07.785 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 12:49:07.785 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 12:49:07.785 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:49:07.785 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 12:49:07.785 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 12:49:07.785 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 12:49:07.786 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:49:07.786 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=188afe35-c103-43ce-ba59-32d2ca1b66c3] [2025/04/04 12:49:07.787 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:49:07.787 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:49:07.787 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:49:07.787 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:49:07.787 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 12:49:07.787 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:49:07.787 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:49:07.787 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:49:07.787 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 12:49:07.787 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:49:07.787 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 12:49:07.787 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:49:07.787 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:49:07.788 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:49:07.788 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:49:07.789 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/04 12:49:07.792 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/cb0fe289-5128-406b-8689-ed730baaf7ab] [2025/04/04 12:49:07.792 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:49:07.792 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 12:49:07.792 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 12:49:07.792 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743770947792714926 [2025/04/04 12:49:07.793 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=188afe35-c103-43ce-ba59-32d2ca1b66c3] [ttl-worker=task-manager] [ttl-worker=188afe35-c103-43ce-ba59-32d2ca1b66c3] [originalCount=0] [newCount=4] [2025/04/04 12:49:07.793 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=188afe35-c103-43ce-ba59-32d2ca1b66c3] [ttl-worker=task-manager] [ttl-worker=188afe35-c103-43ce-ba59-32d2ca1b66c3] [originalCount=0] [newCount=4] [2025/04/04 12:49:07.793 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=188afe35-c103-43ce-ba59-32d2ca1b66c3] [2025/04/04 12:49:07.797 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 12:49:07.804 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=17.401225ms] [2025/04/04 12:49:07.804 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 12:49:07.804 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:49:07.812 +00:00] [INFO] [set.go:172] ["set global var"] [conn=34] [name=tidb_schema_cache_size] [val=0] [2025/04/04 12:49:07.830 +00:00] [INFO] [set.go:172] ["set global var"] [conn=34] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 12:49:07.832 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=34] [schemaVersion=399] [cur_db=test] [sql="alter table `t1` nocache"] [user=] [2025/04/04 12:49:07.846 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:418, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:416, RowCount:0, ArgLen:1, start time: 2025-04-04 12:49:07.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:49:07.846 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:418, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:416, RowCount:0, ArgLen:1, start time: 2025-04-04 12:49:07.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t1`"] [2025/04/04 12:49:07.852 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=418] [conn=34] [job="ID:418, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:416, RowCount:0, ArgLen:0, start time: 2025-04-04 12:49:07.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:49:07.868 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=399] [neededSchemaVersion=400] ["elapsed time"=1.839559ms] [gotSchemaVersion=400] [phyTblIDs="[416]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:49:07.872 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=418] [version=400] [2025/04/04 12:49:07.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=400] ["take time"=9.267772ms] [job="ID:418, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:416, RowCount:0, ArgLen:1, start time: 2025-04-04 12:49:07.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:49:07.883 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=418] [conn=34] [job="ID:418, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:416, RowCount:0, ArgLen:0, start time: 2025-04-04 12:49:07.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:49:07.897 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=400] [neededSchemaVersion=401] ["elapsed time"=1.828869ms] [gotSchemaVersion=401] [phyTblIDs="[416]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:49:07.901 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=418] [version=401] [2025/04/04 12:49:07.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=401] ["take time"=8.824262ms] [job="ID:418, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:416, RowCount:0, ArgLen:1, start time: 2025-04-04 12:49:07.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:49:07.911 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=418] [conn=34] [job="ID:418, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:416, RowCount:0, ArgLen:0, start time: 2025-04-04 12:49:07.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:49:07.917 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 416, Old Table Name: t1)"] [2025/04/04 12:49:07.930 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=401] [neededSchemaVersion=402] ["elapsed time"=1.025303ms] [gotSchemaVersion=402] [phyTblIDs="[416]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:49:07.933 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=418] [version=402] [2025/04/04 12:49:07.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=402] ["take time"=7.870082ms] [job="ID:418, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:416, RowCount:0, ArgLen:1, start time: 2025-04-04 12:49:07.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:49:07.944 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=418] [tableIDs="[416]"] [comment="drop table: table ID"] [2025/04/04 12:49:07.950 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=418] [jobType="drop table"] [2025/04/04 12:49:07.951 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=418] [conn=34] [job="ID:418, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:416, RowCount:0, ArgLen:1, start time: 2025-04-04 12:49:07.797 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:49:07.969 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=418] [2025/04/04 12:49:07.969 +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: 1743770947969878329 [2025/04/04 12:49:07.982 +00:00] [INFO] [set.go:172] ["set global var"] [conn=35] [name=tidb_schema_cache_size] [val=0] [2025/04/04 12:49:07.985 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=35] [schemaVersion=402] [cur_db=test] [sql="drop table if exists t1"] [user=] [2025/04/04 12:49:07.998 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:420, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:419, RowCount:0, ArgLen:1, start time: 2025-04-04 12:49:07.947 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:49:07.998 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:420, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:419, RowCount:0, ArgLen:1, start time: 2025-04-04 12:49:07.947 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t1(a int, b int, unique index u1(a, b), unique index u2(a))"] [2025/04/04 12:49:08.004 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=420] [conn=35] [job="ID:420, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:419, RowCount:0, ArgLen:0, start time: 2025-04-04 12:49:07.947 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:49:08.009 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 419, Table Name: t1)"] [2025/04/04 12:49:08.025 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=402] [neededSchemaVersion=403] ["elapsed time"=1.676744ms] [gotSchemaVersion=403] [phyTblIDs="[419]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:49:08.029 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=420] [version=403] [2025/04/04 12:49:08.030 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=403] ["take time"=9.049214ms] [job="ID:420, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:419, RowCount:0, ArgLen:1, start time: 2025-04-04 12:49:07.947 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:49:08.042 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=420] [conn=35] [job="ID:420, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:419, RowCount:0, ArgLen:0, start time: 2025-04-04 12:49:07.947 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:49:08.054 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=420] [2025/04/04 12:49:08.054 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=35] [schemaVersion=403] [cur_db=test] [sql="create table t1(a int, b int, unique index u1(a, b), unique index u2(a))"] [user=] [2025/04/04 12:49:08.059 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119091405094916] [generation=1] [session=35] [keys=6] [size=228B] ["flushed keys"=6] ["flushed size"=228B] ["take time"=1.054843ms] [2025/04/04 12:49:08.060 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=6] [flush_wait_duration=1.157177ms] [total_duration=4.399664ms] ["memdb traversal cache hit"=12] ["memdb traversal cache miss"=12] [size=228B] [startTS=457119091405094916] [2025/04/04 12:49:08.061 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119091405094916] [commitTS=457119091405094921] [2025/04/04 12:49:08.061 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119091405094916] [startKey=7480000000000001a35f698000000000000001038000000000000000038000000000000000] [endKey=7480000000000001a35f728000000000000002] [concurrency=8] [2025/04/04 12:49:08.066 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119091405094916] [startKey=7480000000000001a35f698000000000000001038000000000000000038000000000000000] [endKey=7480000000000001a35f728000000000000002] ["cost time"=4.357073ms] ["completed regions"=1] [2025/04/04 12:49:08.066 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119091405094916] [commitTS=457119091405094921] [session=35] [2025/04/04 12:49:08.069 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119091405094922] [generation=1] [session=35] [keys=3] [size=115B] ["flushed keys"=3] ["flushed size"=115B] ["take time"=884.576µs] [2025/04/04 12:49:08.069 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=3] [flush_wait_duration=976.644µs] [total_duration=6.674771ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=19] [size=115B] [startTS=457119091405094922] [2025/04/04 12:49:08.070 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119091405094922] [commitTS=457119091405094923] [2025/04/04 12:49:08.070 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119091405094922] [startKey=7480000000000001a35f698000000000000001038000000000000000038000000000000000] [endKey=7480000000000001a35f728000000000000001] [concurrency=8] [2025/04/04 12:49:08.073 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119091405094922] [startKey=7480000000000001a35f698000000000000001038000000000000000038000000000000000] [endKey=7480000000000001a35f728000000000000001] ["cost time"=2.163344ms] ["completed regions"=1] [2025/04/04 12:49:08.073 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119091405094922] [commitTS=457119091405094923] [session=35] [2025/04/04 12:49:08.073 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 12:49:08.073 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=188afe35-c103-43ce-ba59-32d2ca1b66c3] [] [2025/04/04 12:49:08.073 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 12:49:08.074 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=188afe35-c103-43ce-ba59-32d2ca1b66c3] [2025/04/04 12:49:08.074 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:49:08.074 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:49:08.074 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 62, tp general"] ["take time"=50.497µs] [2025/04/04 12:49:08.074 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 63, tp general"] ["take time"=27.815µs] [2025/04/04 12:49:08.074 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=188afe35-c103-43ce-ba59-32d2ca1b66c3] [2025/04/04 12:49:08.074 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=188afe35-c103-43ce-ba59-32d2ca1b66c3] [2025/04/04 12:49:08.075 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 12:49:08.075 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 12:49:08.076 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=188afe35-c103-43ce-ba59-32d2ca1b66c3] ["take time"=2.303191ms] [2025/04/04 12:49:08.076 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=188afe35-c103-43ce-ba59-32d2ca1b66c3] [2025/04/04 12:49:08.076 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 12:49:08.076 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/cb0fe289-5128-406b-8689-ed730baaf7ab] [2025/04/04 12:49:08.076 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=188afe35-c103-43ce-ba59-32d2ca1b66c3] [ttl-worker=task-manager] [ttl-worker=188afe35-c103-43ce-ba59-32d2ca1b66c3] [originalCount=4] [newCount=0] [2025/04/04 12:49:08.076 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:49:08.076 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:49:08.076 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:49:08.076 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:49:08.076 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=188afe35-c103-43ce-ba59-32d2ca1b66c3] [ttl-worker=task-manager] [ttl-worker=188afe35-c103-43ce-ba59-32d2ca1b66c3] [originalCount=4] [newCount=0] [2025/04/04 12:49:08.078 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:49:08.078 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:49:08.079 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:49:08.079 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:49:08.081 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=188afe35-c103-43ce-ba59-32d2ca1b66c3] [2025/04/04 12:49:08.081 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 12:49:08.082 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1041] [2025/04/04 12:49:08.082 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 12:49:08.082 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 12:49:08.082 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 12:49:08.082 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 12:49:08.082 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:49:08.082 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:49:08.082 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:49:08.082 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 12:49:08.082 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:49:08.082 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:49:08.082 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 12:49:08.082 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 12:49:08.082 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:49:08.082 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:49:08.082 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 12:49:08.082 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:49:08.082 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 12:49:08.082 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:49:08.082 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 12:49:08.082 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 12:49:08.082 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 12:49:08.082 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:49:08.082 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:49:08.082 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 12:49:08.082 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:49:08.082 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 12:49:08.082 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 12:49:08.082 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:49:08.082 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 12:49:08.082 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:49:08.082 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 12:49:08.082 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:49:08.082 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 12:49:08.082 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 12:49:08.082 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:49:08.082 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 12:49:08.082 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:49:08.082 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 12:49:08.082 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:49:08.082 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 12:49:08.082 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:49:08.082 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:49:08.082 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:49:08.082 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:49:08.082 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=6f4ba6a3-902c-4f2e-9e08-7f80f67cdaad] [] [2025/04/04 12:49:08.082 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:49:08.082 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:49:08.082 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=6f4ba6a3-902c-4f2e-9e08-7f80f67cdaad] [2025/04/04 12:49:08.082 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:49:08.082 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 12:49:08.082 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=6f4ba6a3-902c-4f2e-9e08-7f80f67cdaad] [2025/04/04 12:49:08.082 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 12:49:08.082 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:49:08.082 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=6f4ba6a3-902c-4f2e-9e08-7f80f67cdaad] [2025/04/04 12:49:08.083 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:49:08.082 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 12:49:08.082 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 12:49:08.082 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:49:08.083 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:49:08.082 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 12:49:08.083 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:49:08.083 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:49:08.082 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:49:08.082 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:49:08.082 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:49:08.082 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:49:08.083 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/stats/owner] [id=188afe35-c103-43ce-ba59-32d2ca1b66c3] [error="context canceled"] [2025/04/04 12:49:08.083 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=188afe35-c103-43ce-ba59-32d2ca1b66c3] [2025/04/04 12:49:08.084 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 12:49:08.084 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=6f4ba6a3-902c-4f2e-9e08-7f80f67cdaad] [daemon-id=LogBackup::Advancer] [2025/04/04 12:49:08.084 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 12:49:08.084 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 12:49:08.084 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:49:08.084 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:49:08.084 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=188afe35-c103-43ce-ba59-32d2ca1b66c3] [error="context canceled"] [2025/04/04 12:49:08.084 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:49:08.084 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 12:49:08.084 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 12:49:08.084 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 12:49:08.084 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:49:08.085 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=188afe35-c103-43ce-ba59-32d2ca1b66c3] [error="context canceled"] [2025/04/04 12:49:08.085 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=188afe35-c103-43ce-ba59-32d2ca1b66c3] [2025/04/04 12:49:08.085 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=188afe35-c103-43ce-ba59-32d2ca1b66c3] [error="context canceled"] [2025/04/04 12:49:08.085 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=188afe35-c103-43ce-ba59-32d2ca1b66c3] [error="context canceled"] [errorVerbose="context canceled\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:49:08.101 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 12:49:08.101 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:49:08.147 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 12:49:08.147 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:49:08.157 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=83.506021ms] [2025/04/04 12:49:09.601 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/04 12:49:13.066 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119091405094916 commit_ts:457119091405094921 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:49:13.066 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119091405094916 commit_ts:457119091405094921 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:49:13.066 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119091405094916 commit_ts:457119091405094921 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:49:13.073 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119091405094922 commit_ts:457119091405094923 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:49:13.073 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119091405094922 commit_ts:457119091405094923 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:49:13.073 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119091405094922 commit_ts:457119091405094923 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:49:13.073 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:49:13.073 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:49:13.073 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:49:13.073 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:49:13.073 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:49:13.073 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:49:13.073 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:49:13.073 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:49:13.073 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-16] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:49:13.073 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:49:13.074 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:49:13.074 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:49:13.075 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestInsertIgnoreOnDuplicateKeyUpdate (5.49s) === NAME === RUN TestConflictError [2025/04/04 12:49:13.083 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 12:49:13.083 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 12:49:13.084 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437819270443114] [2025/04/04 12:49:13.085 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:49:13.085 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 12:49:13.085 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:49:13.085 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:49:13.085 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:49:13.085 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:49:13.085 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:49:13.086 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:49:13.089 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 12:49:13.094 +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/04 12:49:13.095 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:49:13.096 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:49:13.105 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489437819270443114] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 12:49:13.115 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 12:49:13.150 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=882] ["lease id"=22319600d42fa6ec] [2025/04/04 12:49:13.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/04 12:49:13.238 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=403] ["elapsed time"=84.034184ms] [2025/04/04 12:49:13.239 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 12:49:13.241 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 12:49:13.246 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=a554207a-1712-4852-b3f8-639adf3da99f] [runWorker=true] [jobVersion=v2] [2025/04/04 12:49:13.246 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 12:49:13.248 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=a554207a-1712-4852-b3f8-639adf3da99f] [2025/04/04 12:49:13.249 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 12:49:13.249 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 217610899456/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 12:49:13.249 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:49:13.249 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:49:13.250 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:49:13.250 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:49:13.250 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:49:13.250 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:49:13.250 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:49:13.250 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 12:49:13.250 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:49:13.250 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:49:13.250 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:49:13.250 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 12:49:13.250 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=d08bedf0-342a-4936-84fe-8f733ac40368] [2025/04/04 12:49:13.252 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9600d42f9ba1] [ownerID=a554207a-1712-4852-b3f8-639adf3da99f] [op=none] [2025/04/04 12:49:13.252 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=a554207a-1712-4852-b3f8-639adf3da99f] [2025/04/04 12:49:13.252 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=a554207a-1712-4852-b3f8-639adf3da99f] [ownerKey=/tidb/ddl/fg/owner/3eaa9600d42f9ba1] [currRev=1927] [2025/04/04 12:49:13.252 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:49:13.252 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=d08bedf0-342a-4936-84fe-8f733ac40368] [daemon-id=LogBackup::Advancer] [2025/04/04 12:49:13.253 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 12:49:13.253 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f189600d42fa0bf] [ownerID=d08bedf0-342a-4936-84fe-8f733ac40368] [op=none] [2025/04/04 12:49:13.253 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=d08bedf0-342a-4936-84fe-8f733ac40368] [2025/04/04 12:49:13.254 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=d08bedf0-342a-4936-84fe-8f733ac40368] [ownerKey=/tidb/br-stream/owner/6f189600d42fa0bf] [currRev=1928] [2025/04/04 12:49:13.254 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9600d42f9ba1] [ownerID=a554207a-1712-4852-b3f8-639adf3da99f] [op=none] [2025/04/04 12:49:13.254 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=a554207a-1712-4852-b3f8-639adf3da99f] [op=none] [2025/04/04 12:49:13.254 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 12:49:13.258 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestConflictError\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:784\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:49:13.259 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestConflictError\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:784\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:49:13.260 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestConflictError\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:784\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:49:13.260 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=a554207a-1712-4852-b3f8-639adf3da99f] [2025/04/04 12:49:13.261 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:49:13.261 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 12:49:13.271 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:49:13.277 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:49:13.282 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:49:13.282 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:49:13.282 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:49:13.282 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:49:13.282 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 12:49:13.282 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 12:49:13.282 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 12:49:13.282 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 12:49:13.282 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 12:49:13.283 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:49:13.283 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=a554207a-1712-4852-b3f8-639adf3da99f] [2025/04/04 12:49:13.284 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:49:13.284 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:49:13.284 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:49:13.284 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:49:13.284 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:49:13.284 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:49:13.284 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 12:49:13.284 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:49:13.284 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 12:49:13.284 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:49:13.285 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 12:49:13.285 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:49:13.285 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:49:13.285 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:49:13.285 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:49:13.286 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/04 12:49:13.289 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/08cb9112-c2a6-408d-a3ee-fd0d8f80ecea] [2025/04/04 12:49:13.289 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=a554207a-1712-4852-b3f8-639adf3da99f] [ttl-worker=task-manager] [ttl-worker=a554207a-1712-4852-b3f8-639adf3da99f] [originalCount=0] [newCount=4] [2025/04/04 12:49:13.289 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=a554207a-1712-4852-b3f8-639adf3da99f] [ttl-worker=task-manager] [ttl-worker=a554207a-1712-4852-b3f8-639adf3da99f] [originalCount=0] [newCount=4] [2025/04/04 12:49:13.289 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=a554207a-1712-4852-b3f8-639adf3da99f] [2025/04/04 12:49:13.290 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:49:13.290 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 12:49:13.290 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 12:49:13.290 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743770953290591140 [2025/04/04 12:49:13.295 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 12:49:13.302 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=18.306113ms] [2025/04/04 12:49:13.302 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 12:49:13.302 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:49:13.311 +00:00] [INFO] [set.go:172] ["set global var"] [conn=36] [name=tidb_schema_cache_size] [val=0] [2025/04/04 12:49:13.332 +00:00] [INFO] [set.go:172] ["set global var"] [conn=36] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 12:49:13.336 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=36] [schemaVersion=403] [cur_db=test] [sql="alter table `t1` nocache"] [user=] [2025/04/04 12:49:13.355 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:421, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:419, RowCount:0, ArgLen:1, start time: 2025-04-04 12:49:13.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:49:13.355 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:421, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:419, RowCount:0, ArgLen:1, start time: 2025-04-04 12:49:13.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t1`"] [2025/04/04 12:49:13.360 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=421] [conn=36] [job="ID:421, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:419, RowCount:0, ArgLen:0, start time: 2025-04-04 12:49:13.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:49:13.377 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=403] [neededSchemaVersion=404] ["elapsed time"=2.128627ms] [gotSchemaVersion=404] [phyTblIDs="[419]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:49:13.381 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=421] [version=404] [2025/04/04 12:49:13.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=404] ["take time"=10.141409ms] [job="ID:421, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:419, RowCount:0, ArgLen:1, start time: 2025-04-04 12:49:13.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:49:13.392 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=421] [conn=36] [job="ID:421, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:419, RowCount:0, ArgLen:0, start time: 2025-04-04 12:49:13.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:49:13.407 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=404] [neededSchemaVersion=405] ["elapsed time"=2.266542ms] [gotSchemaVersion=405] [phyTblIDs="[419]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:49:13.411 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=421] [version=405] [2025/04/04 12:49:13.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=405] ["take time"=9.287934ms] [job="ID:421, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:419, RowCount:0, ArgLen:1, start time: 2025-04-04 12:49:13.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:49:13.421 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=421] [conn=36] [job="ID:421, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:419, RowCount:0, ArgLen:0, start time: 2025-04-04 12:49:13.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:49:13.427 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 419, Old Table Name: t1)"] [2025/04/04 12:49:13.440 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=405] [neededSchemaVersion=406] ["elapsed time"=958.727µs] [gotSchemaVersion=406] [phyTblIDs="[419]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:49:13.444 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=421] [version=406] [2025/04/04 12:49:13.446 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=406] ["take time"=8.069823ms] [job="ID:421, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:419, RowCount:0, ArgLen:1, start time: 2025-04-04 12:49:13.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:49:13.455 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=421] [tableIDs="[419]"] [comment="drop table: table ID"] [2025/04/04 12:49:13.464 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=421] [jobType="drop table"] [2025/04/04 12:49:13.466 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=421] [conn=36] [job="ID:421, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:419, RowCount:0, ArgLen:1, start time: 2025-04-04 12:49:13.297 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:49:13.490 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=421] [2025/04/04 12:49:13.491 +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: 1743770953491676223 [2025/04/04 12:49:13.496 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=37] [schemaVersion=406] [cur_db=test] [sql="drop table if exists t1, _t1"] [user=] [2025/04/04 12:49:13.511 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:423, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:422, RowCount:0, ArgLen:1, start time: 2025-04-04 12:49:13.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:49:13.511 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:423, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:422, RowCount:0, ArgLen:1, start time: 2025-04-04 12:49:13.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t1(a int primary key, b int)"] [2025/04/04 12:49:13.517 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=423] [conn=37] [job="ID:423, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:422, RowCount:0, ArgLen:0, start time: 2025-04-04 12:49:13.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:49:13.522 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 422, Table Name: t1)"] [2025/04/04 12:49:13.538 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=406] [neededSchemaVersion=407] ["elapsed time"=1.669758ms] [gotSchemaVersion=407] [phyTblIDs="[422]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:49:13.542 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=423] [version=407] [2025/04/04 12:49:13.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=407] ["take time"=9.416407ms] [job="ID:423, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:422, RowCount:0, ArgLen:1, start time: 2025-04-04 12:49:13.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:49:13.556 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=423] [conn=37] [job="ID:423, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:422, RowCount:0, ArgLen:0, start time: 2025-04-04 12:49:13.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:49:13.568 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=423] [2025/04/04 12:49:13.568 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=37] [schemaVersion=407] [cur_db=test] [sql="create table t1(a int primary key, b int)"] [user=] [2025/04/04 12:49:13.582 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:425, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:424, RowCount:0, ArgLen:1, start time: 2025-04-04 12:49:13.547 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:49:13.582 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:425, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:424, RowCount:0, ArgLen:1, start time: 2025-04-04 12:49:13.547 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t1(a int primary key, b int)"] [2025/04/04 12:49:13.588 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=425] [conn=37] [job="ID:425, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:424, RowCount:0, ArgLen:0, start time: 2025-04-04 12:49:13.547 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:49:13.593 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 424, Table Name: _t1)"] [2025/04/04 12:49:13.609 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=407] [neededSchemaVersion=408] ["elapsed time"=1.676122ms] [gotSchemaVersion=408] [phyTblIDs="[424]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:49:13.613 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=425] [version=408] [2025/04/04 12:49:13.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=408] ["take time"=9.536257ms] [job="ID:425, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:424, RowCount:0, ArgLen:1, start time: 2025-04-04 12:49:13.547 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:49:13.627 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=425] [conn=37] [job="ID:425, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:424, RowCount:0, ArgLen:0, start time: 2025-04-04 12:49:13.547 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:49:13.640 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=425] [2025/04/04 12:49:13.640 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=37] [schemaVersion=408] [cur_db=test] [sql="create table _t1(a int primary key, b int)"] [user=] [2025/04/04 12:49:13.659 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119092872839170] [generation=1] [session=37] [keys=100] [size=2.9kB] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=2.577166ms] [2025/04/04 12:49:13.660 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119092872839170] [generation=2] [session=37] [keys=0] [size=0B] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=34.416µs] [2025/04/04 12:49:13.660 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=100] [flush_wait_duration=2.684156ms] [total_duration=7.23651ms] ["memdb traversal cache hit"=200] ["memdb traversal cache miss"=200] [size=2.9kB] [startTS=457119092872839170] [2025/04/04 12:49:13.661 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119092872839170] [commitTS=457119092872839172] [2025/04/04 12:49:13.661 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119092872839170] [startKey=7480000000000001a85f728000000000000000] [endKey=7480000000000001a85f728000000000000063] [concurrency=8] [2025/04/04 12:49:13.666 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119092872839170] [startKey=7480000000000001a85f728000000000000000] [endKey=7480000000000001a85f728000000000000063] ["cost time"=4.961484ms] ["completed regions"=1] [2025/04/04 12:49:13.666 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119092872839170] [commitTS=457119092872839172] [session=37] [2025/04/04 12:49:13.668 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119092872839173] [generation=1] [session=37] [keys=32] [size=928B] ["flushed keys"=32] ["flushed size"=928B] ["take time"=749.328µs] [2025/04/04 12:49:13.669 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/04 12:49:13.669 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-rollback-457119092872839173] [startKey=7480000000000001a85f728000000000000000] [endKey=7480000000000001a85f728000000000000062] [concurrency=8] [2025/04/04 12:49:13.669 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 12:49:13.669 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=a554207a-1712-4852-b3f8-639adf3da99f] [] [2025/04/04 12:49:13.669 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 12:49:13.670 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=a554207a-1712-4852-b3f8-639adf3da99f] [2025/04/04 12:49:13.670 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:49:13.670 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:49:13.670 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 64, tp general"] ["take time"=68.99µs] [2025/04/04 12:49:13.670 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 65, tp general"] ["take time"=36.863µs] [2025/04/04 12:49:13.670 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 66, tp general"] ["take time"=34.68µs] [2025/04/04 12:49:13.670 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=a554207a-1712-4852-b3f8-639adf3da99f] [2025/04/04 12:49:13.670 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=a554207a-1712-4852-b3f8-639adf3da99f] [2025/04/04 12:49:13.671 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 12:49:13.671 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 12:49:13.671 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-rollback-457119092872839173] [startKey=7480000000000001a85f728000000000000000] [endKey=7480000000000001a85f728000000000000062] ["cost time"=2.137872ms] ["completed regions"=1] [2025/04/04 12:49:13.671 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=1] [startTS=457119092872839173] [commitTS=0] [session=37] [2025/04/04 12:49:13.672 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=a554207a-1712-4852-b3f8-639adf3da99f] ["take time"=2.939405ms] [2025/04/04 12:49:13.672 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=a554207a-1712-4852-b3f8-639adf3da99f] [2025/04/04 12:49:13.672 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 12:49:13.672 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/08cb9112-c2a6-408d-a3ee-fd0d8f80ecea] [2025/04/04 12:49:13.672 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=a554207a-1712-4852-b3f8-639adf3da99f] [ttl-worker=task-manager] [ttl-worker=a554207a-1712-4852-b3f8-639adf3da99f] [originalCount=4] [newCount=0] [2025/04/04 12:49:13.673 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:49:13.673 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:49:13.673 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:49:13.673 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:49:13.673 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=a554207a-1712-4852-b3f8-639adf3da99f] [ttl-worker=task-manager] [ttl-worker=a554207a-1712-4852-b3f8-639adf3da99f] [originalCount=4] [newCount=0] [2025/04/04 12:49:13.676 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:49:13.676 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:49:13.676 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:49:13.676 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:49:13.679 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=a554207a-1712-4852-b3f8-639adf3da99f] [2025/04/04 12:49:13.679 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 12:49:13.679 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=882] [2025/04/04 12:49:13.680 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 12:49:13.680 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 12:49:13.680 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 12:49:13.680 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 12:49:13.680 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 12:49:13.680 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:49:13.680 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:49:13.680 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 12:49:13.680 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:49:13.680 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 12:49:13.680 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:49:13.680 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 12:49:13.680 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:49:13.680 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 12:49:13.680 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 12:49:13.680 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 12:49:13.680 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:49:13.680 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 12:49:13.680 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 12:49:13.680 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 12:49:13.680 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 12:49:13.680 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:49:13.680 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 12:49:13.680 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:49:13.680 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=d08bedf0-342a-4936-84fe-8f733ac40368] [] [2025/04/04 12:49:13.680 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:49:13.680 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:49:13.680 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:49:13.680 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:49:13.680 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:49:13.680 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 12:49:13.680 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=d08bedf0-342a-4936-84fe-8f733ac40368] [2025/04/04 12:49:13.680 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 12:49:13.680 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:49:13.680 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:49:13.680 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:49:13.680 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 12:49:13.680 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=d08bedf0-342a-4936-84fe-8f733ac40368] [2025/04/04 12:49:13.680 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:49:13.680 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:49:13.680 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=d08bedf0-342a-4936-84fe-8f733ac40368] [2025/04/04 12:49:13.680 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:49:13.680 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:49:13.680 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:49:13.680 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:49:13.680 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 12:49:13.680 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:49:13.680 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:49:13.680 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:49:13.680 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 12:49:13.680 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:49:13.680 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:49:13.680 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 12:49:13.680 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:49:13.680 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 12:49:13.680 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 12:49:13.680 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:49:13.680 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 12:49:13.680 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:49:13.680 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:49:13.680 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 12:49:13.680 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:49:13.680 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 12:49:13.681 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:49:13.680 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:49:13.680 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:49:13.681 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 12:49:13.682 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:49:13.682 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/stats/owner] [id=a554207a-1712-4852-b3f8-639adf3da99f] [error="context canceled"] [2025/04/04 12:49:13.682 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 12:49:13.682 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 12:49:13.682 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=a554207a-1712-4852-b3f8-639adf3da99f] [2025/04/04 12:49:13.682 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=d08bedf0-342a-4936-84fe-8f733ac40368] [daemon-id=LogBackup::Advancer] [2025/04/04 12:49:13.682 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:49:13.682 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:49:13.682 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 12:49:13.682 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=a554207a-1712-4852-b3f8-639adf3da99f] [error="context canceled"] [2025/04/04 12:49:13.682 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 12:49:13.682 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 12:49:13.682 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:49:13.684 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=a554207a-1712-4852-b3f8-639adf3da99f] [error="context canceled"] [2025/04/04 12:49:13.684 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=a554207a-1712-4852-b3f8-639adf3da99f] [2025/04/04 12:49:13.700 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 12:49:13.700 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:49:13.747 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=a554207a-1712-4852-b3f8-639adf3da99f] [error="context canceled"] [2025/04/04 12:49:13.747 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 12:49:13.747 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:49:13.761 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=92.095851ms] [2025/04/04 12:49:15.090 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/04 12:49:18.667 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119092872839170 commit_ts:457119092872839172 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:49:18.667 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119092872839170 commit_ts:457119092872839172 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:49:18.667 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119092872839170 commit_ts:457119092872839172 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:49:18.672 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119092872839173 rolled_back:true is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:49:18.672 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119092872839173 rolled_back:true is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:49:18.672 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119092872839173 rolled_back:true is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:49:18.673 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:49:18.673 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:49:18.673 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:49:18.673 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:49:18.673 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:49:18.673 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:49:18.673 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:49:18.673 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:49:18.673 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:49:18.673 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:49:18.673 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:49:18.673 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-17] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:49:18.674 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestConflictError (5.60s) === NAME === RUN TestRejectUnsupportedTables [2025/04/04 12:49:18.683 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 12:49:18.683 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/04 12:49:18.684 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437819270443114] [2025/04/04 12:49:18.685 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:49:18.685 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/04 12:49:18.685 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:49:18.685 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:49:18.685 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:49:18.685 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:49:18.686 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:49:18.686 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:49:18.689 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 12:49:18.695 +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/04 12:49:18.696 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:49:18.696 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:49:18.706 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489437819270443114] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 12:49:18.716 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 12:49:18.749 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1097] ["lease id"=3eaa9600d42f9bc7] [2025/04/04 12:49:18.751 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/04 12:49:18.838 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=408] ["elapsed time"=84.030203ms] [2025/04/04 12:49:18.838 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 12:49:18.840 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 12:49:18.846 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=16436d5a-2083-4bfc-b252-011aeb991308] [runWorker=true] [jobVersion=v2] [2025/04/04 12:49:18.846 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 12:49:18.848 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=16436d5a-2083-4bfc-b252-011aeb991308] [2025/04/04 12:49:18.849 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 12:49:18.849 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 217610919936/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 12:49:18.850 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:49:18.850 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:49:18.850 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:49:18.850 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:49:18.850 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:49:18.850 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:49:18.850 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:49:18.850 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:49:18.850 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 12:49:18.850 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:49:18.850 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:49:18.850 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 12:49:18.850 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=beae5489-d7e7-4110-acc0-07233f966725] [2025/04/04 12:49:18.852 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9600d42f9bcc] [ownerID=16436d5a-2083-4bfc-b252-011aeb991308] [op=none] [2025/04/04 12:49:18.852 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=16436d5a-2083-4bfc-b252-011aeb991308] [2025/04/04 12:49:18.852 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=16436d5a-2083-4bfc-b252-011aeb991308] [ownerKey=/tidb/ddl/fg/owner/3eaa9600d42f9bcc] [currRev=1961] [2025/04/04 12:49:18.852 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:49:18.853 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=beae5489-d7e7-4110-acc0-07233f966725] [daemon-id=LogBackup::Advancer] [2025/04/04 12:49:18.853 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/22319600d42fa713] [ownerID=beae5489-d7e7-4110-acc0-07233f966725] [op=none] [2025/04/04 12:49:18.854 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=beae5489-d7e7-4110-acc0-07233f966725] [2025/04/04 12:49:18.854 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=beae5489-d7e7-4110-acc0-07233f966725] [ownerKey=/tidb/br-stream/owner/22319600d42fa713] [currRev=1962] [2025/04/04 12:49:18.854 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 12:49:18.854 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9600d42f9bcc] [ownerID=16436d5a-2083-4bfc-b252-011aeb991308] [op=none] [2025/04/04 12:49:18.854 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=16436d5a-2083-4bfc-b252-011aeb991308] [op=none] [2025/04/04 12:49:18.855 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 12:49:18.861 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestRejectUnsupportedTables\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:808\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:49:18.862 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestRejectUnsupportedTables\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:808\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:49:18.862 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestRejectUnsupportedTables\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:808\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:49:18.863 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=16436d5a-2083-4bfc-b252-011aeb991308] [2025/04/04 12:49:18.864 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:49:18.864 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 12:49:18.875 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:49:18.883 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:49:18.888 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:49:18.888 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:49:18.888 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:49:18.888 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 12:49:18.888 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 12:49:18.888 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:49:18.888 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 12:49:18.888 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 12:49:18.888 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 12:49:18.889 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:49:18.889 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=16436d5a-2083-4bfc-b252-011aeb991308] [2025/04/04 12:49:18.890 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:49:18.890 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:49:18.890 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:49:18.890 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:49:18.890 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 12:49:18.891 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:49:18.891 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 12:49:18.891 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:49:18.891 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:49:18.891 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:49:18.891 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/04 12:49:18.891 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:49:18.891 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:49:18.891 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:49:18.891 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:49:18.893 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/04 12:49:18.895 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/54404e40-8486-4849-8892-cbfff2a9ea16] [2025/04/04 12:49:18.896 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=16436d5a-2083-4bfc-b252-011aeb991308] [ttl-worker=task-manager] [ttl-worker=16436d5a-2083-4bfc-b252-011aeb991308] [originalCount=0] [newCount=4] [2025/04/04 12:49:18.896 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=16436d5a-2083-4bfc-b252-011aeb991308] [ttl-worker=task-manager] [ttl-worker=16436d5a-2083-4bfc-b252-011aeb991308] [originalCount=0] [newCount=4] [2025/04/04 12:49:18.896 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=16436d5a-2083-4bfc-b252-011aeb991308] [2025/04/04 12:49:18.897 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:49:18.897 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 12:49:18.897 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743770958897566850 [2025/04/04 12:49:18.898 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 12:49:18.904 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 12:49:18.912 +00:00] [INFO] [set.go:172] ["set global var"] [conn=38] [name=innodb_lock_wait_timeout] [val=50] [2025/04/04 12:49:18.913 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=23.812577ms] [2025/04/04 12:49:18.913 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 12:49:18.913 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:49:18.915 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=38] [schemaVersion=408] [cur_db=test] [sql="alter table `_t1` nocache"] [user=] [2025/04/04 12:49:18.917 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=38] [schemaVersion=408] [cur_db=test] [sql="alter table `t1` nocache"] [user=] [2025/04/04 12:49:18.931 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:426, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:424, RowCount:0, ArgLen:1, start time: 2025-04-04 12:49:18.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t1`,`t1`"] [2025/04/04 12:49:18.931 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:426, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:424, RowCount:0, ArgLen:1, start time: 2025-04-04 12:49:18.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:49:18.938 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=426] [conn=38] [job="ID:426, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:424, RowCount:0, ArgLen:0, start time: 2025-04-04 12:49:18.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:49:18.954 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=408] [neededSchemaVersion=409] ["elapsed time"=1.99037ms] [gotSchemaVersion=409] [phyTblIDs="[424]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:49:18.959 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=426] [version=409] [2025/04/04 12:49:18.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=409] ["take time"=10.107332ms] [job="ID:426, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:424, RowCount:0, ArgLen:1, start time: 2025-04-04 12:49:18.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:49:18.971 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=426] [conn=38] [job="ID:426, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:424, RowCount:0, ArgLen:0, start time: 2025-04-04 12:49:18.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:49:18.987 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=409] [neededSchemaVersion=410] ["elapsed time"=1.930837ms] [gotSchemaVersion=410] [phyTblIDs="[424]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:49:18.991 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=426] [version=410] [2025/04/04 12:49:18.992 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=410] ["take time"=9.346066ms] [job="ID:426, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:424, RowCount:0, ArgLen:1, start time: 2025-04-04 12:49:18.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:49:19.001 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=426] [conn=38] [job="ID:426, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:424, RowCount:0, ArgLen:0, start time: 2025-04-04 12:49:18.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:49:19.007 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 424, Old Table Name: _t1)"] [2025/04/04 12:49:19.020 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=410] [neededSchemaVersion=411] ["elapsed time"=1.03591ms] [gotSchemaVersion=411] [phyTblIDs="[424]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:49:19.024 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=426] [version=411] [2025/04/04 12:49:19.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=411] ["take time"=8.245943ms] [job="ID:426, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:424, RowCount:0, ArgLen:1, start time: 2025-04-04 12:49:18.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:49:19.035 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=426] [tableIDs="[424]"] [comment="drop table: table ID"] [2025/04/04 12:49:19.042 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=426] [jobType="drop table"] [2025/04/04 12:49:19.043 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=426] [conn=38] [job="ID:426, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:424, RowCount:0, ArgLen:1, start time: 2025-04-04 12:49:18.897 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:49:19.062 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=426] [2025/04/04 12:49:19.073 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:427, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:422, RowCount:0, ArgLen:1, start time: 2025-04-04 12:49:19.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:49:19.073 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:427, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:422, RowCount:0, ArgLen:1, start time: 2025-04-04 12:49:19.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t1`,`t1`"] [2025/04/04 12:49:19.079 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=427] [conn=38] [job="ID:427, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:422, RowCount:0, ArgLen:0, start time: 2025-04-04 12:49:19.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:49:19.094 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=411] [neededSchemaVersion=412] ["elapsed time"=1.895544ms] [gotSchemaVersion=412] [phyTblIDs="[422]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:49:19.098 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=427] [version=412] [2025/04/04 12:49:19.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=412] ["take time"=9.655034ms] [job="ID:427, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:422, RowCount:0, ArgLen:1, start time: 2025-04-04 12:49:19.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:49:19.111 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=427] [conn=38] [job="ID:427, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:422, RowCount:0, ArgLen:0, start time: 2025-04-04 12:49:19.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:49:19.126 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=412] [neededSchemaVersion=413] ["elapsed time"=1.93216ms] [gotSchemaVersion=413] [phyTblIDs="[422]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:49:19.130 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=427] [version=413] [2025/04/04 12:49:19.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=413] ["take time"=9.361698ms] [job="ID:427, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:422, RowCount:0, ArgLen:1, start time: 2025-04-04 12:49:19.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:49:19.141 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=427] [conn=38] [job="ID:427, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:422, RowCount:0, ArgLen:0, start time: 2025-04-04 12:49:19.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:49:19.147 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 422, Old Table Name: t1)"] [2025/04/04 12:49:19.160 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=413] [neededSchemaVersion=414] ["elapsed time"=1.06333ms] [gotSchemaVersion=414] [phyTblIDs="[422]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:49:19.164 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=427] [version=414] [2025/04/04 12:49:19.165 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=414] ["take time"=8.344858ms] [job="ID:427, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:422, RowCount:0, ArgLen:1, start time: 2025-04-04 12:49:19.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:49:19.175 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=427] [tableIDs="[422]"] [comment="drop table: table ID"] [2025/04/04 12:49:19.179 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=427] [jobType="drop table"] [2025/04/04 12:49:19.180 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=427] [conn=38] [job="ID:427, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:422, RowCount:0, ArgLen:1, start time: 2025-04-04 12:49:19.047 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:49:19.198 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=427] [2025/04/04 12:49:19.198 +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: 1743770959199214219 [2025/04/04 12:49:19.211 +00:00] [INFO] [set.go:172] ["set global var"] [conn=39] [name=tidb_schema_cache_size] [val=0] [2025/04/04 12:49:19.215 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=39] [schemaVersion=414] [cur_db=test] [sql="drop table if exists parent, child"] [user=] [2025/04/04 12:49:19.229 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:429, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:428, RowCount:0, ArgLen:1, start time: 2025-04-04 12:49:19.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:49:19.229 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:429, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:428, RowCount:0, ArgLen:1, start time: 2025-04-04 12:49:19.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table parent(a int primary key)"] [2025/04/04 12:49:19.235 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=429] [conn=39] [job="ID:429, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:428, RowCount:0, ArgLen:0, start time: 2025-04-04 12:49:19.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:49:19.240 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 428, Table Name: parent)"] [2025/04/04 12:49:19.254 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=414] [neededSchemaVersion=415] ["elapsed time"=1.443037ms] [gotSchemaVersion=415] [phyTblIDs="[428]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:49:19.258 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=429] [version=415] [2025/04/04 12:49:19.259 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=415] ["take time"=9.090063ms] [job="ID:429, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:428, RowCount:0, ArgLen:1, start time: 2025-04-04 12:49:19.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:49:19.271 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=429] [conn=39] [job="ID:429, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:428, RowCount:0, ArgLen:0, start time: 2025-04-04 12:49:19.198 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:49:19.283 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=429] [2025/04/04 12:49:19.283 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=39] [schemaVersion=415] [cur_db=test] [sql="create table parent(a int primary key)"] [user=] [2025/04/04 12:49:19.296 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:431, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:430, RowCount:0, ArgLen:1, start time: 2025-04-04 12:49:19.247 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:49:19.296 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:431, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:430, RowCount:0, ArgLen:1, start time: 2025-04-04 12:49:19.247 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table child(a int, foreign key (a) references parent(a))"] [2025/04/04 12:49:19.303 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=431] [conn=39] [job="ID:431, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:430, RowCount:0, ArgLen:0, start time: 2025-04-04 12:49:19.247 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:49:19.319 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=415] [neededSchemaVersion=416] ["elapsed time"=1.598535ms] [gotSchemaVersion=416] [phyTblIDs="[430]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:49:19.323 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=431] [version=416] [2025/04/04 12:49:19.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=416] ["take time"=8.97652ms] [job="ID:431, Type:create table, State:running, SchemaState:delete only, SchemaID:2, TableID:430, RowCount:0, ArgLen:1, start time: 2025-04-04 12:49:19.247 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:49:19.335 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=431] [conn=39] [job="ID:431, Type:create table, State:running, SchemaState:delete only, SchemaID:2, TableID:430, RowCount:0, ArgLen:0, start time: 2025-04-04 12:49:19.247 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:49:19.340 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 430, Table Name: child)"] [2025/04/04 12:49:19.353 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=416] [neededSchemaVersion=417] ["elapsed time"=1.571744ms] [gotSchemaVersion=417] [phyTblIDs="[430]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:49:19.357 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=431] [version=417] [2025/04/04 12:49:19.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=417] ["take time"=7.922007ms] [job="ID:431, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:430, RowCount:0, ArgLen:1, start time: 2025-04-04 12:49:19.247 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:49:19.369 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=431] [conn=39] [job="ID:431, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:430, RowCount:0, ArgLen:0, start time: 2025-04-04 12:49:19.247 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:49:19.380 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=431] [2025/04/04 12:49:19.380 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=39] [schemaVersion=417] [cur_db=test] [sql="create table child(a int, foreign key (a) references parent(a))"] [user=] [2025/04/04 12:49:19.383 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119094367322128] [2025/04/04 12:49:19.393 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/04 12:49:19.393 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=417] [error="[planner:1452]Cannot add or update a child row: a foreign key constraint fails (`test`.`child`, CONSTRAINT `fk_1` FOREIGN KEY (`a`) REFERENCES `parent` (`a`))"] [session="{\n \"currDBName\": \"test\",\n \"id\": 39,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2025/04/04 12:49:19.397 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119094367322135] [2025/04/04 12:49:19.412 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119094380429315] [2025/04/04 12:49:19.423 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119094380429319] [generation=1] [session=39] [keys=1] [size=25B] ["flushed keys"=1] ["flushed size"=25B] ["take time"=1.069898ms] [2025/04/04 12:49:19.423 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=1.192504ms] [total_duration=1.591212ms] ["memdb traversal cache hit"=2] ["memdb traversal cache miss"=2] [size=25B] [startTS=457119094380429319] [2025/04/04 12:49:19.424 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119094380429319] [commitTS=457119094380429320] [2025/04/04 12:49:19.424 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-commit-457119094380429319] [startKey=7480000000000001ac5f728000000000000004] [endKey=7480000000000001ac5f728000000000000004] [2025/04/04 12:49:19.424 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=0] [startTS=457119094380429319] [commitTS=457119094380429320] [session=39] [2025/04/04 12:49:19.428 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457119094380429321] [generation=1] [session=39] [keys=2] [size=67B] ["flushed keys"=2] ["flushed size"=67B] ["take time"=2.353844ms] [2025/04/04 12:49:19.428 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=2] [flush_wait_duration=2.453566ms] [total_duration=2.935466ms] ["memdb traversal cache hit"=4] ["memdb traversal cache miss"=3] [size=67B] [startTS=457119094380429321] [2025/04/04 12:49:19.429 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457119094380429321] [commitTS=457119094380429322] [2025/04/04 12:49:19.430 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457119094380429321] [startKey=7480000000000001ae5f698000000000000001038000000000000004038000000000000003] [endKey=7480000000000001ae5f728000000000000003] [concurrency=8] [2025/04/04 12:49:19.432 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457119094380429321] [startKey=7480000000000001ae5f698000000000000001038000000000000004038000000000000003] [endKey=7480000000000001ae5f728000000000000003] ["cost time"=2.454008ms] ["completed regions"=1] [2025/04/04 12:49:19.432 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457119094380429321] [commitTS=457119094380429322] [session=39] [2025/04/04 12:49:19.434 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=39] [schemaVersion=417] [cur_db=test] [sql="create temporary table temp(a int)"] [user=] [2025/04/04 12:49:19.449 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:434, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:433, RowCount:0, ArgLen:1, start time: 2025-04-04 12:49:19.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:49:19.449 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:434, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:433, RowCount:0, ArgLen:1, start time: 2025-04-04 12:49:19.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table cached(a int)"] [2025/04/04 12:49:19.456 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=434] [conn=39] [job="ID:434, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:433, RowCount:0, ArgLen:0, start time: 2025-04-04 12:49:19.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:49:19.461 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 433, Table Name: cached)"] [2025/04/04 12:49:19.474 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=417] [neededSchemaVersion=418] ["elapsed time"=1.41081ms] [gotSchemaVersion=418] [phyTblIDs="[433]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:49:19.478 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=434] [version=418] [2025/04/04 12:49:19.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=418] ["take time"=8.892558ms] [job="ID:434, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:433, RowCount:0, ArgLen:1, start time: 2025-04-04 12:49:19.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:49:19.491 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=434] [conn=39] [job="ID:434, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:433, RowCount:0, ArgLen:0, start time: 2025-04-04 12:49:19.398 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:49:19.501 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=434] [2025/04/04 12:49:19.501 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=39] [schemaVersion=418] [cur_db=test] [sql="create table cached(a int)"] [user=] [2025/04/04 12:49:19.519 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:435, Type:alter table cache, State:queueing, SchemaState:none, SchemaID:2, TableID:433, RowCount:0, ArgLen:1, start time: 2025-04-04 12:49:19.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:49:19.519 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:435, Type:alter table cache, State:queueing, SchemaState:none, SchemaID:2, TableID:433, RowCount:0, ArgLen:1, start time: 2025-04-04 12:49:19.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="alter table cached cache"] [2025/04/04 12:49:19.525 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=435] [conn=39] [job="ID:435, Type:alter table cache, State:queueing, SchemaState:none, SchemaID:2, TableID:433, RowCount:0, ArgLen:0, start time: 2025-04-04 12:49:19.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:49:19.540 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=418] [neededSchemaVersion=419] ["elapsed time"=1.71503ms] [gotSchemaVersion=419] [phyTblIDs="[433]"] [actionTypes="[57]"] [diffTypes="[\"alter table cache\"]"] [2025/04/04 12:49:19.544 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=435] [version=419] [2025/04/04 12:49:19.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=419] ["take time"=9.581319ms] [job="ID:435, Type:alter table cache, State:running, SchemaState:none, SchemaID:2, TableID:433, RowCount:0, ArgLen:0, start time: 2025-04-04 12:49:19.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:49:19.556 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=435] [conn=39] [job="ID:435, Type:alter table cache, State:running, SchemaState:none, SchemaID:2, TableID:433, RowCount:0, ArgLen:0, start time: 2025-04-04 12:49:19.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:49:19.573 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=419] [neededSchemaVersion=420] ["elapsed time"=1.591231ms] [gotSchemaVersion=420] [phyTblIDs="[433]"] [actionTypes="[57]"] [diffTypes="[\"alter table cache\"]"] [2025/04/04 12:49:19.577 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=435] [version=420] [2025/04/04 12:49:19.578 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=420] ["take time"=9.38937ms] [job="ID:435, Type:alter table cache, State:done, SchemaState:public, SchemaID:2, TableID:433, RowCount:0, ArgLen:0, start time: 2025-04-04 12:49:19.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:49:19.588 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=435] [conn=39] [job="ID:435, Type:alter table cache, State:synced, SchemaState:public, SchemaID:2, TableID:433, RowCount:0, ArgLen:0, start time: 2025-04-04 12:49:19.498 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:49:19.599 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=435] [2025/04/04 12:49:19.600 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=39] [schemaVersion=420] [cur_db=test] [sql="alter table cached cache"] [user=] [2025/04/04 12:49:19.615 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 12:49:19.615 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 12:49:19.615 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=16436d5a-2083-4bfc-b252-011aeb991308] [] [2025/04/04 12:49:19.615 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=16436d5a-2083-4bfc-b252-011aeb991308] [2025/04/04 12:49:19.615 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:49:19.615 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:49:19.615 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 67, tp general"] ["take time"=49.656µs] [2025/04/04 12:49:19.615 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 68, tp general"] ["take time"=34.525µs] [2025/04/04 12:49:19.615 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 69, tp general"] ["take time"=33.713µs] [2025/04/04 12:49:19.616 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 70, tp general"] ["take time"=27.001µs] [2025/04/04 12:49:19.616 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 71, tp general"] ["take time"=32.606µs] [2025/04/04 12:49:19.616 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 72, tp general"] ["take time"=34.397µs] [2025/04/04 12:49:19.616 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=16436d5a-2083-4bfc-b252-011aeb991308] [2025/04/04 12:49:19.616 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=16436d5a-2083-4bfc-b252-011aeb991308] [2025/04/04 12:49:19.617 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 12:49:19.617 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 12:49:19.619 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=16436d5a-2083-4bfc-b252-011aeb991308] ["take time"=3.753337ms] [2025/04/04 12:49:19.619 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=16436d5a-2083-4bfc-b252-011aeb991308] [2025/04/04 12:49:19.619 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 12:49:19.619 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/54404e40-8486-4849-8892-cbfff2a9ea16] [2025/04/04 12:49:19.619 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=16436d5a-2083-4bfc-b252-011aeb991308] [ttl-worker=task-manager] [ttl-worker=16436d5a-2083-4bfc-b252-011aeb991308] [originalCount=4] [newCount=0] [2025/04/04 12:49:19.619 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:49:19.619 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:49:19.619 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:49:19.619 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 12:49:19.619 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=16436d5a-2083-4bfc-b252-011aeb991308] [ttl-worker=task-manager] [ttl-worker=16436d5a-2083-4bfc-b252-011aeb991308] [originalCount=4] [newCount=0] [2025/04/04 12:49:19.621 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:49:19.622 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:49:19.622 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:49:19.622 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 12:49:19.624 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=16436d5a-2083-4bfc-b252-011aeb991308] [2025/04/04 12:49:19.624 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 12:49:19.625 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1097] [2025/04/04 12:49:19.625 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 12:49:19.625 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:49:19.625 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:49:19.625 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 12:49:19.625 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:49:19.625 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 12:49:19.625 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 12:49:19.625 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 12:49:19.625 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 12:49:19.625 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:49:19.625 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:49:19.625 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 12:49:19.625 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=beae5489-d7e7-4110-acc0-07233f966725] [] [2025/04/04 12:49:19.625 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 12:49:19.625 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 12:49:19.625 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 12:49:19.625 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 12:49:19.625 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:49:19.625 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 12:49:19.625 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:49:19.625 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=beae5489-d7e7-4110-acc0-07233f966725] [2025/04/04 12:49:19.625 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 12:49:19.625 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 12:49:19.625 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:49:19.625 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 12:49:19.625 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 12:49:19.625 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 12:49:19.625 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 12:49:19.625 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:49:19.625 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:49:19.625 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:49:19.625 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:49:19.625 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 12:49:19.625 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 12:49:19.625 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:49:19.625 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:49:19.625 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 12:49:19.625 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:49:19.625 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:49:19.625 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 12:49:19.625 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:49:19.625 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:49:19.625 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:49:19.625 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:49:19.625 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:49:19.625 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:49:19.625 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 12:49:19.625 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:49:19.625 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 12:49:19.625 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:49:19.625 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:49:19.625 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:49:19.625 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:49:19.625 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=beae5489-d7e7-4110-acc0-07233f966725] [2025/04/04 12:49:19.625 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:49:19.625 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 12:49:19.625 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=beae5489-d7e7-4110-acc0-07233f966725] [2025/04/04 12:49:19.625 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 12:49:19.625 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 12:49:19.625 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:49:19.625 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:49:19.625 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:49:19.625 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 12:49:19.625 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:49:19.626 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 12:49:19.625 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:49:19.626 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/stats/owner] [id=16436d5a-2083-4bfc-b252-011aeb991308] [error="context canceled"] [2025/04/04 12:49:19.626 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=16436d5a-2083-4bfc-b252-011aeb991308] [2025/04/04 12:49:19.627 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 12:49:19.627 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=beae5489-d7e7-4110-acc0-07233f966725] [daemon-id=LogBackup::Advancer] [2025/04/04 12:49:19.627 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:49:19.627 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:49:19.627 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 12:49:19.627 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 12:49:19.627 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:49:19.627 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=16436d5a-2083-4bfc-b252-011aeb991308] [error="context canceled"] [2025/04/04 12:49:19.627 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 12:49:19.627 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 12:49:19.627 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 12:49:19.627 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:49:19.628 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=16436d5a-2083-4bfc-b252-011aeb991308] [error="context canceled"] [2025/04/04 12:49:19.628 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=16436d5a-2083-4bfc-b252-011aeb991308] [2025/04/04 12:49:19.628 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=16436d5a-2083-4bfc-b252-011aeb991308] [error="context canceled"] [2025/04/04 12:49:19.628 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=16436d5a-2083-4bfc-b252-011aeb991308] [error="context canceled"] [errorVerbose="context canceled\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:49:19.646 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 12:49:19.647 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:49:19.692 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 12:49:19.693 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:49:19.704 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=89.299818ms] [2025/04/04 12:49:20.690 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/04 12:49:24.425 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119094380429319 commit_ts:457119094380429320 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:49:24.425 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119094380429319 commit_ts:457119094380429320 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:49:24.425 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119094380429319 commit_ts:457119094380429320 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:49:24.433 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457119094380429321 commit_ts:457119094380429322 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/04 12:49:24.433 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20161] [status="start_ts:457119094380429321 commit_ts:457119094380429322 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/04 12:49:24.433 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20162] [status="start_ts:457119094380429321 commit_ts:457119094380429322 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/04 12:49:24.434 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:49:24.434 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:49:24.434 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:49:24.434 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:49:24.434 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:49:24.434 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:49:24.434 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:49:24.434 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:49:24.434 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:49:24.434 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-18] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:49:24.434 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:49:24.434 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:49:24.435 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestRejectUnsupportedTables (5.76s) === NAME PASS ================================================================================ Target //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test up-to-date: bazel-bin/tests/realtikvtest/pipelineddmltest/pipelineddmltest_test_/pipelineddmltest_test INFO: Elapsed time: 279.596s, Critical Path: 262.07s 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.4s, avg = 117.8s, dev = 1.4s 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.1s) PASSED pipelineddmltest_test.TestPipelinedDMLDisableRetry (6.2s) PASSED pipelineddmltest_test.TestPipelinedDMLInsert (6.1s) PASSED pipelineddmltest_test.TestPipelinedDMLInsertIgnore (6.1s) PASSED pipelineddmltest_test.TestPipelinedDMLInsertOnDuplicateKeyUpdate (1.1s) PASSED pipelineddmltest_test.TestPipelinedDMLInsertOnDuplicateKeyUpdateInTxn (6.1s) PASSED pipelineddmltest_test.TestPipelinedDMLInsertRPC (9.6s) PASSED pipelineddmltest_test.TestPipelinedDMLNegative (0.6s) PASSED pipelineddmltest_test.TestPipelinedDMLPositive (25.8s) PASSED pipelineddmltest_test.TestPipelinedDMLUpdate (6.2s) PASSED pipelineddmltest_test.TestRejectUnsupportedTables (5.8s) PASSED pipelineddmltest_test.TestReplaceRowCheck (5.8s) PASSED pipelineddmltest_test.TestVariable (5.9s) Test cases: finished with 18 passing and 0 failing out of 18 test cases Executed 1 out of 1 test: 1 test passes.  [Pipeline] } [Pipeline] // dir Post stage [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] junit Recording test results None of the test reports contained any result [Checks API] No suitable checks publisher found. [Pipeline] } [Pipeline] // dir [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] sh [Pipeline] } 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; 221s remote-cache, linux-sandbox [4,571 / 4,572] Testing //tests/realtikvtest/addindextest:addindextest_test; 281s remote-cache, linux-sandbox ./t/executor/insert.test: ok! 1281 test cases passed, take time 56.526351743 s ./t/executor/inspection_common.test: ok! 4 test cases passed, take time 0.001831831 s ./t/executor/issues.test: ok! 463 test cases passed, take time 11.187499111 s ./t/executor/jointest/hash_join.test: ok! 148 test cases passed, take time 1.212806552 s ./t/executor/jointest/join.test: ok! 858 test cases passed, take time 10.855820916999999 s ./t/executor/kv.test: ok! 16 test cases passed, take time 0.085313522 s ./t/executor/merge_join.test: ok! 259 test cases passed, take time 3.01301001 s ./t/executor/parallel_apply.test: ok! 96 test cases passed, take time 1.083245777 s [4,750 / 4,751] Testing //tests/realtikvtest/importintotest:importintotest_test; 281s remote-cache, linux-sandbox ./t/executor/partition/issues.test: ok! 159 test cases passed, take time 3.273817609 s ./t/executor/partition/partition_boundaries.test: ok! 1035 test cases passed, take time 2.059831437 s ./t/executor/partition/partition_with_expression.test: ok! 298 test cases passed, take time 2.347600933 s ./t/executor/partition/table.test: ok! 224 test cases passed, take time 5.6744551869999995 s [4,571 / 4,572] Testing //tests/realtikvtest/addindextest:addindextest_test; 341s remote-cache, linux-sandbox [4,571 / 4,572] 1 / 1 tests; Testing //tests/realtikvtest/addindextest:addindextest_test; 342s 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: 383.889s, Critical Path: 366.34s INFO: 4272 processes: 4260 remote cache hit, 3 internal, 9 linux-sandbox. INFO: Build completed successfully, 4272 total actions //tests/realtikvtest/addindextest:addindextest_test PASSED in 342.3s 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 (5.4s) PASSED addindextest_test.TestConcurrentDDLCreateMultiColsIndex (3.5s) PASSED addindextest_test.TestConcurrentDDLCreateNonUniqueIndex (13.8s) PASSED addindextest_test.TestConcurrentDDLCreatePrimaryKey (3.5s) PASSED addindextest_test.TestConcurrentDDLCreateUniqueIndex (9.1s) PASSED addindextest_test.TestCreateGenColIndex (9.1s) PASSED addindextest_test.TestCreateMultiColsIndex (40.2s) PASSED addindextest_test.TestCreateNonUniqueIndex (62.1s) PASSED addindextest_test.TestCreatePrimaryKey (9.2s) 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 (9.3s) PASSED addindextest_test.TestMultiSchemaChangeCreateNonUniqueIndex (21.0s) PASSED addindextest_test.TestMultiSchemaChangeCreatePrimaryKey (9.7s) PASSED addindextest_test.TestMultiSchemaChangeCreateUniqueIndex (16.8s) PASSED addindextest_test.TestMultiSchemaChangeMultiColsIndex (7.5s) PASSED addindextest_test.TestPiTRCreateGenColIndex (7.3s) PASSED addindextest_test.TestPiTRCreateMultiColsIndex (7.3s) PASSED addindextest_test.TestPiTRCreateNonUniqueIndex (22.2s) PASSED addindextest_test.TestPiTRCreatePrimaryKey (7.2s) 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 ./t/executor/partition/write.test: ok! 349 test cases passed, take time 9.470315789 s 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/password_management.test: ok! 381 test cases passed, take time 3.174059172 s ./t/executor/perfschema.test: ok! 5 test cases passed, take time 0.005611273 s ./t/executor/point_get.test: ok! 271 test cases passed, take time 1.448565535 s ./t/executor/prepared.test: ok! 214 test cases passed, take time 1.041277907 s ./t/executor/revoke.test: ok! 65 test cases passed, take time 0.617603686 s ./t/executor/rowid.test: ok! 63 test cases passed, take time 0.314041783 s ./t/executor/sample.test: ok! 109 test cases passed, take time 5.9375614500000005 s ./t/executor/set.test: ok! 228 test cases passed, take time 0.436129946 s ./t/executor/show.test: ok! 300 test cases passed, take time 3.32334828 s ./t/executor/simple.test: ok! 357 test cases passed, take time 2.835780638 s ./t/executor/split_table.test: ok! 60 test cases passed, take time 14.492816168 s [4,750 / 4,751] Testing //tests/realtikvtest/importintotest:importintotest_test; 341s remote-cache, linux-sandbox ./t/executor/stale_txn.test: ok! 28 test cases passed, take time 1.162014116 s ./t/executor/statement_context.test: ok! 63 test cases passed, take time 0.15364536 s ./t/executor/union_scan.test: ok! 231 test cases passed, take time 1.48922378 s ./t/executor/update.test: ok! 521 test cases passed, take time 3.309859415 s ./t/executor/window.test: ok! 93 test cases passed, take time 4.041080353 s ./t/executor/write.test: ok! 1061 test cases passed, take time 16.681475169 s ./t/explain-non-select-stmt.test: ok! 8 test cases passed, take time 0.018097552 s ./t/explain.test: ok! 26 test cases passed, take time 0.128843855 s ./t/explain_complex.test: ok! 41 test cases passed, take time 0.395390317 s ./t/explain_complex_stats.test: ok! 61 test cases passed, take time 3.879102484 s ./t/explain_cte.test: ok! 53 test cases passed, take time 0.345529405 s ./t/explain_easy.test: ok! 190 test cases passed, take time 1.447098226 s ./t/explain_easy_stats.test: ok! 50 test cases passed, take time 0.837299912 s ./t/explain_foreign_key.test: ok! 41 test cases passed, take time 0.56010974 s [4,750 / 4,751] Testing //tests/realtikvtest/importintotest:importintotest_test; 401s remote-cache, linux-sandbox ./t/explain_generate_column_substitute.test: ok! 233 test cases passed, take time 21.518651652 s ./t/explain_indexmerge_stats.test: ok! 30 test cases passed, take time 1.017696347 s ./t/explain_join_stats.test: ok! 8 test cases passed, take time 0.238807748 s ./t/explain_shard_index.test: ok! 19 test cases passed, take time 0.123543388 s ./t/explain_stats.test: ok! 10 test cases passed, take time 0.167892423 s ./t/explain_union_scan.test: ok! 9 test cases passed, take time 0.17823294 s ./t/expression/builtin.test: ok! 1365 test cases passed, take time 8.023259364 s ./t/expression/cast.test: ok! 85 test cases passed, take time 0.410232277 s ./t/expression/charset_and_collation.test: ok! 733 test cases passed, take time 17.360257931 s ./t/expression/constant_fold.test: ok! 16 test cases passed, take time 0.088978141 s ./t/expression/enum_set.test: ok! 13 test cases passed, take time 0.068317078 s ./t/expression/explain.test: ok! 77 test cases passed, take time 0.182285553 s ./t/expression/format.test: ok! 9 test cases passed, take time 0.002069615 s ./t/expression/issues.test: ok! 1525 test cases passed, take time 15.724723636 s ./t/expression/json.test: ok! 321 test cases passed, take time 0.89368219 s ./t/expression/misc.test: ok! 416 test cases passed, take time 4.773976888 s ./t/expression/multi_valued_index.test: ok! 314 test cases passed, take time 1.894145109 s ./t/expression/noop_functions.test: ok! 61 test cases passed, take time 0.03175106 s ./t/expression/plan_cache.test: ok! 184 test cases passed, take time 0.501255912 s ./t/expression/time.test: ok! 353 test cases passed, take time 0.8048241 s ./t/expression/vitess_hash.test: ok! 17 test cases passed, take time 0.173733462 s ./t/generated_columns.test: ok! 70 test cases passed, take time 4.6855522 s ./t/globalindex/aggregate.test: ok! 16 test cases passed, take time 1.973039173 s ./t/globalindex/analyze.test: ok! 37 test cases passed, take time 2.7207533440000002 s [4,750 / 4,751] Testing //tests/realtikvtest/importintotest:importintotest_test; 461s remote-cache, linux-sandbox ./t/globalindex/ddl.test: ok! 55 test cases passed, take time 5.182148912 s ./t/globalindex/expression_index.test: ok! 14 test cases passed, take time 0.09486102 s ./t/globalindex/index_join.test: ok! 31 test cases passed, take time 0.666636278 s ./t/globalindex/information_schema.test: ok! 7 test cases passed, take time 0.31060481 s ./t/globalindex/insert.test: ok! 14 test cases passed, take time 3.9064075430000003 s ./t/globalindex/mem_index_lookup.test: ok! 40 test cases passed, take time 0.103315793 s ./t/globalindex/mem_index_merge.test: ok! 53 test cases passed, take time 0.219804164 s ./t/globalindex/mem_index_reader.test: ok! 36 test cases passed, take time 0.107410931 s ./t/globalindex/misc.test: ok! 91 test cases passed, take time 7.238044937 s ./t/globalindex/multi_valued_index.test: ok! 13 test cases passed, take time 0.041460071 s ./t/globalindex/point_get.test: ok! 38 test cases passed, take time 6.315685887 s ./t/globalindex/update.test: ok! 31 test cases passed, take time 0.212056485 s ./t/imdbload.test: ok! 62 test cases passed, take time 9.681968563 s ./t/index_join.test: ok! 22 test cases passed, take time 0.293306834 s ./t/index_merge.test: ok! 145 test cases passed, take time 2.010364232 s ./t/infoschema/cluster_tables.test: ok! 17 test cases passed, take time 0.049628388 s ./t/infoschema/infoschema.test: ok! 192 test cases passed, take time 2.620472195 s ./t/infoschema/tables.test: ok! 120 test cases passed, take time 0.97537637 s ./t/infoschema/v2.test: ok! 34 test cases passed, take time 0.379637707 s ./t/naaj.test: ok! 135 test cases passed, take time 0.248654193 s ./t/new_character_set.test: ok! 73 test cases passed, take time 0.34776882 s ./t/new_character_set_builtin.test: ok! 222 test cases passed, take time 0.9968598 s ./t/new_character_set_invalid.test: ok! 28 test cases passed, take time 0.217756571 s ./t/parser/integration.test: ok! 8 test cases passed, take time 0.068770914 s ./t/partition.test: ok! 3 test cases passed, take time 0.209190063 s ./t/planner/cardinality/selectivity.test: ok! 686 test cases passed, take time 1.678717123 s ./t/planner/cardinality/trace.test: ok! 5 test cases passed, take time 0.102818918 s ./t/planner/cascades/integration.test: ok! 247 test cases passed, take time 0.788484959 s ./t/planner/core/binary_plan.test: ok! 6 test cases passed, take time 0.000941895 s ./t/planner/core/casetest/expression_rewriter.test: ok! 23 test cases passed, take time 0.142676054 s ./t/planner/core/casetest/hint/hint.test: ok! 182 test cases passed, take time 1.712355055 s ./t/planner/core/casetest/index/index.test: ok! 225 test cases passed, take time 1.802470647 s ./t/planner/core/casetest/integration.test: ok! 462 test cases passed, take time 2.907736812 s ./t/planner/core/casetest/partition/integration_partition.test: ok! 134 test cases passed, take time 0.973446149 s ./t/planner/core/casetest/partition/partition_pruner.test: ok! 284 test cases passed, take time 1.184619738 s ./t/planner/core/casetest/physicalplantest/physical_plan.test: ok! 913 test cases passed, take time 3.321477942 s ./t/planner/core/casetest/point_get_plan.test: ok! 52 test cases passed, take time 0.160068436 s [4,750 / 4,751] Testing //tests/realtikvtest/importintotest:importintotest_test; 521s remote-cache, linux-sandbox ./t/planner/core/casetest/predicate_simplification.test: ok! 133 test cases passed, take time 0.661994607 s ./t/planner/core/casetest/pushdown/push_down.test: ok! 54 test cases passed, take time 0.189844556 s ./t/planner/core/casetest/rule/rule_derive_topn_from_window.test: ok! 73 test cases passed, take time 0.426081421 s ./t/planner/core/casetest/rule/rule_join_reorder.test: ok! 481 test cases passed, take time 4.132124584 s ./t/planner/core/casetest/rule/rule_result_reorder.test: ok! 87 test cases passed, take time 0.548153581 s ./t/planner/core/cbo.test: ok! 34 test cases passed, take time 0.390079477 s ./t/planner/core/enforce_mpp.test: ok! 8 test cases passed, take time 0.00127909 s ./t/planner/core/expression_rewriter.test: ok! 206 test cases passed, take time 1.7734716069999998 s ./t/planner/core/indexjoin.test: ok! 41 test cases passed, take time 0.116392651 s ./t/planner/core/indexmerge_intersection.test: ok! 6 test cases passed, take time 0.025817104 s ./t/planner/core/indexmerge_path.test: ok! 273 test cases passed, take time 3.949571083 s ./t/planner/core/integration.test: ok! 1621 test cases passed, take time 17.231741388 s ./t/planner/core/integration_partition.test: ok! 493 test cases passed, take time 10.476847687 s ./t/planner/core/issuetest/planner_issue.test: ok! 178 test cases passed, take time 4.308381422 s ./t/planner/core/memtable_predicate_extractor.test: ok! 45 test cases passed, take time 0.080293312 s ./t/planner/core/partition_pruner.test: ok! 642 test cases passed, take time 2.428594104 s ./t/planner/core/physical_plan.test: ok! 44 test cases passed, take time 0.321088347 s ./t/planner/core/plan.test: ok! 157 test cases passed, take time 0.929339085 s [4,750 / 4,751] Testing //tests/realtikvtest/importintotest:importintotest_test; 581s remote-cache, linux-sandbox ./t/planner/core/plan_cache.test: ok! 1243 test cases passed, take time 5.341975397 s ./t/planner/core/plan_cost_ver2.test: ok! 70 test cases passed, take time 0.289508833 s ./t/planner/core/point_get_plan.test: ok! 265 test cases passed, take time 1.4025554740000001 s ./t/planner/core/preprocess.test: ok! 6 test cases passed, take time 0.059024668 s ./t/planner/core/range_scan_for_like.test: ok! 226 test cases passed, take time 0.470266522 s ./t/planner/core/rule_constant_propagation.test: ok! 31 test cases passed, take time 0.463051384 s ./t/planner/core/rule_join_reorder.test: ok! 52 test cases passed, take time 0.632998771 s ./t/planner/core/rule_result_reorder.test: ok! 29 test cases passed, take time 0.16487608 s ./t/planner/core/tests/prepare/issue.test: ok! 321 test cases passed, take time 1.341577821 s ./t/planner/core/tests/prepare/prepare.test: ok! 458 test cases passed, take time 1.9957584430000002 s ./t/planner/funcdep/only_full_group_by.test: ok! 148 test cases passed, take time 1.780271182 s ./t/privilege/privileges.test: ok! 483 test cases passed, take time 4.60206753 s ./t/select.test: ok! 206 test cases passed, take time 1.403101986 s ./t/session/bootstrap_upgrade.test: ok! 29 test cases passed, take time 0.117225813 s ./t/session/clustered_index.test: ok! 385 test cases passed, take time 13.567509086 s ./t/session/common.test: ok! 212 test cases passed, take time 2.936083584 s ./t/session/nontransactional.test: ok! 1532 test cases passed, take time 9.656854795 s ./t/session/privileges.test: ok! 66 test cases passed, take time 0.712137243 s ./t/session/session.test: ok! 104 test cases passed, take time 0.709597258 s ./t/session/temporary_table.test: ok! 277 test cases passed, take time 0.236433314 s ./t/session/txn.test: ok! 14 test cases passed, take time 0.026615035 s ./t/session/user_variables.test: ok! 16 test cases passed, take time 0.013223135 s ./t/session/variable.test: ok! 103 test cases passed, take time 0.25543103 s ./t/session/vars.test: ok! 127 test cases passed, take time 0.13683194 s ./t/sessionctx/setvar.test: ok! 685 test cases passed, take time 0.159396191 s ./t/sessiontxn/externals.test: ok! 56 test cases passed, take time 0.19640749 s ./t/statistics/handle.test: ok! 60 test cases passed, take time 1.297275998 s ./t/statistics/integration.test: ok! 19 test cases passed, take time 0.118979828 s ./t/statistics/lock_table_stats.test: ok! 47 test cases passed, take time 0.494274449 s ./t/statistics/overflow_calc.test: ok! 5 test cases passed, take time 0.134410298 s ./t/subquery.test: ok! 32 test cases passed, take time 0.326026941 s ./t/table/cache.test: ok! 108 test cases passed, take time 8.527725138 s ./t/table/index.test: ok! 38 test cases passed, take time 0.529210385 s ./t/table/partition.test: ok! 240 test cases passed, take time 4.689943203 s ./t/table/tables.test: ok! 24 test cases passed, take time 0.087210431 s ./t/table/temptable.test: ok! 11 test cases passed, take time 0.050803189 s ./t/topn_push_down.test: ok! 20 test cases passed, take time 0.154844788 s ./t/topn_pushdown.test: ok! 2 test cases passed, take time 0.000698845 s ./t/tpch.test: ok! 40 test cases passed, take time 2.130989954 s ./t/types/const.test: ok! 143 test cases passed, take time 1.089780126 s [4,750 / 4,751] Testing //tests/realtikvtest/importintotest:importintotest_test; 641s remote-cache, linux-sandbox ./t/util/admin.test: ok! 143 test cases passed, take time 4.09047809 s ./t/util/ranger.test: ok! 188 test cases passed, take time 2.949318832 s ./t/window_function.test: ok! 28 test cases passed, take time 0.107822561 s Great, All tests passed integrationtest passed! ./run-tests.sh: line 1: kill: (1240) - No such process ~/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] } [Pipeline] // dir Post stage [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] junit Recording test results None of the test reports contained any result [Checks API] No suitable checks publisher found. [Pipeline] } [Pipeline] // dir [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] sh No test report files were found. Configuration error? [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // container [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // podTemplate [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [4,750 / 4,751] Testing //tests/realtikvtest/importintotest:importintotest_test; 701s remote-cache, linux-sandbox [4,750 / 4,751] Testing //tests/realtikvtest/importintotest:importintotest_test; 761s remote-cache, linux-sandbox [4,750 / 4,751] Testing //tests/realtikvtest/importintotest:importintotest_test; 821s remote-cache, linux-sandbox [4,750 / 4,751] Testing //tests/realtikvtest/importintotest:importintotest_test; 881s remote-cache, linux-sandbox [4,750 / 4,751] Testing //tests/realtikvtest/importintotest:importintotest_test; 901s remote-cache, linux-sandbox [4,750 / 4,751] Testing //tests/realtikvtest/importintotest:importintotest_test; 1s remote-cache, linux-sandbox [4,750 / 4,751] Testing //tests/realtikvtest/importintotest:importintotest_test; 39s remote-cache, linux-sandbox [4,750 / 4,751] Testing //tests/realtikvtest/importintotest:importintotest_test; 99s remote-cache, linux-sandbox FLAKY: //tests/realtikvtest/importintotest:importintotest_test (Summary) /home/jenkins/.tidb/tmp/903aa8c667333396b92cebbde26882dc/execroot/__main__/bazel-out/k8-fastbuild/testlogs/tests/realtikvtest/importintotest/importintotest_test/test_attempts/attempt_1.log INFO: From Testing //tests/realtikvtest/importintotest:importintotest_test: ==================== Test output for //tests/realtikvtest/importintotest:importintotest_test: === RUN TestImportInto [2025/04/04 12:45:48.976 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 12:45:48.976 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:45:48.978 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 12:45:48.978 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:45:48.978 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:45:48.979 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:45:48.979 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:45:48.979 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:45:48.979 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:45:48.979 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:45:48.980 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:45:48.985 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 12:45:48.993 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 12:45:48.993 +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/04 12:45:48.994 +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/04 12:45:49.018 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/04 12:45:49.018 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/04 12:45:49.024 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/04 12:45:49.024 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/04 12:45:49.035 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/04 12:45:49.058 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489437817523558127] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 12:45:49.081 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 12:45:49.122 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=610] ["lease id"=3eaa9600d42a1e1b] [2025/04/04 12:45:49.125 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/04 12:45:49.131 +00:00] [WARN] [domain.go:318] ["failed to get schema version"] [error="There is no Write MVCC info for the schema version"] [errorVerbose="There is no Write MVCC info for the schema version\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:448\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:316\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init\n\tpkg/domain/domain.go:1506\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).getWithEtcdClient.func1\n\tpkg/session/tidb.go:104\ngithub.com/pingcap/tidb/pkg/util.RunWithRetry\n\tpkg/util/misc.go:72\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).getWithEtcdClient\n\tpkg/session/tidb.go:91\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).Get\n\tpkg/session/tidb.go:66\ngithub.com/pingcap/tidb/pkg/session.createSessionWithOpt\n\tpkg/session/session.go:3794\ngithub.com/pingcap/tidb/pkg/session.createSession\n\tpkg/session/session.go:3786\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3722\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3477\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/importintotest/importintotest_test.(*mockGCSSuite).SetupSuite\n\ttests/realtikvtest/importintotest/util_test.go:65\ngithub.com/stretchr/testify/suite.Run\n\texternal/com_github_stretchr_testify/suite/suite.go:157\ntests/realtikvtest/importintotest/importintotest_test.TestImportInto\n\ttests/realtikvtest/importintotest/util_test.go:50\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [version=0] [2025/04/04 12:45:49.235 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=0] ["elapsed time"=103.41647ms] [2025/04/04 12:45:49.235 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 12:45:49.236 +00:00] [INFO] [ddl.go:964] ["change job version in use"] [category=ddl] [old=v1] [new=v2] [2025/04/04 12:45:49.237 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=c901c8fd-7084-42e3-80c5-051eb51d8538] [runWorker=true] [jobVersion=v2] [2025/04/04 12:45:49.237 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 12:45:49.239 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=c901c8fd-7084-42e3-80c5-051eb51d8538] [2025/04/04 12:45:49.240 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 12:45:49.240 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 174907527168/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 12:45:49.241 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:45:49.241 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:45:49.241 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:45:49.241 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:45:49.241 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:45:49.241 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:45:49.241 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:45:49.241 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:45:49.241 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:45:49.241 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 12:45:49.241 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:45:49.241 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 12:45:49.241 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=d0319878-3002-497b-b609-5c0b5ba1072b] [2025/04/04 12:45:49.243 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9600d42a1e20] [ownerID=c901c8fd-7084-42e3-80c5-051eb51d8538] [op=none] [2025/04/04 12:45:49.243 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=c901c8fd-7084-42e3-80c5-051eb51d8538] [2025/04/04 12:45:49.243 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=c901c8fd-7084-42e3-80c5-051eb51d8538] [ownerKey=/tidb/ddl/fg/owner/3eaa9600d42a1e20] [currRev=102] [2025/04/04 12:45:49.244 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:45:49.244 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=d0319878-3002-497b-b609-5c0b5ba1072b] [daemon-id=LogBackup::Advancer] [2025/04/04 12:45:49.245 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 12:45:49.245 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/22319600d42a1981] [ownerID=d0319878-3002-497b-b609-5c0b5ba1072b] [op=none] [2025/04/04 12:45:49.245 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=d0319878-3002-497b-b609-5c0b5ba1072b] [2025/04/04 12:45:49.245 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=d0319878-3002-497b-b609-5c0b5ba1072b] [ownerKey=/tidb/br-stream/owner/22319600d42a1981] [currRev=103] [2025/04/04 12:45:49.245 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9600d42a1e20] [ownerID=c901c8fd-7084-42e3-80c5-051eb51d8538] [op=none] [2025/04/04 12:45:49.246 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=c901c8fd-7084-42e3-80c5-051eb51d8538] [op=none] [2025/04/04 12:45:49.246 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 12:45:49.248 +00:00] [WARN] [domain.go:318] ["failed to get schema version"] [error="There is no Write MVCC info for the schema version"] [errorVerbose="There is no Write MVCC info for the schema version\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:448\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:316\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/ddl.(*jobScheduler).mustReloadSchemas\n\tpkg/ddl/job_scheduler.go:455\ngithub.com/pingcap/tidb/pkg/ddl.(*jobScheduler).schedule\n\tpkg/ddl/job_scheduler.go:301\ngithub.com/pingcap/tidb/pkg/ddl.(*jobScheduler).scheduleLoop\n\tpkg/ddl/job_scheduler.go:268\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [version=0] [2025/04/04 12:45:49.263 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:49.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE IF NOT EXISTS test"] [2025/04/04 12:45:49.263 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:49.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:49.269 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=3] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:49.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:49.407 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=1] ["elapsed time"=123.204612ms] [2025/04/04 12:45:49.408 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 12:45:49.413 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:49.413 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1] [2025/04/04 12:45:49.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=1] ["take time"=132.789928ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:49.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:49.429 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=3] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:49.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:49.444 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=3] [2025/04/04 12:45:49.444 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2025/04/04 12:45:49.445 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2025/04/04 12:45:49.450 +00:00] [INFO] [helper.go:189] ["set random timezone for getStmtTimestamp"] [timezone=America/Los_Angeles] [2025/04/04 12:45:49.475 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:49.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:49.475 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:49.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_reuse_history smallint unsigned DEFAULT NULL,\n\t\tPassword_reuse_time smallint unsigned DEFAULT NULL,\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPassword_expired\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_last_changed\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP(),\n\t\tPassword_lifetime\t\tSMALLINT UNSIGNED DEFAULT NULL,\n\t\tMax_user_connections \tINT UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (Host, User),\n\t\tKEY i_user (User));"] [2025/04/04 12:45:49.484 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=5] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:49.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:49.541 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=1] [neededSchemaVersion=2] ["elapsed time"=7.677668ms] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:49.545 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:49.545 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2] [2025/04/04 12:45:49.547 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=2] ["take time"=15.015263ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:49.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:49.566 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=5] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:49.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:49.598 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=5] [2025/04/04 12:45:49.599 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=2] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_reuse_history smallint unsigned DEFAULT NULL,\n\t\tPassword_reuse_time smallint unsigned DEFAULT NULL,\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPassword_expired\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_last_changed\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP(),\n\t\tPassword_lifetime\t\tSMALLINT UNSIGNED DEFAULT NULL,\n\t\tMax_user_connections \tINT UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (Host, User),\n\t\tKEY i_user (User));"] [user=] [2025/04/04 12:45:49.613 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:49.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:49.613 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:49.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.password_history (\n Host char(255) NOT NULL DEFAULT '',\n User char(32) NOT NULL DEFAULT '',\n Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n Password text,\n PRIMARY KEY (Host,User,Password_timestamp )\n ) COMMENT='Password history for user accounts' "] [2025/04/04 12:45:49.619 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=7] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:49.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:49.638 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=2] [neededSchemaVersion=3] ["elapsed time"=2.066567ms] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:49.642 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:49.642 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3] [2025/04/04 12:45:49.643 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=3] ["take time"=9.243315ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:49.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:49.655 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=7] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:49.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:49.668 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=7] [2025/04/04 12:45:49.668 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=3] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.password_history (\n Host char(255) NOT NULL DEFAULT '',\n User char(32) NOT NULL DEFAULT '',\n Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n Password text,\n PRIMARY KEY (Host,User,Password_timestamp )\n ) COMMENT='Password history for user accounts' "] [user=] [2025/04/04 12:45:49.682 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:49.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:49.682 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:49.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User),KEY i_user (User))"] [2025/04/04 12:45:49.688 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=9] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:49.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:49.707 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=3] [neededSchemaVersion=4] ["elapsed time"=1.960096ms] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:49.710 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:49.710 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4] [2025/04/04 12:45:49.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=4] ["take time"=8.768157ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:49.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:49.723 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=9] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:49.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:49.735 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=9] [2025/04/04 12:45:49.736 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=4] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User),KEY i_user (User))"] [user=] [2025/04/04 12:45:49.757 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:49.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:49.757 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:49.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User),\n\t\tKEY i_user (User));"] [2025/04/04 12:45:49.764 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=11] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:49.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:49.800 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=4] [neededSchemaVersion=5] ["elapsed time"=4.75895ms] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:49.803 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:49.803 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5] [2025/04/04 12:45:49.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=5] ["take time"=12.77035ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:49.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:49.824 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=11] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:49.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:49.846 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=11] [2025/04/04 12:45:49.846 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=5] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User),\n\t\tKEY i_user (User));"] [user=] [2025/04/04 12:45:49.862 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:49.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:49.862 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:49.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name),\n\t\tKEY i_user (User));"] [2025/04/04 12:45:49.868 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=13] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:49.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:49.892 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=5] [neededSchemaVersion=6] ["elapsed time"=2.66735ms] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:49.895 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:49.895 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6] [2025/04/04 12:45:49.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=6] ["take time"=9.665783ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:49.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:49.909 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=13] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:49.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:49.924 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=13] [2025/04/04 12:45:49.924 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=6] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name),\n\t\tKEY i_user (User));"] [user=] [2025/04/04 12:45:49.939 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:49.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:49.939 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:49.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tColumn_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name),\n\t\tKEY i_user (User));"] [2025/04/04 12:45:49.945 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=15] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:49.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:49.967 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=6] [neededSchemaVersion=7] ["elapsed time"=2.678675ms] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:49.971 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:49.971 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7] [2025/04/04 12:45:49.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=7] ["take time"=9.798288ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:49.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:49.984 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=15] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:49.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:49.999 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=15] [2025/04/04 12:45:50.000 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=7] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tColumn_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name),\n\t\tKEY i_user (User));"] [user=] [2025/04/04 12:45:50.012 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:49.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(16383) DEFAULT NULL);"] [2025/04/04 12:45:50.013 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:49.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:50.018 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=17] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:49.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:50.035 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=7] [neededSchemaVersion=8] ["elapsed time"=1.702388ms] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:50.038 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:50.038 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8] [2025/04/04 12:45:50.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=8] ["take time"=8.595027ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:49.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:50.050 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=17] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:49.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:50.061 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=17] [2025/04/04 12:45:50.062 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=8] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(16383) DEFAULT NULL);"] [user=] [2025/04/04 12:45:50.074 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:50.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:50.074 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:50.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [2025/04/04 12:45:50.079 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=19] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:50.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:50.096 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=8] [neededSchemaVersion=9] ["elapsed time"=1.876943ms] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:50.100 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:50.100 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9] [2025/04/04 12:45:50.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=9] ["take time"=9.050962ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:50.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:50.112 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=19] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:50.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:50.123 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=19] [2025/04/04 12:45:50.123 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=9] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [user=] [2025/04/04 12:45:50.137 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:50.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:50.137 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:50.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [2025/04/04 12:45:50.143 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=21] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:50.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:50.164 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=9] [neededSchemaVersion=10] ["elapsed time"=2.277031ms] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:50.167 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:50.167 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10] [2025/04/04 12:45:50.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=10] ["take time"=8.887076ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:50.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:50.180 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=21] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:50.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:50.193 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=21] [2025/04/04 12:45:50.193 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=10] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [user=] [2025/04/04 12:45:50.207 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:50.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:50.207 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:50.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [2025/04/04 12:45:50.213 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=23] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:50.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:50.234 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=10] [neededSchemaVersion=11] ["elapsed time"=2.238867ms] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:50.237 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:50.237 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11] [2025/04/04 12:45:50.238 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=11] ["take time"=9.103075ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:50.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:50.242 +00:00] [WARN] [runaway.go:85] ["failed to start runaway manager loop, please check whether the bootstrap or update is finished"] [error="[schema:1146]Table 'mysql.tidb_runaway_watch' doesn't exist"] [errorVerbose="[schema:1146]Table 'mysql.tidb_runaway_watch' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternalStmt\n\tpkg/session/session.go:2019\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1984\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1970\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1974\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.ExecRCRestrictedSQL\n\tpkg/resourcegroup/runaway/record.go:382\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*systemTableReader).Read\n\tpkg/resourcegroup/runaway/syncer.go:192\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.getRunawayWatchRecord\n\tpkg/resourcegroup/runaway/syncer.go:76\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*syncer).getWatchRecord\n\tpkg/resourcegroup/runaway/syncer.go:67\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*syncer).getNewWatchRecords\n\tpkg/resourcegroup/runaway/syncer.go:59\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*Manager).UpdateNewAndDoneWatch\n\tpkg/resourcegroup/runaway/manager.go:402\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).runawayStartLoop\n\tpkg/domain/runaway.go:75\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:45:50.250 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=23] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:50.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:50.264 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=23] [2025/04/04 12:45:50.264 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=11] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [user=] [2025/04/04 12:45:50.266 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl] [2025/04/04 12:45:50.282 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:50.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:50.282 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:50.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [2025/04/04 12:45:50.288 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=25] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:50.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:50.315 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=11] [neededSchemaVersion=12] ["elapsed time"=3.178728ms] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:50.318 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:50.318 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12] [2025/04/04 12:45:50.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=12] ["take time"=10.595082ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:50.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:50.333 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=25] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:50.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:50.349 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=25] [2025/04/04 12:45:50.350 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=12] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2025/04/04 12:45:50.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-04 12:45:50.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:50.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-04 12:45:50.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [2025/04/04 12:45:50.371 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=27] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:50.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:50.395 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=12] [neededSchemaVersion=13] ["elapsed time"=2.774418ms] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:50.399 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:50.399 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13] [2025/04/04 12:45:50.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=13] ["take time"=10.07676ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:50.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:50.412 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=27] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:50.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:50.427 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=27] [2025/04/04 12:45:50.427 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=13] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [user=] [2025/04/04 12:45:50.441 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:50.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:50.441 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:50.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [2025/04/04 12:45:50.447 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=29] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:50.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:50.467 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=13] [neededSchemaVersion=14] ["elapsed time"=2.216901ms] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:50.471 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:50.471 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14] [2025/04/04 12:45: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=14] ["take time"=9.249721ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:50.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:50.484 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=29] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:50.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:50.497 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=29] [2025/04/04 12:45:50.498 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=14] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [user=] [2025/04/04 12:45:50.515 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:50.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:50.515 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:50.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [2025/04/04 12:45:50.522 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=31] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:50.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:50.542 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=14] [neededSchemaVersion=15] ["elapsed time"=2.201892ms] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:50.545 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:50.545 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15] [2025/04/04 12:45:50.547 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=15] ["take time"=9.468574ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:50.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:50.558 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=31] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:50.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:50.571 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=31] [2025/04/04 12:45:50.571 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=15] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [user=] [2025/04/04 12:45:50.584 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:50.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [2025/04/04 12:45:50.584 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:50.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:50.590 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=33] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:50.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:50.609 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=15] [neededSchemaVersion=16] ["elapsed time"=2.152066ms] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:50.612 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:50.612 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16] [2025/04/04 12:45:50.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=16] ["take time"=8.848878ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:50.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:50.625 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=33] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:50.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:50.637 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=33] [2025/04/04 12:45:50.638 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=16] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [user=] [2025/04/04 12:45:50.652 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:50.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:50.652 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:50.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [2025/04/04 12:45:50.657 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=35] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:50.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:50.677 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=16] [neededSchemaVersion=17] ["elapsed time"=2.243939ms] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:50.681 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:50.681 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17] [2025/04/04 12:45:50.682 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=17] ["take time"=9.050426ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:50.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:50.693 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=35] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:50.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:50.706 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=35] [2025/04/04 12:45:50.707 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=17] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [user=] [2025/04/04 12:45:50.720 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:50.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:50.720 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:50.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER),\n\t\tKEY i_user (USER))"] [2025/04/04 12:45:50.726 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=37] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:50.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:50.745 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=17] [neededSchemaVersion=18] ["elapsed time"=2.282215ms] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:50.748 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:50.749 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18] [2025/04/04 12:45:50.750 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=18] ["take time"=8.624408ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:50.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:50.761 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=37] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:50.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:50.774 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=37] [2025/04/04 12:45:50.775 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=18] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER),\n\t\tKEY i_user (USER))"] [user=] [2025/04/04 12:45:50.791 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:50.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:50.791 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:50.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql LONGTEXT NOT NULL,\n\t\tbind_sql LONGTEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tsql_digest varchar(64) DEFAULT NULL,\n\t\tplan_digest varchar(64) DEFAULT NULL,\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\",\n\t\tUNIQUE INDEX digest_index(plan_digest, sql_digest) COMMENT \"avoid duplicated records\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2025/04/04 12:45:50.797 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=39] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:50.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:50.823 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=18] [neededSchemaVersion=19] ["elapsed time"=2.989496ms] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:50.826 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:50.826 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19] [2025/04/04 12:45:50.828 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=19] ["take time"=9.669472ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:50.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:50.839 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=39] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:50.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:50.855 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=39] [2025/04/04 12:45:50.856 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=19] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql LONGTEXT NOT NULL,\n\t\tbind_sql LONGTEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tsql_digest varchar(64) DEFAULT NULL,\n\t\tplan_digest varchar(64) DEFAULT NULL,\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\",\n\t\tUNIQUE INDEX digest_index(plan_digest, sql_digest) COMMENT \"avoid duplicated records\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2025/04/04 12:45:50.876 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:50.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:50.876 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:50.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [2025/04/04 12:45:50.882 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=41] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:50.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:50.901 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=19] [neededSchemaVersion=20] ["elapsed time"=2.049436ms] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:50.904 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:50.904 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20] [2025/04/04 12:45:50.905 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=20] ["take time"=8.46401ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:50.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:50.916 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=41] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:50.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:50.928 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=41] [2025/04/04 12:45:50.929 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=20] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2025/04/04 12:45:50.941 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:50.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:50.941 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:50.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [2025/04/04 12:45:50.946 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=43] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:50.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:50.964 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=20] [neededSchemaVersion=21] ["elapsed time"=1.72143ms] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:50.967 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:50.967 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21] [2025/04/04 12:45:50.969 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=21] ["take time"=8.474293ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:50.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:50.978 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=43] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:50.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:50.986 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/04 12:45:50.989 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=43] [2025/04/04 12:45:50.989 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=21] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [user=] [2025/04/04 12:45:51.001 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:50.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:51.001 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:50.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [2025/04/04 12:45:51.006 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=45] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:50.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:51.021 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=21] [neededSchemaVersion=22] ["elapsed time"=1.51869ms] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:51.025 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:51.025 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22] [2025/04/04 12:45:51.027 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=22] ["take time"=8.270604ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:50.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:51.037 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=45] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:50.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:51.047 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=45] [2025/04/04 12:45:51.048 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=22] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [user=] [2025/04/04 12:45:51.063 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:51.044 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:51.063 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:51.044 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [2025/04/04 12:45:51.068 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=47] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:51.044 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:51.090 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=22] [neededSchemaVersion=23] ["elapsed time"=2.690284ms] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:51.094 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:51.094 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23] [2025/04/04 12:45:51.096 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=23] ["take time"=9.54425ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:51.044 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:51.107 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=47] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:51.044 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:51.122 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=47] [2025/04/04 12:45:51.122 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=23] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [user=] [2025/04/04 12:45:51.135 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:51.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:51.135 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:51.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [2025/04/04 12:45:51.140 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=49] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:51.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:51.158 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=23] [neededSchemaVersion=24] ["elapsed time"=1.867959ms] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:51.161 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:51.161 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24] [2025/04/04 12:45:51.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=24] ["take time"=8.550142ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:51.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:51.174 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=49] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:51.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:51.186 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=49] [2025/04/04 12:45:51.186 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=24] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2025/04/04 12:45:51.200 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:51.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:51.200 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:51.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV),\n\t\tKEY i_user (USER)\n\t);"] [2025/04/04 12:45:51.206 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=51] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:51.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:51.224 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=24] [neededSchemaVersion=25] ["elapsed time"=2.178736ms] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:51.228 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:51.228 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25] [2025/04/04 12:45:51.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=25] ["take time"=8.730515ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:51.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:51.240 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=51] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:51.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:51.241 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/04 12:45:51.242 +00:00] [WARN] [info.go:562] ["response not 200"] [method=GET] [host=127.0.0.1:2379] [url=/pd/api/v1/config/rule_group/tiflash] ["http status"=404] [2025/04/04 12:45:51.253 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=51] [2025/04/04 12:45:51.253 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=25] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV),\n\t\tKEY i_user (USER)\n\t);"] [user=] [2025/04/04 12:45:51.266 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:51.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:51.266 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:51.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [2025/04/04 12:45:51.272 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=53] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:51.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:51.294 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=25] [neededSchemaVersion=26] ["elapsed time"=1.942349ms] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:51.297 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:51.297 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26] [2025/04/04 12:45:51.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=26] ["take time"=9.128786ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:51.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:51.310 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=53] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:51.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:51.322 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=53] [2025/04/04 12:45:51.323 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=26] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [user=] [2025/04/04 12:45:51.336 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:51.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:51.336 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:51.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [2025/04/04 12:45:51.342 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=55] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:51.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:51.361 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=26] [neededSchemaVersion=27] ["elapsed time"=1.978298ms] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:51.364 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:51.364 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27] [2025/04/04 12:45:51.366 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=27] ["take time"=8.704654ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:51.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:51.377 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=55] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:51.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:51.389 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=55] [2025/04/04 12:45:51.389 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=27] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [user=] [2025/04/04 12:45:51.402 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:51.394 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:51.402 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:51.394 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [2025/04/04 12:45:51.408 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=57] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:51.394 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:51.426 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=27] [neededSchemaVersion=28] ["elapsed time"=1.882618ms] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:51.429 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:51.430 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28] [2025/04/04 12:45:51.431 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=28] ["take time"=8.497374ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:51.394 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:51.442 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=57] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:51.394 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:51.454 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=57] [2025/04/04 12:45:51.454 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=28] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [user=] [2025/04/04 12:45:51.455 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl] [2025/04/04 12:45:51.468 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:51.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:51.468 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:51.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [2025/04/04 12:45:51.473 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=59] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:51.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:51.493 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=28] [neededSchemaVersion=29] ["elapsed time"=2.10802ms] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:51.497 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:51.497 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29] [2025/04/04 12:45:51.498 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=29] ["take time"=8.584076ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:51.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:51.509 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=59] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:51.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:51.522 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=59] [2025/04/04 12:45:51.523 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=29] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [user=] [2025/04/04 12:45:51.537 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:51.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:51.537 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:51.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [2025/04/04 12:45:51.543 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=61] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:51.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:51.564 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=29] [neededSchemaVersion=30] ["elapsed time"=2.541871ms] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:51.567 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:51.567 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30] [2025/04/04 12:45:51.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=30] ["take time"=9.387121ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:51.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:51.579 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=61] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:51.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:51.593 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=61] [2025/04/04 12:45:51.594 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=30] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2025/04/04 12:45:51.608 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:51.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:51.608 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:51.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [2025/04/04 12:45:51.614 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=63] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:51.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:51.635 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=30] [neededSchemaVersion=31] ["elapsed time"=2.484404ms] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:51.638 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:51.638 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31] [2025/04/04 12:45:51.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=31] ["take time"=8.987395ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:51.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:51.651 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=63] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:51.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:51.665 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=63] [2025/04/04 12:45:51.665 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=31] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2025/04/04 12:45:51.682 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:51.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:51.682 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:51.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time),\n\t\tINDEX idx_schema_table_state (table_schema, table_name, state),\n\t\tINDEX idx_schema_table_partition_state (table_schema, table_name, partition_name, state)\n\t);"] [2025/04/04 12:45:51.688 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=65] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:51.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:51.716 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=31] [neededSchemaVersion=32] ["elapsed time"=3.472548ms] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:51.720 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:51.720 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32] [2025/04/04 12:45:51.722 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=32] ["take time"=10.505449ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:51.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:51.734 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=65] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:51.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:51.752 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=65] [2025/04/04 12:45:51.752 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=32] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time),\n\t\tINDEX idx_schema_table_state (table_schema, table_name, state),\n\t\tINDEX idx_schema_table_partition_state (table_schema, table_name, partition_name, state)\n\t);"] [user=] [2025/04/04 12:45:51.764 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:51.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [2025/04/04 12:45:51.764 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:51.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:51.770 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=67] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:51.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:51.786 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=32] [neededSchemaVersion=33] ["elapsed time"=1.676731ms] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:51.789 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:51.789 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33] [2025/04/04 12:45:51.791 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=33] ["take time"=8.521921ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:51.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:51.801 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=67] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:51.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:51.812 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=67] [2025/04/04 12:45:51.813 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=33] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [user=] [2025/04/04 12:45:51.828 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:51.794 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:51.828 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:51.794 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE OR REPLACE SQL SECURITY INVOKER VIEW mysql.tidb_mdl_view as (\n\t\tSELECT tidb_mdl_info.job_id,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.schema_name\")) as db_name,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.table_name\")) as table_name,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.query\")) as query,\n\t\t\tsession_id,\n\t\t\tcluster_tidb_trx.start_time,\n\t\t\ttidb_decode_sql_digests(all_sql_digests, 4096) AS SQL_DIGESTS\n\t\tFROM mysql.tidb_ddl_job,\n\t\t\tmysql.tidb_mdl_info,\n\t\t\tinformation_schema.cluster_tidb_trx\n\t\tWHERE tidb_ddl_job.job_id=tidb_mdl_info.job_id\n\t\t\tAND CONCAT(',', tidb_mdl_info.table_ids, ',') REGEXP CONCAT(',(', REPLACE(cluster_tidb_trx.related_table_ids, ',', '|'), '),') != 0\n\t);"] [2025/04/04 12:45:51.834 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=69] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:51.794 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:51.856 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=33] [neededSchemaVersion=34] ["elapsed time"=2.248308ms] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2025/04/04 12:45:51.859 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:51.859 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34] [2025/04/04 12:45:51.861 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=34] ["take time"=8.788689ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:51.794 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:51.872 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=69] [job="ID:69, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:51.794 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:51.886 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=69] [2025/04/04 12:45:51.900 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:51.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [2025/04/04 12:45:51.900 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:51.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:51.906 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=71] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:51.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:51.927 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=34] [neededSchemaVersion=35] ["elapsed time"=2.23308ms] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:51.930 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:51.930 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35] [2025/04/04 12:45:51.931 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=35] ["take time"=8.782243ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:51.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:51.943 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=71] [job="ID:71, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:51.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:51.956 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=71] [2025/04/04 12:45:51.956 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=35] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [user=] [2025/04/04 12:45:51.970 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:51.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:51.969 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:51.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [2025/04/04 12:45:51.975 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=73] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:51.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:51.993 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=35] [neededSchemaVersion=36] ["elapsed time"=1.883936ms] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:51.997 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:51.997 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36] [2025/04/04 12:45:51.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=36] ["take time"=8.72317ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:51.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:52.009 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=73] [job="ID:73, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:51.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:52.021 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=73] [2025/04/04 12:45:52.021 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=36] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [user=] [2025/04/04 12:45:52.035 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:51.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:52.035 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:51.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [2025/04/04 12:45:52.044 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=75] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:51.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:52.064 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=36] [neededSchemaVersion=37] ["elapsed time"=1.879723ms] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:52.067 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:52.067 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37] [2025/04/04 12:45:52.069 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=37] ["take time"=8.89072ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:51.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:52.081 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=75] [job="ID:75, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:51.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:52.094 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=75] [2025/04/04 12:45:52.094 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=37] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [user=] [2025/04/04 12:45:52.113 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:52.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:52.113 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:52.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [2025/04/04 12:45:52.119 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=77] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:52.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:52.149 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=37] [neededSchemaVersion=38] ["elapsed time"=3.592882ms] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:52.152 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:52.152 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38] [2025/04/04 12:45:52.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=38] ["take time"=10.963685ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:52.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:52.168 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=77] [job="ID:77, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:52.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:52.187 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=77] [2025/04/04 12:45:52.187 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=38] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [user=] [2025/04/04 12:45:52.204 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:52.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:52.204 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:52.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [2025/04/04 12:45:52.211 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=79] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:52.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:52.238 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=38] [neededSchemaVersion=39] ["elapsed time"=3.162359ms] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:52.241 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:52.241 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39] [2025/04/04 12:45:52.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=39] ["take time"=9.9607ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:52.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:52.255 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=79] [job="ID:79, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:52.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:52.271 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=79] [2025/04/04 12:45:52.271 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=39] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [user=] [2025/04/04 12:45:52.287 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:52.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:52.287 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:52.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [2025/04/04 12:45:52.293 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=81] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:52.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:52.321 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=39] [neededSchemaVersion=40] ["elapsed time"=3.43948ms] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:52.324 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:52.324 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40] [2025/04/04 12:45:52.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=40] ["take time"=9.976649ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:52.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:52.338 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=81] [job="ID:81, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:52.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:52.355 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=81] [2025/04/04 12:45:52.355 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=40] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [user=] [2025/04/04 12:45:52.372 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:52.343 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:52.372 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:52.343 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [2025/04/04 12:45:52.378 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=83] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:52.343 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:52.407 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=40] [neededSchemaVersion=41] ["elapsed time"=3.643411ms] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:52.410 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:52.410 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41] [2025/04/04 12:45:52.412 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=41] ["take time"=9.887004ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:52.343 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:52.424 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=83] [job="ID:83, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:52.343 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:52.442 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=83] [2025/04/04 12:45:52.442 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=41] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2025/04/04 12:45:52.459 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:52.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:52.459 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:52.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task_history (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [2025/04/04 12:45:52.465 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=85] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:52.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:52.494 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=41] [neededSchemaVersion=42] ["elapsed time"=3.655742ms] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:52.497 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:52.497 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42] [2025/04/04 12:45:52.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=42] ["take time"=10.251034ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:52.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:52.511 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=85] [job="ID:85, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:52.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:52.529 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=85] [2025/04/04 12:45:52.529 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=42] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task_history (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2025/04/04 12:45:52.545 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:52.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:52.545 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:52.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_import_jobs (\n\t\tid bigint(64) NOT NULL AUTO_INCREMENT,\n\t\tcreate_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n\t\tstart_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tupdate_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tend_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\ttable_schema VARCHAR(64) NOT NULL,\n\t\ttable_name VARCHAR(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcreated_by VARCHAR(300) NOT NULL,\n\t\tparameters text NOT NULL,\n\t\tsource_file_size bigint(64) NOT NULL,\n\t\tstatus VARCHAR(64) NOT NULL,\n\t\tstep VARCHAR(64) NOT NULL,\n\t\tsummary text DEFAULT NULL,\n\t\terror_message TEXT DEFAULT NULL,\n\t\tPRIMARY KEY (id),\n\t\tKEY (created_by),\n\t\tKEY (status));"] [2025/04/04 12:45:52.551 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=87] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:52.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:52.579 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=42] [neededSchemaVersion=43] ["elapsed time"=3.480961ms] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:52.582 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:52.582 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43] [2025/04/04 12:45:52.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=43] ["take time"=9.989085ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:52.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:52.596 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=87] [job="ID:87, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:52.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:52.613 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=87] [2025/04/04 12:45:52.613 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=43] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_import_jobs (\n\t\tid bigint(64) NOT NULL AUTO_INCREMENT,\n\t\tcreate_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n\t\tstart_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tupdate_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tend_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\ttable_schema VARCHAR(64) NOT NULL,\n\t\ttable_name VARCHAR(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcreated_by VARCHAR(300) NOT NULL,\n\t\tparameters text NOT NULL,\n\t\tsource_file_size bigint(64) NOT NULL,\n\t\tstatus VARCHAR(64) NOT NULL,\n\t\tstep VARCHAR(64) NOT NULL,\n\t\tsummary text DEFAULT NULL,\n\t\terror_message TEXT DEFAULT NULL,\n\t\tPRIMARY KEY (id),\n\t\tKEY (created_by),\n\t\tKEY (status));"] [user=] [2025/04/04 12:45:52.628 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:52.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:52.628 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:52.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tINDEX sql_index(resource_group_name,watch_text(700)) COMMENT \"accelerate the speed when select quarantined query\",\n\t\tINDEX time_index(end_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2025/04/04 12:45:52.634 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=89] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:52.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:52.657 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=43] [neededSchemaVersion=44] ["elapsed time"=2.759182ms] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:52.660 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:52.660 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44] [2025/04/04 12:45:52.662 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=44] ["take time"=9.178435ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:52.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:52.672 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=89] [job="ID:89, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:52.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:52.687 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=89] [2025/04/04 12:45:52.687 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=44] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tINDEX sql_index(resource_group_name,watch_text(700)) COMMENT \"accelerate the speed when select quarantined query\",\n\t\tINDEX time_index(end_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2025/04/04 12:45:52.703 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:52.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:52.703 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:52.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time TIMESTAMP NOT NULL,\n\t\trepeats int default 1,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(64) NOT NULL,\n\t\tsample_sql TEXT NOT NULL,\n\t\tsql_digest varchar(64) NOT NULL,\n\t\tplan_digest varchar(64) NOT NULL,\n\t\ttidb_server varchar(512),\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(start_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2025/04/04 12:45:52.709 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=91] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:52.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:52.732 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=44] [neededSchemaVersion=45] ["elapsed time"=2.762588ms] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:52.736 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:52.736 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45] [2025/04/04 12:45:52.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=45] ["take time"=9.387052ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:52.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:52.749 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=91] [job="ID:91, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:52.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:52.764 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=91] [2025/04/04 12:45:52.764 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=45] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time TIMESTAMP NOT NULL,\n\t\trepeats int default 1,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(64) NOT NULL,\n\t\tsample_sql TEXT NOT NULL,\n\t\tsql_digest varchar(64) NOT NULL,\n\t\tplan_digest varchar(64) NOT NULL,\n\t\ttidb_server varchar(512),\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(start_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2025/04/04 12:45:52.783 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:52.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:52.783 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:52.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS `mysql`.`tidb_timers` (\n\t\tID BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tNAMESPACE VARCHAR(256) NOT NULL,\n\t\tTIMER_KEY VARCHAR(256) NOT NULL,\n\t\tTIMER_DATA BLOB,\n\t\tTIMEZONE VARCHAR(64) NOT NULL,\n\t\tSCHED_POLICY_TYPE VARCHAR(32) NOT NULL,\n\t\tSCHED_POLICY_EXPR VARCHAR(256) NOT NULL,\n\t\tHOOK_CLASS VARCHAR(64) NOT NULL,\n\t\tWATERMARK TIMESTAMP DEFAULT NULL,\n\t\tENABLE TINYINT(2) NOT NULL,\n\t\tTIMER_EXT JSON NOT NULL,\n\t\tEVENT_STATUS VARCHAR(32) NOT NULL,\n\t\tEVENT_ID VARCHAR(64) NOT NULL,\n\t\tEVENT_DATA BLOB,\n\t\tEVENT_START TIMESTAMP DEFAULT NULL,\n\t\tSUMMARY_DATA BLOB,\n\t\tCREATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\tUPDATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tVERSION BIGINT(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (ID),\n\t\tUNIQUE KEY timer_key(NAMESPACE, TIMER_KEY),\n\t\tKEY hook_class(HOOK_CLASS)\n\t)"] [2025/04/04 12:45:52.789 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=93] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:52.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:52.821 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=45] [neededSchemaVersion=46] ["elapsed time"=4.039971ms] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:52.825 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:52.825 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46] [2025/04/04 12:45:52.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=46] ["take time"=10.863613ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:52.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:52.840 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=93] [job="ID:93, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:52.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:52.859 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=93] [2025/04/04 12:45:52.859 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=46] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS `mysql`.`tidb_timers` (\n\t\tID BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tNAMESPACE VARCHAR(256) NOT NULL,\n\t\tTIMER_KEY VARCHAR(256) NOT NULL,\n\t\tTIMER_DATA BLOB,\n\t\tTIMEZONE VARCHAR(64) NOT NULL,\n\t\tSCHED_POLICY_TYPE VARCHAR(32) NOT NULL,\n\t\tSCHED_POLICY_EXPR VARCHAR(256) NOT NULL,\n\t\tHOOK_CLASS VARCHAR(64) NOT NULL,\n\t\tWATERMARK TIMESTAMP DEFAULT NULL,\n\t\tENABLE TINYINT(2) NOT NULL,\n\t\tTIMER_EXT JSON NOT NULL,\n\t\tEVENT_STATUS VARCHAR(32) NOT NULL,\n\t\tEVENT_ID VARCHAR(64) NOT NULL,\n\t\tEVENT_DATA BLOB,\n\t\tEVENT_START TIMESTAMP DEFAULT NULL,\n\t\tSUMMARY_DATA BLOB,\n\t\tCREATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\tUPDATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tVERSION BIGINT(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (ID),\n\t\tUNIQUE KEY timer_key(NAMESPACE, TIMER_KEY),\n\t\tKEY hook_class(HOOK_CLASS)\n\t)"] [user=] [2025/04/04 12:45:52.879 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:52.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:52.879 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:52.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch_done (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\trecord_id BIGINT(20) not null,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2025/04/04 12:45:52.886 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=95] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:52.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:52.910 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=46] [neededSchemaVersion=47] ["elapsed time"=2.748872ms] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:52.914 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:52.914 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47] [2025/04/04 12:45:52.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=47] ["take time"=9.607474ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:52.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:52.927 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=95] [job="ID:95, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:52.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:52.943 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=95] [2025/04/04 12:45:52.943 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=47] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch_done (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\trecord_id BIGINT(20) not null,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2025/04/04 12:45:52.957 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:52.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.dist_framework_meta (\n host VARCHAR(261) NOT NULL PRIMARY KEY,\n role VARCHAR(64),\n cpu_count int default 0,\n keyspace_id bigint(8) NOT NULL DEFAULT -1\n );"] [2025/04/04 12:45:52.957 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:52.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:52.962 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=97] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:52.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:52.980 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=47] [neededSchemaVersion=48] ["elapsed time"=1.986505ms] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:52.984 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:52.984 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48] [2025/04/04 12:45:52.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=48] ["take time"=8.641771ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:52.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:52.996 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=97] [job="ID:97, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:52.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:53.008 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=97] [2025/04/04 12:45:53.008 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=48] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.dist_framework_meta (\n host VARCHAR(261) NOT NULL PRIMARY KEY,\n role VARCHAR(64),\n cpu_count int default 0,\n keyspace_id bigint(8) NOT NULL DEFAULT -1\n );"] [user=] [2025/04/04 12:45:53.022 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:52.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:53.022 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:52.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.request_unit_by_group (\n\t\tstart_time TIMESTAMP(6) NOT NULL,\n\t\tend_time TIMESTAMP(6) NOT NULL,\n\t\tresource_group VARCHAR(32) NOT null,\n\t\ttotal_ru bigint(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (start_time, end_time, resource_group),\n\t\tKEY (resource_group)\n\t);"] [2025/04/04 12:45:53.027 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=99] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:52.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:53.046 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=48] [neededSchemaVersion=49] ["elapsed time"=2.138841ms] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:53.050 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:53.050 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49] [2025/04/04 12:45:53.051 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=49] ["take time"=9.073649ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:52.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:53.062 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=99] [job="ID:99, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:52.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:53.075 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=99] [2025/04/04 12:45:53.076 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=49] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.request_unit_by_group (\n\t\tstart_time TIMESTAMP(6) NOT NULL,\n\t\tend_time TIMESTAMP(6) NOT NULL,\n\t\tresource_group VARCHAR(32) NOT null,\n\t\ttotal_ru bigint(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (start_time, end_time, resource_group),\n\t\tKEY (resource_group)\n\t);"] [user=] [2025/04/04 12:45:53.077 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(524288) to MEDIUMBLOB"] [category=ddl] [2025/04/04 12:45:53.089 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:53.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:53.089 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:53.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_pitr_id_map (\n\t\trestored_ts BIGINT NOT NULL,\n\t\tupstream_cluster_id BIGINT NOT NULL,\n\t\tsegment_id BIGINT NOT NULL,\n\t\tid_map BLOB(524288) NOT NULL,\n\t\tupdate_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (restored_ts, upstream_cluster_id, segment_id));"] [2025/04/04 12:45:53.095 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=101] [job="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:53.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:53.114 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=49] [neededSchemaVersion=50] ["elapsed time"=2.193751ms] [gotSchemaVersion=50] [phyTblIDs="[100]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:53.118 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:53.118 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50] [2025/04/04 12:45:53.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=50] ["take time"=8.867136ms] [job="ID:101, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:100, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:53.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:53.130 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=101] [job="ID:101, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:100, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:53.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:53.142 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=101] [2025/04/04 12:45:53.143 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=50] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_pitr_id_map (\n\t\trestored_ts BIGINT NOT NULL,\n\t\tupstream_cluster_id BIGINT NOT NULL,\n\t\tsegment_id BIGINT NOT NULL,\n\t\tid_map BLOB(524288) NOT NULL,\n\t\tupdate_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (restored_ts, upstream_cluster_id, segment_id));"] [user=] [2025/04/04 12:45:53.154 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:103, Type:create schema, State:queueing, SchemaState:none, SchemaID:102, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:53.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:53.154 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:103, Type:create schema, State:queueing, SchemaState:none, SchemaID:102, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:53.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE IF NOT EXISTS sys;"] [2025/04/04 12:45:53.159 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=103] [job="ID:103, Type:create schema, State:queueing, SchemaState:none, SchemaID:102, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:53.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:53.172 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=50] [neededSchemaVersion=51] ["elapsed time"=649.268µs] [gotSchemaVersion=51] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 12:45:53.175 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:53.175 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51] [2025/04/04 12:45:53.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=51] ["take time"=7.453435ms] [job="ID:103, Type:create schema, State:done, SchemaState:public, SchemaID:102, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:53.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:53.186 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=103] [job="ID:103, Type:create schema, State:synced, SchemaState:public, SchemaID:102, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:53.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:53.196 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=103] [2025/04/04 12:45:53.196 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=51] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS sys;"] [user=] [2025/04/04 12:45:53.210 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:105, Type:create view, State:queueing, SchemaState:none, SchemaID:102, TableID:104, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:53.194 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE OR REPLACE VIEW sys.schema_unused_indexes AS\n\t\tSELECT\n\t\t\ttable_schema as object_schema,\n\t\t\ttable_name as object_name,\n\t\t\tindex_name\n\t\tFROM information_schema.cluster_tidb_index_usage\n\t\tWHERE\n\t\t\ttable_schema not in ('sys', 'mysql', 'INFORMATION_SCHEMA', 'PERFORMANCE_SCHEMA') and\n\t\t\tindex_name != 'PRIMARY'\n\t\tGROUP BY table_schema, table_name, index_name\n\t\tHAVING\n\t\t\tsum(last_access_time) is null;"] [2025/04/04 12:45:53.210 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:105, Type:create view, State:queueing, SchemaState:none, SchemaID:102, TableID:104, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:53.194 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:53.215 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=105] [job="ID:105, Type:create view, State:queueing, SchemaState:none, SchemaID:102, TableID:104, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:53.194 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:53.233 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=51] [neededSchemaVersion=52] ["elapsed time"=1.841345ms] [gotSchemaVersion=52] [phyTblIDs="[104]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2025/04/04 12:45:53.237 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:53.237 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=105] [version=52] [2025/04/04 12:45:53.238 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=52] ["take time"=8.683937ms] [job="ID:105, Type:create view, State:done, SchemaState:public, SchemaID:102, TableID:104, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:53.194 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:53.249 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/04 12:45:53.249 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 12:45:53.249 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 12:45:53.249 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:45:53.249 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=105] [job="ID:105, Type:create view, State:synced, SchemaState:public, SchemaID:102, TableID:104, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:53.194 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:53.261 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=105] [2025/04/04 12:45:53.278 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:106, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:53.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:53.278 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:106, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:53.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.index_advisor_results (\n id bigint primary key not null auto_increment,\n created_at datetime not null,\n updated_at datetime not null,\n\n schema_name varchar(64) not null,\n table_name varchar(64) not null,\n index_name varchar(127) not null,\n index_columns varchar(500) not null COMMENT 'split by \",\", e.g. \"c1\", \"c1,c2\", \"c1,c2,c3,c4,c5\"',\n\n index_details json, -- est_index_size, reason, DDL to create this index, ...\n top_impacted_queries json, -- improvement, plan before and after this index, ...\n workload_impact json, -- improvement and more details, ...\n extra json, -- for the cloud env to save more info like RU, cost_saving, ...\n index idx_create(created_at),\n index idx_update(updated_at),\n unique index idx(schema_name, table_name, index_columns));"] [2025/04/04 12:45:53.284 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=107] [job="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:106, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:53.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:53.310 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=52] [neededSchemaVersion=53] ["elapsed time"=3.164172ms] [gotSchemaVersion=53] [phyTblIDs="[106]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:53.313 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:53.314 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=107] [version=53] [2025/04/04 12:45:53.315 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=53] ["take time"=9.744654ms] [job="ID:107, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:106, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:53.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:53.327 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=107] [job="ID:107, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:106, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:53.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:53.343 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=107] [2025/04/04 12:45:53.343 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=53] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.index_advisor_results (\n id bigint primary key not null auto_increment,\n created_at datetime not null,\n updated_at datetime not null,\n\n schema_name varchar(64) not null,\n table_name varchar(64) not null,\n index_name varchar(127) not null,\n index_columns varchar(500) not null COMMENT 'split by \",\", e.g. \"c1\", \"c1,c2\", \"c1,c2,c3,c4,c5\"',\n\n index_details json, -- est_index_size, reason, DDL to create this index, ...\n top_impacted_queries json, -- improvement, plan before and after this index, ...\n workload_impact json, -- improvement and more details, ...\n extra json, -- for the cloud env to save more info like RU, cost_saving, ...\n index idx_create(created_at),\n index idx_update(updated_at),\n unique index idx(schema_name, table_name, index_columns));"] [user=] [2025/04/04 12:45:53.356 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:108, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:53.343 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:53.356 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:108, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:53.343 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_kernel_options (\n module varchar(128),\n name varchar(128),\n value varchar(128),\n updated_at datetime,\n status varchar(128),\n description text,\n primary key(module, name));"] [2025/04/04 12:45:53.362 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=109] [job="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:108, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:53.343 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:53.383 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=53] [neededSchemaVersion=54] ["elapsed time"=2.274435ms] [gotSchemaVersion=54] [phyTblIDs="[108]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:53.386 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:53.386 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=109] [version=54] [2025/04/04 12:45:53.387 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=54] ["take time"=9.057202ms] [job="ID:109, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:108, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:53.343 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:53.398 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=109] [job="ID:109, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:108, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:53.343 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:53.411 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=109] [2025/04/04 12:45:53.411 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=54] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_kernel_options (\n module varchar(128),\n name varchar(128),\n value varchar(128),\n updated_at datetime,\n status varchar(128),\n description text,\n primary key(module, name));"] [user=] [2025/04/04 12:45:53.425 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:111, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:110, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:53.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_workload_values (\n\t\tid bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tversion bigint(20) NOT NULL,\n\t\tcategory varchar(64) NOT NULL,\n\t\ttype varchar(64) NOT NULL,\n\t\ttable_id bigint(20) NOT NULL,\n\t\tvalue json NOT NULL,\n\t\tindex idx_version_category_type (version, category, type),\n\t\tindex idx_table_id (table_id));"] [2025/04/04 12:45:53.425 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:111, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:110, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:53.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:53.431 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=111] [job="ID:111, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:110, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:53.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:53.451 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=54] [neededSchemaVersion=55] ["elapsed time"=2.364134ms] [gotSchemaVersion=55] [phyTblIDs="[110]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:53.455 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/04 12:45:53.455 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=111] [version=55] [2025/04/04 12:45:53.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=55] ["take time"=9.083838ms] [job="ID:111, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:110, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:53.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:53.467 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=111] [job="ID:111, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:110, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:53.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:53.480 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=111] [2025/04/04 12:45:53.481 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=55] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_workload_values (\n\t\tid bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tversion bigint(20) NOT NULL,\n\t\tcategory varchar(64) NOT NULL,\n\t\ttype varchar(64) NOT NULL,\n\t\ttable_id bigint(20) NOT NULL,\n\t\tvalue json NOT NULL,\n\t\tindex idx_version_category_type (version, category, type),\n\t\tindex idx_table_id (table_id));"] [user=] [2025/04/04 12:45:53.625 +00:00] [INFO] [bootstrap.go:823] ["bootstrap successful"] ["take time"=4.380980363s] [2025/04/04 12:45:53.627 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 12:45:53.627 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 12:45:53.627 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=c901c8fd-7084-42e3-80c5-051eb51d8538] [] [2025/04/04 12:45:53.628 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=c901c8fd-7084-42e3-80c5-051eb51d8538] [2025/04/04 12:45:53.628 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:45:53.628 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 12:45:53.628 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 6, tp general"] ["take time"=56.081µs] [2025/04/04 12:45:53.628 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 7, tp general"] ["take time"=56.282µs] [2025/04/04 12:45:53.628 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 8, tp general"] ["take time"=43.335µs] [2025/04/04 12:45:53.628 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 9, tp general"] ["take time"=37.193µs] [2025/04/04 12:45:53.628 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 10, tp general"] ["take time"=39.244µs] [2025/04/04 12:45:53.628 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 1, tp general"] ["take time"=43.007µs] [2025/04/04 12:45:53.628 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 2, tp general"] ["take time"=34.185µs] [2025/04/04 12:45:53.629 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 3, tp general"] ["take time"=36.482µs] [2025/04/04 12:45:53.629 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 4, tp general"] ["take time"=39.756µs] [2025/04/04 12:45:53.629 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 5, tp general"] ["take time"=44.567µs] [2025/04/04 12:45:53.629 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=c901c8fd-7084-42e3-80c5-051eb51d8538] [2025/04/04 12:45:53.629 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=c901c8fd-7084-42e3-80c5-051eb51d8538] [2025/04/04 12:45:53.630 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 12:45:53.630 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 12:45:53.640 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=c901c8fd-7084-42e3-80c5-051eb51d8538] ["take time"=12.173604ms] [2025/04/04 12:45:53.640 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=c901c8fd-7084-42e3-80c5-051eb51d8538] [2025/04/04 12:45:53.641 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=610] [2025/04/04 12:45:53.641 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:45:53.641 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 12:45:53.641 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 12:45:53.641 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 12:45:53.641 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 12:45:53.641 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 12:45:53.641 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 12:45:53.641 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:45:53.641 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=d0319878-3002-497b-b609-5c0b5ba1072b] [] [2025/04/04 12:45:53.641 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=d0319878-3002-497b-b609-5c0b5ba1072b] [2025/04/04 12:45:53.641 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:45:53.641 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=d0319878-3002-497b-b609-5c0b5ba1072b] [2025/04/04 12:45:53.641 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 12:45:53.641 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:45:53.641 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=d0319878-3002-497b-b609-5c0b5ba1072b] [2025/04/04 12:45:53.641 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:45:53.642 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=d0319878-3002-497b-b609-5c0b5ba1072b] [daemon-id=LogBackup::Advancer] [2025/04/04 12:45:53.642 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 12:45:53.642 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:45:53.642 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 12:45:53.642 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 12:45:53.642 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:45:53.642 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 12:45:53.642 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:45:53.647 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=19.924595ms] [2025/04/04 12:45:53.647 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489437817523558127] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 12:45:53.658 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 12:45:53.705 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1606] ["lease id"=3eaa9600d42a1e8e] [2025/04/04 12:45:53.707 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/04 12:45:53.825 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=55] ["elapsed time"=114.243513ms] [2025/04/04 12:45:53.825 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 12:45:53.834 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=c901c8fd-7084-42e3-80c5-051eb51d8538] [runWorker=true] [jobVersion=v2] [2025/04/04 12:45:53.834 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 12:45:53.836 +00:00] [INFO] [manager.go:294] ["start campaign owner with existing session"] [key=/tidb/ddl/fg/owner] [id=c901c8fd-7084-42e3-80c5-051eb51d8538] [lease=3eaa9600d42a1e20] [2025/04/04 12:45:53.836 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 12:45:53.836 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 174907568128/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 12:45:53.836 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 12:45:53.836 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 12:45:53.836 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 12:45:53.836 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 12:45:53.836 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 12:45:53.836 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:45:53.836 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:45:53.836 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 12:45:53.836 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 12:45:53.836 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 12:45:53.836 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 12:45:53.837 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 12:45:53.837 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=696b756e-0abb-480f-a392-4d0a5e21861f] [2025/04/04 12:45:53.839 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9600d42a1e20] [ownerID=c901c8fd-7084-42e3-80c5-051eb51d8538] [op=none] [2025/04/04 12:45:53.839 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=c901c8fd-7084-42e3-80c5-051eb51d8538] [2025/04/04 12:45:53.839 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=c901c8fd-7084-42e3-80c5-051eb51d8538] [ownerKey=/tidb/ddl/fg/owner/3eaa9600d42a1e20] [currRev=283] [2025/04/04 12:45:53.839 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 12:45:53.839 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=696b756e-0abb-480f-a392-4d0a5e21861f] [daemon-id=LogBackup::Advancer] [2025/04/04 12:45:53.840 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/22319600d42a19f5] [ownerID=696b756e-0abb-480f-a392-4d0a5e21861f] [op=none] [2025/04/04 12:45:53.840 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=696b756e-0abb-480f-a392-4d0a5e21861f] [2025/04/04 12:45:53.840 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=696b756e-0abb-480f-a392-4d0a5e21861f] [ownerKey=/tidb/br-stream/owner/22319600d42a19f5] [currRev=283] [2025/04/04 12:45:53.840 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 12:45:53.841 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9600d42a1e20] [ownerID=c901c8fd-7084-42e3-80c5-051eb51d8538] [op=none] [2025/04/04 12:45:53.841 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=c901c8fd-7084-42e3-80c5-051eb51d8538] [op=none] [2025/04/04 12:45:53.841 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 12:45:53.847 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=c901c8fd-7084-42e3-80c5-051eb51d8538] [2025/04/04 12:45:53.848 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 12:45:53.848 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 12:45:53.850 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/bindinfo/owner] ["owner key"=/tidb/bindinfo/owner/3eaa9600d42a1e97] [ownerID=c901c8fd-7084-42e3-80c5-051eb51d8538] [op=none] [2025/04/04 12:45:53.850 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/bindinfo/owner] [id=c901c8fd-7084-42e3-80c5-051eb51d8538] [2025/04/04 12:45:53.850 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/bindinfo/owner] [id=c901c8fd-7084-42e3-80c5-051eb51d8538] [ownerKey=/tidb/bindinfo/owner/3eaa9600d42a1e97] [currRev=284] [2025/04/04 12:45:53.856 +00:00] [INFO] [sysvar.go:3019] ["set resource control"] [enable=true] [2025/04/04 12:45:53.859 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 12:45:53.860 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 12:45:53.866 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 12:45:53.874 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 12:45:53.874 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 12:45:53.874 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 12:45:53.874 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 12:45:53.874 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 12:45:53.874 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 12:45:53.874 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 12:45:53.874 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 12:45:53.874 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 12:45:53.875 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 12:45:53.875 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=c901c8fd-7084-42e3-80c5-051eb51d8538] [2025/04/04 12:45:53.876 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 12:45:53.876 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 12:45:53.876 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 12:45:53.876 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 12:45:53.876 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 12:45:53.876 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 12:45:53.876 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 12:45:53.876 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 12:45:53.876 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 12:45:53.876 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:45:53.876 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=10] [2025/04/04 12:45:53.876 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 12:45:53.876 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 12:45:53.876 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 12:45:53.877 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 12:45:53.878 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=52] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/04 12:45:53.878 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/22319600d42a19fb] [ownerID=c901c8fd-7084-42e3-80c5-051eb51d8538] [op=none] [2025/04/04 12:45:53.878 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=c901c8fd-7084-42e3-80c5-051eb51d8538] [2025/04/04 12:45:53.878 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=c901c8fd-7084-42e3-80c5-051eb51d8538] [ownerKey=/tidb/stats/owner/22319600d42a19fb] [currRev=285] [2025/04/04 12:45:53.880 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/ec7330cd-f759-474c-886b-a5f973ba5ec6] [2025/04/04 12:45:53.881 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=c901c8fd-7084-42e3-80c5-051eb51d8538] [ttl-worker=task-manager] [ttl-worker=c901c8fd-7084-42e3-80c5-051eb51d8538] [originalCount=0] [newCount=4] [2025/04/04 12:45:53.881 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=c901c8fd-7084-42e3-80c5-051eb51d8538] [ttl-worker=task-manager] [ttl-worker=c901c8fd-7084-42e3-80c5-051eb51d8538] [originalCount=0] [newCount=4] [2025/04/04 12:45:53.881 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=c901c8fd-7084-42e3-80c5-051eb51d8538] [2025/04/04 12:45:53.883 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 12:45:53.889 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 12:45:53.889 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 12:45:53.889 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743770753889911699 [2025/04/04 12:45:53.892 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 12:45:53.899 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=24.374527ms] [2025/04/04 12:45:53.899 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 12:45:53.899 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 12:45:53.908 +00:00] [INFO] [set.go:172] ["set global var"] [conn=1] [name=innodb_lock_wait_timeout] [val=50] testkit.go:123: RefreshSession rand seed: 1743770753910164987 === RUN TestImportInto/TestAddIndexBySQL import_into_test.go:1039: enable after we support add-index option --- SKIP: TestImportInto/TestAddIndexBySQL (0.00s) === NAME TestImportInto === RUN TestImportInto/TestAnalyze import_into_test.go:1191: skip for ci now --- SKIP: TestImportInto/TestAnalyze (0.00s) === NAME TestImportInto === RUN TestImportInto/TestBadCases [2025/04/04 12:45:53.915 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=55] [cur_db=] [sql="DROP DATABASE IF EXISTS bad_cases;"] [user=] [2025/04/04 12:45:53.927 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:113, Type:create schema, State:queueing, SchemaState:none, SchemaID:112, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:53.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE bad_cases;"] [2025/04/04 12:45:53.927 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:113, Type:create schema, State:queueing, SchemaState:none, SchemaID:112, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:53.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:53.932 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=113] [conn=2] [job="ID:113, Type:create schema, State:queueing, SchemaState:none, SchemaID:112, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:53.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:53.947 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=55] [neededSchemaVersion=56] ["elapsed time"=607.019µs] [gotSchemaVersion=56] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 12:45:53.950 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=113] [version=56] [2025/04/04 12:45:53.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=56] ["take time"=7.344535ms] [job="ID:113, Type:create schema, State:done, SchemaState:public, SchemaID:112, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:53.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:53.962 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=113] [conn=2] [job="ID:113, Type:create schema, State:synced, SchemaState:public, SchemaID:112, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:53.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:53.977 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=113] [2025/04/04 12:45:53.977 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=56] [cur_db=] [sql="CREATE DATABASE bad_cases;"] [user=] [2025/04/04 12:45:53.991 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:115, Type:create table, State:queueing, SchemaState:none, SchemaID:112, TableID:114, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:53.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:53.991 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:115, Type:create table, State:queueing, SchemaState:none, SchemaID:112, TableID:114, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:53.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE bad_cases.t (a INT, b INT, c INT);"] [2025/04/04 12:45:53.996 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=115] [conn=2] [job="ID:115, Type:create table, State:queueing, SchemaState:none, SchemaID:112, TableID:114, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:53.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:54.001 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 114, Table Name: t)"] [2025/04/04 12:45:54.019 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=56] [neededSchemaVersion=57] ["elapsed time"=1.724247ms] [gotSchemaVersion=57] [phyTblIDs="[114]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:54.022 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=115] [version=57] [2025/04/04 12:45:54.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=57] ["take time"=8.491517ms] [job="ID:115, Type:create table, State:done, SchemaState:public, SchemaID:112, TableID:114, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:53.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:54.035 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=115] [conn=2] [job="ID:115, Type:create table, State:synced, SchemaState:public, SchemaID:112, TableID:114, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:53.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:54.047 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=115] [2025/04/04 12:45:54.047 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=57] [cur_db=] [sql="CREATE TABLE bad_cases.t (a INT, b INT, c INT);"] [user=] [2025/04/04 12:45:54.252 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:54.307 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/bad-cases-1.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/04 12:45:54.335 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=1] [task-id=1] [data-size=18B] [thread-cnt=26] [global-sort=false] [2025/04/04 12:45:54.849 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/04 12:45:54.849 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 12:45:54.849 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 12:45:54.849 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 12:45:54.882 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/04 12:45:54.882 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/04 12:45:54.882 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/ec7330cd-f759-474c-886b-a5f973ba5ec6] [watcherID=a6b5a094-1b72-4c4d-9239-5ca35aa9623a] [2025/04/04 12:45:54.889 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/04 12:45:54.895 +00:00] [INFO] [slots.go:207] ["update slot capacity"] [old=16] [new=52] [2025/04/04 12:45:54.895 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/04 12:45:54.895 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/04 12:45:54.895 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/04 12:45:54.895 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/04 12:45:54.909 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=1] [2025/04/04 12:45:54.909 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/04 12:45:55.012 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 12:45:55.013 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:45:55.014 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=1] [curr-step=init] [next-step=import] [2025/04/04 12:45:55.022 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:55.025 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 12:45:55.025 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=18] [2025/04/04 12:45:55.025 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=18] [cost=62.233µs] [2025/04/04 12:45:55.025 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=159.434µs] [] [2025/04/04 12:45:55.025 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=1] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 12:45:55.025 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/04 12:45:55.062 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=1] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 12:45:55.082 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=1] [step=import] [2025/04/04 12:45:55.082 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:55.083 +00:00] [INFO] [table_import.go:119] ["import dir not exists, create it"] [table=t] [import_dir=/tmp/tidb/import-4000] [2025/04/04 12:45:55.090 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:45:55.090 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 12:45:55.091 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:45:55.091 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:45:55.091 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:45:55.091 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:45:55.091 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:45:55.091 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:45:55.092 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:45:55.092 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:45:55.106 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:45:55.108 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 12:45:55.108 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 12:45:55.108 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=1] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 12:45:55.108 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=1] [disk-quota=348.5GiB] [2025/04/04 12:45:55.108 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 12:45:55.116 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [subtaskID=1] [step=import] [2025/04/04 12:45:55.116 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=1] [step=import] [subtask-id=1] [2025/04/04 12:45:55.118 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=1] [mode=Import] [2025/04/04 12:45:55.121 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`bad_cases`.`t`:0] [engineUUID=ac11689c-038f-539b-891e-1e76c346ec7c] [2025/04/04 12:45:55.124 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`bad_cases`.`t`:-1] [engineUUID=ad4147a5-8a19-558e-a731-72a1c176fe8f] [2025/04/04 12:45:55.125 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=114] [2025/04/04 12:45:55.125 +00:00] [ERROR] [misc.go:116] ["panic in the recoverable goroutine"] [label=encodeAndSortOperator] [funcInfo=RecoverArgs] [r="failpoint panic: mock panic"] [stack="github.com/pingcap/tidb/pkg/util.Recover\n\tpkg/util/misc.go:120\nruntime.gopanic\n\tGOROOT/src/runtime/panic.go:791\ngithub.com/pingcap/failpoint.actPanic\n\texternal/com_github_pingcap_failpoint/terms.go:344\ngithub.com/pingcap/failpoint.(*term).do\n\texternal/com_github_pingcap_failpoint/terms.go:311\ngithub.com/pingcap/failpoint.(*terms).eval\n\texternal/com_github_pingcap_failpoint/terms.go:116\ngithub.com/pingcap/failpoint.(*Failpoint).Eval\n\texternal/com_github_pingcap_failpoint/failpoint.go:129\ngithub.com/pingcap/failpoint.(*Failpoints).Eval\n\texternal/com_github_pingcap_failpoint/failpoints.go:231\ngithub.com/pingcap/failpoint.Eval\n\texternal/com_github_pingcap_failpoint/failpoints.go:311\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importMinimalTaskExecutor).Run\n\tpkg/disttask/importinto/subtask_executor.go:57\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*chunkWorker).HandleTask\n\tpkg/disttask/importinto/encode_and_sort_operator.go:200\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).handleTaskWithRecover\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:149\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).runAWorker.func1\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:165\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:167"] [stack="github.com/pingcap/tidb/pkg/util.Recover\n\tpkg/util/misc.go:116\nruntime.gopanic\n\tGOROOT/src/runtime/panic.go:791\ngithub.com/pingcap/failpoint.actPanic\n\texternal/com_github_pingcap_failpoint/terms.go:344\ngithub.com/pingcap/failpoint.(*term).do\n\texternal/com_github_pingcap_failpoint/terms.go:311\ngithub.com/pingcap/failpoint.(*terms).eval\n\texternal/com_github_pingcap_failpoint/terms.go:116\ngithub.com/pingcap/failpoint.(*Failpoint).Eval\n\texternal/com_github_pingcap_failpoint/failpoint.go:129\ngithub.com/pingcap/failpoint.(*Failpoints).Eval\n\texternal/com_github_pingcap_failpoint/failpoints.go:231\ngithub.com/pingcap/failpoint.Eval\n\texternal/com_github_pingcap_failpoint/failpoints.go:311\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importMinimalTaskExecutor).Run\n\tpkg/disttask/importinto/subtask_executor.go:57\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*chunkWorker).HandleTask\n\tpkg/disttask/importinto/encode_and_sort_operator.go:200\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).handleTaskWithRecover\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:149\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).runAWorker.func1\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:165\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:167"] [2025/04/04 12:45:55.125 +00:00] [ERROR] [task_executor.go:129] ["run subtask failed"] [type=ImportInto] [task-id=1] [step=import] [subtask-id=1] [takeTime=9.104546ms] [error="panic occurred during import, please check log"] [stack="github.com/pingcap/tidb/pkg/disttask/importinto.(*importStepExecutor).RunSubtask.func1\n\tpkg/disttask/importinto/task_executor.go:129\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:203\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/04 12:45:55.126 +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.429734ms] [error="panic occurred during import, please check log"] [errorVerbose="panic occurred during import, please check log\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:203\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:45:55.126 +00:00] [WARN] [task_executor.go:706] ["subtask failed"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [error="panic occurred during import, please check log"] [errorVerbose="panic occurred during import, please check log\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:203\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:45:55.135 +00:00] [ERROR] [task_executor.go:344] ["run subtask failed"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [error="panic occurred during import, please check log"] [errorVerbose="panic occurred during import, please check log\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:203\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:344\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/04 12:45:55.138 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=1] [2025/04/04 12:45:55.221 +00:00] [WARN] [scheduler.go:389] ["subtasks encounter errors"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [subtask-errs="[\"{error=\\\"[0]panic occurred during import, please check log\\\"}\"]"] [2025/04/04 12:45:55.240 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=1] [step=import] [2025/04/04 12:45:55.243 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:45:55.243 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:45:55.243 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:45:55.243 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:45:55.243 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:45:55.243 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:55.243 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:45:55.243 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-2] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:45:55.243 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:45:55.243 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:55.243 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:55.243 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:45:55.246 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:45:55.246 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:55.246 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:55.246 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:55.246 +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=137.45688ms] [] [2025/04/04 12:45:55.246 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=1] [type=ImportInto] [2025/04/04 12:45:55.317 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=1] [step=import] [state=reverting] [error="[0]panic occurred during import, please check log"] [2025/04/04 12:45:55.318 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=1] [step=import] [mode=Normal] [2025/04/04 12:45:55.334 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=1] [2025/04/04 12:45:55.412 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=1] [2025/04/04 12:45:55.418 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 12:45:55.418 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=1] [2025/04/04 12:45:55.449 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 12:45:55.550 +00:00] [ERROR] [handle.go:110] ["task reverted"] [task-id=1] [error="[0]panic occurred during import, please check log"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/handle.WaitTaskDoneOrPaused\n\tpkg/disttask/framework/handle/handle.go:110\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoExec).waitTask\n\tpkg/executor/import_into.go:233\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoExec).Next\n\tpkg/executor/import_into.go:137\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*recordSet).Next\n\tpkg/executor/adapter.go:172\ngithub.com/pingcap/tidb/pkg/session.GetRows4Test\n\tpkg/session/tidb.go:343\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).QueryToErr\n\tpkg/testkit/testkit.go:304\ntests/realtikvtest/importintotest/importintotest_test.(*mockGCSSuite).TestBadCases\n\ttests/realtikvtest/importintotest/import_into_test.go:1255\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690"] [2025/04/04 12:45:55.550 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 1.503038992\n# Parse_time: 0.000137259\n# Compile_time: 0.000480022\n# Rewrite_time: 0.000083327\n# Optimize_time: 0.000076993\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('R/BGMAk1OV8yCTAJMAlOL0EJMAl0aW1lOjEuNXMsIG9wZW46NjcwbnMsIGNsb3NlOjEuMDbCtXMsIGxvb3BzOjEJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('YPBMClwKDEltcG9ydEludG9fMjgBQAFSA04vQVotdGltZToxLjVzLCBvcGVuOjY3MG5zLCBjbG9zZToxLjA2wrVzLCBsb29wczoxcP////8FAzQBeP///////////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.64s) === NAME TestImportInto === RUN TestImportInto/TestBasicImportInto [2025/04/04 12:45:55.553 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=57] [cur_db=] [sql="drop database if exists import_into"] [user=] [2025/04/04 12:45:55.565 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:117, Type:create schema, State:queueing, SchemaState:none, SchemaID:116, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:55.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:55.565 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:117, Type:create schema, State:queueing, SchemaState:none, SchemaID:116, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:55.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database import_into"] [2025/04/04 12:45:55.570 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=117] [conn=2] [job="ID:117, Type:create schema, State:queueing, SchemaState:none, SchemaID:116, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:55.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:55.584 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=57] [neededSchemaVersion=58] ["elapsed time"=729.208µs] [gotSchemaVersion=58] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 12:45:55.588 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=117] [version=58] [2025/04/04 12:45:55.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=58] ["take time"=8.393399ms] [job="ID:117, Type:create schema, State:done, SchemaState:public, SchemaID:116, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:55.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:55.601 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=117] [conn=2] [job="ID:117, Type:create schema, State:synced, SchemaState:public, SchemaID:116, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:55.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:55.611 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=117] [2025/04/04 12:45:55.612 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=58] [cur_db=] [sql="create database import_into"] [user=] [2025/04/04 12:45:55.614 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=58] [cur_db=import_into] [sql="drop table if exists t"] [user=] [2025/04/04 12:45:55.627 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:119, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:118, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:55.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:55.627 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:119, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:118, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:55.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100), c int);"] [2025/04/04 12:45:55.632 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=119] [conn=2] [job="ID:119, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:118, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:55.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:55.637 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 118, Table Name: t)"] [2025/04/04 12:45:55.653 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=58] [neededSchemaVersion=59] ["elapsed time"=1.779343ms] [gotSchemaVersion=59] [phyTblIDs="[118]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:55.656 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=119] [version=59] [2025/04/04 12:45:55.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=59] ["take time"=8.799485ms] [job="ID:119, Type:create table, State:done, SchemaState:public, SchemaID:116, TableID:118, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:55.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:55.669 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=119] [conn=2] [job="ID:119, Type:create table, State:synced, SchemaState:public, SchemaID:116, TableID:118, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:55.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:55.681 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=119] [2025/04/04 12:45:55.682 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=59] [cur_db=import_into] [sql="create table t (a bigint, b varchar(100), c int);"] [user=] [2025/04/04 12:45:55.683 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="COLUMN reference is not supported in IMPORT INTO column assignment, index 0"] [errorVerbose="COLUMN reference is not supported in IMPORT INTO column assignment, index 0\ngithub.com/pingcap/tidb/pkg/planner/core.(*importIntoCollAssignmentChecker).Leave\n\tpkg/planner/core/planbuilder.go:4502\ngithub.com/pingcap/tidb/pkg/parser/ast.(*ColumnNameExpr).Accept\n\tpkg/parser/ast/expressions.go:616\ngithub.com/pingcap/tidb/pkg/parser/ast.(*BinaryOperationExpr).Accept\n\tpkg/parser/ast/expressions.go:219\ngithub.com/pingcap/tidb/pkg/planner/core.checkImportIntoColAssignments\n\tpkg/planner/core/planbuilder.go:4485\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).buildImportInto\n\tpkg/planner/core/planbuilder.go:4584\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).Build\n\tpkg/planner/core/planbuilder.go:522\ngithub.com/pingcap/tidb/pkg/planner.buildLogicalPlan\n\tpkg/planner/optimize.go:547\ngithub.com/pingcap/tidb/pkg/planner.optimize\n\tpkg/planner/optimize.go:466\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:333\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:101\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ntests/realtikvtest/importintotest/importintotest_test.(*mockGCSSuite).TestBasicImportInto\n\ttests/realtikvtest/importintotest/import_into_test.go:154\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL="IMPORT INTO t(a, @, c) SET b=a+1 FROM 'gs://test-multi-load/db.tbl.001.csv?endpoint=http://127.0.0.1:4443/storage/v1/'\n\t\twith thread=1"] [2025/04/04 12:45:55.702 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:120, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:118, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:55.694 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:55.702 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:120, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:118, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:55.694 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t"] [2025/04/04 12:45:55.707 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=120] [conn=2] [job="ID:120, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:118, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:55.694 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:55.723 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=59] [neededSchemaVersion=60] ["elapsed time"=2.324856ms] [gotSchemaVersion=60] [phyTblIDs="[118]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:45:55.727 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=120] [version=60] [2025/04/04 12:45:55.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=60] ["take time"=9.198956ms] [job="ID:120, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:118, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:55.694 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:55.739 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=120] [conn=2] [job="ID:120, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:118, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:55.694 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:55.755 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=60] [neededSchemaVersion=61] ["elapsed time"=2.36091ms] [gotSchemaVersion=61] [phyTblIDs="[118]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:45:55.758 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=120] [version=61] [2025/04/04 12:45:55.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=61] ["take time"=9.214036ms] [job="ID:120, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:118, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:55.694 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:55.768 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=120] [conn=2] [job="ID:120, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:118, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:55.694 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:55.774 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 118, Old Table Name: t)"] [2025/04/04 12:45:55.788 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=61] [neededSchemaVersion=62] ["elapsed time"=1.15053ms] [gotSchemaVersion=62] [phyTblIDs="[118]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:45:55.791 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=120] [version=62] [2025/04/04 12:45:55.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=62] ["take time"=8.115808ms] [job="ID:120, Type:drop table, State:done, SchemaState:none, SchemaID:116, TableID:118, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:55.694 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:55.803 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=120] [tableIDs="[118]"] [comment="drop table: table ID"] [2025/04/04 12:45:55.812 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=120] [jobType="drop table"] [2025/04/04 12:45:55.813 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=120] [conn=2] [job="ID:120, Type:drop table, State:synced, SchemaState:none, SchemaID:116, TableID:118, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:55.694 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:55.833 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=120] [2025/04/04 12:45:55.834 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=62] [cur_db=import_into] [sql="drop table if exists t"] [user=] [2025/04/04 12:45:55.837 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/04 12:45:55.847 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:122, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:55.794 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:55.847 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:122, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:55.794 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100), c int);"] [2025/04/04 12:45:55.852 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=122] [conn=2] [job="ID:122, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:121, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:55.794 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:55.857 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 121, Table Name: t)"] [2025/04/04 12:45:55.873 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=62] [neededSchemaVersion=63] ["elapsed time"=1.742273ms] [gotSchemaVersion=63] [phyTblIDs="[121]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:55.876 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=122] [version=63] [2025/04/04 12:45:55.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=63] ["take time"=8.827903ms] [job="ID:122, Type:create table, State:done, SchemaState:public, SchemaID:116, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:55.794 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:55.890 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=122] [conn=2] [job="ID:122, Type:create table, State:synced, SchemaState:public, SchemaID:116, TableID:121, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:55.794 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:55.902 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=122] [2025/04/04 12:45:55.903 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=63] [cur_db=import_into] [sql="create table t (a bigint, b varchar(100), c int);"] [user=] [2025/04/04 12:45:55.904 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="column assignment cannot use variables set outside IMPORT INTO statement, index 0"] [errorVerbose="column assignment cannot use variables set outside IMPORT INTO statement, index 0\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).buildImportInto\n\tpkg/planner/core/planbuilder.go:4601\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).Build\n\tpkg/planner/core/planbuilder.go:522\ngithub.com/pingcap/tidb/pkg/planner.buildLogicalPlan\n\tpkg/planner/optimize.go:547\ngithub.com/pingcap/tidb/pkg/planner.optimize\n\tpkg/planner/optimize.go:466\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:333\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:101\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ntests/realtikvtest/importintotest/importintotest_test.(*mockGCSSuite).TestBasicImportInto\n\ttests/realtikvtest/importintotest/import_into_test.go:167\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL="IMPORT INTO t(a, @, c) SET b=@v FROM 'gs://test-multi-load/db.tbl.001.csv?endpoint=http://127.0.0.1:4443/storage/v1/'\n\t\twith thread=1"] [2025/04/04 12:45:55.905 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="column assignment cannot use variables set outside IMPORT INTO statement, index 0"] [errorVerbose="column assignment cannot use variables set outside IMPORT INTO statement, index 0\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).buildImportInto\n\tpkg/planner/core/planbuilder.go:4601\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).Build\n\tpkg/planner/core/planbuilder.go:522\ngithub.com/pingcap/tidb/pkg/planner.buildLogicalPlan\n\tpkg/planner/optimize.go:547\ngithub.com/pingcap/tidb/pkg/planner.optimize\n\tpkg/planner/optimize.go:466\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:333\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:101\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ntests/realtikvtest/importintotest/importintotest_test.(*mockGCSSuite).TestBasicImportInto\n\ttests/realtikvtest/importintotest/import_into_test.go:171\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL="IMPORT INTO t(a, @, c) SET b=getvar('v') FROM 'gs://test-multi-load/db.tbl.001.csv?endpoint=http://127.0.0.1:4443/storage/v1/'\n\t\twith thread=1"] [2025/04/04 12:45:55.917 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:123, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:55.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:55.917 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:123, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:55.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t"] [2025/04/04 12:45:55.923 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=123] [conn=2] [job="ID:123, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:121, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:55.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:55.939 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=63] [neededSchemaVersion=64] ["elapsed time"=2.20547ms] [gotSchemaVersion=64] [phyTblIDs="[121]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:45:55.942 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=123] [version=64] [2025/04/04 12:45:55.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=64] ["take time"=8.855132ms] [job="ID:123, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:55.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:55.954 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=123] [conn=2] [job="ID:123, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:121, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:55.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:55.969 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=64] [neededSchemaVersion=65] ["elapsed time"=2.306356ms] [gotSchemaVersion=65] [phyTblIDs="[121]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:45:55.973 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=123] [version=65] [2025/04/04 12:45:55.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=65] ["take time"=9.060211ms] [job="ID:123, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:55.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:55.983 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=123] [conn=2] [job="ID:123, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:121, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:55.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:55.989 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 121, Old Table Name: t)"] [2025/04/04 12:45:56.003 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=65] [neededSchemaVersion=66] ["elapsed time"=1.115887ms] [gotSchemaVersion=66] [phyTblIDs="[121]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:45:56.006 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=123] [version=66] [2025/04/04 12:45:56.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=66] ["take time"=7.754744ms] [job="ID:123, Type:drop table, State:done, SchemaState:none, SchemaID:116, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:55.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:56.017 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=123] [tableIDs="[121]"] [comment="drop table: table ID"] [2025/04/04 12:45:56.021 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=123] [jobType="drop table"] [2025/04/04 12:45:56.022 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=123] [conn=2] [job="ID:123, Type:drop table, State:synced, SchemaState:none, SchemaID:116, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:55.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:56.040 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=123] [2025/04/04 12:45:56.041 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=66] [cur_db=import_into] [sql="drop table if exists t"] [user=] [2025/04/04 12:45:56.054 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:125, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:124, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:56.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:56.054 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:125, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:124, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:56.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100), c int);"] [2025/04/04 12:45:56.059 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=125] [conn=2] [job="ID:125, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:124, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:56.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:56.064 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 124, Table Name: t)"] [2025/04/04 12:45:56.080 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=66] [neededSchemaVersion=67] ["elapsed time"=1.771742ms] [gotSchemaVersion=67] [phyTblIDs="[124]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:56.083 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=125] [version=67] [2025/04/04 12:45:56.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=67] ["take time"=8.550417ms] [job="ID:125, Type:create table, State:done, SchemaState:public, SchemaID:116, TableID:124, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:56.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:56.097 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=125] [conn=2] [job="ID:125, Type:create table, State:synced, SchemaState:public, SchemaID:116, TableID:124, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:56.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:56.108 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=125] [2025/04/04 12:45:56.109 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=67] [cur_db=import_into] [sql="create table t (a bigint, b varchar(100), c int);"] [user=] [2025/04/04 12:45:56.109 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="subquery is not supported in IMPORT INTO column assignment, index 0"] [errorVerbose="subquery is not supported in IMPORT INTO column assignment, index 0\ngithub.com/pingcap/tidb/pkg/planner/core.(*importIntoCollAssignmentChecker).Leave\n\tpkg/planner/core/planbuilder.go:4505\ngithub.com/pingcap/tidb/pkg/parser/ast.(*SubqueryExpr).Accept\n\tpkg/parser/ast/expressions.go:409\ngithub.com/pingcap/tidb/pkg/planner/core.checkImportIntoColAssignments\n\tpkg/planner/core/planbuilder.go:4485\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).buildImportInto\n\tpkg/planner/core/planbuilder.go:4584\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).Build\n\tpkg/planner/core/planbuilder.go:522\ngithub.com/pingcap/tidb/pkg/planner.buildLogicalPlan\n\tpkg/planner/optimize.go:547\ngithub.com/pingcap/tidb/pkg/planner.optimize\n\tpkg/planner/optimize.go:466\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:333\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:101\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ntests/realtikvtest/importintotest/importintotest_test.(*mockGCSSuite).TestBasicImportInto\n\ttests/realtikvtest/importintotest/import_into_test.go:178\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL="IMPORT INTO t(a, @, c) SET b=(SELECT 'subquery') FROM 'gs://test-multi-load/db.tbl.001.csv?endpoint=http://127.0.0.1:4443/storage/v1/'\n\t\twith thread=1"] [2025/04/04 12:45:56.121 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:126, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:124, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:56.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:56.121 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:126, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:124, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:56.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/04 12:45:56.127 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=126] [conn=2] [job="ID:126, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:124, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:56.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:56.142 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=67] [neededSchemaVersion=68] ["elapsed time"=2.224761ms] [gotSchemaVersion=68] [phyTblIDs="[124]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:45:56.146 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=126] [version=68] [2025/04/04 12:45:56.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=68] ["take time"=8.948934ms] [job="ID:126, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:124, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:56.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:56.158 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=126] [conn=2] [job="ID:126, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:124, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:56.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:56.173 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=68] [neededSchemaVersion=69] ["elapsed time"=2.270099ms] [gotSchemaVersion=69] [phyTblIDs="[124]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:45:56.177 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=126] [version=69] [2025/04/04 12:45:56.178 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=69] ["take time"=8.994192ms] [job="ID:126, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:124, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:56.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:56.187 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=126] [conn=2] [job="ID:126, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:124, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:56.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:56.193 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 124, Old Table Name: t)"] [2025/04/04 12:45:56.206 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=69] [neededSchemaVersion=70] ["elapsed time"=1.139703ms] [gotSchemaVersion=70] [phyTblIDs="[124]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:45:56.210 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=126] [version=70] [2025/04/04 12:45:56.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=70] ["take time"=8.056524ms] [job="ID:126, Type:drop table, State:done, SchemaState:none, SchemaID:116, TableID:124, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:56.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:56.221 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=126] [tableIDs="[124]"] [comment="drop table: table ID"] [2025/04/04 12:45:56.225 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=126] [jobType="drop table"] [2025/04/04 12:45:56.226 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=126] [conn=2] [job="ID:126, Type:drop table, State:synced, SchemaState:none, SchemaID:116, TableID:124, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:56.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:56.244 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=126] [2025/04/04 12:45:56.244 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=70] [cur_db=import_into] [sql="drop table if exists t;"] [user=] [2025/04/04 12:45:56.257 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:128, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:127, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:56.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100), c int);"] [2025/04/04 12:45:56.257 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:128, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:127, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:56.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:56.263 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=128] [conn=2] [job="ID:128, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:127, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:56.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:56.268 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 127, Table Name: t)"] [2025/04/04 12:45:56.283 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=70] [neededSchemaVersion=71] ["elapsed time"=1.858572ms] [gotSchemaVersion=71] [phyTblIDs="[127]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:56.287 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=128] [version=71] [2025/04/04 12:45:56.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=71] ["take time"=9.319167ms] [job="ID:128, Type:create table, State:done, SchemaState:public, SchemaID:116, TableID:127, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:56.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:56.301 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=128] [conn=2] [job="ID:128, Type:create table, State:synced, SchemaState:public, SchemaID:116, TableID:127, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:56.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:56.312 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=128] [2025/04/04 12:45:56.313 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=71] [cur_db=import_into] [sql="create table t (a bigint, b varchar(100), c int);"] [user=] [2025/04/04 12:45:56.319 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:56.369 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/04 12:45:56.389 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=2] [task-id=2] [data-size=63B] [thread-cnt=1] [global-sort=false] [2025/04/04 12:45:56.404 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=2] [2025/04/04 12:45:56.404 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/04 12:45:56.506 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 12:45:56.507 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:45:56.509 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=2] [curr-step=init] [next-step=import] [2025/04/04 12:45:56.516 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:56.519 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 12:45:56.519 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=63] [2025/04/04 12:45:56.519 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=63] [cost=81.327µs] [2025/04/04 12:45:56.519 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=204.873µs] [] [2025/04/04 12:45:56.520 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=2] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 12:45:56.520 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/04 12:45:56.558 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=2] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 12:45:56.579 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=2] [step=import] [2025/04/04 12:45:56.580 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:56.589 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:45:56.589 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 12:45:56.590 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:45:56.590 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:45:56.590 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:45:56.590 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:45:56.590 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:45:56.590 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:45:56.591 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:45:56.591 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:45:56.606 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:45:56.608 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 12:45:56.608 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 12:45:56.608 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=2] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 12:45:56.608 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=2] [disk-quota=348.5GiB] [2025/04/04 12:45:56.608 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/04 12:45:56.613 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=2] [mode=Import] [2025/04/04 12:45:56.616 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=2] [step=import] [2025/04/04 12:45:56.616 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=2] [step=import] [subtask-id=2] [2025/04/04 12:45:56.621 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 12:45:56.625 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 12:45:56.625 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=127] [2025/04/04 12:45:56.633 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=2] [2025/04/04 12:45:56.643 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=127] [key=db.tbl.001.csv:0] [2025/04/04 12:45:56.645 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=127] [key=db.tbl.001.csv:0] [readDur=1.47599ms] [encodeDur=126.495µs] [checksum="{cksum=1675147975136326378,size=82,kvs=2}"] [deliverDur=295.581µs] [type=file] [takeTime=2.298978ms] [] [2025/04/04 12:45:56.646 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=127] [2025/04/04 12:45:56.646 +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/16b85b1b-be39-484c-b195-abb439265cd8.sst] [firstKey=74800000000000007F5F728000000000000001] [lastKey=74800000000000007F5F728000000000000002] [2025/04/04 12:45:56.655 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=127] [key=db.tbl.002.csv:0] [2025/04/04 12:45:56.658 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=127] [key=db.tbl.002.csv:0] [readDur=1.49285ms] [encodeDur=341.12µs] [checksum="{cksum=12305018038957930638,size=82,kvs=2}"] [deliverDur=416.564µs] [type=file] [takeTime=2.736336ms] [] [2025/04/04 12:45:56.659 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=127] [2025/04/04 12:45:56.660 +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/937f9706-9fe5-4d50-bc8a-18a3c1306626.sst] [firstKey=74800000000000007F5F728000000000000008] [lastKey=74800000000000007F5F728000000000000009] [2025/04/04 12:45:56.677 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=127] [key=db.tbl.003.csv:0] [2025/04/04 12:45:56.679 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=127] [key=db.tbl.003.csv:0] [readDur=924.468µs] [encodeDur=108.617µs] [checksum="{cksum=14730688775140726438,size=82,kvs=2}"] [deliverDur=238.431µs] [type=file] [takeTime=1.546621ms] [] [2025/04/04 12:45:56.680 +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/ba073ab0-b418-4ce5-b9d7-3a20ed83b24d.sst] [firstKey=74800000000000007F5F72800000000000000F] [lastKey=74800000000000007F5F728000000000000010] [2025/04/04 12:45:56.680 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=2] [step=import] [engine-id=0] [2025/04/04 12:45:56.680 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=2] [step=import] [engine-id=0] [2025/04/04 12:45:56.680 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 12:45:56.682 +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.143049ms] [] [2025/04/04 12:45:56.682 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [2025/04/04 12:45:56.687 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:45:56.709 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] ["region ranges"=1] [count=6] [size=246] [2025/04/04 12:45:56.709 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:45:56.711 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000007f5f728000000000000001] [endOfAllRanges=74800000000000007f5f728000000000000011] [startKeyOfFirstRegion=7480000000000000ff7f5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff7f5f728000000000ff0000110000000000fa] [2025/04/04 12:45:56.724 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [size=246] [kvs=6] [importedSize=246] [importedCount=6] [2025/04/04 12:45:56.726 +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.750414ms] [] [2025/04/04 12:45:56.726 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 12:45:56.727 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.217991ms] [] [2025/04/04 12:45:56.727 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=2] [step=import] [engine-id=0] [2025/04/04 12:45:56.727 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 12:45:56.729 +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.516734ms] [] [2025/04/04 12:45:56.729 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [2025/04/04 12:45:56.732 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 12:45:56.733 +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.519617ms] [] [2025/04/04 12:45:56.733 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 12:45:56.734 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=1.076878ms] [] [2025/04/04 12:45:56.734 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=2] [step=import] [subtask-id=2] [takeTime=117.618967ms] [] [2025/04/04 12:45:56.734 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=2] [step=import] [takeTime=117.801547ms] [] [2025/04/04 12:45:56.811 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 12:45:56.812 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:45:56.813 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=2] [curr-step=import] [next-step=post-process] [2025/04/04 12:45:56.813 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=2] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 12:45:56.844 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=2] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":6}"] [2025/04/04 12:45:56.845 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=2] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 12:45:56.846 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/04 12:45:56.871 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 12:45:56.878 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=2] [step=import] [2025/04/04 12:45:56.880 +00:00] [INFO] [read.go:801] ["Table statistics item not found, possibly due to table being dropped"] [category=stats] [sampled=] [tableID=24] [indexID=1] [2025/04/04 12:45:56.880 +00:00] [INFO] [read.go:686] ["Column information not found, possibly due to column being dropped"] [category=stats] [sampled=] [tableID=30] [columnID=8] [2025/04/04 12:45:56.881 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:45:56.881 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:45:56.881 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:45:56.881 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:45:56.881 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:45:56.881 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:45:56.881 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:45:56.881 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:56.881 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:56.881 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-3] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:45:56.881 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:56.881 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:45:56.884 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:45:56.884 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:56.884 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:56.884 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:56.884 +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=275.702852ms] [] [2025/04/04 12:45:56.885 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/04 12:45:56.893 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=3] [step=post-process] [2025/04/04 12:45:56.893 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=3] [2025/04/04 12:45:56.893 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=3] [2025/04/04 12:45:56.893 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=3] [2025/04/04 12:45:56.900 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=3] [takeTime=6.963051ms] [] [2025/04/04 12:45:56.900 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=3] [groupId=-1] [size=246] [kvs=6] [checksum=8184885398518078658] [2025/04/04 12:45:56.901 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=3] [checksum="{cksum=8184885398518078658,size=246,kvs=6}"] [2025/04/04 12:45:56.901 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=3] [weight=30] [2025/04/04 12:45:56.901 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=3] [concurrency=15] [2025/04/04 12:45:56.903 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=127] [physicalTableID=127] [indexID=-1] [checksum=8184885398518078658] [totalKvs=6] [totalBytes=246] [2025/04/04 12:45:56.903 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 12:45:56.903 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=3] [local="{cksum=8184885398518078658,size=246,kvs=6}"] [2025/04/04 12:45:56.903 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=3] [takeTime=9.79323ms] [] [2025/04/04 12:45:56.903 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=3] [takeTime=9.929033ms] [] [2025/04/04 12:45:56.903 +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=10.086556ms] [] [2025/04/04 12:45:56.910 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 12:45:57.011 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 12:45:57.011 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=2] [step=post-process] [state=running] [] [2025/04/04 12:45:57.014 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=2] [2025/04/04 12:45:57.039 +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=153.867683ms] [] [2025/04/04 12:45:57.039 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=2] [type=ImportInto] [2025/04/04 12:45:57.106 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=2] [2025/04/04 12:45:57.112 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 12:45:57.112 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=2] [2025/04/04 12:45:57.133 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 12:45:57.307 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.993654825\n# Parse_time: 0.000130893\n# Compile_time: 0.000583587\n# Rewrite_time: 0.000113409\n# Optimize_time: 0.000076993\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5Mi42bXMsIG9wZW46ODQ4bnMsIGNsb3NlOjk2MG5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk5Mi42bXMsIG9wZW46ODQ4bnMsIGNsb3NlOjk2MG5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\nuse import_into;\nIMPORT INTO `import_into`.`t` FROM 'gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1;"] [2025/04/04 12:45:57.322 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:129, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:127, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:57.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:57.322 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:129, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:127, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:57.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/04 12:45:57.327 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=129] [conn=2] [job="ID:129, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:127, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:57.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:57.347 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=71] [neededSchemaVersion=72] ["elapsed time"=2.355799ms] [gotSchemaVersion=72] [phyTblIDs="[127]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:45:57.350 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=129] [version=72] [2025/04/04 12:45:57.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=72] ["take time"=12.560974ms] [job="ID:129, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:127, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:57.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:57.361 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=129] [conn=2] [job="ID:129, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:127, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:57.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:57.377 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=72] [neededSchemaVersion=73] ["elapsed time"=2.175616ms] [gotSchemaVersion=73] [phyTblIDs="[127]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:45:57.380 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=129] [version=73] [2025/04/04 12:45:57.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=73] ["take time"=8.668349ms] [job="ID:129, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:127, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:57.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:57.390 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=129] [conn=2] [job="ID:129, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:127, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:57.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:57.396 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 127, Old Table Name: t)"] [2025/04/04 12:45:57.409 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=73] [neededSchemaVersion=74] ["elapsed time"=983.798µs] [gotSchemaVersion=74] [phyTblIDs="[127]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:45:57.412 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=129] [version=74] [2025/04/04 12:45:57.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=74] ["take time"=7.67018ms] [job="ID:129, Type:drop table, State:done, SchemaState:none, SchemaID:116, TableID:127, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:57.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:57.423 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=129] [tableIDs="[127]"] [comment="drop table: table ID"] [2025/04/04 12:45:57.427 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=129] [jobType="drop table"] [2025/04/04 12:45:57.428 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=129] [conn=2] [job="ID:129, Type:drop table, State:synced, SchemaState:none, SchemaID:116, TableID:127, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:57.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:57.446 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=129] [2025/04/04 12:45:57.446 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=74] [cur_db=import_into] [sql="drop table if exists t;"] [user=] [2025/04/04 12:45:57.460 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:131, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:130, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:57.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:57.460 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:131, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:130, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:57.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint primary key, b varchar(100), c int);"] [2025/04/04 12:45:57.465 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=131] [conn=2] [job="ID:131, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:130, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:57.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:57.469 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 130, Table Name: t)"] [2025/04/04 12:45:57.485 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=74] [neededSchemaVersion=75] ["elapsed time"=1.794957ms] [gotSchemaVersion=75] [phyTblIDs="[130]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:57.489 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=131] [version=75] [2025/04/04 12:45:57.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=75] ["take time"=8.67407ms] [job="ID:131, Type:create table, State:done, SchemaState:public, SchemaID:116, TableID:130, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:57.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:57.502 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=131] [conn=2] [job="ID:131, Type:create table, State:synced, SchemaState:public, SchemaID:116, TableID:130, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:57.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:57.513 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=131] [2025/04/04 12:45:57.513 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=75] [cur_db=import_into] [sql="create table t (a bigint primary key, b varchar(100), c int);"] [user=] [2025/04/04 12:45:57.519 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:57.566 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/04 12:45:57.585 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=3] [task-id=3] [data-size=63B] [thread-cnt=1] [global-sort=false] [2025/04/04 12:45:57.601 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=3] [2025/04/04 12:45:57.601 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/04 12:45:57.703 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 12:45:57.704 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:45:57.705 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=3] [curr-step=init] [next-step=import] [2025/04/04 12:45:57.713 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:57.716 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 12:45:57.716 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=63] [2025/04/04 12:45:57.716 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=63] [cost=69.727µs] [2025/04/04 12:45:57.716 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=173.94µs] [] [2025/04/04 12:45:57.716 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=3] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 12:45:57.716 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/04 12:45:57.753 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=3] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 12:45:57.772 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=3] [step=import] [2025/04/04 12:45:57.772 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:57.781 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:45:57.781 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 12:45:57.781 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:45:57.781 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:45:57.782 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:45:57.782 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:45:57.782 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:45:57.782 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:45:57.782 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:45:57.783 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:45:57.796 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:45:57.798 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 12:45:57.798 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 12:45:57.798 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=3] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 12:45:57.798 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=3] [disk-quota=348.5GiB] [2025/04/04 12:45:57.798 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/04 12:45:57.806 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [subtaskID=4] [step=import] [2025/04/04 12:45:57.806 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=3] [step=import] [subtask-id=4] [2025/04/04 12:45:57.809 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=3] [mode=Import] [2025/04/04 12:45:57.811 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 12:45:57.814 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 12:45:57.815 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=130] [2025/04/04 12:45:57.832 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=3] [2025/04/04 12:45:57.855 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=130] [key=db.tbl.001.csv:0] [2025/04/04 12:45:57.856 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=130] [key=db.tbl.001.csv:0] [readDur=1.093764ms] [encodeDur=205.375µs] [checksum="{cksum=7519321974396982192,size=74,kvs=2}"] [deliverDur=24.652µs] [type=file] [takeTime=1.611556ms] [] [2025/04/04 12:45:57.857 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=130] [2025/04/04 12:45:57.857 +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/6f524082-428d-428b-a152-fce287b7e021.sst] [firstKey=7480000000000000825F728000000000000001] [lastKey=7480000000000000825F728000000000000002] [2025/04/04 12:45:57.860 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=130] [key=db.tbl.002.csv:0] [2025/04/04 12:45:57.862 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=130] [key=db.tbl.002.csv:0] [readDur=937.043µs] [encodeDur=101.076µs] [checksum="{cksum=8353780349895382269,size=74,kvs=2}"] [deliverDur=32.972µs] [type=file] [takeTime=1.297046ms] [] [2025/04/04 12:45:57.862 +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/dfbc2b88-29b7-488e-9848-326bcd798eab.sst] [firstKey=7480000000000000825F728000000000000003] [lastKey=7480000000000000825F728000000000000004] [2025/04/04 12:45:57.862 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=130] [2025/04/04 12:45:57.865 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=130] [key=db.tbl.003.csv:0] [2025/04/04 12:45:57.866 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=130] [key=db.tbl.003.csv:0] [readDur=1.083146ms] [encodeDur=165.595µs] [checksum="{cksum=34078042553017573,size=74,kvs=2}"] [deliverDur=34.311µs] [type=file] [takeTime=1.521279ms] [] [2025/04/04 12:45:57.867 +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/0dc1bb8b-8e32-4de9-ab92-79a5fadfafc2.sst] [firstKey=7480000000000000825F728000000000000005] [lastKey=7480000000000000825F728000000000000006] [2025/04/04 12:45:57.867 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=3] [step=import] [engine-id=0] [2025/04/04 12:45:57.867 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=3] [step=import] [engine-id=0] [2025/04/04 12:45:57.867 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 12:45:57.870 +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.261056ms] [] [2025/04/04 12:45:57.870 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [2025/04/04 12:45:57.874 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:45:57.896 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] ["region ranges"=1] [count=6] [size=222] [2025/04/04 12:45:57.896 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:45:57.898 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000825f728000000000000001] [endOfAllRanges=7480000000000000825f728000000000000007] [startKeyOfFirstRegion=7480000000000000ff825f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff825f728000000000ff0000070000000000fa] [2025/04/04 12:45:57.911 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [size=222] [kvs=6] [importedSize=222] [importedCount=6] [2025/04/04 12:45:57.913 +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.025065ms] [] [2025/04/04 12:45:57.913 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 12:45:57.914 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.228551ms] [] [2025/04/04 12:45:57.914 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=3] [step=import] [engine-id=0] [2025/04/04 12:45:57.914 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 12:45:57.916 +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.610854ms] [] [2025/04/04 12:45:57.916 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [2025/04/04 12:45:57.920 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 12:45:57.920 +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.642275ms] [] [2025/04/04 12:45:57.920 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 12:45:57.921 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=954.792µs] [] [2025/04/04 12:45:57.921 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=3] [step=import] [subtask-id=4] [takeTime=114.501324ms] [] [2025/04/04 12:45:57.921 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [subtaskID=4] [step=import] [takeTime=114.666594ms] [] [2025/04/04 12:45:58.008 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 12:45:58.009 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:45:58.010 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=3] [curr-step=import] [next-step=post-process] [2025/04/04 12:45:58.010 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=3] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 12:45:58.043 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=3] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":6}"] [2025/04/04 12:45:58.045 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=3] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 12:45:58.045 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/04 12:45:58.066 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [2025/04/04 12:45:58.066 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=3] [step=import] [2025/04/04 12:45:58.069 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:45:58.069 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:45:58.069 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:45:58.069 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:45:58.069 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:45:58.069 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:45:58.069 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:58.069 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:45:58.069 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-4] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:45:58.069 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:58.069 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:58.069 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:45:58.071 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:45:58.071 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:58.071 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:58.071 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:58.071 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=273.241627ms] [] [2025/04/04 12:45:58.071 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=3] [type=ImportInto] [2025/04/04 12:45:58.082 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=3] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 12:45:58.102 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/04 12:45:58.108 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [subtaskID=5] [step=post-process] [2025/04/04 12:45:58.109 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=5] [2025/04/04 12:45:58.109 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=5] [2025/04/04 12:45:58.109 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=5] [2025/04/04 12:45:58.109 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=5] [takeTime=1.894µs] [] [2025/04/04 12:45:58.109 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=5] [groupId=-1] [size=222] [kvs=6] [checksum=2003671119719883688] [2025/04/04 12:45:58.109 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=5] [checksum="{cksum=2003671119719883688,size=222,kvs=6}"] [2025/04/04 12:45:58.109 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=5] [weight=30] [2025/04/04 12:45:58.109 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=5] [concurrency=15] [2025/04/04 12:45:58.111 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=130] [physicalTableID=130] [indexID=-1] [checksum=2003671119719883688] [totalKvs=6] [totalBytes=222] [2025/04/04 12:45:58.111 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 12:45:58.111 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=5] [local="{cksum=2003671119719883688,size=222,kvs=6}"] [2025/04/04 12:45:58.111 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=5] [takeTime=2.533485ms] [] [2025/04/04 12:45:58.111 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=5] [takeTime=2.677625ms] [] [2025/04/04 12:45:58.111 +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.818007ms] [] [2025/04/04 12:45:58.120 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 12:45:58.207 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 12:45:58.208 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=3] [step=post-process] [state=running] [] [2025/04/04 12:45:58.210 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=3] [2025/04/04 12:45:58.232 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=130.060985ms] [] [2025/04/04 12:45:58.232 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=3] [type=ImportInto] [2025/04/04 12:45:58.304 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=3] [2025/04/04 12:45:58.309 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 12:45:58.309 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=3] [2025/04/04 12:45:58.330 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 12:45:58.503 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.989230394\n# Parse_time: 0.000084118\n# Compile_time: 0.000447629\n# Rewrite_time: 0.000086841\n# Optimize_time: 0.000240094\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4OC40bXMsIG9wZW46ODA0bnMsIGNsb3NlOjk5MW5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk4OC40bXMsIG9wZW46ODA0bnMsIGNsb3NlOjk5MW5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\nIMPORT INTO `import_into`.`t` FROM 'gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1;"] [2025/04/04 12:45:58.518 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:132, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:130, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:58.494 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:58.518 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:132, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:130, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:58.494 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/04 12:45:58.523 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=132] [conn=2] [job="ID:132, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:130, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:58.494 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:58.539 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=75] [neededSchemaVersion=76] ["elapsed time"=2.380129ms] [gotSchemaVersion=76] [phyTblIDs="[130]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:45:58.543 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=132] [version=76] [2025/04/04 12:45:58.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=76] ["take time"=9.686978ms] [job="ID:132, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:130, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:58.494 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:58.555 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=132] [conn=2] [job="ID:132, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:130, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:58.494 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:58.571 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=76] [neededSchemaVersion=77] ["elapsed time"=2.289404ms] [gotSchemaVersion=77] [phyTblIDs="[130]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:45:58.574 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=132] [version=77] [2025/04/04 12:45:58.576 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=77] ["take time"=9.608565ms] [job="ID:132, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:130, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:58.494 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:58.619 +00:00] [WARN] [pd.go:261] ["get timestamp too slow"] ["cost time"=38.044265ms] [2025/04/04 12:45:58.627 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=132] [conn=2] [job="ID:132, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:130, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:58.494 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:58.634 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 130, Old Table Name: t)"] [2025/04/04 12:45:58.649 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=77] [neededSchemaVersion=78] ["elapsed time"=1.223515ms] [gotSchemaVersion=78] [phyTblIDs="[130]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:45:58.652 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=132] [version=78] [2025/04/04 12:45:58.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=78] ["take time"=8.90765ms] [job="ID:132, Type:drop table, State:done, SchemaState:none, SchemaID:116, TableID:130, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:58.494 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:58.664 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=132] [tableIDs="[130]"] [comment="drop table: table ID"] [2025/04/04 12:45:58.668 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=132] [jobType="drop table"] [2025/04/04 12:45:58.669 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=132] [conn=2] [job="ID:132, Type:drop table, State:synced, SchemaState:none, SchemaID:116, TableID:130, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:58.494 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:58.687 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=132] [2025/04/04 12:45:58.688 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=78] [cur_db=import_into] [sql="drop table if exists t;"] [user=] [2025/04/04 12:45:58.703 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:134, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:58.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:45:58.703 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:134, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:58.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint primary key, b varchar(100), c int, key(b, a));"] [2025/04/04 12:45:58.709 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=134] [conn=2] [job="ID:134, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:133, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:58.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:58.714 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 133, Table Name: t)"] [2025/04/04 12:45:58.731 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=78] [neededSchemaVersion=79] ["elapsed time"=2.042481ms] [gotSchemaVersion=79] [phyTblIDs="[133]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:45:58.735 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=134] [version=79] [2025/04/04 12:45:58.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=79] ["take time"=9.329678ms] [job="ID:134, Type:create table, State:done, SchemaState:public, SchemaID:116, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-04 12:45:58.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:58.748 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=134] [conn=2] [job="ID:134, Type:create table, State:synced, SchemaState:public, SchemaID:116, TableID:133, RowCount:0, ArgLen:0, start time: 2025-04-04 12:45:58.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:45:58.760 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=134] [2025/04/04 12:45:58.760 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=79] [cur_db=import_into] [sql="create table t (a bigint primary key, b varchar(100), c int, key(b, a));"] [user=] [2025/04/04 12:45:58.767 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:58.819 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/04 12:45:58.843 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=4] [task-id=4] [data-size=63B] [thread-cnt=1] [global-sort=false] [2025/04/04 12:45:58.859 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=4] [2025/04/04 12:45:58.859 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/04 12:45:58.961 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 12:45:58.963 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:45:58.964 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=4] [curr-step=init] [next-step=import] [2025/04/04 12:45:58.972 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:58.976 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 12:45:58.976 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=63] [2025/04/04 12:45:58.976 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=63] [cost=77.777µs] [2025/04/04 12:45:58.976 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=173.979µs] [] [2025/04/04 12:45:58.976 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=4] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 12:45:58.976 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/04 12:45:59.012 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=4] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 12:45:59.033 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=4] [step=import] [2025/04/04 12:45:59.033 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:45:59.041 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:45:59.041 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 12:45:59.042 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:45:59.042 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:45:59.042 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:45:59.042 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:45:59.042 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:45:59.042 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:45:59.043 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:45:59.043 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:45:59.059 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:45:59.061 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 12:45:59.061 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 12:45:59.061 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=4] [step=import] [data-buf-limit=236.3MiB] [per-index-buf-limit=78.77MiB] [index-buf-block-size=16MiB] [2025/04/04 12:45:59.061 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/04 12:45:59.061 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=4] [disk-quota=348.5GiB] [2025/04/04 12:45:59.068 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=4] [mode=Import] [2025/04/04 12:45:59.069 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [subtaskID=6] [step=import] [2025/04/04 12:45:59.069 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=4] [step=import] [subtask-id=6] [2025/04/04 12:45:59.075 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 12:45:59.079 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 12:45:59.079 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=133] [2025/04/04 12:45:59.089 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=4] [2025/04/04 12:45:59.265 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=133] [key=db.tbl.001.csv:0] [2025/04/04 12:45:59.267 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=133] [key=db.tbl.001.csv:0] [readDur=1.105377ms] [encodeDur=175.153µs] [checksum="{cksum=14407722893173523601,size=206,kvs=4}"] [deliverDur=526.935µs] [type=file] [takeTime=2.219804ms] [] [2025/04/04 12:45:59.269 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=133] [2025/04/04 12:45:59.269 +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/5f80e491-5c85-4fd1-a1e1-f2f72a485eab.sst] [firstKey=7480000000000000855F728000000000000001] [lastKey=7480000000000000855F728000000000000002] [2025/04/04 12:45:59.347 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=133] [key=db.tbl.002.csv:0] [2025/04/04 12:45:59.349 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=133] [key=db.tbl.002.csv:0] [readDur=990.474µs] [encodeDur=709.114µs] [checksum="{cksum=15782324127249246501,size=206,kvs=4}"] [deliverDur=37.396µs] [type=file] [takeTime=2.017393ms] [] [2025/04/04 12:45:59.350 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=133] [2025/04/04 12:45:59.350 +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/79c0fbbf-b082-4cd0-b43f-d51ca667f3c4.sst] [firstKey=7480000000000000855F728000000000000003] [lastKey=7480000000000000855F728000000000000004] [2025/04/04 12:45:59.406 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=133] [key=db.tbl.003.csv:0] [2025/04/04 12:45:59.407 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=133] [key=db.tbl.003.csv:0] [readDur=997.851µs] [encodeDur=170.127µs] [checksum="{cksum=12669308623598711748,size=206,kvs=4}"] [deliverDur=33.245µs] [type=file] [takeTime=1.450492ms] [] [2025/04/04 12:45:59.409 +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/07f24ecb-da60-4568-a6b1-ac508687c442.sst] [firstKey=7480000000000000855F728000000000000005] [lastKey=7480000000000000855F728000000000000006] [2025/04/04 12:45:59.409 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=4] [step=import] [engine-id=0] [2025/04/04 12:45:59.409 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=4] [step=import] [engine-id=0] [2025/04/04 12:45:59.409 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 12:45:59.411 +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.465559ms] [] [2025/04/04 12:45:59.412 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [2025/04/04 12:45:59.416 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:45:59.438 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] ["region ranges"=1] [count=6] [size=222] [2025/04/04 12:45:59.438 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:45:59.440 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000855f728000000000000001] [endOfAllRanges=7480000000000000855f728000000000000007] [startKeyOfFirstRegion=7480000000000000ff855f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff855f728000000000ff0000070000000000fa] [2025/04/04 12:45:59.451 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [size=222] [kvs=6] [importedSize=222] [importedCount=6] [2025/04/04 12:45:59.453 +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.644179ms] [] [2025/04/04 12:45:59.453 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 12:45:59.455 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.21797ms] [] [2025/04/04 12:45:59.455 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=4] [step=import] [engine-id=0] [2025/04/04 12:45:59.455 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 12:45:59.456 +00:00] [INFO] [engine.go:1695] ["compact sst"] [category=ddl-ingest] [fileCount=3] [size=396] [count=6] [cost=1.313241ms] [file=/tmp/tidb/import-4000/4/2d9462f7-8d8a-52db-8655-8d0214d0d974.sst/502f1e1e-5db8-4554-85cc-b7d01bfee977.sst] [2025/04/04 12:45:59.456 +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/502f1e1e-5db8-4554-85cc-b7d01bfee977.sst] [firstKey=7480000000000000855F698000000000000001017465737431000000FC038000000000000001038000000000000001] [lastKey=7480000000000000855F698000000000000001017465737436000000FC038000000000000006038000000000000006] [2025/04/04 12:45:59.458 +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.606148ms] [] [2025/04/04 12:45:59.458 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [2025/04/04 12:45:59.462 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:45:59.484 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=2d9462f7-8d8a-52db-8655-8d0214d0d974] ["region ranges"=1] [count=6] [size=396] [2025/04/04 12:45:59.484 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:45:59.486 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000855f698000000000000001017465737431000000fc038000000000000001038000000000000001] [endOfAllRanges=7480000000000000855f698000000000000001017465737436000000fc03800000000000000603800000000000000600] [startKeyOfFirstRegion=7480000000000000ff855f698000000000ff0000010174657374ff31000000fc038000ff0000000000010380ff0000000000000100fe] [endKeyOfLastRegion=7480000000000000ff855f698000000000ff0000010174657374ff36000000fc038000ff0000000000060380ff0000000000000600ff0000000000000000f7] [2025/04/04 12:45:59.497 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=2d9462f7-8d8a-52db-8655-8d0214d0d974] [size=396] [kvs=6] [importedSize=396] [importedCount=6] [2025/04/04 12:45:59.498 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [takeTime=39.690238ms] [] [2025/04/04 12:45:59.498 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 12:45:59.499 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=1.13146ms] [] [2025/04/04 12:45:59.500 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=4] [step=import] [subtask-id=6] [takeTime=430.137209ms] [] [2025/04/04 12:45:59.501 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [subtaskID=6] [step=import] [takeTime=431.438741ms] [] [2025/04/04 12:45:59.567 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 12:45:59.568 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:45:59.570 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=4] [curr-step=import] [next-step=post-process] [2025/04/04 12:45:59.570 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=4] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 12:45:59.600 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=4] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":6}"] [2025/04/04 12:45:59.602 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=4] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 12:45:59.602 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/04 12:45:59.637 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 12:45:59.643 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=4] [step=import] [2025/04/04 12:45:59.648 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:45:59.648 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:45:59.648 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:45:59.648 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:45:59.648 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:45:59.648 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:45:59.648 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:45:59.648 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:59.648 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:59.648 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:59.648 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:45:59.648 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-5] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:45:59.650 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:45:59.650 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:45:59.651 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:45:59.651 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:45:59.651 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=589.296417ms] [] [2025/04/04 12:45:59.652 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/04 12:45:59.660 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [subtaskID=7] [step=post-process] [2025/04/04 12:45:59.660 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=7] [2025/04/04 12:45:59.660 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=7] [2025/04/04 12:45:59.660 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=7] [2025/04/04 12:45:59.660 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=7] [takeTime=2.321µs] [] [2025/04/04 12:45:59.660 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=7] [groupId=-1] [size=222] [kvs=6] [checksum=2003671119719883688] [2025/04/04 12:45:59.660 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=7] [groupId=1] [size=396] [kvs=6] [checksum=12171121870781005272] [2025/04/04 12:45:59.660 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=7] [checksum="{cksum=12909280944061374064,size=618,kvs=12}"] [2025/04/04 12:45:59.660 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=7] [weight=30] [2025/04/04 12:45:59.660 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=7] [concurrency=15] [2025/04/04 12:45:59.666 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=133] [physicalTableID=133] [indexID=-1] [checksum=2003671119719883688] [totalKvs=6] [totalBytes=222] [2025/04/04 12:45:59.667 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=133] [physicalTableID=133] [indexID=1] [checksum=12171121870781005272] [totalKvs=6] [totalBytes=396] [2025/04/04 12:45:59.668 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 12:45:59.668 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=7] [local="{cksum=12909280944061374064,size=618,kvs=12}"] [2025/04/04 12:45:59.668 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=7] [takeTime=7.934788ms] [] [2025/04/04 12:45:59.668 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=7] [takeTime=8.09222ms] [] [2025/04/04 12:45:59.668 +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.230546ms] [] [2025/04/04 12:45:59.676 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 12:45:59.766 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 12:45:59.766 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=4] [step=post-process] [state=running] [] [2025/04/04 12:45:59.769 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=4] [2025/04/04 12:45:59.788 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=135.600385ms] [] [2025/04/04 12:45:59.788 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=4] [type=ImportInto] [2025/04/04 12:45:59.862 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=4] [2025/04/04 12:45:59.868 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 12:45:59.868 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=4] [2025/04/04 12:45:59.890 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 12:46:00.060 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 1.2993320449999999\n# Parse_time: 0.000084711\n# Compile_time: 0.000506503\n# Rewrite_time: 0.00009815\n# Optimize_time: 0.000270478\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('R/BGMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjEuM3MsIG9wZW46NjU4bnMsIGNsb3NlOjEuMDHCtXMsIGxvb3BzOjIJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('YvBPCl4KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi10aW1lOjEuM3MsIG9wZW46NjU4bnMsIGNsb3NlOjEuMDHCtXMsIGxvb3BzOjJw//////8BAzQBeP///////////wEYAQ==')\n# Resource_group: default\nIMPORT INTO `import_into`.`t` FROM 'gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1;"] [2025/04/04 12:46:00.075 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:135, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:00.044 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:00.075 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:135, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:00.044 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/04 12:46:00.081 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=135] [conn=2] [job="ID:135, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:133, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:00.044 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:00.098 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=79] [neededSchemaVersion=80] ["elapsed time"=2.651571ms] [gotSchemaVersion=80] [phyTblIDs="[133]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:00.102 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=135] [version=80] [2025/04/04 12:46:00.103 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=80] ["take time"=9.69963ms] [job="ID:135, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:00.044 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:00.113 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=135] [conn=2] [job="ID:135, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:133, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:00.044 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:00.129 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=80] [neededSchemaVersion=81] ["elapsed time"=2.611393ms] [gotSchemaVersion=81] [phyTblIDs="[133]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:00.133 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=135] [version=81] [2025/04/04 12:46:00.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=81] ["take time"=9.938948ms] [job="ID:135, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:00.044 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:00.146 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=135] [conn=2] [job="ID:135, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:133, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:00.044 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:00.153 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 133, Old Table Name: t)"] [2025/04/04 12:46:00.167 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=81] [neededSchemaVersion=82] ["elapsed time"=1.150008ms] [gotSchemaVersion=82] [phyTblIDs="[133]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:00.171 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=135] [version=82] [2025/04/04 12:46:00.172 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=82] ["take time"=8.276663ms] [job="ID:135, Type:drop table, State:done, SchemaState:none, SchemaID:116, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:00.044 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:00.182 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=135] [tableIDs="[133]"] [comment="drop table: table ID"] [2025/04/04 12:46:00.186 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=135] [jobType="drop table"] [2025/04/04 12:46:00.187 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=135] [conn=2] [job="ID:135, Type:drop table, State:synced, SchemaState:none, SchemaID:116, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:00.044 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:00.206 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=135] [2025/04/04 12:46:00.206 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=82] [cur_db=import_into] [sql="drop table if exists t;"] [user=] [2025/04/04 12:46:00.220 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:137, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:136, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:00.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint auto_increment primary key, b varchar(100), c int);"] [2025/04/04 12:46:00.220 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:137, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:136, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:00.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:00.225 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=137] [conn=2] [job="ID:137, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:136, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:00.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:00.230 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 136, Table Name: t)"] [2025/04/04 12:46:00.246 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=82] [neededSchemaVersion=83] ["elapsed time"=1.870825ms] [gotSchemaVersion=83] [phyTblIDs="[136]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:46:00.249 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=137] [version=83] [2025/04/04 12:46:00.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=83] ["take time"=8.804815ms] [job="ID:137, Type:create table, State:done, SchemaState:public, SchemaID:116, TableID:136, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:00.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:00.262 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=137] [conn=2] [job="ID:137, Type:create table, State:synced, SchemaState:public, SchemaID:116, TableID:136, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:00.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:00.274 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=137] [2025/04/04 12:46:00.274 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=83] [cur_db=import_into] [sql="create table t (a bigint auto_increment primary key, b varchar(100), c int);"] [user=] [2025/04/04 12:46:00.280 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:00.331 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/04 12:46:00.351 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=5] [task-id=5] [data-size=63B] [thread-cnt=1] [global-sort=false] [2025/04/04 12:46:00.365 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=5] [2025/04/04 12:46:00.365 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/04 12:46:00.467 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 12:46:00.469 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:46:00.470 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=5] [curr-step=init] [next-step=import] [2025/04/04 12:46:00.478 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:00.481 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 12:46:00.481 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=63] [2025/04/04 12:46:00.481 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=63] [cost=73.656µs] [2025/04/04 12:46:00.481 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=178.224µs] [] [2025/04/04 12:46:00.481 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=5] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 12:46:00.481 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/04 12:46:00.513 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=5] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 12:46:00.532 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=5] [step=import] [2025/04/04 12:46:00.532 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:00.541 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:46:00.541 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 12:46:00.542 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:46:00.542 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:46:00.542 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:46:00.542 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:46:00.542 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:46:00.542 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:46:00.542 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:46:00.543 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:46:00.555 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:46:00.557 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 12:46:00.557 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 12:46:00.557 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=5] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 12:46:00.557 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/04 12:46:00.557 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=5] [disk-quota=348.5GiB] [2025/04/04 12:46:00.565 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=8] [step=import] [2025/04/04 12:46:00.565 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=5] [step=import] [subtask-id=8] [2025/04/04 12:46:00.569 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 12:46:00.572 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 12:46:00.573 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=136] [2025/04/04 12:46:00.574 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=5] [mode=Import] [2025/04/04 12:46:00.592 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=5] [2025/04/04 12:46:00.606 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=136] [key=db.tbl.001.csv:0] [2025/04/04 12:46:00.607 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=136] [key=db.tbl.001.csv:0] [readDur=1.011851ms] [encodeDur=188.749µs] [checksum="{cksum=7519321974396982192,size=74,kvs=2}"] [deliverDur=28.217µs] [type=file] [takeTime=1.590204ms] [] [2025/04/04 12:46:00.608 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=136] [2025/04/04 12:46:00.608 +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/f7be7824-0ffa-4969-8e57-534cd51e7f0e.sst] [firstKey=7480000000000000885F728000000000000001] [lastKey=7480000000000000885F728000000000000002] [2025/04/04 12:46:00.658 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=136] [key=db.tbl.002.csv:0] [2025/04/04 12:46:00.660 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=136] [key=db.tbl.002.csv:0] [readDur=968.757µs] [encodeDur=107.857µs] [checksum="{cksum=8353780349895382269,size=74,kvs=2}"] [deliverDur=25.908µs] [type=file] [takeTime=1.376847ms] [] [2025/04/04 12:46:00.660 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=136] [2025/04/04 12:46:00.660 +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/d53373e3-b3a9-4d3d-a829-ec3c54883c56.sst] [firstKey=7480000000000000885F728000000000000003] [lastKey=7480000000000000885F728000000000000004] [2025/04/04 12:46:00.734 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=136] [key=db.tbl.003.csv:0] [2025/04/04 12:46:00.736 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=136] [key=db.tbl.003.csv:0] [readDur=979.986µs] [encodeDur=216.065µs] [checksum="{cksum=34078042553017573,size=74,kvs=2}"] [deliverDur=25.116µs] [type=file] [takeTime=1.451285ms] [] [2025/04/04 12:46:00.737 +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/bf806e36-0428-4b1c-9477-f75213c0fb31.sst] [firstKey=7480000000000000885F728000000000000005] [lastKey=7480000000000000885F728000000000000006] [2025/04/04 12:46:00.737 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=5] [step=import] [engine-id=0] [2025/04/04 12:46:00.737 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=5] [step=import] [engine-id=0] [2025/04/04 12:46:00.737 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 12:46:00.739 +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.039125ms] [] [2025/04/04 12:46:00.739 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [2025/04/04 12:46:00.744 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:46:00.766 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] ["region ranges"=1] [count=6] [size=222] [2025/04/04 12:46:00.766 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:46:00.768 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000885f728000000000000001] [endOfAllRanges=7480000000000000885f728000000000000007] [startKeyOfFirstRegion=7480000000000000ff885f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff885f728000000000ff0000070000000000fa] [2025/04/04 12:46:00.780 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [size=222] [kvs=6] [importedSize=222] [importedCount=6] [2025/04/04 12:46:00.782 +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.365789ms] [] [2025/04/04 12:46:00.782 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 12:46:00.783 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.216082ms] [] [2025/04/04 12:46:00.783 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=5] [step=import] [engine-id=0] [2025/04/04 12:46:00.783 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 12:46:00.785 +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.552587ms] [] [2025/04/04 12:46:00.785 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [2025/04/04 12:46:00.788 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 12:46:00.788 +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.609022ms] [] [2025/04/04 12:46:00.788 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 12:46:00.789 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=835.28µs] [] [2025/04/04 12:46:00.789 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=5] [step=import] [subtask-id=8] [takeTime=224.551539ms] [] [2025/04/04 12:46:00.790 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=8] [step=import] [takeTime=224.696916ms] [] [2025/04/04 12:46:00.872 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 12:46:00.873 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:46:00.874 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=5] [curr-step=import] [next-step=post-process] [2025/04/04 12:46:00.874 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=5] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 12:46:00.903 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=5] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":6}"] [2025/04/04 12:46:00.904 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=5] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 12:46:00.904 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/04 12:46:00.927 +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/04 12:46:00.934 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=5] [step=import] [2025/04/04 12:46:00.937 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:46:00.937 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:46:00.937 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:46:00.937 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:46:00.937 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:46:00.937 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:46:00.937 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:46:00.937 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:00.937 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:00.937 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-6] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:46:00.937 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:00.937 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:46:00.940 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:46:00.940 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:00.940 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:00.940 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:00.940 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=382.721624ms] [] [2025/04/04 12:46:00.941 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/04 12:46:00.949 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=9] [step=post-process] [2025/04/04 12:46:00.949 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=9] [2025/04/04 12:46:00.949 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=9] [2025/04/04 12:46:00.949 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=9] [2025/04/04 12:46:00.955 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=9] [takeTime=5.50117ms] [] [2025/04/04 12:46:00.955 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=9] [groupId=-1] [size=222] [kvs=6] [checksum=2003671119719883688] [2025/04/04 12:46:00.955 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=9] [checksum="{cksum=2003671119719883688,size=222,kvs=6}"] [2025/04/04 12:46:00.955 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=9] [weight=30] [2025/04/04 12:46:00.955 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=9] [concurrency=15] [2025/04/04 12:46:00.957 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=136] [physicalTableID=136] [indexID=-1] [checksum=2003671119719883688] [totalKvs=6] [totalBytes=222] [2025/04/04 12:46:00.957 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 12:46:00.957 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=9] [local="{cksum=2003671119719883688,size=222,kvs=6}"] [2025/04/04 12:46:00.957 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=9] [takeTime=8.33295ms] [] [2025/04/04 12:46:00.957 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=9] [takeTime=8.475358ms] [] [2025/04/04 12:46:00.957 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=9] [step=post-process] [takeTime=8.639047ms] [] [2025/04/04 12:46:00.964 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 12:46:00.973 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 12:46:00.973 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=5] [step=post-process] [state=running] [] [2025/04/04 12:46:00.975 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=5] [2025/04/04 12:46:01.004 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=62.386124ms] [] [2025/04/04 12:46:01.004 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=5] [type=ImportInto] [2025/04/04 12:46:01.067 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=5] [2025/04/04 12:46:01.073 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 12:46:01.073 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=5] [2025/04/04 12:46:01.095 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 12:46:01.268 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.993961652\n# Parse_time: 0.000103906\n# Compile_time: 0.000466665\n# Rewrite_time: 0.000096803\n# Optimize_time: 0.000356827\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5My4xbXMsIG9wZW46NjY2bnMsIGNsb3NlOjgyMm5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk5My4xbXMsIG9wZW46NjY2bnMsIGNsb3NlOjgyMm5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\nIMPORT INTO `import_into`.`t` FROM 'gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1;"] [2025/04/04 12:46:01.284 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:138, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:136, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:01.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:01.284 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:138, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:136, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:01.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/04 12:46:01.290 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=138] [conn=2] [job="ID:138, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:136, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:01.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:01.307 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=83] [neededSchemaVersion=84] ["elapsed time"=2.427638ms] [gotSchemaVersion=84] [phyTblIDs="[136]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:01.311 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=138] [version=84] [2025/04/04 12:46:01.313 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=84] ["take time"=9.954469ms] [job="ID:138, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:136, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:01.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:01.323 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=138] [conn=2] [job="ID:138, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:136, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:01.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:01.339 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=84] [neededSchemaVersion=85] ["elapsed time"=2.368985ms] [gotSchemaVersion=85] [phyTblIDs="[136]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:01.343 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=138] [version=85] [2025/04/04 12:46:01.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=85] ["take time"=10.050855ms] [job="ID:138, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:136, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:01.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:01.354 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=138] [conn=2] [job="ID:138, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:136, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:01.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:01.361 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 136, Old Table Name: t)"] [2025/04/04 12:46:01.375 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=85] [neededSchemaVersion=86] ["elapsed time"=1.272911ms] [gotSchemaVersion=86] [phyTblIDs="[136]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:01.379 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=138] [version=86] [2025/04/04 12:46:01.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=86] ["take time"=8.575508ms] [job="ID:138, Type:drop table, State:done, SchemaState:none, SchemaID:116, TableID:136, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:01.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:01.390 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=138] [tableIDs="[136]"] [comment="drop table: table ID"] [2025/04/04 12:46:01.395 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=138] [jobType="drop table"] [2025/04/04 12:46:01.396 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=138] [conn=2] [job="ID:138, Type:drop table, State:synced, SchemaState:none, SchemaID:116, TableID:136, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:01.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:01.415 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=138] [2025/04/04 12:46:01.415 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=86] [cur_db=import_into] [sql="drop table if exists t;"] [user=] [2025/04/04 12:46:01.430 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:140, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:139, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:01.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:01.430 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:140, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:139, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:01.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint auto_random primary key, b varchar(100), c int);"] [2025/04/04 12:46:01.436 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=140] [conn=2] [job="ID:140, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:139, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:01.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:01.441 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 139, Table Name: t)"] [2025/04/04 12:46:01.457 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=86] [neededSchemaVersion=87] ["elapsed time"=1.889798ms] [gotSchemaVersion=87] [phyTblIDs="[139]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:46:01.460 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=140] [version=87] [2025/04/04 12:46:01.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=87] ["take time"=9.133568ms] [job="ID:140, Type:create table, State:done, SchemaState:public, SchemaID:116, TableID:139, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:01.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:01.475 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=140] [conn=2] [job="ID:140, Type:create table, State:synced, SchemaState:public, SchemaID:116, TableID:139, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:01.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:01.488 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=140] [2025/04/04 12:46:01.488 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=87] [cur_db=import_into] [sql="create table t (a bigint auto_random primary key, b varchar(100), c int);"] [user=] [2025/04/04 12:46:01.494 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:01.546 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/04 12:46:01.564 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=6] [task-id=6] [data-size=63B] [thread-cnt=1] [global-sort=false] [2025/04/04 12:46:01.578 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=6] [2025/04/04 12:46:01.579 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/04 12:46:01.682 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 12:46:01.683 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:46:01.684 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=6] [curr-step=init] [next-step=import] [2025/04/04 12:46:01.691 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:01.694 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 12:46:01.694 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=63] [2025/04/04 12:46:01.694 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=63] [cost=92.106µs] [2025/04/04 12:46:01.694 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=189.916µs] [] [2025/04/04 12:46:01.695 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=6] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 12:46:01.695 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/04 12:46:01.732 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=6] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 12:46:01.752 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=6] [step=import] [2025/04/04 12:46:01.752 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:01.763 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:46:01.763 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 12:46:01.764 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:46:01.764 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:46:01.764 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:46:01.764 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:46:01.764 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:46:01.764 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:46:01.765 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:46:01.765 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:46:01.778 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:46:01.780 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 12:46:01.780 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 12:46:01.780 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=6] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 12:46:01.780 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/04 12:46:01.780 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=6] [disk-quota=348.5GiB] [2025/04/04 12:46:01.788 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [subtaskID=10] [step=import] [2025/04/04 12:46:01.788 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=6] [step=import] [subtask-id=10] [2025/04/04 12:46:01.792 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=6] [mode=Import] [2025/04/04 12:46:01.792 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 12:46:01.796 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 12:46:01.796 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=139] [2025/04/04 12:46:01.810 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=6] [2025/04/04 12:46:01.831 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=139] [key=db.tbl.001.csv:0] [2025/04/04 12:46:01.833 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=139] [key=db.tbl.001.csv:0] [readDur=1.027621ms] [encodeDur=316.55µs] [checksum="{cksum=7519321974396982192,size=74,kvs=2}"] [deliverDur=463.811µs] [type=file] [takeTime=2.096547ms] [] [2025/04/04 12:46:01.834 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=139] [2025/04/04 12:46:01.834 +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/b5f57344-6bcc-436b-b6d1-38565d8c281c.sst] [firstKey=74800000000000008B5F728000000000000001] [lastKey=74800000000000008B5F728000000000000002] [2025/04/04 12:46:01.867 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=139] [key=db.tbl.002.csv:0] [2025/04/04 12:46:01.869 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=139] [key=db.tbl.002.csv:0] [readDur=1.050579ms] [encodeDur=122.969µs] [checksum="{cksum=8353780349895382269,size=74,kvs=2}"] [deliverDur=25.569µs] [type=file] [takeTime=1.41797ms] [] [2025/04/04 12:46:01.869 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=139] [2025/04/04 12:46:01.869 +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/5f66da86-23b8-44ec-a65a-b9e047c31f61.sst] [firstKey=74800000000000008B5F728000000000000003] [lastKey=74800000000000008B5F728000000000000004] [2025/04/04 12:46:01.905 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=139] [key=db.tbl.003.csv:0] [2025/04/04 12:46:01.906 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=139] [key=db.tbl.003.csv:0] [readDur=894.164µs] [encodeDur=119.27µs] [checksum="{cksum=34078042553017573,size=74,kvs=2}"] [deliverDur=26.561µs] [type=file] [takeTime=1.248535ms] [] [2025/04/04 12:46:01.907 +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/6c18d61c-ce28-497e-9e12-56a7b9591a62.sst] [firstKey=74800000000000008B5F728000000000000005] [lastKey=74800000000000008B5F728000000000000006] [2025/04/04 12:46:01.907 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=6] [step=import] [engine-id=0] [2025/04/04 12:46:01.907 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=6] [step=import] [engine-id=0] [2025/04/04 12:46:01.907 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 12:46:01.909 +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.957247ms] [] [2025/04/04 12:46:01.909 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [2025/04/04 12:46:01.914 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:46:01.936 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] ["region ranges"=1] [count=6] [size=222] [2025/04/04 12:46:01.936 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:46:01.938 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000008b5f728000000000000001] [endOfAllRanges=74800000000000008b5f728000000000000007] [startKeyOfFirstRegion=7480000000000000ff8b5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff8b5f728000000000ff0000070000000000fa] [2025/04/04 12:46:01.949 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [size=222] [kvs=6] [importedSize=222] [importedCount=6] [2025/04/04 12:46:01.951 +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.606731ms] [] [2025/04/04 12:46:01.951 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 12:46:01.952 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.16402ms] [] [2025/04/04 12:46:01.952 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=6] [step=import] [engine-id=0] [2025/04/04 12:46:01.952 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 12:46:01.954 +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.452172ms] [] [2025/04/04 12:46:01.954 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [2025/04/04 12:46:01.957 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 12:46:01.957 +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.550638ms] [] [2025/04/04 12:46:01.958 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 12:46:01.959 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=941.238µs] [] [2025/04/04 12:46:01.959 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=6] [step=import] [subtask-id=10] [takeTime=170.694613ms] [] [2025/04/04 12:46:01.959 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [subtaskID=10] [step=import] [takeTime=171.445632ms] [] [2025/04/04 12:46:01.985 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 12:46:01.987 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:46:01.988 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=6] [curr-step=import] [next-step=post-process] [2025/04/04 12:46:01.988 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=6] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 12:46:02.017 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=6] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":6}"] [2025/04/04 12:46:02.018 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=6] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 12:46:02.018 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/04 12:46:02.051 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 12:46:02.058 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=6] [step=import] [2025/04/04 12:46:02.062 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:46:02.062 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:46:02.062 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:46:02.062 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:46:02.062 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:46:02.062 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:46:02.062 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:46:02.062 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:02.062 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:02.062 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-7] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:46:02.062 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:02.062 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:46:02.065 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:46:02.066 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:02.066 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:02.066 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:02.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=285.66856ms] [] [2025/04/04 12:46:02.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/04 12:46:02.075 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [subtaskID=11] [step=post-process] [2025/04/04 12:46:02.075 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=11] [2025/04/04 12:46:02.075 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=11] [2025/04/04 12:46:02.075 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=11] [2025/04/04 12:46:02.082 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=11] [takeTime=6.439968ms] [] [2025/04/04 12:46:02.082 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=11] [groupId=-1] [size=222] [kvs=6] [checksum=2003671119719883688] [2025/04/04 12:46:02.082 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=11] [checksum="{cksum=2003671119719883688,size=222,kvs=6}"] [2025/04/04 12:46:02.082 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=11] [weight=30] [2025/04/04 12:46:02.082 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=11] [concurrency=15] [2025/04/04 12:46:02.084 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=139] [physicalTableID=139] [indexID=-1] [checksum=2003671119719883688] [totalKvs=6] [totalBytes=222] [2025/04/04 12:46:02.084 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 12:46:02.085 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=11] [local="{cksum=2003671119719883688,size=222,kvs=6}"] [2025/04/04 12:46:02.085 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=11] [takeTime=9.236587ms] [] [2025/04/04 12:46:02.085 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=11] [takeTime=9.373979ms] [] [2025/04/04 12:46:02.085 +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=9.508974ms] [] [2025/04/04 12:46:02.089 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 12:46:02.186 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 12:46:02.187 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=6] [step=post-process] [state=running] [] [2025/04/04 12:46:02.189 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=6] [2025/04/04 12:46:02.208 +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=141.062556ms] [] [2025/04/04 12:46:02.208 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=6] [type=ImportInto] [2025/04/04 12:46:02.281 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=6] [2025/04/04 12:46:02.288 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 12:46:02.288 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=6] [2025/04/04 12:46:02.310 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 12:46:02.481 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.991807968\n# Parse_time: 0.000091363\n# Compile_time: 0.000475672\n# Rewrite_time: 0.000097098\n# Optimize_time: 0.000349978\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5MW1zLCBvcGVuOjY0NG5zLCBjbG9zZToxLjE0wrVzLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk5MW1zLCBvcGVuOjY0NG5zLCBjbG9zZToxLjE0wrVzLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\nIMPORT INTO `import_into`.`t` FROM 'gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1;"] [2025/04/04 12:46:02.495 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:141, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:139, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:02.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/04 12:46:02.495 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:141, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:139, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:02.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:02.500 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=141] [conn=2] [job="ID:141, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:139, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:02.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:02.517 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=87] [neededSchemaVersion=88] ["elapsed time"=2.71899ms] [gotSchemaVersion=88] [phyTblIDs="[139]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:02.521 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=141] [version=88] [2025/04/04 12:46:02.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=88] ["take time"=10.394743ms] [job="ID:141, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:139, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:02.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:02.533 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=141] [conn=2] [job="ID:141, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:139, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:02.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:02.550 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=88] [neededSchemaVersion=89] ["elapsed time"=2.445293ms] [gotSchemaVersion=89] [phyTblIDs="[139]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:02.554 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=141] [version=89] [2025/04/04 12:46:02.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=89] ["take time"=10.260618ms] [job="ID:141, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:139, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:02.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:02.565 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=141] [conn=2] [job="ID:141, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:139, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:02.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:02.572 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 139, Old Table Name: t)"] [2025/04/04 12:46:02.585 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=89] [neededSchemaVersion=90] ["elapsed time"=1.144663ms] [gotSchemaVersion=90] [phyTblIDs="[139]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:02.589 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=141] [version=90] [2025/04/04 12:46:02.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=90] ["take time"=8.184394ms] [job="ID:141, Type:drop table, State:done, SchemaState:none, SchemaID:116, TableID:139, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:02.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:02.600 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=141] [tableIDs="[139]"] [comment="drop table: table ID"] [2025/04/04 12:46:02.605 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=141] [jobType="drop table"] [2025/04/04 12:46:02.605 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=141] [conn=2] [job="ID:141, Type:drop table, State:synced, SchemaState:none, SchemaID:116, TableID:139, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:02.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:02.622 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=141] [2025/04/04 12:46:02.623 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=90] [cur_db=import_into] [sql="drop table if exists t;"] [user=] [2025/04/04 12:46:02.635 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:143, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:142, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:02.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100), c int, primary key(b,c));"] [2025/04/04 12:46:02.635 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:143, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:142, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:02.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:02.641 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=143] [conn=2] [job="ID:143, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:142, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:02.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:02.645 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 142, Table Name: t)"] [2025/04/04 12:46:02.661 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=90] [neededSchemaVersion=91] ["elapsed time"=1.98482ms] [gotSchemaVersion=91] [phyTblIDs="[142]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:46:02.665 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=143] [version=91] [2025/04/04 12:46:02.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=91] ["take time"=8.807211ms] [job="ID:143, Type:create table, State:done, SchemaState:public, SchemaID:116, TableID:142, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:02.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:02.677 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=143] [conn=2] [job="ID:143, Type:create table, State:synced, SchemaState:public, SchemaID:116, TableID:142, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:02.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:02.689 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=143] [2025/04/04 12:46:02.690 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=91] [cur_db=import_into] [sql="create table t (a bigint, b varchar(100), c int, primary key(b,c));"] [user=] [2025/04/04 12:46:02.696 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:02.742 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/04 12:46:02.762 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=7] [task-id=7] [data-size=63B] [thread-cnt=1] [global-sort=false] [2025/04/04 12:46:02.777 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=7] [2025/04/04 12:46:02.777 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/04 12:46:02.879 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 12:46:02.880 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:46:02.882 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=7] [curr-step=init] [next-step=import] [2025/04/04 12:46:02.891 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:02.894 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 12:46:02.894 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=63] [2025/04/04 12:46:02.894 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=63] [cost=97.973µs] [2025/04/04 12:46:02.894 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=204.736µs] [] [2025/04/04 12:46:02.894 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=7] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 12:46:02.894 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/04 12:46:02.932 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=7] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 12:46:02.952 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=7] [step=import] [2025/04/04 12:46:02.953 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:02.961 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:46:02.961 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 12:46:02.961 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:46:02.961 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:46:02.962 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:46:02.962 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:46:02.962 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:46:02.962 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:46:02.962 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:46:02.962 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:46:02.974 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:46:02.976 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 12:46:02.976 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 12:46:02.976 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=7] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 12:46:02.976 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=7] [disk-quota=348.5GiB] [2025/04/04 12:46:02.976 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/04 12:46:02.984 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [subtaskID=12] [step=import] [2025/04/04 12:46:02.984 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=7] [step=import] [subtask-id=12] [2025/04/04 12:46:02.987 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=7] [mode=Import] [2025/04/04 12:46:02.988 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 12:46:02.991 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 12:46:02.991 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=142] [2025/04/04 12:46:03.009 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=7] [2025/04/04 12:46:03.024 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=142] [key=db.tbl.001.csv:0] [2025/04/04 12:46:03.025 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=142] [key=db.tbl.001.csv:0] [readDur=898.29µs] [encodeDur=131.08µs] [checksum="{cksum=6438872994288898047,size=96,kvs=2}"] [deliverDur=25.278µs] [type=file] [takeTime=1.297508ms] [] [2025/04/04 12:46:03.026 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=142] [2025/04/04 12:46:03.026 +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/989c108e-6943-4c51-9d7c-cf7004a25fd9.sst] [firstKey=74800000000000008E5F72017465737431000000FC03800000000000000B] [lastKey=74800000000000008E5F72017465737432000000FC038000000000000016] [2025/04/04 12:46:03.049 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=142] [key=db.tbl.002.csv:0] [2025/04/04 12:46:03.051 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=142] [key=db.tbl.002.csv:0] [readDur=954.244µs] [encodeDur=193.466µs] [checksum="{cksum=1050029282737908383,size=96,kvs=2}"] [deliverDur=31.605µs] [type=file] [takeTime=1.408789ms] [] [2025/04/04 12:46:03.051 +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/cccc252d-23de-4dce-8228-9622038a9abe.sst] [firstKey=74800000000000008E5F72017465737433000000FC038000000000000021] [lastKey=74800000000000008E5F72017465737434000000FC03800000000000002C] [2025/04/04 12:46:03.051 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=142] [2025/04/04 12:46:03.079 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=142] [key=db.tbl.003.csv:0] [2025/04/04 12:46:03.080 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=142] [key=db.tbl.003.csv:0] [readDur=981.725µs] [encodeDur=129.907µs] [checksum="{cksum=8773259395275999690,size=96,kvs=2}"] [deliverDur=41.394µs] [type=file] [takeTime=1.572924ms] [] [2025/04/04 12:46:03.081 +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/15e9b746-f8d7-498b-a9b3-ce6df99b2a5a.sst] [firstKey=74800000000000008E5F72017465737435000000FC038000000000000037] [lastKey=74800000000000008E5F72017465737436000000FC038000000000000042] [2025/04/04 12:46:03.082 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=7] [step=import] [engine-id=0] [2025/04/04 12:46:03.082 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=7] [step=import] [engine-id=0] [2025/04/04 12:46:03.082 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 12:46:03.084 +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.338469ms] [] [2025/04/04 12:46:03.084 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [2025/04/04 12:46:03.089 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:46:03.111 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] ["region ranges"=1] [count=6] [size=288] [2025/04/04 12:46:03.111 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:46:03.113 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000008e5f72017465737431000000fc03800000000000000b] [endOfAllRanges=74800000000000008e5f72017465737436000000fc03800000000000004200] [startKeyOfFirstRegion=7480000000000000ff8e5f720174657374ff31000000fc038000ff00000000000b0000fd] [endKeyOfLastRegion=7480000000000000ff8e5f720174657374ff36000000fc038000ff0000000000420000fe] [2025/04/04 12:46:03.126 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [size=288] [kvs=6] [importedSize=288] [importedCount=6] [2025/04/04 12:46:03.128 +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.535936ms] [] [2025/04/04 12:46:03.128 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 12:46:03.130 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.852361ms] [] [2025/04/04 12:46:03.130 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=7] [step=import] [engine-id=0] [2025/04/04 12:46:03.130 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 12:46:03.132 +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.840997ms] [] [2025/04/04 12:46:03.132 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [2025/04/04 12:46:03.136 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 12:46:03.136 +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.143367ms] [] [2025/04/04 12:46:03.136 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 12:46:03.137 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=1.355538ms] [] [2025/04/04 12:46:03.138 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=7] [step=import] [subtask-id=12] [takeTime=153.641415ms] [] [2025/04/04 12:46:03.138 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [subtaskID=12] [step=import] [takeTime=153.813786ms] [] [2025/04/04 12:46:03.186 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 12:46:03.187 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:46:03.189 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=7] [curr-step=import] [next-step=post-process] [2025/04/04 12:46:03.189 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=7] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 12:46:03.220 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=7] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":6}"] [2025/04/04 12:46:03.222 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=7] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 12:46:03.222 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/04 12:46:03.243 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 12:46:03.249 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=7] [step=import] [2025/04/04 12:46:03.252 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:46:03.252 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:46:03.252 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:46:03.252 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:46:03.252 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:46:03.253 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:46:03.253 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:46:03.252 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-8] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:46:03.253 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:03.253 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:03.253 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:03.253 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:46:03.256 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:46:03.256 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:03.256 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:03.256 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:03.256 +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=279.345362ms] [] [2025/04/04 12:46:03.257 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/04 12:46:03.265 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [subtaskID=13] [step=post-process] [2025/04/04 12:46:03.265 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=13] [2025/04/04 12:46:03.265 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=13] [2025/04/04 12:46:03.265 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=13] [2025/04/04 12:46:03.265 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=13] [takeTime=2.456µs] [] [2025/04/04 12:46:03.265 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=13] [groupId=-1] [size=288] [kvs=6] [checksum=3317442229611736234] [2025/04/04 12:46:03.265 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=13] [checksum="{cksum=3317442229611736234,size=288,kvs=6}"] [2025/04/04 12:46:03.265 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=13] [weight=30] [2025/04/04 12:46:03.265 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=13] [concurrency=15] [2025/04/04 12:46:03.267 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=142] [physicalTableID=142] [indexID=1] [checksum=0] [totalKvs=0] [totalBytes=0] [2025/04/04 12:46:03.267 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=142] [physicalTableID=142] [indexID=-1] [checksum=3317442229611736234] [totalKvs=6] [totalBytes=288] [2025/04/04 12:46:03.268 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 12:46:03.268 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=13] [local="{cksum=3317442229611736234,size=288,kvs=6}"] [2025/04/04 12:46:03.268 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=13] [takeTime=2.790196ms] [] [2025/04/04 12:46:03.268 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=13] [takeTime=2.947071ms] [] [2025/04/04 12:46:03.268 +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.126846ms] [] [2025/04/04 12:46:03.277 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 12:46:03.284 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 12:46:03.284 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=7] [step=post-process] [state=running] [] [2025/04/04 12:46:03.287 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=7] [2025/04/04 12:46:03.317 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=59.019844ms] [] [2025/04/04 12:46:03.317 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=7] [type=ImportInto] [2025/04/04 12:46:03.379 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=7] [2025/04/04 12:46:03.381 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.691065614\n# Parse_time: 0.000104161\n# Compile_time: 0.000501327\n# Rewrite_time: 0.000102972\n# Optimize_time: 0.000254168\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('SvBJMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY5MC4xbXMsIG9wZW46ODg5bnMsIGNsb3NlOjEuMDbCtXMsIGxvb3BzOjIJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('ZfBSCmEKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWjB0aW1lOjY5MC4xbXMsIG9wZW46ODg5bnMsIGNsb3NlOjEuMDbCtXMsIGxvb3BzOjJw//////8BAzQBeP///////////wEYAQ==')\n# Resource_group: default\nIMPORT INTO `import_into`.`t` FROM 'gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1;"] [2025/04/04 12:46:03.385 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 12:46:03.385 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=7] [2025/04/04 12:46:03.398 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:144, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:142, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:03.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:03.398 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:144, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:142, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:03.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/04 12:46:03.405 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=144] [conn=2] [job="ID:144, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:142, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:03.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:03.409 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 12:46:03.422 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=91] [neededSchemaVersion=92] ["elapsed time"=2.576218ms] [gotSchemaVersion=92] [phyTblIDs="[142]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:03.425 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=144] [version=92] [2025/04/04 12:46:03.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=92] ["take time"=9.713802ms] [job="ID:144, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:142, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:03.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:03.437 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=144] [conn=2] [job="ID:144, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:142, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:03.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:03.455 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=92] [neededSchemaVersion=93] ["elapsed time"=2.698134ms] [gotSchemaVersion=93] [phyTblIDs="[142]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:03.458 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=144] [version=93] [2025/04/04 12:46:03.460 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=93] ["take time"=9.924677ms] [job="ID:144, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:142, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:03.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:03.468 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=144] [conn=2] [job="ID:144, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:142, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:03.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:03.475 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 142, Old Table Name: t)"] [2025/04/04 12:46:03.490 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=93] [neededSchemaVersion=94] ["elapsed time"=1.131589ms] [gotSchemaVersion=94] [phyTblIDs="[142]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:03.494 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=144] [version=94] [2025/04/04 12:46:03.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=94] ["take time"=8.436795ms] [job="ID:144, Type:drop table, State:done, SchemaState:none, SchemaID:116, TableID:142, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:03.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:03.506 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=144] [tableIDs="[142]"] [comment="drop table: table ID"] [2025/04/04 12:46:03.512 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=144] [jobType="drop table"] [2025/04/04 12:46:03.513 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=144] [conn=2] [job="ID:144, Type:drop table, State:synced, SchemaState:none, SchemaID:116, TableID:142, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:03.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:03.533 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=144] [2025/04/04 12:46:03.533 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=94] [cur_db=import_into] [sql="drop table if exists t;"] [user=] [2025/04/04 12:46:03.547 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:146, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:145, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:03.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:03.547 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:146, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:145, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:03.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100), c int);"] [2025/04/04 12:46:03.553 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=146] [conn=2] [job="ID:146, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:145, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:03.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:03.558 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 145, Table Name: t)"] [2025/04/04 12:46:03.574 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=94] [neededSchemaVersion=95] ["elapsed time"=1.917689ms] [gotSchemaVersion=95] [phyTblIDs="[145]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:46:03.577 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=146] [version=95] [2025/04/04 12:46:03.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=95] ["take time"=9.245818ms] [job="ID:146, Type:create table, State:done, SchemaState:public, SchemaID:116, TableID:145, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:03.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:03.591 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=146] [conn=2] [job="ID:146, Type:create table, State:synced, SchemaState:public, SchemaID:116, TableID:145, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:03.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:03.604 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=146] [2025/04/04 12:46:03.604 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=95] [cur_db=import_into] [sql="create table t (a bigint, b varchar(100), c int);"] [user=] [2025/04/04 12:46:03.611 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:03.661 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"columns-and-vars\":\"(`c`, `b`, `a`)\",\"file-location\":\"gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/04 12:46:03.684 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=8] [task-id=8] [data-size=63B] [thread-cnt=1] [global-sort=false] [2025/04/04 12:46:03.698 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=8] [2025/04/04 12:46:03.698 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=8] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/04 12:46:03.801 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=8] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 12:46:03.802 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=8] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:46:03.803 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=8] [curr-step=init] [next-step=import] [2025/04/04 12:46:03.811 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:03.814 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 12:46:03.814 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=63] [2025/04/04 12:46:03.815 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=63] [cost=114.35µs] [2025/04/04 12:46:03.815 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=250.473µs] [] [2025/04/04 12:46:03.815 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=8] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 12:46:03.815 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=8] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/04 12:46:03.853 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=8] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 12:46:03.873 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=8] [step=import] [2025/04/04 12:46:03.874 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:03.883 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:46:03.883 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 12:46:03.884 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:46:03.884 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:46:03.884 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:46:03.884 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:46:03.884 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:46:03.884 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:46:03.885 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:46:03.885 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:46:03.900 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:46:03.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/04 12:46:03.902 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 12:46:03.902 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=8] [disk-quota=348.5GiB] [2025/04/04 12:46:03.902 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=8] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 12:46:03.902 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=8] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/04 12:46:03.908 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=8] [mode=Import] [2025/04/04 12:46:03.910 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=8] [task-type=ImportInto] [server-id=:4000] [subtaskID=14] [step=import] [2025/04/04 12:46:03.910 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=8] [step=import] [subtask-id=14] [2025/04/04 12:46:03.916 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 12:46:03.920 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 12:46:03.921 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=145] [2025/04/04 12:46:03.936 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=145] [key=db.tbl.001.csv:0] [2025/04/04 12:46:03.939 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=145] [key=db.tbl.001.csv:0] [readDur=1.079177ms] [encodeDur=666.319µs] [checksum="{cksum=13837959720985630831,size=82,kvs=2}"] [deliverDur=199.012µs] [type=file] [takeTime=2.223864ms] [] [2025/04/04 12:46:03.939 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=145] [2025/04/04 12:46:03.939 +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/026fdf46-5e5e-4e87-9629-21f44588dd5f.sst] [firstKey=7480000000000000915F728000000000000001] [lastKey=7480000000000000915F728000000000000002] [2025/04/04 12:46:03.941 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=8] [2025/04/04 12:46:03.960 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=145] [key=db.tbl.002.csv:0] [2025/04/04 12:46:03.961 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=145] [key=db.tbl.002.csv:0] [readDur=926.892µs] [encodeDur=209.171µs] [checksum="{cksum=7610901642014463118,size=82,kvs=2}"] [deliverDur=248.315µs] [type=file] [takeTime=1.588687ms] [] [2025/04/04 12:46:03.962 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=145] [2025/04/04 12:46:03.962 +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/6360b3fa-63a7-45a5-8bc4-7d5467d0c0fa.sst] [firstKey=7480000000000000915F728000000000000008] [lastKey=7480000000000000915F728000000000000009] [2025/04/04 12:46:03.985 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=145] [key=db.tbl.003.csv:0] [2025/04/04 12:46:03.988 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=145] [key=db.tbl.003.csv:0] [readDur=1.277072ms] [encodeDur=1.097246ms] [checksum="{cksum=9673548632033812539,size=82,kvs=2}"] [deliverDur=253.969µs] [type=file] [takeTime=2.882224ms] [] [2025/04/04 12:46:03.989 +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/d7f1c857-e473-4110-a84c-73ba505ee194.sst] [firstKey=7480000000000000915F72800000000000000F] [lastKey=7480000000000000915F728000000000000010] [2025/04/04 12:46:03.989 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=8] [step=import] [engine-id=0] [2025/04/04 12:46:03.989 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=8] [step=import] [engine-id=0] [2025/04/04 12:46:03.989 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 12:46:03.991 +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.195722ms] [] [2025/04/04 12:46:03.991 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [2025/04/04 12:46:04.016 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:46:04.037 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] ["region ranges"=1] [count=6] [size=246] [2025/04/04 12:46:04.038 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:46:04.040 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000915f728000000000000001] [endOfAllRanges=7480000000000000915f728000000000000011] [startKeyOfFirstRegion=7480000000000000ff915f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff915f728000000000ff0000110000000000fa] [2025/04/04 12:46:04.053 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [size=246] [kvs=6] [importedSize=246] [importedCount=6] [2025/04/04 12:46:04.055 +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=62.999148ms] [] [2025/04/04 12:46:04.055 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 12:46:04.056 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.223208ms] [] [2025/04/04 12:46:04.056 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=8] [step=import] [engine-id=0] [2025/04/04 12:46:04.056 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 12:46:04.058 +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.541621ms] [] [2025/04/04 12:46:04.058 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [2025/04/04 12:46:04.061 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 12:46:04.061 +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.687105ms] [] [2025/04/04 12:46:04.061 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 12:46:04.062 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=1.027433ms] [] [2025/04/04 12:46:04.063 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=8] [step=import] [subtask-id=14] [takeTime=152.182812ms] [] [2025/04/04 12:46:04.063 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=8] [task-type=ImportInto] [server-id=:4000] [subtaskID=14] [step=import] [takeTime=152.371848ms] [] [2025/04/04 12:46:04.105 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=8] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 12:46:04.106 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=8] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:46:04.108 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=8] [curr-step=import] [next-step=post-process] [2025/04/04 12:46:04.108 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=8] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 12:46:04.139 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=8] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":6}"] [2025/04/04 12:46:04.140 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=8] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 12:46:04.140 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=8] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/04 12:46:04.160 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=8] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 12:46:04.166 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=8] [step=import] [2025/04/04 12:46:04.169 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:46:04.169 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:46:04.169 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:46:04.169 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:46:04.169 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:46:04.169 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:46:04.169 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:46:04.169 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:04.169 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:04.169 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-9] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:46:04.170 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:04.170 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:46:04.172 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:46:04.172 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:04.172 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:04.172 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:04.172 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=8] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=269.770309ms] [] [2025/04/04 12:46:04.174 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=8] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/04 12:46:04.182 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=8] [task-type=ImportInto] [server-id=:4000] [subtaskID=15] [step=post-process] [2025/04/04 12:46:04.182 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=15] [2025/04/04 12:46:04.182 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=15] [2025/04/04 12:46:04.182 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=15] [2025/04/04 12:46:04.198 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=15] [takeTime=15.34628ms] [] [2025/04/04 12:46:04.198 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=15] [groupId=-1] [size=246] [kvs=6] [checksum=3434641841828523226] [2025/04/04 12:46:04.198 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=15] [checksum="{cksum=3434641841828523226,size=246,kvs=6}"] [2025/04/04 12:46:04.198 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=15] [weight=30] [2025/04/04 12:46:04.198 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=15] [concurrency=15] [2025/04/04 12:46:04.205 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=145] [physicalTableID=145] [indexID=-1] [checksum=3434641841828523226] [totalKvs=6] [totalBytes=246] [2025/04/04 12:46:04.206 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 12:46:04.206 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=15] [local="{cksum=3434641841828523226,size=246,kvs=6}"] [2025/04/04 12:46:04.206 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=15] [takeTime=23.358133ms] [] [2025/04/04 12:46:04.206 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=15] [takeTime=23.536195ms] [] [2025/04/04 12:46:04.206 +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=23.681391ms] [] [2025/04/04 12:46:04.214 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 12:46:04.305 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=8] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 12:46:04.305 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=8] [step=post-process] [state=running] [] [2025/04/04 12:46:04.307 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=8] [2025/04/04 12:46:04.322 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=8] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=147.937157ms] [] [2025/04/04 12:46:04.322 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=8] [type=ImportInto] [2025/04/04 12:46:04.406 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=8] [2025/04/04 12:46:04.412 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 12:46:04.412 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=8] [2025/04/04 12:46:04.432 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 12:46:04.600 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.995255664\n# Parse_time: 0.000140076\n# Compile_time: 0.000600388\n# Rewrite_time: 0.000108576\n# Optimize_time: 0.000385526\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('SvBJMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5NC4ybXMsIG9wZW46ODgxbnMsIGNsb3NlOjEuMjPCtXMsIGxvb3BzOjIJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('ZfBSCmEKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWjB0aW1lOjk5NC4ybXMsIG9wZW46ODgxbnMsIGNsb3NlOjEuMjPCtXMsIGxvb3BzOjJw//////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;"] [2025/04/04 12:46:04.623 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:147, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:145, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:04.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:04.623 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:147, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:145, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:04.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/04 12:46:04.629 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=147] [conn=2] [job="ID:147, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:145, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:04.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:04.646 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=95] [neededSchemaVersion=96] ["elapsed time"=2.531344ms] [gotSchemaVersion=96] [phyTblIDs="[145]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:04.650 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=147] [version=96] [2025/04/04 12:46:04.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=96] ["take time"=9.862217ms] [job="ID:147, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:145, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:04.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:04.661 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=147] [conn=2] [job="ID:147, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:145, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:04.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:04.678 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=96] [neededSchemaVersion=97] ["elapsed time"=2.324864ms] [gotSchemaVersion=97] [phyTblIDs="[145]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:04.681 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=147] [version=97] [2025/04/04 12:46:04.683 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=97] ["take time"=9.091689ms] [job="ID:147, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:145, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:04.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:04.691 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=147] [conn=2] [job="ID:147, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:145, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:04.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:04.697 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 145, Old Table Name: t)"] [2025/04/04 12:46:04.711 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=97] [neededSchemaVersion=98] ["elapsed time"=1.128699ms] [gotSchemaVersion=98] [phyTblIDs="[145]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:04.715 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=147] [version=98] [2025/04/04 12:46:04.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=98] ["take time"=8.175703ms] [job="ID:147, Type:drop table, State:done, SchemaState:none, SchemaID:116, TableID:145, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:04.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:04.726 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=147] [tableIDs="[145]"] [comment="drop table: table ID"] [2025/04/04 12:46:04.730 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=147] [jobType="drop table"] [2025/04/04 12:46:04.731 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=147] [conn=2] [job="ID:147, Type:drop table, State:synced, SchemaState:none, SchemaID:116, TableID:145, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:04.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:04.748 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=147] [2025/04/04 12:46:04.748 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=98] [cur_db=import_into] [sql="drop table if exists t;"] [user=] [2025/04/04 12:46:04.762 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:149, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:148, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:04.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100), c int, d varchar(100));"] [2025/04/04 12:46:04.762 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:149, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:148, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:04.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:04.768 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=149] [conn=2] [job="ID:149, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:148, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:04.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:04.772 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 148, Table Name: t)"] [2025/04/04 12:46:04.793 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=98] [neededSchemaVersion=99] ["elapsed time"=2.002336ms] [gotSchemaVersion=99] [phyTblIDs="[148]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:46:04.797 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=149] [version=99] [2025/04/04 12:46:04.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=99] ["take time"=10.033477ms] [job="ID:149, Type:create table, State:done, SchemaState:public, SchemaID:116, TableID:148, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:04.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:04.811 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=149] [conn=2] [job="ID:149, Type:create table, State:synced, SchemaState:public, SchemaID:116, TableID:148, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:04.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:04.824 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=149] [2025/04/04 12:46:04.824 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=99] [cur_db=import_into] [sql="create table t (a bigint, b varchar(100), c int, d varchar(100));"] [user=] [2025/04/04 12:46:04.830 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:04.878 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"columns-and-vars\":\"(`c`, `d`, `a`)\",\"file-location\":\"gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/04 12:46:04.898 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=9] [task-id=9] [data-size=63B] [thread-cnt=1] [global-sort=false] [2025/04/04 12:46:04.913 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=9] [2025/04/04 12:46:04.913 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=9] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/04 12:46:05.015 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=9] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 12:46:05.016 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=9] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:46:05.017 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=9] [curr-step=init] [next-step=import] [2025/04/04 12:46:05.025 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:05.028 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 12:46:05.028 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=63] [2025/04/04 12:46:05.028 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=63] [cost=91.689µs] [2025/04/04 12:46:05.028 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=211.036µs] [] [2025/04/04 12:46:05.028 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=9] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 12:46:05.028 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=9] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/04 12:46:05.062 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=9] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 12:46:05.081 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=9] [step=import] [2025/04/04 12:46:05.081 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:05.090 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:46:05.090 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 12:46:05.090 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:46:05.090 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:46:05.090 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:46:05.090 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:46:05.090 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:46:05.091 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:46:05.091 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:46:05.091 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:46:05.104 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:46:05.106 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 12:46:05.106 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 12:46:05.106 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=9] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 12:46:05.106 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=9] [disk-quota=348.5GiB] [2025/04/04 12:46:05.106 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=9] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/04 12:46:05.114 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=9] [task-type=ImportInto] [server-id=:4000] [subtaskID=16] [step=import] [2025/04/04 12:46:05.114 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=9] [step=import] [subtask-id=16] [2025/04/04 12:46:05.118 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 12:46:05.122 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 12:46:05.122 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=9] [mode=Import] [2025/04/04 12:46:05.122 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=148] [2025/04/04 12:46:05.149 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=9] [2025/04/04 12:46:05.255 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=148] [key=db.tbl.001.csv:0] [2025/04/04 12:46:05.257 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=148] [key=db.tbl.001.csv:0] [readDur=896.03µs] [encodeDur=691.314µs] [checksum="{cksum=11510279650924602162,size=82,kvs=2}"] [deliverDur=262.793µs] [type=file] [takeTime=2.08734ms] [] [2025/04/04 12:46:05.258 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=148] [2025/04/04 12:46:05.258 +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/84ec75b3-5452-4358-a19b-a4eeb36bed6c.sst] [firstKey=7480000000000000945F728000000000000001] [lastKey=7480000000000000945F728000000000000002] [2025/04/04 12:46:05.295 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=148] [key=db.tbl.002.csv:0] [2025/04/04 12:46:05.299 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=148] [key=db.tbl.002.csv:0] [readDur=1.766221ms] [encodeDur=839.687µs] [checksum="{cksum=16401860098335995135,size=82,kvs=2}"] [deliverDur=425.075µs] [type=file] [takeTime=3.486644ms] [] [2025/04/04 12:46:05.300 +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/c7fe2202-8c86-4040-9332-ea1fd40a7628.sst] [firstKey=7480000000000000945F728000000000000006] [lastKey=7480000000000000945F728000000000000007] [2025/04/04 12:46:05.300 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=148] [2025/04/04 12:46:05.346 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=148] [key=db.tbl.003.csv:0] [2025/04/04 12:46:05.349 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=148] [key=db.tbl.003.csv:0] [readDur=1.110284ms] [encodeDur=262.769µs] [checksum="{cksum=17104710824714968226,size=82,kvs=2}"] [deliverDur=448.717µs] [type=file] [takeTime=2.147193ms] [] [2025/04/04 12:46:05.349 +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/b6e4f95f-0248-4b3d-8f52-d4b39c0c6251.sst] [firstKey=7480000000000000945F72800000000000000B] [lastKey=7480000000000000945F72800000000000000C] [2025/04/04 12:46:05.350 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=9] [step=import] [engine-id=0] [2025/04/04 12:46:05.350 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=9] [step=import] [engine-id=0] [2025/04/04 12:46:05.350 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 12:46:05.352 +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.294967ms] [] [2025/04/04 12:46:05.352 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [2025/04/04 12:46:05.357 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:46:05.380 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] ["region ranges"=1] [count=6] [size=246] [2025/04/04 12:46:05.380 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:46:05.382 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000945f728000000000000001] [endOfAllRanges=7480000000000000945f72800000000000000d] [startKeyOfFirstRegion=7480000000000000ff945f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff945f728000000000ff00000d0000000000fa] [2025/04/04 12:46:05.395 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [size=246] [kvs=6] [importedSize=246] [importedCount=6] [2025/04/04 12:46:05.397 +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.321663ms] [] [2025/04/04 12:46:05.397 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 12:46:05.398 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.381862ms] [] [2025/04/04 12:46:05.398 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=9] [step=import] [engine-id=0] [2025/04/04 12:46:05.398 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 12:46:05.400 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=2.065488ms] [] [2025/04/04 12:46:05.400 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [2025/04/04 12:46:05.404 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 12:46:05.404 +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.811223ms] [] [2025/04/04 12:46:05.404 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 12:46:05.405 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=900.784µs] [] [2025/04/04 12:46:05.405 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=9] [step=import] [subtask-id=16] [takeTime=291.65221ms] [] [2025/04/04 12:46:05.406 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=9] [task-type=ImportInto] [server-id=:4000] [subtaskID=16] [step=import] [takeTime=292.22868ms] [] [2025/04/04 12:46:05.420 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=9] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 12:46:05.422 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=9] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:46:05.423 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=9] [curr-step=import] [next-step=post-process] [2025/04/04 12:46:05.423 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=9] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 12:46:05.455 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=9] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":6}"] [2025/04/04 12:46:05.457 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=9] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 12:46:05.457 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=9] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/04 12:46:05.494 +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/04 12:46:05.501 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=9] [step=import] [2025/04/04 12:46:05.505 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:46:05.505 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:46:05.505 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:46:05.505 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:46:05.505 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:46:05.505 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:46:05.505 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:46:05.505 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:05.505 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:05.505 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:05.505 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:46:05.505 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-10] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:46:05.508 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:46:05.508 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:05.508 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:05.508 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:05.508 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=9] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=401.952715ms] [] [2025/04/04 12:46:05.510 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=9] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/04 12:46:05.518 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=9] [task-type=ImportInto] [server-id=:4000] [subtaskID=17] [step=post-process] [2025/04/04 12:46:05.518 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=9] [step=post-process] [subtask-id=17] [2025/04/04 12:46:05.518 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=9] [step=post-process] [subtask-id=17] [2025/04/04 12:46:05.518 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=9] [step=post-process] [subtask-id=17] [2025/04/04 12:46:05.526 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=9] [step=post-process] [subtask-id=17] [takeTime=7.168351ms] [] [2025/04/04 12:46:05.526 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=9] [step=post-process] [subtask-id=17] [groupId=-1] [size=246] [kvs=6] [checksum=10467356601048550255] [2025/04/04 12:46:05.526 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=9] [step=post-process] [subtask-id=17] [checksum="{cksum=10467356601048550255,size=246,kvs=6}"] [2025/04/04 12:46:05.526 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=9] [step=post-process] [subtask-id=17] [weight=30] [2025/04/04 12:46:05.526 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=9] [step=post-process] [subtask-id=17] [concurrency=15] [2025/04/04 12:46:05.530 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=148] [physicalTableID=148] [indexID=-1] [checksum=10467356601048550255] [totalKvs=6] [totalBytes=246] [2025/04/04 12:46:05.531 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 12:46:05.531 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=9] [step=post-process] [subtask-id=17] [local="{cksum=10467356601048550255,size=246,kvs=6}"] [2025/04/04 12:46:05.531 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=9] [step=post-process] [subtask-id=17] [takeTime=12.302917ms] [] [2025/04/04 12:46:05.531 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=9] [step=post-process] [subtask-id=17] [takeTime=12.469356ms] [] [2025/04/04 12:46:05.531 +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=12.636966ms] [] [2025/04/04 12:46:05.559 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 12:46:05.621 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=9] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 12:46:05.621 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=9] [step=post-process] [state=running] [] [2025/04/04 12:46:05.624 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=9] [2025/04/04 12:46:05.641 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=9] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=131.524324ms] [] [2025/04/04 12:46:05.642 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=9] [type=ImportInto] [2025/04/04 12:46:05.715 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=9] [2025/04/04 12:46:05.721 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 12:46:05.721 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=9] [2025/04/04 12:46:05.745 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 12:46:05.817 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.992491626\n# Parse_time: 0.000181973\n# Compile_time: 0.00065216\n# Rewrite_time: 0.000121801\n# Optimize_time: 0.00028352\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5MS4zbXMsIG9wZW46NzY5bnMsIGNsb3NlOjk4MW5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk5MS4zbXMsIG9wZW46NzY5bnMsIGNsb3NlOjk4MW5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\nIMPORT INTO `import_into`.`t` (`c`,`d`,`a`) FROM 'gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1;"] [2025/04/04 12:46:05.834 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:150, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:148, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:05.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/04 12:46:05.834 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:150, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:148, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:05.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:05.839 +00:00] [INFO] [owner_daemon.go:56] ["daemon became owner"] [id=696b756e-0abb-480f-a392-4d0a5e21861f] [daemon-id=LogBackup::Advancer] [2025/04/04 12:46:05.839 +00:00] [INFO] [advancer.go:518] ["Subscription handler spawned."] [category="log backup subscription manager"] [2025/04/04 12:46:05.839 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 12:46:05.840 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=150] [conn=2] [job="ID:150, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:148, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:05.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:05.859 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=99] [neededSchemaVersion=100] ["elapsed time"=2.814909ms] [gotSchemaVersion=100] [phyTblIDs="[148]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:05.862 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=150] [version=100] [2025/04/04 12:46:05.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=100] ["take time"=10.422985ms] [job="ID:150, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:148, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:05.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:05.875 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=150] [conn=2] [job="ID:150, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:148, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:05.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:05.896 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=100] [neededSchemaVersion=101] ["elapsed time"=3.179456ms] [gotSchemaVersion=101] [phyTblIDs="[148]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:05.901 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=150] [version=101] [2025/04/04 12:46:05.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=101] ["take time"=11.615057ms] [job="ID:150, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:148, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:05.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:05.912 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=150] [conn=2] [job="ID:150, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:148, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:05.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:05.919 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 148, Old Table Name: t)"] [2025/04/04 12:46:05.934 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=101] [neededSchemaVersion=102] ["elapsed time"=1.320781ms] [gotSchemaVersion=102] [phyTblIDs="[148]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:05.938 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=150] [version=102] [2025/04/04 12:46:05.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=102] ["take time"=8.708371ms] [job="ID:150, Type:drop table, State:done, SchemaState:none, SchemaID:116, TableID:148, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:05.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:05.950 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=150] [tableIDs="[148]"] [comment="drop table: table ID"] [2025/04/04 12:46:05.954 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=150] [jobType="drop table"] [2025/04/04 12:46:05.955 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=150] [conn=2] [job="ID:150, Type:drop table, State:synced, SchemaState:none, SchemaID:116, TableID:148, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:05.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:05.976 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=150] [2025/04/04 12:46:05.976 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=102] [cur_db=import_into] [sql="drop table if exists t;"] [user=] [2025/04/04 12:46:05.990 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:152, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:151, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:05.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:05.990 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:152, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:151, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:05.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint auto_increment primary key, b varchar(100), c int, d varchar(100));"] [2025/04/04 12:46:05.996 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=152] [conn=2] [job="ID:152, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:151, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:05.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:06.002 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 151, Table Name: t)"] [2025/04/04 12:46:06.020 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=102] [neededSchemaVersion=103] ["elapsed time"=2.006841ms] [gotSchemaVersion=103] [phyTblIDs="[151]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:46:06.024 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=152] [version=103] [2025/04/04 12:46:06.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=103] ["take time"=10.0101ms] [job="ID:152, Type:create table, State:done, SchemaState:public, SchemaID:116, TableID:151, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:05.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:06.038 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=152] [conn=2] [job="ID:152, Type:create table, State:synced, SchemaState:public, SchemaID:116, TableID:151, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:05.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:06.052 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=152] [2025/04/04 12:46:06.053 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=103] [cur_db=import_into] [sql="create table t (a bigint auto_increment primary key, b varchar(100), c int, d varchar(100));"] [user=] [2025/04/04 12:46:06.060 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:06.117 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"columns-and-vars\":\"(@`1`, @`2`, `a`)\",\"set-clause\":\"`c`=@`1`+100, `d`=@`2`, `b`=CONCAT(@`2`, _UTF8MB4'-aa')\",\"file-location\":\"gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/04 12:46:06.139 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=10] [task-id=10] [data-size=63B] [thread-cnt=1] [global-sort=false] [2025/04/04 12:46:06.154 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=10] [2025/04/04 12:46:06.154 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=10] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/04 12:46:06.257 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=10] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 12:46:06.258 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=10] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:46:06.260 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=10] [curr-step=init] [next-step=import] [2025/04/04 12:46:06.269 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:06.272 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 12:46:06.272 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=63] [2025/04/04 12:46:06.272 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=63] [cost=107.208µs] [2025/04/04 12:46:06.272 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=259.971µs] [] [2025/04/04 12:46:06.273 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=10] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 12:46:06.273 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=10] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/04 12:46:06.313 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=10] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 12:46:06.334 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=10] [step=import] [2025/04/04 12:46:06.335 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:06.344 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:46:06.344 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 12:46:06.345 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:46:06.345 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:46:06.345 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:46:06.345 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:46:06.345 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:46:06.345 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:46:06.346 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:46:06.346 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:46:06.361 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:46:06.363 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 12:46:06.363 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 12:46:06.363 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=10] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 12:46:06.363 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=10] [disk-quota=348.5GiB] [2025/04/04 12:46:06.363 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=10] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/04 12:46:06.365 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=10] [mode=Import] [2025/04/04 12:46:06.380 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=10] [task-type=ImportInto] [server-id=:4000] [subtaskID=18] [step=import] [2025/04/04 12:46:06.380 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=10] [step=import] [subtask-id=18] [2025/04/04 12:46:06.384 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=10] [2025/04/04 12:46:06.384 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 12:46:06.388 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 12:46:06.388 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=151] [2025/04/04 12:46:06.585 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=151] [key=db.tbl.001.csv:0] [2025/04/04 12:46:06.588 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=151] [key=db.tbl.001.csv:0] [readDur=990.306µs] [encodeDur=844.189µs] [checksum="{cksum=2180128874604033942,size=96,kvs=2}"] [deliverDur=33.271µs] [type=file] [takeTime=2.286958ms] [] [2025/04/04 12:46:06.589 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=151] [2025/04/04 12:46:06.589 +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/f623e2a1-d4ab-4d6e-9144-104c4137ae42.sst] [firstKey=7480000000000000975F72800000000000000B] [lastKey=7480000000000000975F728000000000000016] [2025/04/04 12:46:06.643 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=151] [key=db.tbl.002.csv:0] [2025/04/04 12:46:06.645 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=151] [key=db.tbl.002.csv:0] [readDur=1.170566ms] [encodeDur=330.121µs] [checksum="{cksum=17114733561715978064,size=96,kvs=2}"] [deliverDur=33.064µs] [type=file] [takeTime=1.962242ms] [] [2025/04/04 12:46:06.646 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=151] [2025/04/04 12:46:06.646 +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/06a9311f-8c34-4030-8026-6a6d74ebdeb3.sst] [firstKey=7480000000000000975F728000000000000021] [lastKey=7480000000000000975F72800000000000002C] [2025/04/04 12:46:06.699 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=151] [key=db.tbl.003.csv:0] [2025/04/04 12:46:06.701 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=151] [key=db.tbl.003.csv:0] [readDur=947.131µs] [encodeDur=753.969µs] [checksum="{cksum=126932759714365300,size=96,kvs=2}"] [deliverDur=41.21µs] [type=file] [takeTime=2.086258ms] [] [2025/04/04 12:46:06.702 +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/160e6537-92ba-4d78-916a-4b356a6fb9ba.sst] [firstKey=7480000000000000975F728000000000000037] [lastKey=7480000000000000975F728000000000000042] [2025/04/04 12:46:06.702 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=10] [step=import] [engine-id=0] [2025/04/04 12:46:06.702 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=10] [step=import] [engine-id=0] [2025/04/04 12:46:06.702 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 12:46:06.704 +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.002139ms] [] [2025/04/04 12:46:06.705 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [2025/04/04 12:46:06.710 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:46:06.731 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] ["region ranges"=1] [count=6] [size=288] [2025/04/04 12:46:06.731 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:46:06.733 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000975f72800000000000000b] [endOfAllRanges=7480000000000000975f728000000000000043] [startKeyOfFirstRegion=7480000000000000ff975f728000000000ff00000b0000000000fa] [endKeyOfLastRegion=7480000000000000ff975f728000000000ff0000430000000000fa] [2025/04/04 12:46:06.747 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [size=288] [kvs=6] [importedSize=288] [importedCount=6] [2025/04/04 12:46:06.749 +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.136195ms] [] [2025/04/04 12:46:06.749 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 12:46:06.750 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.186793ms] [] [2025/04/04 12:46:06.750 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=10] [step=import] [engine-id=0] [2025/04/04 12:46:06.750 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 12:46:06.752 +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.81085ms] [] [2025/04/04 12:46:06.752 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [2025/04/04 12:46:06.756 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 12:46:06.756 +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.056439ms] [] [2025/04/04 12:46:06.756 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 12:46:06.757 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=972.188µs] [] [2025/04/04 12:46:06.757 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=10] [step=import] [subtask-id=18] [takeTime=377.37532ms] [] [2025/04/04 12:46:06.757 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=10] [task-type=ImportInto] [server-id=:4000] [subtaskID=18] [step=import] [takeTime=377.585536ms] [] [2025/04/04 12:46:06.862 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=10] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 12:46:06.863 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=10] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:46:06.865 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=10] [curr-step=import] [next-step=post-process] [2025/04/04 12:46:06.865 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=10] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 12:46:06.896 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=10] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":6}"] [2025/04/04 12:46:06.898 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=10] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 12:46:06.898 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=10] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/04 12:46:06.935 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=10] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 12:46:06.942 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=10] [step=import] [2025/04/04 12:46:06.946 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:46:06.946 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:46:06.946 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:46:06.946 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:46:06.946 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:46:06.946 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:46:06.946 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:46:06.946 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:06.946 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:06.946 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:06.946 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-11] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:46:06.946 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:46:06.949 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:46:06.949 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:06.949 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:06.949 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:06.949 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=10] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=585.740571ms] [] [2025/04/04 12:46:06.950 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=10] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/04 12:46:06.959 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=10] [task-type=ImportInto] [server-id=:4000] [subtaskID=19] [step=post-process] [2025/04/04 12:46:06.959 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=10] [step=post-process] [subtask-id=19] [2025/04/04 12:46:06.959 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=10] [step=post-process] [subtask-id=19] [2025/04/04 12:46:06.959 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=10] [step=post-process] [subtask-id=19] [2025/04/04 12:46:06.966 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=10] [step=post-process] [subtask-id=19] [takeTime=6.382427ms] [] [2025/04/04 12:46:06.966 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=10] [step=post-process] [subtask-id=19] [groupId=-1] [size=288] [kvs=6] [checksum=17437960271832508338] [2025/04/04 12:46:06.966 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=10] [step=post-process] [subtask-id=19] [checksum="{cksum=17437960271832508338,size=288,kvs=6}"] [2025/04/04 12:46:06.966 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=10] [step=post-process] [subtask-id=19] [weight=30] [2025/04/04 12:46:06.966 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=10] [step=post-process] [subtask-id=19] [concurrency=15] [2025/04/04 12:46:06.969 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=151] [physicalTableID=151] [indexID=-1] [checksum=17437960271832508338] [totalKvs=6] [totalBytes=288] [2025/04/04 12:46:06.969 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 12:46:06.969 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=10] [step=post-process] [subtask-id=19] [local="{cksum=17437960271832508338,size=288,kvs=6}"] [2025/04/04 12:46:06.969 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=10] [step=post-process] [subtask-id=19] [takeTime=9.899075ms] [] [2025/04/04 12:46:06.969 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=10] [step=post-process] [subtask-id=19] [takeTime=10.070323ms] [] [2025/04/04 12:46:06.971 +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=11.678363ms] [] [2025/04/04 12:46:06.984 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 12:46:07.063 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=10] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 12:46:07.063 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=10] [step=post-process] [state=running] [] [2025/04/04 12:46:07.067 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=10] [2025/04/04 12:46:07.094 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=10] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=143.611719ms] [] [2025/04/04 12:46:07.094 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=10] [type=ImportInto] [2025/04/04 12:46:07.156 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=10] [2025/04/04 12:46:07.162 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 12:46:07.162 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=10] [2025/04/04 12:46:07.185 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 12:46:07.356 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 1.303066609\n# Parse_time: 0.000276404\n# Compile_time: 0.000594556\n# Rewrite_time: 0.000148488\n# Optimize_time: 0.000327318\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('RfBEMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjEuM3MsIG9wZW46OTkzbnMsIGNsb3NlOjczNW5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('YPBMClwKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWit0aW1lOjEuM3MsIG9wZW46OTkzbnMsIGNsb3NlOjczNW5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\nIMPORT INTO `import_into`.`t` (@`1`,@`2`,`a`) SET `c`=@`1`+100, `d`=@`2`, `b`=CONCAT(@`2`, _UTF8MB4'-aa') FROM 'gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1;"] [2025/04/04 12:46:07.372 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:153, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:151, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:07.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:07.372 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:153, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:151, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:07.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/04 12:46:07.377 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=153] [conn=2] [job="ID:153, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:151, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:07.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:07.395 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=103] [neededSchemaVersion=104] ["elapsed time"=2.686687ms] [gotSchemaVersion=104] [phyTblIDs="[151]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:07.398 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=153] [version=104] [2025/04/04 12:46:07.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=104] ["take time"=10.134809ms] [job="ID:153, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:151, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:07.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:07.410 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=153] [conn=2] [job="ID:153, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:151, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:07.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:07.427 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=104] [neededSchemaVersion=105] ["elapsed time"=2.565984ms] [gotSchemaVersion=105] [phyTblIDs="[151]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:07.430 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=153] [version=105] [2025/04/04 12:46:07.432 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=105] ["take time"=9.383576ms] [job="ID:153, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:151, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:07.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:07.440 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=153] [conn=2] [job="ID:153, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:151, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:07.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:07.447 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 151, Old Table Name: t)"] [2025/04/04 12:46:07.463 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=105] [neededSchemaVersion=106] ["elapsed time"=1.151401ms] [gotSchemaVersion=106] [phyTblIDs="[151]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:07.467 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=153] [version=106] [2025/04/04 12:46:07.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=106] ["take time"=8.81961ms] [job="ID:153, Type:drop table, State:done, SchemaState:none, SchemaID:116, TableID:151, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:07.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:07.478 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=153] [tableIDs="[151]"] [comment="drop table: table ID"] [2025/04/04 12:46:07.482 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=153] [jobType="drop table"] [2025/04/04 12:46:07.483 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=153] [conn=2] [job="ID:153, Type:drop table, State:synced, SchemaState:none, SchemaID:116, TableID:151, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:07.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:07.502 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=153] [2025/04/04 12:46:07.502 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=106] [cur_db=import_into] [sql="drop table if exists t;"] [user=] [2025/04/04 12:46:07.515 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:155, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:154, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:07.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:07.515 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:155, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:154, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:07.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100), c int, d varchar(100)) SHARD_ROW_ID_BITS 10;"] [2025/04/04 12:46:07.521 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=155] [conn=2] [job="ID:155, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:154, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:07.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:07.526 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 154, Table Name: t)"] [2025/04/04 12:46:07.543 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=106] [neededSchemaVersion=107] ["elapsed time"=2.101472ms] [gotSchemaVersion=107] [phyTblIDs="[154]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:46:07.547 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=155] [version=107] [2025/04/04 12:46: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=107] ["take time"=10.475859ms] [job="ID:155, Type:create table, State:done, SchemaState:public, SchemaID:116, TableID:154, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:07.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:07.561 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=155] [conn=2] [job="ID:155, Type:create table, State:synced, SchemaState:public, SchemaID:116, TableID:154, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:07.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:07.573 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=155] [2025/04/04 12:46:07.573 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=107] [cur_db=import_into] [sql="create table t (a bigint, b varchar(100), c int, d varchar(100)) SHARD_ROW_ID_BITS 10;"] [user=] [2025/04/04 12:46:07.579 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:07.627 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"columns-and-vars\":\"(@`1`, @`2`, `a`)\",\"set-clause\":\"`c`=@`1`+100, `d`=@`2`, `b`=CONCAT(@`2`, _UTF8MB4'-aa')\",\"file-location\":\"gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/04 12:46:07.647 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=11] [task-id=11] [data-size=63B] [thread-cnt=1] [global-sort=false] [2025/04/04 12:46:07.661 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=11] [2025/04/04 12:46:07.661 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=11] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/04 12:46:07.763 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=11] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 12:46:07.765 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=11] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:46:07.766 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=11] [curr-step=init] [next-step=import] [2025/04/04 12:46:07.775 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:07.778 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 12:46:07.778 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=63] [2025/04/04 12:46:07.778 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=63] [cost=105.534µs] [2025/04/04 12:46:07.778 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=222.829µs] [] [2025/04/04 12:46:07.778 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=11] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 12:46:07.778 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=11] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/04 12:46:07.823 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=11] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 12:46:07.843 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=11] [step=import] [2025/04/04 12:46:07.844 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:07.852 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:46:07.852 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 12:46:07.853 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:46:07.853 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:46:07.853 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:46:07.853 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:46:07.853 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:46:07.853 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:46:07.854 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:46:07.854 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:46:07.866 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:46:07.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/04 12:46:07.868 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 12:46:07.869 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=11] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 12:46:07.869 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=11] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/04 12:46:07.869 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=11] [disk-quota=348.5GiB] [2025/04/04 12:46:07.870 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=11] [mode=Import] [2025/04/04 12:46:07.888 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=11] [task-type=ImportInto] [server-id=:4000] [subtaskID=20] [step=import] [2025/04/04 12:46:07.888 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=11] [step=import] [subtask-id=20] [2025/04/04 12:46:07.892 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=11] [2025/04/04 12:46:07.893 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 12:46:07.896 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 12:46:07.896 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=154] [2025/04/04 12:46:07.920 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=154] [key=db.tbl.001.csv:0] [2025/04/04 12:46:07.924 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=154] [key=db.tbl.001.csv:0] [readDur=1.227453ms] [encodeDur=1.913881ms] [checksum="{cksum=9096151903818431098,size=104,kvs=2}"] [deliverDur=431.171µs] [type=file] [takeTime=3.895934ms] [] [2025/04/04 12:46:07.925 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=154] [2025/04/04 12:46:07.925 +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/f3d80c45-0dba-40d0-8897-969f8c8ae8ae.sst] [firstKey=74800000000000009A5F728840000000000001] [lastKey=74800000000000009A5F72F8A0000000000002] [2025/04/04 12:46:07.949 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=154] [key=db.tbl.002.csv:0] [2025/04/04 12:46:07.951 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=154] [key=db.tbl.002.csv:0] [readDur=873.547µs] [encodeDur=537.197µs] [checksum="{cksum=1540599946714846010,size=104,kvs=2}"] [deliverDur=24.427µs] [type=file] [takeTime=1.706722ms] [] [2025/04/04 12:46:07.952 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=154] [2025/04/04 12:46:07.952 +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/e29dfcf7-d693-4134-8465-91cea405a722.sst] [firstKey=74800000000000009A5F728780000000000007] [lastKey=74800000000000009A5F72D700000000000006] [2025/04/04 12:46:08.033 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=154] [key=db.tbl.003.csv:0] [2025/04/04 12:46:08.035 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=154] [key=db.tbl.003.csv:0] [readDur=1.269551ms] [encodeDur=514.092µs] [checksum="{cksum=7135556550049781423,size=104,kvs=2}"] [deliverDur=27.192µs] [type=file] [takeTime=2.058052ms] [] [2025/04/04 12:46:08.037 +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/746117db-0ef7-4908-b3ac-4d8fea8a50dc.sst] [firstKey=74800000000000009A5F72A60000000000000B] [lastKey=74800000000000009A5F72DA6000000000000C] [2025/04/04 12:46:08.037 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=11] [step=import] [engine-id=0] [2025/04/04 12:46:08.037 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=11] [step=import] [engine-id=0] [2025/04/04 12:46:08.037 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 12:46:08.040 +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.068489ms] [] [2025/04/04 12:46:08.040 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [2025/04/04 12:46:08.047 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:46:08.068 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] ["region ranges"=1] [count=6] [size=312] [2025/04/04 12:46:08.069 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:46:08.071 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000009a5f728780000000000007] [endOfAllRanges=74800000000000009a5f72f8a0000000000003] [startKeyOfFirstRegion=7480000000000000ff9a5f728780000000ff0000070000000000fa] [endKeyOfLastRegion=7480000000000000ff9a5f72f8a0000000ff0000030000000000fa] [2025/04/04 12:46:08.083 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [size=312] [kvs=6] [importedSize=312] [importedCount=6] [2025/04/04 12:46:08.085 +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.397577ms] [] [2025/04/04 12:46:08.086 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 12:46:08.087 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.502279ms] [] [2025/04/04 12:46:08.087 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=11] [step=import] [engine-id=0] [2025/04/04 12:46:08.087 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 12:46:08.089 +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.832063ms] [] [2025/04/04 12:46:08.089 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [2025/04/04 12:46:08.093 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 12:46:08.093 +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.855179ms] [] [2025/04/04 12:46:08.093 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 12:46:08.094 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=1.036971ms] [] [2025/04/04 12:46:08.094 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=11] [step=import] [subtask-id=20] [takeTime=206.492195ms] [] [2025/04/04 12:46:08.094 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=11] [task-type=ImportInto] [server-id=:4000] [subtaskID=20] [step=import] [takeTime=206.659532ms] [] [2025/04/04 12:46:08.168 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=11] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 12:46:08.170 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=11] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:46:08.171 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=11] [curr-step=import] [next-step=post-process] [2025/04/04 12:46:08.171 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=11] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 12:46:08.200 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=11] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":6}"] [2025/04/04 12:46:08.202 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=11] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 12:46:08.202 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=11] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/04 12:46:08.234 +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/04 12:46:08.240 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=11] [step=import] [2025/04/04 12:46:08.243 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:46:08.243 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:46:08.243 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:46:08.243 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:46:08.243 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:46:08.243 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:46:08.243 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:46:08.243 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:08.243 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-12] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:46:08.243 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:08.244 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:08.244 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:46:08.246 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:46:08.246 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:08.246 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:08.246 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:08.246 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=11] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=377.476216ms] [] [2025/04/04 12:46:08.248 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=11] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/04 12:46:08.255 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=11] [task-type=ImportInto] [server-id=:4000] [subtaskID=21] [step=post-process] [2025/04/04 12:46:08.255 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=11] [step=post-process] [subtask-id=21] [2025/04/04 12:46:08.256 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=11] [step=post-process] [subtask-id=21] [2025/04/04 12:46:08.256 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=11] [step=post-process] [subtask-id=21] [2025/04/04 12:46:08.261 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=11] [step=post-process] [subtask-id=21] [takeTime=5.679448ms] [] [2025/04/04 12:46:08.261 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=11] [step=post-process] [subtask-id=21] [groupId=-1] [size=312] [kvs=6] [checksum=602317331038109679] [2025/04/04 12:46:08.261 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=11] [step=post-process] [subtask-id=21] [checksum="{cksum=602317331038109679,size=312,kvs=6}"] [2025/04/04 12:46:08.261 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=11] [step=post-process] [subtask-id=21] [weight=30] [2025/04/04 12:46:08.262 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=11] [step=post-process] [subtask-id=21] [concurrency=15] [2025/04/04 12:46:08.265 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=154] [physicalTableID=154] [indexID=-1] [checksum=602317331038109679] [totalKvs=6] [totalBytes=312] [2025/04/04 12:46:08.265 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 12:46:08.265 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=11] [step=post-process] [subtask-id=21] [local="{cksum=602317331038109679,size=312,kvs=6}"] [2025/04/04 12:46:08.265 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=11] [step=post-process] [subtask-id=21] [takeTime=9.565879ms] [] [2025/04/04 12:46:08.265 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=11] [step=post-process] [subtask-id=21] [takeTime=9.710933ms] [] [2025/04/04 12:46:08.265 +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=9.85164ms] [] [2025/04/04 12:46:08.281 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 12:46:08.368 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=11] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 12:46:08.368 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=11] [step=post-process] [state=running] [] [2025/04/04 12:46:08.371 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=11] [2025/04/04 12:46:08.400 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=11] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=152.236594ms] [] [2025/04/04 12:46:08.400 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=11] [type=ImportInto] [2025/04/04 12:46:08.463 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=11] [2025/04/04 12:46:08.468 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 12:46:08.468 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=11] [2025/04/04 12:46:08.489 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 12:46:08.563 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.989087924\n# Parse_time: 0.000221552\n# Compile_time: 0.000651868\n# Rewrite_time: 0.00011802\n# Optimize_time: 0.000320484\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4Ny45bXMsIG9wZW46ODQybnMsIGNsb3NlOjk5MW5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk4Ny45bXMsIG9wZW46ODQybnMsIGNsb3NlOjk5MW5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\nIMPORT INTO `import_into`.`t` (@`1`,@`2`,`a`) SET `c`=@`1`+100, `d`=@`2`, `b`=CONCAT(@`2`, _UTF8MB4'-aa') FROM 'gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1;"] [2025/04/04 12:46:08.578 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:156, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:154, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:08.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:08.578 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:156, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:154, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:08.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/04 12:46:08.584 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=156] [conn=2] [job="ID:156, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:154, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:08.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:08.601 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=107] [neededSchemaVersion=108] ["elapsed time"=3.084053ms] [gotSchemaVersion=108] [phyTblIDs="[154]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:08.605 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=156] [version=108] [2025/04/04 12:46:08.606 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=108] ["take time"=10.153788ms] [job="ID:156, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:154, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:08.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:08.617 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=156] [conn=2] [job="ID:156, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:154, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:08.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:08.635 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=108] [neededSchemaVersion=109] ["elapsed time"=2.567421ms] [gotSchemaVersion=109] [phyTblIDs="[154]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:08.638 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=156] [version=109] [2025/04/04 12:46:08.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=109] ["take time"=9.895957ms] [job="ID:156, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:154, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:08.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:08.651 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=156] [conn=2] [job="ID:156, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:154, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:08.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:08.658 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 154, Old Table Name: t)"] [2025/04/04 12:46:08.681 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=109] [neededSchemaVersion=110] ["elapsed time"=1.376325ms] [gotSchemaVersion=110] [phyTblIDs="[154]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:08.685 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=156] [version=110] [2025/04/04 12:46:08.686 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=110] ["take time"=9.344898ms] [job="ID:156, Type:drop table, State:done, SchemaState:none, SchemaID:116, TableID:154, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:08.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:08.696 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=156] [tableIDs="[154]"] [comment="drop table: table ID"] [2025/04/04 12:46:08.700 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=156] [jobType="drop table"] [2025/04/04 12:46:08.701 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=156] [conn=2] [job="ID:156, Type:drop table, State:synced, SchemaState:none, SchemaID:116, TableID:154, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:08.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:08.719 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=156] [2025/04/04 12:46:08.719 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=110] [cur_db=import_into] [sql="drop table if exists t;"] [user=] [2025/04/04 12:46:08.732 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:158, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:157, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:08.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:08.732 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:158, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:157, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:08.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint auto_increment primary key, b int, c varchar(100), d int);"] [2025/04/04 12:46:08.738 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=158] [conn=2] [job="ID:158, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:157, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:08.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:08.742 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 157, Table Name: t)"] [2025/04/04 12:46:08.759 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=110] [neededSchemaVersion=111] ["elapsed time"=1.791856ms] [gotSchemaVersion=111] [phyTblIDs="[157]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:46:08.762 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=158] [version=111] [2025/04/04 12:46:08.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=111] ["take time"=8.67453ms] [job="ID:158, Type:create table, State:done, SchemaState:public, SchemaID:116, TableID:157, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:08.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:08.775 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=158] [conn=2] [job="ID:158, Type:create table, State:synced, SchemaState:public, SchemaID:116, TableID:157, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:08.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:08.786 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=158] [2025/04/04 12:46:08.786 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=111] [cur_db=import_into] [sql="create table t (a bigint auto_increment primary key, b int, c varchar(100), d int);"] [user=] [2025/04/04 12:46:08.792 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:08.839 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"columns-and-vars\":\"(`b`, `c`, `d`)\",\"file-location\":\"gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/04 12:46:08.859 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=12] [task-id=12] [data-size=63B] [thread-cnt=1] [global-sort=false] [2025/04/04 12:46:08.873 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=12] [2025/04/04 12:46:08.873 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=12] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/04 12:46:08.976 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=12] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 12:46:08.977 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=12] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:46:08.978 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=12] [curr-step=init] [next-step=import] [2025/04/04 12:46:08.986 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:08.988 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 12:46:08.988 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=63] [2025/04/04 12:46:08.988 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=63] [cost=65.872µs] [2025/04/04 12:46:08.988 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=183.208µs] [] [2025/04/04 12:46:08.988 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=12] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 12:46:08.988 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=12] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/04 12:46:09.022 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=12] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 12:46:09.043 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=12] [step=import] [2025/04/04 12:46:09.043 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:09.050 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:46:09.050 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 12:46:09.051 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:46:09.051 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:46:09.051 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:46:09.051 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:46:09.051 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:46:09.051 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:46:09.051 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:46:09.052 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:46:09.063 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:46:09.065 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 12:46:09.065 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 12:46:09.065 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=12] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 12:46:09.065 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=12] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/04 12:46:09.065 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=12] [disk-quota=348.5GiB] [2025/04/04 12:46:09.073 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=12] [task-type=ImportInto] [server-id=:4000] [subtaskID=22] [step=import] [2025/04/04 12:46:09.073 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=12] [step=import] [subtask-id=22] [2025/04/04 12:46:09.077 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 12:46:09.081 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 12:46:09.081 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=157] [2025/04/04 12:46:09.083 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=12] [mode=Import] [2025/04/04 12:46:09.102 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=12] [2025/04/04 12:46:09.116 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=157] [key=db.tbl.001.csv:0] [2025/04/04 12:46:09.119 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=157] [key=db.tbl.001.csv:0] [readDur=937.306µs] [encodeDur=1.549011ms] [checksum="{cksum=1675147975136326378,size=82,kvs=2}"] [deliverDur=430.504µs] [type=file] [takeTime=3.189638ms] [] [2025/04/04 12:46:09.120 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=157] [2025/04/04 12:46:09.120 +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/97012d7e-f342-4d1e-9138-b3a8c013638c.sst] [firstKey=74800000000000009D5F728000000000000001] [lastKey=74800000000000009D5F728000000000000002] [2025/04/04 12:46:09.153 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=157] [key=db.tbl.002.csv:0] [2025/04/04 12:46:09.155 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=157] [key=db.tbl.002.csv:0] [readDur=1.007387ms] [encodeDur=254.145µs] [checksum="{cksum=12305018038957930638,size=82,kvs=2}"] [deliverDur=26.907µs] [type=file] [takeTime=1.580291ms] [] [2025/04/04 12:46:09.155 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=157] [2025/04/04 12:46:09.155 +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/95830c4f-482e-452f-b628-4ef6e6098558.sst] [firstKey=74800000000000009D5F728000000000000006] [lastKey=74800000000000009D5F728000000000000007] [2025/04/04 12:46:09.197 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=157] [key=db.tbl.003.csv:0] [2025/04/04 12:46:09.199 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=157] [key=db.tbl.003.csv:0] [readDur=980.25µs] [encodeDur=489.037µs] [checksum="{cksum=17907548893808300386,size=82,kvs=2}"] [deliverDur=24.155µs] [type=file] [takeTime=1.777163ms] [] [2025/04/04 12:46:09.200 +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/98f73ac2-b6d6-47a8-961f-c303b70fd89f.sst] [firstKey=74800000000000009D5F72800000000000000B] [lastKey=74800000000000009D5F72800000000000000C] [2025/04/04 12:46:09.201 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=12] [step=import] [engine-id=0] [2025/04/04 12:46:09.201 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=12] [step=import] [engine-id=0] [2025/04/04 12:46:09.201 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 12:46:09.203 +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.854242ms] [] [2025/04/04 12:46:09.203 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [2025/04/04 12:46:09.207 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:46:09.229 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] ["region ranges"=1] [count=6] [size=246] [2025/04/04 12:46:09.229 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:46:09.231 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000009d5f728000000000000001] [endOfAllRanges=74800000000000009d5f72800000000000000d] [startKeyOfFirstRegion=7480000000000000ff9d5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff9d5f728000000000ff00000d0000000000fa] [2025/04/04 12:46:09.243 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [size=246] [kvs=6] [importedSize=246] [importedCount=6] [2025/04/04 12:46:09.245 +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.024581ms] [] [2025/04/04 12:46:09.245 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 12:46:09.246 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.101712ms] [] [2025/04/04 12:46:09.246 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=12] [step=import] [engine-id=0] [2025/04/04 12:46:09.246 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 12:46:09.248 +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.669362ms] [] [2025/04/04 12:46:09.248 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [2025/04/04 12:46:09.251 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 12:46:09.251 +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.659996ms] [] [2025/04/04 12:46:09.252 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 12:46:09.252 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=880.571µs] [] [2025/04/04 12:46:09.253 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=12] [step=import] [subtask-id=22] [takeTime=179.764284ms] [] [2025/04/04 12:46:09.253 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=12] [task-type=ImportInto] [server-id=:4000] [subtaskID=22] [step=import] [takeTime=179.911687ms] [] [2025/04/04 12:46:09.281 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=12] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 12:46:09.282 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=12] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:46:09.284 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=12] [curr-step=import] [next-step=post-process] [2025/04/04 12:46:09.284 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=12] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 12:46:09.315 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=12] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":6}"] [2025/04/04 12:46:09.317 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=12] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 12:46:09.317 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=12] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/04 12:46:09.355 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=12] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 12:46:09.362 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=12] [step=import] [2025/04/04 12:46:09.365 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:46:09.365 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:46:09.365 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:46:09.365 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:46:09.366 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:46:09.366 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:46:09.366 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:46:09.366 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:09.366 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:09.366 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-13] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:46:09.366 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:09.366 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:46:09.368 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:46:09.368 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:09.368 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:09.368 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:09.368 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=12] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=302.989233ms] [] [2025/04/04 12:46:09.370 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=12] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/04 12:46:09.377 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=12] [task-type=ImportInto] [server-id=:4000] [subtaskID=23] [step=post-process] [2025/04/04 12:46:09.377 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=12] [step=post-process] [subtask-id=23] [2025/04/04 12:46:09.377 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=12] [step=post-process] [subtask-id=23] [2025/04/04 12:46:09.377 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=12] [step=post-process] [subtask-id=23] [2025/04/04 12:46:09.383 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=12] [step=post-process] [subtask-id=23] [takeTime=6.050838ms] [] [2025/04/04 12:46:09.383 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=12] [step=post-process] [subtask-id=23] [groupId=-1] [size=246] [kvs=6] [checksum=5007723872062626566] [2025/04/04 12:46:09.384 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=12] [step=post-process] [subtask-id=23] [checksum="{cksum=5007723872062626566,size=246,kvs=6}"] [2025/04/04 12:46:09.384 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=12] [step=post-process] [subtask-id=23] [weight=30] [2025/04/04 12:46:09.384 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=12] [step=post-process] [subtask-id=23] [concurrency=15] [2025/04/04 12:46:09.386 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=157] [physicalTableID=157] [indexID=-1] [checksum=5007723872062626566] [totalKvs=6] [totalBytes=246] [2025/04/04 12:46:09.386 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 12:46:09.386 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=12] [step=post-process] [subtask-id=23] [local="{cksum=5007723872062626566,size=246,kvs=6}"] [2025/04/04 12:46:09.386 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=12] [step=post-process] [subtask-id=23] [takeTime=8.843218ms] [] [2025/04/04 12:46:09.386 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=12] [step=post-process] [subtask-id=23] [takeTime=8.980504ms] [] [2025/04/04 12:46:09.386 +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=9.11199ms] [] [2025/04/04 12:46:09.401 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 12:46:09.481 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=12] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 12:46:09.481 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=12] [step=post-process] [state=running] [] [2025/04/04 12:46:09.483 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=12] [2025/04/04 12:46:09.513 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=12] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=143.078593ms] [] [2025/04/04 12:46:09.513 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=12] [type=ImportInto] [2025/04/04 12:46:09.575 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=12] [2025/04/04 12:46:09.581 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 12:46:09.582 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=12] [2025/04/04 12:46:09.604 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 12:46:09.776 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.989748189\n# Parse_time: 0.000106694\n# Compile_time: 0.000445896\n# Rewrite_time: 0.000088841\n# Optimize_time: 0.000372347\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('RvBFMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4OW1zLCBvcGVuOjY3N25zLCBjbG9zZTo5NTducywgbG9vcHM6MglOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('YfBMCl0KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWix0aW1lOjk4OW1zLCBvcGVuOjY3N25zLCBjbG9zZTo5NTducywgbG9vcHM6MnD///8JAzQBeP///////////wEYAQ==')\n# Resource_group: default\nIMPORT INTO `import_into`.`t` (`b`,`c`,`d`) FROM 'gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1;"] [2025/04/04 12:46:09.792 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:159, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:157, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:09.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:09.792 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:159, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:157, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:09.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/04 12:46:09.797 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=159] [conn=2] [job="ID:159, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:157, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:09.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:09.815 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=111] [neededSchemaVersion=112] ["elapsed time"=2.896759ms] [gotSchemaVersion=112] [phyTblIDs="[157]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:09.818 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=159] [version=112] [2025/04/04 12:46:09.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=112] ["take time"=10.355631ms] [job="ID:159, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:157, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:09.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:09.830 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=159] [conn=2] [job="ID:159, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:157, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:09.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:09.848 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=112] [neededSchemaVersion=113] ["elapsed time"=2.624719ms] [gotSchemaVersion=113] [phyTblIDs="[157]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:09.852 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=159] [version=113] [2025/04/04 12:46:09.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=113] ["take time"=10.895353ms] [job="ID:159, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:157, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:09.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:09.862 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=159] [conn=2] [job="ID:159, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:157, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:09.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:09.869 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 157, Old Table Name: t)"] [2025/04/04 12:46:09.884 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=113] [neededSchemaVersion=114] ["elapsed time"=1.191938ms] [gotSchemaVersion=114] [phyTblIDs="[157]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:09.887 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=159] [version=114] [2025/04/04 12:46:09.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=114] ["take time"=8.850899ms] [job="ID:159, Type:drop table, State:done, SchemaState:none, SchemaID:116, TableID:157, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:09.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:09.899 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=159] [tableIDs="[157]"] [comment="drop table: table ID"] [2025/04/04 12:46:09.904 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=159] [jobType="drop table"] [2025/04/04 12:46:09.905 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=159] [conn=2] [job="ID:159, Type:drop table, State:synced, SchemaState:none, SchemaID:116, TableID:157, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:09.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:09.924 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=159] [2025/04/04 12:46:09.924 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=114] [cur_db=import_into] [sql="drop table if exists t;"] [user=] [2025/04/04 12:46:09.938 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:161, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:160, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:09.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:09.938 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:161, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:160, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:09.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint auto_random primary key, b int, c varchar(100), d int);"] [2025/04/04 12:46:09.944 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=161] [conn=2] [job="ID:161, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:160, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:09.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:09.949 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 160, Table Name: t)"] [2025/04/04 12:46:09.966 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=114] [neededSchemaVersion=115] ["elapsed time"=2.256513ms] [gotSchemaVersion=115] [phyTblIDs="[160]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:46:09.969 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=161] [version=115] [2025/04/04 12:46:09.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=115] ["take time"=9.735864ms] [job="ID:161, Type:create table, State:done, SchemaState:public, SchemaID:116, TableID:160, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:09.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:09.983 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=161] [conn=2] [job="ID:161, Type:create table, State:synced, SchemaState:public, SchemaID:116, TableID:160, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:09.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:10.002 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=161] [2025/04/04 12:46:10.002 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=115] [cur_db=import_into] [sql="create table t (a bigint auto_random primary key, b int, c varchar(100), d int);"] [user=] [2025/04/04 12:46:10.008 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:10.062 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"columns-and-vars\":\"(`b`, `c`, `d`)\",\"file-location\":\"gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/04 12:46:10.081 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=13] [task-id=13] [data-size=63B] [thread-cnt=1] [global-sort=false] [2025/04/04 12:46:10.096 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=13] [2025/04/04 12:46:10.096 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=13] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/04 12:46:10.199 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=13] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 12:46:10.202 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=13] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:46:10.204 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=13] [curr-step=init] [next-step=import] [2025/04/04 12:46:10.212 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:10.215 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 12:46:10.215 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=63] [2025/04/04 12:46:10.216 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=63] [cost=81.428µs] [2025/04/04 12:46:10.216 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=191.233µs] [] [2025/04/04 12:46:10.216 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=13] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 12:46:10.216 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=13] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/04 12:46:10.253 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=13] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 12:46:10.274 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=13] [step=import] [2025/04/04 12:46:10.275 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:10.284 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:46:10.284 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 12:46:10.284 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:46:10.284 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:46:10.284 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:46:10.284 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:46:10.284 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:46:10.285 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:46:10.285 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:46:10.285 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:46:10.298 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:46:10.300 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 12:46:10.300 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 12:46:10.301 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=13] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 12:46:10.301 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=13] [disk-quota=348.5GiB] [2025/04/04 12:46:10.301 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=13] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/04 12:46:10.307 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=13] [mode=Import] [2025/04/04 12:46:10.308 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=13] [task-type=ImportInto] [server-id=:4000] [subtaskID=24] [step=import] [2025/04/04 12:46:10.309 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=13] [step=import] [subtask-id=24] [2025/04/04 12:46:10.313 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 12:46:10.316 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 12:46:10.317 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=160] [2025/04/04 12:46:10.326 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=13] [2025/04/04 12:46:10.406 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=160] [key=db.tbl.001.csv:0] [2025/04/04 12:46:10.408 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=160] [key=db.tbl.001.csv:0] [readDur=942.1µs] [encodeDur=646.304µs] [checksum="{cksum=1675147975136326378,size=82,kvs=2}"] [deliverDur=588.39µs] [type=file] [takeTime=2.469594ms] [] [2025/04/04 12:46:10.409 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=160] [2025/04/04 12:46:10.409 +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/056bf796-87fb-4008-9d02-0daaff4a0af9.sst] [firstKey=7480000000000000A05F728400000000000001] [lastKey=7480000000000000A05F728400000000000002] [2025/04/04 12:46:10.412 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=160] [key=db.tbl.002.csv:0] [2025/04/04 12:46:10.414 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=160] [key=db.tbl.002.csv:0] [readDur=1.070998ms] [encodeDur=841.149µs] [checksum="{cksum=12305018038957930638,size=82,kvs=2}"] [deliverDur=27.81µs] [type=file] [takeTime=2.191578ms] [] [2025/04/04 12:46:10.415 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=160] [2025/04/04 12:46:10.415 +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/af3040b8-3a1e-42f1-bce8-273b649ec401.sst] [firstKey=7480000000000000A05F728000000000000006] [lastKey=7480000000000000A05F728000000000000007] [2025/04/04 12:46:10.417 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=160] [key=db.tbl.003.csv:0] [2025/04/04 12:46:10.418 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=160] [key=db.tbl.003.csv:0] [readDur=828.956µs] [encodeDur=197.804µs] [checksum="{cksum=17907548893808300386,size=82,kvs=2}"] [deliverDur=24.02µs] [type=file] [takeTime=1.27497ms] [] [2025/04/04 12:46:10.419 +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/8ffcfd61-efcf-4781-a0ed-c07f87188cfe.sst] [firstKey=7480000000000000A05F728C0000000000000B] [lastKey=7480000000000000A05F728C0000000000000C] [2025/04/04 12:46:10.419 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=13] [step=import] [engine-id=0] [2025/04/04 12:46:10.419 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=13] [step=import] [engine-id=0] [2025/04/04 12:46:10.419 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 12:46:10.421 +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.083354ms] [] [2025/04/04 12:46:10.421 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [2025/04/04 12:46:10.426 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:46:10.447 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] ["region ranges"=1] [count=6] [size=246] [2025/04/04 12:46:10.447 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:46:10.449 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000a05f728000000000000006] [endOfAllRanges=7480000000000000a05f728c0000000000000d] [startKeyOfFirstRegion=7480000000000000ffa05f728000000000ff0000060000000000fa] [endKeyOfLastRegion=7480000000000000ffa05f728c00000000ff00000d0000000000fa] [2025/04/04 12:46:10.461 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [size=246] [kvs=6] [importedSize=246] [importedCount=6] [2025/04/04 12:46:10.462 +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.951044ms] [] [2025/04/04 12:46:10.463 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 12:46:10.464 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.117141ms] [] [2025/04/04 12:46:10.464 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=13] [step=import] [engine-id=0] [2025/04/04 12:46:10.464 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 12:46:10.465 +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.536385ms] [] [2025/04/04 12:46:10.465 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [2025/04/04 12:46:10.469 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 12:46:10.469 +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.686145ms] [] [2025/04/04 12:46:10.469 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 12:46:10.470 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=930.914µs] [] [2025/04/04 12:46:10.470 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=13] [step=import] [subtask-id=24] [takeTime=161.751704ms] [] [2025/04/04 12:46:10.471 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=13] [task-type=ImportInto] [server-id=:4000] [subtaskID=24] [step=import] [takeTime=162.050639ms] [] [2025/04/04 12:46:10.504 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=13] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 12:46:10.505 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=13] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:46:10.507 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=13] [curr-step=import] [next-step=post-process] [2025/04/04 12:46:10.507 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=13] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 12:46:10.537 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=13] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":6}"] [2025/04/04 12:46:10.539 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=13] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 12:46:10.539 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=13] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/04 12:46:10.576 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=13] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 12:46:10.582 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=13] [step=import] [2025/04/04 12:46:10.586 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:46:10.586 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:46:10.586 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:46:10.586 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:46:10.586 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:46:10.586 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:46:10.586 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:10.586 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:46:10.586 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-14] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:46:10.586 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:10.586 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:10.586 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:46:10.588 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:46:10.588 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:10.588 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:10.588 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:10.588 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=13] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=287.745777ms] [] [2025/04/04 12:46:10.590 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=13] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/04 12:46:10.598 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=13] [task-type=ImportInto] [server-id=:4000] [subtaskID=25] [step=post-process] [2025/04/04 12:46:10.598 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=13] [step=post-process] [subtask-id=25] [2025/04/04 12:46:10.598 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=13] [step=post-process] [subtask-id=25] [2025/04/04 12:46:10.598 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=13] [step=post-process] [subtask-id=25] [2025/04/04 12:46:10.606 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=13] [step=post-process] [subtask-id=25] [takeTime=7.388742ms] [] [2025/04/04 12:46:10.606 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=13] [step=post-process] [subtask-id=25] [groupId=-1] [size=246] [kvs=6] [checksum=5007723872062626566] [2025/04/04 12:46:10.606 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=13] [step=post-process] [subtask-id=25] [checksum="{cksum=5007723872062626566,size=246,kvs=6}"] [2025/04/04 12:46:10.606 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=13] [step=post-process] [subtask-id=25] [weight=30] [2025/04/04 12:46:10.606 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=13] [step=post-process] [subtask-id=25] [concurrency=15] [2025/04/04 12:46:10.608 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=160] [physicalTableID=160] [indexID=-1] [checksum=5007723872062626566] [totalKvs=6] [totalBytes=246] [2025/04/04 12:46:10.609 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 12:46:10.609 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=13] [step=post-process] [subtask-id=25] [local="{cksum=5007723872062626566,size=246,kvs=6}"] [2025/04/04 12:46:10.609 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=13] [step=post-process] [subtask-id=25] [takeTime=10.414388ms] [] [2025/04/04 12:46:10.609 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=13] [step=post-process] [subtask-id=25] [takeTime=10.598165ms] [] [2025/04/04 12:46:10.610 +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=11.955687ms] [] [2025/04/04 12:46:10.624 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 12:46:10.705 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=13] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 12:46:10.705 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=13] [step=post-process] [state=running] [] [2025/04/04 12:46:10.708 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=13] [2025/04/04 12:46:10.734 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=13] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=143.79692ms] [] [2025/04/04 12:46:10.734 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=13] [type=ImportInto] [2025/04/04 12:46:10.798 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=13] [2025/04/04 12:46:10.805 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 12:46:10.805 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=13] [2025/04/04 12:46:10.828 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 12:46:11.001 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.998389339\n# Parse_time: 0.000136854\n# Compile_time: 0.000516484\n# Rewrite_time: 0.00012753\n# Optimize_time: 0.000299116\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('SvBJMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5Ny40bXMsIG9wZW46OTQwbnMsIGNsb3NlOjEuMjnCtXMsIGxvb3BzOjIJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('ZfBSCmEKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWjB0aW1lOjk5Ny40bXMsIG9wZW46OTQwbnMsIGNsb3NlOjEuMjnCtXMsIGxvb3BzOjJw//////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/04 12:46:11.022 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:162, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:160, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:10.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:11.022 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:162, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:160, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:10.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/04 12:46:11.028 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=162] [conn=2] [job="ID:162, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:160, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:10.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:11.050 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=115] [neededSchemaVersion=116] ["elapsed time"=2.576122ms] [gotSchemaVersion=116] [phyTblIDs="[160]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:11.053 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=162] [version=116] [2025/04/04 12:46:11.055 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=116] ["take time"=9.560053ms] [job="ID:162, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:160, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:10.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:11.065 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=162] [conn=2] [job="ID:162, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:160, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:10.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:11.082 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=116] [neededSchemaVersion=117] ["elapsed time"=2.655023ms] [gotSchemaVersion=117] [phyTblIDs="[160]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:11.086 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=162] [version=117] [2025/04/04 12:46:11.088 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=117] ["take time"=9.614891ms] [job="ID:162, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:160, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:10.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:11.097 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=162] [conn=2] [job="ID:162, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:160, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:10.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:11.103 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 160, Old Table Name: t)"] [2025/04/04 12:46:11.117 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=117] [neededSchemaVersion=118] ["elapsed time"=1.238269ms] [gotSchemaVersion=118] [phyTblIDs="[160]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:11.120 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=162] [version=118] [2025/04/04 12:46:11.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=118] ["take time"=8.437793ms] [job="ID:162, Type:drop table, State:done, SchemaState:none, SchemaID:116, TableID:160, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:10.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:11.132 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=162] [tableIDs="[160]"] [comment="drop table: table ID"] [2025/04/04 12:46:11.136 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=162] [jobType="drop table"] [2025/04/04 12:46:11.137 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=162] [conn=2] [job="ID:162, Type:drop table, State:synced, SchemaState:none, SchemaID:116, TableID:160, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:10.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:11.155 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=162] [2025/04/04 12:46:11.156 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=118] [cur_db=import_into] [sql="drop table if exists t;"] [user=] [2025/04/04 12:46:11.169 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:169, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:163, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:11.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100), c int) partition by hash(a) partitions 5;"] [2025/04/04 12:46:11.169 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:169, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:163, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:11.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:11.175 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=169] [conn=2] [job="ID:169, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:163, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:11.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:11.180 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 163, Table Name: t)"] [2025/04/04 12:46:11.196 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=118] [neededSchemaVersion=119] ["elapsed time"=2.346219ms] [gotSchemaVersion=119] [phyTblIDs="[163,164,165,166,167,168]"] [actionTypes="[3,3,3,3,3,3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:46:11.199 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=169] [version=119] [2025/04/04 12:46:11.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=119] ["take time"=8.86033ms] [job="ID:169, Type:create table, State:done, SchemaState:public, SchemaID:116, TableID:163, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:11.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:11.212 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=169] [conn=2] [job="ID:169, Type:create table, State:synced, SchemaState:public, SchemaID:116, TableID:163, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:11.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:11.223 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=169] [2025/04/04 12:46:11.223 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=119] [cur_db=import_into] [sql="create table t (a bigint, b varchar(100), c int) partition by hash(a) partitions 5;"] [user=] [2025/04/04 12:46:11.229 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:11.276 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"columns-and-vars\":\"(`c`, `b`, `a`)\",\"file-location\":\"gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/04 12:46:11.296 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=14] [task-id=14] [data-size=63B] [thread-cnt=1] [global-sort=false] [2025/04/04 12:46:11.310 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=14] [2025/04/04 12:46:11.310 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=14] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/04 12:46:11.412 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=14] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 12:46:11.414 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=14] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:46:11.415 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=14] [curr-step=init] [next-step=import] [2025/04/04 12:46:11.423 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:11.425 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 12:46:11.425 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=63] [2025/04/04 12:46:11.426 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=63] [cost=84.087µs] [2025/04/04 12:46:11.426 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=190.231µs] [] [2025/04/04 12:46:11.426 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=14] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 12:46:11.426 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=14] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/04 12:46:11.462 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=14] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 12:46:11.482 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=14] [step=import] [2025/04/04 12:46:11.482 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:11.489 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:46:11.490 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 12:46:11.490 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:46:11.490 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:46:11.490 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:46:11.490 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:46:11.490 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:46:11.490 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:46:11.491 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:46:11.491 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:46:11.502 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:46:11.504 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 12:46:11.504 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 12:46:11.504 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=14] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 12:46:11.504 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=14] [disk-quota=348.5GiB] [2025/04/04 12:46:11.504 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=14] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/04 12:46:11.511 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=14] [task-type=ImportInto] [server-id=:4000] [subtaskID=26] [step=import] [2025/04/04 12:46:11.511 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=14] [step=import] [subtask-id=26] [2025/04/04 12:46:11.515 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 12:46:11.518 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 12:46:11.518 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=163] [2025/04/04 12:46:11.519 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=14] [mode=Import] [2025/04/04 12:46:11.537 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=14] [2025/04/04 12:46:11.593 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=163] [key=db.tbl.001.csv:0] [2025/04/04 12:46:11.595 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=163] [key=db.tbl.001.csv:0] [readDur=811.152µs] [encodeDur=257.836µs] [checksum="{cksum=16213359102171664855,size=82,kvs=2}"] [deliverDur=166.241µs] [type=file] [takeTime=1.475ms] [] [2025/04/04 12:46:11.596 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=163] [2025/04/04 12:46:11.596 +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/91d73bae-4721-4f47-a1b7-165558d2c525.sst] [firstKey=7480000000000000A55F728000000000000001] [lastKey=7480000000000000A65F728000000000000002] [2025/04/04 12:46:11.669 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=163] [key=db.tbl.002.csv:0] [2025/04/04 12:46:11.672 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=163] [key=db.tbl.002.csv:0] [readDur=839.415µs] [encodeDur=1.568274ms] [checksum="{cksum=14751810491585428438,size=82,kvs=2}"] [deliverDur=27.004µs] [type=file] [takeTime=2.65117ms] [] [2025/04/04 12:46:11.672 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=163] [2025/04/04 12:46:11.673 +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/35c63ca3-23ff-4773-988c-9676abea9d88.sst] [firstKey=7480000000000000A75F728000000000000008] [lastKey=7480000000000000A85F728000000000000009] [2025/04/04 12:46:11.719 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=163] [key=db.tbl.003.csv:0] [2025/04/04 12:46:11.721 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=163] [key=db.tbl.003.csv:0] [readDur=885.923µs] [encodeDur=165.416µs] [checksum="{cksum=11041058475576731475,size=82,kvs=2}"] [deliverDur=25.411µs] [type=file] [takeTime=1.264466ms] [] [2025/04/04 12:46:11.721 +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/49419892-a705-408d-93ed-52dc5b230572.sst] [firstKey=7480000000000000A45F72800000000000000F] [lastKey=7480000000000000A55F728000000000000010] [2025/04/04 12:46:11.722 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=14] [step=import] [engine-id=0] [2025/04/04 12:46:11.722 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=14] [step=import] [engine-id=0] [2025/04/04 12:46:11.722 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 12:46:11.725 +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.892552ms] [] [2025/04/04 12:46:11.725 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [2025/04/04 12:46:11.730 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:46:11.751 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] ["region ranges"=1] [count=6] [size=246] [2025/04/04 12:46:11.751 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:46:11.753 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000a45f72800000000000000f] [endOfAllRanges=7480000000000000a85f72800000000000000a] [startKeyOfFirstRegion=7480000000000000ffa45f728000000000ff00000f0000000000fa] [endKeyOfLastRegion=7480000000000000ffa85f728000000000ff00000a0000000000fa] [2025/04/04 12:46:11.764 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [size=246] [kvs=6] [importedSize=246] [importedCount=6] [2025/04/04 12:46:11.765 +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.599435ms] [] [2025/04/04 12:46:11.765 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 12:46:11.767 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.137913ms] [] [2025/04/04 12:46:11.767 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=14] [step=import] [engine-id=0] [2025/04/04 12:46:11.767 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 12:46:11.768 +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.665201ms] [] [2025/04/04 12:46:11.768 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [2025/04/04 12:46:11.772 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 12:46:11.772 +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.495666ms] [] [2025/04/04 12:46:11.772 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 12:46:11.773 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=824.865µs] [] [2025/04/04 12:46:11.773 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=14] [step=import] [subtask-id=26] [takeTime=261.727571ms] [] [2025/04/04 12:46:11.773 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=14] [task-type=ImportInto] [server-id=:4000] [subtaskID=26] [step=import] [takeTime=261.921763ms] [] [2025/04/04 12:46:11.816 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=14] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 12:46:11.818 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=14] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:46:11.819 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=14] [curr-step=import] [next-step=post-process] [2025/04/04 12:46:11.819 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=14] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 12:46:11.848 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=14] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":6}"] [2025/04/04 12:46:11.850 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=14] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 12:46:11.850 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=14] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/04 12:46:11.870 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=14] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 12:46:11.876 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=14] [step=import] [2025/04/04 12:46:11.879 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:46:11.879 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:46:11.879 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:46:11.879 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:46:11.879 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:46:11.879 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:46:11.879 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:11.880 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:46:11.879 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-15] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:46:11.880 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:11.880 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:11.880 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:46:11.882 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:46:11.882 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:11.882 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:11.882 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:11.882 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=14] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=377.678316ms] [] [2025/04/04 12:46:11.884 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=14] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/04 12:46:11.891 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=14] [task-type=ImportInto] [server-id=:4000] [subtaskID=27] [step=post-process] [2025/04/04 12:46:11.891 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=14] [step=post-process] [subtask-id=27] [2025/04/04 12:46:11.891 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=14] [step=post-process] [subtask-id=27] [2025/04/04 12:46:11.891 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=14] [step=post-process] [subtask-id=27] [2025/04/04 12:46:11.897 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=14] [step=post-process] [subtask-id=27] [takeTime=5.87045ms] [] [2025/04/04 12:46:11.897 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=14] [step=post-process] [subtask-id=27] [groupId=-1] [size=246] [kvs=6] [checksum=13006432450665811282] [2025/04/04 12:46:11.897 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=14] [step=post-process] [subtask-id=27] [checksum="{cksum=13006432450665811282,size=246,kvs=6}"] [2025/04/04 12:46:11.897 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=14] [step=post-process] [subtask-id=27] [weight=30] [2025/04/04 12:46:11.897 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=14] [step=post-process] [subtask-id=27] [concurrency=15] [2025/04/04 12:46:11.899 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=163] [physicalTableID=163] [indexID=-1] [checksum=0] [totalKvs=0] [totalBytes=0] [2025/04/04 12:46:11.899 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=163] [physicalTableID=165] [indexID=-1] [checksum=11108301263936872822] [totalKvs=2] [totalBytes=82] [2025/04/04 12:46:11.899 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=163] [physicalTableID=166] [indexID=-1] [checksum=2371675647220738361] [totalKvs=1] [totalBytes=41] [2025/04/04 12:46:11.899 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=163] [physicalTableID=164] [indexID=-1] [checksum=14049448901168824011] [totalKvs=1] [totalBytes=41] [2025/04/04 12:46:11.899 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=163] [physicalTableID=167] [indexID=-1] [checksum=1988465643996300784] [totalKvs=1] [totalBytes=41] [2025/04/04 12:46:11.900 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=163] [physicalTableID=168] [indexID=-1] [checksum=15501538953154248230] [totalKvs=1] [totalBytes=41] [2025/04/04 12:46:11.900 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 12:46:11.900 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=14] [step=post-process] [subtask-id=27] [local="{cksum=13006432450665811282,size=246,kvs=6}"] [2025/04/04 12:46:11.900 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=14] [step=post-process] [subtask-id=27] [takeTime=9.6246ms] [] [2025/04/04 12:46:11.900 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=14] [step=post-process] [subtask-id=27] [takeTime=9.750036ms] [] [2025/04/04 12:46:11.901 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=14] [task-type=ImportInto] [server-id=:4000] [subtaskID=27] [step=post-process] [takeTime=9.887166ms] [] [2025/04/04 12:46:11.902 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 12:46:11.917 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=14] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 12:46:11.917 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=14] [step=post-process] [state=running] [] [2025/04/04 12:46:11.920 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=14] [2025/04/04 12:46:11.944 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=14] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=60.246685ms] [] [2025/04/04 12:46:11.944 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=14] [type=ImportInto] [2025/04/04 12:46:12.012 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=14] [2025/04/04 12:46:12.018 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 12:46:12.018 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=14] [2025/04/04 12:46:12.039 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 12:46:12.213 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.989681194\n# Parse_time: 0.000117293\n# Compile_time: 0.000508891\n# Rewrite_time: 0.0000839\n# Optimize_time: 0.000877423\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4OC44bXMsIG9wZW46NjgybnMsIGNsb3NlOjk5OG5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk4OC44bXMsIG9wZW46NjgybnMsIGNsb3NlOjk5OG5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\nIMPORT INTO `import_into`.`t` (`c`,`b`,`a`) FROM 'gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1;"] [2025/04/04 12:46:12.231 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:170, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:163, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:12.194 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:12.231 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:170, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:163, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:12.194 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/04 12:46:12.236 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=170] [conn=2] [job="ID:170, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:163, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:12.194 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:12.254 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=119] [neededSchemaVersion=120] ["elapsed time"=3.136655ms] [gotSchemaVersion=120] [phyTblIDs="[163,164,165,166,167,168]"] [actionTypes="[4,4,4,4,4,4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:12.257 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=170] [version=120] [2025/04/04 12:46:12.259 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=120] ["take time"=10.122846ms] [job="ID:170, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:163, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:12.194 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:12.269 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=170] [conn=2] [job="ID:170, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:163, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:12.194 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:12.286 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=120] [neededSchemaVersion=121] ["elapsed time"=3.045276ms] [gotSchemaVersion=121] [phyTblIDs="[163,164,165,166,167,168]"] [actionTypes="[4,4,4,4,4,4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:12.289 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=170] [version=121] [2025/04/04 12:46:12.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=121] ["take time"=9.732696ms] [job="ID:170, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:163, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:12.194 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:12.299 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=170] [conn=2] [job="ID:170, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:163, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:12.194 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:12.306 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 163, Old Table Name: t)"] [2025/04/04 12:46:12.320 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=121] [neededSchemaVersion=122] ["elapsed time"=1.270929ms] [gotSchemaVersion=122] [phyTblIDs="[163,164,165,166,167,168]"] [actionTypes="[4,4,4,4,4,4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:12.324 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=170] [version=122] [2025/04/04 12:46:12.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=122] ["take time"=8.389185ms] [job="ID:170, Type:drop table, State:done, SchemaState:none, SchemaID:116, TableID:163, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:12.194 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:12.335 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=170] [tableIDs="[164,165,166,167,168]"] [comment="drop table: partition table IDs"] [2025/04/04 12:46:12.341 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=170] [tableIDs="[163]"] [comment="drop table: table ID"] [2025/04/04 12:46:12.345 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=170] [jobType="drop table"] [2025/04/04 12:46:12.346 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=170] [conn=2] [job="ID:170, Type:drop table, State:synced, SchemaState:none, SchemaID:116, TableID:163, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:12.194 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:12.363 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=170] [2025/04/04 12:46:12.364 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=122] [cur_db=import_into] [sql="drop table if exists t;"] [user=] [2025/04/04 12:46:12.377 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:177, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:12.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:12.377 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:177, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:12.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100), c int, index idx(c) global) partition by hash(a) partitions 5;"] [2025/04/04 12:46:12.383 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=177] [conn=2] [job="ID:177, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:171, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:12.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:12.388 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 171, Table Name: t)"] [2025/04/04 12:46:12.405 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=122] [neededSchemaVersion=123] ["elapsed time"=2.575957ms] [gotSchemaVersion=123] [phyTblIDs="[171,172,173,174,175,176]"] [actionTypes="[3,3,3,3,3,3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:46:12.409 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=177] [version=123] [2025/04/04 12:46:12.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=123] ["take time"=9.317582ms] [job="ID:177, Type:create table, State:done, SchemaState:public, SchemaID:116, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:12.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:12.422 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=177] [conn=2] [job="ID:177, Type:create table, State:synced, SchemaState:public, SchemaID:116, TableID:171, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:12.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:12.434 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=177] [2025/04/04 12:46:12.434 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=123] [cur_db=import_into] [sql="create table t (a bigint, b varchar(100), c int, index idx(c) global) partition by hash(a) partitions 5;"] [user=] [2025/04/04 12:46:12.440 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:12.484 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"columns-and-vars\":\"(`c`, `b`, `a`)\",\"file-location\":\"gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/04 12:46:12.504 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=15] [task-id=15] [data-size=63B] [thread-cnt=1] [global-sort=false] [2025/04/04 12:46:12.517 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=15] [2025/04/04 12:46:12.517 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=15] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/04 12:46:12.620 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=15] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 12:46:12.622 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=15] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:46:12.623 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=15] [curr-step=init] [next-step=import] [2025/04/04 12:46:12.631 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:12.635 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 12:46:12.635 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=63] [2025/04/04 12:46:12.635 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=63] [cost=76.735µs] [2025/04/04 12:46:12.635 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=176.382µs] [] [2025/04/04 12:46:12.635 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=15] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 12:46:12.635 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=15] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/04 12:46:12.672 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=15] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 12:46:12.692 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=15] [step=import] [2025/04/04 12:46:12.693 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:12.700 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:46:12.701 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 12:46:12.701 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:46:12.701 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:46:12.701 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:46:12.701 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:46:12.701 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:46:12.701 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:46:12.702 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:46:12.702 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:46:12.715 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:46:12.716 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 12:46:12.716 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 12:46:12.717 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=15] [step=import] [data-buf-limit=236.3MiB] [per-index-buf-limit=78.77MiB] [index-buf-block-size=16MiB] [2025/04/04 12:46:12.717 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=15] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/04 12:46:12.717 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=15] [disk-quota=348.5GiB] [2025/04/04 12:46:12.725 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=15] [task-type=ImportInto] [server-id=:4000] [subtaskID=28] [step=import] [2025/04/04 12:46:12.725 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=15] [step=import] [subtask-id=28] [2025/04/04 12:46:12.727 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=15] [mode=Import] [2025/04/04 12:46:12.729 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 12:46:12.732 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 12:46:12.732 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=171] [2025/04/04 12:46:12.746 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=15] [2025/04/04 12:46:12.761 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=171] [key=db.tbl.001.csv:0] [2025/04/04 12:46:12.763 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=171] [key=db.tbl.001.csv:0] [readDur=1.365048ms] [encodeDur=418.573µs] [checksum="{cksum=1662318414680892248,size=176,kvs=4}"] [deliverDur=579.491µs] [type=file] [takeTime=2.689962ms] [] [2025/04/04 12:46:12.765 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=171] [2025/04/04 12:46:12.765 +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/01575ff2-7832-4c08-9e7d-a3626bba1f95.sst] [firstKey=7480000000000000AD5F728000000000000001] [lastKey=7480000000000000AE5F728000000000000002] [2025/04/04 12:46:12.812 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=171] [key=db.tbl.002.csv:0] [2025/04/04 12:46:12.814 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=171] [key=db.tbl.002.csv:0] [readDur=932.309µs] [encodeDur=425.259µs] [checksum="{cksum=4412110495057608976,size=176,kvs=4}"] [deliverDur=43.108µs] [type=file] [takeTime=1.806566ms] [] [2025/04/04 12:46:12.816 +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/526a28ba-6116-4b22-b1a3-77348b905076.sst] [firstKey=7480000000000000AF5F728000000000000008] [lastKey=7480000000000000B05F728000000000000009] [2025/04/04 12:46:12.816 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=171] [2025/04/04 12:46:12.960 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=171] [key=db.tbl.003.csv:0] [2025/04/04 12:46:12.962 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=171] [key=db.tbl.003.csv:0] [readDur=1.100614ms] [encodeDur=315.304µs] [checksum="{cksum=7701721142981934355,size=176,kvs=4}"] [deliverDur=32.103µs] [type=file] [takeTime=1.789969ms] [] [2025/04/04 12:46:12.963 +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/9d16784b-e2bc-4148-ae02-68a67fb16369.sst] [firstKey=7480000000000000AC5F72800000000000000F] [lastKey=7480000000000000AD5F728000000000000010] [2025/04/04 12:46:12.964 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=15] [step=import] [engine-id=0] [2025/04/04 12:46:12.964 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=15] [step=import] [engine-id=0] [2025/04/04 12:46:12.964 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 12:46:12.967 +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.253614ms] [] [2025/04/04 12:46:12.967 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [2025/04/04 12:46:12.972 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:46:12.993 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] ["region ranges"=1] [count=6] [size=246] [2025/04/04 12:46:12.994 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:46:12.995 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000ac5f72800000000000000f] [endOfAllRanges=7480000000000000b05f72800000000000000a] [startKeyOfFirstRegion=7480000000000000ffac5f728000000000ff00000f0000000000fa] [endKeyOfLastRegion=7480000000000000ffb05f728000000000ff00000a0000000000fa] [2025/04/04 12:46:13.008 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [size=246] [kvs=6] [importedSize=246] [importedCount=6] [2025/04/04 12:46:13.009 +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.70288ms] [] [2025/04/04 12:46:13.009 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 12:46:13.010 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.124384ms] [] [2025/04/04 12:46:13.010 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=15] [step=import] [engine-id=0] [2025/04/04 12:46:13.010 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 12:46:13.012 +00:00] [INFO] [engine.go:1695] ["compact sst"] [category=ddl-ingest] [fileCount=3] [size=282] [count=6] [cost=1.336012ms] [file=/tmp/tidb/import-4000/15/2d9462f7-8d8a-52db-8655-8d0214d0d974.sst/21849f5a-e9a2-4d0b-9d2d-2bff017c3e47.sst] [2025/04/04 12:46:13.012 +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/21849f5a-e9a2-4d0b-9d2d-2bff017c3e47.sst] [firstKey=7480000000000000AB5F698000000000000001038000000000000001038000000000000001] [lastKey=7480000000000000AB5F698000000000000001038000000000000006038000000000000010] [2025/04/04 12:46:13.014 +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.710053ms] [] [2025/04/04 12:46:13.014 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [2025/04/04 12:46:13.019 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:46:13.040 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=2d9462f7-8d8a-52db-8655-8d0214d0d974] ["region ranges"=1] [count=6] [size=282] [2025/04/04 12:46:13.041 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:46:13.042 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000ab5f698000000000000001038000000000000001038000000000000001] [endOfAllRanges=7480000000000000ab5f69800000000000000103800000000000000603800000000000001000] [startKeyOfFirstRegion=7480000000000000ffab5f698000000000ff0000010380000000ff0000000103800000ff0000000001000000fc] [endKeyOfLastRegion=7480000000000000ffab5f698000000000ff0000010380000000ff0000000603800000ff0000000010000000fd] [2025/04/04 12:46:13.053 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=2d9462f7-8d8a-52db-8655-8d0214d0d974] [size=282] [kvs=6] [importedSize=282] [importedCount=6] [2025/04/04 12:46:13.055 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [takeTime=41.197206ms] [] [2025/04/04 12:46:13.055 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 12:46:13.056 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=1.085719ms] [] [2025/04/04 12:46:13.057 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=15] [step=import] [subtask-id=28] [takeTime=331.29512ms] [] [2025/04/04 12:46:13.057 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=15] [task-type=ImportInto] [server-id=:4000] [subtaskID=28] [step=import] [takeTime=331.823178ms] [] [2025/04/04 12:46:13.125 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=15] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 12:46:13.127 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=15] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:46:13.129 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=15] [curr-step=import] [next-step=post-process] [2025/04/04 12:46:13.129 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=15] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 12:46:13.158 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=15] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":6}"] [2025/04/04 12:46:13.160 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=15] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 12:46:13.161 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=15] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/04 12:46:13.199 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=15] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 12:46:13.207 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=15] [step=import] [2025/04/04 12:46:13.211 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:46:13.211 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:46:13.211 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:46:13.211 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:46:13.211 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:46:13.211 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:46:13.211 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:46:13.211 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:13.211 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-16] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:46:13.211 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:13.212 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:13.212 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:46:13.214 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:46:13.214 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:13.214 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:13.214 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:13.214 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=15] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=497.531976ms] [] [2025/04/04 12:46:13.216 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=15] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/04 12:46:13.224 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=15] [task-type=ImportInto] [server-id=:4000] [subtaskID=29] [step=post-process] [2025/04/04 12:46:13.224 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=15] [step=post-process] [subtask-id=29] [2025/04/04 12:46:13.224 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=15] [step=post-process] [subtask-id=29] [2025/04/04 12:46:13.224 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=15] [step=post-process] [subtask-id=29] [2025/04/04 12:46:13.230 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=15] [step=post-process] [subtask-id=29] [takeTime=5.852611ms] [] [2025/04/04 12:46:13.230 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=15] [step=post-process] [subtask-id=29] [groupId=-1] [size=246] [kvs=6] [checksum=15435699723023344983] [2025/04/04 12:46:13.230 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=15] [step=post-process] [subtask-id=29] [groupId=1] [size=282] [kvs=6] [checksum=10880652011295013388] [2025/04/04 12:46:13.230 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=15] [step=post-process] [subtask-id=29] [checksum="{cksum=4668341958182575963,size=528,kvs=12}"] [2025/04/04 12:46:13.230 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=15] [step=post-process] [subtask-id=29] [weight=30] [2025/04/04 12:46:13.230 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=15] [step=post-process] [subtask-id=29] [concurrency=15] [2025/04/04 12:46:13.237 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=171] [physicalTableID=172] [indexID=-1] [checksum=4237504610754446731] [totalKvs=1] [totalBytes=41] [2025/04/04 12:46:13.237 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=171] [physicalTableID=172] [indexID=1] [checksum=0] [totalKvs=0] [totalBytes=0] [2025/04/04 12:46:13.238 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=171] [physicalTableID=173] [indexID=-1] [checksum=11108301263936872822] [totalKvs=2] [totalBytes=82] [2025/04/04 12:46:13.238 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=171] [physicalTableID=173] [indexID=1] [checksum=0] [totalKvs=0] [totalBytes=0] [2025/04/04 12:46:13.238 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=171] [physicalTableID=171] [indexID=-1] [checksum=0] [totalKvs=0] [totalBytes=0] [2025/04/04 12:46:13.238 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=171] [physicalTableID=171] [indexID=1] [checksum=10880652011295013388] [totalKvs=6] [totalBytes=282] [2025/04/04 12:46:13.238 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=171] [physicalTableID=174] [indexID=-1] [checksum=15627185901153243769] [totalKvs=1] [totalBytes=41] [2025/04/04 12:46:13.238 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=171] [physicalTableID=174] [indexID=1] [checksum=0] [totalKvs=0] [totalBytes=0] [2025/04/04 12:46:13.239 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=171] [physicalTableID=175] [indexID=1] [checksum=0] [totalKvs=0] [totalBytes=0] [2025/04/04 12:46:13.239 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=171] [physicalTableID=175] [indexID=-1] [checksum=16406466517589687984] [totalKvs=1] [totalBytes=41] [2025/04/04 12:46:13.239 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=171] [physicalTableID=176] [indexID=1] [checksum=0] [totalKvs=0] [totalBytes=0] [2025/04/04 12:46:13.239 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=171] [physicalTableID=176] [indexID=-1] [checksum=5593806493376572771] [totalKvs=1] [totalBytes=41] [2025/04/04 12:46:13.239 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 12:46:13.239 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=15] [step=post-process] [subtask-id=29] [local="{cksum=4668341958182575963,size=528,kvs=12}"] [2025/04/04 12:46:13.240 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=15] [step=post-process] [subtask-id=29] [takeTime=15.36458ms] [] [2025/04/04 12:46:13.240 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=15] [step=post-process] [subtask-id=29] [takeTime=15.540102ms] [] [2025/04/04 12:46:13.240 +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=15.688103ms] [] [2025/04/04 12:46:13.263 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 12:46:13.326 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=15] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 12:46:13.326 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=15] [step=post-process] [state=running] [] [2025/04/04 12:46:13.329 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=15] [2025/04/04 12:46:13.359 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=15] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=142.987098ms] [] [2025/04/04 12:46:13.359 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=15] [type=ImportInto] [2025/04/04 12:46:13.419 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=15] [2025/04/04 12:46:13.420 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.98606728\n# Parse_time: 0.000105142\n# Compile_time: 0.000505985\n# Rewrite_time: 0.000083956\n# Optimize_time: 0.00033964\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('SvBJMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4NS4xbXMsIG9wZW46NzAxbnMsIGNsb3NlOjEuMjLCtXMsIGxvb3BzOjIJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('ZfBSCmEKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWjB0aW1lOjk4NS4xbXMsIG9wZW46NzAxbnMsIGNsb3NlOjEuMjLCtXMsIGxvb3BzOjJw//////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;"] [2025/04/04 12:46:13.426 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 12:46:13.426 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=15] --- PASS: TestImportInto/TestBasicImportInto (17.88s) === NAME TestImportInto === RUN TestImportInto/TestCancelJob [2025/04/04 12:46:13.428 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=123] [cur_db=import_into] [sql="drop database if exists test_cancel_job"] [user=] [2025/04/04 12:46:13.440 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:179, Type:create schema, State:queueing, SchemaState:none, SchemaID:178, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:13.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:13.440 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:179, Type:create schema, State:queueing, SchemaState:none, SchemaID:178, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:13.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database test_cancel_job"] [2025/04/04 12:46:13.446 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=179] [conn=2] [job="ID:179, Type:create schema, State:queueing, SchemaState:none, SchemaID:178, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:13.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:13.448 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 12:46:13.458 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=123] [neededSchemaVersion=124] ["elapsed time"=672.128µs] [gotSchemaVersion=124] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 12:46:13.462 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=179] [version=124] [2025/04/04 12:46:13.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=124] ["take time"=7.536328ms] [job="ID:179, Type:create schema, State:done, SchemaState:public, SchemaID:178, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:13.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:13.474 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=179] [conn=2] [job="ID:179, Type:create schema, State:synced, SchemaState:public, SchemaID:178, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:13.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:13.483 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=179] [2025/04/04 12:46:13.483 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=124] [cur_db=import_into] [sql="create database test_cancel_job"] [user=] [2025/04/04 12:46:13.496 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:181, Type:create table, State:queueing, SchemaState:none, SchemaID:178, TableID:180, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:13.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t1 (i INT PRIMARY KEY);"] [2025/04/04 12:46:13.496 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:181, Type:create table, State:queueing, SchemaState:none, SchemaID:178, TableID:180, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:13.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:13.501 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=181] [conn=2] [job="ID:181, Type:create table, State:queueing, SchemaState:none, SchemaID:178, TableID:180, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:13.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:13.505 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 180, Table Name: t1)"] [2025/04/04 12:46:13.519 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=124] [neededSchemaVersion=125] ["elapsed time"=1.510916ms] [gotSchemaVersion=125] [phyTblIDs="[180]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:46:13.522 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=181] [version=125] [2025/04/04 12:46:13.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=125] ["take time"=8.458662ms] [job="ID:181, Type:create table, State:done, SchemaState:public, SchemaID:178, TableID:180, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:13.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:13.535 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=181] [conn=2] [job="ID:181, Type:create table, State:synced, SchemaState:public, SchemaID:178, TableID:180, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:13.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:13.546 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=181] [2025/04/04 12:46:13.547 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=125] [cur_db=test_cancel_job] [sql="CREATE TABLE t1 (i INT PRIMARY KEY);"] [user=] [2025/04/04 12:46:13.558 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:183, Type:create table, State:queueing, SchemaState:none, SchemaID:178, TableID:182, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:13.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:13.558 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:183, Type:create table, State:queueing, SchemaState:none, SchemaID:178, TableID:182, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:13.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t2 (i INT PRIMARY KEY);"] [2025/04/04 12:46:13.563 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=183] [conn=2] [job="ID:183, Type:create table, State:queueing, SchemaState:none, SchemaID:178, TableID:182, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:13.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:13.568 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 182, Table Name: t2)"] [2025/04/04 12:46:13.581 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=125] [neededSchemaVersion=126] ["elapsed time"=1.321725ms] [gotSchemaVersion=126] [phyTblIDs="[182]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:46:13.584 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=183] [version=126] [2025/04/04 12:46:13.586 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=126] ["take time"=7.564388ms] [job="ID:183, Type:create table, State:done, SchemaState:public, SchemaID:178, TableID:182, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:13.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:13.597 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=183] [conn=2] [job="ID:183, Type:create table, State:synced, SchemaState:public, SchemaID:178, TableID:182, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:13.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:13.608 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=183] [2025/04/04 12:46:13.608 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=126] [cur_db=test_cancel_job] [sql="CREATE TABLE t2 (i INT PRIMARY KEY);"] [user=] [2025/04/04 12:46:13.695 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=126] [cur_db=test_cancel_job] [sql="DROP USER IF EXISTS 'test_cancel_job1'@'localhost';"] [user=] [2025/04/04 12:46:13.737 +00:00] [INFO] [session.go:4118] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=126] ["secure text"="create user test_cancel_job1@localhost"] [user=] [2025/04/04 12:46:13.780 +00:00] [INFO] [session.go:4118] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=126] ["secure text"="GRANT SELECT,UPDATE,INSERT,DELETE,ALTER on test_cancel_job.* to 'test_cancel_job1'@'localhost'"] [user=] [2025/04/04 12:46:13.835 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=126] [cur_db=test_cancel_job] [sql="DROP USER IF EXISTS 'test_cancel_job2'@'localhost';"] [user=] [2025/04/04 12:46:13.869 +00:00] [INFO] [session.go:4118] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=126] ["secure text"="create user test_cancel_job2@localhost"] [user=] [2025/04/04 12:46:13.911 +00:00] [INFO] [session.go:4118] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=126] ["secure text"="GRANT SELECT,UPDATE,INSERT,DELETE,ALTER on test_cancel_job.* to 'test_cancel_job2'@'localhost'"] [user=] [2025/04/04 12:46:13.913 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/04 12:46:13.913 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=126] [error="[executor:8170]Job ID 9999999999 doesn't exist"] [errorVerbose="[executor:8170]Job ID 9999999999 doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/executor/importer.GetJob\n\tpkg/executor/importer/job.go:151\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoActionExec).checkPrivilegeAndStatus.func1\n\tpkg/executor/import_into.go:375\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).WithNewSession\n\tpkg/disttask/framework/storage/task_table.go:169\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoActionExec).checkPrivilegeAndStatus\n\tpkg/executor/import_into.go:372\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoActionExec).Next\n\tpkg/executor/import_into.go:358\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:1022\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:855\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:618\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ntests/realtikvtest/importintotest/importintotest_test.(*mockGCSSuite).TestCancelJob\n\ttests/realtikvtest/importintotest/job_test.go:402\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [session="{\n \"currDBName\": \"test_cancel_job\",\n \"id\": 2,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2025/04/04 12:46:13.919 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:13.963 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test_cancel_job/t.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"detached\":null}}"] [dist-task-enabled=true] [2025/04/04 12:46:13.979 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=16] [task-id=16] [data-size=3B] [thread-cnt=26] [global-sort=false] [2025/04/04 12:46:13.992 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=16] [2025/04/04 12:46:13.992 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=16] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/04 12:46:14.094 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=16] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 12:46:14.095 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=16] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:46:14.096 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=16] [curr-step=init] [next-step=import] [2025/04/04 12:46:14.103 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:14.105 +00:00] [INFO] [import_into.go:362] ["import into action start"] [jobID=16] [action="\"cancel\""] [2025/04/04 12:46:14.105 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t1] [2025/04/04 12:46:14.105 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t1] [before=536870912000] [after=3] [2025/04/04 12:46:14.105 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t1] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=3] [cost=39.721µs] [2025/04/04 12:46:14.106 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t1] [takeTime=141.821µs] [] [2025/04/04 12:46:14.106 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=16] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 12:46:14.106 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=16] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/04 12:46:14.194 +00:00] [INFO] [scheduler.go:152] ["task state/step changed by user or other scheduler"] [task-id=16] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [old-state=running] [new-state=cancelling] [old-step=import] [new-step=init] [2025/04/04 12:46:14.196 +00:00] [INFO] [scheduler.go:269] ["on cancelling state"] [task-id=16] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=cancelling] [step=init] [2025/04/04 12:46:14.299 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=16] [step=init] [state=reverting] [error="cancelled by user"] [errorVerbose="cancelled by user\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).onCancelling\n\tpkg/disttask/framework/scheduler/scheduler.go:272\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).scheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:199\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).ScheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:121\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*Manager).startScheduler.func1\n\tpkg/disttask/framework/scheduler/scheduler_manager.go:357\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:46:14.301 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=16] [step=init] [mode=Normal] [2025/04/04 12:46:14.394 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=16] [2025/04/04 12:46:14.400 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 12:46:14.400 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=16] [2025/04/04 12:46:14.418 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 12:46:14.428 +00:00] [INFO] [import_into.go:365] ["import into action completed"] [jobID=16] [action="\"cancel\""] [takeTime=323.032047ms] [] [2025/04/04 12:46:14.428 +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.325690549\n# Parse_time: 0.000043026\n# Compile_time: 0.000269739\n# Rewrite_time: 0.000001803\n# Optimize_time: 0.00069396\n# Wait_TS: 0\n# DB: test_cancel_job\n# Is_internal: false\n# Digest: 385c1fb0f1877fcd1132bb40d62e02e866f0e27765127b1859c6f3db4b0f4443\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nuse test_cancel_job;\ncancel import job 16;"] [2025/04/04 12:46:14.943 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/04 12:46:14.944 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=126] [error="[executor:8171]The current job status cannot perform the operation. CANCEL"] [session="{\n \"currDBName\": \"test_cancel_job\",\n \"id\": 2,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": {\n \"Username\": \"test_cancel_job1\",\n \"Hostname\": \"localhost\",\n \"CurrentUser\": false,\n \"AuthUsername\": \"test_cancel_job1\",\n \"AuthHostname\": \"localhost\",\n \"AuthPlugin\": \"\"\n }\n}"] [2025/04/04 12:46:14.946 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/04 12:46:14.946 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=126] [error="[planner:1227]Access denied; you need (at least one of) the SUPER privilege(s) for this operation"] [errorVerbose="[planner:1227]Access denied; you need (at least one of) the SUPER privilege(s) for this operation\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/executor/importer.GetJob\n\tpkg/executor/importer/job.go:159\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoActionExec).checkPrivilegeAndStatus.func1\n\tpkg/executor/import_into.go:375\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).WithNewSession\n\tpkg/disttask/framework/storage/task_table.go:169\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoActionExec).checkPrivilegeAndStatus\n\tpkg/executor/import_into.go:372\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoActionExec).Next\n\tpkg/executor/import_into.go:358\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:1022\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:855\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:618\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ntests/realtikvtest/importintotest/importintotest_test.(*mockGCSSuite).TestCancelJob\n\ttests/realtikvtest/importintotest/job_test.go:450\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [session="{\n \"currDBName\": \"test_cancel_job\",\n \"id\": 2,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": {\n \"Username\": \"test_cancel_job2\",\n \"Hostname\": \"localhost\",\n \"CurrentUser\": false,\n \"AuthUsername\": \"test_cancel_job2\",\n \"AuthHostname\": \"localhost\",\n \"AuthPlugin\": \"\"\n }\n}"] [2025/04/04 12:46:14.949 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/04 12:46:14.949 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=126] [error="[executor:8171]The current job status cannot perform the operation. CANCEL"] [session="{\n \"currDBName\": \"test_cancel_job\",\n \"id\": 2,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": {\n \"Username\": \"root\",\n \"Hostname\": \"localhost\",\n \"CurrentUser\": false,\n \"AuthUsername\": \"root\",\n \"AuthHostname\": \"%\",\n \"AuthPlugin\": \"\"\n }\n}"] [2025/04/04 12:46:14.955 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:15.004 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test_cancel_job/t.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"detached\":null}}"] [dist-task-enabled=true] [2025/04/04 12:46:15.022 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=17] [task-id=17] [data-size=3B] [thread-cnt=26] [global-sort=false] [2025/04/04 12:46:15.084 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=17] [2025/04/04 12:46:15.085 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=17] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/04 12:46:15.187 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=17] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 12:46:15.187 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=17] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:46:15.188 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=17] [curr-step=init] [next-step=import] [2025/04/04 12:46:15.196 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:15.200 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t2] [2025/04/04 12:46:15.200 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t2] [before=536870912000] [after=3] [2025/04/04 12:46:15.200 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t2] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=3] [cost=67.029µs] [2025/04/04 12:46:15.200 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t2] [takeTime=175.709µs] [] [2025/04/04 12:46:15.200 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=17] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 12:46:15.200 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=17] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/04 12:46:15.231 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=17] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 12:46:15.250 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=17] [step=import] [2025/04/04 12:46:15.251 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:15.259 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:46:15.259 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 12:46:15.259 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:46:15.259 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:46:15.259 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:46:15.259 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:46:15.260 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:46:15.260 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:46:15.260 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:46:15.260 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:46:15.272 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:46:15.274 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 12:46:15.274 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t2] [quota=374.2GB] [2025/04/04 12:46:15.274 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=17] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 12:46:15.274 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t2] [import-id=17] [disk-quota=348.5GiB] [2025/04/04 12:46:15.274 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=17] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 12:46:15.281 +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/04 12:46:15.281 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=17] [step=import] [subtask-id=30] [2025/04/04 12:46:15.285 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`test_cancel_job`.`t2`:0] [engineUUID=53400eb2-f75b-5777-a5ee-cfa50fd4a756] [2025/04/04 12:46:15.289 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`test_cancel_job`.`t2`:-1] [engineUUID=3b791ee0-18d2-5a77-83dc-792402f82bf3] [2025/04/04 12:46:15.289 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=182] [2025/04/04 12:46:15.293 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=17] [mode=Import] [2025/04/04 12:46:15.311 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=17] [2025/04/04 12:46:15.319 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=182] [key=t.csv:0] [2025/04/04 12:46:15.321 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=182] [key=t.csv:0] [readDur=965.229µs] [encodeDur=220.398µs] [checksum="{cksum=7435750759411199284,size=50,kvs=2}"] [deliverDur=272.264µs] [type=file] [takeTime=1.749068ms] [] [2025/04/04 12:46:15.322 +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/8697fdbe-3de6-4b2c-8fc5-f54e7c767249.sst] [firstKey=7480000000000000B65F728000000000000001] [lastKey=7480000000000000B65F728000000000000002] [2025/04/04 12:46:15.322 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=17] [step=import] [engine-id=0] [2025/04/04 12:46:15.322 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=17] [step=import] [engine-id=0] [2025/04/04 12:46:15.322 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`test_cancel_job`.`t2`:0] [engineUUID=53400eb2-f75b-5777-a5ee-cfa50fd4a756] [2025/04/04 12:46:15.324 +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=1.937308ms] [] [2025/04/04 12:46:15.325 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`test_cancel_job`.`t2`:0] [engineUUID=53400eb2-f75b-5777-a5ee-cfa50fd4a756] [retryCnt=0] [2025/04/04 12:46:15.329 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:46:15.350 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=53400eb2-f75b-5777-a5ee-cfa50fd4a756] ["region ranges"=1] [count=2] [size=50] [2025/04/04 12:46:15.351 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:46:15.353 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000b65f728000000000000001] [endOfAllRanges=7480000000000000b65f728000000000000003] [startKeyOfFirstRegion=7480000000000000ffb65f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffb65f728000000000ff0000030000000000fa] [2025/04/04 12:46:15.365 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=53400eb2-f75b-5777-a5ee-cfa50fd4a756] [size=50] [kvs=2] [importedSize=50] [importedCount=2] [2025/04/04 12:46:15.367 +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=42.470069ms] [] [2025/04/04 12:46:15.367 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`test_cancel_job`.`t2`:0] [engineUUID=53400eb2-f75b-5777-a5ee-cfa50fd4a756] [2025/04/04 12:46:15.368 +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.171319ms] [] [2025/04/04 12:46:15.368 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=17] [step=import] [engine-id=0] [2025/04/04 12:46:15.368 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`test_cancel_job`.`t2`:-1] [engineUUID=3b791ee0-18d2-5a77-83dc-792402f82bf3] [2025/04/04 12:46:15.370 +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.603911ms] [] [2025/04/04 12:46:15.370 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`test_cancel_job`.`t2`:-1] [engineUUID=3b791ee0-18d2-5a77-83dc-792402f82bf3] [retryCnt=0] [2025/04/04 12:46:15.374 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=3b791ee0-18d2-5a77-83dc-792402f82bf3] [2025/04/04 12:46:15.374 +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.558618ms] [] [2025/04/04 12:46:15.374 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`test_cancel_job`.`t2`:-1] [engineUUID=3b791ee0-18d2-5a77-83dc-792402f82bf3] [2025/04/04 12:46:15.375 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`test_cancel_job`.`t2`:-1] [engineUUID=3b791ee0-18d2-5a77-83dc-792402f82bf3] [takeTime=797.303µs] [] [2025/04/04 12:46:15.375 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=17] [step=import] [subtask-id=30] [takeTime=93.240714ms] [] [2025/04/04 12:46:15.375 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=17] [task-type=ImportInto] [server-id=:4000] [subtaskID=30] [step=import] [takeTime=93.40438ms] [] [2025/04/04 12:46:15.392 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=17] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 12:46:15.392 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=17] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:46:15.393 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=17] [curr-step=import] [next-step=post-process] [2025/04/04 12:46:15.393 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=17] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 12:46:15.425 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=17] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/04 12:46:15.426 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=17] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 12:46:15.426 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=17] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=26] [subtasks=1] [2025/04/04 12:46:15.458 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=17] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 12:46:15.465 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=17] [step=import] [2025/04/04 12:46:15.467 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:46:15.467 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:46:15.468 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:46:15.468 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:46:15.468 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:46:15.468 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:46:15.468 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:46:15.468 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:15.468 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-17] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:46:15.468 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:15.468 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:15.468 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:46:15.470 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:46:15.470 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:15.470 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:15.470 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:15.470 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=17] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=195.878ms] [] [2025/04/04 12:46:15.471 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=17] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 12:46:15.485 +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/04 12:46:15.485 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=17] [step=post-process] [subtask-id=31] [2025/04/04 12:46:15.489 +00:00] [INFO] [import_into.go:362] ["import into action start"] [jobID=17] [action="\"cancel\""] [2025/04/04 12:46:15.587 +00:00] [INFO] [scheduler.go:152] ["task state/step changed by user or other scheduler"] [task-id=17] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [old-state=running] [new-state=cancelling] [old-step=post-process] [new-step=post-process] [2025/04/04 12:46:15.590 +00:00] [INFO] [scheduler.go:269] ["on cancelling state"] [task-id=17] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=cancelling] [step=post-process] [2025/04/04 12:46:15.609 +00:00] [INFO] [manager.go:235] [onCanceledTasks] [server-id=:4000] [task-id=17] [2025/04/04 12:46:15.692 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=17] [step=post-process] [state=reverting] [error="cancelled by user"] [errorVerbose="cancelled by user\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).onCancelling\n\tpkg/disttask/framework/scheduler/scheduler.go:272\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).scheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:199\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).ScheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:121\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*Manager).startScheduler.func1\n\tpkg/disttask/framework/scheduler/scheduler_manager.go:357\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:46:15.693 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=17] [step=post-process] [mode=Normal] [2025/04/04 12:46:15.698 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=17] [2025/04/04 12:46:15.787 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=17] [2025/04/04 12:46:15.793 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 12:46:15.793 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=17] [2025/04/04 12:46:15.813 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 12:46:15.815 +00:00] [INFO] [import_into.go:365] ["import into action completed"] [jobID=17] [action="\"cancel\""] [takeTime=326.159655ms] [] [2025/04/04 12:46:15.815 +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.329858439\n# Parse_time: 0.000361271\n# Compile_time: 0.000456007\n# Rewrite_time: 0.000002464\n# Optimize_time: 0.000214041\n# Wait_TS: 0\n# DB: test_cancel_job\n# Is_internal: false\n# Digest: 385c1fb0f1877fcd1132bb40d62e02e866f0e27765127b1859c6f3db4b0f4443\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\ncancel import job 17;"] [2025/04/04 12:46:15.994 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=17] [step=post-process] [subtask-id=31] [2025/04/04 12:46:15.995 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=17] [step=post-process] [subtask-id=31] [2025/04/04 12:46:15.995 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=17] [step=post-process] [subtask-id=31] [takeTime=16.484µs] [] [2025/04/04 12:46:15.995 +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/04 12:46:15.995 +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/04 12:46:15.995 +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/04 12:46:15.995 +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/04 12:46:15.995 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 12:46:15.995 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 12:46:15.996 +00:00] [WARN] [txn.go:692] ["wait tso failed"] [error="context canceled"] [errorVerbose="context canceled\ngithub.com/tikv/pd/client/clients/tso.(*Request).waitCtx\n\texternal/com_github_tikv_pd_client/clients/tso/request.go:86\ngithub.com/tikv/pd/client/clients/tso.(*Request).Wait\n\texternal/com_github_tikv_pd_client/clients/tso/request.go:73\ngithub.com/tikv/client-go/v2/util.interceptedTsFuture.Wait\n\texternal/com_github_tikv_client_go_v2/util/pd_interceptor.go:81\ngithub.com/tikv/client-go/v2/oracle/oracles.(*tsFuture).Wait\n\texternal/com_github_tikv_client_go_v2/oracle/oracles/pd.go:239\ngithub.com/pingcap/tidb/pkg/session.(*txnFuture).wait\n\tpkg/session/txn.go:684\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).changePendingToValid\n\tpkg/session/txn.go:293\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Wait\n\tpkg/session/txn.go:609\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*baseTxnContextProvider).ActivateTxn\n\tpkg/sessiontxn/isolation/base.go:299\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*baseTxnContextProvider).GetStmtReadTS\n\tpkg/sessiontxn/isolation/base.go:189\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*OptimisticTxnContextProvider).GetStmtReadTS\n\tpkg/sessiontxn/isolation/optimistic.go:111\ngithub.com/pingcap/tidb/pkg/session.(*txnManager).GetStmtReadTS\n\tpkg/session/txnmanager.go:98\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).getSnapshotTS\n\tpkg/executor/builder.go:2142\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).buildChecksumTable\n\tpkg/executor/builder.go:735\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).build\n\tpkg/executor/builder.go:177\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).buildExecutor\n\tpkg/executor/adapter.go:1234\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:575\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/util/sqlexec.ExecSQL\n\tpkg/util/sqlexec/restricted_sql_executor.go:256\ngithub.com/pingcap/tidb/pkg/executor/importer.checksumTable.func4\n\tpkg/executor/importer/table_import.go:906\ngithub.com/pingcap/tidb/pkg/executor/importer.checksumTable\n\tpkg/executor/importer/table_import.go:933\ngithub.com/pingcap/tidb/pkg/executor/importer.VerifyChecksum\n\tpkg/executor/importer/table_import.go:841\ngithub.com/pingcap/tidb/pkg/disttask/importinto.postProcess.func2\n\tpkg/disttask/importinto/subtask_executor.go:135\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).WithNewSession\n\tpkg/disttask/framework/storage/task_table.go:169\ngithub.com/pingcap/tidb/pkg/disttask/importinto.postProcess\n\tpkg/disttask/importinto/subtask_executor.go:134\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*postProcessStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:553\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\ngithub.com/tikv/client-go/v2/oracle/oracles.(*tsFuture).Wait\n\texternal/com_github_tikv_client_go_v2/oracle/oracles/pd.go:242\ngithub.com/pingcap/tidb/pkg/session.(*txnFuture).wait\n\tpkg/session/txn.go:684\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).changePendingToValid\n\tpkg/session/txn.go:293\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Wait\n\tpkg/session/txn.go:609\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*baseTxnContextProvider).ActivateTxn\n\tpkg/sessiontxn/isolation/base.go:299\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*baseTxnContextProvider).GetStmtReadTS\n\tpkg/sessiontxn/isolation/base.go:189\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*OptimisticTxnContextProvider).GetStmtReadTS\n\tpkg/sessiontxn/isolation/optimistic.go:111\ngithub.com/pingcap/tidb/pkg/session.(*txnManager).GetStmtReadTS\n\tpkg/session/txnmanager.go:98\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).getSnapshotTS\n\tpkg/executor/builder.go:2142\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).buildChecksumTable\n\tpkg/executor/builder.go:735\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).build\n\tpkg/executor/builder.go:177\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).buildExecutor\n\tpkg/executor/adapter.go:1234\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:575\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/util/sqlexec.ExecSQL\n\tpkg/util/sqlexec/restricted_sql_executor.go:256\ngithub.com/pingcap/tidb/pkg/executor/importer.checksumTable.func4\n\tpkg/executor/importer/table_import.go:906\ngithub.com/pingcap/tidb/pkg/executor/importer.checksumTable\n\tpkg/executor/importer/table_import.go:933\ngithub.com/pingcap/tidb/pkg/executor/importer.VerifyChecksum\n\tpkg/executor/importer/table_import.go:841\ngithub.com/pingcap/tidb/pkg/disttask/importinto.postProcess.func2\n\tpkg/disttask/importinto/subtask_executor.go:135\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).WithNewSession\n\tpkg/disttask/framework/storage/task_table.go:169\ngithub.com/pingcap/tidb/pkg/disttask/importinto.postProcess\n\tpkg/disttask/importinto/subtask_executor.go:134\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*postProcessStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:553\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:46:15.998 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=182] [physicalTableID=182] [indexID=-1] [checksum=7435750759411199284] [totalKvs=2] [totalBytes=50] [2025/04/04 12:46:15.998 +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/04 12:46:15.998 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=17] [step=post-process] [subtask-id=31] [takeTime=3.674672ms] [] [2025/04/04 12:46:15.998 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=17] [step=post-process] [subtask-id=31] [takeTime=513.443837ms] [] [2025/04/04 12:46:15.998 +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.563095ms] [] [2025/04/04 12:46:16.001 +00:00] [WARN] [txn.go:692] ["wait tso failed"] [error="context canceled"] [errorVerbose="context canceled\ngithub.com/tikv/pd/client/clients/tso.(*Request).waitCtx\n\texternal/com_github_tikv_pd_client/clients/tso/request.go:86\ngithub.com/tikv/pd/client/clients/tso.(*Request).Wait\n\texternal/com_github_tikv_pd_client/clients/tso/request.go:73\ngithub.com/tikv/client-go/v2/util.interceptedTsFuture.Wait\n\texternal/com_github_tikv_client_go_v2/util/pd_interceptor.go:81\ngithub.com/tikv/client-go/v2/oracle/oracles.(*tsFuture).Wait\n\texternal/com_github_tikv_client_go_v2/oracle/oracles/pd.go:239\ngithub.com/pingcap/tidb/pkg/session.(*txnFuture).wait\n\tpkg/session/txn.go:684\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).changePendingToValid\n\tpkg/session/txn.go:293\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Wait\n\tpkg/session/txn.go:609\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*baseTxnContextProvider).ActivateTxn\n\tpkg/sessiontxn/isolation/base.go:299\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*baseTxnContextProvider).GetStmtForUpdateTS\n\tpkg/sessiontxn/isolation/base.go:201\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*OptimisticTxnContextProvider).GetStmtForUpdateTS\n\tpkg/sessiontxn/isolation/optimistic.go:119\ngithub.com/pingcap/tidb/pkg/session.(*txnManager).GetStmtForUpdateTS\n\tpkg/session/txnmanager.go:106\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).updateForUpdateTS\n\tpkg/executor/builder.go:2832\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).buildUpdate\n\tpkg/executor/builder.go:2735\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).build\n\tpkg/executor/builder.go:259\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).buildExecutor\n\tpkg/executor/adapter.go:1234\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:575\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/util/sqlexec.ExecSQL\n\tpkg/util/sqlexec/restricted_sql_executor.go:256\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).ExecuteSQLWithNewSession.func1\n\tpkg/disttask/framework/storage/task_table.go:205\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).WithNewSession\n\tpkg/disttask/framework/storage/task_table.go:169\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).ExecuteSQLWithNewSession\n\tpkg/disttask/framework/storage/task_table.go:204\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).FinishSubtask\n\tpkg/disttask/framework/storage/subtask_state.go:51\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).finishSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:681\ngithub.com/pingcap/tidb/pkg/disttask/framework/handle.RunWithRetry\n\tpkg/disttask/framework/handle/handle.go:224\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).finishSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:679\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:475\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700\ngithub.com/tikv/client-go/v2/oracle/oracles.(*tsFuture).Wait\n\texternal/com_github_tikv_client_go_v2/oracle/oracles/pd.go:242\ngithub.com/pingcap/tidb/pkg/session.(*txnFuture).wait\n\tpkg/session/txn.go:684\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).changePendingToValid\n\tpkg/session/txn.go:293\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Wait\n\tpkg/session/txn.go:609\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*baseTxnContextProvider).ActivateTxn\n\tpkg/sessiontxn/isolation/base.go:299\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*baseTxnContextProvider).GetStmtForUpdateTS\n\tpkg/sessiontxn/isolation/base.go:201\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*OptimisticTxnContextProvider).GetStmtForUpdateTS\n\tpkg/sessiontxn/isolation/optimistic.go:119\ngithub.com/pingcap/tidb/pkg/session.(*txnManager).GetStmtForUpdateTS\n\tpkg/session/txnmanager.go:106\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).updateForUpdateTS\n\tpkg/executor/builder.go:2832\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).buildUpdate\n\tpkg/executor/builder.go:2735\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).build\n\tpkg/executor/builder.go:259\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).buildExecutor\n\tpkg/executor/adapter.go:1234\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:575\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/util/sqlexec.ExecSQL\n\tpkg/util/sqlexec/restricted_sql_executor.go:256\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).ExecuteSQLWithNewSession.func1\n\tpkg/disttask/framework/storage/task_table.go:205\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).WithNewSession\n\tpkg/disttask/framework/storage/task_table.go:169\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).ExecuteSQLWithNewSession\n\tpkg/disttask/framework/storage/task_table.go:204\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).FinishSubtask\n\tpkg/disttask/framework/storage/subtask_state.go:51\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).finishSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:681\ngithub.com/pingcap/tidb/pkg/disttask/framework/handle.RunWithRetry\n\tpkg/disttask/framework/handle/handle.go:224\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).finishSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:679\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:475\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:46:16.003 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/04 12:46:16.003 +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/04 12:46:16.003 +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/04 12:46:16.004 +00:00] [ERROR] [task_executor.go:685] ["failed to finish subtask"] [task-id=17] [task-type=ImportInto] [server-id=:4000] [subtaskID=31] [takes=5.297188ms] [error="context canceled"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).finishSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:685\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:475\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/04 12:46:16.004 +00:00] [ERROR] [task_executor.go:344] ["run subtask failed"] [task-id=17] [task-type=ImportInto] [server-id=:4000] [error="context canceled"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:344\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/04 12:46:16.016 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=17] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=544.463704ms] [] [2025/04/04 12:46:16.016 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=17] [type=ImportInto] [2025/04/04 12:46:16.861 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:185, Type:truncate table, State:queueing, SchemaState:none, SchemaID:178, TableID:182, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:16.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table t2"] [2025/04/04 12:46:16.861 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:185, Type:truncate table, State:queueing, SchemaState:none, SchemaID:178, TableID:182, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:16.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:16.866 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=185] [conn=2] [job="ID:185, Type:truncate table, State:queueing, SchemaState:none, SchemaID:178, TableID:182, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:16.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:16.874 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 184, Table Name: t2, Old Table ID: 182, Old Table Name: t2)"] [2025/04/04 12:46:16.890 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=126] [neededSchemaVersion=127] ["elapsed time"=1.785939ms] [gotSchemaVersion=127] [phyTblIDs="[182,184]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 12:46:16.894 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=185] [version=127] [2025/04/04 12:46:16.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=127] ["take time"=9.505468ms] [job="ID:185, Type:truncate table, State:done, SchemaState:public, SchemaID:178, TableID:182, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:16.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:16.907 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=185] [tableIDs="[182]"] [comment="truncate table: table ID"] [2025/04/04 12:46:16.911 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=185] [jobType="truncate table"] [2025/04/04 12:46:16.912 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=185] [conn=2] [job="ID:185, Type:truncate table, State:synced, SchemaState:public, SchemaID:178, TableID:182, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:16.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:16.929 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=185] [2025/04/04 12:46:16.929 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=127] [cur_db=test_cancel_job] [sql="truncate table t2"] [user=root@%] [2025/04/04 12:46:16.936 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:16.982 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test_cancel_job/t.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"detached\":null}}"] [dist-task-enabled=true] [2025/04/04 12:46:17.001 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=18] [task-id=18] [data-size=3B] [thread-cnt=26] [global-sort=false] [2025/04/04 12:46:17.016 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=18] [2025/04/04 12:46:17.017 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=18] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/04 12:46:17.119 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=18] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 12:46:17.120 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=18] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:46:17.121 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=18] [curr-step=init] [next-step=import] [2025/04/04 12:46:17.124 +00:00] [INFO] [import_into.go:362] ["import into action start"] [jobID=18] [action="\"cancel\""] [2025/04/04 12:46:17.638 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:17.641 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t2] [2025/04/04 12:46:17.641 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t2] [before=536870912000] [after=3] [2025/04/04 12:46:17.641 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t2] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=3] [cost=111.69µs] [2025/04/04 12:46:17.641 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t2] [takeTime=232.014µs] [] [2025/04/04 12:46:17.641 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=18] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 12:46:17.641 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=18] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/04 12:46:17.657 +00:00] [INFO] [scheduler.go:152] ["task state/step changed by user or other scheduler"] [task-id=18] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [old-state=running] [new-state=cancelling] [old-step=import] [new-step=init] [2025/04/04 12:46:17.659 +00:00] [INFO] [scheduler.go:269] ["on cancelling state"] [task-id=18] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=cancelling] [step=init] [2025/04/04 12:46:17.724 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=18] [step=init] [state=reverting] [error="cancelled by user"] [errorVerbose="cancelled by user\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).onCancelling\n\tpkg/disttask/framework/scheduler/scheduler.go:272\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).scheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:199\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).ScheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:121\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*Manager).startScheduler.func1\n\tpkg/disttask/framework/scheduler/scheduler_manager.go:357\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:46:17.726 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=18] [step=init] [mode=Normal] [2025/04/04 12:46:17.747 +00:00] [INFO] [import_into.go:365] ["import into action completed"] [jobID=18] [action="\"cancel\""] [takeTime=623.516214ms] [] [2025/04/04 12:46:17.748 +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.626402032\n# Parse_time: 0.000248245\n# Compile_time: 0.000263041\n# Rewrite_time: 0.000001898\n# Optimize_time: 0.000047737\n# Wait_TS: 0\n# DB: test_cancel_job\n# Is_internal: false\n# Digest: 385c1fb0f1877fcd1132bb40d62e02e866f0e27765127b1859c6f3db4b0f4443\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\ncancel import job 18;"] --- PASS: TestImportInto/TestCancelJob (4.33s) === NAME TestImportInto === RUN TestImportInto/TestChecksumNotMatch [2025/04/04 12:46:17.762 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=127] [cur_db=test_cancel_job] [sql="drop database if exists load_data"] [user=root@%] [2025/04/04 12:46:17.774 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:187, Type:create schema, State:queueing, SchemaState:none, SchemaID:186, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:17.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:17.775 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:187, Type:create schema, State:queueing, SchemaState:none, SchemaID:186, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:17.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database load_data"] [2025/04/04 12:46:17.780 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=187] [conn=2] [job="ID:187, Type:create schema, State:queueing, SchemaState:none, SchemaID:186, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:17.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:17.794 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=127] [neededSchemaVersion=128] ["elapsed time"=730.089µs] [gotSchemaVersion=128] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 12:46:17.798 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=187] [version=128] [2025/04/04 12:46:17.800 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=128] ["take time"=8.553409ms] [job="ID:187, Type:create schema, State:done, SchemaState:public, SchemaID:186, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:17.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:17.811 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=187] [conn=2] [job="ID:187, Type:create schema, State:synced, SchemaState:public, SchemaID:186, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:17.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:17.819 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=18] [2025/04/04 12:46:17.821 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=187] [2025/04/04 12:46:17.822 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=128] [cur_db=test_cancel_job] [sql="create database load_data"] [user=root@%] [2025/04/04 12:46:17.824 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=128] [cur_db=load_data] [sql="drop table if exists t;"] [user=root@%] [2025/04/04 12:46:17.825 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 12:46:17.825 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=18] [2025/04/04 12:46:17.838 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:189, Type:create table, State:queueing, SchemaState:none, SchemaID:186, TableID:188, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:17.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:17.839 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:189, Type:create table, State:queueing, SchemaState:none, SchemaID:186, TableID:188, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:17.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint primary key, b varchar(100), c int);"] [2025/04/04 12:46:17.839 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 12:46:17.845 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=189] [conn=2] [job="ID:189, Type:create table, State:queueing, SchemaState:none, SchemaID:186, TableID:188, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:17.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:17.845 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 12:46:17.849 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 188, Table Name: t)"] [2025/04/04 12:46:17.865 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=128] [neededSchemaVersion=129] ["elapsed time"=1.797845ms] [gotSchemaVersion=129] [phyTblIDs="[188]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:46:17.869 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=189] [version=129] [2025/04/04 12:46:17.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=129] ["take time"=8.515154ms] [job="ID:189, Type:create table, State:done, SchemaState:public, SchemaID:186, TableID:188, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:17.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:17.882 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=189] [conn=2] [job="ID:189, Type:create table, State:synced, SchemaState:public, SchemaID:186, TableID:188, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:17.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:17.895 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=189] [2025/04/04 12:46:17.895 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=129] [cur_db=load_data] [sql="create table t (a bigint primary key, b varchar(100), c int);"] [user=root@%] [2025/04/04 12:46:17.902 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:17.950 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-multi-load/duplicate-pk-*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"__max_engine_size\":\"1\",\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/04 12:46:17.970 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=19] [task-id=19] [data-size=64B] [thread-cnt=1] [global-sort=false] [2025/04/04 12:46:17.985 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=19] [2025/04/04 12:46:17.985 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=19] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/04 12:46:18.087 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=19] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 12:46:18.088 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=19] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:46:18.090 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=19] [curr-step=init] [next-step=import] [2025/04/04 12:46:18.098 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:18.101 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 12:46:18.101 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=1] [after=1] [2025/04/04 12:46:18.101 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=2] [MaxChunkSize=268435456] [RegionsCount=2] [BatchSize=1] [cost=82.005µs] [2025/04/04 12:46:18.102 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=226.792µs] [] [2025/04/04 12:46:18.102 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=19] [curr-step=init] [next-step=import] [subtask-count=2] [2025/04/04 12:46:18.102 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=19] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=2] [2025/04/04 12:46:18.142 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=19] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 12:46:18.162 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=19] [step=import] [2025/04/04 12:46:18.163 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:18.174 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:46:18.174 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 12:46:18.174 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:46:18.175 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:46:18.175 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:46:18.175 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:46:18.175 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:46:18.175 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:46:18.175 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:46:18.176 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:46:18.188 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:46:18.190 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 12:46:18.190 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 12:46:18.190 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=19] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 12:46:18.190 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=19] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/04 12:46:18.190 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=19] [disk-quota=348.5GiB] [2025/04/04 12:46:18.194 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=19] [mode=Import] [2025/04/04 12:46:18.208 +00:00] [INFO] [commit.go:160] ["2PC commitTS rejected by TiKV, retry with a newer commitTS"] [txnStartTS=457119046865518604] [info="{StartTs:457119046865518604 AttemptedCommitTs:457119046878887939 Key:748000fffffffffffa5f728000000000000020 MinCommitTs:457119046878887941}"] [2025/04/04 12:46:18.209 +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/04 12:46:18.210 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=19] [step=import] [subtask-id=32] [2025/04/04 12:46:18.213 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=19] [2025/04/04 12:46:18.213 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 12:46:18.217 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 12:46:18.217 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=188] [2025/04/04 12:46:18.253 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=188] [key=duplicate-pk-01.csv:0] [2025/04/04 12:46:18.255 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=188] [key=duplicate-pk-01.csv:0] [readDur=1.003804ms] [encodeDur=287.565µs] [checksum="{cksum=9995179725697843932,size=111,kvs=3}"] [deliverDur=687.27µs] [type=file] [takeTime=2.297642ms] [] [2025/04/04 12:46:18.256 +00:00] [WARN] [engine.go:1462] ["duplicated key found, skip write"] [category=ddl-ingest] [key=7480000000000000BC5F728000000000000002] [2025/04/04 12:46:18.256 +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/ae9a4fbf-da03-46d4-90dd-3b2751501d14.sst] [firstKey=7480000000000000BC5F728000000000000001] [lastKey=7480000000000000BC5F728000000000000002] [2025/04/04 12:46:18.257 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=19] [step=import] [engine-id=0] [2025/04/04 12:46:18.257 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=19] [step=import] [engine-id=0] [2025/04/04 12:46:18.257 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 12:46:18.259 +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.181558ms] [] [2025/04/04 12:46:18.259 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [retryCnt=0] [2025/04/04 12:46:18.263 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:46:18.285 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] ["region ranges"=1] [count=3] [size=74] [2025/04/04 12:46:18.285 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:46:18.287 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000bc5f728000000000000001] [endOfAllRanges=7480000000000000bc5f728000000000000003] [startKeyOfFirstRegion=7480000000000000ffbc5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffbc5f728000000000ff0000030000000000fa] [2025/04/04 12:46:18.298 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] [size=74] [kvs=3] [importedSize=74] [importedCount=2] [2025/04/04 12:46:18.300 +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.363696ms] [] [2025/04/04 12:46:18.300 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 12:46:18.301 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=1.046275ms] [] [2025/04/04 12:46:18.302 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=19] [step=import] [engine-id=0] [2025/04/04 12:46:18.302 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 12:46:18.303 +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.585519ms] [] [2025/04/04 12:46:18.303 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [retryCnt=0] [2025/04/04 12:46:18.307 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 12:46:18.307 +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.784244ms] [] [2025/04/04 12:46:18.307 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 12:46:18.308 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=1.028756ms] [] [2025/04/04 12:46:18.308 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=19] [step=import] [subtask-id=32] [takeTime=98.797528ms] [] [2025/04/04 12:46:18.308 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=19] [task-type=ImportInto] [server-id=:4000] [subtaskID=32] [step=import] [takeTime=98.941156ms] [] [2025/04/04 12:46:18.332 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=19] [task-type=ImportInto] [server-id=:4000] [subtaskID=33] [step=import] [2025/04/04 12:46:18.332 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=19] [step=import] [subtask-id=33] [2025/04/04 12:46:18.336 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:1] [engineUUID=790a6a8f-6378-5243-b426-00d5655f2c86] [2025/04/04 12:46:18.339 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-2] [engineUUID=01f37b49-4958-5126-821d-b51976443d4b] [2025/04/04 12:46:18.339 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=188] [2025/04/04 12:46:18.372 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=188] [key=duplicate-pk-02.csv:0] [2025/04/04 12:46:18.373 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=188] [key=duplicate-pk-02.csv:0] [readDur=977.808µs] [encodeDur=271.401µs] [checksum="{cksum=10482263666873131380,size=111,kvs=3}"] [deliverDur=23.996µs] [type=file] [takeTime=1.539043ms] [] [2025/04/04 12:46:18.374 +00:00] [WARN] [engine.go:1462] ["duplicated key found, skip write"] [category=ddl-ingest] [key=7480000000000000BC5F728000000000000004] [2025/04/04 12:46:18.374 +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/4b33d3d4-7391-43ca-9d76-ef953c789805.sst] [firstKey=7480000000000000BC5F728000000000000004] [lastKey=7480000000000000BC5F728000000000000006] [2025/04/04 12:46:18.374 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=19] [step=import] [engine-id=1] [2025/04/04 12:46:18.375 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=19] [step=import] [engine-id=1] [2025/04/04 12:46:18.375 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:1] [engineUUID=790a6a8f-6378-5243-b426-00d5655f2c86] [2025/04/04 12:46:18.377 +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.403079ms] [] [2025/04/04 12:46:18.377 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:1] [engineUUID=790a6a8f-6378-5243-b426-00d5655f2c86] [retryCnt=0] [2025/04/04 12:46:18.381 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:46:18.403 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=790a6a8f-6378-5243-b426-00d5655f2c86] ["region ranges"=1] [count=3] [size=74] [2025/04/04 12:46:18.403 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:46:18.405 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000bc5f728000000000000004] [endOfAllRanges=7480000000000000bc5f728000000000000007] [startKeyOfFirstRegion=7480000000000000ffbc5f728000000000ff0000040000000000fa] [endKeyOfLastRegion=7480000000000000ffbc5f728000000000ff0000070000000000fa] [2025/04/04 12:46:18.416 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=790a6a8f-6378-5243-b426-00d5655f2c86] [size=74] [kvs=3] [importedSize=74] [importedCount=2] [2025/04/04 12:46:18.417 +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.063048ms] [] [2025/04/04 12:46:18.417 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:1] [engineUUID=790a6a8f-6378-5243-b426-00d5655f2c86] [2025/04/04 12:46:18.418 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:1] [engineUUID=790a6a8f-6378-5243-b426-00d5655f2c86] [takeTime=1.115401ms] [] [2025/04/04 12:46:18.418 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=19] [step=import] [engine-id=1] [2025/04/04 12:46:18.419 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-2] [engineUUID=01f37b49-4958-5126-821d-b51976443d4b] [2025/04/04 12:46:18.420 +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.49166ms] [] [2025/04/04 12:46:18.420 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-2] [engineUUID=01f37b49-4958-5126-821d-b51976443d4b] [retryCnt=0] [2025/04/04 12:46:18.424 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=01f37b49-4958-5126-821d-b51976443d4b] [2025/04/04 12:46:18.424 +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.673673ms] [] [2025/04/04 12:46:18.424 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-2] [engineUUID=01f37b49-4958-5126-821d-b51976443d4b] [2025/04/04 12:46:18.425 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-2] [engineUUID=01f37b49-4958-5126-821d-b51976443d4b] [takeTime=867.46µs] [] [2025/04/04 12:46:18.425 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=19] [step=import] [subtask-id=33] [takeTime=92.846838ms] [] [2025/04/04 12:46:18.425 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=19] [task-type=ImportInto] [server-id=:4000] [subtaskID=33] [step=import] [takeTime=92.992346ms] [] [2025/04/04 12:46:18.492 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=19] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 12:46:18.493 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=19] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:46:18.494 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=19] [curr-step=import] [next-step=post-process] [2025/04/04 12:46:18.494 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=19] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 12:46:18.524 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=19] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":4}"] [2025/04/04 12:46:18.525 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=19] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 12:46:18.526 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=19] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/04 12:46:18.545 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=19] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 12:46:18.551 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=19] [step=import] [2025/04/04 12:46:18.555 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:46:18.555 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:46:18.555 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:46:18.555 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:46:18.555 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:46:18.555 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:46:18.556 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:18.556 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:46:18.555 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-18] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:46:18.556 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:18.556 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:18.556 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:46:18.558 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:46:18.558 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:18.558 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:18.558 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:18.558 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=19] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=368.012561ms] [] [2025/04/04 12:46:18.559 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=19] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/04 12:46:18.567 +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/04 12:46:18.567 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=19] [step=post-process] [subtask-id=34] [2025/04/04 12:46:18.567 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=19] [step=post-process] [subtask-id=34] [2025/04/04 12:46:18.567 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=19] [step=post-process] [subtask-id=34] [2025/04/04 12:46:18.567 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=19] [step=post-process] [subtask-id=34] [takeTime=1.742µs] [] [2025/04/04 12:46:18.567 +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/04 12:46:18.567 +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/04 12:46:18.567 +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/04 12:46:18.567 +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/04 12:46:18.569 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=188] [physicalTableID=188] [indexID=-1] [checksum=13563575747806423567] [totalKvs=4] [totalBytes=148] [2025/04/04 12:46:18.569 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 12:46:18.570 +00:00] [ERROR] [subtask_executor.go:103] ["post process failed"] [type=ImportInto] [task-id=19] [step=post-process] [subtask-id=34] [takeTime=2.714665ms] [error="[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 13563575747806423567 vs 2003671119719883688) (total_kvs: 4 vs 6) (total_bytes:148 vs 222)"] [stack="github.com/pingcap/tidb/pkg/disttask/importinto.postProcess.func1\n\tpkg/disttask/importinto/subtask_executor.go:103\ngithub.com/pingcap/tidb/pkg/disttask/importinto.postProcess\n\tpkg/disttask/importinto/subtask_executor.go:134\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*postProcessStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:553\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/04 12:46:18.570 +00:00] [ERROR] [task_executor.go:544] ["run subtask failed"] [type=ImportInto] [task-id=19] [step=post-process] [subtask-id=34] [takeTime=2.993109ms] [error="[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 13563575747806423567 vs 2003671119719883688) (total_kvs: 4 vs 6) (total_bytes:148 vs 222)"] [stack="github.com/pingcap/tidb/pkg/disttask/importinto.(*postProcessStepExecutor).RunSubtask.func1\n\tpkg/disttask/importinto/task_executor.go:544\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*postProcessStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:553\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/04 12:46:18.570 +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.230825ms] [error="[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 13563575747806423567 vs 2003671119719883688) (total_kvs: 4 vs 6) (total_bytes:148 vs 222)"] [errorVerbose="[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 13563575747806423567 vs 2003671119719883688) (total_kvs: 4 vs 6) (total_bytes:148 vs 222)\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/executor/importer.VerifyChecksum\n\tpkg/executor/importer/table_import.go:850\ngithub.com/pingcap/tidb/pkg/disttask/importinto.postProcess.func2\n\tpkg/disttask/importinto/subtask_executor.go:135\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).WithNewSession\n\tpkg/disttask/framework/storage/task_table.go:169\ngithub.com/pingcap/tidb/pkg/disttask/importinto.postProcess\n\tpkg/disttask/importinto/subtask_executor.go:134\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*postProcessStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:553\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:46:18.570 +00:00] [WARN] [task_executor.go:706] ["subtask failed"] [task-id=19] [task-type=ImportInto] [server-id=:4000] [error="[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 13563575747806423567 vs 2003671119719883688) (total_kvs: 4 vs 6) (total_bytes:148 vs 222)"] [errorVerbose="[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 13563575747806423567 vs 2003671119719883688) (total_kvs: 4 vs 6) (total_bytes:148 vs 222)\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/executor/importer.VerifyChecksum\n\tpkg/executor/importer/table_import.go:850\ngithub.com/pingcap/tidb/pkg/disttask/importinto.postProcess.func2\n\tpkg/disttask/importinto/subtask_executor.go:135\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).WithNewSession\n\tpkg/disttask/framework/storage/task_table.go:169\ngithub.com/pingcap/tidb/pkg/disttask/importinto.postProcess\n\tpkg/disttask/importinto/subtask_executor.go:134\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*postProcessStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:553\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:46:18.577 +00:00] [ERROR] [task_executor.go:344] ["run subtask failed"] [task-id=19] [task-type=ImportInto] [server-id=:4000] [error="[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 13563575747806423567 vs 2003671119719883688) (total_kvs: 4 vs 6) (total_bytes:148 vs 222)"] [errorVerbose="[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 13563575747806423567 vs 2003671119719883688) (total_kvs: 4 vs 6) (total_bytes:148 vs 222)\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/executor/importer.VerifyChecksum\n\tpkg/executor/importer/table_import.go:850\ngithub.com/pingcap/tidb/pkg/disttask/importinto.postProcess.func2\n\tpkg/disttask/importinto/subtask_executor.go:135\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).WithNewSession\n\tpkg/disttask/framework/storage/task_table.go:169\ngithub.com/pingcap/tidb/pkg/disttask/importinto.postProcess\n\tpkg/disttask/importinto/subtask_executor.go:134\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*postProcessStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:553\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:344\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/04 12:46:18.587 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 12:46:18.596 +00:00] [WARN] [scheduler.go:389] ["subtasks encounter errors"] [task-id=19] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [subtask-errs="[\"{error=\\\"[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 13563575747806423567 vs 2003671119719883688) (total_kvs: 4 vs 6) (total_bytes:148 vs 222)\\\"}\"]"] [2025/04/04 12:46:18.607 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=19] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=47.169785ms] [] [2025/04/04 12:46:18.607 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=19] [type=ImportInto] [2025/04/04 12:46:18.692 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=19] [step=post-process] [state=reverting] [error="[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 13563575747806423567 vs 2003671119719883688) (total_kvs: 4 vs 6) (total_bytes:148 vs 222)"] [2025/04/04 12:46:18.693 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=19] [step=post-process] [mode=Normal] [2025/04/04 12:46:18.698 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=19] [2025/04/04 12:46:18.787 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=19] [2025/04/04 12:46:18.792 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 12:46:18.793 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=19] [2025/04/04 12:46:18.815 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 12:46:18.886 +00:00] [ERROR] [handle.go:110] ["task reverted"] [task-id=19] [error="[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 13563575747806423567 vs 2003671119719883688) (total_kvs: 4 vs 6) (total_bytes:148 vs 222)"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/handle.WaitTaskDoneOrPaused\n\tpkg/disttask/framework/handle/handle.go:110\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoExec).waitTask\n\tpkg/executor/import_into.go:233\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoExec).Next\n\tpkg/executor/import_into.go:137\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*recordSet).Next\n\tpkg/executor/adapter.go:172\ngithub.com/pingcap/tidb/pkg/session.GetRows4Test\n\tpkg/session/tidb.go:343\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).QueryToErr\n\tpkg/testkit/testkit.go:304\ntests/realtikvtest/importintotest/importintotest_test.(*mockGCSSuite).TestChecksumNotMatch\n\ttests/realtikvtest/importintotest/import_into_test.go:756\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690"] [2025/04/04 12:46:18.887 +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.991367191\n# Parse_time: 0.000222111\n# Compile_time: 0.000658426\n# Rewrite_time: 0.000184505\n# Optimize_time: 0.000044116\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('SvBJMAk1OV8yCTAJMAlOL0EJMAl0aW1lOjk5MC4ybXMsIG9wZW46Njk4bnMsIGNsb3NlOjEuMDTCtXMsIGxvb3BzOjEJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjgBQAFSA04vQVowdGltZTo5OTAuMm1zLCBvcGVuOjY5OG5zLCBjbG9zZToxLjA0wrVzLCBsb29wczoxcP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\nuse load_data;\nIMPORT INTO `load_data`.`t` FROM 'gs://test-multi-load/duplicate-pk-*.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1, __max_engine_size=_UTF8MB4'1';"] [2025/04/04 12:46:18.902 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:191, Type:truncate table, State:queueing, SchemaState:none, SchemaID:186, TableID:188, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:18.894 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:18.902 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:191, Type:truncate table, State:queueing, SchemaState:none, SchemaID:186, TableID:188, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:18.894 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table t;"] [2025/04/04 12:46:18.907 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=191] [conn=2] [job="ID:191, Type:truncate table, State:queueing, SchemaState:none, SchemaID:186, TableID:188, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:18.894 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:18.915 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 190, Table Name: t, Old Table ID: 188, Old Table Name: t)"] [2025/04/04 12:46:18.931 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=129] [neededSchemaVersion=130] ["elapsed time"=1.76424ms] [gotSchemaVersion=130] [phyTblIDs="[188,190]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 12:46:18.934 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=191] [version=130] [2025/04/04 12:46:18.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=130] ["take time"=8.522054ms] [job="ID:191, Type:truncate table, State:done, SchemaState:public, SchemaID:186, TableID:188, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:18.894 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:18.946 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=191] [tableIDs="[188]"] [comment="truncate table: table ID"] [2025/04/04 12:46:18.950 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=191] [jobType="truncate table"] [2025/04/04 12:46:18.951 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=191] [conn=2] [job="ID:191, Type:truncate table, State:synced, SchemaState:public, SchemaID:186, TableID:188, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:18.894 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:18.968 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=191] [2025/04/04 12:46:18.968 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=130] [cur_db=load_data] [sql="truncate table t;"] [user=root@%] [2025/04/04 12:46:18.974 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:19.018 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-multi-load/duplicate-pk-*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"__max_engine_size\":\"1\",\"checksum_table\":\"off\",\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/04 12:46:19.036 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=20] [task-id=20] [data-size=64B] [thread-cnt=1] [global-sort=false] [2025/04/04 12:46:19.050 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=20] [2025/04/04 12:46:19.050 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=20] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/04 12:46:19.152 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=20] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 12:46:19.153 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=20] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:46:19.154 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=20] [curr-step=init] [next-step=import] [2025/04/04 12:46:19.162 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:19.165 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 12:46:19.165 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=1] [after=1] [2025/04/04 12:46:19.165 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=2] [MaxChunkSize=268435456] [RegionsCount=2] [BatchSize=1] [cost=73.674µs] [2025/04/04 12:46:19.165 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=170.315µs] [] [2025/04/04 12:46:19.165 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=20] [curr-step=init] [next-step=import] [subtask-count=2] [2025/04/04 12:46:19.165 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=20] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=2] [2025/04/04 12:46:19.202 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=20] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 12:46:19.221 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=20] [step=import] [2025/04/04 12:46:19.222 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:19.229 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:46:19.229 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 12:46:19.230 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:46:19.230 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:46:19.230 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:46:19.230 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:46:19.230 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:46:19.230 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:46:19.231 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:46:19.231 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:46:19.243 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:46:19.245 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 12:46:19.245 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 12:46:19.245 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=20] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 12:46:19.245 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=20] [disk-quota=348.5GiB] [2025/04/04 12:46:19.245 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=20] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/04 12:46:19.252 +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/04 12:46:19.252 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=20] [step=import] [subtask-id=35] [2025/04/04 12:46:19.255 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 12:46:19.258 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=20] [mode=Import] [2025/04/04 12:46:19.259 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 12:46:19.259 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=190] [2025/04/04 12:46:19.277 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=20] [2025/04/04 12:46:19.282 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=190] [key=duplicate-pk-01.csv:0] [2025/04/04 12:46:19.284 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=190] [key=duplicate-pk-01.csv:0] [readDur=934.637µs] [encodeDur=268.033µs] [checksum="{cksum=10356916929083451793,size=111,kvs=3}"] [deliverDur=135.601µs] [type=file] [takeTime=1.58423ms] [] [2025/04/04 12:46:19.284 +00:00] [WARN] [engine.go:1462] ["duplicated key found, skip write"] [category=ddl-ingest] [key=7480000000000000BE5F728000000000000002] [2025/04/04 12:46:19.285 +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/ee10bea6-543b-4b2f-9864-a7c390b820c3.sst] [firstKey=7480000000000000BE5F728000000000000001] [lastKey=7480000000000000BE5F728000000000000002] [2025/04/04 12:46:19.285 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=20] [step=import] [engine-id=0] [2025/04/04 12:46:19.285 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=20] [step=import] [engine-id=0] [2025/04/04 12:46:19.285 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 12:46:19.287 +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.143546ms] [] [2025/04/04 12:46:19.287 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [retryCnt=0] [2025/04/04 12:46:19.291 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:46:19.312 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] ["region ranges"=1] [count=3] [size=74] [2025/04/04 12:46:19.312 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:46:19.314 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000be5f728000000000000001] [endOfAllRanges=7480000000000000be5f728000000000000003] [startKeyOfFirstRegion=7480000000000000ffbe5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffbe5f728000000000ff0000030000000000fa] [2025/04/04 12:46:19.325 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] [size=74] [kvs=3] [importedSize=74] [importedCount=2] [2025/04/04 12:46:19.327 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [retryCnt=0] [takeTime=39.982381ms] [] [2025/04/04 12:46:19.327 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 12:46:19.328 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=1.064723ms] [] [2025/04/04 12:46:19.328 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=20] [step=import] [engine-id=0] [2025/04/04 12:46:19.328 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 12:46:19.330 +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.410016ms] [] [2025/04/04 12:46:19.330 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [retryCnt=0] [2025/04/04 12:46:19.333 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 12:46:19.333 +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.521014ms] [] [2025/04/04 12:46:19.333 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 12:46:19.334 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=820.081µs] [] [2025/04/04 12:46:19.334 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=20] [step=import] [subtask-id=35] [takeTime=82.570514ms] [] [2025/04/04 12:46:19.335 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=20] [task-type=ImportInto] [server-id=:4000] [subtaskID=35] [step=import] [takeTime=82.712402ms] [] [2025/04/04 12:46:19.356 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=20] [task-type=ImportInto] [server-id=:4000] [subtaskID=36] [step=import] [2025/04/04 12:46:19.356 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=20] [step=import] [subtask-id=36] [2025/04/04 12:46:19.361 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:1] [engineUUID=790a6a8f-6378-5243-b426-00d5655f2c86] [2025/04/04 12:46:19.364 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-2] [engineUUID=01f37b49-4958-5126-821d-b51976443d4b] [2025/04/04 12:46:19.365 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=190] [2025/04/04 12:46:19.416 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=190] [key=duplicate-pk-02.csv:0] [2025/04/04 12:46:19.417 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=190] [key=duplicate-pk-02.csv:0] [readDur=943.341µs] [encodeDur=397.279µs] [checksum="{cksum=10697545922510015033,size=111,kvs=3}"] [deliverDur=28.043µs] [type=file] [takeTime=1.588506ms] [] [2025/04/04 12:46:19.418 +00:00] [WARN] [engine.go:1462] ["duplicated key found, skip write"] [category=ddl-ingest] [key=7480000000000000BE5F728000000000000004] [2025/04/04 12:46:19.418 +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/9df65651-37dc-4020-afcf-4b99dc491d54.sst] [firstKey=7480000000000000BE5F728000000000000004] [lastKey=7480000000000000BE5F728000000000000006] [2025/04/04 12:46:19.418 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=20] [step=import] [engine-id=1] [2025/04/04 12:46:19.418 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=20] [step=import] [engine-id=1] [2025/04/04 12:46:19.418 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:1] [engineUUID=790a6a8f-6378-5243-b426-00d5655f2c86] [2025/04/04 12:46:19.420 +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.91454ms] [] [2025/04/04 12:46:19.420 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:1] [engineUUID=790a6a8f-6378-5243-b426-00d5655f2c86] [retryCnt=0] [2025/04/04 12:46:19.425 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:46:19.447 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=790a6a8f-6378-5243-b426-00d5655f2c86] ["region ranges"=1] [count=3] [size=74] [2025/04/04 12:46:19.447 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:46:19.449 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000be5f728000000000000004] [endOfAllRanges=7480000000000000be5f728000000000000007] [startKeyOfFirstRegion=7480000000000000ffbe5f728000000000ff0000040000000000fa] [endKeyOfLastRegion=7480000000000000ffbe5f728000000000ff0000070000000000fa] [2025/04/04 12:46:19.460 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=790a6a8f-6378-5243-b426-00d5655f2c86] [size=74] [kvs=3] [importedSize=74] [importedCount=2] [2025/04/04 12:46:19.461 +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.794493ms] [] [2025/04/04 12:46:19.461 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:1] [engineUUID=790a6a8f-6378-5243-b426-00d5655f2c86] [2025/04/04 12:46:19.462 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:1] [engineUUID=790a6a8f-6378-5243-b426-00d5655f2c86] [takeTime=1.039819ms] [] [2025/04/04 12:46:19.463 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=20] [step=import] [engine-id=1] [2025/04/04 12:46:19.463 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-2] [engineUUID=01f37b49-4958-5126-821d-b51976443d4b] [2025/04/04 12:46:19.464 +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.374972ms] [] [2025/04/04 12:46:19.464 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-2] [engineUUID=01f37b49-4958-5126-821d-b51976443d4b] [retryCnt=0] [2025/04/04 12:46:19.468 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=01f37b49-4958-5126-821d-b51976443d4b] [2025/04/04 12:46:19.468 +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.745258ms] [] [2025/04/04 12:46:19.468 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-2] [engineUUID=01f37b49-4958-5126-821d-b51976443d4b] [2025/04/04 12:46:19.469 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-2] [engineUUID=01f37b49-4958-5126-821d-b51976443d4b] [takeTime=928.83µs] [] [2025/04/04 12:46:19.469 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=20] [step=import] [subtask-id=36] [takeTime=112.606721ms] [] [2025/04/04 12:46:19.469 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=20] [task-type=ImportInto] [server-id=:4000] [subtaskID=36] [step=import] [takeTime=112.766207ms] [] [2025/04/04 12:46:19.557 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=20] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 12:46:19.559 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=20] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:46:19.560 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=20] [curr-step=import] [next-step=post-process] [2025/04/04 12:46:19.560 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=20] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 12:46:19.590 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=20] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":4}"] [2025/04/04 12:46:19.591 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=20] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 12:46:19.591 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=20] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/04 12:46:19.616 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=20] [task-type=ImportInto] [server-id=:4000] [2025/04/04 12:46:19.616 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=20] [step=import] [2025/04/04 12:46:19.622 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:46:19.622 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:46:19.622 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:46:19.622 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:46:19.622 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:46:19.622 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:46:19.622 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:19.622 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:46:19.622 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-19] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:46:19.623 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:19.623 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:19.623 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:46:19.626 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:46:19.626 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:19.626 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:19.626 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:19.626 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=20] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=381.370388ms] [] [2025/04/04 12:46:19.626 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=20] [type=ImportInto] [2025/04/04 12:46:19.636 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=20] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 12:46:19.656 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=20] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/04 12:46:19.664 +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/04 12:46:19.664 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=20] [step=post-process] [subtask-id=37] [2025/04/04 12:46:19.664 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=20] [step=post-process] [subtask-id=37] [2025/04/04 12:46:19.664 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=20] [step=post-process] [subtask-id=37] [2025/04/04 12:46:19.664 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=20] [step=post-process] [subtask-id=37] [takeTime=2.118µs] [] [2025/04/04 12:46:19.664 +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/04 12:46:19.664 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=20] [step=post-process] [subtask-id=37] [takeTime=140.337µs] [] [2025/04/04 12:46:19.664 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=20] [step=post-process] [subtask-id=37] [takeTime=255.704µs] [] [2025/04/04 12:46:19.664 +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=376.988µs] [] [2025/04/04 12:46:19.758 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=20] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 12:46:19.758 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=20] [step=post-process] [state=running] [] [2025/04/04 12:46:19.760 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=20] [2025/04/04 12:46:19.783 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=20] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=126.223115ms] [] [2025/04/04 12:46:19.783 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=20] [type=ImportInto] [2025/04/04 12:46:19.852 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=20] [2025/04/04 12:46:19.858 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 12:46:19.858 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=20] [2025/04/04 12:46:19.879 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 12:46:19.952 +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.982884899\n# Parse_time: 0.000159417\n# Compile_time: 0.000559578\n# Rewrite_time: 0.00016601\n# Optimize_time: 0.000243782\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('SvBJMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4MS45bXMsIG9wZW46NzE1bnMsIGNsb3NlOjEuMDXCtXMsIGxvb3BzOjIJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('ZfBSCmEKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWjB0aW1lOjk4MS45bXMsIG9wZW46NzE1bnMsIGNsb3NlOjEuMDXCtXMsIGxvb3BzOjJw//////8BAzQBeP///////////wEYAQ==')\n# Resource_group: default\nIMPORT INTO `load_data`.`t` FROM 'gs://test-multi-load/duplicate-pk-*.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1, checksum_table=_UTF8MB4'off', __max_engine_size=_UTF8MB4'1';"] [2025/04/04 12:46:19.967 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:193, Type:truncate table, State:queueing, SchemaState:none, SchemaID:186, TableID:190, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:19.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:19.967 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:193, Type:truncate table, State:queueing, SchemaState:none, SchemaID:186, TableID:190, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:19.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table t;"] [2025/04/04 12:46:19.973 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=193] [conn=2] [job="ID:193, Type:truncate table, State:queueing, SchemaState:none, SchemaID:186, TableID:190, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:19.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:19.980 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 192, Table Name: t, Old Table ID: 190, Old Table Name: t)"] [2025/04/04 12:46:19.996 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=130] [neededSchemaVersion=131] ["elapsed time"=1.92951ms] [gotSchemaVersion=131] [phyTblIDs="[190,192]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 12:46:19.999 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=193] [version=131] [2025/04/04 12:46:20.001 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=131] ["take time"=9.286912ms] [job="ID:193, Type:truncate table, State:done, SchemaState:public, SchemaID:186, TableID:190, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:19.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:20.012 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=193] [tableIDs="[190]"] [comment="truncate table: table ID"] [2025/04/04 12:46:20.016 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=193] [jobType="truncate table"] [2025/04/04 12:46:20.017 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=193] [conn=2] [job="ID:193, Type:truncate table, State:synced, SchemaState:public, SchemaID:186, TableID:190, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:19.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:20.034 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=193] [2025/04/04 12:46:20.035 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=131] [cur_db=load_data] [sql="truncate table t;"] [user=root@%] [2025/04/04 12:46:20.040 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:20.087 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-multi-load/duplicate-pk-*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"__max_engine_size\":\"1\",\"checksum_table\":\"optional\",\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/04 12:46:20.107 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=21] [task-id=21] [data-size=64B] [thread-cnt=1] [global-sort=false] [2025/04/04 12:46:20.121 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=21] [2025/04/04 12:46:20.121 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=21] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/04 12:46:20.223 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=21] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 12:46:20.225 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=21] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:46:20.226 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=21] [curr-step=init] [next-step=import] [2025/04/04 12:46:20.233 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:20.236 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 12:46:20.236 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=1] [after=1] [2025/04/04 12:46:20.236 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=2] [MaxChunkSize=268435456] [RegionsCount=2] [BatchSize=1] [cost=68.022µs] [2025/04/04 12:46:20.236 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=198.142µs] [] [2025/04/04 12:46:20.236 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=21] [curr-step=init] [next-step=import] [subtask-count=2] [2025/04/04 12:46:20.236 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=21] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=2] [2025/04/04 12:46:20.272 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=21] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 12:46:20.292 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=21] [step=import] [2025/04/04 12:46:20.293 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:20.301 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:46:20.301 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 12:46:20.302 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:46:20.302 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:46:20.302 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:46:20.302 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:46:20.302 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:46:20.302 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:46:20.303 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:46:20.303 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:46:20.314 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:46:20.316 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 12:46:20.316 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 12:46:20.316 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=21] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 12:46:20.316 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=21] [disk-quota=348.5GiB] [2025/04/04 12:46:20.316 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=21] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/04 12:46:20.324 +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/04 12:46:20.324 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=21] [step=import] [subtask-id=38] [2025/04/04 12:46:20.329 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 12:46:20.331 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=21] [mode=Import] [2025/04/04 12:46:20.332 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 12:46:20.333 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=192] [2025/04/04 12:46:20.351 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=21] [2025/04/04 12:46:20.418 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=192] [key=duplicate-pk-01.csv:0] [2025/04/04 12:46:20.421 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=192] [key=duplicate-pk-01.csv:0] [readDur=987.528µs] [encodeDur=1.580864ms] [checksum="{cksum=5586236619367349866,size=111,kvs=3}"] [deliverDur=159.344µs] [type=file] [takeTime=3.010322ms] [] [2025/04/04 12:46:20.421 +00:00] [WARN] [engine.go:1462] ["duplicated key found, skip write"] [category=ddl-ingest] [key=7480000000000000C05F728000000000000002] [2025/04/04 12:46:20.422 +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/4013d993-af7f-4b9b-8fab-ab8a70b445a7.sst] [firstKey=7480000000000000C05F728000000000000001] [lastKey=7480000000000000C05F728000000000000002] [2025/04/04 12:46:20.422 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=21] [step=import] [engine-id=0] [2025/04/04 12:46:20.422 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=21] [step=import] [engine-id=0] [2025/04/04 12:46:20.422 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 12:46:20.424 +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.023845ms] [] [2025/04/04 12:46:20.424 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [retryCnt=0] [2025/04/04 12:46:20.428 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:46:20.450 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] ["region ranges"=1] [count=3] [size=74] [2025/04/04 12:46:20.450 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:46:20.452 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000c05f728000000000000001] [endOfAllRanges=7480000000000000c05f728000000000000003] [startKeyOfFirstRegion=7480000000000000ffc05f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffc05f728000000000ff0000030000000000fa] [2025/04/04 12:46:20.463 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] [size=74] [kvs=3] [importedSize=74] [importedCount=2] [2025/04/04 12:46:20.465 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [retryCnt=0] [takeTime=40.506007ms] [] [2025/04/04 12:46:20.465 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 12:46:20.466 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=1.069133ms] [] [2025/04/04 12:46:20.466 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=21] [step=import] [engine-id=0] [2025/04/04 12:46:20.466 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 12:46:20.468 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=1.698668ms] [] [2025/04/04 12:46:20.468 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [retryCnt=0] [2025/04/04 12:46:20.471 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 12:46:20.471 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [retryCnt=0] [takeTime=3.647881ms] [] [2025/04/04 12:46:20.471 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 12:46:20.472 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=900.045µs] [] [2025/04/04 12:46:20.473 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=21] [step=import] [subtask-id=38] [takeTime=148.795876ms] [] [2025/04/04 12:46:20.473 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=21] [task-type=ImportInto] [server-id=:4000] [subtaskID=38] [step=import] [takeTime=148.940132ms] [] [2025/04/04 12:46:20.494 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=21] [task-type=ImportInto] [server-id=:4000] [subtaskID=39] [step=import] [2025/04/04 12:46:20.494 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=21] [step=import] [subtask-id=39] [2025/04/04 12:46:20.498 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:1] [engineUUID=790a6a8f-6378-5243-b426-00d5655f2c86] [2025/04/04 12:46:20.501 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-2] [engineUUID=01f37b49-4958-5126-821d-b51976443d4b] [2025/04/04 12:46:20.501 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=192] [2025/04/04 12:46:20.535 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=192] [key=duplicate-pk-02.csv:0] [2025/04/04 12:46:20.537 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=192] [key=duplicate-pk-02.csv:0] [readDur=860.236µs] [encodeDur=597.163µs] [checksum="{cksum=6217277421343186370,size=111,kvs=3}"] [deliverDur=28.129µs] [type=file] [takeTime=1.661489ms] [] [2025/04/04 12:46:20.537 +00:00] [WARN] [engine.go:1462] ["duplicated key found, skip write"] [category=ddl-ingest] [key=7480000000000000C05F728000000000000004] [2025/04/04 12:46:20.538 +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/4564ee30-9e7c-4b28-bbbd-7adac15c9112.sst] [firstKey=7480000000000000C05F728000000000000004] [lastKey=7480000000000000C05F728000000000000006] [2025/04/04 12:46:20.538 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=21] [step=import] [engine-id=1] [2025/04/04 12:46:20.538 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=21] [step=import] [engine-id=1] [2025/04/04 12:46:20.538 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:1] [engineUUID=790a6a8f-6378-5243-b426-00d5655f2c86] [2025/04/04 12:46:20.540 +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.969909ms] [] [2025/04/04 12:46:20.540 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:1] [engineUUID=790a6a8f-6378-5243-b426-00d5655f2c86] [retryCnt=0] [2025/04/04 12:46:20.544 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:46:20.567 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=790a6a8f-6378-5243-b426-00d5655f2c86] ["region ranges"=1] [count=3] [size=74] [2025/04/04 12:46:20.567 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:46:20.569 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000c05f728000000000000004] [endOfAllRanges=7480000000000000c05f728000000000000007] [startKeyOfFirstRegion=7480000000000000ffc05f728000000000ff0000040000000000fa] [endKeyOfLastRegion=7480000000000000ffc05f728000000000ff0000070000000000fa] [2025/04/04 12:46:20.579 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=790a6a8f-6378-5243-b426-00d5655f2c86] [size=74] [kvs=3] [importedSize=74] [importedCount=2] [2025/04/04 12:46:20.580 +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.181231ms] [] [2025/04/04 12:46:20.580 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:1] [engineUUID=790a6a8f-6378-5243-b426-00d5655f2c86] [2025/04/04 12:46:20.581 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:1] [engineUUID=790a6a8f-6378-5243-b426-00d5655f2c86] [takeTime=1.003992ms] [] [2025/04/04 12:46:20.582 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=21] [step=import] [engine-id=1] [2025/04/04 12:46:20.582 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-2] [engineUUID=01f37b49-4958-5126-821d-b51976443d4b] [2025/04/04 12:46:20.583 +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.57871ms] [] [2025/04/04 12:46:20.583 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-2] [engineUUID=01f37b49-4958-5126-821d-b51976443d4b] [retryCnt=0] [2025/04/04 12:46:20.587 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=01f37b49-4958-5126-821d-b51976443d4b] [2025/04/04 12:46:20.587 +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.403411ms] [] [2025/04/04 12:46:20.587 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-2] [engineUUID=01f37b49-4958-5126-821d-b51976443d4b] [2025/04/04 12:46:20.588 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-2] [engineUUID=01f37b49-4958-5126-821d-b51976443d4b] [takeTime=876.444µs] [] [2025/04/04 12:46:20.588 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=21] [step=import] [subtask-id=39] [takeTime=93.316067ms] [] [2025/04/04 12:46:20.588 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=21] [task-type=ImportInto] [server-id=:4000] [subtaskID=39] [step=import] [takeTime=93.465889ms] [] [2025/04/04 12:46:20.628 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=21] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 12:46:20.629 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=21] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:46:20.630 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=21] [curr-step=import] [next-step=post-process] [2025/04/04 12:46:20.630 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=21] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 12:46:20.659 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=21] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":4}"] [2025/04/04 12:46:20.660 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=21] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 12:46:20.660 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=21] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/04 12:46:20.693 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=21] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 12:46:20.700 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=21] [step=import] [2025/04/04 12:46:20.704 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:46:20.704 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:46:20.704 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:46:20.704 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:46:20.704 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:46:20.704 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:46:20.704 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:46:20.704 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-20] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:46:20.704 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:20.704 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:20.704 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:20.704 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:46:20.706 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:46:20.707 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:20.707 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:20.707 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:20.707 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=21] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=390.379864ms] [] [2025/04/04 12:46:20.708 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=21] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/04 12:46:20.715 +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/04 12:46:20.715 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=21] [step=post-process] [subtask-id=40] [2025/04/04 12:46:20.715 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=21] [step=post-process] [subtask-id=40] [2025/04/04 12:46:20.715 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=21] [step=post-process] [subtask-id=40] [2025/04/04 12:46:20.715 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=21] [step=post-process] [subtask-id=40] [takeTime=1.952µs] [] [2025/04/04 12:46:20.715 +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/04 12:46:20.715 +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/04 12:46:20.715 +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/04 12:46:20.715 +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/04 12:46:20.717 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=192] [physicalTableID=192] [indexID=-1] [checksum=13563575747806423567] [totalKvs=4] [totalBytes=148] [2025/04/04 12:46:20.717 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 12:46:20.717 +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/04 12:46:20.718 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=21] [step=post-process] [subtask-id=40] [takeTime=2.666529ms] [] [2025/04/04 12:46:20.718 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=21] [step=post-process] [subtask-id=40] [takeTime=2.782727ms] [] [2025/04/04 12:46:20.718 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=21] [task-type=ImportInto] [server-id=:4000] [subtaskID=40] [step=post-process] [takeTime=2.905856ms] [] [2025/04/04 12:46:20.728 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=21] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 12:46:20.728 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=21] [step=post-process] [state=running] [] [2025/04/04 12:46:20.730 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 12:46:20.730 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=21] [2025/04/04 12:46:20.743 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=21] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=35.009444ms] [] [2025/04/04 12:46:20.743 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=21] [type=ImportInto] [2025/04/04 12:46:20.822 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=21] [2025/04/04 12:46:20.828 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 12:46:20.828 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=21] [2025/04/04 12:46:20.848 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 12:46:21.022 +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.987528724\n# Parse_time: 0.000149976\n# Compile_time: 0.000561377\n# Rewrite_time: 0.000163595\n# Optimize_time: 0.000264914\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4Ni42bXMsIG9wZW46NjQ4bnMsIGNsb3NlOjkwNm5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk4Ni42bXMsIG9wZW46NjQ4bnMsIGNsb3NlOjkwNm5zLCBsb29wczoycP////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.27s) === NAME TestImportInto === RUN TestImportInto/TestColumnsAndUserVars [2025/04/04 12:46:21.038 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:194, Type:drop schema, State:queueing, SchemaState:public, SchemaID:186, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:20.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:21.038 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:194, Type:drop schema, State:queueing, SchemaState:public, SchemaID:186, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:20.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="DROP DATABASE IF EXISTS load_data;"] [2025/04/04 12:46:21.043 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=194] [conn=2] [job="ID:194, Type:drop schema, State:queueing, SchemaState:public, SchemaID:186, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:20.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:21.059 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=131] [neededSchemaVersion=132] ["elapsed time"=1.599715ms] [gotSchemaVersion=132] [phyTblIDs="[192]"] [actionTypes="[2]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 12:46:21.062 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=194] [version=132] [2025/04/04 12:46:21.064 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=132] ["take time"=8.251858ms] [job="ID:194, Type:drop schema, State:running, SchemaState:write only, SchemaID:186, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:20.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:21.074 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=194] [conn=2] [job="ID:194, Type:drop schema, State:running, SchemaState:write only, SchemaID:186, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:20.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:21.087 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=132] [neededSchemaVersion=133] ["elapsed time"=130.108µs] [gotSchemaVersion=133] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 12:46:21.090 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=194] [version=133] [2025/04/04 12:46:21.092 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=133] ["take time"=7.301861ms] [job="ID:194, Type:drop schema, State:running, SchemaState:delete only, SchemaID:186, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:20.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:21.101 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=194] [conn=2] [job="ID:194, Type:drop schema, State:running, SchemaState:delete only, SchemaID:186, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:20.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:21.106 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/04 12:46:21.117 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=133] [neededSchemaVersion=134] ["elapsed time"=121.925µs] [gotSchemaVersion=134] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 12:46:21.120 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=194] [version=134] [2025/04/04 12:46:21.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=134] ["take time"=6.872097ms] [job="ID:194, Type:drop schema, State:done, SchemaState:none, SchemaID:186, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:20.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:21.130 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=194] [tableIDs="[192]"] [comment="drop schema: table IDs"] [2025/04/04 12:46:21.135 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=194] [jobType="drop schema"] [2025/04/04 12:46:21.136 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=194] [conn=2] [job="ID:194, Type:drop schema, State:synced, SchemaState:none, SchemaID:186, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:20.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:21.153 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=194] [2025/04/04 12:46:21.153 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=134] [cur_db=] [sql="DROP DATABASE IF EXISTS load_data;"] [user=root@%] [2025/04/04 12:46:21.164 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:196, Type:create schema, State:queueing, SchemaState:none, SchemaID:195, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:21.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:21.164 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:196, Type:create schema, State:queueing, SchemaState:none, SchemaID:195, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:21.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE load_data;"] [2025/04/04 12:46:21.169 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=196] [conn=2] [job="ID:196, Type:create schema, State:queueing, SchemaState:none, SchemaID:195, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:21.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:21.182 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=134] [neededSchemaVersion=135] ["elapsed time"=689.648µs] [gotSchemaVersion=135] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 12:46:21.185 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=196] [version=135] [2025/04/04 12:46:21.187 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=135] ["take time"=7.603392ms] [job="ID:196, Type:create schema, State:done, SchemaState:public, SchemaID:195, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:21.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:21.197 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=196] [conn=2] [job="ID:196, Type:create schema, State:synced, SchemaState:public, SchemaID:195, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:21.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:21.207 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=196] [2025/04/04 12:46:21.207 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=135] [cur_db=] [sql="CREATE DATABASE load_data;"] [user=root@%] [2025/04/04 12:46:21.219 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:198, Type:create table, State:queueing, SchemaState:none, SchemaID:195, TableID:197, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:21.194 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE load_data.cols_and_vars (a INT, b INT, c int);"] [2025/04/04 12:46:21.219 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:198, Type:create table, State:queueing, SchemaState:none, SchemaID:195, TableID:197, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:21.194 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:21.224 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=198] [conn=2] [job="ID:198, Type:create table, State:queueing, SchemaState:none, SchemaID:195, TableID:197, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:21.194 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:21.228 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 197, Table Name: cols_and_vars)"] [2025/04/04 12:46:21.242 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=135] [neededSchemaVersion=136] ["elapsed time"=1.659133ms] [gotSchemaVersion=136] [phyTblIDs="[197]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:46:21.246 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=198] [version=136] [2025/04/04 12:46:21.247 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=136] ["take time"=7.941058ms] [job="ID:198, Type:create table, State:done, SchemaState:public, SchemaID:195, TableID:197, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:21.194 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:21.257 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=198] [conn=2] [job="ID:198, Type:create table, State:synced, SchemaState:public, SchemaID:195, TableID:197, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:21.194 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:21.268 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=198] [2025/04/04 12:46:21.269 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=136] [cur_db=] [sql="CREATE TABLE load_data.cols_and_vars (a INT, b INT, c int);"] [user=root@%] [2025/04/04 12:46:21.275 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:21.318 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"columns-and-vars\":\"(@`V1`, @`v2`, @`v3`)\",\"set-clause\":\"`a`=@`V1`, `b`=@`V2`*10, `c`=123\",\"file-location\":\"gs://test-load/cols_and_vars-*.tsv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"2\"}}"] [dist-task-enabled=true] [2025/04/04 12:46:21.336 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=22] [task-id=22] [data-size=81B] [thread-cnt=2] [global-sort=false] [2025/04/04 12:46:21.349 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=22] [2025/04/04 12:46:21.349 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=22] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=2] [2025/04/04 12:46:21.451 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=22] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 12:46:21.452 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=22] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:46:21.453 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=22] [curr-step=init] [next-step=import] [2025/04/04 12:46:21.460 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:21.462 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=cols_and_vars] [2025/04/04 12:46:21.462 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=cols_and_vars] [before=536870912000] [after=81] [2025/04/04 12:46:21.463 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=cols_and_vars] [filesCount=2] [MaxChunkSize=268435456] [RegionsCount=2] [BatchSize=81] [cost=49.834µs] [2025/04/04 12:46:21.463 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=cols_and_vars] [takeTime=143.167µs] [] [2025/04/04 12:46:21.463 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=22] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 12:46:21.463 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=22] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=2] [subtasks=1] [2025/04/04 12:46:21.490 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=22] [type=ImportInto] [concurrency=2] [remaining-slots=50] [2025/04/04 12:46:21.509 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=22] [step=import] [2025/04/04 12:46:21.510 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:21.517 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:46:21.517 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 12:46:21.517 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:46:21.517 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:46:21.517 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:46:21.518 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:46:21.518 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:46:21.517 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:46:21.518 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:46:21.518 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:46:21.529 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:46:21.531 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 12:46:21.531 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=cols_and_vars] [quota=374.2GB] [2025/04/04 12:46:21.531 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=22] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 12:46:21.531 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=cols_and_vars] [import-id=22] [disk-quota=348.5GiB] [2025/04/04 12:46:21.531 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=22] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=2, Mem=1.231GiB]"] [2025/04/04 12:46:21.538 +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/04 12:46:21.538 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=22] [step=import] [subtask-id=41] [2025/04/04 12:46:21.542 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`cols_and_vars`:0] [engineUUID=af694e56-0929-5815-9e99-dfe7bdad9797] [2025/04/04 12:46:21.546 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`cols_and_vars`:-1] [engineUUID=c5aa228c-66c1-59bd-96a4-4ba391b5695d] [2025/04/04 12:46:21.546 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=197] [2025/04/04 12:46:21.546 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=197] [2025/04/04 12:46:21.558 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=22] [mode=Import] [2025/04/04 12:46:21.559 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=197] [key=cols_and_vars-1.tsv:0] [2025/04/04 12:46:21.561 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=197] [key=cols_and_vars-2.tsv:0] [2025/04/04 12:46:21.561 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=197] [key=cols_and_vars-1.tsv:0] [readDur=907.459µs] [encodeDur=705.714µs] [checksum="{cksum=1567370847529678985,size=189,kvs=5}"] [deliverDur=200.989µs] [type=file] [takeTime=2.05589ms] [] [2025/04/04 12:46:21.562 +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/7b219557-bca9-4767-8eef-3237680e90af.sst] [firstKey=7480000000000000C55F728000000000000001] [lastKey=7480000000000000C55F728000000000000005] [2025/04/04 12:46:21.564 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=197] [key=cols_and_vars-2.tsv:0] [readDur=877.139µs] [encodeDur=2.105358ms] [checksum="{cksum=15251348621166951835,size=152,kvs=4}"] [deliverDur=229.005µs] [type=file] [takeTime=3.431225ms] [] [2025/04/04 12:46:21.565 +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/afdf123e-147f-4172-b3a2-bb76b5eb2aa0.sst] [firstKey=7480000000000000C55F728000000000000010] [lastKey=7480000000000000C55F728000000000000013] [2025/04/04 12:46:21.565 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=22] [step=import] [engine-id=0] [2025/04/04 12:46:21.565 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=22] [step=import] [engine-id=0] [2025/04/04 12:46:21.565 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`cols_and_vars`:0] [engineUUID=af694e56-0929-5815-9e99-dfe7bdad9797] [2025/04/04 12:46:21.567 +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.804433ms] [] [2025/04/04 12:46:21.567 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`cols_and_vars`:0] [engineUUID=af694e56-0929-5815-9e99-dfe7bdad9797] [retryCnt=0] [2025/04/04 12:46:21.572 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:46:21.575 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=22] [2025/04/04 12:46:21.594 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=af694e56-0929-5815-9e99-dfe7bdad9797] ["region ranges"=1] [count=9] [size=341] [2025/04/04 12:46:21.594 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:46:21.595 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000c55f728000000000000001] [endOfAllRanges=7480000000000000c55f728000000000000014] [startKeyOfFirstRegion=7480000000000000ffc55f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffc55f728000000000ff0000140000000000fa] [2025/04/04 12:46:21.620 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=af694e56-0929-5815-9e99-dfe7bdad9797] [size=341] [kvs=9] [importedSize=341] [importedCount=9] [2025/04/04 12:46:21.622 +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=54.816834ms] [] [2025/04/04 12:46:21.622 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`cols_and_vars`:0] [engineUUID=af694e56-0929-5815-9e99-dfe7bdad9797] [2025/04/04 12:46:21.623 +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.011508ms] [] [2025/04/04 12:46:21.623 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=22] [step=import] [engine-id=0] [2025/04/04 12:46:21.623 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`cols_and_vars`:-1] [engineUUID=c5aa228c-66c1-59bd-96a4-4ba391b5695d] [2025/04/04 12:46:21.625 +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.432525ms] [] [2025/04/04 12:46:21.625 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`cols_and_vars`:-1] [engineUUID=c5aa228c-66c1-59bd-96a4-4ba391b5695d] [retryCnt=0] [2025/04/04 12:46:21.628 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=c5aa228c-66c1-59bd-96a4-4ba391b5695d] [2025/04/04 12:46:21.628 +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.488678ms] [] [2025/04/04 12:46:21.628 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`cols_and_vars`:-1] [engineUUID=c5aa228c-66c1-59bd-96a4-4ba391b5695d] [2025/04/04 12:46:21.629 +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=741.853µs] [] [2025/04/04 12:46:21.629 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=22] [step=import] [subtask-id=41] [takeTime=90.547827ms] [] [2025/04/04 12:46:21.630 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=22] [task-type=ImportInto] [server-id=:4000] [subtaskID=41] [step=import] [takeTime=91.344205ms] [] [2025/04/04 12:46:21.656 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=22] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 12:46:21.657 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=22] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:46:21.658 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=22] [curr-step=import] [next-step=post-process] [2025/04/04 12:46:21.658 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=22] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 12:46:21.686 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=22] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":9}"] [2025/04/04 12:46:21.687 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=22] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 12:46:21.687 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=22] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=2] [subtasks=1] [2025/04/04 12:46:21.711 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=22] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 12:46:21.716 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=22] [step=import] [2025/04/04 12:46:21.719 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:46:21.719 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:46:21.719 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:46:21.719 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:46:21.719 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:46:21.719 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:46:21.719 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:46:21.719 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:21.719 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:21.719 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-21] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:46:21.719 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:21.719 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:46:21.721 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:46:21.721 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:21.721 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:21.721 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:21.721 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=22] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=2, Mem=1.231GiB]"] [takeTime=190.284821ms] [] [2025/04/04 12:46:21.723 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=22] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=2, Mem=1.231GiB]"] [2025/04/04 12:46:21.730 +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/04 12:46:21.730 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=22] [step=post-process] [subtask-id=42] [2025/04/04 12:46:21.730 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=22] [step=post-process] [subtask-id=42] [2025/04/04 12:46:21.730 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=22] [step=post-process] [subtask-id=42] [2025/04/04 12:46:21.735 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=22] [step=post-process] [subtask-id=42] [takeTime=5.626908ms] [] [2025/04/04 12:46:21.736 +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/04 12:46:21.736 +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/04 12:46:21.736 +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/04 12:46:21.736 +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/04 12:46:21.738 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=197] [physicalTableID=197] [indexID=-1] [checksum=14296615166471800082] [totalKvs=9] [totalBytes=341] [2025/04/04 12:46:21.738 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 12:46:21.738 +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/04 12:46:21.738 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=22] [step=post-process] [subtask-id=42] [takeTime=8.286435ms] [] [2025/04/04 12:46:21.738 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=22] [step=post-process] [subtask-id=42] [takeTime=8.432078ms] [] [2025/04/04 12:46:21.738 +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.584065ms] [] [2025/04/04 12:46:21.751 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 12:46:21.756 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=22] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 12:46:21.756 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=22] [step=post-process] [state=running] [] [2025/04/04 12:46:21.758 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=22] [2025/04/04 12:46:21.782 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=22] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=2, Mem=1.231GiB]"] [takeTime=59.444713ms] [] [2025/04/04 12:46:21.782 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=22] [type=ImportInto] [2025/04/04 12:46:21.851 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=22] [2025/04/04 12:46:21.858 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 12:46:21.858 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=22] [2025/04/04 12:46:21.879 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 12:46:21.951 +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.681760839\n# Parse_time: 0.000182787\n# Compile_time: 0.000583099\n# Rewrite_time: 0.000167399\n# Optimize_time: 0.000254481\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('SvBJMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY4MC43bXMsIG9wZW46NjU0bnMsIGNsb3NlOjEuMDbCtXMsIGxvb3BzOjIJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('ZfBSCmEKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWjB0aW1lOjY4MC43bXMsIG9wZW46NjU0bnMsIGNsb3NlOjEuMDbCtXMsIGxvb3BzOjJw//////8BAzQBeP///////////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 (0.94s) === NAME TestImportInto === RUN TestImportInto/TestDeliverBytesRows [2025/04/04 12:46:21.978 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:199, Type:drop schema, State:queueing, SchemaState:public, SchemaID:195, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:21.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:21.978 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:199, Type:drop schema, State:queueing, SchemaState:public, SchemaID:195, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:21.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop database if exists load_data"] [2025/04/04 12:46:21.984 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=199] [conn=2] [job="ID:199, Type:drop schema, State:queueing, SchemaState:public, SchemaID:195, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:21.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:22.000 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=136] [neededSchemaVersion=137] ["elapsed time"=1.673707ms] [gotSchemaVersion=137] [phyTblIDs="[197]"] [actionTypes="[2]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 12:46:22.004 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=199] [version=137] [2025/04/04 12:46:22.006 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=137] ["take time"=8.764526ms] [job="ID:199, Type:drop schema, State:running, SchemaState:write only, SchemaID:195, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:21.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:22.015 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=199] [conn=2] [job="ID:199, Type:drop schema, State:running, SchemaState:write only, SchemaID:195, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:21.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:22.027 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=137] [neededSchemaVersion=138] ["elapsed time"=122.23µs] [gotSchemaVersion=138] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 12:46:22.031 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=199] [version=138] [2025/04/04 12:46:22.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=138] ["take time"=7.115377ms] [job="ID:199, Type:drop schema, State:running, SchemaState:delete only, SchemaID:195, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:21.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:22.041 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=199] [conn=2] [job="ID:199, Type:drop schema, State:running, SchemaState:delete only, SchemaID:195, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:21.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:22.046 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/04 12:46:22.057 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=138] [neededSchemaVersion=139] ["elapsed time"=120.638µs] [gotSchemaVersion=139] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 12:46:22.060 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=199] [version=139] [2025/04/04 12:46:22.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=139] ["take time"=7.538633ms] [job="ID:199, Type:drop schema, State:done, SchemaState:none, SchemaID:195, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:21.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:22.071 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=199] [tableIDs="[197]"] [comment="drop schema: table IDs"] [2025/04/04 12:46:22.075 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=199] [jobType="drop schema"] [2025/04/04 12:46:22.076 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=199] [conn=2] [job="ID:199, Type:drop schema, State:synced, SchemaState:none, SchemaID:195, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:21.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:22.092 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=199] [2025/04/04 12:46:22.092 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=139] [cur_db=] [sql="drop database if exists load_data"] [user=root@%] [2025/04/04 12:46:22.104 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:201, Type:create schema, State:queueing, SchemaState:none, SchemaID:200, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:22.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:22.104 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:201, Type:create schema, State:queueing, SchemaState:none, SchemaID:200, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:22.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database load_data"] [2025/04/04 12:46:22.109 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=201] [conn=2] [job="ID:201, Type:create schema, State:queueing, SchemaState:none, SchemaID:200, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:22.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:22.122 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=139] [neededSchemaVersion=140] ["elapsed time"=602.964µs] [gotSchemaVersion=140] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 12:46:22.126 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=201] [version=140] [2025/04/04 12:46:22.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=140] ["take time"=7.244219ms] [job="ID:201, Type:create schema, State:done, SchemaState:public, SchemaID:200, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:22.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:22.137 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=201] [conn=2] [job="ID:201, Type:create schema, State:synced, SchemaState:public, SchemaID:200, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:22.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:22.146 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=201] [2025/04/04 12:46:22.147 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=140] [cur_db=] [sql="create database load_data"] [user=root@%] [2025/04/04 12:46:22.149 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=140] [cur_db=load_data] [sql="drop table if exists t;"] [user=root@%] [2025/04/04 12:46:22.160 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:203, Type:create table, State:queueing, SchemaState:none, SchemaID:200, TableID:202, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:22.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100), c int);"] [2025/04/04 12:46:22.160 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:203, Type:create table, State:queueing, SchemaState:none, SchemaID:200, TableID:202, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:22.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:22.166 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=203] [conn=2] [job="ID:203, Type:create table, State:queueing, SchemaState:none, SchemaID:200, TableID:202, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:22.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:22.170 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 202, Table Name: t)"] [2025/04/04 12:46:22.185 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=140] [neededSchemaVersion=141] ["elapsed time"=1.697463ms] [gotSchemaVersion=141] [phyTblIDs="[202]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:46:22.188 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=203] [version=141] [2025/04/04 12:46:22.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=141] ["take time"=8.206755ms] [job="ID:203, Type:create table, State:done, SchemaState:public, SchemaID:200, TableID:202, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:22.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:22.200 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=203] [conn=2] [job="ID:203, Type:create table, State:synced, SchemaState:public, SchemaID:200, TableID:202, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:22.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:22.211 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=203] [2025/04/04 12:46:22.211 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=141] [cur_db=load_data] [sql="create table t (a bigint, b varchar(100), c int);"] [user=root@%] [2025/04/04 12:46:22.217 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:22.260 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-multi-load/min-deliver-bytes-rows.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/04 12:46:22.278 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=23] [task-id=23] [data-size=98B] [thread-cnt=26] [global-sort=false] [2025/04/04 12:46:22.291 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=23] [2025/04/04 12:46:22.291 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=23] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/04 12:46:22.393 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=23] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 12:46:22.395 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=23] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:46:22.396 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=23] [curr-step=init] [next-step=import] [2025/04/04 12:46:22.404 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:22.406 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 12:46:22.406 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=98] [2025/04/04 12:46:22.406 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=98] [cost=48.39µs] [2025/04/04 12:46:22.406 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=144.711µs] [] [2025/04/04 12:46:22.406 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=23] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 12:46:22.406 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=23] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/04 12:46:22.442 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=23] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 12:46:22.461 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=23] [step=import] [2025/04/04 12:46:22.461 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:22.468 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:46:22.468 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 12:46:22.469 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:46:22.469 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:46:22.469 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:46:22.469 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:46:22.469 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:46:22.469 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:46:22.470 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:46:22.470 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:46:22.481 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:46:22.483 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 12:46:22.483 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 12:46:22.483 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=23] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 12:46:22.483 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=23] [disk-quota=348.5GiB] [2025/04/04 12:46:22.483 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=23] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 12:46:22.491 +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/04 12:46:22.491 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=23] [step=import] [subtask-id=43] [2025/04/04 12:46:22.494 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 12:46:22.498 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 12:46:22.498 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=202] [2025/04/04 12:46:22.499 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=23] [mode=Import] [2025/04/04 12:46:22.517 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=202] [key=min-deliver-bytes-rows.csv:0] [2025/04/04 12:46:22.518 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=23] [2025/04/04 12:46:22.520 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=202] [key=min-deliver-bytes-rows.csv:0] [readDur=1.031117ms] [encodeDur=576.255µs] [checksum="{cksum=17348221547970957058,size=369,kvs=9}"] [deliverDur=330.566µs] [type=file] [takeTime=2.06634ms] [] [2025/04/04 12:46:22.520 +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/aa70af93-cf2e-4c84-9cb2-0cab33105b39.sst] [firstKey=7480000000000000CA5F728000000000000001] [lastKey=7480000000000000CA5F728000000000000009] [2025/04/04 12:46:22.520 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=23] [step=import] [engine-id=0] [2025/04/04 12:46:22.520 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=23] [step=import] [engine-id=0] [2025/04/04 12:46:22.520 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 12:46:22.522 +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.984433ms] [] [2025/04/04 12:46:22.523 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [retryCnt=0] [2025/04/04 12:46:22.527 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:46:22.548 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] ["region ranges"=1] [count=9] [size=369] [2025/04/04 12:46:22.548 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:46:22.550 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000ca5f728000000000000001] [endOfAllRanges=7480000000000000ca5f72800000000000000a] [startKeyOfFirstRegion=7480000000000000ffca5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffca5f728000000000ff00000a0000000000fa] [2025/04/04 12:46:22.562 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] [size=369] [kvs=9] [importedSize=369] [importedCount=9] [2025/04/04 12:46:22.564 +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.257321ms] [] [2025/04/04 12:46:22.564 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 12:46:22.565 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=1.054256ms] [] [2025/04/04 12:46:22.565 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=23] [step=import] [engine-id=0] [2025/04/04 12:46:22.565 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 12:46:22.567 +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.448681ms] [] [2025/04/04 12:46:22.567 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [retryCnt=0] [2025/04/04 12:46:22.570 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 12:46:22.570 +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.583006ms] [] [2025/04/04 12:46:22.570 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 12:46:22.571 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=1.072483ms] [] [2025/04/04 12:46:22.572 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=23] [step=import] [subtask-id=43] [takeTime=80.734372ms] [] [2025/04/04 12:46:22.572 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=23] [task-type=ImportInto] [server-id=:4000] [subtaskID=43] [step=import] [takeTime=81.48073ms] [] [2025/04/04 12:46:22.598 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=23] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 12:46:22.599 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=23] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:46:22.600 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=23] [curr-step=import] [next-step=post-process] [2025/04/04 12:46:22.600 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=23] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 12:46:22.628 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=23] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":9}"] [2025/04/04 12:46:22.630 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=23] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 12:46:22.630 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=23] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=26] [subtasks=1] [2025/04/04 12:46:22.652 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=23] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 12:46:22.659 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=23] [step=import] [2025/04/04 12:46:22.661 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:46:22.661 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:46:22.661 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:46:22.661 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:46:22.661 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:46:22.661 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:46:22.661 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:46:22.661 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:22.661 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-22] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:46:22.661 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:22.662 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:22.662 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:46:22.664 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:46:22.664 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:22.664 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:22.664 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:22.664 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=23] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=180.342077ms] [] [2025/04/04 12:46:22.665 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=23] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 12:46:22.673 +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/04 12:46:22.673 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=23] [step=post-process] [subtask-id=44] [2025/04/04 12:46:22.673 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=23] [step=post-process] [subtask-id=44] [2025/04/04 12:46:22.673 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=23] [step=post-process] [subtask-id=44] [2025/04/04 12:46:22.678 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=23] [step=post-process] [subtask-id=44] [takeTime=5.338667ms] [] [2025/04/04 12:46:22.678 +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/04 12:46:22.678 +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/04 12:46:22.678 +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/04 12:46:22.678 +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/04 12:46:22.680 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=202] [physicalTableID=202] [indexID=-1] [checksum=17348221547970957058] [totalKvs=9] [totalBytes=369] [2025/04/04 12:46:22.680 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 12:46:22.681 +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/04 12:46:22.681 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=23] [step=post-process] [subtask-id=44] [takeTime=7.798345ms] [] [2025/04/04 12:46:22.681 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=23] [step=post-process] [subtask-id=44] [takeTime=7.939207ms] [] [2025/04/04 12:46:22.681 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=23] [task-type=ImportInto] [server-id=:4000] [subtaskID=44] [step=post-process] [takeTime=8.069884ms] [] [2025/04/04 12:46:22.693 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 12:46:22.698 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=23] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 12:46:22.698 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=23] [step=post-process] [state=running] [] [2025/04/04 12:46:22.701 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=23] [2025/04/04 12:46:22.724 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=23] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=59.220054ms] [] [2025/04/04 12:46:22.725 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=23] [type=ImportInto] [2025/04/04 12:46:22.794 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=23] [2025/04/04 12:46:22.800 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 12:46:22.800 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=23] [2025/04/04 12:46:22.821 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 12:46:22.896 +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.684088511\n# Parse_time: 0.000119306\n# Compile_time: 0.000529458\n# Rewrite_time: 0.000147972\n# Optimize_time: 0.000816717\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('SvBJMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY4My4ybXMsIG9wZW46NjYxbnMsIGNsb3NlOjEuMDPCtXMsIGxvb3BzOjIJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('ZfBSCmEKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWjB0aW1lOjY4My4ybXMsIG9wZW46NjYxbnMsIGNsb3NlOjEuMDPCtXMsIGxvb3BzOjJw//////8BAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.00003438\nuse load_data;\nIMPORT INTO `load_data`.`t` FROM 'gs://test-multi-load/min-deliver-bytes-rows.csv?endpoint=http://127.0.0.1:4443/storage/v1/';"] [2025/04/04 12:46:22.912 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:205, Type:truncate table, State:queueing, SchemaState:none, SchemaID:200, TableID:202, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:22.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:22.912 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:205, Type:truncate table, State:queueing, SchemaState:none, SchemaID:200, TableID:202, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:22.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table t"] [2025/04/04 12:46:22.917 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=205] [conn=2] [job="ID:205, Type:truncate table, State:queueing, SchemaState:none, SchemaID:200, TableID:202, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:22.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:22.925 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 204, Table Name: t, Old Table ID: 202, Old Table Name: t)"] [2025/04/04 12:46:22.940 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=141] [neededSchemaVersion=142] ["elapsed time"=1.785078ms] [gotSchemaVersion=142] [phyTblIDs="[202,204]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 12:46:22.944 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=205] [version=142] [2025/04/04 12:46:22.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=142] ["take time"=8.89185ms] [job="ID:205, Type:truncate table, State:done, SchemaState:public, SchemaID:200, TableID:202, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:22.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:22.957 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=205] [tableIDs="[202]"] [comment="truncate table: table ID"] [2025/04/04 12:46:22.961 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=205] [jobType="truncate table"] [2025/04/04 12:46:22.962 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=205] [conn=2] [job="ID:205, Type:truncate table, State:synced, SchemaState:public, SchemaID:200, TableID:202, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:22.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:22.979 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=205] [2025/04/04 12:46:22.979 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=142] [cur_db=load_data] [sql="truncate table t"] [user=root@%] [2025/04/04 12:46:22.985 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:23.029 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-multi-load/min-deliver-bytes-rows.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/04 12:46:23.048 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=24] [task-id=24] [data-size=98B] [thread-cnt=26] [global-sort=false] [2025/04/04 12:46:23.062 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=24] [2025/04/04 12:46:23.062 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=24] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/04 12:46:23.164 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=24] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 12:46:23.165 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=24] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:46:23.166 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=24] [curr-step=init] [next-step=import] [2025/04/04 12:46:23.174 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:23.176 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 12:46:23.176 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=98] [2025/04/04 12:46:23.176 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=98] [cost=60.666µs] [2025/04/04 12:46:23.177 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=153.683µs] [] [2025/04/04 12:46:23.177 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=24] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 12:46:23.177 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=24] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/04 12:46:23.212 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=24] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 12:46:23.233 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=24] [step=import] [2025/04/04 12:46:23.233 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:23.241 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:46:23.242 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 12:46:23.242 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:46:23.242 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:46:23.242 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:46:23.242 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:46:23.242 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:46:23.242 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:46:23.243 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:46:23.243 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:46:23.255 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:46:23.257 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 12:46:23.257 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 12:46:23.257 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=24] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 12:46:23.257 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=24] [disk-quota=348.5GiB] [2025/04/04 12:46:23.257 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=24] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 12:46:23.265 +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/04 12:46:23.265 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=24] [step=import] [subtask-id=45] [2025/04/04 12:46:23.269 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 12:46:23.270 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=24] [mode=Import] [2025/04/04 12:46:23.272 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 12:46:23.272 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=204] [2025/04/04 12:46:23.285 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=204] [key=min-deliver-bytes-rows.csv:0] [2025/04/04 12:46:23.289 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=24] [2025/04/04 12:46:23.289 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=204] [key=min-deliver-bytes-rows.csv:0] [readDur=1.054634ms] [encodeDur=1.846288ms] [checksum="{cksum=12886775366575955058,size=369,kvs=9}"] [deliverDur=254.744µs] [type=file] [takeTime=3.261429ms] [] [2025/04/04 12:46:23.290 +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/1675c44b-e202-457b-a12d-753772a41ea8.sst] [firstKey=7480000000000000CC5F728000000000000001] [lastKey=7480000000000000CC5F728000000000000009] [2025/04/04 12:46:23.290 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=24] [step=import] [engine-id=0] [2025/04/04 12:46:23.290 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=24] [step=import] [engine-id=0] [2025/04/04 12:46:23.290 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 12:46:23.292 +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.015341ms] [] [2025/04/04 12:46:23.292 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [retryCnt=0] [2025/04/04 12:46:23.296 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:46:23.317 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] ["region ranges"=1] [count=9] [size=369] [2025/04/04 12:46:23.317 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:46:23.319 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000cc5f728000000000000001] [endOfAllRanges=7480000000000000cc5f72800000000000000a] [startKeyOfFirstRegion=7480000000000000ffcc5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffcc5f728000000000ff00000a0000000000fa] [2025/04/04 12:46:23.330 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] [size=369] [kvs=9] [importedSize=369] [importedCount=9] [2025/04/04 12:46:23.332 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [retryCnt=0] [takeTime=39.792903ms] [] [2025/04/04 12:46:23.332 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 12:46:23.333 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=958.662µs] [] [2025/04/04 12:46:23.333 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=24] [step=import] [engine-id=0] [2025/04/04 12:46:23.333 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 12:46:23.334 +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.532711ms] [] [2025/04/04 12:46:23.335 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [retryCnt=0] [2025/04/04 12:46:23.338 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 12:46:23.338 +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.609707ms] [] [2025/04/04 12:46:23.338 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 12:46:23.339 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=743.209µs] [] [2025/04/04 12:46:23.339 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=24] [step=import] [subtask-id=45] [takeTime=74.202196ms] [] [2025/04/04 12:46:23.339 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=24] [task-type=ImportInto] [server-id=:4000] [subtaskID=45] [step=import] [takeTime=74.353334ms] [] [2025/04/04 12:46:23.369 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=24] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 12:46:23.370 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=24] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:46:23.371 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=24] [curr-step=import] [next-step=post-process] [2025/04/04 12:46:23.371 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=24] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 12:46:23.399 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=24] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":9}"] [2025/04/04 12:46:23.401 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=24] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 12:46:23.401 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=24] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=26] [subtasks=1] [2025/04/04 12:46:23.439 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=24] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 12:46:23.445 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=24] [step=import] [2025/04/04 12:46:23.448 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:46:23.448 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:46:23.448 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:46:23.448 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:46:23.448 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:46:23.448 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:46:23.448 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:46:23.448 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-23] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:46:23.448 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:23.448 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:23.448 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:23.448 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:46:23.450 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:46:23.451 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:23.451 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:23.451 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:23.451 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=24] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=193.581683ms] [] [2025/04/04 12:46:23.452 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=24] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 12:46:23.459 +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/04 12:46:23.459 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=24] [step=post-process] [subtask-id=46] [2025/04/04 12:46:23.459 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=24] [step=post-process] [subtask-id=46] [2025/04/04 12:46:23.459 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=24] [step=post-process] [subtask-id=46] [2025/04/04 12:46:23.464 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=24] [step=post-process] [subtask-id=46] [takeTime=5.294939ms] [] [2025/04/04 12:46:23.464 +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/04 12:46:23.464 +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/04 12:46:23.465 +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/04 12:46:23.465 +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/04 12:46:23.466 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=204] [physicalTableID=204] [indexID=-1] [checksum=12886775366575955058] [totalKvs=9] [totalBytes=369] [2025/04/04 12:46:23.467 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 12:46:23.467 +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/04 12:46:23.467 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=24] [step=post-process] [subtask-id=46] [takeTime=7.733515ms] [] [2025/04/04 12:46:23.467 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=24] [step=post-process] [subtask-id=46] [takeTime=7.870112ms] [] [2025/04/04 12:46:23.467 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=24] [task-type=ImportInto] [server-id=:4000] [subtaskID=46] [step=post-process] [takeTime=8.009622ms] [] [2025/04/04 12:46:23.480 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 12:46:23.570 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=24] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 12:46:23.571 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=24] [step=post-process] [state=running] [] [2025/04/04 12:46:23.573 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=24] [2025/04/04 12:46:23.604 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=24] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=151.883999ms] [] [2025/04/04 12:46:23.604 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=24] [type=ImportInto] [2025/04/04 12:46:23.664 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=24] [2025/04/04 12:46:23.664 +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.683838767\n# Parse_time: 0.000072476\n# Compile_time: 0.000517497\n# Rewrite_time: 0.000147098\n# Optimize_time: 0.000266322\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY4M21zLCBvcGVuOjY5MG5zLCBjbG9zZToxLjIywrVzLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY4M21zLCBvcGVuOjY5MG5zLCBjbG9zZToxLjIywrVzLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.00003438\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.70s) === NAME TestImportInto === RUN TestImportInto/TestDetachedLoadParquet [2025/04/04 12:46:23.669 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=142] [cur_db=load_data] [sql="DROP DATABASE IF EXISTS load_csv;"] [user=root@%] [2025/04/04 12:46:23.670 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 12:46:23.670 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=24] [2025/04/04 12:46:23.682 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:207, Type:create schema, State:queueing, SchemaState:none, SchemaID:206, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:23.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:23.682 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:207, Type:create schema, State:queueing, SchemaState:none, SchemaID:206, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:23.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE load_csv;"] [2025/04/04 12:46:23.688 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=207] [conn=2] [job="ID:207, Type:create schema, State:queueing, SchemaState:none, SchemaID:206, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:23.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:23.752 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 12:46:23.765 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=142] [neededSchemaVersion=143] ["elapsed time"=752.995µs] [gotSchemaVersion=143] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 12:46:23.769 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=207] [version=143] [2025/04/04 12:46:23.771 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=143] ["take time"=8.95244ms] [job="ID:207, Type:create schema, State:done, SchemaState:public, SchemaID:206, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:23.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:23.781 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=207] [conn=2] [job="ID:207, Type:create schema, State:synced, SchemaState:public, SchemaID:206, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:23.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:23.791 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=207] [2025/04/04 12:46:23.791 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=143] [cur_db=load_data] [sql="CREATE DATABASE load_csv;"] [user=root@%] [2025/04/04 12:46:23.807 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:209, Type:create table, State:queueing, SchemaState:none, SchemaID:206, TableID:208, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:23.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:23.807 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:209, Type:create table, State:queueing, SchemaState:none, SchemaID:206, TableID:208, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:23.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t (id INT, val1 INT, val2 VARCHAR(20), d1 DECIMAL(10, 0), d2 DECIMAL(10, 2), d3 DECIMAL(8, 8),d4 DECIMAL(20, 0), d5 DECIMAL(36, 0), d6 DECIMAL(28, 8));"] [2025/04/04 12:46:23.813 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=209] [conn=2] [job="ID:209, Type:create table, State:queueing, SchemaState:none, SchemaID:206, TableID:208, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:23.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:23.819 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 208, Table Name: t)"] [2025/04/04 12:46:23.841 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=143] [neededSchemaVersion=144] ["elapsed time"=2.619154ms] [gotSchemaVersion=144] [phyTblIDs="[208]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:46:23.844 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=209] [version=144] [2025/04/04 12:46:23.846 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=144] ["take time"=9.724098ms] [job="ID:209, Type:create table, State:done, SchemaState:public, SchemaID:206, TableID:208, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:23.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:23.858 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=209] [conn=2] [job="ID:209, Type:create table, State:synced, SchemaState:public, SchemaID:206, TableID:208, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:23.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:23.873 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=209] [2025/04/04 12:46:23.873 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=144] [cur_db=load_csv] [sql="CREATE TABLE t (id INT, val1 INT, val2 VARCHAR(20), d1 DECIMAL(10, 0), d2 DECIMAL(10, 2), d3 DECIMAL(8, 8),d4 DECIMAL(20, 0), d5 DECIMAL(36, 0), d6 DECIMAL(28, 8));"] [user=root@%] [2025/04/04 12:46:23.921 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"/tmp/TestImportIntoTestDetachedLoadParquet120416998/001/test.parquet\",\"format\":\"parquet\"}"] [dist-task-enabled=true] [2025/04/04 12:46:23.921 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 12:46:23.921 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=2686] [2025/04/04 12:46:23.922 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=2686] [cost=643.597µs] [2025/04/04 12:46:23.922 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=753.552µs] [] [2025/04/04 12:46:23.947 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=25] [task-id=25] [data-size=2.623KiB] [thread-cnt=8] [global-sort=false] [2025/04/04 12:46:23.963 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=25] [2025/04/04 12:46:23.963 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=25] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/04 12:46:24.065 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=25] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 12:46:24.068 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=25] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:46:24.070 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=25] [curr-step=init] [next-step=import] [2025/04/04 12:46:24.079 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=25] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 12:46:24.079 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=25] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/04 12:46:24.121 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=25] [type=ImportInto] [concurrency=8] [remaining-slots=44] [2025/04/04 12:46:24.142 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=25] [step=import] [2025/04/04 12:46:24.150 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:46:24.150 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 12:46:24.151 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:46:24.151 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:46:24.151 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:46:24.151 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:46:24.151 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:46:24.151 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:46:24.152 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:46:24.152 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:46:24.164 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:46:24.166 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 12:46:24.166 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 12:46:24.166 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=25] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 12:46:24.167 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=25] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/04 12:46:24.167 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=25] [disk-quota=348.5GiB] [2025/04/04 12:46:24.173 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=25] [mode=Import] [2025/04/04 12:46:24.174 +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/04 12:46:24.174 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=25] [step=import] [subtask-id=47] [2025/04/04 12:46:24.179 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [2025/04/04 12:46:24.183 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/04 12:46:24.183 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=208] [2025/04/04 12:46:24.191 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=25] [2025/04/04 12:46:24.204 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=208] [key=test.parquet:0] [2025/04/04 12:46:24.208 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=208] [key=test.parquet:0] [readDur=1.691736ms] [encodeDur=790.848µs] [checksum="{cksum=13966026291112241924,size=726,kvs=6}"] [deliverDur=285.248µs] [type=file] [takeTime=3.178551ms] [] [2025/04/04 12:46:24.208 +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/7e14c63a-5aaf-4170-b7b7-715f7a57ae9d.sst] [firstKey=7480000000000000D05F728000000000000001] [lastKey=7480000000000000D05F728000000000000006] [2025/04/04 12:46:24.208 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=25] [step=import] [engine-id=0] [2025/04/04 12:46:24.208 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=25] [step=import] [engine-id=0] [2025/04/04 12:46:24.208 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [2025/04/04 12:46:24.211 +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.009111ms] [] [2025/04/04 12:46:24.211 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [retryCnt=0] [2025/04/04 12:46:24.215 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:46:24.237 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=1e7b3aaf-1931-5e54-8538-256fb8e461db] ["region ranges"=1] [count=6] [size=726] [2025/04/04 12:46:24.237 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:46:24.238 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000d05f728000000000000001] [endOfAllRanges=7480000000000000d05f728000000000000007] [startKeyOfFirstRegion=7480000000000000ffd05f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffd05f728000000000ff0000070000000000fa] [2025/04/04 12:46:24.250 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=1e7b3aaf-1931-5e54-8538-256fb8e461db] [size=726] [kvs=6] [importedSize=726] [importedCount=6] [2025/04/04 12:46:24.252 +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.175733ms] [] [2025/04/04 12:46:24.252 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [2025/04/04 12:46:24.253 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [takeTime=1.036873ms] [] [2025/04/04 12:46:24.253 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=25] [step=import] [engine-id=0] [2025/04/04 12:46:24.253 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/04 12:46:24.255 +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.487689ms] [] [2025/04/04 12:46:24.255 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [retryCnt=0] [2025/04/04 12:46:24.258 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/04 12:46:24.258 +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.603848ms] [] [2025/04/04 12:46:24.258 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/04 12:46:24.259 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [takeTime=835.591µs] [] [2025/04/04 12:46:24.259 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=25] [step=import] [subtask-id=47] [takeTime=85.41634ms] [] [2025/04/04 12:46:24.260 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=25] [task-type=ImportInto] [server-id=:4000] [subtaskID=47] [step=import] [takeTime=85.577321ms] [] [2025/04/04 12:46:24.270 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=25] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 12:46:24.273 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=25] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:46:24.275 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=25] [curr-step=import] [next-step=post-process] [2025/04/04 12:46:24.275 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=25] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 12:46:24.306 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=25] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":6}"] [2025/04/04 12:46:24.308 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=25] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 12:46:24.308 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=25] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/04 12:46:24.347 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=25] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 12:46:24.353 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=25] [step=import] [2025/04/04 12:46:24.356 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:46:24.356 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:46:24.356 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:46:24.356 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:46:24.356 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:46:24.356 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:46:24.356 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:46:24.356 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:24.356 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-24] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:46:24.356 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:24.356 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:24.356 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:46:24.359 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:46:24.359 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:24.359 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:24.359 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:24.359 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=25] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [takeTime=192.111607ms] [] [2025/04/04 12:46:24.361 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=25] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/04 12:46:24.368 +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/04 12:46:24.369 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=25] [step=post-process] [subtask-id=48] [2025/04/04 12:46:24.369 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=25] [step=post-process] [subtask-id=48] [2025/04/04 12:46:24.369 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=25] [step=post-process] [subtask-id=48] [2025/04/04 12:46:24.374 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=25] [step=post-process] [subtask-id=48] [takeTime=5.578406ms] [] [2025/04/04 12:46:24.374 +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/04 12:46:24.374 +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/04 12:46:24.374 +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/04 12:46:24.375 +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/04 12:46:24.376 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=208] [physicalTableID=208] [indexID=-1] [checksum=13966026291112241924] [totalKvs=6] [totalBytes=726] [2025/04/04 12:46:24.377 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 12:46:24.377 +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/04 12:46:24.377 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=25] [step=post-process] [subtask-id=48] [takeTime=8.118411ms] [] [2025/04/04 12:46:24.377 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=25] [step=post-process] [subtask-id=48] [takeTime=8.26549ms] [] [2025/04/04 12:46:24.377 +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.407482ms] [] [2025/04/04 12:46:24.400 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 12:46:24.470 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=25] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 12:46:24.470 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=25] [step=post-process] [state=running] [] [2025/04/04 12:46:24.474 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=25] [2025/04/04 12:46:24.495 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=25] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [takeTime=133.8811ms] [] [2025/04/04 12:46:24.495 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=25] [type=ImportInto] [2025/04/04 12:46:24.564 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# User@Host: root[root] @ localhost [localhost]\n# Conn_ID: 2\n# Query_time: 0.690504462\n# Parse_time: 0.000091488\n# Compile_time: 0.000588127\n# Rewrite_time: 0.000203647\n# Optimize_time: 0.000276255\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY4OS41bXMsIG9wZW46NzA2bnMsIGNsb3NlOjk2Mm5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY4OS41bXMsIG9wZW46NzA2bnMsIGNsb3NlOjk2Mm5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.00003438\nuse load_csv;\nIMPORT INTO `load_csv`.`t` FROM '/tmp/TestImportIntoTestDetachedLoadParquet120416998/001/test.parquet' FORMAT 'parquet';"] [2025/04/04 12:46:24.565 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=25] [2025/04/04 12:46:24.572 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 12:46:24.572 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=25] [2025/04/04 12:46:24.581 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:211, Type:truncate table, State:queueing, SchemaState:none, SchemaID:206, TableID:208, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:24.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:24.581 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:211, Type:truncate table, State:queueing, SchemaState:none, SchemaID:206, TableID:208, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:24.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="TRUNCATE TABLE t;"] [2025/04/04 12:46:24.587 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=211] [conn=2] [job="ID:211, Type:truncate table, State:queueing, SchemaState:none, SchemaID:206, TableID:208, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:24.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:24.596 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 210, Table Name: t, Old Table ID: 208, Old Table Name: t)"] [2025/04/04 12:46:24.599 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 12:46:24.617 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=144] [neededSchemaVersion=145] ["elapsed time"=2.675812ms] [gotSchemaVersion=145] [phyTblIDs="[208,210]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 12:46:24.621 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=211] [version=145] [2025/04/04 12:46:24.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=145] ["take time"=9.717762ms] [job="ID:211, Type:truncate table, State:done, SchemaState:public, SchemaID:206, TableID:208, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:24.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:24.634 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=211] [tableIDs="[208]"] [comment="truncate table: table ID"] [2025/04/04 12:46:24.639 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=211] [jobType="truncate table"] [2025/04/04 12:46:24.639 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=211] [conn=2] [job="ID:211, Type:truncate table, State:synced, SchemaState:public, SchemaID:206, TableID:208, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:24.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:24.659 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=211] [2025/04/04 12:46:24.660 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=145] [cur_db=load_csv] [sql="TRUNCATE TABLE t;"] [user=root@%] [2025/04/04 12:46:24.666 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:24.712 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load-parquet/p?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"parquet\",\"options\":{\"detached\":null}}"] [dist-task-enabled=true] [2025/04/04 12:46:24.735 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=26] [task-id=26] [data-size=2.623KiB] [thread-cnt=26] [global-sort=false] [2025/04/04 12:46:24.751 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=26] [2025/04/04 12:46:24.751 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=26] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/04 12:46:24.854 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=26] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 12:46:24.856 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=26] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:46:24.858 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=26] [curr-step=init] [next-step=import] [2025/04/04 12:46:24.867 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:24.869 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 12:46:24.870 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=2686] [2025/04/04 12:46:24.874 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=2686] [cost=4.062728ms] [2025/04/04 12:46:24.874 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=4.215753ms] [] [2025/04/04 12:46:24.874 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=26] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 12:46:24.874 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=26] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/04 12:46:24.912 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=26] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 12:46:24.933 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=26] [step=import] [2025/04/04 12:46:24.933 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:24.941 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:46:24.941 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 12:46:24.942 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:46:24.942 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:46:24.942 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:46:24.942 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:46:24.942 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:46:24.942 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:46:24.943 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:46:24.943 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:46:24.955 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:46:24.957 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 12:46:24.957 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 12:46:24.957 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=26] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 12:46:24.957 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=26] [disk-quota=348.5GiB] [2025/04/04 12:46:24.957 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=26] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 12:46:24.961 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=26] [mode=Import] [2025/04/04 12:46:24.974 +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/04 12:46:24.974 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=26] [step=import] [subtask-id=49] [2025/04/04 12:46:24.978 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [2025/04/04 12:46:24.979 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=26] [2025/04/04 12:46:24.981 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/04 12:46:24.982 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=210] [2025/04/04 12:46:25.024 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=210] [key=p:0] [2025/04/04 12:46:25.027 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=210] [key=p:0] [readDur=1.577646ms] [encodeDur=748.938µs] [checksum="{cksum=13966026291112241924,size=726,kvs=6}"] [deliverDur=367.567µs] [type=file] [takeTime=3.02049ms] [] [2025/04/04 12:46:25.028 +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/754bb2ec-3c01-42a8-b3c6-65a3b14303f9.sst] [firstKey=7480000000000000D25F728000000000000001] [lastKey=7480000000000000D25F728000000000000006] [2025/04/04 12:46:25.028 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=26] [step=import] [engine-id=0] [2025/04/04 12:46:25.028 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=26] [step=import] [engine-id=0] [2025/04/04 12:46:25.028 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [2025/04/04 12:46:25.030 +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.044502ms] [] [2025/04/04 12:46:25.030 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [retryCnt=0] [2025/04/04 12:46:25.034 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:46:25.056 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=1e7b3aaf-1931-5e54-8538-256fb8e461db] ["region ranges"=1] [count=6] [size=726] [2025/04/04 12:46:25.056 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:46:25.058 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000d25f728000000000000001] [endOfAllRanges=7480000000000000d25f728000000000000007] [startKeyOfFirstRegion=7480000000000000ffd25f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffd25f728000000000ff0000070000000000fa] [2025/04/04 12:46:25.069 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=1e7b3aaf-1931-5e54-8538-256fb8e461db] [size=726] [kvs=6] [importedSize=726] [importedCount=6] [2025/04/04 12:46:25.071 +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.662456ms] [] [2025/04/04 12:46:25.071 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [2025/04/04 12:46:25.072 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [takeTime=1.009032ms] [] [2025/04/04 12:46:25.072 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=26] [step=import] [engine-id=0] [2025/04/04 12:46:25.072 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/04 12:46:25.074 +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.669829ms] [] [2025/04/04 12:46:25.074 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [retryCnt=0] [2025/04/04 12:46:25.078 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/04 12:46:25.078 +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.902181ms] [] [2025/04/04 12:46:25.078 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/04 12:46:25.079 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [takeTime=855.514µs] [] [2025/04/04 12:46:25.079 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=26] [step=import] [subtask-id=49] [takeTime=105.015233ms] [] [2025/04/04 12:46:25.079 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=26] [task-type=ImportInto] [server-id=:4000] [subtaskID=49] [step=import] [takeTime=105.147813ms] [] [2025/04/04 12:46:25.158 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=26] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 12:46:25.161 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=26] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:46:25.163 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=26] [curr-step=import] [next-step=post-process] [2025/04/04 12:46:25.163 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=26] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 12:46:25.194 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=26] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":6}"] [2025/04/04 12:46:25.196 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=26] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 12:46:25.196 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=26] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=26] [subtasks=1] [2025/04/04 12:46:25.226 +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/04 12:46:25.232 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=26] [step=import] [2025/04/04 12:46:25.235 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:46:25.235 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:46:25.235 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:46:25.235 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:46:25.235 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:46:25.235 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:46:25.236 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:25.236 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:46:25.235 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-25] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:46:25.236 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:25.236 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:25.236 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:46:25.238 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:46:25.238 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:25.238 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:25.238 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:25.238 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=26] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=280.892453ms] [] [2025/04/04 12:46:25.240 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=26] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 12:46:25.248 +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/04 12:46:25.248 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=26] [step=post-process] [subtask-id=50] [2025/04/04 12:46:25.248 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=26] [step=post-process] [subtask-id=50] [2025/04/04 12:46:25.248 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=26] [step=post-process] [subtask-id=50] [2025/04/04 12:46:25.254 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=26] [step=post-process] [subtask-id=50] [takeTime=5.760703ms] [] [2025/04/04 12:46:25.254 +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/04 12:46:25.254 +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/04 12:46:25.254 +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/04 12:46:25.254 +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/04 12:46:25.256 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=210] [physicalTableID=210] [indexID=-1] [checksum=13966026291112241924] [totalKvs=6] [totalBytes=726] [2025/04/04 12:46:25.256 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 12:46:25.257 +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/04 12:46:25.257 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=26] [step=post-process] [subtask-id=50] [takeTime=8.661541ms] [] [2025/04/04 12:46:25.257 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=26] [step=post-process] [subtask-id=50] [takeTime=8.801273ms] [] [2025/04/04 12:46:25.257 +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.947746ms] [] [2025/04/04 12:46:25.280 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 12:46:25.358 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=26] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 12:46:25.358 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=26] [step=post-process] [state=running] [] [2025/04/04 12:46:25.362 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=26] [2025/04/04 12:46:25.394 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=26] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=153.458089ms] [] [2025/04/04 12:46:25.394 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=26] [type=ImportInto] [2025/04/04 12:46:25.453 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=26] [2025/04/04 12:46:25.459 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 12:46:25.459 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=26] [2025/04/04 12:46:25.486 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 12:46:25.762 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:213, Type:truncate table, State:queueing, SchemaState:none, SchemaID:206, TableID:210, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:25.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:25.762 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:213, Type:truncate table, State:queueing, SchemaState:none, SchemaID:206, TableID:210, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:25.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="TRUNCATE TABLE t;"] [2025/04/04 12:46:25.767 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=213] [conn=2] [job="ID:213, Type:truncate table, State:queueing, SchemaState:none, SchemaID:206, TableID:210, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:25.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:25.775 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 212, Table Name: t, Old Table ID: 210, Old Table Name: t)"] [2025/04/04 12:46:25.797 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=145] [neededSchemaVersion=146] ["elapsed time"=2.772615ms] [gotSchemaVersion=146] [phyTblIDs="[210,212]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 12:46:25.801 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=213] [version=146] [2025/04/04 12:46:25.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=146] ["take time"=9.994219ms] [job="ID:213, Type:truncate table, State:done, SchemaState:public, SchemaID:206, TableID:210, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:25.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:25.814 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=213] [tableIDs="[210]"] [comment="truncate table: table ID"] [2025/04/04 12:46:25.819 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=213] [jobType="truncate table"] [2025/04/04 12:46:25.820 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=213] [conn=2] [job="ID:213, Type:truncate table, State:synced, SchemaState:public, SchemaID:206, TableID:210, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:25.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:25.839 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=213] [2025/04/04 12:46:25.840 +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.17s) === NAME TestImportInto === RUN TestImportInto/TestDiskQuota [2025/04/04 12:46:25.842 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=146] [cur_db=load_csv] [sql="DROP DATABASE IF EXISTS load_test_disk_quota;"] [user=root@%] [2025/04/04 12:46:25.854 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:215, Type:create schema, State:queueing, SchemaState:none, SchemaID:214, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:25.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:25.854 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:215, Type:create schema, State:queueing, SchemaState:none, SchemaID:214, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:25.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE load_test_disk_quota;"] [2025/04/04 12:46:25.859 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=215] [conn=2] [job="ID:215, Type:create schema, State:queueing, SchemaState:none, SchemaID:214, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:25.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:25.872 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=146] [neededSchemaVersion=147] ["elapsed time"=715.778µs] [gotSchemaVersion=147] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 12:46:25.875 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=215] [version=147] [2025/04/04 12:46:25.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=147] ["take time"=7.750581ms] [job="ID:215, Type:create schema, State:done, SchemaState:public, SchemaID:214, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:25.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:25.888 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=215] [conn=2] [job="ID:215, Type:create schema, State:synced, SchemaState:public, SchemaID:214, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:25.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:25.898 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=215] [2025/04/04 12:46:25.899 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=147] [cur_db=load_csv] [sql="CREATE DATABASE load_test_disk_quota;"] [user=root@%] [2025/04/04 12:46:25.912 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:217, Type:create table, State:queueing, SchemaState:none, SchemaID:214, TableID:216, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:25.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:25.912 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:217, Type:create table, State:queueing, SchemaState:none, SchemaID:214, TableID:216, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:25.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE load_test_disk_quota.t(a int, b int)"] [2025/04/04 12:46:25.919 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=217] [conn=2] [job="ID:217, Type:create table, State:queueing, SchemaState:none, SchemaID:214, TableID:216, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:25.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:25.923 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 216, Table Name: t)"] [2025/04/04 12:46:25.938 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=147] [neededSchemaVersion=148] ["elapsed time"=1.565887ms] [gotSchemaVersion=148] [phyTblIDs="[216]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:46:25.942 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=217] [version=148] [2025/04/04 12:46:25.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=148] ["take time"=8.714644ms] [job="ID:217, Type:create table, State:done, SchemaState:public, SchemaID:214, TableID:216, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:25.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:25.955 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=217] [conn=2] [job="ID:217, Type:create table, State:synced, SchemaState:public, SchemaID:214, TableID:216, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:25.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:25.966 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=217] [2025/04/04 12:46:25.966 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=148] [cur_db=load_csv] [sql="CREATE TABLE load_test_disk_quota.t(a int, b int)"] [user=root@%] [2025/04/04 12:46:26.004 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:26.052 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/diskquota-test.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"disk_quota\":\"1b\"}}"] [dist-task-enabled=true] [2025/04/04 12:46:26.071 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=27] [task-id=27] [data-size=95.49KiB] [thread-cnt=26] [global-sort=false] [2025/04/04 12:46:26.085 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=27] [2025/04/04 12:46:26.085 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=27] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/04 12:46:26.187 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=27] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 12:46:26.188 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=27] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:46:26.189 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=27] [curr-step=init] [next-step=import] [2025/04/04 12:46:26.197 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:26.200 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 12:46:26.200 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=97780] [2025/04/04 12:46:26.200 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=97780] [cost=57.186µs] [2025/04/04 12:46:26.200 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=146.964µs] [] [2025/04/04 12:46:26.200 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=27] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 12:46:26.200 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=27] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/04 12:46:26.232 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=27] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 12:46:26.252 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=27] [step=import] [2025/04/04 12:46:26.252 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:26.260 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:46:26.260 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 12:46:26.261 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:46:26.261 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:46:26.261 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:46:26.261 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:46:26.261 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:46:26.261 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:46:26.262 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:46:26.262 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:46:26.274 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:46:26.276 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 12:46:26.276 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=27] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 12:46:26.276 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=27] [disk-quota=1B] [2025/04/04 12:46:26.276 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=27] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 12:46:26.283 +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/04 12:46:26.283 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=27] [step=import] [subtask-id=51] [2025/04/04 12:46:26.287 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_test_disk_quota`.`t`:0] [engineUUID=958a8637-d337-5bb1-a7f0-a440d652de89] [2025/04/04 12:46:26.290 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_test_disk_quota`.`t`:-1] [engineUUID=2412f538-0a8b-5aeb-ad25-2c75702b9b27] [2025/04/04 12:46:26.291 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=216] [2025/04/04 12:46:26.306 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=27] [mode=Import] [2025/04/04 12:46:26.306 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=216] [key=diskquota-test.csv:0] [2025/04/04 12:46:26.326 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=27] [2025/04/04 12:46:26.391 +00:00] [WARN] [table_import.go:568] ["disk quota exceeded"] [table=t] [import-id=27] [diskSize=0] [memSize=13469] [quota=1] [largeEnginesCount=1] [inProgressLargeEnginesCount=0] [2025/04/04 12:46:26.403 +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/cde27c59-e410-44db-915b-c76162f5a4c5.sst] [firstKey=7480000000000000D85F728000000000000001] [lastKey=7480000000000000D85F728000000000000B00] [2025/04/04 12:46:26.406 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=] [engineUUID=958a8637-d337-5bb1-a7f0-a440d652de89] [retryCnt=0] [2025/04/04 12:46:26.412 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:46:26.433 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=958a8637-d337-5bb1-a7f0-a440d652de89] ["region ranges"=1] [count=2816] [size=98304] [2025/04/04 12:46:26.434 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:46:26.436 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000d85f728000000000000001] [endOfAllRanges=7480000000000000d85f728000000000000b01] [startKeyOfFirstRegion=7480000000000000ffd85f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffd85f728000000000ff000b010000000000fa] [2025/04/04 12:46:26.458 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=958a8637-d337-5bb1-a7f0-a440d652de89] [size=98304] [kvs=2816] [importedSize=98304] [importedCount=2816] [2025/04/04 12:46:26.460 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=] [engineUUID=958a8637-d337-5bb1-a7f0-a440d652de89] [retryCnt=0] [takeTime=54.016778ms] [] [2025/04/04 12:46:26.467 +00:00] [WARN] [table_import.go:568] ["disk quota exceeded"] [table=t] [import-id=27] [diskSize=860] [memSize=49152] [quota=1] [largeEnginesCount=2] [inProgressLargeEnginesCount=0] [2025/04/04 12:46:26.469 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=] [engineUUID=2412f538-0a8b-5aeb-ad25-2c75702b9b27] [retryCnt=0] [2025/04/04 12:46:26.473 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2412f538-0a8b-5aeb-ad25-2c75702b9b27] [2025/04/04 12:46:26.473 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=] [engineUUID=2412f538-0a8b-5aeb-ad25-2c75702b9b27] [retryCnt=0] [takeTime=3.688739ms] [] [2025/04/04 12:46:26.477 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=] [engineUUID=958a8637-d337-5bb1-a7f0-a440d652de89] [retryCnt=0] [2025/04/04 12:46:26.483 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=958a8637-d337-5bb1-a7f0-a440d652de89] [2025/04/04 12:46:26.483 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=] [engineUUID=958a8637-d337-5bb1-a7f0-a440d652de89] [retryCnt=0] [takeTime=5.347699ms] [] [2025/04/04 12:46:26.488 +00:00] [WARN] [table_import.go:568] ["disk quota exceeded"] [table=t] [import-id=27] [diskSize=0] [memSize=98309] [quota=1] [largeEnginesCount=1] [inProgressLargeEnginesCount=0] [2025/04/04 12:46:26.494 +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/cab25d6e-a12f-4d67-a220-f2c51b98593c.sst] [firstKey=7480000000000000D85F728000000000000B01] [lastKey=7480000000000000D85F7280000000000015F9] [2025/04/04 12:46:26.497 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=] [engineUUID=958a8637-d337-5bb1-a7f0-a440d652de89] [retryCnt=0] [2025/04/04 12:46:26.502 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:46:26.524 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=958a8637-d337-5bb1-a7f0-a440d652de89] ["region ranges"=1] [count=2809] [size=98315] [2025/04/04 12:46:26.524 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:46:26.526 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000d85f728000000000000b01] [endOfAllRanges=7480000000000000d85f7280000000000015fa] [startKeyOfFirstRegion=7480000000000000ffd85f728000000000ff000b010000000000fa] [endKeyOfLastRegion=7480000000000000ffd85f728000000000ff0015fa0000000000fa] [2025/04/04 12:46:26.548 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=958a8637-d337-5bb1-a7f0-a440d652de89] [size=98315] [kvs=2809] [importedSize=196619] [importedCount=5625] [2025/04/04 12:46:26.550 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=] [engineUUID=958a8637-d337-5bb1-a7f0-a440d652de89] [retryCnt=0] [takeTime=52.758691ms] [] [2025/04/04 12:46:26.557 +00:00] [WARN] [table_import.go:568] ["disk quota exceeded"] [table=t] [import-id=27] [diskSize=860] [memSize=98309] [quota=1] [largeEnginesCount=2] [inProgressLargeEnginesCount=0] [2025/04/04 12:46:26.564 +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/29bd79dc-bc52-4530-b162-a060e5253588.sst] [firstKey=7480000000000000D85F7280000000000015FA] [lastKey=7480000000000000D85F7280000000000020F2] [2025/04/04 12:46:26.567 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=] [engineUUID=2412f538-0a8b-5aeb-ad25-2c75702b9b27] [retryCnt=0] [2025/04/04 12:46:26.571 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2412f538-0a8b-5aeb-ad25-2c75702b9b27] [2025/04/04 12:46:26.571 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=] [engineUUID=2412f538-0a8b-5aeb-ad25-2c75702b9b27] [retryCnt=0] [takeTime=3.901045ms] [] [2025/04/04 12:46:26.576 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=] [engineUUID=958a8637-d337-5bb1-a7f0-a440d652de89] [retryCnt=0] [2025/04/04 12:46:26.580 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:46:26.602 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=958a8637-d337-5bb1-a7f0-a440d652de89] ["region ranges"=1] [count=2809] [size=98315] [2025/04/04 12:46:26.602 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:46:26.604 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000d85f7280000000000015fa] [endOfAllRanges=7480000000000000d85f7280000000000020f3] [startKeyOfFirstRegion=7480000000000000ffd85f728000000000ff0015fa0000000000fa] [endKeyOfLastRegion=7480000000000000ffd85f728000000000ff0020f30000000000fa] [2025/04/04 12:46:26.626 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=958a8637-d337-5bb1-a7f0-a440d652de89] [size=98315] [kvs=2809] [importedSize=294934] [importedCount=8434] [2025/04/04 12:46:26.627 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=] [engineUUID=958a8637-d337-5bb1-a7f0-a440d652de89] [retryCnt=0] [takeTime=51.398905ms] [] [2025/04/04 12:46:26.633 +00:00] [WARN] [table_import.go:568] ["disk quota exceeded"] [table=t] [import-id=27] [diskSize=0] [memSize=174872] [quota=1] [largeEnginesCount=1] [inProgressLargeEnginesCount=0] [2025/04/04 12:46:26.635 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=216] [key=diskquota-test.csv:0] [readDur=65.581517ms] [encodeDur=205.185669ms] [checksum="{cksum=13278823448959016481,size=349744,kvs=10000}"] [deliverDur=29.476194ms] [type=file] [takeTime=329.433399ms] [] [2025/04/04 12:46:26.636 +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/09c0b67e-7afd-49b0-9928-f5dac1152f1d.sst] [firstKey=7480000000000000D85F7280000000000020F3] [lastKey=7480000000000000D85F728000000000002710] [2025/04/04 12:46:26.636 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=27] [step=import] [engine-id=0] [2025/04/04 12:46:26.636 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=27] [step=import] [engine-id=0] [2025/04/04 12:46:26.636 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_test_disk_quota`.`t`:0] [engineUUID=958a8637-d337-5bb1-a7f0-a440d652de89] [2025/04/04 12:46:26.639 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=] [engineUUID=958a8637-d337-5bb1-a7f0-a440d652de89] [retryCnt=0] [2025/04/04 12:46:26.639 +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.749133ms] [] [2025/04/04 12:46:26.639 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_test_disk_quota`.`t`:0] [engineUUID=958a8637-d337-5bb1-a7f0-a440d652de89] [retryCnt=0] [2025/04/04 12:46:26.643 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:46:26.664 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=958a8637-d337-5bb1-a7f0-a440d652de89] ["region ranges"=1] [count=1566] [size=54810] [2025/04/04 12:46:26.665 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:46:26.667 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000d85f7280000000000020f3] [endOfAllRanges=7480000000000000d85f728000000000002711] [startKeyOfFirstRegion=7480000000000000ffd85f728000000000ff0020f30000000000fa] [endKeyOfLastRegion=7480000000000000ffd85f728000000000ff0027110000000000fa] [2025/04/04 12:46:26.684 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=958a8637-d337-5bb1-a7f0-a440d652de89] [size=54810] [kvs=1566] [importedSize=349744] [importedCount=10000] [2025/04/04 12:46:26.686 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=] [engineUUID=958a8637-d337-5bb1-a7f0-a440d652de89] [retryCnt=0] [takeTime=47.060563ms] [] [2025/04/04 12:46:26.691 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=958a8637-d337-5bb1-a7f0-a440d652de89] [2025/04/04 12:46:26.691 +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=51.821654ms] [] [2025/04/04 12:46:26.691 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_test_disk_quota`.`t`:0] [engineUUID=958a8637-d337-5bb1-a7f0-a440d652de89] [2025/04/04 12:46:26.692 +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=899.284µs] [] [2025/04/04 12:46:26.692 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=27] [step=import] [engine-id=0] [2025/04/04 12:46:26.692 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_test_disk_quota`.`t`:-1] [engineUUID=2412f538-0a8b-5aeb-ad25-2c75702b9b27] [2025/04/04 12:46:26.692 +00:00] [WARN] [table_import.go:568] ["disk quota exceeded"] [table=t] [import-id=27] [diskSize=860] [memSize=0] [quota=1] [largeEnginesCount=1] [inProgressLargeEnginesCount=0] [2025/04/04 12:46:26.695 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=] [engineUUID=2412f538-0a8b-5aeb-ad25-2c75702b9b27] [retryCnt=0] [2025/04/04 12:46:26.695 +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=3.066978ms] [] [2025/04/04 12:46:26.695 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_test_disk_quota`.`t`:-1] [engineUUID=2412f538-0a8b-5aeb-ad25-2c75702b9b27] [retryCnt=0] [2025/04/04 12:46:26.699 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2412f538-0a8b-5aeb-ad25-2c75702b9b27] [2025/04/04 12:46:26.699 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=] [engineUUID=2412f538-0a8b-5aeb-ad25-2c75702b9b27] [retryCnt=0] [takeTime=3.851033ms] [] [2025/04/04 12:46:26.704 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2412f538-0a8b-5aeb-ad25-2c75702b9b27] [2025/04/04 12:46:26.704 +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.417371ms] [] [2025/04/04 12:46:26.704 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_test_disk_quota`.`t`:-1] [engineUUID=2412f538-0a8b-5aeb-ad25-2c75702b9b27] [2025/04/04 12:46:26.705 +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=873.744µs] [] [2025/04/04 12:46:26.705 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=27] [step=import] [subtask-id=51] [takeTime=421.517185ms] [] [2025/04/04 12:46:26.705 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=27] [task-type=ImportInto] [server-id=:4000] [subtaskID=51] [step=import] [takeTime=422.106587ms] [] [2025/04/04 12:46:26.792 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=27] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 12:46:26.794 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=27] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:46:26.795 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=27] [curr-step=import] [next-step=post-process] [2025/04/04 12:46:26.795 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=27] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 12:46:26.825 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=27] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":10000}"] [2025/04/04 12:46:26.827 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=27] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 12:46:26.827 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=27] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=26] [subtasks=1] [2025/04/04 12:46:26.851 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=27] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 12:46:26.859 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=27] [step=import] [2025/04/04 12:46:26.866 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:46:26.866 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:46:26.866 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:46:26.866 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:46:26.866 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:46:26.866 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:46:26.866 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:46:26.866 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:26.866 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-26] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:46:26.866 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:26.866 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:26.866 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:46:26.868 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:46:26.868 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:26.868 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:26.868 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:26.868 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=27] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=592.293999ms] [] [2025/04/04 12:46:26.870 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=27] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 12:46:26.878 +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/04 12:46:26.878 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=27] [step=post-process] [subtask-id=52] [2025/04/04 12:46:26.878 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=27] [step=post-process] [subtask-id=52] [2025/04/04 12:46:26.878 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=27] [step=post-process] [subtask-id=52] [2025/04/04 12:46:26.884 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=27] [step=post-process] [subtask-id=52] [takeTime=6.33752ms] [] [2025/04/04 12:46:26.884 +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/04 12:46:26.884 +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/04 12:46:26.884 +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/04 12:46:26.884 +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/04 12:46:26.888 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=216] [physicalTableID=216] [indexID=-1] [checksum=13278823448959016481] [totalKvs=10000] [totalBytes=349744] [2025/04/04 12:46:26.889 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 12:46:26.889 +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/04 12:46:26.889 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=27] [step=post-process] [subtask-id=52] [takeTime=11.044654ms] [] [2025/04/04 12:46:26.889 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=27] [step=post-process] [subtask-id=52] [takeTime=11.179414ms] [] [2025/04/04 12:46:26.889 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=27] [task-type=ImportInto] [server-id=:4000] [subtaskID=52] [step=post-process] [takeTime=11.753556ms] [] [2025/04/04 12:46:26.895 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 12:46:26.992 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=27] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 12:46:26.992 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=27] [step=post-process] [state=running] [] [2025/04/04 12:46:26.994 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=27] [2025/04/04 12:46:27.009 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=27] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=139.53846ms] [] [2025/04/04 12:46:27.009 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=27] [type=ImportInto] [2025/04/04 12:46:27.087 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=27] [2025/04/04 12:46:27.094 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 12:46:27.094 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=27] [2025/04/04 12:46:27.116 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 12:46:27.289 +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.290484119\n# Parse_time: 0.000135666\n# Compile_time: 0.000584543\n# Rewrite_time: 0.000179334\n# Optimize_time: 0.000333284\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('RvBFMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjEuMjlzLCBvcGVuOjY2Nm5zLCBjbG9zZTo4ODZucywgbG9vcHM6MglOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('YfBMCl0KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWix0aW1lOjEuMjlzLCBvcGVuOjY2Nm5zLCBjbG9zZTo4ODZucywgbG9vcHM6MnD///8JAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.00003438\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/04 12:46:27.297 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=148] [cur_db=load_csv] [sql="DROP DATABASE IF EXISTS load_charset;"] [user=root@%] [2025/04/04 12:46:27.309 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:219, Type:create schema, State:queueing, SchemaState:none, SchemaID:218, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:27.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE load_charset;"] [2025/04/04 12:46:27.309 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:219, Type:create schema, State:queueing, SchemaState:none, SchemaID:218, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:27.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:27.314 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=219] [conn=2] [job="ID:219, Type:create schema, State:queueing, SchemaState:none, SchemaID:218, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:27.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:27.327 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=148] [neededSchemaVersion=149] ["elapsed time"=664.631µs] [gotSchemaVersion=149] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 12:46:27.331 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=219] [version=149] [2025/04/04 12:46:27.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=149] ["take time"=7.451852ms] [job="ID:219, Type:create schema, State:done, SchemaState:public, SchemaID:218, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:27.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:27.343 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=219] [conn=2] [job="ID:219, Type:create schema, State:synced, SchemaState:public, SchemaID:218, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:27.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:27.352 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=219] [2025/04/04 12:46:27.352 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=149] [cur_db=load_csv] [sql="CREATE DATABASE load_charset;"] [user=root@%] [2025/04/04 12:46:27.364 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:221, Type:create table, State:queueing, SchemaState:none, SchemaID:218, TableID:220, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:27.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:27.364 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:221, Type:create table, State:queueing, SchemaState:none, SchemaID:218, TableID:220, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:27.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE load_charset.gbk (\n\t\ti INT, j VARCHAR(255)\n\t\t) CHARACTER SET gbk;"] [2025/04/04 12:46:27.369 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=221] [conn=2] [job="ID:221, Type:create table, State:queueing, SchemaState:none, SchemaID:218, TableID:220, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:27.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:27.374 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 220, Table Name: gbk)"] [2025/04/04 12:46:27.388 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=149] [neededSchemaVersion=150] ["elapsed time"=1.624039ms] [gotSchemaVersion=150] [phyTblIDs="[220]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:46:27.391 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=221] [version=150] [2025/04/04 12:46:27.393 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=150] ["take time"=8.418378ms] [job="ID:221, Type:create table, State:done, SchemaState:public, SchemaID:218, TableID:220, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:27.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:27.404 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=221] [conn=2] [job="ID:221, Type:create table, State:synced, SchemaState:public, SchemaID:218, TableID:220, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:27.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:27.414 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=221] [2025/04/04 12:46:27.415 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=150] [cur_db=load_csv] [sql="CREATE TABLE load_charset.gbk (\n\t\ti INT, j VARCHAR(255)\n\t\t) CHARACTER SET gbk;"] [user=root@%] [2025/04/04 12:46:27.427 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:223, Type:create table, State:queueing, SchemaState:none, SchemaID:218, TableID:222, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:27.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:27.428 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:223, Type:create table, State:queueing, SchemaState:none, SchemaID:218, TableID:222, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:27.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE load_charset.utf8mb4 (\n\t\ti INT, j VARCHAR(255)\n\t\t) CHARACTER SET utf8mb4;"] [2025/04/04 12:46:27.433 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=223] [conn=2] [job="ID:223, Type:create table, State:queueing, SchemaState:none, SchemaID:218, TableID:222, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:27.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:27.437 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 222, Table Name: utf8mb4)"] [2025/04/04 12:46:27.458 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=150] [neededSchemaVersion=151] ["elapsed time"=1.703969ms] [gotSchemaVersion=151] [phyTblIDs="[222]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:46:27.461 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=223] [version=151] [2025/04/04 12:46:27.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=151] ["take time"=8.439995ms] [job="ID:223, Type:create table, State:done, SchemaState:public, SchemaID:218, TableID:222, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:27.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:27.473 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=223] [conn=2] [job="ID:223, Type:create table, State:synced, SchemaState:public, SchemaID:218, TableID:222, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:27.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:27.485 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=223] [2025/04/04 12:46:27.485 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=151] [cur_db=load_csv] [sql="CREATE TABLE load_charset.utf8mb4 (\n\t\ti INT, j VARCHAR(255)\n\t\t) CHARACTER SET utf8mb4;"] [user=root@%] [2025/04/04 12:46:27.491 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:27.540 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/gbk.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"character_set\":\"gbk\"}}"] [dist-task-enabled=true] [2025/04/04 12:46:27.559 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=28] [task-id=28] [data-size=69B] [thread-cnt=26] [global-sort=false] [2025/04/04 12:46:27.573 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=28] [2025/04/04 12:46:27.573 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=28] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/04 12:46:27.675 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=28] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 12:46:27.676 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=28] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:46:27.677 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=28] [curr-step=init] [next-step=import] [2025/04/04 12:46:27.685 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:27.687 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=gbk] [2025/04/04 12:46:27.687 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=gbk] [before=536870912000] [after=69] [2025/04/04 12:46:27.688 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=gbk] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=69] [cost=54.784µs] [2025/04/04 12:46:27.688 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=gbk] [takeTime=161.965µs] [] [2025/04/04 12:46:27.688 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=28] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 12:46:27.688 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=28] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/04 12:46:27.723 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=28] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 12:46:27.743 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=28] [step=import] [2025/04/04 12:46:27.743 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:27.751 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:46:27.751 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 12:46:27.751 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:46:27.751 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:46:27.752 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:46:27.752 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:46:27.752 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:46:27.752 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:46:27.752 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:46:27.752 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:46:27.765 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:46:27.767 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 12:46:27.767 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=gbk] [quota=374.2GB] [2025/04/04 12:46:27.767 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=28] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 12:46:27.767 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=gbk] [import-id=28] [disk-quota=348.5GiB] [2025/04/04 12:46:27.767 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=28] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 12:46:27.774 +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/04 12:46:27.774 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=28] [step=import] [subtask-id=53] [2025/04/04 12:46:27.778 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:0] [engineUUID=bde291e2-5685-5f69-92ea-f9e2ed68f368] [2025/04/04 12:46:27.781 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=28] [mode=Import] [2025/04/04 12:46:27.782 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:-1] [engineUUID=2007fb28-9e9f-5c54-bfb7-f2a048e6ea16] [2025/04/04 12:46:27.782 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=220] [2025/04/04 12:46:27.801 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=28] [2025/04/04 12:46:27.841 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=220] [key=gbk.csv:0] [2025/04/04 12:46:27.843 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=220] [key=gbk.csv:0] [readDur=1.045995ms] [encodeDur=188.93µs] [checksum="{cksum=12169156294469719470,size=160,kvs=2}"] [deliverDur=253.876µs] [type=file] [takeTime=1.75282ms] [] [2025/04/04 12:46:27.843 +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/f7f16cbb-eb43-4573-9d9b-677a8ebaa03a.sst] [firstKey=7480000000000000DC5F728000000000000001] [lastKey=7480000000000000DC5F728000000000000002] [2025/04/04 12:46:27.844 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=28] [step=import] [engine-id=0] [2025/04/04 12:46:27.844 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=28] [step=import] [engine-id=0] [2025/04/04 12:46:27.844 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:0] [engineUUID=bde291e2-5685-5f69-92ea-f9e2ed68f368] [2025/04/04 12:46:27.846 +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.153745ms] [] [2025/04/04 12:46:27.846 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:0] [engineUUID=bde291e2-5685-5f69-92ea-f9e2ed68f368] [retryCnt=0] [2025/04/04 12:46:27.851 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:46:27.874 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=bde291e2-5685-5f69-92ea-f9e2ed68f368] ["region ranges"=1] [count=2] [size=160] [2025/04/04 12:46:27.874 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:46:27.876 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000dc5f728000000000000001] [endOfAllRanges=7480000000000000dc5f728000000000000003] [startKeyOfFirstRegion=7480000000000000ffdc5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffdc5f728000000000ff0000030000000000fa] [2025/04/04 12:46:27.887 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=bde291e2-5685-5f69-92ea-f9e2ed68f368] [size=160] [kvs=2] [importedSize=160] [importedCount=2] [2025/04/04 12:46:27.889 +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=43.044891ms] [] [2025/04/04 12:46:27.889 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:0] [engineUUID=bde291e2-5685-5f69-92ea-f9e2ed68f368] [2025/04/04 12:46:27.890 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:0] [engineUUID=bde291e2-5685-5f69-92ea-f9e2ed68f368] [takeTime=1.060907ms] [] [2025/04/04 12:46:27.890 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=28] [step=import] [engine-id=0] [2025/04/04 12:46:27.890 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:-1] [engineUUID=2007fb28-9e9f-5c54-bfb7-f2a048e6ea16] [2025/04/04 12:46:27.892 +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.65813ms] [] [2025/04/04 12:46:27.892 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:-1] [engineUUID=2007fb28-9e9f-5c54-bfb7-f2a048e6ea16] [retryCnt=0] [2025/04/04 12:46:27.896 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2007fb28-9e9f-5c54-bfb7-f2a048e6ea16] [2025/04/04 12:46:27.896 +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.660975ms] [] [2025/04/04 12:46:27.896 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:-1] [engineUUID=2007fb28-9e9f-5c54-bfb7-f2a048e6ea16] [2025/04/04 12:46:27.897 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:-1] [engineUUID=2007fb28-9e9f-5c54-bfb7-f2a048e6ea16] [takeTime=759.33µs] [] [2025/04/04 12:46:27.897 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=28] [step=import] [subtask-id=53] [takeTime=122.28162ms] [] [2025/04/04 12:46:27.897 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=28] [task-type=ImportInto] [server-id=:4000] [subtaskID=53] [step=import] [takeTime=122.675594ms] [] [2025/04/04 12:46:27.980 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=28] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 12:46:27.982 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=28] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:46:27.983 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=28] [curr-step=import] [next-step=post-process] [2025/04/04 12:46:27.983 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=28] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 12:46:28.013 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=28] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/04 12:46:28.015 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=28] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 12:46:28.015 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=28] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=26] [subtasks=1] [2025/04/04 12:46:28.037 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=28] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 12:46:28.043 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=28] [step=import] [2025/04/04 12:46:28.046 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:46:28.046 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:46:28.047 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:46:28.047 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:46:28.047 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:46:28.047 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:46:28.047 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:46:28.047 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:28.047 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:28.047 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:28.047 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-27] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:46:28.047 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:46:28.049 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:46:28.049 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:28.049 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:28.049 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:28.049 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=28] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=282.306738ms] [] [2025/04/04 12:46:28.050 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=28] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 12:46:28.058 +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/04 12:46:28.058 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=28] [step=post-process] [subtask-id=54] [2025/04/04 12:46:28.058 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=28] [step=post-process] [subtask-id=54] [2025/04/04 12:46:28.058 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=28] [step=post-process] [subtask-id=54] [2025/04/04 12:46:28.065 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=28] [step=post-process] [subtask-id=54] [takeTime=6.542222ms] [] [2025/04/04 12:46:28.065 +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/04 12:46:28.065 +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/04 12:46:28.065 +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/04 12:46:28.065 +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/04 12:46:28.067 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=220] [physicalTableID=220] [indexID=-1] [checksum=12169156294469719470] [totalKvs=2] [totalBytes=160] [2025/04/04 12:46:28.067 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 12:46:28.067 +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/04 12:46:28.067 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=28] [step=post-process] [subtask-id=54] [takeTime=9.268317ms] [] [2025/04/04 12:46:28.067 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=28] [step=post-process] [subtask-id=54] [takeTime=9.414853ms] [] [2025/04/04 12:46:28.068 +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=9.567532ms] [] [2025/04/04 12:46:28.080 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=28] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 12:46:28.080 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=28] [step=post-process] [state=running] [] [2025/04/04 12:46:28.082 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=28] [2025/04/04 12:46:28.082 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 12:46:28.112 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=28] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=61.742279ms] [] [2025/04/04 12:46:28.112 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=28] [type=ImportInto] [2025/04/04 12:46:28.175 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=28] [2025/04/04 12:46:28.175 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# User@Host: root[root] @ localhost [localhost]\n# Conn_ID: 2\n# Query_time: 0.689266372\n# Parse_time: 0.000089093\n# Compile_time: 0.000532306\n# Rewrite_time: 0.000165764\n# Optimize_time: 0.000494348\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('SvBJMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY4OC40bXMsIG9wZW46NjM1bnMsIGNsb3NlOjEuMDHCtXMsIGxvb3BzOjIJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('ZfBSCmEKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWjB0aW1lOjY4OC40bXMsIG9wZW46NjM1bnMsIGNsb3NlOjEuMDHCtXMsIGxvb3BzOjJw//////8BAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.00003438\nIMPORT INTO `load_charset`.`gbk` FROM 'gs://test-load/gbk.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH character_set=_UTF8MB4'gbk';"] [2025/04/04 12:46:28.180 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 12:46:28.180 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=28] [2025/04/04 12:46:28.184 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:28.201 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 12:46:28.230 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/gbk.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"character_set\":\"gbk\"}}"] [dist-task-enabled=true] [2025/04/04 12:46:28.248 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=29] [task-id=29] [data-size=69B] [thread-cnt=26] [global-sort=false] [2025/04/04 12:46:28.262 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=29] [2025/04/04 12:46:28.262 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=29] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/04 12:46:28.365 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=29] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 12:46:28.366 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=29] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:46:28.367 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=29] [curr-step=init] [next-step=import] [2025/04/04 12:46:28.375 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:28.377 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=utf8mb4] [2025/04/04 12:46:28.377 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=utf8mb4] [before=536870912000] [after=69] [2025/04/04 12:46:28.378 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=utf8mb4] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=69] [cost=42.164µs] [2025/04/04 12:46:28.378 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=utf8mb4] [takeTime=152.56µs] [] [2025/04/04 12:46:28.378 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=29] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 12:46:28.378 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=29] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/04 12:46:28.412 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=29] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 12:46:28.432 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=29] [step=import] [2025/04/04 12:46:28.432 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:28.440 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:46:28.440 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 12:46:28.441 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:46:28.441 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:46:28.441 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:46:28.441 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:46:28.441 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:46:28.442 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:46:28.442 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:46:28.442 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:46:28.455 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:46:28.457 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 12:46:28.457 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=utf8mb4] [quota=374.2GB] [2025/04/04 12:46:28.457 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=29] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 12:46:28.457 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=utf8mb4] [import-id=29] [disk-quota=348.5GiB] [2025/04/04 12:46:28.457 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=29] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 12:46:28.464 +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/04 12:46:28.464 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=29] [step=import] [subtask-id=55] [2025/04/04 12:46:28.468 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:0] [engineUUID=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [2025/04/04 12:46:28.471 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=29] [mode=Import] [2025/04/04 12:46:28.472 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:-1] [engineUUID=e89504af-26b5-5340-ae2e-218c1dc24988] [2025/04/04 12:46:28.472 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=222] [2025/04/04 12:46:28.491 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=29] [2025/04/04 12:46:28.520 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=222] [key=gbk.csv:0] [2025/04/04 12:46:28.522 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=222] [key=gbk.csv:0] [readDur=1.130942ms] [encodeDur=527.398µs] [checksum="{cksum=12169156294469719470,size=160,kvs=2}"] [deliverDur=390.352µs] [type=file] [takeTime=2.407964ms] [] [2025/04/04 12:46:28.523 +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/4d6f2241-0ff8-43ce-9856-14ef4a1b8d8f.sst] [firstKey=7480000000000000DE5F728000000000000001] [lastKey=7480000000000000DE5F728000000000000002] [2025/04/04 12:46:28.523 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=29] [step=import] [engine-id=0] [2025/04/04 12:46:28.523 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=29] [step=import] [engine-id=0] [2025/04/04 12:46:28.523 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:0] [engineUUID=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [2025/04/04 12:46:28.525 +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.858528ms] [] [2025/04/04 12:46:28.525 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:0] [engineUUID=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [retryCnt=0] [2025/04/04 12:46:28.530 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:46:28.552 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] ["region ranges"=1] [count=2] [size=160] [2025/04/04 12:46:28.552 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:46:28.554 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000de5f728000000000000001] [endOfAllRanges=7480000000000000de5f728000000000000003] [startKeyOfFirstRegion=7480000000000000ffde5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffde5f728000000000ff0000030000000000fa] [2025/04/04 12:46:28.566 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [size=160] [kvs=2] [importedSize=160] [importedCount=2] [2025/04/04 12:46:28.568 +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=42.937929ms] [] [2025/04/04 12:46:28.568 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:0] [engineUUID=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [2025/04/04 12:46:28.569 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:0] [engineUUID=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [takeTime=1.063111ms] [] [2025/04/04 12:46:28.569 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=29] [step=import] [engine-id=0] [2025/04/04 12:46:28.569 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:-1] [engineUUID=e89504af-26b5-5340-ae2e-218c1dc24988] [2025/04/04 12:46:28.571 +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.618842ms] [] [2025/04/04 12:46:28.571 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:-1] [engineUUID=e89504af-26b5-5340-ae2e-218c1dc24988] [retryCnt=0] [2025/04/04 12:46:28.575 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=e89504af-26b5-5340-ae2e-218c1dc24988] [2025/04/04 12:46:28.575 +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.572978ms] [] [2025/04/04 12:46:28.575 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:-1] [engineUUID=e89504af-26b5-5340-ae2e-218c1dc24988] [2025/04/04 12:46:28.576 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:-1] [engineUUID=e89504af-26b5-5340-ae2e-218c1dc24988] [takeTime=1.040754ms] [] [2025/04/04 12:46:28.576 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=29] [step=import] [subtask-id=55] [takeTime=111.860188ms] [] [2025/04/04 12:46:28.576 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=29] [task-type=ImportInto] [server-id=:4000] [subtaskID=55] [step=import] [takeTime=112.032234ms] [] [2025/04/04 12:46:28.670 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=29] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 12:46:28.671 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=29] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:46:28.672 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=29] [curr-step=import] [next-step=post-process] [2025/04/04 12:46:28.672 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=29] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 12:46:28.702 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=29] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/04 12:46:28.703 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=29] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 12:46:28.703 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=29] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=26] [subtasks=1] [2025/04/04 12:46:28.729 +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/04 12:46:28.729 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=29] [step=import] [2025/04/04 12:46:28.732 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:46:28.732 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:46:28.732 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:46:28.732 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:46:28.732 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:46:28.732 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:46:28.732 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:46:28.732 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:28.732 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:28.732 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:28.732 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:46:28.732 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-28] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:46:28.734 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:46:28.734 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:28.734 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:28.734 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:28.734 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=29] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=277.25154ms] [] [2025/04/04 12:46:28.734 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=29] [type=ImportInto] [2025/04/04 12:46:28.742 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=29] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 12:46:28.762 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=29] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 12:46:28.770 +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/04 12:46:28.770 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=29] [step=post-process] [subtask-id=56] [2025/04/04 12:46:28.770 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=29] [step=post-process] [subtask-id=56] [2025/04/04 12:46:28.770 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=29] [step=post-process] [subtask-id=56] [2025/04/04 12:46:28.778 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=29] [step=post-process] [subtask-id=56] [takeTime=8.117227ms] [] [2025/04/04 12:46:28.778 +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/04 12:46:28.778 +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/04 12:46:28.779 +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/04 12:46:28.779 +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/04 12:46:28.781 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=222] [physicalTableID=222] [indexID=-1] [checksum=12169156294469719470] [totalKvs=2] [totalBytes=160] [2025/04/04 12:46:28.781 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 12:46:28.781 +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/04 12:46:28.781 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=29] [step=post-process] [subtask-id=56] [takeTime=11.09683ms] [] [2025/04/04 12:46:28.781 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=29] [step=post-process] [subtask-id=56] [takeTime=11.233205ms] [] [2025/04/04 12:46:28.782 +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=11.699987ms] [] [2025/04/04 12:46:28.795 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 12:46:28.871 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=29] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 12:46:28.871 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=29] [step=post-process] [state=running] [] [2025/04/04 12:46:28.873 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=29] [2025/04/04 12:46:28.904 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=29] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=141.358895ms] [] [2025/04/04 12:46:28.904 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=29] [type=ImportInto] [2025/04/04 12:46:28.965 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=29] [2025/04/04 12:46:28.971 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 12:46:28.971 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=29] [2025/04/04 12:46:28.993 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 12:46:29.166 +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.986978367\n# Parse_time: 0.000090202\n# Compile_time: 0.00052409\n# Rewrite_time: 0.000168559\n# Optimize_time: 0.000256664\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4Ni4xbXMsIG9wZW46NzMybnMsIGNsb3NlOjk3OW5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk4Ni4xbXMsIG9wZW46NzMybnMsIGNsb3NlOjk3OW5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.00003438\nIMPORT INTO `load_charset`.`utf8mb4` FROM 'gs://test-load/gbk.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH character_set=_UTF8MB4'gbk';"] [2025/04/04 12:46:29.182 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:225, Type:truncate table, State:queueing, SchemaState:none, SchemaID:218, TableID:220, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:29.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:29.182 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:225, Type:truncate table, State:queueing, SchemaState:none, SchemaID:218, TableID:220, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:29.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="TRUNCATE TABLE load_charset.gbk;"] [2025/04/04 12:46:29.187 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=225] [conn=2] [job="ID:225, Type:truncate table, State:queueing, SchemaState:none, SchemaID:218, TableID:220, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:29.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:29.195 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 224, Table Name: gbk, Old Table ID: 220, Old Table Name: gbk)"] [2025/04/04 12:46:29.210 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=151] [neededSchemaVersion=152] ["elapsed time"=1.981529ms] [gotSchemaVersion=152] [phyTblIDs="[220,224]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 12:46:29.214 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=225] [version=152] [2025/04/04 12:46:29.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=152] ["take time"=8.96011ms] [job="ID:225, Type:truncate table, State:done, SchemaState:public, SchemaID:218, TableID:220, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:29.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:29.226 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=225] [tableIDs="[220]"] [comment="truncate table: table ID"] [2025/04/04 12:46:29.231 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=225] [jobType="truncate table"] [2025/04/04 12:46:29.232 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=225] [conn=2] [job="ID:225, Type:truncate table, State:synced, SchemaState:public, SchemaID:218, TableID:220, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:29.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:29.250 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=225] [2025/04/04 12:46:29.251 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=152] [cur_db=load_csv] [sql="TRUNCATE TABLE load_charset.gbk;"] [user=root@%] [2025/04/04 12:46:29.257 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:29.310 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/utf8mb4.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"character_set\":\"utf8mb4\"}}"] [dist-task-enabled=true] [2025/04/04 12:46:29.329 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30] [task-id=30] [data-size=101B] [thread-cnt=26] [global-sort=false] [2025/04/04 12:46:29.344 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30] [2025/04/04 12:46:29.344 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=30] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/04 12:46:29.447 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 12:46:29.448 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:46:29.449 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30] [curr-step=init] [next-step=import] [2025/04/04 12:46:29.456 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:29.459 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=gbk] [2025/04/04 12:46:29.459 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=gbk] [before=536870912000] [after=101] [2025/04/04 12:46:29.459 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=gbk] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=101] [cost=57.112µs] [2025/04/04 12:46:29.459 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=gbk] [takeTime=162.417µs] [] [2025/04/04 12:46:29.459 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 12:46:29.459 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/04 12:46:29.492 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 12:46:29.513 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30] [step=import] [2025/04/04 12:46:29.513 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:29.521 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:46:29.522 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 12:46:29.522 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:46:29.522 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:46:29.522 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:46:29.522 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:46:29.522 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:46:29.523 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:46:29.523 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:46:29.523 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:46:29.536 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:46:29.538 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 12:46:29.538 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=gbk] [quota=374.2GB] [2025/04/04 12:46:29.539 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=30] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 12:46:29.539 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=gbk] [import-id=30] [disk-quota=348.5GiB] [2025/04/04 12:46:29.539 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 12:46:29.546 +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/04 12:46:29.546 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30] [step=import] [subtask-id=57] [2025/04/04 12:46:29.550 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:0] [engineUUID=bde291e2-5685-5f69-92ea-f9e2ed68f368] [2025/04/04 12:46:29.553 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=30] [mode=Import] [2025/04/04 12:46:29.554 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:-1] [engineUUID=2007fb28-9e9f-5c54-bfb7-f2a048e6ea16] [2025/04/04 12:46:29.554 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=224] [2025/04/04 12:46:29.573 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=30] [2025/04/04 12:46:29.602 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=224] [key=utf8mb4.csv:0] [2025/04/04 12:46:29.604 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=224] [key=utf8mb4.csv:0] [readDur=1.054177ms] [encodeDur=485.01µs] [checksum="{cksum=12169156294469719470,size=160,kvs=2}"] [deliverDur=305.381µs] [type=file] [takeTime=2.22861ms] [] [2025/04/04 12:46:29.605 +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/4545e899-079a-4e15-bf01-6ed929248892.sst] [firstKey=7480000000000000E05F728000000000000001] [lastKey=7480000000000000E05F728000000000000002] [2025/04/04 12:46:29.605 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=30] [step=import] [engine-id=0] [2025/04/04 12:46:29.605 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=30] [step=import] [engine-id=0] [2025/04/04 12:46:29.605 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:0] [engineUUID=bde291e2-5685-5f69-92ea-f9e2ed68f368] [2025/04/04 12:46:29.607 +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.280557ms] [] [2025/04/04 12:46:29.607 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:0] [engineUUID=bde291e2-5685-5f69-92ea-f9e2ed68f368] [retryCnt=0] [2025/04/04 12:46:29.612 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:46:29.633 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=bde291e2-5685-5f69-92ea-f9e2ed68f368] ["region ranges"=1] [count=2] [size=160] [2025/04/04 12:46:29.633 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:46:29.635 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000e05f728000000000000001] [endOfAllRanges=7480000000000000e05f728000000000000003] [startKeyOfFirstRegion=7480000000000000ffe05f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffe05f728000000000ff0000030000000000fa] [2025/04/04 12:46:29.648 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=bde291e2-5685-5f69-92ea-f9e2ed68f368] [size=160] [kvs=2] [importedSize=160] [importedCount=2] [2025/04/04 12:46:29.650 +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.1458ms] [] [2025/04/04 12:46:29.650 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:0] [engineUUID=bde291e2-5685-5f69-92ea-f9e2ed68f368] [2025/04/04 12:46:29.651 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:0] [engineUUID=bde291e2-5685-5f69-92ea-f9e2ed68f368] [takeTime=1.15458ms] [] [2025/04/04 12:46:29.651 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=30] [step=import] [engine-id=0] [2025/04/04 12:46:29.651 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:-1] [engineUUID=2007fb28-9e9f-5c54-bfb7-f2a048e6ea16] [2025/04/04 12:46:29.653 +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.67509ms] [] [2025/04/04 12:46:29.653 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:-1] [engineUUID=2007fb28-9e9f-5c54-bfb7-f2a048e6ea16] [retryCnt=0] [2025/04/04 12:46:29.656 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2007fb28-9e9f-5c54-bfb7-f2a048e6ea16] [2025/04/04 12:46:29.656 +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.604577ms] [] [2025/04/04 12:46:29.657 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:-1] [engineUUID=2007fb28-9e9f-5c54-bfb7-f2a048e6ea16] [2025/04/04 12:46:29.657 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:-1] [engineUUID=2007fb28-9e9f-5c54-bfb7-f2a048e6ea16] [takeTime=842.708µs] [] [2025/04/04 12:46:29.658 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=30] [step=import] [subtask-id=57] [takeTime=111.439258ms] [] [2025/04/04 12:46:29.658 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30] [task-type=ImportInto] [server-id=:4000] [subtaskID=57] [step=import] [takeTime=111.881921ms] [] [2025/04/04 12:46:29.752 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 12:46:29.753 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:46:29.754 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30] [curr-step=import] [next-step=post-process] [2025/04/04 12:46:29.754 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=30] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 12:46:29.784 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=30] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/04 12:46:29.786 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 12:46:29.786 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=26] [subtasks=1] [2025/04/04 12:46:29.808 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=30] [task-type=ImportInto] [server-id=:4000] [2025/04/04 12:46:29.808 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30] [step=import] [2025/04/04 12:46:29.811 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:46:29.811 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:46:29.811 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:46:29.811 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:46:29.811 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:46:29.811 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:46:29.811 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:46:29.811 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:29.811 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:29.811 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-29] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:46:29.811 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:29.812 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:46:29.814 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:46:29.814 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:29.814 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:29.814 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:29.814 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=275.172224ms] [] [2025/04/04 12:46:29.814 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30] [type=ImportInto] [2025/04/04 12:46:29.823 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 12:46:29.839 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 12:46:29.843 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 12:46:29.851 +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/04 12:46:29.851 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=30] [step=post-process] [subtask-id=58] [2025/04/04 12:46:29.851 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=30] [step=post-process] [subtask-id=58] [2025/04/04 12:46:29.851 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=30] [step=post-process] [subtask-id=58] [2025/04/04 12:46:29.859 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=30] [step=post-process] [subtask-id=58] [takeTime=7.269779ms] [] [2025/04/04 12:46:29.859 +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/04 12:46:29.859 +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/04 12:46:29.859 +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/04 12:46:29.859 +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/04 12:46:29.861 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=224] [physicalTableID=224] [indexID=-1] [checksum=12169156294469719470] [totalKvs=2] [totalBytes=160] [2025/04/04 12:46:29.861 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 12:46:29.861 +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/04 12:46:29.861 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=30] [step=post-process] [subtask-id=58] [takeTime=10.158581ms] [] [2025/04/04 12:46:29.861 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=30] [step=post-process] [subtask-id=58] [takeTime=10.301304ms] [] [2025/04/04 12:46:29.863 +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.854492ms] [] [2025/04/04 12:46:29.876 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 12:46:29.952 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 12:46:29.952 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30] [step=post-process] [state=running] [] [2025/04/04 12:46:29.954 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=30] [2025/04/04 12:46:29.987 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=143.890779ms] [] [2025/04/04 12:46:29.987 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30] [type=ImportInto] [2025/04/04 12:46:30.047 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30] [2025/04/04 12:46:30.053 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 12:46:30.053 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30] [2025/04/04 12:46:30.075 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 12:46:30.248 +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.996411063\n# Parse_time: 0.000094875\n# Compile_time: 0.000589486\n# Rewrite_time: 0.000194428\n# Optimize_time: 0.000291936\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('SvBJMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5NS40bXMsIG9wZW46NzcxbnMsIGNsb3NlOjEuMDXCtXMsIGxvb3BzOjIJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('ZfBSCmEKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWjB0aW1lOjk5NS40bXMsIG9wZW46NzcxbnMsIGNsb3NlOjEuMDXCtXMsIGxvb3BzOjJw//////8BAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.00003438\nIMPORT INTO `load_charset`.`gbk` FROM 'gs://test-load/utf8mb4.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH character_set=_UTF8MB4'utf8mb4';"] [2025/04/04 12:46:30.263 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:227, Type:truncate table, State:queueing, SchemaState:none, SchemaID:218, TableID:224, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:30.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="TRUNCATE TABLE load_charset.gbk;"] [2025/04/04 12:46:30.263 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:227, Type:truncate table, State:queueing, SchemaState:none, SchemaID:218, TableID:224, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:30.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:30.268 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=227] [conn=2] [job="ID:227, Type:truncate table, State:queueing, SchemaState:none, SchemaID:218, TableID:224, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:30.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:30.276 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 226, Table Name: gbk, Old Table ID: 224, Old Table Name: gbk)"] [2025/04/04 12:46:30.291 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=152] [neededSchemaVersion=153] ["elapsed time"=1.877476ms] [gotSchemaVersion=153] [phyTblIDs="[224,226]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 12:46:30.294 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=227] [version=153] [2025/04/04 12:46:30.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=153] ["take time"=9.427568ms] [job="ID:227, Type:truncate table, State:done, SchemaState:public, SchemaID:218, TableID:224, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:30.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:30.307 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=227] [tableIDs="[224]"] [comment="truncate table: table ID"] [2025/04/04 12:46:30.312 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=227] [jobType="truncate table"] [2025/04/04 12:46:30.313 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=227] [conn=2] [job="ID:227, Type:truncate table, State:synced, SchemaState:public, SchemaID:218, TableID:224, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:30.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:30.330 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=227] [2025/04/04 12:46:30.330 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=153] [cur_db=load_csv] [sql="TRUNCATE TABLE load_charset.gbk;"] [user=root@%] [2025/04/04 12:46:30.336 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:30.386 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/emoji.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"character_set\":\"utf8mb4\"}}"] [dist-task-enabled=true] [2025/04/04 12:46:30.405 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=31] [task-id=31] [data-size=61B] [thread-cnt=26] [global-sort=false] [2025/04/04 12:46:30.419 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=31] [2025/04/04 12:46:30.419 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=31] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/04 12:46:30.522 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=31] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 12:46:30.523 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=31] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:46:30.524 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=31] [curr-step=init] [next-step=import] [2025/04/04 12:46:30.532 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:30.534 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=gbk] [2025/04/04 12:46:30.534 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=gbk] [before=536870912000] [after=61] [2025/04/04 12:46:30.534 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=gbk] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=61] [cost=50.116µs] [2025/04/04 12:46:30.534 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=gbk] [takeTime=168.597µs] [] [2025/04/04 12:46:30.534 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=31] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 12:46:30.534 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=31] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/04 12:46:30.572 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=31] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 12:46:30.592 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=31] [step=import] [2025/04/04 12:46:30.592 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:30.600 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:46:30.601 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 12:46:30.601 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:46:30.601 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:46:30.601 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:46:30.601 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:46:30.601 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:46:30.602 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:46:30.602 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:46:30.602 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:46:30.615 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:46:30.616 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 12:46:30.617 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=gbk] [quota=374.2GB] [2025/04/04 12:46:30.617 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=31] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 12:46:30.617 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=gbk] [import-id=31] [disk-quota=348.5GiB] [2025/04/04 12:46:30.617 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=31] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 12:46:30.624 +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/04 12:46:30.624 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=31] [step=import] [subtask-id=59] [2025/04/04 12:46:30.628 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:0] [engineUUID=bde291e2-5685-5f69-92ea-f9e2ed68f368] [2025/04/04 12:46:30.628 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=31] [mode=Import] [2025/04/04 12:46:30.632 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:-1] [engineUUID=2007fb28-9e9f-5c54-bfb7-f2a048e6ea16] [2025/04/04 12:46:30.632 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=226] [2025/04/04 12:46:30.648 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=31] [2025/04/04 12:46:30.665 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=226] [key=emoji.csv:0] [2025/04/04 12:46:30.666 +00:00] [ERROR] [chunk_process.go:334] ["process chunk failed"] [type=ImportInto] [table-id=226] [key=emoji.csv:0] [takeTime=1.070719ms] [error="[Lightning:Restore:ErrEncodeKV]encode kv error in file emoji.csv:0 at offset 61: [table:1366]Incorrect string value '\\xF0\\x9F\\x98\\x80' for column 'j'"] [stack="github.com/pingcap/tidb/pkg/executor/importer.(*baseChunkProcessor).Process.func1\n\tpkg/executor/importer/chunk_process.go:334\ngithub.com/pingcap/tidb/pkg/executor/importer.(*baseChunkProcessor).Process\n\tpkg/executor/importer/chunk_process.go:354\ngithub.com/pingcap/tidb/pkg/executor/importer.ProcessChunkWithWriter\n\tpkg/executor/importer/engine_process.go:113\ngithub.com/pingcap/tidb/pkg/executor/importer.ProcessChunk\n\tpkg/executor/importer/engine_process.go:67\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importMinimalTaskExecutor).Run\n\tpkg/disttask/importinto/subtask_executor.go:66\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*chunkWorker).HandleTask\n\tpkg/disttask/importinto/encode_and_sort_operator.go:200\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).handleTaskWithRecover\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:149\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).runAWorker.func1\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:165\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:167"] [2025/04/04 12:46:30.667 +00:00] [ERROR] [task_executor.go:129] ["run subtask failed"] [type=ImportInto] [task-id=31] [step=import] [subtask-id=59] [takeTime=42.192292ms] [error="[Lightning:Restore:ErrEncodeKV]encode kv error in file emoji.csv:0 at offset 61: [table:1366]Incorrect string value '\\xF0\\x9F\\x98\\x80' for column 'j'"] [stack="github.com/pingcap/tidb/pkg/disttask/importinto.(*importStepExecutor).RunSubtask.func1\n\tpkg/disttask/importinto/task_executor.go:129\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:200\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/04 12:46:30.667 +00:00] [INFO] [task_executor.go:464] ["run subtask failed"] [task-id=31] [task-type=ImportInto] [server-id=:4000] [subtaskID=59] [step=import] [takeTime=42.478839ms] [error="[Lightning:Restore:ErrEncodeKV]encode kv error in file emoji.csv:0 at offset 61: [table:1366]Incorrect string value '\\xF0\\x9F\\x98\\x80' for column 'j'"] [errorVerbose="[Lightning:Restore:ErrEncodeKV]encode kv error in file emoji.csv:0 at offset 61: [table:1366]Incorrect string value '\\xF0\\x9F\\x98\\x80' for column 'j'\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/executor/importer.(*chunkEncoder).encodeLoop\n\tpkg/executor/importer/chunk_process.go:286\ngithub.com/pingcap/tidb/pkg/executor/importer.(*baseChunkProcessor).Process.func3\n\tpkg/executor/importer/chunk_process.go:346\ngithub.com/pingcap/tidb/pkg/executor/importer.(*baseChunkProcessor).Process.(*ErrorGroupWithRecover).Go.func5\n\tpkg/util/wait_group_wrapper.go:260\ngolang.org/x/sync/errgroup.(*Group).Go.func1\n\texternal/org_golang_x_sync/errgroup/errgroup.go:78\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:46:30.667 +00:00] [WARN] [task_executor.go:706] ["subtask failed"] [task-id=31] [task-type=ImportInto] [server-id=:4000] [error="[Lightning:Restore:ErrEncodeKV]encode kv error in file emoji.csv:0 at offset 61: [table:1366]Incorrect string value '\\xF0\\x9F\\x98\\x80' for column 'j'"] [errorVerbose="[Lightning:Restore:ErrEncodeKV]encode kv error in file emoji.csv:0 at offset 61: [table:1366]Incorrect string value '\\xF0\\x9F\\x98\\x80' for column 'j'\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/executor/importer.(*chunkEncoder).encodeLoop\n\tpkg/executor/importer/chunk_process.go:286\ngithub.com/pingcap/tidb/pkg/executor/importer.(*baseChunkProcessor).Process.func3\n\tpkg/executor/importer/chunk_process.go:346\ngithub.com/pingcap/tidb/pkg/executor/importer.(*baseChunkProcessor).Process.(*ErrorGroupWithRecover).Go.func5\n\tpkg/util/wait_group_wrapper.go:260\ngolang.org/x/sync/errgroup.(*Group).Go.func1\n\texternal/org_golang_x_sync/errgroup/errgroup.go:78\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:46:30.673 +00:00] [ERROR] [task_executor.go:344] ["run subtask failed"] [task-id=31] [task-type=ImportInto] [server-id=:4000] [error="[Lightning:Restore:ErrEncodeKV]encode kv error in file emoji.csv:0 at offset 61: [table:1366]Incorrect string value '\\xF0\\x9F\\x98\\x80' for column 'j'"] [errorVerbose="[Lightning:Restore:ErrEncodeKV]encode kv error in file emoji.csv:0 at offset 61: [table:1366]Incorrect string value '\\xF0\\x9F\\x98\\x80' for column 'j'\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/executor/importer.(*chunkEncoder).encodeLoop\n\tpkg/executor/importer/chunk_process.go:286\ngithub.com/pingcap/tidb/pkg/executor/importer.(*baseChunkProcessor).Process.func3\n\tpkg/executor/importer/chunk_process.go:346\ngithub.com/pingcap/tidb/pkg/executor/importer.(*baseChunkProcessor).Process.(*ErrorGroupWithRecover).Go.func5\n\tpkg/util/wait_group_wrapper.go:260\ngolang.org/x/sync/errgroup.(*Group).Go.func1\n\texternal/org_golang_x_sync/errgroup/errgroup.go:78\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:344\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/04 12:46:30.731 +00:00] [WARN] [scheduler.go:389] ["subtasks encounter errors"] [task-id=31] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [subtask-errs="[\"{error=\\\"[table:1366]Incorrect string value '\\\\\\\\xF0\\\\\\\\x9F\\\\\\\\x98\\\\\\\\x80' for column 'j'\\\"}\"]"] [2025/04/04 12:46:30.741 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=31] [step=import] [2025/04/04 12:46:30.745 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:46:30.745 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:46:30.745 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:46:30.745 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:46:30.745 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:46:30.745 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:46:30.745 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:46:30.745 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:30.745 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-30] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:46:30.745 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:30.745 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:30.745 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:46:30.747 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:46:30.747 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:30.747 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:30.747 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:30.747 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=31] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=130.499822ms] [] [2025/04/04 12:46:30.747 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=31] [type=ImportInto] [2025/04/04 12:46:30.827 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=31] [step=import] [state=reverting] [error="[table:1366]Incorrect string value '\\xF0\\x9F\\x98\\x80' for column 'j'"] [2025/04/04 12:46:30.828 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=31] [step=import] [mode=Normal] [2025/04/04 12:46:30.843 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=31] [2025/04/04 12:46:30.922 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=31] [2025/04/04 12:46:30.928 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 12:46:30.928 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=31] [2025/04/04 12:46:30.949 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 12:46:31.019 +00:00] [ERROR] [handle.go:110] ["task reverted"] [task-id=31] [error="[table:1366]Incorrect string value '\\xF0\\x9F\\x98\\x80' for column 'j'"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/handle.WaitTaskDoneOrPaused\n\tpkg/disttask/framework/handle/handle.go:110\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoExec).waitTask\n\tpkg/executor/import_into.go:233\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoExec).Next\n\tpkg/executor/import_into.go:137\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*recordSet).Next\n\tpkg/executor/adapter.go:172\ngithub.com/pingcap/tidb/pkg/session.GetRows4Test\n\tpkg/session/tidb.go:343\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).QueryToErr\n\tpkg/testkit/testkit.go:304\ntests/realtikvtest/importintotest/importintotest_test.(*mockGCSSuite).TestGBK\n\ttests/realtikvtest/importintotest/import_into_test.go:591\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690"] [2025/04/04 12:46:31.019 +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.688949029\n# Parse_time: 0.000096878\n# Compile_time: 0.000604015\n# Rewrite_time: 0.000161973\n# Optimize_time: 0.000250376\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('SPBHMAk1OV8yCTAJMAlOL0EJMAl0aW1lOjY4OG1zLCBvcGVuOjcwOG5zLCBjbG9zZToxLjA3wrVzLCBsb29wczoxCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('YfBMCl0KDEltcG9ydEludG9fMjgBQAFSA04vQVoudGltZTo2ODhtcywgb3Blbjo3MDhucywgY2xvc2U6MS4wN8K1cywgbG9vcHM6MXD///8JAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.00003438\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.72s) === NAME TestImportInto === RUN TestImportInto/TestGeneratedColumnsAndTSVFile [2025/04/04 12:46:31.031 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:228, Type:drop schema, State:queueing, SchemaState:public, SchemaID:206, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:30.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:31.031 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:228, Type:drop schema, State:queueing, SchemaState:public, SchemaID:206, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:30.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="DROP DATABASE IF EXISTS load_csv;"] [2025/04/04 12:46:31.036 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=228] [conn=2] [job="ID:228, Type:drop schema, State:queueing, SchemaState:public, SchemaID:206, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:30.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:31.055 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=153] [neededSchemaVersion=154] ["elapsed time"=2.592573ms] [gotSchemaVersion=154] [phyTblIDs="[212]"] [actionTypes="[2]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 12:46:31.059 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=228] [version=154] [2025/04/04 12:46:31.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=154] ["take time"=9.633202ms] [job="ID:228, Type:drop schema, State:running, SchemaState:write only, SchemaID:206, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:30.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:31.070 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=228] [conn=2] [job="ID:228, Type:drop schema, State:running, SchemaState:write only, SchemaID:206, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:30.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:31.083 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=154] [neededSchemaVersion=155] ["elapsed time"=164.497µs] [gotSchemaVersion=155] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 12:46:31.086 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=228] [version=155] [2025/04/04 12:46:31.088 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=155] ["take time"=7.111538ms] [job="ID:228, Type:drop schema, State:running, SchemaState:delete only, SchemaID:206, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:30.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:31.097 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=228] [conn=2] [job="ID:228, Type:drop schema, State:running, SchemaState:delete only, SchemaID:206, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:30.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:31.103 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/04 12:46:31.114 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=155] [neededSchemaVersion=156] ["elapsed time"=150.465µs] [gotSchemaVersion=156] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 12:46:31.117 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=228] [version=156] [2025/04/04 12:46:31.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=156] ["take time"=7.217575ms] [job="ID:228, Type:drop schema, State:done, SchemaState:none, SchemaID:206, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:30.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:31.128 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=228] [tableIDs="[212]"] [comment="drop schema: table IDs"] [2025/04/04 12:46:31.132 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=228] [jobType="drop schema"] [2025/04/04 12:46:31.133 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=228] [conn=2] [job="ID:228, Type:drop schema, State:synced, SchemaState:none, SchemaID:206, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:30.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:31.148 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=228] [2025/04/04 12:46:31.149 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=156] [cur_db=] [sql="DROP DATABASE IF EXISTS load_csv;"] [user=root@%] [2025/04/04 12:46:31.160 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:230, Type:create schema, State:queueing, SchemaState:none, SchemaID:229, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:31.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:31.160 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:230, Type:create schema, State:queueing, SchemaState:none, SchemaID:229, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:31.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE load_csv;"] [2025/04/04 12:46:31.165 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=230] [conn=2] [job="ID:230, Type:create schema, State:queueing, SchemaState:none, SchemaID:229, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:31.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:31.178 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=156] [neededSchemaVersion=157] ["elapsed time"=676.922µs] [gotSchemaVersion=157] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 12:46:31.181 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=230] [version=157] [2025/04/04 12:46:31.183 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=157] ["take time"=7.456736ms] [job="ID:230, Type:create schema, State:done, SchemaState:public, SchemaID:229, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:31.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:31.193 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=230] [conn=2] [job="ID:230, Type:create schema, State:synced, SchemaState:public, SchemaID:229, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:31.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:31.203 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=230] [2025/04/04 12:46:31.204 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=157] [cur_db=] [sql="CREATE DATABASE load_csv;"] [user=root@%] [2025/04/04 12:46:31.218 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:232, Type:create table, State:queueing, SchemaState:none, SchemaID:229, TableID:231, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:31.194 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:31.218 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:232, Type:create table, State:queueing, SchemaState:none, SchemaID:229, TableID:231, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:31.194 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE load_csv.t_gen1 (a int, b int generated ALWAYS AS (a+1));"] [2025/04/04 12:46:31.223 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=232] [conn=2] [job="ID:232, Type:create table, State:queueing, SchemaState:none, SchemaID:229, TableID:231, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:31.194 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:31.227 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 231, Table Name: t_gen1)"] [2025/04/04 12:46:31.241 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=157] [neededSchemaVersion=158] ["elapsed time"=1.763885ms] [gotSchemaVersion=158] [phyTblIDs="[231]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:46:31.245 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=232] [version=158] [2025/04/04 12:46:31.247 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=158] ["take time"=9.176207ms] [job="ID:232, Type:create table, State:done, SchemaState:public, SchemaID:229, TableID:231, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:31.194 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:31.258 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=232] [conn=2] [job="ID:232, Type:create table, State:synced, SchemaState:public, SchemaID:229, TableID:231, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:31.194 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:31.269 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=232] [2025/04/04 12:46:31.269 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=158] [cur_db=load_csv] [sql="CREATE TABLE load_csv.t_gen1 (a int, b int generated ALWAYS AS (a+1));"] [user=root@%] [2025/04/04 12:46:31.276 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:31.322 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gcs://test-bucket/generated_columns.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"fields_terminated_by\":\"\\t\"}}"] [dist-task-enabled=true] [2025/04/04 12:46:31.346 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=32] [task-id=32] [data-size=7B] [thread-cnt=26] [global-sort=false] [2025/04/04 12:46:31.360 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=32] [2025/04/04 12:46:31.360 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=32] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/04 12:46:31.462 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=32] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 12:46:31.463 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=32] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:46:31.464 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=32] [curr-step=init] [next-step=import] [2025/04/04 12:46:31.472 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:31.475 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t_gen1] [2025/04/04 12:46:31.475 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t_gen1] [before=536870912000] [after=7] [2025/04/04 12:46:31.475 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t_gen1] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=7] [cost=44.551µs] [2025/04/04 12:46:31.475 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t_gen1] [takeTime=134.819µs] [] [2025/04/04 12:46:31.475 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=32] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 12:46:31.475 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=32] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/04 12:46:31.512 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=32] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 12:46:31.532 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=32] [step=import] [2025/04/04 12:46:31.532 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:31.541 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:46:31.541 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 12:46:31.541 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:46:31.541 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:46:31.542 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:46:31.542 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:46:31.542 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:46:31.542 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:46:31.542 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:46:31.542 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:46:31.556 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:46:31.558 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 12:46:31.558 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t_gen1] [quota=374.2GB] [2025/04/04 12:46:31.558 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=32] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 12:46:31.558 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t_gen1] [import-id=32] [disk-quota=348.5GiB] [2025/04/04 12:46:31.558 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=32] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 12:46:31.566 +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/04 12:46:31.566 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=32] [step=import] [subtask-id=60] [2025/04/04 12:46:31.568 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=32] [mode=Import] [2025/04/04 12:46:31.571 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:0] [engineUUID=2338f157-c807-5664-9eae-1ae164d075d7] [2025/04/04 12:46:31.574 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:-1] [engineUUID=0063f486-3d5e-5c59-9865-8b1da5b97873] [2025/04/04 12:46:31.575 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=231] [2025/04/04 12:46:31.586 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=32] [2025/04/04 12:46:31.643 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=231] [key=generated_columns.csv:0] [2025/04/04 12:46:31.645 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=231] [key=generated_columns.csv:0] [readDur=825.849µs] [encodeDur=376.68µs] [checksum="{cksum=6725679395568127565,size=58,kvs=2}"] [deliverDur=296.234µs] [type=file] [takeTime=1.835716ms] [] [2025/04/04 12:46:31.645 +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/949a36b1-18bd-4c6b-bb6d-0122a6478ca5.sst] [firstKey=7480000000000000E75F728000000000000001] [lastKey=7480000000000000E75F728000000000000002] [2025/04/04 12:46:31.645 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=32] [step=import] [engine-id=0] [2025/04/04 12:46:31.645 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=32] [step=import] [engine-id=0] [2025/04/04 12:46:31.645 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:0] [engineUUID=2338f157-c807-5664-9eae-1ae164d075d7] [2025/04/04 12:46:31.648 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:0] [engineUUID=2338f157-c807-5664-9eae-1ae164d075d7] [takeTime=1.979712ms] [] [2025/04/04 12:46:31.648 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:0] [engineUUID=2338f157-c807-5664-9eae-1ae164d075d7] [retryCnt=0] [2025/04/04 12:46:31.655 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:46:31.676 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=2338f157-c807-5664-9eae-1ae164d075d7] ["region ranges"=1] [count=2] [size=58] [2025/04/04 12:46:31.677 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:46:31.678 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000e75f728000000000000001] [endOfAllRanges=7480000000000000e75f728000000000000003] [startKeyOfFirstRegion=7480000000000000ffe75f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffe75f728000000000ff0000030000000000fa] [2025/04/04 12:46:31.689 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=2338f157-c807-5664-9eae-1ae164d075d7] [size=58] [kvs=2] [importedSize=58] [importedCount=2] [2025/04/04 12:46:31.691 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:0] [engineUUID=2338f157-c807-5664-9eae-1ae164d075d7] [retryCnt=0] [takeTime=43.482394ms] [] [2025/04/04 12:46:31.691 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:0] [engineUUID=2338f157-c807-5664-9eae-1ae164d075d7] [2025/04/04 12:46:31.692 +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.025553ms] [] [2025/04/04 12:46:31.692 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=32] [step=import] [engine-id=0] [2025/04/04 12:46:31.692 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:-1] [engineUUID=0063f486-3d5e-5c59-9865-8b1da5b97873] [2025/04/04 12:46:31.694 +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.556924ms] [] [2025/04/04 12:46:31.694 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:-1] [engineUUID=0063f486-3d5e-5c59-9865-8b1da5b97873] [retryCnt=0] [2025/04/04 12:46:31.698 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=0063f486-3d5e-5c59-9865-8b1da5b97873] [2025/04/04 12:46:31.698 +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=4.094113ms] [] [2025/04/04 12:46:31.698 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:-1] [engineUUID=0063f486-3d5e-5c59-9865-8b1da5b97873] [2025/04/04 12:46:31.699 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:-1] [engineUUID=0063f486-3d5e-5c59-9865-8b1da5b97873] [takeTime=833.289µs] [] [2025/04/04 12:46:31.699 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=32] [step=import] [subtask-id=60] [takeTime=132.703619ms] [] [2025/04/04 12:46:31.699 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=32] [task-type=ImportInto] [server-id=:4000] [subtaskID=60] [step=import] [takeTime=132.866455ms] [] [2025/04/04 12:46:31.853 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=32] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 12:46:31.854 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=32] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:46:31.855 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=32] [curr-step=import] [next-step=post-process] [2025/04/04 12:46:31.855 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=32] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 12:46:31.905 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=32] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/04 12:46:31.906 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=32] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 12:46:31.906 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=32] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=26] [subtasks=1] [2025/04/04 12:46:31.944 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=32] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 12:46:31.951 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=32] [step=import] [2025/04/04 12:46:31.955 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:46:31.955 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:46:31.955 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:46:31.955 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:46:31.955 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:46:31.955 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:46:31.955 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:46:31.955 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:31.955 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-31] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:46:31.955 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:31.955 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:31.955 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:46:31.958 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:46:31.958 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:31.958 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:31.958 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:31.958 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=32] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=400.078099ms] [] [2025/04/04 12:46:31.959 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=32] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 12:46:31.967 +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/04 12:46:31.967 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=32] [step=post-process] [subtask-id=61] [2025/04/04 12:46:31.967 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=32] [step=post-process] [subtask-id=61] [2025/04/04 12:46:31.967 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=32] [step=post-process] [subtask-id=61] [2025/04/04 12:46:31.973 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=32] [step=post-process] [subtask-id=61] [takeTime=6.235768ms] [] [2025/04/04 12:46:31.973 +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/04 12:46:31.974 +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/04 12:46:31.974 +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/04 12:46:31.974 +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/04 12:46:31.976 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=231] [physicalTableID=231] [indexID=-1] [checksum=6725679395568127565] [totalKvs=2] [totalBytes=58] [2025/04/04 12:46:31.976 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 12:46:31.976 +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/04 12:46:31.976 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=32] [step=post-process] [subtask-id=61] [takeTime=8.915459ms] [] [2025/04/04 12:46:31.976 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=32] [step=post-process] [subtask-id=61] [takeTime=9.060692ms] [] [2025/04/04 12:46:31.976 +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.197822ms] [] [2025/04/04 12:46:32.000 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 12:46:32.067 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=32] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 12:46:32.067 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=32] [step=post-process] [state=running] [] [2025/04/04 12:46:32.070 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=32] [2025/04/04 12:46:32.094 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=32] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=134.959441ms] [] [2025/04/04 12:46:32.095 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=32] [type=ImportInto] [2025/04/04 12:46:32.162 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=32] [2025/04/04 12:46:32.168 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 12:46:32.168 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=32] [2025/04/04 12:46:32.188 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 12:46:32.263 +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.993632227\n# Parse_time: 0.000197324\n# Compile_time: 0.001176963\n# Rewrite_time: 0.00061143\n# Optimize_time: 0.000250376\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5MS45bXMsIG9wZW46ODk1bnMsIGNsb3NlOjc2OW5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk5MS45bXMsIG9wZW46ODk1bnMsIGNsb3NlOjc2OW5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.00003438\nuse load_csv;\nIMPORT INTO `load_csv`.`t_gen1` FROM 'gcs://test-bucket/generated_columns.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH fields_terminated_by=_UTF8MB4' ';"] [2025/04/04 12:46:32.278 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:32.327 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"columns-and-vars\":\"(`a`)\",\"file-location\":\"gcs://test-bucket/generated_columns.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"fields_terminated_by\":\"\\t\"}}"] [dist-task-enabled=true] [2025/04/04 12:46:32.347 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=33] [task-id=33] [data-size=7B] [thread-cnt=26] [global-sort=false] [2025/04/04 12:46:32.361 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=33] [2025/04/04 12:46:32.361 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=33] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/04 12:46:32.463 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=33] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 12:46:32.464 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=33] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:46:32.465 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=33] [curr-step=init] [next-step=import] [2025/04/04 12:46:32.473 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:32.476 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t_gen1] [2025/04/04 12:46:32.476 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t_gen1] [before=536870912000] [after=7] [2025/04/04 12:46:32.476 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t_gen1] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=7] [cost=60.545µs] [2025/04/04 12:46:32.476 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t_gen1] [takeTime=148.769µs] [] [2025/04/04 12:46:32.476 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=33] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 12:46:32.476 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=33] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/04 12:46:32.512 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=33] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 12:46:32.532 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=33] [step=import] [2025/04/04 12:46:32.532 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:32.541 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:46:32.541 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 12:46:32.542 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:46:32.542 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:46:32.542 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:46:32.542 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:46:32.542 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:46:32.542 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:46:32.543 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:46:32.543 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:46:32.556 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:46:32.558 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 12:46:32.558 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t_gen1] [quota=374.2GB] [2025/04/04 12:46:32.558 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=33] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 12:46:32.558 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t_gen1] [import-id=33] [disk-quota=348.5GiB] [2025/04/04 12:46:32.558 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=33] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 12:46:32.566 +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/04 12:46:32.566 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=33] [step=import] [subtask-id=62] [2025/04/04 12:46:32.569 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=33] [mode=Import] [2025/04/04 12:46:32.570 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:0] [engineUUID=2338f157-c807-5664-9eae-1ae164d075d7] [2025/04/04 12:46:32.574 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:-1] [engineUUID=0063f486-3d5e-5c59-9865-8b1da5b97873] [2025/04/04 12:46:32.574 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=231] [2025/04/04 12:46:32.588 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=33] [2025/04/04 12:46:32.589 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=231] [key=generated_columns.csv:0] [2025/04/04 12:46:32.591 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=231] [key=generated_columns.csv:0] [readDur=1.022367ms] [encodeDur=355.105µs] [checksum="{cksum=6725679395568127565,size=58,kvs=2}"] [deliverDur=294.772µs] [type=file] [takeTime=1.952746ms] [] [2025/04/04 12:46:32.591 +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/2716b55a-4b9f-43af-95bb-36689e982cfa.sst] [firstKey=7480000000000000E75F728000000000000001] [lastKey=7480000000000000E75F728000000000000002] [2025/04/04 12:46:32.591 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=33] [step=import] [engine-id=0] [2025/04/04 12:46:32.591 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=33] [step=import] [engine-id=0] [2025/04/04 12:46:32.591 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:0] [engineUUID=2338f157-c807-5664-9eae-1ae164d075d7] [2025/04/04 12:46:32.593 +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.112345ms] [] [2025/04/04 12:46:32.594 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:0] [engineUUID=2338f157-c807-5664-9eae-1ae164d075d7] [retryCnt=0] [2025/04/04 12:46:32.599 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:46:32.622 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=2338f157-c807-5664-9eae-1ae164d075d7] ["region ranges"=1] [count=2] [size=58] [2025/04/04 12:46:32.622 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:46:32.624 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000e75f728000000000000001] [endOfAllRanges=7480000000000000e75f728000000000000003] [startKeyOfFirstRegion=7480000000000000ffe75f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffe75f728000000000ff0000030000000000fa] [2025/04/04 12:46:32.642 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=2338f157-c807-5664-9eae-1ae164d075d7] [size=58] [kvs=2] [importedSize=58] [importedCount=2] [2025/04/04 12:46:32.643 +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=49.825369ms] [] [2025/04/04 12:46:32.643 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:0] [engineUUID=2338f157-c807-5664-9eae-1ae164d075d7] [2025/04/04 12:46:32.645 +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.013736ms] [] [2025/04/04 12:46:32.645 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=33] [step=import] [engine-id=0] [2025/04/04 12:46:32.645 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:-1] [engineUUID=0063f486-3d5e-5c59-9865-8b1da5b97873] [2025/04/04 12:46:32.646 +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.469583ms] [] [2025/04/04 12:46:32.646 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:-1] [engineUUID=0063f486-3d5e-5c59-9865-8b1da5b97873] [retryCnt=0] [2025/04/04 12:46:32.650 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=0063f486-3d5e-5c59-9865-8b1da5b97873] [2025/04/04 12:46:32.650 +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.653321ms] [] [2025/04/04 12:46:32.650 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:-1] [engineUUID=0063f486-3d5e-5c59-9865-8b1da5b97873] [2025/04/04 12:46:32.651 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:-1] [engineUUID=0063f486-3d5e-5c59-9865-8b1da5b97873] [takeTime=849.775µs] [] [2025/04/04 12:46:32.651 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=33] [step=import] [subtask-id=62] [takeTime=84.651329ms] [] [2025/04/04 12:46:32.651 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=33] [task-type=ImportInto] [server-id=:4000] [subtaskID=62] [step=import] [takeTime=84.825504ms] [] [2025/04/04 12:46:32.668 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=33] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 12:46:32.669 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=33] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:46:32.670 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=33] [curr-step=import] [next-step=post-process] [2025/04/04 12:46:32.670 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=33] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 12:46:32.699 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=33] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/04 12:46:32.700 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=33] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 12:46:32.700 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=33] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=26] [subtasks=1] [2025/04/04 12:46:32.721 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=33] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 12:46:32.727 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=33] [step=import] [2025/04/04 12:46:32.730 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:46:32.730 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:46:32.730 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:46:32.730 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:46:32.730 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:46:32.730 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:46:32.730 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:46:32.730 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:32.730 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:32.730 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:32.730 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-32] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:46:32.730 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:46:32.732 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:46:32.732 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:32.732 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:32.732 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:32.732 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=33] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=173.693029ms] [] [2025/04/04 12:46:32.733 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=33] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 12:46:32.741 +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/04 12:46:32.741 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=33] [step=post-process] [subtask-id=63] [2025/04/04 12:46:32.741 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=33] [step=post-process] [subtask-id=63] [2025/04/04 12:46:32.741 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=33] [step=post-process] [subtask-id=63] [2025/04/04 12:46:32.744 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=33] [step=post-process] [subtask-id=63] [takeTime=3.58247ms] [] [2025/04/04 12:46:32.744 +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/04 12:46:32.744 +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/04 12:46:32.745 +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/04 12:46:32.745 +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/04 12:46:32.746 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=231] [physicalTableID=231] [indexID=-1] [checksum=6725679395568127565] [totalKvs=2] [totalBytes=58] [2025/04/04 12:46:32.747 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 12:46:32.747 +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/04 12:46:32.747 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=33] [step=post-process] [subtask-id=63] [takeTime=6.238692ms] [] [2025/04/04 12:46:32.747 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=33] [step=post-process] [subtask-id=63] [takeTime=6.374078ms] [] [2025/04/04 12:46:32.747 +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.518883ms] [] [2025/04/04 12:46:32.763 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 12:46:32.769 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=33] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 12:46:32.769 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=33] [step=post-process] [state=running] [] [2025/04/04 12:46:32.771 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=33] [2025/04/04 12:46:32.793 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=33] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=59.600998ms] [] [2025/04/04 12:46:32.793 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=33] [type=ImportInto] [2025/04/04 12:46:32.863 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=33] [2025/04/04 12:46:32.869 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 12:46:32.869 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=33] [2025/04/04 12:46:32.890 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 12:46:32.964 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# User@Host: root[root] @ localhost [localhost]\n# Conn_ID: 2\n# Query_time: 0.691614074\n# Parse_time: 0.000136231\n# Compile_time: 0.000801013\n# Rewrite_time: 0.000421006\n# Optimize_time: 0.000292729\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY5MC40bXMsIG9wZW46NzIybnMsIGNsb3NlOjk3M25zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY5MC40bXMsIG9wZW46NzIybnMsIGNsb3NlOjk3M25zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.00003438\nIMPORT INTO `load_csv`.`t_gen1` (`a`) FROM 'gcs://test-bucket/generated_columns.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH fields_terminated_by=_UTF8MB4' ';"] [2025/04/04 12:46:32.985 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:33.033 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"columns-and-vars\":\"(`a`, @`1`)\",\"file-location\":\"gcs://test-bucket/generated_columns.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"fields_terminated_by\":\"\\t\"}}"] [dist-task-enabled=true] [2025/04/04 12:46:33.052 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=34] [task-id=34] [data-size=7B] [thread-cnt=26] [global-sort=false] [2025/04/04 12:46:33.067 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=34] [2025/04/04 12:46:33.067 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=34] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/04 12:46:33.169 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=34] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 12:46:33.170 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=34] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:46:33.171 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=34] [curr-step=init] [next-step=import] [2025/04/04 12:46:33.178 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:33.181 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t_gen1] [2025/04/04 12:46:33.181 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t_gen1] [before=536870912000] [after=7] [2025/04/04 12:46:33.181 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t_gen1] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=7] [cost=43.762µs] [2025/04/04 12:46:33.181 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t_gen1] [takeTime=144.212µs] [] [2025/04/04 12:46:33.181 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=34] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 12:46:33.181 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=34] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/04 12:46:33.212 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=34] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 12:46:33.232 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=34] [step=import] [2025/04/04 12:46:33.233 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:33.241 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:46:33.241 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 12:46:33.241 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:46:33.241 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:46:33.241 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:46:33.241 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:46:33.241 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:46:33.242 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:46:33.242 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:46:33.242 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:46:33.254 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:46:33.256 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 12:46:33.256 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t_gen1] [quota=374.2GB] [2025/04/04 12:46:33.256 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=34] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 12:46:33.256 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t_gen1] [import-id=34] [disk-quota=348.5GiB] [2025/04/04 12:46:33.256 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=34] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 12:46:33.263 +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/04 12:46:33.264 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=34] [step=import] [subtask-id=64] [2025/04/04 12:46:33.267 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:0] [engineUUID=2338f157-c807-5664-9eae-1ae164d075d7] [2025/04/04 12:46:33.270 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:-1] [engineUUID=0063f486-3d5e-5c59-9865-8b1da5b97873] [2025/04/04 12:46:33.270 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=231] [2025/04/04 12:46:33.274 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=34] [mode=Import] [2025/04/04 12:46:33.293 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=34] [2025/04/04 12:46:33.293 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=231] [key=generated_columns.csv:0] [2025/04/04 12:46:33.295 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=231] [key=generated_columns.csv:0] [readDur=1.009268ms] [encodeDur=387.296µs] [checksum="{cksum=6725679395568127565,size=58,kvs=2}"] [deliverDur=207.304µs] [type=file] [takeTime=1.908613ms] [] [2025/04/04 12:46:33.295 +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/b244eaa3-7914-4ed9-829d-9f4f631e027b.sst] [firstKey=7480000000000000E75F728000000000000001] [lastKey=7480000000000000E75F728000000000000002] [2025/04/04 12:46:33.295 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=34] [step=import] [engine-id=0] [2025/04/04 12:46:33.296 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=34] [step=import] [engine-id=0] [2025/04/04 12:46:33.296 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:0] [engineUUID=2338f157-c807-5664-9eae-1ae164d075d7] [2025/04/04 12:46:33.298 +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.224658ms] [] [2025/04/04 12:46:33.298 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:0] [engineUUID=2338f157-c807-5664-9eae-1ae164d075d7] [retryCnt=0] [2025/04/04 12:46:33.302 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:46:33.324 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=2338f157-c807-5664-9eae-1ae164d075d7] ["region ranges"=1] [count=2] [size=58] [2025/04/04 12:46:33.324 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:46:33.326 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000e75f728000000000000001] [endOfAllRanges=7480000000000000e75f728000000000000003] [startKeyOfFirstRegion=7480000000000000ffe75f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffe75f728000000000ff0000030000000000fa] [2025/04/04 12:46:33.357 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=2338f157-c807-5664-9eae-1ae164d075d7] [size=58] [kvs=2] [importedSize=58] [importedCount=2] [2025/04/04 12:46:33.359 +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=60.582296ms] [] [2025/04/04 12:46:33.359 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:0] [engineUUID=2338f157-c807-5664-9eae-1ae164d075d7] [2025/04/04 12:46:33.360 +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.257636ms] [] [2025/04/04 12:46:33.360 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=34] [step=import] [engine-id=0] [2025/04/04 12:46:33.360 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:-1] [engineUUID=0063f486-3d5e-5c59-9865-8b1da5b97873] [2025/04/04 12:46:33.362 +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.5923ms] [] [2025/04/04 12:46:33.362 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:-1] [engineUUID=0063f486-3d5e-5c59-9865-8b1da5b97873] [retryCnt=0] [2025/04/04 12:46:33.365 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=0063f486-3d5e-5c59-9865-8b1da5b97873] [2025/04/04 12:46:33.365 +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.604175ms] [] [2025/04/04 12:46:33.365 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:-1] [engineUUID=0063f486-3d5e-5c59-9865-8b1da5b97873] [2025/04/04 12:46:33.366 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:-1] [engineUUID=0063f486-3d5e-5c59-9865-8b1da5b97873] [takeTime=853.094µs] [] [2025/04/04 12:46:33.366 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=34] [step=import] [subtask-id=64] [takeTime=102.834871ms] [] [2025/04/04 12:46:33.367 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=34] [task-type=ImportInto] [server-id=:4000] [subtaskID=64] [step=import] [takeTime=102.980054ms] [] [2025/04/04 12:46:33.474 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=34] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 12:46:33.475 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=34] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:46:33.476 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=34] [curr-step=import] [next-step=post-process] [2025/04/04 12:46:33.476 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=34] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 12:46:33.506 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=34] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/04 12:46:33.507 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=34] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 12:46:33.507 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=34] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=26] [subtasks=1] [2025/04/04 12:46:33.517 +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/04 12:46:33.517 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=34] [step=import] [2025/04/04 12:46:33.520 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:46:33.520 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:46:33.520 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:46:33.520 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:46:33.520 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:46:33.520 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:46:33.520 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:46:33.520 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:33.520 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:33.520 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:33.521 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:46:33.520 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-33] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:46:33.523 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:46:33.523 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:33.523 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:33.523 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:33.523 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=34] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=266.762891ms] [] [2025/04/04 12:46:33.523 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=34] [type=ImportInto] [2025/04/04 12:46:33.544 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=34] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 12:46:33.564 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=34] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 12:46:33.571 +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/04 12:46:33.571 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=34] [step=post-process] [subtask-id=65] [2025/04/04 12:46:33.571 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=34] [step=post-process] [subtask-id=65] [2025/04/04 12:46:33.571 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=34] [step=post-process] [subtask-id=65] [2025/04/04 12:46:33.575 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=34] [step=post-process] [subtask-id=65] [takeTime=3.722087ms] [] [2025/04/04 12:46:33.575 +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/04 12:46:33.575 +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/04 12:46:33.575 +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/04 12:46:33.575 +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/04 12:46:33.577 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=231] [physicalTableID=231] [indexID=-1] [checksum=6725679395568127565] [totalKvs=2] [totalBytes=58] [2025/04/04 12:46:33.577 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 12:46:33.577 +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/04 12:46:33.578 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=34] [step=post-process] [subtask-id=65] [takeTime=6.265654ms] [] [2025/04/04 12:46:33.578 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=34] [step=post-process] [subtask-id=65] [takeTime=6.398946ms] [] [2025/04/04 12:46:33.578 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=34] [task-type=ImportInto] [server-id=:4000] [subtaskID=65] [step=post-process] [takeTime=6.526039ms] [] [2025/04/04 12:46:33.595 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 12:46:33.674 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=34] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 12:46:33.674 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=34] [step=post-process] [state=running] [] [2025/04/04 12:46:33.677 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=34] [2025/04/04 12:46:33.708 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=34] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=143.944113ms] [] [2025/04/04 12:46:33.708 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=34] [type=ImportInto] [2025/04/04 12:46:33.769 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=34] [2025/04/04 12:46:33.775 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 12:46:33.775 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=34] [2025/04/04 12:46:33.797 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 12:46:33.969 +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.997340673\n# Parse_time: 0.000126124\n# Compile_time: 0.000749138\n# Rewrite_time: 0.000358825\n# Optimize_time: 0.00025659\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('SLgwCTU5XzIJMAkwCU4vQQkxCXRpbWU6OTk2LjJtcywgb3Blbjo3MjRucywgY2xvcwUbAQ08bG9vcHM6MglOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('Y+gKXwoMSW1wb3J0SW50b18yMAE4AUABUgNOL0FaLnRpbWU6OTk2LjJtcywgb3Blbjo3MjRucywgY2xvcwUbAQ0gbG9vcHM6MnD/EQE0AXj///////////8BGAE=')\n# Resource_group: default\n# Tikv_cpu_time: 0.00003438\nIMPORT INTO `load_csv`.`t_gen1` (`a`,@`1`) FROM 'gcs://test-bucket/generated_columns.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH fields_terminated_by=_UTF8MB4' ';"] [2025/04/04 12:46:33.986 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:234, Type:create table, State:queueing, SchemaState:none, SchemaID:229, TableID:233, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:33.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:33.986 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:234, Type:create table, State:queueing, SchemaState:none, SchemaID:229, TableID:233, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:33.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t_gen2 (a int generated ALWAYS AS (b+1), b int);"] [2025/04/04 12:46:33.991 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=234] [conn=2] [job="ID:234, Type:create table, State:queueing, SchemaState:none, SchemaID:229, TableID:233, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:33.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:33.997 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 233, Table Name: t_gen2)"] [2025/04/04 12:46:34.011 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=158] [neededSchemaVersion=159] ["elapsed time"=1.790382ms] [gotSchemaVersion=159] [phyTblIDs="[233]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:46:34.014 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=234] [version=159] [2025/04/04 12:46:34.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=159] ["take time"=8.623737ms] [job="ID:234, Type:create table, State:done, SchemaState:public, SchemaID:229, TableID:233, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:33.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:34.027 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=234] [conn=2] [job="ID:234, Type:create table, State:synced, SchemaState:public, SchemaID:229, TableID:233, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:33.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:34.037 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=234] [2025/04/04 12:46:34.037 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=159] [cur_db=load_csv] [sql="create table t_gen2 (a int generated ALWAYS AS (b+1), b int);"] [user=root@%] [2025/04/04 12:46:34.044 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:34.092 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gcs://test-bucket/generated_columns.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"fields_terminated_by\":\"\\t\"}}"] [dist-task-enabled=true] [2025/04/04 12:46:34.111 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=35] [task-id=35] [data-size=7B] [thread-cnt=26] [global-sort=false] [2025/04/04 12:46:34.125 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=35] [2025/04/04 12:46:34.125 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=35] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/04 12:46:34.227 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=35] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 12:46:34.228 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=35] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:46:34.229 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=35] [curr-step=init] [next-step=import] [2025/04/04 12:46:34.237 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:34.240 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t_gen2] [2025/04/04 12:46:34.240 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t_gen2] [before=536870912000] [after=7] [2025/04/04 12:46:34.240 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t_gen2] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=7] [cost=42.638µs] [2025/04/04 12:46:34.240 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t_gen2] [takeTime=143.796µs] [] [2025/04/04 12:46:34.240 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=35] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 12:46:34.240 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=35] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/04 12:46:34.272 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=35] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 12:46:34.292 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=35] [step=import] [2025/04/04 12:46:34.293 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:34.301 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:46:34.301 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 12:46:34.302 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:46:34.302 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:46:34.302 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:46:34.302 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:46:34.302 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:46:34.302 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:46:34.302 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:46:34.303 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:46:34.314 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:46:34.316 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 12:46:34.316 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t_gen2] [quota=374.2GB] [2025/04/04 12:46:34.316 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=35] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 12:46:34.316 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t_gen2] [import-id=35] [disk-quota=348.5GiB] [2025/04/04 12:46:34.316 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=35] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 12:46:34.324 +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/04 12:46:34.324 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=35] [step=import] [subtask-id=66] [2025/04/04 12:46:34.328 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:0] [engineUUID=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] [2025/04/04 12:46:34.331 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:-1] [engineUUID=af5132f3-132a-5b97-bec8-b012709d66fc] [2025/04/04 12:46:34.331 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=233] [2025/04/04 12:46:34.333 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=35] [mode=Import] [2025/04/04 12:46:34.344 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=233] [key=generated_columns.csv:0] [2025/04/04 12:46:34.346 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=233] [key=generated_columns.csv:0] [readDur=1.001316ms] [encodeDur=277.987µs] [checksum="{cksum=12236948213998824982,size=58,kvs=2}"] [deliverDur=215.227µs] [type=file] [takeTime=1.841618ms] [] [2025/04/04 12:46:34.347 +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/c3bc240c-fc36-4bb9-891c-70a1f17c9fea.sst] [firstKey=7480000000000000E95F728000000000000001] [lastKey=7480000000000000E95F728000000000000002] [2025/04/04 12:46:34.347 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=35] [step=import] [engine-id=0] [2025/04/04 12:46:34.347 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=35] [step=import] [engine-id=0] [2025/04/04 12:46:34.347 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:0] [engineUUID=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] [2025/04/04 12:46:34.350 +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.637465ms] [] [2025/04/04 12:46:34.350 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:0] [engineUUID=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] [retryCnt=0] [2025/04/04 12:46:34.353 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=35] [2025/04/04 12:46:34.354 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:46:34.375 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] ["region ranges"=1] [count=2] [size=58] [2025/04/04 12:46:34.376 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:46:34.377 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000e95f728000000000000001] [endOfAllRanges=7480000000000000e95f728000000000000003] [startKeyOfFirstRegion=7480000000000000ffe95f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffe95f728000000000ff0000030000000000fa] [2025/04/04 12:46:34.389 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] [size=58] [kvs=2] [importedSize=58] [importedCount=2] [2025/04/04 12:46:34.391 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:0] [engineUUID=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] [retryCnt=0] [takeTime=40.973693ms] [] [2025/04/04 12:46:34.391 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:0] [engineUUID=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] [2025/04/04 12:46:34.392 +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.065886ms] [] [2025/04/04 12:46:34.392 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=35] [step=import] [engine-id=0] [2025/04/04 12:46:34.392 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:-1] [engineUUID=af5132f3-132a-5b97-bec8-b012709d66fc] [2025/04/04 12:46:34.394 +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.47364ms] [] [2025/04/04 12:46:34.394 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:-1] [engineUUID=af5132f3-132a-5b97-bec8-b012709d66fc] [retryCnt=0] [2025/04/04 12:46:34.397 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=af5132f3-132a-5b97-bec8-b012709d66fc] [2025/04/04 12:46:34.397 +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.631308ms] [] [2025/04/04 12:46:34.397 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:-1] [engineUUID=af5132f3-132a-5b97-bec8-b012709d66fc] [2025/04/04 12:46:34.398 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:-1] [engineUUID=af5132f3-132a-5b97-bec8-b012709d66fc] [takeTime=824.796µs] [] [2025/04/04 12:46:34.398 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=35] [step=import] [subtask-id=66] [takeTime=74.507074ms] [] [2025/04/04 12:46:34.399 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=35] [task-type=ImportInto] [server-id=:4000] [subtaskID=66] [step=import] [takeTime=74.671091ms] [] [2025/04/04 12:46:34.433 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=35] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 12:46:34.434 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=35] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:46:34.435 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=35] [curr-step=import] [next-step=post-process] [2025/04/04 12:46:34.435 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=35] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 12:46:34.464 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=35] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/04 12:46:34.465 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=35] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 12:46:34.465 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=35] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=26] [subtasks=1] [2025/04/04 12:46:34.502 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=35] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 12:46:34.509 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=35] [step=import] [2025/04/04 12:46:34.511 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:46:34.511 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:46:34.511 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:46:34.511 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:46:34.511 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:46:34.511 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:46:34.511 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:46:34.512 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:34.511 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-34] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:46:34.512 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:34.512 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:34.512 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:46:34.514 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:46:34.514 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:34.514 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:34.514 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:34.514 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=35] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=197.776172ms] [] [2025/04/04 12:46:34.515 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=35] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 12:46:34.523 +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/04 12:46:34.523 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=35] [step=post-process] [subtask-id=67] [2025/04/04 12:46:34.523 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=35] [step=post-process] [subtask-id=67] [2025/04/04 12:46:34.523 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=35] [step=post-process] [subtask-id=67] [2025/04/04 12:46:34.529 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=35] [step=post-process] [subtask-id=67] [takeTime=5.702844ms] [] [2025/04/04 12:46:34.529 +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/04 12:46:34.529 +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/04 12:46:34.529 +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/04 12:46:34.529 +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/04 12:46:34.531 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=233] [physicalTableID=233] [indexID=-1] [checksum=12236948213998824982] [totalKvs=2] [totalBytes=58] [2025/04/04 12:46:34.531 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 12:46:34.531 +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/04 12:46:34.531 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=35] [step=post-process] [subtask-id=67] [takeTime=8.346701ms] [] [2025/04/04 12:46:34.531 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=35] [step=post-process] [subtask-id=67] [takeTime=8.500864ms] [] [2025/04/04 12:46:34.531 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=35] [task-type=ImportInto] [server-id=:4000] [subtaskID=67] [step=post-process] [takeTime=8.641721ms] [] [2025/04/04 12:46:34.551 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 12:46:34.632 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=35] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 12:46:34.632 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=35] [step=post-process] [state=running] [] [2025/04/04 12:46:34.634 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=35] [2025/04/04 12:46:34.651 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=35] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=135.851244ms] [] [2025/04/04 12:46:34.651 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=35] [type=ImportInto] [2025/04/04 12:46:34.727 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=35] [2025/04/04 12:46:34.728 +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.690632472\n# Parse_time: 0.000094588\n# Compile_time: 0.000765645\n# Rewrite_time: 0.000393573\n# Optimize_time: 0.000276567\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('SvBJMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY4OS41bXMsIG9wZW46Njg4bnMsIGNsb3NlOjEuMjTCtXMsIGxvb3BzOjIJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('ZfBSCmEKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWjB0aW1lOjY4OS41bXMsIG9wZW46Njg4bnMsIGNsb3NlOjEuMjTCtXMsIGxvb3BzOjJw//////8BAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.00003438\nIMPORT INTO `load_csv`.`t_gen2` FROM 'gcs://test-bucket/generated_columns.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH fields_terminated_by=_UTF8MB4' ';"] [2025/04/04 12:46:34.733 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 12:46:34.733 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=35] [2025/04/04 12:46:34.745 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:34.760 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 12:46:34.796 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"columns-and-vars\":\"(`b`)\",\"file-location\":\"gcs://test-bucket/generated_columns.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"fields_terminated_by\":\"\\t\"}}"] [dist-task-enabled=true] [2025/04/04 12:46:34.816 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=36] [task-id=36] [data-size=7B] [thread-cnt=26] [global-sort=false] [2025/04/04 12:46:34.829 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=36] [2025/04/04 12:46:34.829 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=36] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/04 12:46:34.932 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=36] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 12:46:34.933 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=36] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:46:34.934 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=36] [curr-step=init] [next-step=import] [2025/04/04 12:46:34.942 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:34.946 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t_gen2] [2025/04/04 12:46:34.946 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t_gen2] [before=536870912000] [after=7] [2025/04/04 12:46:34.946 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t_gen2] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=7] [cost=57.352µs] [2025/04/04 12:46:34.946 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t_gen2] [takeTime=171.909µs] [] [2025/04/04 12:46:34.946 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=36] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 12:46:34.946 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=36] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/04 12:46:34.983 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=36] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 12:46:35.006 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=36] [step=import] [2025/04/04 12:46:35.006 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:35.014 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:46:35.014 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 12:46:35.014 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:46:35.014 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:46:35.014 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:46:35.014 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:46:35.014 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:46:35.015 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:46:35.015 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:46:35.015 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:46:35.028 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:46:35.029 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 12:46:35.029 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t_gen2] [quota=374.2GB] [2025/04/04 12:46:35.029 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=36] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 12:46:35.029 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t_gen2] [import-id=36] [disk-quota=348.5GiB] [2025/04/04 12:46:35.029 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=36] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 12:46:35.037 +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/04 12:46:35.037 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=36] [step=import] [subtask-id=68] [2025/04/04 12:46:35.037 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=36] [mode=Import] [2025/04/04 12:46:35.041 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:0] [engineUUID=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] [2025/04/04 12:46:35.044 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:-1] [engineUUID=af5132f3-132a-5b97-bec8-b012709d66fc] [2025/04/04 12:46:35.044 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=233] [2025/04/04 12:46:35.056 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=36] [2025/04/04 12:46:35.067 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=233] [key=generated_columns.csv:0] [2025/04/04 12:46:35.069 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=233] [key=generated_columns.csv:0] [readDur=904.935µs] [encodeDur=275.179µs] [checksum="{cksum=6725679395568127565,size=58,kvs=2}"] [deliverDur=245.169µs] [type=file] [takeTime=1.924396ms] [] [2025/04/04 12:46:35.070 +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/1cfcf82b-7788-4d92-b3d5-55358f5ea010.sst] [firstKey=7480000000000000E95F728000000000000001] [lastKey=7480000000000000E95F728000000000000002] [2025/04/04 12:46:35.070 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=36] [step=import] [engine-id=0] [2025/04/04 12:46:35.070 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=36] [step=import] [engine-id=0] [2025/04/04 12:46:35.070 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:0] [engineUUID=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] [2025/04/04 12:46:35.072 +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.867077ms] [] [2025/04/04 12:46:35.072 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:0] [engineUUID=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] [retryCnt=0] [2025/04/04 12:46:35.076 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:46:35.098 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] ["region ranges"=1] [count=2] [size=58] [2025/04/04 12:46:35.098 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:46:35.100 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000e95f728000000000000001] [endOfAllRanges=7480000000000000e95f728000000000000003] [startKeyOfFirstRegion=7480000000000000ffe95f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffe95f728000000000ff0000030000000000fa] [2025/04/04 12:46:35.113 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] [size=58] [kvs=2] [importedSize=58] [importedCount=2] [2025/04/04 12:46:35.115 +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.091442ms] [] [2025/04/04 12:46:35.115 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:0] [engineUUID=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] [2025/04/04 12:46:35.116 +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.069293ms] [] [2025/04/04 12:46:35.116 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=36] [step=import] [engine-id=0] [2025/04/04 12:46:35.116 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:-1] [engineUUID=af5132f3-132a-5b97-bec8-b012709d66fc] [2025/04/04 12:46:35.118 +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.743051ms] [] [2025/04/04 12:46:35.118 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:-1] [engineUUID=af5132f3-132a-5b97-bec8-b012709d66fc] [retryCnt=0] [2025/04/04 12:46:35.122 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=af5132f3-132a-5b97-bec8-b012709d66fc] [2025/04/04 12:46:35.122 +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.952802ms] [] [2025/04/04 12:46:35.122 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:-1] [engineUUID=af5132f3-132a-5b97-bec8-b012709d66fc] [2025/04/04 12:46:35.123 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:-1] [engineUUID=af5132f3-132a-5b97-bec8-b012709d66fc] [takeTime=830.148µs] [] [2025/04/04 12:46:35.123 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=36] [step=import] [subtask-id=68] [takeTime=86.236314ms] [] [2025/04/04 12:46:35.123 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=36] [task-type=ImportInto] [server-id=:4000] [subtaskID=68] [step=import] [takeTime=86.368036ms] [] [2025/04/04 12:46:35.136 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=36] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 12:46:35.137 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=36] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:46:35.138 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=36] [curr-step=import] [next-step=post-process] [2025/04/04 12:46:35.138 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=36] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 12:46:35.167 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=36] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/04 12:46:35.169 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=36] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 12:46:35.169 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=36] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=26] [subtasks=1] [2025/04/04 12:46:35.207 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=36] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 12:46:35.214 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=36] [step=import] [2025/04/04 12:46:35.217 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:46:35.217 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:46:35.217 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:46:35.217 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:46:35.217 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:46:35.217 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:46:35.217 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:46:35.217 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-35] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:46:35.217 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:35.217 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:35.217 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:35.217 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:46:35.220 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:46:35.220 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:35.220 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:35.220 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:35.220 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=36] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=190.241384ms] [] [2025/04/04 12:46:35.221 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=36] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 12:46:35.228 +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/04 12:46:35.228 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=36] [step=post-process] [subtask-id=69] [2025/04/04 12:46:35.228 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=36] [step=post-process] [subtask-id=69] [2025/04/04 12:46:35.229 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=36] [step=post-process] [subtask-id=69] [2025/04/04 12:46:35.232 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=36] [step=post-process] [subtask-id=69] [takeTime=3.189137ms] [] [2025/04/04 12:46:35.232 +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/04 12:46:35.232 +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/04 12:46:35.232 +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/04 12:46:35.232 +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/04 12:46:35.234 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=233] [physicalTableID=233] [indexID=-1] [checksum=6725679395568127565] [totalKvs=2] [totalBytes=58] [2025/04/04 12:46:35.234 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 12:46:35.235 +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/04 12:46:35.235 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=36] [step=post-process] [subtask-id=69] [takeTime=6.124665ms] [] [2025/04/04 12:46:35.235 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=36] [step=post-process] [subtask-id=69] [takeTime=6.259695ms] [] [2025/04/04 12:46:35.235 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=36] [task-type=ImportInto] [server-id=:4000] [subtaskID=69] [step=post-process] [takeTime=6.415352ms] [] [2025/04/04 12:46:35.260 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 12:46:35.336 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=36] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 12:46:35.336 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=36] [step=post-process] [state=running] [] [2025/04/04 12:46:35.338 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=36] [2025/04/04 12:46:35.354 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=36] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=133.158105ms] [] [2025/04/04 12:46:35.354 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=36] [type=ImportInto] [2025/04/04 12:46:35.431 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=36] [2025/04/04 12:46:35.434 +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.696188464\n# Parse_time: 0.00012188\n# Compile_time: 0.000853825\n# Rewrite_time: 0.000404941\n# Optimize_time: 0.000264689\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('SvBJMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY5NC45bXMsIG9wZW46Nzc5bnMsIGNsb3NlOjEuMDLCtXMsIGxvb3BzOjIJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('ZfBSCmEKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWjB0aW1lOjY5NC45bXMsIG9wZW46Nzc5bnMsIGNsb3NlOjEuMDLCtXMsIGxvb3BzOjJw//////8BAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.00003438\nIMPORT INTO `load_csv`.`t_gen2` (`b`) FROM 'gcs://test-bucket/generated_columns.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH fields_terminated_by=_UTF8MB4' ';"] [2025/04/04 12:46:35.437 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 12:46:35.437 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=36] [2025/04/04 12:46:35.452 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:35.472 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 12:46:35.501 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"columns-and-vars\":\"(`a`)\",\"file-location\":\"gcs://test-bucket/generated_columns.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"fields_terminated_by\":\"\\t\"}}"] [dist-task-enabled=true] [2025/04/04 12:46:35.520 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=37] [task-id=37] [data-size=7B] [thread-cnt=26] [global-sort=false] [2025/04/04 12:46:35.535 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=37] [2025/04/04 12:46:35.536 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=37] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/04 12:46:35.638 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=37] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 12:46:35.639 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=37] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:46:35.640 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=37] [curr-step=init] [next-step=import] [2025/04/04 12:46:35.648 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:35.651 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t_gen2] [2025/04/04 12:46:35.651 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t_gen2] [before=536870912000] [after=7] [2025/04/04 12:46:35.651 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t_gen2] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=7] [cost=49.158µs] [2025/04/04 12:46:35.651 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t_gen2] [takeTime=147.258µs] [] [2025/04/04 12:46:35.651 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=37] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 12:46:35.651 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=37] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/04 12:46:35.682 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=37] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 12:46:35.701 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=37] [step=import] [2025/04/04 12:46:35.701 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:35.709 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:46:35.709 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 12:46:35.710 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:46:35.710 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:46:35.710 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:46:35.710 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:46:35.710 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:46:35.710 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:46:35.711 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:46:35.711 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:46:35.723 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:46:35.725 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 12:46:35.725 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t_gen2] [quota=374.2GB] [2025/04/04 12:46:35.725 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=37] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 12:46:35.725 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t_gen2] [import-id=37] [disk-quota=348.5GiB] [2025/04/04 12:46:35.725 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=37] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 12:46:35.733 +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/04 12:46:35.733 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=37] [step=import] [subtask-id=70] [2025/04/04 12:46:35.736 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:0] [engineUUID=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] [2025/04/04 12:46:35.739 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:-1] [engineUUID=af5132f3-132a-5b97-bec8-b012709d66fc] [2025/04/04 12:46:35.739 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=233] [2025/04/04 12:46:35.744 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=37] [mode=Import] [2025/04/04 12:46:35.762 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=37] [2025/04/04 12:46:35.763 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=233] [key=generated_columns.csv:0] [2025/04/04 12:46:35.765 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=233] [key=generated_columns.csv:0] [readDur=844.439µs] [encodeDur=271.932µs] [checksum="{cksum=7435750759411199284,size=50,kvs=2}"] [deliverDur=255.273µs] [type=file] [takeTime=1.678053ms] [] [2025/04/04 12:46:35.766 +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/c2ee3c53-51c0-48bf-b8db-04a050da914a.sst] [firstKey=7480000000000000E95F728000000000000001] [lastKey=7480000000000000E95F728000000000000002] [2025/04/04 12:46:35.766 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=37] [step=import] [engine-id=0] [2025/04/04 12:46:35.766 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=37] [step=import] [engine-id=0] [2025/04/04 12:46:35.766 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:0] [engineUUID=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] [2025/04/04 12:46:35.768 +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.345851ms] [] [2025/04/04 12:46:35.768 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:0] [engineUUID=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] [retryCnt=0] [2025/04/04 12:46:35.773 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:46:35.794 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] ["region ranges"=1] [count=2] [size=50] [2025/04/04 12:46:35.795 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:46:35.796 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000e95f728000000000000001] [endOfAllRanges=7480000000000000e95f728000000000000003] [startKeyOfFirstRegion=7480000000000000ffe95f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffe95f728000000000ff0000030000000000fa] [2025/04/04 12:46:35.811 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] [size=50] [kvs=2] [importedSize=50] [importedCount=2] [2025/04/04 12:46:35.812 +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.850612ms] [] [2025/04/04 12:46:35.812 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:0] [engineUUID=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] [2025/04/04 12:46:35.814 +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.118689ms] [] [2025/04/04 12:46:35.814 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=37] [step=import] [engine-id=0] [2025/04/04 12:46:35.814 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:-1] [engineUUID=af5132f3-132a-5b97-bec8-b012709d66fc] [2025/04/04 12:46:35.816 +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.933891ms] [] [2025/04/04 12:46:35.816 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:-1] [engineUUID=af5132f3-132a-5b97-bec8-b012709d66fc] [retryCnt=0] [2025/04/04 12:46:35.819 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=af5132f3-132a-5b97-bec8-b012709d66fc] [2025/04/04 12:46:35.820 +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.699888ms] [] [2025/04/04 12:46:35.820 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:-1] [engineUUID=af5132f3-132a-5b97-bec8-b012709d66fc] [2025/04/04 12:46:35.821 +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.026114ms] [] [2025/04/04 12:46:35.821 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=37] [step=import] [subtask-id=70] [takeTime=88.177661ms] [] [2025/04/04 12:46:35.821 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=37] [task-type=ImportInto] [server-id=:4000] [subtaskID=70] [step=import] [takeTime=88.321009ms] [] [2025/04/04 12:46:35.844 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=37] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 12:46:35.845 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=37] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:46:35.846 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=37] [curr-step=import] [next-step=post-process] [2025/04/04 12:46:35.846 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=37] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 12:46:35.875 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=37] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/04 12:46:35.877 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=37] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 12:46:35.877 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=37] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=26] [subtasks=1] [2025/04/04 12:46:35.906 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=37] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 12:46:35.914 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=37] [step=import] [2025/04/04 12:46:35.917 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:46:35.917 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:46:35.917 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:46:35.917 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:46:35.917 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:46:35.917 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:46:35.917 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:46:35.917 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:35.917 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-36] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:46:35.917 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:35.917 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:35.917 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:46:35.919 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:46:35.919 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:35.919 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:35.919 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:35.919 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=37] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=193.880688ms] [] [2025/04/04 12:46:35.920 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=37] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 12:46:35.928 +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/04 12:46:35.928 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=37] [step=post-process] [subtask-id=71] [2025/04/04 12:46:35.928 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=37] [step=post-process] [subtask-id=71] [2025/04/04 12:46:35.928 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=37] [step=post-process] [subtask-id=71] [2025/04/04 12:46:35.931 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=37] [step=post-process] [subtask-id=71] [takeTime=3.634252ms] [] [2025/04/04 12:46:35.932 +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/04 12:46:35.932 +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/04 12:46:35.932 +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/04 12:46:35.932 +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/04 12:46:35.934 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=233] [physicalTableID=233] [indexID=-1] [checksum=7435750759411199284] [totalKvs=2] [totalBytes=50] [2025/04/04 12:46:35.934 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 12:46:35.934 +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/04 12:46:35.934 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=37] [step=post-process] [subtask-id=71] [takeTime=6.686531ms] [] [2025/04/04 12:46:35.935 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=37] [step=post-process] [subtask-id=71] [takeTime=6.844375ms] [] [2025/04/04 12:46:35.935 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=37] [task-type=ImportInto] [server-id=:4000] [subtaskID=71] [step=post-process] [takeTime=6.990025ms] [] [2025/04/04 12:46:35.951 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 12:46:36.043 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=37] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 12:46:36.043 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=37] [step=post-process] [state=running] [] [2025/04/04 12:46:36.046 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=37] [2025/04/04 12:46:36.076 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=37] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=155.406934ms] [] [2025/04/04 12:46:36.076 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=37] [type=ImportInto] [2025/04/04 12:46:36.138 +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.695535111\n# Parse_time: 0.000151727\n# Compile_time: 0.000804438\n# Rewrite_time: 0.00040238\n# Optimize_time: 0.000310179\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('SvBJMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY5NC4zbXMsIG9wZW46NzI3bnMsIGNsb3NlOjEuMDPCtXMsIGxvb3BzOjIJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('ZfBSCmEKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWjB0aW1lOjY5NC4zbXMsIG9wZW46NzI3bnMsIGNsb3NlOjEuMDPCtXMsIGxvb3BzOjJw//////8BAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.00003438\nIMPORT INTO `load_csv`.`t_gen2` (`a`) FROM 'gcs://test-bucket/generated_columns.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH fields_terminated_by=_UTF8MB4' ';"] [2025/04/04 12:46:36.138 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=37] --- PASS: TestImportInto/TestGeneratedColumnsAndTSVFile (5.12s) === NAME TestImportInto === RUN TestImportInto/TestIgnoreNLines [2025/04/04 12:46:36.144 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 12:46:36.144 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=37] [2025/04/04 12:46:36.154 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:235, Type:drop schema, State:queueing, SchemaState:public, SchemaID:200, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:36.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop database if exists load_data"] [2025/04/04 12:46:36.154 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:235, Type:drop schema, State:queueing, SchemaState:public, SchemaID:200, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:36.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:36.160 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=235] [conn=2] [job="ID:235, Type:drop schema, State:queueing, SchemaState:public, SchemaID:200, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:36.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:36.165 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 12:46:36.178 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=159] [neededSchemaVersion=160] ["elapsed time"=1.845852ms] [gotSchemaVersion=160] [phyTblIDs="[204]"] [actionTypes="[2]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 12:46:36.182 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=235] [version=160] [2025/04/04 12:46:36.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=160] ["take time"=9.184568ms] [job="ID:235, Type:drop schema, State:running, SchemaState:write only, SchemaID:200, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:36.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:36.194 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=235] [conn=2] [job="ID:235, Type:drop schema, State:running, SchemaState:write only, SchemaID:200, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:36.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:36.206 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=160] [neededSchemaVersion=161] ["elapsed time"=128.605µs] [gotSchemaVersion=161] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 12:46:36.210 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=235] [version=161] [2025/04/04 12:46:36.211 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=161] ["take time"=6.854845ms] [job="ID:235, Type:drop schema, State:running, SchemaState:delete only, SchemaID:200, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:36.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:36.220 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=235] [conn=2] [job="ID:235, Type:drop schema, State:running, SchemaState:delete only, SchemaID:200, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:36.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:36.225 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/04 12:46:36.235 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=161] [neededSchemaVersion=162] ["elapsed time"=128.813µs] [gotSchemaVersion=162] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 12:46:36.238 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=235] [version=162] [2025/04/04 12:46:36.239 +00:00] [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"=6.663425ms] [job="ID:235, Type:drop schema, State:done, SchemaState:none, SchemaID:200, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:36.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:36.248 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=235] [tableIDs="[204]"] [comment="drop schema: table IDs"] [2025/04/04 12:46:36.252 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=235] [jobType="drop schema"] [2025/04/04 12:46:36.253 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=235] [conn=2] [job="ID:235, Type:drop schema, State:synced, SchemaState:none, SchemaID:200, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:36.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:36.269 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=235] [2025/04/04 12:46:36.269 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=162] [cur_db=load_csv] [sql="drop database if exists load_data"] [user=root@%] [2025/04/04 12:46:36.280 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:237, Type:create schema, State:queueing, SchemaState:none, SchemaID:236, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:36.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:36.280 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:237, Type:create schema, State:queueing, SchemaState:none, SchemaID:236, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:36.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database load_data"] [2025/04/04 12:46:36.285 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=237] [conn=2] [job="ID:237, Type:create schema, State:queueing, SchemaState:none, SchemaID:236, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:36.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:36.299 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=162] [neededSchemaVersion=163] ["elapsed time"=695.272µs] [gotSchemaVersion=163] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 12:46:36.302 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=237] [version=163] [2025/04/04 12:46:36.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=163] ["take time"=7.399618ms] [job="ID:237, Type:create schema, State:done, SchemaState:public, SchemaID:236, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:36.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:36.314 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=237] [conn=2] [job="ID:237, Type:create schema, State:synced, SchemaState:public, SchemaID:236, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:36.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:36.324 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=237] [2025/04/04 12:46:36.325 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=163] [cur_db=load_csv] [sql="create database load_data"] [user=root@%] [2025/04/04 12:46:36.327 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=163] [cur_db=load_data] [sql="drop table if exists t;"] [user=root@%] [2025/04/04 12:46:36.340 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:239, Type:create table, State:queueing, SchemaState:none, SchemaID:236, TableID:238, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:36.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:36.340 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:239, Type:create table, State:queueing, SchemaState:none, SchemaID:236, TableID:238, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:36.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100), c int);"] [2025/04/04 12:46:36.345 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=239] [conn=2] [job="ID:239, Type:create table, State:queueing, SchemaState:none, SchemaID:236, TableID:238, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:36.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:36.350 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 238, Table Name: t)"] [2025/04/04 12:46:36.365 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=163] [neededSchemaVersion=164] ["elapsed time"=1.925747ms] [gotSchemaVersion=164] [phyTblIDs="[238]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:46:36.369 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=239] [version=164] [2025/04/04 12:46:36.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=164] ["take time"=8.92343ms] [job="ID:239, Type:create table, State:done, SchemaState:public, SchemaID:236, TableID:238, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:36.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:36.389 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=239] [conn=2] [job="ID:239, Type:create table, State:synced, SchemaState:public, SchemaID:236, TableID:238, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:36.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:36.401 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=239] [2025/04/04 12:46:36.401 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=164] [cur_db=load_data] [sql="create table t (a bigint, b varchar(100), c int);"] [user=root@%] [2025/04/04 12:46:36.407 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:36.457 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-multi-load/skip-rows-*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/04 12:46:36.476 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=38] [task-id=38] [data-size=97B] [thread-cnt=1] [global-sort=false] [2025/04/04 12:46:36.490 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=38] [2025/04/04 12:46:36.490 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=38] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/04 12:46:36.593 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=38] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 12:46:36.594 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=38] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:46:36.595 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=38] [curr-step=init] [next-step=import] [2025/04/04 12:46:36.603 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:36.606 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 12:46:36.606 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=97] [2025/04/04 12:46:36.606 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=2] [MaxChunkSize=268435456] [RegionsCount=2] [BatchSize=97] [cost=70.968µs] [2025/04/04 12:46:36.606 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=211.269µs] [] [2025/04/04 12:46:36.606 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=38] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 12:46:36.607 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=38] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/04 12:46:36.642 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=38] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 12:46:36.662 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=38] [step=import] [2025/04/04 12:46:36.663 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:36.671 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:46:36.671 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 12:46:36.672 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:46:36.672 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:46:36.672 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:46:36.672 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:46:36.672 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:46:36.672 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:46:36.673 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:46:36.673 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:46:36.685 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:46:36.687 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 12:46:36.687 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 12:46:36.687 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=38] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 12:46:36.687 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=38] [disk-quota=348.5GiB] [2025/04/04 12:46:36.688 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=38] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/04 12:46:36.695 +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/04 12:46:36.696 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=38] [step=import] [subtask-id=72] [2025/04/04 12:46:36.699 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=38] [mode=Import] [2025/04/04 12:46:36.700 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 12:46:36.705 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 12:46:36.705 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=238] [2025/04/04 12:46:36.718 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=38] [2025/04/04 12:46:36.728 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=238] [key=skip-rows-1.csv:0] [2025/04/04 12:46:36.730 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=238] [key=skip-rows-1.csv:0] [readDur=1.232615ms] [encodeDur=316.284µs] [checksum="{cksum=12736467198054628245,size=164,kvs=4}"] [deliverDur=233.444µs] [type=file] [takeTime=2.18728ms] [] [2025/04/04 12:46:36.731 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=238] [2025/04/04 12:46:36.731 +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/1c04ed6c-77bd-41c4-8066-eb9c7c6d4c00.sst] [firstKey=7480000000000000EE5F728000000000000001] [lastKey=7480000000000000EE5F728000000000000004] [2025/04/04 12:46:36.774 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=238] [key=skip-rows-2.csv:0] [2025/04/04 12:46:36.777 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=238] [key=skip-rows-2.csv:0] [readDur=1.110878ms] [encodeDur=511.448µs] [checksum="{cksum=17165499041007397678,size=205,kvs=5}"] [deliverDur=292.701µs] [type=file] [takeTime=2.143496ms] [] [2025/04/04 12:46:36.777 +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/a6c48383-5976-46cc-82fd-464bd489f1ab.sst] [firstKey=7480000000000000EE5F72800000000000000F] [lastKey=7480000000000000EE5F728000000000000013] [2025/04/04 12:46:36.778 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=38] [step=import] [engine-id=0] [2025/04/04 12:46:36.778 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=38] [step=import] [engine-id=0] [2025/04/04 12:46:36.778 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 12:46:36.780 +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.897824ms] [] [2025/04/04 12:46:36.780 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [retryCnt=0] [2025/04/04 12:46:36.785 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:46:36.806 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] ["region ranges"=1] [count=9] [size=369] [2025/04/04 12:46:36.807 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:46:36.808 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000ee5f728000000000000001] [endOfAllRanges=7480000000000000ee5f728000000000000014] [startKeyOfFirstRegion=7480000000000000ffee5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffee5f728000000000ff0000140000000000fa] [2025/04/04 12:46:36.819 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] [size=369] [kvs=9] [importedSize=369] [importedCount=9] [2025/04/04 12:46:36.821 +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.464495ms] [] [2025/04/04 12:46:36.821 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 12:46:36.823 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=1.206483ms] [] [2025/04/04 12:46:36.823 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=38] [step=import] [engine-id=0] [2025/04/04 12:46:36.823 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 12:46:36.824 +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.363534ms] [] [2025/04/04 12:46:36.824 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [retryCnt=0] [2025/04/04 12:46:36.828 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 12:46:36.828 +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.602253ms] [] [2025/04/04 12:46:36.828 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 12:46:36.829 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=890.369µs] [] [2025/04/04 12:46:36.829 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=38] [step=import] [subtask-id=72] [takeTime=133.369008ms] [] [2025/04/04 12:46:36.829 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=38] [task-type=ImportInto] [server-id=:4000] [subtaskID=72] [step=import] [takeTime=133.527096ms] [] [2025/04/04 12:46:36.897 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=38] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 12:46:36.899 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=38] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:46:36.900 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=38] [curr-step=import] [next-step=post-process] [2025/04/04 12:46:36.900 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=38] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 12:46:36.929 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=38] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":9}"] [2025/04/04 12:46:36.930 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=38] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 12:46:36.930 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=38] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/04 12:46:36.965 +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/04 12:46:36.971 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=38] [step=import] [2025/04/04 12:46:36.974 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:46:36.974 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:46:36.974 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:46:36.974 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:46:36.974 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:46:36.974 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:46:36.974 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:46:36.975 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:36.975 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:36.974 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-37] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:46:36.975 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:36.975 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:46:36.977 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:46:36.977 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:36.977 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:36.977 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:36.977 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=38] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=289.349119ms] [] [2025/04/04 12:46:36.978 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=38] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/04 12:46:36.985 +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/04 12:46:36.985 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=38] [step=post-process] [subtask-id=73] [2025/04/04 12:46:36.985 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=38] [step=post-process] [subtask-id=73] [2025/04/04 12:46:36.985 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=38] [step=post-process] [subtask-id=73] [2025/04/04 12:46:36.991 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=38] [step=post-process] [subtask-id=73] [takeTime=5.456343ms] [] [2025/04/04 12:46:36.991 +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/04 12:46:36.991 +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/04 12:46:36.991 +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/04 12:46:36.991 +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/04 12:46:36.993 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=238] [physicalTableID=238] [indexID=-1] [checksum=6843535201192644795] [totalKvs=9] [totalBytes=369] [2025/04/04 12:46:36.994 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 12:46:36.994 +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/04 12:46:36.994 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=38] [step=post-process] [subtask-id=73] [takeTime=8.277845ms] [] [2025/04/04 12:46:36.994 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=38] [step=post-process] [subtask-id=73] [takeTime=8.422377ms] [] [2025/04/04 12:46:36.994 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=38] [task-type=ImportInto] [server-id=:4000] [subtaskID=73] [step=post-process] [takeTime=8.554726ms] [] [2025/04/04 12:46:37.010 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 12:46:37.097 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=38] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 12:46:37.097 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=38] [step=post-process] [state=running] [] [2025/04/04 12:46:37.099 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=38] [2025/04/04 12:46:37.127 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=38] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=149.02106ms] [] [2025/04/04 12:46:37.127 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=38] [type=ImportInto] [2025/04/04 12:46:37.192 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=38] [2025/04/04 12:46:37.198 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 12:46:37.198 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=38] [2025/04/04 12:46:37.219 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 12:46:37.392 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# User@Host: root[root] @ localhost [localhost]\n# Conn_ID: 2\n# Query_time: 0.990948529\n# Parse_time: 0.000086591\n# Compile_time: 0.000646569\n# Rewrite_time: 0.000213429\n# Optimize_time: 0.000271429\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('RrAwCTU5XzIJMAkwCU4vQQkxCXRpbWU6OTkwbXMsIG9wZW46NjgxbnMsIGNsb3MBGQA1AQ08bG9vcHM6MglOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('YeAKXQoMSW1wb3J0SW50b18yMAE4AUABUgNOL0FaLHRpbWU6OTkwbXMsIG9wZW46NjgxbnMsIGNsb3MBGQA1AQ0gbG9vcHM6MnD/EQE0AXj///////////8BGAE=')\n# Resource_group: default\n# Tikv_cpu_time: 0.00003438\nuse load_data;\nIMPORT INTO `load_data`.`t` FROM 'gs://test-multi-load/skip-rows-*.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1;"] [2025/04/04 12:46:37.408 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:241, Type:truncate table, State:queueing, SchemaState:none, SchemaID:236, TableID:238, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:37.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:37.408 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:241, Type:truncate table, State:queueing, SchemaState:none, SchemaID:236, TableID:238, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:37.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table t"] [2025/04/04 12:46:37.413 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=241] [conn=2] [job="ID:241, Type:truncate table, State:queueing, SchemaState:none, SchemaID:236, TableID:238, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:37.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:37.421 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 240, Table Name: t, Old Table ID: 238, Old Table Name: t)"] [2025/04/04 12:46:37.436 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=164] [neededSchemaVersion=165] ["elapsed time"=1.852736ms] [gotSchemaVersion=165] [phyTblIDs="[238,240]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 12:46:37.439 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=241] [version=165] [2025/04/04 12:46:37.441 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=165] ["take time"=8.509415ms] [job="ID:241, Type:truncate table, State:done, SchemaState:public, SchemaID:236, TableID:238, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:37.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:37.451 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=241] [tableIDs="[238]"] [comment="truncate table: table ID"] [2025/04/04 12:46:37.456 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=241] [jobType="truncate table"] [2025/04/04 12:46:37.457 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=241] [conn=2] [job="ID:241, Type:truncate table, State:synced, SchemaState:public, SchemaID:236, TableID:238, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:37.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:37.473 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=241] [2025/04/04 12:46:37.474 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=165] [cur_db=load_data] [sql="truncate table t"] [user=root@%] [2025/04/04 12:46:37.479 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:37.523 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-multi-load/skip-rows-*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"skip_rows\":\"1\",\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/04 12:46:37.542 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=39] [task-id=39] [data-size=97B] [thread-cnt=1] [global-sort=false] [2025/04/04 12:46:37.555 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=39] [2025/04/04 12:46:37.555 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=39] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/04 12:46:37.658 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=39] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 12:46:37.659 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=39] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:46:37.660 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=39] [curr-step=init] [next-step=import] [2025/04/04 12:46:37.668 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:37.670 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 12:46:37.670 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=97] [2025/04/04 12:46:37.670 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=2] [MaxChunkSize=268435456] [RegionsCount=2] [BatchSize=97] [cost=79.323µs] [2025/04/04 12:46:37.670 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=220.523µs] [] [2025/04/04 12:46:37.670 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=39] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 12:46:37.671 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=39] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/04 12:46:37.702 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=39] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 12:46:37.722 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=39] [step=import] [2025/04/04 12:46:37.722 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:37.730 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:46:37.730 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 12:46:37.730 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:46:37.730 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:46:37.730 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:46:37.731 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:46:37.731 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:46:37.731 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:46:37.731 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:46:37.731 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:46:37.743 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:46:37.744 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 12:46:37.745 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 12:46:37.745 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=39] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 12:46:37.745 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=39] [disk-quota=348.5GiB] [2025/04/04 12:46:37.745 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=39] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/04 12:46:37.752 +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/04 12:46:37.753 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=39] [step=import] [subtask-id=74] [2025/04/04 12:46:37.756 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 12:46:37.759 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 12:46:37.759 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=240] [2025/04/04 12:46:37.764 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=39] [mode=Import] [2025/04/04 12:46:37.773 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=240] [key=skip-rows-1.csv:0] [2025/04/04 12:46:37.774 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=240] [key=skip-rows-1.csv:0] [readDur=63.762µs] [encodeDur=406.554µs] [checksum="{cksum=7570671136109282668,size=123,kvs=3}"] [deliverDur=299.196µs] [type=file] [takeTime=1.038124ms] [] [2025/04/04 12:46:37.774 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=240] [2025/04/04 12:46:37.774 +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/c67e1701-c2d3-4df1-b6a5-65b9a2a10b8f.sst] [firstKey=7480000000000000F05F728000000000000001] [lastKey=7480000000000000F05F728000000000000003] [2025/04/04 12:46:37.783 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=39] [2025/04/04 12:46:37.788 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=240] [key=skip-rows-2.csv:0] [2025/04/04 12:46:37.789 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=240] [key=skip-rows-2.csv:0] [readDur=99.373µs] [encodeDur=670.224µs] [checksum="{cksum=5624564024173586417,size=164,kvs=4}"] [deliverDur=247.636µs] [type=file] [takeTime=1.226074ms] [] [2025/04/04 12:46:37.790 +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/d05ff5cd-3c7d-4bca-9467-139a6f6115c0.sst] [firstKey=7480000000000000F05F72800000000000000F] [lastKey=7480000000000000F05F728000000000000012] [2025/04/04 12:46:37.790 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=39] [step=import] [engine-id=0] [2025/04/04 12:46:37.790 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=39] [step=import] [engine-id=0] [2025/04/04 12:46:37.790 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 12:46:37.792 +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.003068ms] [] [2025/04/04 12:46:37.792 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [retryCnt=0] [2025/04/04 12:46:37.797 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:46:37.818 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] ["region ranges"=1] [count=7] [size=287] [2025/04/04 12:46:37.818 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:46:37.820 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000f05f728000000000000001] [endOfAllRanges=7480000000000000f05f728000000000000013] [startKeyOfFirstRegion=7480000000000000fff05f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000fff05f728000000000ff0000130000000000fa] [2025/04/04 12:46:37.831 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] [size=287] [kvs=7] [importedSize=287] [importedCount=7] [2025/04/04 12:46:37.833 +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.699467ms] [] [2025/04/04 12:46:37.833 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 12:46:37.834 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=973.074µs] [] [2025/04/04 12:46:37.834 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=39] [step=import] [engine-id=0] [2025/04/04 12:46:37.834 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 12:46:37.836 +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.415828ms] [] [2025/04/04 12:46:37.836 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [retryCnt=0] [2025/04/04 12:46:37.839 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 12:46:37.840 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [retryCnt=0] [takeTime=3.822727ms] [] [2025/04/04 12:46:37.840 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 12:46:37.841 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=842.573µs] [] [2025/04/04 12:46:37.841 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=39] [step=import] [subtask-id=74] [takeTime=88.11155ms] [] [2025/04/04 12:46:37.841 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=39] [task-type=ImportInto] [server-id=:4000] [subtaskID=74] [step=import] [takeTime=88.246669ms] [] [2025/04/04 12:46:37.862 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=39] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 12:46:37.863 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=39] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:46:37.864 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=39] [curr-step=import] [next-step=post-process] [2025/04/04 12:46:37.864 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=39] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 12:46:37.895 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=39] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":7}"] [2025/04/04 12:46:37.896 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=39] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 12:46:37.896 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=39] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/04 12:46:37.922 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=39] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 12:46:37.928 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=39] [step=import] [2025/04/04 12:46:37.931 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:46:37.931 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:46:37.931 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:46:37.931 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:46:37.931 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:46:37.931 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:46:37.931 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:46:37.931 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:37.931 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:37.931 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:37.931 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-38] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:46:37.931 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:46:37.934 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:46:37.934 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:37.934 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:37.934 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:37.934 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=39] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=188.957852ms] [] [2025/04/04 12:46:37.935 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=39] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/04 12:46:37.942 +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/04 12:46:37.942 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=39] [step=post-process] [subtask-id=75] [2025/04/04 12:46:37.942 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=39] [step=post-process] [subtask-id=75] [2025/04/04 12:46:37.942 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=39] [step=post-process] [subtask-id=75] [2025/04/04 12:46:37.948 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=39] [step=post-process] [subtask-id=75] [takeTime=5.620821ms] [] [2025/04/04 12:46:37.948 +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/04 12:46:37.948 +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/04 12:46:37.948 +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/04 12:46:37.948 +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/04 12:46:37.950 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=240] [physicalTableID=240] [indexID=-1] [checksum=2818719448718254749] [totalKvs=7] [totalBytes=287] [2025/04/04 12:46:37.951 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 12:46:37.951 +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/04 12:46:37.951 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=39] [step=post-process] [subtask-id=75] [takeTime=8.366884ms] [] [2025/04/04 12:46:37.951 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=39] [step=post-process] [subtask-id=75] [takeTime=8.500956ms] [] [2025/04/04 12:46:37.951 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=39] [task-type=ImportInto] [server-id=:4000] [subtaskID=75] [step=post-process] [takeTime=8.626873ms] [] [2025/04/04 12:46:37.962 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 12:46:37.964 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=39] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 12:46:37.964 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=39] [step=post-process] [state=running] [] [2025/04/04 12:46:37.967 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=39] [2025/04/04 12:46:37.997 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=39] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=62.232878ms] [] [2025/04/04 12:46:37.997 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=39] [type=ImportInto] [2025/04/04 12:46:38.057 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=39] [2025/04/04 12:46:38.063 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 12:46:38.063 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=39] [2025/04/04 12:46:38.084 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 12:46:38.158 +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.684008478\n# Parse_time: 0.000150885\n# Compile_time: 0.000561361\n# Rewrite_time: 0.000172305\n# Optimize_time: 0.000264398\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('RfBEMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY4M21zLCBvcGVuOjY0MG5zLCBjbG9zZToxwrVzLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('YPBMClwKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWit0aW1lOjY4M21zLCBvcGVuOjY0MG5zLCBjbG9zZToxwrVzLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.00003438\nIMPORT INTO `load_data`.`t` FROM 'gs://test-multi-load/skip-rows-*.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1, skip_rows=1;"] [2025/04/04 12:46:38.173 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:243, Type:truncate table, State:queueing, SchemaState:none, SchemaID:236, TableID:240, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:38.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table t"] [2025/04/04 12:46:38.173 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:243, Type:truncate table, State:queueing, SchemaState:none, SchemaID:236, TableID:240, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:38.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:38.178 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=243] [conn=2] [job="ID:243, Type:truncate table, State:queueing, SchemaState:none, SchemaID:236, TableID:240, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:38.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:38.186 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 242, Table Name: t, Old Table ID: 240, Old Table Name: t)"] [2025/04/04 12:46:38.201 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=165] [neededSchemaVersion=166] ["elapsed time"=1.849864ms] [gotSchemaVersion=166] [phyTblIDs="[240,242]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 12:46:38.204 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=243] [version=166] [2025/04/04 12:46:38.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=166] ["take time"=8.678051ms] [job="ID:243, Type:truncate table, State:done, SchemaState:public, SchemaID:236, TableID:240, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:38.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:38.216 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=243] [tableIDs="[240]"] [comment="truncate table: table ID"] [2025/04/04 12:46:38.221 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=243] [jobType="truncate table"] [2025/04/04 12:46:38.222 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=243] [conn=2] [job="ID:243, Type:truncate table, State:synced, SchemaState:public, SchemaID:236, TableID:240, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:38.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:38.239 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=243] [2025/04/04 12:46:38.239 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=166] [cur_db=load_data] [sql="truncate table t"] [user=root@%] [2025/04/04 12:46:38.245 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:38.292 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-multi-load/skip-rows-*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"skip_rows\":\"3\",\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/04 12:46:38.311 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=40] [task-id=40] [data-size=97B] [thread-cnt=1] [global-sort=false] [2025/04/04 12:46:38.324 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=40] [2025/04/04 12:46:38.324 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=40] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/04 12:46:38.426 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=40] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 12:46:38.427 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=40] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:46:38.428 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=40] [curr-step=init] [next-step=import] [2025/04/04 12:46:38.436 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:38.438 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 12:46:38.438 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=97] [2025/04/04 12:46:38.438 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=2] [MaxChunkSize=268435456] [RegionsCount=2] [BatchSize=97] [cost=111.427µs] [2025/04/04 12:46:38.439 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=242.277µs] [] [2025/04/04 12:46:38.439 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=40] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 12:46:38.439 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=40] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/04 12:46:38.473 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=40] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 12:46:38.493 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=40] [step=import] [2025/04/04 12:46:38.493 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:38.500 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:46:38.500 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 12:46:38.500 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:46:38.501 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:46:38.501 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:46:38.501 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:46:38.501 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:46:38.501 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:46:38.501 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:46:38.501 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:46:38.513 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:46:38.515 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 12:46:38.515 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 12:46:38.515 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=40] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 12:46:38.515 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=40] [disk-quota=348.5GiB] [2025/04/04 12:46:38.515 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=40] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/04 12:46:38.522 +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/04 12:46:38.522 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=40] [step=import] [subtask-id=76] [2025/04/04 12:46:38.525 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 12:46:38.529 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 12:46:38.529 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=242] [2025/04/04 12:46:38.532 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=40] [mode=Import] [2025/04/04 12:46:38.543 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=242] [key=skip-rows-1.csv:0] [2025/04/04 12:46:38.544 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=242] [key=skip-rows-1.csv:0] [readDur=55.838µs] [encodeDur=277.163µs] [checksum="{cksum=16041078963605923607,size=41,kvs=1}"] [deliverDur=195.863µs] [type=file] [takeTime=830.974µs] [] [2025/04/04 12:46:38.544 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=242] [2025/04/04 12:46:38.544 +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/3ebd94d5-9475-41c9-803d-ade80cce2287.sst] [firstKey=7480000000000000F25F728000000000000001] [lastKey=7480000000000000F25F728000000000000001] [2025/04/04 12:46:38.550 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=40] [2025/04/04 12:46:38.586 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=242] [key=skip-rows-2.csv:0] [2025/04/04 12:46:38.587 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=242] [key=skip-rows-2.csv:0] [readDur=78.604µs] [encodeDur=321.826µs] [checksum="{cksum=4333126819455252683,size=82,kvs=2}"] [deliverDur=360.031µs] [type=file] [takeTime=1.078519ms] [] [2025/04/04 12:46:38.587 +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/d325d08a-aa27-4a53-bf2a-69c4ed17515b.sst] [firstKey=7480000000000000F25F72800000000000000F] [lastKey=7480000000000000F25F728000000000000010] [2025/04/04 12:46:38.588 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=40] [step=import] [engine-id=0] [2025/04/04 12:46:38.588 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=40] [step=import] [engine-id=0] [2025/04/04 12:46:38.588 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 12:46:38.590 +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.053244ms] [] [2025/04/04 12:46:38.590 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [retryCnt=0] [2025/04/04 12:46:38.596 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:46:38.618 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] ["region ranges"=1] [count=3] [size=123] [2025/04/04 12:46:38.618 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:46:38.619 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000f25f728000000000000001] [endOfAllRanges=7480000000000000f25f728000000000000011] [startKeyOfFirstRegion=7480000000000000fff25f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000fff25f728000000000ff0000110000000000fa] [2025/04/04 12:46:38.631 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] [size=123] [kvs=3] [importedSize=123] [importedCount=3] [2025/04/04 12:46:38.633 +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.758943ms] [] [2025/04/04 12:46:38.633 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 12:46:38.634 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=1.221591ms] [] [2025/04/04 12:46:38.634 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=40] [step=import] [engine-id=0] [2025/04/04 12:46:38.634 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 12:46:38.636 +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.609718ms] [] [2025/04/04 12:46:38.636 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [retryCnt=0] [2025/04/04 12:46:38.639 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 12:46:38.640 +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.522914ms] [] [2025/04/04 12:46:38.640 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 12:46:38.640 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=828.688µs] [] [2025/04/04 12:46:38.641 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=40] [step=import] [subtask-id=76] [takeTime=118.679483ms] [] [2025/04/04 12:46:38.641 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=40] [task-type=ImportInto] [server-id=:4000] [subtaskID=76] [step=import] [takeTime=118.838483ms] [] [2025/04/04 12:46:38.731 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=40] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 12:46:38.732 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=40] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:46:38.734 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=40] [curr-step=import] [next-step=post-process] [2025/04/04 12:46:38.734 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=40] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 12:46:38.763 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=40] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":3}"] [2025/04/04 12:46:38.764 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=40] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 12:46:38.764 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=40] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/04 12:46:38.787 +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/04 12:46:38.787 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=40] [step=import] [2025/04/04 12:46:38.790 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:46:38.790 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:46:38.790 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:46:38.790 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:46:38.790 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:46:38.790 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:46:38.790 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:38.790 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:46:38.790 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:38.790 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-39] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:46:38.790 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:38.790 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:46:38.793 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:46:38.793 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:38.793 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:38.793 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:38.793 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=40] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=277.841079ms] [] [2025/04/04 12:46:38.793 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=40] [type=ImportInto] [2025/04/04 12:46:38.802 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=40] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 12:46:38.823 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=40] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/04 12:46:38.831 +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/04 12:46:38.831 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=40] [step=post-process] [subtask-id=77] [2025/04/04 12:46:38.832 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=40] [step=post-process] [subtask-id=77] [2025/04/04 12:46:38.832 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=40] [step=post-process] [subtask-id=77] [2025/04/04 12:46:38.837 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=40] [step=post-process] [subtask-id=77] [takeTime=5.282421ms] [] [2025/04/04 12:46:38.837 +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/04 12:46:38.837 +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/04 12:46:38.837 +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/04 12:46:38.837 +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/04 12:46:38.839 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=242] [physicalTableID=242] [indexID=-1] [checksum=16338786432462217180] [totalKvs=3] [totalBytes=123] [2025/04/04 12:46:38.839 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 12:46:38.839 +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/04 12:46:38.839 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=40] [step=post-process] [subtask-id=77] [takeTime=7.861388ms] [] [2025/04/04 12:46:38.839 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=40] [step=post-process] [subtask-id=77] [takeTime=8.013878ms] [] [2025/04/04 12:46:38.840 +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=8.154118ms] [] [2025/04/04 12:46:38.849 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 12:46:38.931 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=40] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 12:46:38.931 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=40] [step=post-process] [state=running] [] [2025/04/04 12:46:38.933 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=40] [2025/04/04 12:46:38.958 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=40] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=135.052992ms] [] [2025/04/04 12:46:38.958 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=40] [type=ImportInto] [2025/04/04 12:46:39.026 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=40] [2025/04/04 12:46:39.032 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 12:46:39.033 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=40] [2025/04/04 12:46:39.054 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 12:46:39.230 +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.990802711\n# Parse_time: 0.00009524\n# Compile_time: 0.000568747\n# Rewrite_time: 0.000180417\n# Optimize_time: 0.000283492\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4OS45bXMsIG9wZW46NjY4bnMsIGNsb3NlOjg3OW5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk4OS45bXMsIG9wZW46NjY4bnMsIGNsb3NlOjg3OW5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.00003438\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.09s) === NAME TestImportInto === RUN TestImportInto/TestImportIntoPrivilegePositiveCase [2025/04/04 12:46:39.246 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:244, Type:drop schema, State:queueing, SchemaState:public, SchemaID:116, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:39.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:39.246 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:244, Type:drop schema, State:queueing, SchemaState:public, SchemaID:116, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:39.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop database if exists import_into"] [2025/04/04 12:46:39.251 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=244] [conn=2] [job="ID:244, Type:drop schema, State:queueing, SchemaState:public, SchemaID:116, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:39.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:39.269 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=166] [neededSchemaVersion=167] ["elapsed time"=2.147395ms] [gotSchemaVersion=167] [phyTblIDs="[171,172,173,174,175,176]"] [actionTypes="[2,2,2,2,2,2]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 12:46:39.272 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=244] [version=167] [2025/04/04 12:46:39.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=167] ["take time"=9.659356ms] [job="ID:244, Type:drop schema, State:running, SchemaState:write only, SchemaID:116, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:39.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:39.284 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=244] [conn=2] [job="ID:244, Type:drop schema, State:running, SchemaState:write only, SchemaID:116, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:39.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:39.296 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=167] [neededSchemaVersion=168] ["elapsed time"=169.876µs] [gotSchemaVersion=168] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 12:46:39.299 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=244] [version=168] [2025/04/04 12:46:39.301 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=168] ["take time"=7.054376ms] [job="ID:244, Type:drop schema, State:running, SchemaState:delete only, SchemaID:116, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:39.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:39.309 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=244] [conn=2] [job="ID:244, Type:drop schema, State:running, SchemaState:delete only, SchemaID:116, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:39.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:39.315 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/04 12:46:39.325 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=168] [neededSchemaVersion=169] ["elapsed time"=138.827µs] [gotSchemaVersion=169] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 12:46:39.329 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=244] [version=169] [2025/04/04 12:46:39.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=169] ["take time"=6.806895ms] [job="ID:244, Type:drop schema, State:done, SchemaState:none, SchemaID:116, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:39.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:39.339 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=244] [tableIDs="[171,172,173,174,175,176]"] [comment="drop schema: table IDs"] [2025/04/04 12:46:39.345 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=244] [jobType="drop schema"] [2025/04/04 12:46:39.346 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=244] [conn=2] [job="ID:244, Type:drop schema, State:synced, SchemaState:none, SchemaID:116, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:39.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:39.364 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=244] [2025/04/04 12:46:39.364 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=169] [cur_db=load_data] [sql="drop database if exists import_into"] [user=root@%] [2025/04/04 12:46:39.376 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:246, Type:create schema, State:queueing, SchemaState:none, SchemaID:245, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:39.343 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:39.376 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:246, Type:create schema, State:queueing, SchemaState:none, SchemaID:245, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:39.343 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database import_into"] [2025/04/04 12:46:39.381 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=246] [conn=2] [job="ID:246, Type:create schema, State:queueing, SchemaState:none, SchemaID:245, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:39.343 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:39.395 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=169] [neededSchemaVersion=170] ["elapsed time"=835.104µs] [gotSchemaVersion=170] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 12:46:39.398 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=246] [version=170] [2025/04/04 12:46:39.400 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=170] ["take time"=8.414441ms] [job="ID:246, Type:create schema, State:done, SchemaState:public, SchemaID:245, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:39.343 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:39.411 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=246] [conn=2] [job="ID:246, Type:create schema, State:synced, SchemaState:public, SchemaID:245, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:39.343 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:39.420 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=246] [2025/04/04 12:46:39.421 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=170] [cur_db=load_data] [sql="create database import_into"] [user=root@%] [2025/04/04 12:46:39.434 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:248, Type:create table, State:queueing, SchemaState:none, SchemaID:245, TableID:247, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:39.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:39.434 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:248, Type:create table, State:queueing, SchemaState:none, SchemaID:245, TableID:247, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:39.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100), c int);"] [2025/04/04 12:46:39.440 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=248] [conn=2] [job="ID:248, Type:create table, State:queueing, SchemaState:none, SchemaID:245, TableID:247, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:39.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:39.444 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 247, Table Name: t)"] [2025/04/04 12:46:39.460 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=170] [neededSchemaVersion=171] ["elapsed time"=1.765093ms] [gotSchemaVersion=171] [phyTblIDs="[247]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:46:39.464 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=248] [version=171] [2025/04/04 12:46:39.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=171] ["take time"=8.71791ms] [job="ID:248, Type:create table, State:done, SchemaState:public, SchemaID:245, TableID:247, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:39.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:39.477 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=248] [conn=2] [job="ID:248, Type:create table, State:synced, SchemaState:public, SchemaID:245, TableID:247, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:39.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:39.488 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=248] [2025/04/04 12:46:39.488 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=171] [cur_db=import_into] [sql="create table t (a bigint, b varchar(100), c int);"] [user=root@%] [2025/04/04 12:46:39.550 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=171] [cur_db=import_into] [sql="DROP USER IF EXISTS 'test_import_into'@'localhost';"] [user=root@%] [2025/04/04 12:46:39.588 +00:00] [INFO] [session.go:4118] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=171] ["secure text"="create user test_import_into@localhost"] [user=root@%] [2025/04/04 12:46:39.634 +00:00] [INFO] [session.go:4118] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=171] ["secure text"="GRANT SELECT on import_into.t to 'test_import_into'@'localhost'"] [user=root@%] [2025/04/04 12:46:39.675 +00:00] [INFO] [session.go:4118] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=171] ["secure text"="GRANT UPDATE on import_into.t to 'test_import_into'@'localhost'"] [user=root@%] [2025/04/04 12:46:39.779 +00:00] [INFO] [session.go:4118] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=171] ["secure text"="GRANT INSERT on import_into.t to 'test_import_into'@'localhost'"] [user=root@%] [2025/04/04 12:46:39.823 +00:00] [INFO] [session.go:4118] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=171] ["secure text"="GRANT DELETE on import_into.t to 'test_import_into'@'localhost'"] [user=root@%] [2025/04/04 12:46:39.863 +00:00] [INFO] [session.go:4118] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=171] ["secure text"="GRANT ALTER on import_into.t to 'test_import_into'@'localhost'"] [user=root@%] [2025/04/04 12:46:39.869 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:39.919 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://privilege-test/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/04 12:46:39.939 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=41] [task-id=41] [data-size=21B] [thread-cnt=26] [global-sort=false] [2025/04/04 12:46:39.954 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=41] [2025/04/04 12:46:39.955 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=41] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/04 12:46:40.057 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=41] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 12:46:40.058 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=41] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:46:40.059 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=41] [curr-step=init] [next-step=import] [2025/04/04 12:46:40.067 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:40.069 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 12:46:40.069 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=21] [2025/04/04 12:46:40.069 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=21] [cost=58.976µs] [2025/04/04 12:46:40.069 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=156.442µs] [] [2025/04/04 12:46:40.070 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=41] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 12:46:40.070 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=41] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/04 12:46:40.103 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=41] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 12:46:40.124 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=41] [step=import] [2025/04/04 12:46:40.124 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:40.133 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:46:40.133 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 12:46:40.134 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:46:40.134 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:46:40.134 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:46:40.134 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:46:40.134 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:46:40.134 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:46:40.135 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:46:40.135 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:46:40.147 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:46:40.149 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 12:46:40.149 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 12:46:40.150 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=41] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 12:46:40.150 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=41] [disk-quota=348.5GiB] [2025/04/04 12:46:40.150 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=41] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 12:46:40.157 +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/04 12:46:40.157 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=41] [step=import] [subtask-id=78] [2025/04/04 12:46:40.161 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 12:46:40.163 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=41] [mode=Import] [2025/04/04 12:46:40.165 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 12:46:40.165 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=247] [2025/04/04 12:46:40.183 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=41] [2025/04/04 12:46:40.206 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=247] [key=db.tbl.001.csv:0] [2025/04/04 12:46:40.209 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=247] [key=db.tbl.001.csv:0] [readDur=1.158165ms] [encodeDur=367.9µs] [checksum="{cksum=1675147975136326378,size=82,kvs=2}"] [deliverDur=289.886µs] [type=file] [takeTime=2.123112ms] [] [2025/04/04 12:46:40.209 +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/672af718-ed18-4307-9904-e7b81dc427e5.sst] [firstKey=7480000000000000F75F728000000000000001] [lastKey=7480000000000000F75F728000000000000002] [2025/04/04 12:46:40.209 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=41] [step=import] [engine-id=0] [2025/04/04 12:46:40.210 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=41] [step=import] [engine-id=0] [2025/04/04 12:46:40.210 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 12:46:40.212 +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.199859ms] [] [2025/04/04 12:46:40.212 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [2025/04/04 12:46:40.216 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:46:40.238 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] ["region ranges"=1] [count=2] [size=82] [2025/04/04 12:46:40.238 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:46:40.240 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000f75f728000000000000001] [endOfAllRanges=7480000000000000f75f728000000000000003] [startKeyOfFirstRegion=7480000000000000fff75f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000fff75f728000000000ff0000030000000000fa] [2025/04/04 12:46:40.252 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [size=82] [kvs=2] [importedSize=82] [importedCount=2] [2025/04/04 12:46:40.254 +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.577752ms] [] [2025/04/04 12:46:40.254 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 12:46:40.255 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.151418ms] [] [2025/04/04 12:46:40.255 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=41] [step=import] [engine-id=0] [2025/04/04 12:46:40.255 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 12:46:40.257 +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.568993ms] [] [2025/04/04 12:46:40.257 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [2025/04/04 12:46:40.260 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 12:46:40.260 +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.633241ms] [] [2025/04/04 12:46:40.260 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 12:46:40.261 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=894.721µs] [] [2025/04/04 12:46:40.261 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=41] [step=import] [subtask-id=78] [takeTime=104.212872ms] [] [2025/04/04 12:46:40.262 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=41] [task-type=ImportInto] [server-id=:4000] [subtaskID=78] [step=import] [takeTime=104.36906ms] [] [2025/04/04 12:46:40.362 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=41] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 12:46:40.363 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=41] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:46:40.364 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=41] [curr-step=import] [next-step=post-process] [2025/04/04 12:46:40.364 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=41] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 12:46:40.395 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=41] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/04 12:46:40.397 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=41] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 12:46:40.397 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=41] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=26] [subtasks=1] [2025/04/04 12:46:40.408 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=41] [task-type=ImportInto] [server-id=:4000] [2025/04/04 12:46:40.408 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=41] [step=import] [2025/04/04 12:46:40.411 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:46:40.411 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:46:40.411 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:46:40.411 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:46:40.411 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:46:40.411 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:46:40.411 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:40.411 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:46:40.411 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:40.411 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-40] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:46:40.411 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:40.411 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:46:40.413 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:46:40.414 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:40.414 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:40.414 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:40.414 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=41] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=264.005535ms] [] [2025/04/04 12:46:40.414 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=41] [type=ImportInto] [2025/04/04 12:46:40.431 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=41] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 12:46:40.452 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=41] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 12:46:40.459 +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/04 12:46:40.459 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=41] [step=post-process] [subtask-id=79] [2025/04/04 12:46:40.460 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=41] [step=post-process] [subtask-id=79] [2025/04/04 12:46:40.460 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=41] [step=post-process] [subtask-id=79] [2025/04/04 12:46:40.466 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=41] [step=post-process] [subtask-id=79] [takeTime=6.0202ms] [] [2025/04/04 12:46:40.466 +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/04 12:46:40.466 +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/04 12:46:40.466 +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/04 12:46:40.466 +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/04 12:46:40.468 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=247] [physicalTableID=247] [indexID=-1] [checksum=1675147975136326378] [totalKvs=2] [totalBytes=82] [2025/04/04 12:46:40.468 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 12:46:40.468 +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/04 12:46:40.468 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=41] [step=post-process] [subtask-id=79] [takeTime=8.662018ms] [] [2025/04/04 12:46:40.468 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=41] [step=post-process] [subtask-id=79] [takeTime=8.804644ms] [] [2025/04/04 12:46:40.468 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=41] [task-type=ImportInto] [server-id=:4000] [subtaskID=79] [step=post-process] [takeTime=8.951886ms] [] [2025/04/04 12:46:40.495 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 12:46:40.562 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=41] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 12:46:40.562 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=41] [step=post-process] [state=running] [] [2025/04/04 12:46:40.565 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=41] [2025/04/04 12:46:40.591 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=41] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=139.628851ms] [] [2025/04/04 12:46:40.591 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=41] [type=ImportInto] [2025/04/04 12:46:40.657 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=41] [2025/04/04 12:46:40.665 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 12:46:40.665 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=41] [2025/04/04 12:46:40.686 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 12:46:40.857 +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.994083556\n# Parse_time: 0.000068468\n# Compile_time: 0.000691275\n# Rewrite_time: 0.000218358\n# Optimize_time: 0.000264346\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5M21zLCBvcGVuOjY1M25zLCBjbG9zZToyLjE1wrVzLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk5M21zLCBvcGVuOjY1M25zLCBjbG9zZToyLjE1wrVzLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.00003438\nuse import_into;\nIMPORT INTO `import_into`.`t` FROM 'gs://privilege-test/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/';"] [2025/04/04 12:46:40.861 +00:00] [INFO] [sem.go:79] ["tidb-server is operating with security enhanced mode (SEM) enabled"] [2025/04/04 12:46:40.873 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:250, Type:truncate table, State:queueing, SchemaState:none, SchemaID:245, TableID:247, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:40.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:40.873 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:250, Type:truncate table, State:queueing, SchemaState:none, SchemaID:245, TableID:247, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:40.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table t"] [2025/04/04 12:46:40.878 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=250] [conn=2] [job="ID:250, Type:truncate table, State:queueing, SchemaState:none, SchemaID:245, TableID:247, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:40.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:40.887 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 249, Table Name: t, Old Table ID: 247, Old Table Name: t)"] [2025/04/04 12:46:40.903 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=171] [neededSchemaVersion=172] ["elapsed time"=1.996485ms] [gotSchemaVersion=172] [phyTblIDs="[247,249]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 12:46:40.907 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=250] [version=172] [2025/04/04 12:46:40.909 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=172] ["take time"=9.514556ms] [job="ID:250, Type:truncate table, State:done, SchemaState:public, SchemaID:245, TableID:247, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:40.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:40.920 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=250] [tableIDs="[247]"] [comment="truncate table: table ID"] [2025/04/04 12:46:40.925 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=250] [jobType="truncate table"] [2025/04/04 12:46:40.926 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=250] [conn=2] [job="ID:250, Type:truncate table, State:synced, SchemaState:public, SchemaID:245, TableID:247, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:40.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:40.943 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=250] [2025/04/04 12:46:40.943 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=172] [cur_db=import_into] [sql="truncate table t"] [user=root@%] [2025/04/04 12:46:40.949 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:40.996 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://privilege-test/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/04 12:46:41.016 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=42] [task-id=42] [data-size=21B] [thread-cnt=26] [global-sort=false] [2025/04/04 12:46:41.031 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=42] [2025/04/04 12:46:41.031 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=42] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/04 12:46:41.133 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=42] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 12:46:41.134 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=42] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:46:41.135 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=42] [curr-step=init] [next-step=import] [2025/04/04 12:46:41.143 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:41.145 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 12:46:41.145 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=21] [2025/04/04 12:46:41.145 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=21] [cost=60.002µs] [2025/04/04 12:46:41.146 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=168.759µs] [] [2025/04/04 12:46:41.146 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=42] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 12:46:41.146 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=42] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/04 12:46:41.183 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=42] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 12:46:41.204 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=42] [step=import] [2025/04/04 12:46:41.204 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:41.212 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:46:41.212 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 12:46:41.213 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:46:41.213 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:46:41.213 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:46:41.213 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:46:41.213 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:46:41.213 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:46:41.214 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:46:41.214 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:46:41.226 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:46:41.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/04 12:46:41.228 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 12:46:41.228 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=42] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 12:46:41.228 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=42] [disk-quota=348.5GiB] [2025/04/04 12:46:41.228 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=42] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 12:46:41.236 +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/04 12:46:41.236 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=42] [step=import] [subtask-id=80] [2025/04/04 12:46:41.239 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=42] [mode=Import] [2025/04/04 12:46:41.240 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 12:46:41.243 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 12:46:41.243 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=249] [2025/04/04 12:46:41.260 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=42] [2025/04/04 12:46:41.287 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=249] [key=db.tbl.001.csv:0] [2025/04/04 12:46:41.289 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=249] [key=db.tbl.001.csv:0] [readDur=892.32µs] [encodeDur=252.213µs] [checksum="{cksum=1675147975136326378,size=82,kvs=2}"] [deliverDur=290.919µs] [type=file] [takeTime=1.711517ms] [] [2025/04/04 12:46:41.290 +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/ddf0bb7d-6790-4be9-95d3-c3da50354a21.sst] [firstKey=7480000000000000F95F728000000000000001] [lastKey=7480000000000000F95F728000000000000002] [2025/04/04 12:46:41.290 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=42] [step=import] [engine-id=0] [2025/04/04 12:46:41.290 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=42] [step=import] [engine-id=0] [2025/04/04 12:46:41.290 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 12:46:41.292 +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.984149ms] [] [2025/04/04 12:46:41.292 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [2025/04/04 12:46:41.296 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:46:41.318 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] ["region ranges"=1] [count=2] [size=82] [2025/04/04 12:46:41.318 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:46:41.320 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000f95f728000000000000001] [endOfAllRanges=7480000000000000f95f728000000000000003] [startKeyOfFirstRegion=7480000000000000fff95f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000fff95f728000000000ff0000030000000000fa] [2025/04/04 12:46:41.331 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [size=82] [kvs=2] [importedSize=82] [importedCount=2] [2025/04/04 12:46:41.333 +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.620267ms] [] [2025/04/04 12:46:41.333 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 12:46:41.334 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.04877ms] [] [2025/04/04 12:46:41.334 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=42] [step=import] [engine-id=0] [2025/04/04 12:46:41.334 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 12:46:41.336 +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.554935ms] [] [2025/04/04 12:46:41.336 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [2025/04/04 12:46:41.339 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 12:46:41.339 +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.800285ms] [] [2025/04/04 12:46:41.340 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 12:46:41.340 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=913.712µs] [] [2025/04/04 12:46:41.341 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=42] [step=import] [subtask-id=80] [takeTime=104.840126ms] [] [2025/04/04 12:46:41.341 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=42] [task-type=ImportInto] [server-id=:4000] [subtaskID=80] [step=import] [takeTime=104.996485ms] [] [2025/04/04 12:46:41.439 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=42] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 12:46:41.440 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=42] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:46:41.442 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=42] [curr-step=import] [next-step=post-process] [2025/04/04 12:46:41.442 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=42] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 12:46:41.472 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=42] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/04 12:46:41.474 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=42] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 12:46:41.474 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=42] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=26] [subtasks=1] [2025/04/04 12:46:41.493 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=42] [task-type=ImportInto] [server-id=:4000] [2025/04/04 12:46:41.493 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=42] [step=import] [2025/04/04 12:46:41.496 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:46:41.496 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:46:41.496 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:46:41.496 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:46:41.496 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:46:41.496 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:46:41.496 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:46:41.496 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:41.496 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:41.496 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:41.496 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-41] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:46:41.496 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:46:41.499 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:46:41.499 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:41.499 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:41.499 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:41.499 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=42] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=271.021333ms] [] [2025/04/04 12:46:41.499 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=42] [type=ImportInto] [2025/04/04 12:46:41.512 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=42] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 12:46:41.532 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=42] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 12:46:41.539 +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/04 12:46:41.539 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=42] [step=post-process] [subtask-id=81] [2025/04/04 12:46:41.540 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=42] [step=post-process] [subtask-id=81] [2025/04/04 12:46:41.540 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=42] [step=post-process] [subtask-id=81] [2025/04/04 12:46:41.545 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=42] [step=post-process] [subtask-id=81] [takeTime=5.565929ms] [] [2025/04/04 12:46:41.545 +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/04 12:46:41.545 +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/04 12:46:41.545 +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/04 12:46:41.545 +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/04 12:46:41.547 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=249] [physicalTableID=249] [indexID=-1] [checksum=1675147975136326378] [totalKvs=2] [totalBytes=82] [2025/04/04 12:46:41.548 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 12:46:41.548 +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/04 12:46:41.548 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=42] [step=post-process] [subtask-id=81] [takeTime=8.294046ms] [] [2025/04/04 12:46:41.548 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=42] [step=post-process] [subtask-id=81] [takeTime=8.447117ms] [] [2025/04/04 12:46:41.548 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=42] [task-type=ImportInto] [server-id=:4000] [subtaskID=81] [step=post-process] [takeTime=8.595693ms] [] [2025/04/04 12:46:41.573 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 12:46:41.638 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=42] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 12:46:41.638 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=42] [step=post-process] [state=running] [] [2025/04/04 12:46:41.640 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=42] [2025/04/04 12:46:41.668 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=42] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=135.482404ms] [] [2025/04/04 12:46:41.668 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=42] [type=ImportInto] [2025/04/04 12:46:41.734 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=42] [2025/04/04 12:46:41.739 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 12:46:41.739 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=42] [2025/04/04 12:46:41.761 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 12:46:41.839 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 12:46:41.934 +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.989994125\n# Parse_time: 0.000067266\n# Compile_time: 0.000588093\n# Rewrite_time: 0.00017322\n# Optimize_time: 0.000292982\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('RvBFMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4OW1zLCBvcGVuOjcwMm5zLCBjbG9zZTo5NTZucywgbG9vcHM6MglOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('YfBMCl0KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWix0aW1lOjk4OW1zLCBvcGVuOjcwMm5zLCBjbG9zZTo5NTZucywgbG9vcHM6MnD///8JAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.00003438\nIMPORT INTO `import_into`.`t` FROM 'gs://privilege-test/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/';"] [2025/04/04 12:46:41.938 +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/TestImportIntoTestImportIntoPrivilegePositiveCase1125551395/001/file.csv'"] [2025/04/04 12:46:41.977 +00:00] [INFO] [session.go:4118] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=172] ["secure text"="GRANT FILE on *.* to 'test_import_into'@'localhost'"] [user=root@%] [2025/04/04 12:46:41.990 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:252, Type:truncate table, State:queueing, SchemaState:none, SchemaID:245, TableID:249, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:41.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:41.990 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:252, Type:truncate table, State:queueing, SchemaState:none, SchemaID:245, TableID:249, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:41.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table t"] [2025/04/04 12:46:41.995 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=252] [conn=2] [job="ID:252, Type:truncate table, State:queueing, SchemaState:none, SchemaID:245, TableID:249, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:41.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:42.003 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 251, Table Name: t, Old Table ID: 249, Old Table Name: t)"] [2025/04/04 12:46:42.019 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=172] [neededSchemaVersion=173] ["elapsed time"=1.90968ms] [gotSchemaVersion=173] [phyTblIDs="[249,251]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 12:46:42.023 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=252] [version=173] [2025/04/04 12:46:42.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=173] ["take time"=9.336355ms] [job="ID:252, Type:truncate table, State:done, SchemaState:public, SchemaID:245, TableID:249, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:41.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:42.035 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=252] [tableIDs="[249]"] [comment="truncate table: table ID"] [2025/04/04 12:46:42.040 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=252] [jobType="truncate table"] [2025/04/04 12:46:42.041 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=252] [conn=2] [job="ID:252, Type:truncate table, State:synced, SchemaState:public, SchemaID:245, TableID:249, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:41.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:42.059 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=252] [2025/04/04 12:46:42.059 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=173] [cur_db=import_into] [sql="truncate table t"] [user=root@%] [2025/04/04 12:46:42.104 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"/tmp/TestImportIntoTestImportIntoPrivilegePositiveCase1125551395/001/file.csv\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/04 12:46:42.104 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 12:46:42.104 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=21] [2025/04/04 12:46:42.104 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=21] [cost=41.167µs] [2025/04/04 12:46:42.105 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=146.835µs] [] [2025/04/04 12:46:42.126 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=43] [task-id=43] [data-size=21B] [thread-cnt=8] [global-sort=false] [2025/04/04 12:46:42.140 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=43] [2025/04/04 12:46:42.140 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=43] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/04 12:46:42.242 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=43] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 12:46:42.243 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=43] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:46:42.245 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=43] [curr-step=init] [next-step=import] [2025/04/04 12:46:42.252 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=43] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 12:46:42.252 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=43] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/04 12:46:42.282 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=43] [type=ImportInto] [concurrency=8] [remaining-slots=44] [2025/04/04 12:46:42.303 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=43] [step=import] [2025/04/04 12:46:42.310 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:46:42.310 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 12:46:42.310 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:46:42.310 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:46:42.310 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:46:42.310 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:46:42.311 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:46:42.311 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:46:42.311 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:46:42.311 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:46:42.322 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:46:42.324 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 12:46:42.324 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 12:46:42.324 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=43] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 12:46:42.324 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=43] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/04 12:46:42.324 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=43] [disk-quota=348.5GiB] [2025/04/04 12:46:42.332 +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/04 12:46:42.332 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=43] [step=import] [subtask-id=82] [2025/04/04 12:46:42.335 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 12:46:42.339 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 12:46:42.339 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=251] [2025/04/04 12:46:42.349 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=43] [mode=Import] [2025/04/04 12:46:42.350 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=251] [key=file.csv:0] [2025/04/04 12:46:42.352 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=251] [key=file.csv:0] [readDur=110.552µs] [encodeDur=369.439µs] [checksum="{cksum=1675147975136326378,size=82,kvs=2}"] [deliverDur=253.572µs] [type=file] [takeTime=1.049477ms] [] [2025/04/04 12:46:42.352 +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/7ccf3e83-edba-4c3e-b0b0-ea0125c2a5ab.sst] [firstKey=7480000000000000FB5F728000000000000001] [lastKey=7480000000000000FB5F728000000000000002] [2025/04/04 12:46:42.352 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=43] [step=import] [engine-id=0] [2025/04/04 12:46:42.353 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=43] [step=import] [engine-id=0] [2025/04/04 12:46:42.353 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 12:46:42.355 +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.160824ms] [] [2025/04/04 12:46:42.355 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [2025/04/04 12:46:42.359 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:46:42.368 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=43] [2025/04/04 12:46:42.380 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] ["region ranges"=1] [count=2] [size=82] [2025/04/04 12:46:42.381 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:46:42.382 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000fb5f728000000000000001] [endOfAllRanges=7480000000000000fb5f728000000000000003] [startKeyOfFirstRegion=7480000000000000fffb5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000fffb5f728000000000ff0000030000000000fa] [2025/04/04 12:46:42.392 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [size=82] [kvs=2] [importedSize=82] [importedCount=2] [2025/04/04 12:46:42.394 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [takeTime=38.911831ms] [] [2025/04/04 12:46:42.394 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 12:46:42.395 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=983.457µs] [] [2025/04/04 12:46:42.395 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=43] [step=import] [engine-id=0] [2025/04/04 12:46:42.395 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 12:46:42.397 +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.559358ms] [] [2025/04/04 12:46:42.397 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [2025/04/04 12:46:42.400 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 12:46:42.400 +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.438768ms] [] [2025/04/04 12:46:42.400 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 12:46:42.401 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=811.033µs] [] [2025/04/04 12:46:42.401 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=43] [step=import] [subtask-id=82] [takeTime=69.459322ms] [] [2025/04/04 12:46:42.401 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=43] [task-type=ImportInto] [server-id=:4000] [subtaskID=82] [step=import] [takeTime=69.591605ms] [] [2025/04/04 12:46:42.447 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=43] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 12:46:42.448 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=43] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:46:42.450 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=43] [curr-step=import] [next-step=post-process] [2025/04/04 12:46:42.450 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=43] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 12:46:42.479 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=43] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/04 12:46:42.480 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=43] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 12:46:42.481 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=43] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/04 12:46:42.519 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=43] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 12:46:42.526 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=43] [step=import] [2025/04/04 12:46:42.529 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:46:42.529 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:46:42.529 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:46:42.529 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:46:42.529 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:46:42.529 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:46:42.529 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:46:42.529 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:42.529 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:42.529 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-42] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:46:42.529 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:42.529 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:46:42.531 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:46:42.532 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:42.532 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:42.532 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:42.532 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=43] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [takeTime=207.201882ms] [] [2025/04/04 12:46:42.533 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=43] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/04 12:46:42.540 +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/04 12:46:42.540 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=43] [step=post-process] [subtask-id=83] [2025/04/04 12:46:42.540 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=43] [step=post-process] [subtask-id=83] [2025/04/04 12:46:42.540 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=43] [step=post-process] [subtask-id=83] [2025/04/04 12:46:42.546 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=43] [step=post-process] [subtask-id=83] [takeTime=5.375489ms] [] [2025/04/04 12:46:42.546 +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/04 12:46:42.546 +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/04 12:46:42.546 +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/04 12:46:42.546 +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/04 12:46:42.548 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=251] [physicalTableID=251] [indexID=-1] [checksum=1675147975136326378] [totalKvs=2] [totalBytes=82] [2025/04/04 12:46:42.548 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 12:46:42.548 +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/04 12:46:42.548 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=43] [step=post-process] [subtask-id=83] [takeTime=7.982929ms] [] [2025/04/04 12:46:42.548 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=43] [step=post-process] [subtask-id=83] [takeTime=8.125719ms] [] [2025/04/04 12:46:42.549 +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.24321ms] [] [2025/04/04 12:46:42.574 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 12:46:42.647 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=43] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 12:46:42.647 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=43] [step=post-process] [state=running] [] [2025/04/04 12:46:42.650 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=43] [2025/04/04 12:46:42.667 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=43] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [takeTime=133.987201ms] [] [2025/04/04 12:46:42.667 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=43] [type=ImportInto] [2025/04/04 12:46:42.742 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=43] [2025/04/04 12:46:42.742 +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.682902108\n# Parse_time: 0.000072471\n# Compile_time: 0.000590012\n# Rewrite_time: 0.000177763\n# Optimize_time: 0.000280201\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('RvBFMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY4Mm1zLCBvcGVuOjY5Nm5zLCBjbG9zZTo5NDVucywgbG9vcHM6MglOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('YfBMCl0KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWix0aW1lOjY4Mm1zLCBvcGVuOjY5Nm5zLCBjbG9zZTo5NDVucywgbG9vcHM6MnD///8JAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.00003438\nIMPORT INTO `import_into`.`t` FROM '/tmp/TestImportIntoTestImportIntoPrivilegePositiveCase1125551395/001/file.csv';"] --- PASS: TestImportInto/TestImportIntoPrivilegePositiveCase (3.51s) === NAME TestImportInto === RUN TestImportInto/TestImportIntoWithFK [2025/04/04 12:46:42.748 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 12:46:42.748 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=43] [2025/04/04 12:46:42.758 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:253, Type:drop schema, State:queueing, SchemaState:public, SchemaID:245, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:42.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:42.758 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:253, Type:drop schema, State:queueing, SchemaState:public, SchemaID:245, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:42.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop database if exists import_into"] [2025/04/04 12:46:42.763 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=253] [conn=2] [job="ID:253, Type:drop schema, State:queueing, SchemaState:public, SchemaID:245, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:42.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:42.770 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 12:46:42.780 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=173] [neededSchemaVersion=174] ["elapsed time"=1.694378ms] [gotSchemaVersion=174] [phyTblIDs="[251]"] [actionTypes="[2]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 12:46:42.783 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=253] [version=174] [2025/04/04 12:46:42.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=174] ["take time"=8.155015ms] [job="ID:253, Type:drop schema, State:running, SchemaState:write only, SchemaID:245, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:42.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:42.794 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=253] [conn=2] [job="ID:253, Type:drop schema, State:running, SchemaState:write only, SchemaID:245, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:42.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:42.806 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=174] [neededSchemaVersion=175] ["elapsed time"=131.075µs] [gotSchemaVersion=175] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 12:46:42.810 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=253] [version=175] [2025/04/04 12:46:42.811 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=175] ["take time"=6.667888ms] [job="ID:253, Type:drop schema, State:running, SchemaState:delete only, SchemaID:245, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:42.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:42.819 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=253] [conn=2] [job="ID:253, Type:drop schema, State:running, SchemaState:delete only, SchemaID:245, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:42.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:42.825 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/04 12:46:42.834 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=175] [neededSchemaVersion=176] ["elapsed time"=140.522µs] [gotSchemaVersion=176] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 12:46:42.838 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=253] [version=176] [2025/04/04 12:46:42.839 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=176] ["take time"=6.93596ms] [job="ID:253, Type:drop schema, State:done, SchemaState:none, SchemaID:245, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:42.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:42.848 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=253] [tableIDs="[251]"] [comment="drop schema: table IDs"] [2025/04/04 12:46:42.852 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=253] [jobType="drop schema"] [2025/04/04 12:46:42.853 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=253] [conn=2] [job="ID:253, Type:drop schema, State:synced, SchemaState:none, SchemaID:245, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:42.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:42.868 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=253] [2025/04/04 12:46:42.869 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=176] [cur_db=] [sql="drop database if exists import_into"] [user=root@%] [2025/04/04 12:46:42.879 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:255, Type:create schema, State:queueing, SchemaState:none, SchemaID:254, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:42.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:42.879 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:255, Type:create schema, State:queueing, SchemaState:none, SchemaID:254, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:42.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database import_into"] [2025/04/04 12:46:42.885 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=255] [conn=2] [job="ID:255, Type:create schema, State:queueing, SchemaState:none, SchemaID:254, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:42.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:42.898 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=176] [neededSchemaVersion=177] ["elapsed time"=759.803µs] [gotSchemaVersion=177] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 12:46:42.902 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=255] [version=177] [2025/04/04 12:46:42.903 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=177] ["take time"=7.893917ms] [job="ID:255, Type:create schema, State:done, SchemaState:public, SchemaID:254, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:42.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:42.914 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=255] [conn=2] [job="ID:255, Type:create schema, State:synced, SchemaState:public, SchemaID:254, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:42.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:42.923 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=255] [2025/04/04 12:46:42.924 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=177] [cur_db=] [sql="create database import_into"] [user=root@%] [2025/04/04 12:46:42.936 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:257, Type:create table, State:queueing, SchemaState:none, SchemaID:254, TableID:256, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:42.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table parent (id int primary key);"] [2025/04/04 12:46:42.936 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:257, Type:create table, State:queueing, SchemaState:none, SchemaID:254, TableID:256, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:42.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:42.941 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=257] [conn=2] [job="ID:257, Type:create table, State:queueing, SchemaState:none, SchemaID:254, TableID:256, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:42.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:42.945 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 256, Table Name: parent)"] [2025/04/04 12:46:42.960 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=177] [neededSchemaVersion=178] ["elapsed time"=1.544256ms] [gotSchemaVersion=178] [phyTblIDs="[256]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:46:42.963 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=257] [version=178] [2025/04/04 12:46:42.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=178] ["take time"=8.491326ms] [job="ID:257, Type:create table, State:done, SchemaState:public, SchemaID:254, TableID:256, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:42.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:42.976 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=257] [conn=2] [job="ID:257, Type:create table, State:synced, SchemaState:public, SchemaID:254, TableID:256, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:42.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:42.986 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=257] [2025/04/04 12:46:42.987 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=178] [cur_db=import_into] [sql="create table parent (id int primary key);"] [user=root@%] [2025/04/04 12:46:43.002 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:259, Type:create table, State:queueing, SchemaState:none, SchemaID:254, TableID:258, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:42.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:43.002 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:259, Type:create table, State:queueing, SchemaState:none, SchemaID:254, TableID:258, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:42.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table child (id int primary key, fk int, foreign key (fk) references parent(id));"] [2025/04/04 12:46:43.007 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=259] [conn=2] [job="ID:259, Type:create table, State:queueing, SchemaState:none, SchemaID:254, TableID:258, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:42.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:43.024 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=178] [neededSchemaVersion=179] ["elapsed time"=1.92067ms] [gotSchemaVersion=179] [phyTblIDs="[258]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:46:43.028 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=259] [version=179] [2025/04/04 12:46:43.030 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=179] ["take time"=9.142726ms] [job="ID:259, Type:create table, State:running, SchemaState:delete only, SchemaID:254, TableID:258, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:42.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:43.040 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=259] [conn=2] [job="ID:259, Type:create table, State:running, SchemaState:delete only, SchemaID:254, TableID:258, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:42.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:43.044 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 258, Table Name: child)"] [2025/04/04 12:46:43.060 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=179] [neededSchemaVersion=180] ["elapsed time"=1.976929ms] [gotSchemaVersion=180] [phyTblIDs="[258]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:46:43.063 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=259] [version=180] [2025/04/04 12:46:43.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=180] ["take time"=8.584341ms] [job="ID:259, Type:create table, State:done, SchemaState:public, SchemaID:254, TableID:258, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:42.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:43.075 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=259] [conn=2] [job="ID:259, Type:create table, State:synced, SchemaState:public, SchemaID:254, TableID:258, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:42.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:43.086 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=259] [2025/04/04 12:46:43.087 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=180] [cur_db=import_into] [sql="create table child (id int primary key, fk int, foreign key (fk) references parent(id));"] [user=root@%] [2025/04/04 12:46:43.093 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:43.142 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://foreign-key-test/child.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/04 12:46:43.161 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=44] [task-id=44] [data-size=8B] [thread-cnt=26] [global-sort=false] [2025/04/04 12:46:43.175 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=44] [2025/04/04 12:46:43.175 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=44] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/04 12:46:43.277 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=44] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 12:46:43.278 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=44] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:46:43.280 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=44] [curr-step=init] [next-step=import] [2025/04/04 12:46:43.287 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:43.290 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=child] [2025/04/04 12:46:43.290 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=child] [before=536870912000] [after=8] [2025/04/04 12:46:43.290 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=child] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=8] [cost=63.924µs] [2025/04/04 12:46:43.290 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=child] [takeTime=207.644µs] [] [2025/04/04 12:46:43.291 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=44] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 12:46:43.291 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=44] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/04 12:46:43.332 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=44] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 12:46:43.352 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=44] [step=import] [2025/04/04 12:46:43.353 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:43.361 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:46:43.361 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 12:46:43.361 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:46:43.361 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:46:43.361 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:46:43.361 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:46:43.361 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:46:43.362 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:46:43.362 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:46:43.362 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:46:43.374 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:46:43.377 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 12:46:43.377 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=child] [quota=374.2GB] [2025/04/04 12:46:43.377 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=44] [step=import] [data-buf-limit=236.3MiB] [per-index-buf-limit=78.77MiB] [index-buf-block-size=16MiB] [2025/04/04 12:46:43.377 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=44] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 12:46:43.377 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=child] [import-id=44] [disk-quota=348.5GiB] [2025/04/04 12:46:43.383 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=44] [mode=Import] [2025/04/04 12:46:43.384 +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/04 12:46:43.384 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=44] [step=import] [subtask-id=84] [2025/04/04 12:46:43.388 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`child`:0] [engineUUID=6cb30ba2-e19b-5956-98c4-24bd955c910a] [2025/04/04 12:46:43.392 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`child`:-1] [engineUUID=09ee1db8-6b03-5a28-8f53-b1dfdaea150d] [2025/04/04 12:46:43.392 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=258] [2025/04/04 12:46:43.403 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=44] [2025/04/04 12:46:43.435 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=258] [key=child.csv:0] [2025/04/04 12:46:43.437 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=258] [key=child.csv:0] [readDur=881.331µs] [encodeDur=320.886µs] [checksum="{cksum=13443790654808714275,size=134,kvs=4}"] [deliverDur=605.013µs] [type=file] [takeTime=2.084641ms] [] [2025/04/04 12:46:43.438 +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/b160d6e6-10c2-4b7e-83c3-eaa0b862101f.sst] [firstKey=7480000000000001025F728000000000000001] [lastKey=7480000000000001025F728000000000000002] [2025/04/04 12:46:43.438 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=44] [step=import] [engine-id=0] [2025/04/04 12:46:43.438 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=44] [step=import] [engine-id=0] [2025/04/04 12:46:43.438 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`child`:0] [engineUUID=6cb30ba2-e19b-5956-98c4-24bd955c910a] [2025/04/04 12:46:43.440 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`import_into`.`child`:0] [engineUUID=6cb30ba2-e19b-5956-98c4-24bd955c910a] [takeTime=1.982316ms] [] [2025/04/04 12:46:43.441 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`child`:0] [engineUUID=6cb30ba2-e19b-5956-98c4-24bd955c910a] [retryCnt=0] [2025/04/04 12:46:43.445 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:46:43.466 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=6cb30ba2-e19b-5956-98c4-24bd955c910a] ["region ranges"=1] [count=2] [size=58] [2025/04/04 12:46:43.467 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:46:43.468 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001025f728000000000000001] [endOfAllRanges=7480000000000001025f728000000000000003] [startKeyOfFirstRegion=7480000000000001ff025f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff025f728000000000ff0000030000000000fa] [2025/04/04 12:46:43.479 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=6cb30ba2-e19b-5956-98c4-24bd955c910a] [size=58] [kvs=2] [importedSize=58] [importedCount=2] [2025/04/04 12:46:43.481 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`import_into`.`child`:0] [engineUUID=6cb30ba2-e19b-5956-98c4-24bd955c910a] [retryCnt=0] [takeTime=39.960512ms] [] [2025/04/04 12:46:43.481 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`child`:0] [engineUUID=6cb30ba2-e19b-5956-98c4-24bd955c910a] [2025/04/04 12:46:43.482 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`child`:0] [engineUUID=6cb30ba2-e19b-5956-98c4-24bd955c910a] [takeTime=1.124598ms] [] [2025/04/04 12:46:43.482 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=44] [step=import] [engine-id=0] [2025/04/04 12:46:43.482 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`child`:-1] [engineUUID=09ee1db8-6b03-5a28-8f53-b1dfdaea150d] [2025/04/04 12:46:43.482 +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/028ab1b3-d4ab-4be8-8c61-2709c671b375.sst] [firstKey=7480000000000001025F698000000000000001038000000000000001038000000000000001] [lastKey=7480000000000001025F698000000000000001038000000000000002038000000000000002] [2025/04/04 12:46:43.484 +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.286467ms] [] [2025/04/04 12:46:43.484 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`child`:-1] [engineUUID=09ee1db8-6b03-5a28-8f53-b1dfdaea150d] [retryCnt=0] [2025/04/04 12:46:43.489 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:46:43.511 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=09ee1db8-6b03-5a28-8f53-b1dfdaea150d] ["region ranges"=1] [count=2] [size=76] [2025/04/04 12:46:43.511 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:46:43.513 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001025f698000000000000001038000000000000001038000000000000001] [endOfAllRanges=7480000000000001025f69800000000000000103800000000000000203800000000000000200] [startKeyOfFirstRegion=7480000000000001ff025f698000000000ff0000010380000000ff0000000103800000ff0000000001000000fc] [endKeyOfLastRegion=7480000000000001ff025f698000000000ff0000010380000000ff0000000203800000ff0000000002000000fd] [2025/04/04 12:46:43.523 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=09ee1db8-6b03-5a28-8f53-b1dfdaea150d] [size=76] [kvs=2] [importedSize=76] [importedCount=2] [2025/04/04 12:46:43.525 +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=41.099048ms] [] [2025/04/04 12:46:43.525 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`child`:-1] [engineUUID=09ee1db8-6b03-5a28-8f53-b1dfdaea150d] [2025/04/04 12:46:43.527 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`child`:-1] [engineUUID=09ee1db8-6b03-5a28-8f53-b1dfdaea150d] [takeTime=1.068086ms] [] [2025/04/04 12:46:43.527 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=44] [step=import] [subtask-id=84] [takeTime=142.445013ms] [] [2025/04/04 12:46:43.527 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=44] [task-type=ImportInto] [server-id=:4000] [subtaskID=84] [step=import] [takeTime=142.623745ms] [] [2025/04/04 12:46:43.582 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=44] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 12:46:43.584 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=44] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:46:43.585 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=44] [curr-step=import] [next-step=post-process] [2025/04/04 12:46:43.585 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=44] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 12:46:43.616 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=44] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/04 12:46:43.617 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=44] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 12:46:43.617 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=44] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=26] [subtasks=1] [2025/04/04 12:46:43.648 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=44] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 12:46:43.655 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=44] [step=import] [2025/04/04 12:46:43.659 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:46:43.659 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:46:43.659 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:46:43.659 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:46:43.659 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:46:43.659 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:46:43.659 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:46:43.659 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:43.659 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:43.659 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-43] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:46:43.659 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:43.659 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:46:43.662 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:46:43.662 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:43.662 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:43.662 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:43.662 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=44] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=284.951449ms] [] [2025/04/04 12:46:43.663 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=44] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 12:46:43.671 +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/04 12:46:43.671 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=44] [step=post-process] [subtask-id=85] [2025/04/04 12:46:43.671 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=44] [step=post-process] [subtask-id=85] [2025/04/04 12:46:43.671 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=44] [step=post-process] [subtask-id=85] [2025/04/04 12:46:43.671 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=44] [step=post-process] [subtask-id=85] [takeTime=2.194µs] [] [2025/04/04 12:46:43.671 +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/04 12:46:43.671 +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/04 12:46:43.671 +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/04 12:46:43.672 +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/04 12:46:43.672 +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/04 12:46:43.677 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=258] [physicalTableID=258] [indexID=-1] [checksum=6725679395568127565] [totalKvs=2] [totalBytes=58] [2025/04/04 12:46:43.679 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=258] [physicalTableID=258] [indexID=1] [checksum=16701486629303771758] [totalKvs=2] [totalBytes=76] [2025/04/04 12:46:43.679 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 12:46:43.679 +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/04 12:46:43.679 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=44] [step=post-process] [subtask-id=85] [takeTime=7.833506ms] [] [2025/04/04 12:46:43.679 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=44] [step=post-process] [subtask-id=85] [takeTime=7.975185ms] [] [2025/04/04 12:46:43.679 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=44] [task-type=ImportInto] [server-id=:4000] [subtaskID=85] [step=post-process] [takeTime=8.131329ms] [] [2025/04/04 12:46:43.695 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 12:46:43.782 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=44] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 12:46:43.782 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=44] [step=post-process] [state=running] [] [2025/04/04 12:46:43.785 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=44] [2025/04/04 12:46:43.818 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=44] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=154.979148ms] [] [2025/04/04 12:46:43.818 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=44] [type=ImportInto] [2025/04/04 12:46:43.877 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=44] [2025/04/04 12:46:43.883 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 12:46:43.883 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=44] [2025/04/04 12:46:43.905 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 12:46:44.078 +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.990699629\n# Parse_time: 0.000101451\n# Compile_time: 0.000634306\n# Rewrite_time: 0.000180414\n# Optimize_time: 0.00028419\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('SvBJMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4OS43bXMsIG9wZW46Njg1bnMsIGNsb3NlOjEuMDHCtXMsIGxvb3BzOjIJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('ZfBSCmEKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWjB0aW1lOjk4OS43bXMsIG9wZW46Njg1bnMsIGNsb3NlOjEuMDHCtXMsIGxvb3BzOjJw//////8BAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.00003438\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/04 12:46:44.093 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:260, Type:drop schema, State:queueing, SchemaState:public, SchemaID:236, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:44.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="DROP DATABASE IF EXISTS load_data;"] [2025/04/04 12:46:44.094 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:260, Type:drop schema, State:queueing, SchemaState:public, SchemaID:236, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:44.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:44.101 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=260] [conn=2] [job="ID:260, Type:drop schema, State:queueing, SchemaState:public, SchemaID:236, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:44.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:44.118 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=180] [neededSchemaVersion=181] ["elapsed time"=1.628948ms] [gotSchemaVersion=181] [phyTblIDs="[242]"] [actionTypes="[2]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 12:46:44.121 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=260] [version=181] [2025/04/04 12:46:44.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=181] ["take time"=8.674469ms] [job="ID:260, Type:drop schema, State:running, SchemaState:write only, SchemaID:236, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:44.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:44.132 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=260] [conn=2] [job="ID:260, Type:drop schema, State:running, SchemaState:write only, SchemaID:236, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:44.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:44.144 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=181] [neededSchemaVersion=182] ["elapsed time"=127.289µs] [gotSchemaVersion=182] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 12:46:44.147 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=260] [version=182] [2025/04/04 12:46:44.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=182] ["take time"=7.022554ms] [job="ID:260, Type:drop schema, State:running, SchemaState:delete only, SchemaID:236, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:44.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:44.158 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=260] [conn=2] [job="ID:260, Type:drop schema, State:running, SchemaState:delete only, SchemaID:236, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:44.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:44.163 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/04 12:46:44.174 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=182] [neededSchemaVersion=183] ["elapsed time"=143.326µs] [gotSchemaVersion=183] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 12:46:44.177 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=260] [version=183] [2025/04/04 12:46:44.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=183] ["take time"=7.412682ms] [job="ID:260, Type:drop schema, State:done, SchemaState:none, SchemaID:236, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:44.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:44.188 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=260] [tableIDs="[242]"] [comment="drop schema: table IDs"] [2025/04/04 12:46:44.193 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=260] [jobType="drop schema"] [2025/04/04 12:46:44.194 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=260] [conn=2] [job="ID:260, Type:drop schema, State:synced, SchemaState:none, SchemaID:236, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:44.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:44.210 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=260] [2025/04/04 12:46:44.210 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=183] [cur_db=import_into] [sql="DROP DATABASE IF EXISTS load_data;"] [user=root@%] [2025/04/04 12:46:44.221 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:262, Type:create schema, State:queueing, SchemaState:none, SchemaID:261, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:44.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE load_data;"] [2025/04/04 12:46:44.221 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:262, Type:create schema, State:queueing, SchemaState:none, SchemaID:261, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:44.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:44.227 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=262] [conn=2] [job="ID:262, Type:create schema, State:queueing, SchemaState:none, SchemaID:261, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:44.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:44.240 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=183] [neededSchemaVersion=184] ["elapsed time"=787.912µs] [gotSchemaVersion=184] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 12:46:44.244 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=262] [version=184] [2025/04/04 12:46:44.246 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=184] ["take time"=8.108792ms] [job="ID:262, Type:create schema, State:done, SchemaState:public, SchemaID:261, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:44.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:44.256 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=262] [conn=2] [job="ID:262, Type:create schema, State:synced, SchemaState:public, SchemaID:261, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:44.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:44.266 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=262] [2025/04/04 12:46:44.266 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=184] [cur_db=import_into] [sql="CREATE DATABASE load_data;"] [user=root@%] [2025/04/04 12:46:44.279 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:264, Type:create table, State:queueing, SchemaState:none, SchemaID:261, TableID:263, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:44.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE load_data.import_mode (a INT, b INT, c int);"] [2025/04/04 12:46:44.279 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:264, Type:create table, State:queueing, SchemaState:none, SchemaID:261, TableID:263, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:44.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:44.285 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=264] [conn=2] [job="ID:264, Type:create table, State:queueing, SchemaState:none, SchemaID:261, TableID:263, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:44.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:44.290 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 263, Table Name: import_mode)"] [2025/04/04 12:46:44.305 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=184] [neededSchemaVersion=185] ["elapsed time"=1.848833ms] [gotSchemaVersion=185] [phyTblIDs="[263]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:46:44.309 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=264] [version=185] [2025/04/04 12:46:44.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=185] ["take time"=8.7774ms] [job="ID:264, Type:create table, State:done, SchemaState:public, SchemaID:261, TableID:263, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:44.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:44.321 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=264] [conn=2] [job="ID:264, Type:create table, State:synced, SchemaState:public, SchemaID:261, TableID:263, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:44.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:44.333 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=264] [2025/04/04 12:46:44.333 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=185] [cur_db=import_into] [sql="CREATE TABLE load_data.import_mode (a INT, b INT, c int);"] [user=root@%] [2025/04/04 12:46:44.340 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:44.384 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/import_mode-*.tsv?access-key=xxxxxx\\u0026endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F\\u0026secret-access-key=xxxxxx\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/04 12:46:44.403 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=45] [task-id=45] [data-size=8B] [thread-cnt=26] [global-sort=false] [2025/04/04 12:46:44.417 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=45] [2025/04/04 12:46:44.417 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=45] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/04 12:46:44.520 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=45] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 12:46:44.521 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=45] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:46:44.522 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=45] [curr-step=init] [next-step=import] [2025/04/04 12:46:44.530 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:44.532 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=import_mode] [2025/04/04 12:46:44.532 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=import_mode] [before=536870912000] [after=8] [2025/04/04 12:46:44.532 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=import_mode] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=8] [cost=70.686µs] [2025/04/04 12:46:44.532 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=import_mode] [takeTime=220.037µs] [] [2025/04/04 12:46:44.532 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=45] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 12:46:44.532 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=45] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/04 12:46:44.572 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=45] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 12:46:44.593 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=45] [step=import] [2025/04/04 12:46:44.593 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:44.601 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:46:44.601 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 12:46:44.602 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:46:44.602 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:46:44.602 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:46:44.602 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:46:44.602 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:46:44.602 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:46:44.602 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:46:44.603 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:46:44.615 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:46:44.616 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 12:46:44.617 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=import_mode] [quota=374.2GB] [2025/04/04 12:46:44.617 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=45] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 12:46:44.617 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=import_mode] [import-id=45] [disk-quota=348.5GiB] [2025/04/04 12:46:44.617 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=45] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 12:46:44.624 +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/04 12:46:44.624 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=45] [step=import] [subtask-id=86] [2025/04/04 12:46:44.628 +00:00] [INFO] [import_into_test.go:850] [ToImportMode] [2025/04/04 12:46:44.628 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [2025/04/04 12:46:44.632 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [2025/04/04 12:46:44.632 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=263] [2025/04/04 12:46:44.633 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=45] [2025/04/04 12:46:44.651 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=263] [key=import_mode-1.tsv:0] [2025/04/04 12:46:44.653 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=263] [key=import_mode-1.tsv:0] [readDur=918.112µs] [encodeDur=212.58µs] [checksum="{cksum=15861435141353566364,size=37,kvs=1}"] [deliverDur=208.898µs] [type=file] [takeTime=1.680706ms] [] [2025/04/04 12:46:44.653 +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/c817fec0-b9d4-401b-9178-78a76c8bc1ba.sst] [firstKey=7480000000000001075F728000000000000001] [lastKey=7480000000000001075F728000000000000001] [2025/04/04 12:46:44.654 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=45] [step=import] [engine-id=0] [2025/04/04 12:46:44.654 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=45] [step=import] [engine-id=0] [2025/04/04 12:46:44.654 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [2025/04/04 12:46:44.656 +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.016239ms] [] [2025/04/04 12:46:44.656 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [retryCnt=0] [2025/04/04 12:46:44.660 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:46:44.682 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=1ccc2128-36af-5780-96ac-757ded6634c4] ["region ranges"=1] [count=1] [size=37] [2025/04/04 12:46:44.682 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:46:44.684 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001075f728000000000000001] [endOfAllRanges=7480000000000001075f728000000000000002] [startKeyOfFirstRegion=7480000000000001ff075f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff075f728000000000ff0000020000000000fa] [2025/04/04 12:46:44.695 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=1ccc2128-36af-5780-96ac-757ded6634c4] [size=37] [kvs=1] [importedSize=37] [importedCount=1] [2025/04/04 12:46:44.696 +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.587456ms] [] [2025/04/04 12:46:44.697 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [2025/04/04 12:46:44.698 +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.066803ms] [] [2025/04/04 12:46:44.698 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=45] [step=import] [engine-id=0] [2025/04/04 12:46:44.698 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [2025/04/04 12:46:44.699 +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.501628ms] [] [2025/04/04 12:46:44.699 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [retryCnt=0] [2025/04/04 12:46:44.703 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=86c1a897-a1cd-5c05-8035-3b378e34349a] [2025/04/04 12:46:44.703 +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.534523ms] [] [2025/04/04 12:46:44.703 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [2025/04/04 12:46:44.704 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [takeTime=919.533µs] [] [2025/04/04 12:46:44.704 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=45] [step=import] [subtask-id=86] [takeTime=79.585228ms] [] [2025/04/04 12:46:44.704 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=45] [task-type=ImportInto] [server-id=:4000] [subtaskID=86] [step=import] [takeTime=79.733268ms] [] [2025/04/04 12:46:44.726 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=45] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 12:46:44.727 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=45] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:46:44.728 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=45] [curr-step=import] [next-step=post-process] [2025/04/04 12:46:44.728 +00:00] [INFO] [import_into_test.go:855] [ToNormalMode] [2025/04/04 12:46:44.744 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=45] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":1}"] [2025/04/04 12:46:44.745 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=45] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 12:46:44.745 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=45] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=26] [subtasks=1] [2025/04/04 12:46:44.768 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=45] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 12:46:44.775 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=45] [step=import] [2025/04/04 12:46:44.778 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:46:44.778 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:46:44.778 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:46:44.778 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:46:44.778 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:46:44.778 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:46:44.778 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:46:44.778 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:44.778 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-44] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:46:44.778 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:44.778 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:44.778 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:46:44.780 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:46:44.780 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:44.780 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:44.780 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:44.780 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=45] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=163.47669ms] [] [2025/04/04 12:46:44.782 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=45] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 12:46:44.789 +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/04 12:46:44.789 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=45] [step=post-process] [subtask-id=87] [2025/04/04 12:46:44.789 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=45] [step=post-process] [subtask-id=87] [2025/04/04 12:46:44.789 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=45] [step=post-process] [subtask-id=87] [2025/04/04 12:46:44.794 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=45] [step=post-process] [subtask-id=87] [takeTime=5.379592ms] [] [2025/04/04 12:46:44.794 +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/04 12:46:44.795 +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/04 12:46:44.795 +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/04 12:46:44.795 +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/04 12:46:44.797 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=263] [physicalTableID=263] [indexID=-1] [checksum=15861435141353566364] [totalKvs=1] [totalBytes=37] [2025/04/04 12:46:44.797 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 12:46:44.797 +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/04 12:46:44.797 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=45] [step=post-process] [subtask-id=87] [takeTime=8.370575ms] [] [2025/04/04 12:46:44.797 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=45] [step=post-process] [subtask-id=87] [takeTime=8.52632ms] [] [2025/04/04 12:46:44.798 +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=8.690285ms] [] [2025/04/04 12:46:44.817 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 12:46:44.824 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=45] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 12:46:44.824 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=45] [step=post-process] [state=running] [] [2025/04/04 12:46:44.826 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=45] [2025/04/04 12:46:44.842 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=45] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=60.239201ms] [] [2025/04/04 12:46:44.842 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=45] [type=ImportInto] [2025/04/04 12:46:44.919 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=45] [2025/04/04 12:46:44.925 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 12:46:44.925 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=45] [2025/04/04 12:46:44.946 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 12:46:45.018 +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.684466902\n# Parse_time: 0.000097104\n# Compile_time: 0.000527433\n# Rewrite_time: 0.000156704\n# Optimize_time: 0.000335812\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('R/BGMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY4My41bXMsIG9wZW46NzExbnMsIGNsb3NlOjHCtXMsIGxvb3BzOjIJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('YvBPCl4KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi10aW1lOjY4My41bXMsIG9wZW46NzExbnMsIGNsb3NlOjHCtXMsIGxvb3BzOjJw//////8BAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.00003438\nIMPORT INTO `load_data`.`import_mode` FROM 'gs://test-load/import_mode-*.tsv?access-key=xxxxxx&endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F&secret-access-key=xxxxxx';"] [2025/04/04 12:46:45.043 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:266, Type:truncate table, State:queueing, SchemaState:none, SchemaID:261, TableID:263, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:44.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:45.043 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:266, Type:truncate table, State:queueing, SchemaState:none, SchemaID:261, TableID:263, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:44.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table load_data.import_mode;"] [2025/04/04 12:46:45.046 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=266] [conn=2] [job="ID:266, Type:truncate table, State:queueing, SchemaState:none, SchemaID:261, TableID:263, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:44.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:45.053 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 265, Table Name: import_mode, Old Table ID: 263, Old Table Name: import_mode)"] [2025/04/04 12:46:45.069 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=185] [neededSchemaVersion=186] ["elapsed time"=1.91607ms] [gotSchemaVersion=186] [phyTblIDs="[263,265]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 12:46:45.072 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=266] [version=186] [2025/04/04 12:46:45.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=186] ["take time"=8.910447ms] [job="ID:266, Type:truncate table, State:done, SchemaState:public, SchemaID:261, TableID:263, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:44.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:45.084 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=266] [tableIDs="[263]"] [comment="truncate table: table ID"] [2025/04/04 12:46:45.089 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=266] [jobType="truncate table"] [2025/04/04 12:46:45.090 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=266] [conn=2] [job="ID:266, Type:truncate table, State:synced, SchemaState:public, SchemaID:261, TableID:263, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:44.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:45.106 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=266] [2025/04/04 12:46:45.107 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=186] [cur_db=import_into] [sql="truncate table load_data.import_mode;"] [user=root@%] [2025/04/04 12:46:45.113 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:45.158 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/import_mode-*.tsv?endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/04 12:46:45.177 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=46] [task-id=46] [data-size=8B] [thread-cnt=26] [global-sort=false] [2025/04/04 12:46:45.191 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=46] [2025/04/04 12:46:45.191 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=46] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/04 12:46:45.293 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=46] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 12:46:45.295 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=46] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:46:45.296 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=46] [curr-step=init] [next-step=import] [2025/04/04 12:46:45.304 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:45.306 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=import_mode] [2025/04/04 12:46:45.306 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=import_mode] [before=536870912000] [after=8] [2025/04/04 12:46:45.306 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=import_mode] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=8] [cost=42.313µs] [2025/04/04 12:46:45.306 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=import_mode] [takeTime=133.645µs] [] [2025/04/04 12:46:45.306 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=46] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 12:46:45.306 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=46] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/04 12:46:45.341 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=46] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 12:46:45.361 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=46] [step=import] [2025/04/04 12:46:45.361 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:45.368 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:46:45.368 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 12:46:45.368 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:46:45.368 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:46:45.369 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:46:45.369 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:46:45.369 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:46:45.369 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:46:45.369 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:46:45.369 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:46:45.381 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:46:45.382 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 12:46:45.382 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=import_mode] [quota=374.2GB] [2025/04/04 12:46:45.383 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=import_mode] [import-id=46] [disk-quota=348.5GiB] [2025/04/04 12:46:45.383 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=46] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 12:46:45.383 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=46] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 12:46:45.390 +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/04 12:46:45.390 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=46] [step=import] [subtask-id=88] [2025/04/04 12:46:45.394 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [2025/04/04 12:46:45.397 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [2025/04/04 12:46:45.398 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=265] [2025/04/04 12:46:45.400 +00:00] [INFO] [import_into_test.go:850] [ToImportMode] [2025/04/04 12:46:45.406 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=46] [2025/04/04 12:46:45.411 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=265] [key=import_mode-1.tsv:0] [2025/04/04 12:46:45.413 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=265] [key=import_mode-1.tsv:0] [readDur=928.247µs] [encodeDur=313.003µs] [checksum="{cksum=14356619400929386623,size=37,kvs=1}"] [deliverDur=237.578µs] [type=file] [takeTime=1.739131ms] [] [2025/04/04 12:46:45.414 +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/77f59719-c021-4ad7-a394-03945314fcbe.sst] [firstKey=7480000000000001095F728000000000000001] [lastKey=7480000000000001095F728000000000000001] [2025/04/04 12:46:45.414 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=46] [step=import] [engine-id=0] [2025/04/04 12:46:45.414 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=46] [step=import] [engine-id=0] [2025/04/04 12:46:45.414 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [2025/04/04 12:46:45.416 +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.101137ms] [] [2025/04/04 12:46:45.416 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [retryCnt=0] [2025/04/04 12:46:45.420 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:46:45.442 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=1ccc2128-36af-5780-96ac-757ded6634c4] ["region ranges"=1] [count=1] [size=37] [2025/04/04 12:46:45.442 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:46:45.444 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001095f728000000000000001] [endOfAllRanges=7480000000000001095f728000000000000002] [startKeyOfFirstRegion=7480000000000001ff095f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff095f728000000000ff0000020000000000fa] [2025/04/04 12:46:45.456 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=1ccc2128-36af-5780-96ac-757ded6634c4] [size=37] [kvs=1] [importedSize=37] [importedCount=1] [2025/04/04 12:46:45.458 +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.410319ms] [] [2025/04/04 12:46:45.458 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [2025/04/04 12:46:45.459 +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.206431ms] [] [2025/04/04 12:46:45.459 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=46] [step=import] [engine-id=0] [2025/04/04 12:46:45.459 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [2025/04/04 12:46:45.461 +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=2.029332ms] [] [2025/04/04 12:46:45.461 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [retryCnt=0] [2025/04/04 12:46:45.466 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=86c1a897-a1cd-5c05-8035-3b378e34349a] [2025/04/04 12:46:45.466 +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=4.41135ms] [] [2025/04/04 12:46:45.466 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [2025/04/04 12:46:45.467 +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.033324ms] [] [2025/04/04 12:46:45.467 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=46] [step=import] [subtask-id=88] [takeTime=77.032604ms] [] [2025/04/04 12:46:45.467 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=46] [task-type=ImportInto] [server-id=:4000] [subtaskID=88] [step=import] [takeTime=77.187547ms] [] [2025/04/04 12:46:45.500 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=46] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 12:46:45.501 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=46] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:46:45.503 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=46] [curr-step=import] [next-step=post-process] [2025/04/04 12:46:45.503 +00:00] [INFO] [import_into_test.go:855] [ToNormalMode] [2025/04/04 12:46:45.519 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=46] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":1}"] [2025/04/04 12:46:45.520 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=46] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 12:46:45.520 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=46] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=26] [subtasks=1] [2025/04/04 12:46:45.554 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=46] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 12:46:45.561 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=46] [step=import] [2025/04/04 12:46:45.564 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:46:45.564 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:46:45.564 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:46:45.564 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:46:45.564 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:46:45.564 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:46:45.564 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:45.564 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:46:45.564 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:45.564 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:45.564 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:46:45.564 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-45] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:46:45.566 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:46:45.567 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:45.567 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:45.567 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:45.567 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=46] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=183.959648ms] [] [2025/04/04 12:46:45.568 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=46] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 12:46:45.576 +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/04 12:46:45.576 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=46] [step=post-process] [subtask-id=89] [2025/04/04 12:46:50.576 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=46] [step=post-process] [subtask-id=89] [2025/04/04 12:46:50.576 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=46] [step=post-process] [subtask-id=89] [2025/04/04 12:46:50.583 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=46] [step=post-process] [subtask-id=89] [takeTime=6.370507ms] [] [2025/04/04 12:46:50.583 +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/04 12:46:50.583 +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/04 12:46:50.583 +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/04 12:46:50.583 +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/04 12:46:50.585 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=265] [physicalTableID=265] [indexID=-1] [checksum=14356619400929386623] [totalKvs=1] [totalBytes=37] [2025/04/04 12:46:50.585 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 12:46:50.586 +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/04 12:46:50.586 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=46] [step=post-process] [subtask-id=89] [takeTime=9.18713ms] [] [2025/04/04 12:46:50.586 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=46] [step=post-process] [subtask-id=89] [takeTime=5.009602929s] [] [2025/04/04 12:46:50.586 +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.009748184s] [] [2025/04/04 12:46:50.594 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 12:46:50.599 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=46] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 12:46:50.599 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=46] [step=post-process] [state=running] [] [2025/04/04 12:46:50.602 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=46] [2025/04/04 12:46:50.633 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=46] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=5.065277913s] [] [2025/04/04 12:46:50.633 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=46] [type=ImportInto] [2025/04/04 12:46:50.694 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=46] [2025/04/04 12:46:50.699 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 12:46:50.700 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=46] [2025/04/04 12:46:50.721 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 12:46:50.894 +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.786378364\n# Parse_time: 0.000077373\n# Compile_time: 0.000546023\n# Rewrite_time: 0.000147411\n# Optimize_time: 0.00026586\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('RvBFMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjUuNzlzLCBvcGVuOjY3NG5zLCBjbG9zZTo5NDlucywgbG9vcHM6MglOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('YfBMCl0KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWix0aW1lOjUuNzlzLCBvcGVuOjY3NG5zLCBjbG9zZTo5NDlucywgbG9vcHM6MnD///8JAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.00003438\nIMPORT INTO `load_data`.`import_mode` FROM 'gs://test-load/import_mode-*.tsv?endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F';"] [2025/04/04 12:46:50.909 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:268, Type:truncate table, State:queueing, SchemaState:none, SchemaID:261, TableID:265, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:50.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:50.909 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:268, Type:truncate table, State:queueing, SchemaState:none, SchemaID:261, TableID:265, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:50.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table load_data.import_mode;"] [2025/04/04 12:46:50.915 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=268] [conn=2] [job="ID:268, Type:truncate table, State:queueing, SchemaState:none, SchemaID:261, TableID:265, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:50.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:50.922 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 267, Table Name: import_mode, Old Table ID: 265, Old Table Name: import_mode)"] [2025/04/04 12:46:50.938 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=186] [neededSchemaVersion=187] ["elapsed time"=1.830383ms] [gotSchemaVersion=187] [phyTblIDs="[265,267]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 12:46:50.942 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=268] [version=187] [2025/04/04 12:46:50.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=187] ["take time"=8.79821ms] [job="ID:268, Type:truncate table, State:done, SchemaState:public, SchemaID:261, TableID:265, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:50.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:50.954 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=268] [tableIDs="[265]"] [comment="truncate table: table ID"] [2025/04/04 12:46:50.959 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=268] [jobType="truncate table"] [2025/04/04 12:46:50.960 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=268] [conn=2] [job="ID:268, Type:truncate table, State:synced, SchemaState:public, SchemaID:261, TableID:265, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:50.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:50.977 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=268] [2025/04/04 12:46:50.977 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=187] [cur_db=import_into] [sql="truncate table load_data.import_mode;"] [user=root@%] [2025/04/04 12:46:50.989 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:270, Type:truncate table, State:queueing, SchemaState:none, SchemaID:261, TableID:267, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:50.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:50.989 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:270, Type:truncate table, State:queueing, SchemaState:none, SchemaID:261, TableID:267, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:50.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table load_data.import_mode;"] [2025/04/04 12:46:50.994 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=270] [conn=2] [job="ID:270, Type:truncate table, State:queueing, SchemaState:none, SchemaID:261, TableID:267, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:50.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:51.001 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 269, Table Name: import_mode, Old Table ID: 267, Old Table Name: import_mode)"] [2025/04/04 12:46:51.017 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=187] [neededSchemaVersion=188] ["elapsed time"=1.814403ms] [gotSchemaVersion=188] [phyTblIDs="[267,269]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 12:46:51.020 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=270] [version=188] [2025/04/04 12:46:51.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=188] ["take time"=8.91739ms] [job="ID:270, Type:truncate table, State:done, SchemaState:public, SchemaID:261, TableID:267, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:50.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:51.033 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=270] [tableIDs="[267]"] [comment="truncate table: table ID"] [2025/04/04 12:46:51.037 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=270] [jobType="truncate table"] [2025/04/04 12:46:51.038 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=270] [conn=2] [job="ID:270, Type:truncate table, State:synced, SchemaState:public, SchemaID:261, TableID:267, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:50.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:51.055 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=270] [2025/04/04 12:46:51.055 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=188] [cur_db=import_into] [sql="truncate table load_data.import_mode;"] [user=root@%] [2025/04/04 12:46:51.061 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:51.109 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/import_mode-*.tsv?endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F\",\"format\":\"csv\",\"options\":{\"disable_tikv_import_mode\":null}}"] [dist-task-enabled=true] [2025/04/04 12:46:51.128 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=47] [task-id=47] [data-size=8B] [thread-cnt=26] [global-sort=false] [2025/04/04 12:46:51.142 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=47] [2025/04/04 12:46:51.142 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=47] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/04 12:46:51.244 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=47] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 12:46:51.245 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=47] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:46:51.247 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=47] [curr-step=init] [next-step=import] [2025/04/04 12:46:51.254 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:51.257 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=import_mode] [2025/04/04 12:46:51.257 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=import_mode] [before=536870912000] [after=8] [2025/04/04 12:46:51.257 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=import_mode] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=8] [cost=44.626µs] [2025/04/04 12:46:51.257 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=import_mode] [takeTime=138.353µs] [] [2025/04/04 12:46:51.257 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=47] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 12:46:51.257 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=47] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/04 12:46:51.293 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=47] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 12:46:51.313 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=47] [step=import] [2025/04/04 12:46:51.314 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:51.321 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:46:51.321 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 12:46:51.322 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:46:51.322 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:46:51.322 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:46:51.322 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:46:51.322 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:46:51.322 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:46:51.323 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:46:51.323 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:46:51.335 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:46:51.337 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 12:46:51.337 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=import_mode] [quota=374.2GB] [2025/04/04 12:46:51.337 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=47] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 12:46:51.337 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=import_mode] [import-id=47] [disk-quota=348.5GiB] [2025/04/04 12:46:51.337 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=47] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 12:46:51.344 +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/04 12:46:51.344 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=47] [step=import] [subtask-id=90] [2025/04/04 12:46:51.349 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [2025/04/04 12:46:51.352 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [2025/04/04 12:46:51.353 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=269] [2025/04/04 12:46:51.355 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=47] [2025/04/04 12:46:51.366 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=269] [key=import_mode-1.tsv:0] [2025/04/04 12:46:51.368 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=269] [key=import_mode-1.tsv:0] [readDur=925.344µs] [encodeDur=277.326µs] [checksum="{cksum=14782680275667121893,size=37,kvs=1}"] [deliverDur=273.114µs] [type=file] [takeTime=1.731814ms] [] [2025/04/04 12:46:51.368 +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/435439e8-8e82-4884-a4e8-0f3c19fa8d5c.sst] [firstKey=74800000000000010D5F728000000000000001] [lastKey=74800000000000010D5F728000000000000001] [2025/04/04 12:46:51.369 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=47] [step=import] [engine-id=0] [2025/04/04 12:46:51.369 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=47] [step=import] [engine-id=0] [2025/04/04 12:46:51.369 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [2025/04/04 12:46:51.371 +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.016463ms] [] [2025/04/04 12:46:51.371 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [retryCnt=0] [2025/04/04 12:46:51.375 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:46:51.396 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=1ccc2128-36af-5780-96ac-757ded6634c4] ["region ranges"=1] [count=1] [size=37] [2025/04/04 12:46:51.397 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:46:51.398 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000010d5f728000000000000001] [endOfAllRanges=74800000000000010d5f728000000000000002] [startKeyOfFirstRegion=7480000000000001ff0d5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff0d5f728000000000ff0000020000000000fa] [2025/04/04 12:46:51.410 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=1ccc2128-36af-5780-96ac-757ded6634c4] [size=37] [kvs=1] [importedSize=37] [importedCount=1] [2025/04/04 12:46:51.411 +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.48639ms] [] [2025/04/04 12:46:51.411 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [2025/04/04 12:46:51.413 +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.11697ms] [] [2025/04/04 12:46:51.413 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=47] [step=import] [engine-id=0] [2025/04/04 12:46:51.413 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [2025/04/04 12:46:51.414 +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.411313ms] [] [2025/04/04 12:46:51.414 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [retryCnt=0] [2025/04/04 12:46:51.418 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=86c1a897-a1cd-5c05-8035-3b378e34349a] [2025/04/04 12:46:51.418 +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.601425ms] [] [2025/04/04 12:46:51.418 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [2025/04/04 12:46:51.419 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [takeTime=866.866µs] [] [2025/04/04 12:46:51.419 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=47] [step=import] [subtask-id=90] [takeTime=74.527589ms] [] [2025/04/04 12:46:51.419 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=47] [task-type=ImportInto] [server-id=:4000] [subtaskID=90] [step=import] [takeTime=74.67629ms] [] [2025/04/04 12:46:51.451 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=47] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 12:46:51.452 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=47] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:46:51.454 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=47] [curr-step=import] [next-step=post-process] [2025/04/04 12:46:51.470 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=47] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":1}"] [2025/04/04 12:46:51.472 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=47] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 12:46:51.472 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=47] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=26] [subtasks=1] [2025/04/04 12:46:51.503 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=47] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 12:46:51.510 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=47] [step=import] [2025/04/04 12:46:51.513 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:46:51.513 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:46:51.513 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:46:51.513 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:46:51.513 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:46:51.513 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:46:51.513 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:51.513 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:46:51.513 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-46] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:46:51.513 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:51.513 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:51.513 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:46:51.516 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:46:51.516 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:51.516 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:51.516 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:51.516 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=47] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=179.123187ms] [] [2025/04/04 12:46:51.517 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=47] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 12:46:51.525 +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/04 12:46:51.525 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=47] [step=post-process] [subtask-id=91] [2025/04/04 12:46:51.525 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=47] [step=post-process] [subtask-id=91] [2025/04/04 12:46:51.525 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=47] [step=post-process] [subtask-id=91] [2025/04/04 12:46:51.531 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=47] [step=post-process] [subtask-id=91] [takeTime=5.605831ms] [] [2025/04/04 12:46:51.531 +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/04 12:46:51.531 +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/04 12:46:51.531 +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/04 12:46:51.531 +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/04 12:46:51.533 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=269] [physicalTableID=269] [indexID=-1] [checksum=14782680275667121893] [totalKvs=1] [totalBytes=37] [2025/04/04 12:46:51.533 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 12:46:51.533 +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/04 12:46:51.533 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=47] [step=post-process] [subtask-id=91] [takeTime=8.384916ms] [] [2025/04/04 12:46:51.533 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=47] [step=post-process] [subtask-id=91] [takeTime=8.550046ms] [] [2025/04/04 12:46:51.533 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=47] [task-type=ImportInto] [server-id=:4000] [subtaskID=91] [step=post-process] [takeTime=8.690674ms] [] [2025/04/04 12:46:51.547 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 12:46:51.549 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=47] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 12:46:51.549 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=47] [step=post-process] [state=running] [] [2025/04/04 12:46:51.552 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=47] [2025/04/04 12:46:51.579 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=47] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=61.861285ms] [] [2025/04/04 12:46:51.579 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=47] [type=ImportInto] [2025/04/04 12:46:51.644 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=47] [2025/04/04 12:46:51.651 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 12:46:51.651 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=47] [2025/04/04 12:46:51.675 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 12:46:51.746 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# User@Host: root[root] @ localhost [localhost]\n# Conn_ID: 2\n# Query_time: 0.690365446\n# Parse_time: 0.000088465\n# Compile_time: 0.00052943\n# Rewrite_time: 0.000159004\n# Optimize_time: 0.000250924\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY4OS41bXMsIG9wZW46Njg4bnMsIGNsb3NlOjgzOW5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY4OS41bXMsIG9wZW46Njg4bnMsIGNsb3NlOjgzOW5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.00003438\nIMPORT INTO `load_data`.`import_mode` FROM 'gs://test-load/import_mode-*.tsv?endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F' WITH disable_tikv_import_mode;"] [2025/04/04 12:46:51.761 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:272, Type:truncate table, State:queueing, SchemaState:none, SchemaID:261, TableID:269, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:51.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:51.761 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:272, Type:truncate table, State:queueing, SchemaState:none, SchemaID:261, TableID:269, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:51.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table load_data.import_mode;"] [2025/04/04 12:46:51.767 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=272] [conn=2] [job="ID:272, Type:truncate table, State:queueing, SchemaState:none, SchemaID:261, TableID:269, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:51.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:51.775 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 271, Table Name: import_mode, Old Table ID: 269, Old Table Name: import_mode)"] [2025/04/04 12:46:51.793 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=188] [neededSchemaVersion=189] ["elapsed time"=2.112595ms] [gotSchemaVersion=189] [phyTblIDs="[269,271]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 12:46:51.797 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=272] [version=189] [2025/04/04 12:46:51.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=189] ["take time"=10.237232ms] [job="ID:272, Type:truncate table, State:done, SchemaState:public, SchemaID:261, TableID:269, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:51.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:51.811 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=272] [tableIDs="[269]"] [comment="truncate table: table ID"] [2025/04/04 12:46:51.816 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=272] [jobType="truncate table"] [2025/04/04 12:46:51.817 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=272] [conn=2] [job="ID:272, Type:truncate table, State:synced, SchemaState:public, SchemaID:261, TableID:269, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:51.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:51.835 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=272] [2025/04/04 12:46:51.836 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=189] [cur_db=import_into] [sql="truncate table load_data.import_mode;"] [user=root@%] [2025/04/04 12:46:51.848 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:274, Type:truncate table, State:queueing, SchemaState:none, SchemaID:261, TableID:271, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:51.794 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:51.848 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:274, Type:truncate table, State:queueing, SchemaState:none, SchemaID:261, TableID:271, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:51.794 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table load_data.import_mode;"] [2025/04/04 12:46:51.854 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=274] [conn=2] [job="ID:274, Type:truncate table, State:queueing, SchemaState:none, SchemaID:261, TableID:271, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:51.794 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:51.862 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 273, Table Name: import_mode, Old Table ID: 271, Old Table Name: import_mode)"] [2025/04/04 12:46:51.878 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=189] [neededSchemaVersion=190] ["elapsed time"=1.919ms] [gotSchemaVersion=190] [phyTblIDs="[271,273]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 12:46:51.882 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=274] [version=190] [2025/04/04 12:46:51.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=190] ["take time"=9.3252ms] [job="ID:274, Type:truncate table, State:done, SchemaState:public, SchemaID:261, TableID:271, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:51.794 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:51.895 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=274] [tableIDs="[271]"] [comment="truncate table: table ID"] [2025/04/04 12:46:51.900 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=274] [jobType="truncate table"] [2025/04/04 12:46:51.901 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=274] [conn=2] [job="ID:274, Type:truncate table, State:synced, SchemaState:public, SchemaID:261, TableID:271, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:51.794 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:51.920 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=274] [2025/04/04 12:46:51.920 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=190] [cur_db=import_into] [sql="truncate table load_data.import_mode;"] [user=root@%] [2025/04/04 12:46:51.926 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:51.941 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/import_mode-*.tsv?endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/04 12:46:51.961 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=48] [task-id=48] [data-size=8B] [thread-cnt=26] [global-sort=false] [2025/04/04 12:46:51.976 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=48] [2025/04/04 12:46:51.976 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=48] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/04 12:46:52.079 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=48] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 12:46:52.080 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=48] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:46:52.081 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=48] [curr-step=init] [next-step=import] [2025/04/04 12:46:52.090 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:52.092 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=import_mode] [2025/04/04 12:46:52.092 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=import_mode] [before=536870912000] [after=8] [2025/04/04 12:46:52.092 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=import_mode] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=8] [cost=50.912µs] [2025/04/04 12:46:52.093 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=import_mode] [takeTime=142.269µs] [] [2025/04/04 12:46:52.093 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=48] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 12:46:52.093 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=48] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/04 12:46:52.133 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=48] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 12:46:52.153 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=48] [step=import] [2025/04/04 12:46:52.153 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:52.162 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:46:52.162 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 12:46:52.163 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:46:52.163 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:46:52.163 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:46:52.163 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:46:52.163 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:46:52.163 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:46:52.163 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:46:52.164 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:46:52.176 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:46:52.177 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 12:46:52.177 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=import_mode] [quota=374.2GB] [2025/04/04 12:46:52.177 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=48] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 12:46:52.177 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=import_mode] [import-id=48] [disk-quota=348.5GiB] [2025/04/04 12:46:52.177 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=48] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 12:46:52.185 +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/04 12:46:52.185 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=48] [step=import] [subtask-id=92] [2025/04/04 12:46:52.189 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [2025/04/04 12:46:52.190 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=48] [2025/04/04 12:46:52.192 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [2025/04/04 12:46:52.192 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=273] [2025/04/04 12:46:52.206 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=273] [key=import_mode-1.tsv:0] [2025/04/04 12:46:52.208 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=273] [key=import_mode-1.tsv:0] [readDur=991.344µs] [encodeDur=323.625µs] [checksum="{cksum=18113774150194779939,size=37,kvs=1}"] [deliverDur=310.755µs] [type=file] [takeTime=1.970787ms] [] [2025/04/04 12:46:52.208 +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/32a762eb-554e-46e1-b20b-0c70e3a7c465.sst] [firstKey=7480000000000001115F728000000000000001] [lastKey=7480000000000001115F728000000000000001] [2025/04/04 12:46:52.208 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=48] [step=import] [engine-id=0] [2025/04/04 12:46:52.208 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=48] [step=import] [engine-id=0] [2025/04/04 12:46:52.208 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [2025/04/04 12:46:52.211 +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.381151ms] [] [2025/04/04 12:46:52.211 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [retryCnt=0] [2025/04/04 12:46:52.215 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:46:52.237 +00:00] [INFO] [local.go:1354] ["switch import mode of ranges"] [category=ddl-ingest] [startKey=7480000000000001115f728000000000000001] [endKey=7480000000000001115f728000000000000002] [2025/04/04 12:46:52.237 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=1ccc2128-36af-5780-96ac-757ded6634c4] ["region ranges"=1] [count=1] [size=37] [2025/04/04 12:46:52.237 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [category=ddl-ingest] [mode=Import] [2025/04/04 12:46:52.237 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:46:52.239 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001115f728000000000000001] [endOfAllRanges=7480000000000001115f728000000000000002] [startKeyOfFirstRegion=7480000000000001ff115f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff115f728000000000ff0000020000000000fa] [2025/04/04 12:46:52.252 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=1ccc2128-36af-5780-96ac-757ded6634c4] [size=37] [kvs=1] [importedSize=37] [importedCount=1] [2025/04/04 12:46:52.252 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [category=ddl-ingest] [mode=Normal] [2025/04/04 12:46:52.265 +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=54.218546ms] [] [2025/04/04 12:46:52.265 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [2025/04/04 12:46:52.266 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [takeTime=974.916µs] [] [2025/04/04 12:46:52.266 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=48] [step=import] [engine-id=0] [2025/04/04 12:46:52.266 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [2025/04/04 12:46:52.268 +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.371302ms] [] [2025/04/04 12:46:52.268 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [retryCnt=0] [2025/04/04 12:46:52.272 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=86c1a897-a1cd-5c05-8035-3b378e34349a] [2025/04/04 12:46:52.273 +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=4.595547ms] [] [2025/04/04 12:46:52.273 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [2025/04/04 12:46:52.274 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [takeTime=873.739µs] [] [2025/04/04 12:46:52.274 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=48] [step=import] [subtask-id=92] [takeTime=88.555113ms] [] [2025/04/04 12:46:52.274 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=48] [task-type=ImportInto] [server-id=:4000] [subtaskID=92] [step=import] [takeTime=88.708806ms] [] [2025/04/04 12:46:52.384 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=48] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 12:46:52.385 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=48] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:46:52.387 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=48] [curr-step=import] [next-step=post-process] [2025/04/04 12:46:52.403 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=48] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":1}"] [2025/04/04 12:46:52.404 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=48] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 12:46:52.404 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=48] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=26] [subtasks=1] [2025/04/04 12:46:52.418 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=48] [task-type=ImportInto] [server-id=:4000] [2025/04/04 12:46:52.418 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=48] [step=import] [2025/04/04 12:46:52.421 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:46:52.421 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:46:52.421 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:46:52.421 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:46:52.421 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:46:52.421 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:46:52.421 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:46:52.421 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:52.421 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-47] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:46:52.421 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:52.421 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:52.421 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:46:52.423 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:46:52.423 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:52.423 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:52.423 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:52.423 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=48] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=245.938784ms] [] [2025/04/04 12:46:52.423 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=48] [type=ImportInto] [2025/04/04 12:46:52.442 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=48] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 12:46:52.462 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=48] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 12:46:52.469 +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/04 12:46:52.470 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=48] [step=post-process] [subtask-id=93] [2025/04/04 12:46:52.470 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=48] [step=post-process] [subtask-id=93] [2025/04/04 12:46:52.470 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=48] [step=post-process] [subtask-id=93] [2025/04/04 12:46:52.475 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=48] [step=post-process] [subtask-id=93] [takeTime=5.68544ms] [] [2025/04/04 12:46:52.476 +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/04 12:46:52.476 +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/04 12:46:52.476 +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/04 12:46:52.476 +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/04 12:46:52.478 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=273] [physicalTableID=273] [indexID=-1] [checksum=18113774150194779939] [totalKvs=1] [totalBytes=37] [2025/04/04 12:46:52.478 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 12:46:52.478 +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/04 12:46:52.478 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=48] [step=post-process] [subtask-id=93] [takeTime=8.335842ms] [] [2025/04/04 12:46:52.478 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=48] [step=post-process] [subtask-id=93] [takeTime=8.485757ms] [] [2025/04/04 12:46:52.478 +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=8.612497ms] [] [2025/04/04 12:46:52.494 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 12:46:52.583 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=48] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 12:46:52.583 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=48] [step=post-process] [state=running] [] [2025/04/04 12:46:52.585 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=48] [2025/04/04 12:46:52.615 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=48] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=152.355021ms] [] [2025/04/04 12:46:52.615 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=48] [type=ImportInto] [2025/04/04 12:46:52.679 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=48] [2025/04/04 12:46:52.684 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 12:46:52.684 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=48] [2025/04/04 12:46:52.707 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 12:46:52.877 +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.956748779\n# Parse_time: 0.000133639\n# Compile_time: 0.000643257\n# Rewrite_time: 0.000183073\n# Optimize_time: 0.000271379\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('R/BGMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk1NS43bXMsIG9wZW46NjY0bnMsIGNsb3NlOjHCtXMsIGxvb3BzOjIJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('YvBPCl4KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi10aW1lOjk1NS43bXMsIG9wZW46NjY0bnMsIGNsb3NlOjHCtXMsIGxvb3BzOjJw//////8BAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.00003438\nIMPORT INTO `load_data`.`import_mode` FROM 'gs://test-load/import_mode-*.tsv?endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F';"] [2025/04/04 12:46:52.892 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:276, Type:truncate table, State:queueing, SchemaState:none, SchemaID:261, TableID:273, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:52.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:52.892 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:276, Type:truncate table, State:queueing, SchemaState:none, SchemaID:261, TableID:273, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:52.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table load_data.import_mode;"] [2025/04/04 12:46:52.896 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=276] [conn=2] [job="ID:276, Type:truncate table, State:queueing, SchemaState:none, SchemaID:261, TableID:273, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:52.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:52.904 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 275, Table Name: import_mode, Old Table ID: 273, Old Table Name: import_mode)"] [2025/04/04 12:46:52.919 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=190] [neededSchemaVersion=191] ["elapsed time"=1.804044ms] [gotSchemaVersion=191] [phyTblIDs="[273,275]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 12:46:52.922 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=276] [version=191] [2025/04/04 12:46:52.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=191] ["take time"=8.1263ms] [job="ID:276, Type:truncate table, State:done, SchemaState:public, SchemaID:261, TableID:273, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:52.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:52.934 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=276] [tableIDs="[273]"] [comment="truncate table: table ID"] [2025/04/04 12:46:52.938 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=276] [jobType="truncate table"] [2025/04/04 12:46:52.939 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=276] [conn=2] [job="ID:276, Type:truncate table, State:synced, SchemaState:public, SchemaID:261, TableID:273, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:52.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:52.956 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=276] [2025/04/04 12:46:52.957 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=191] [cur_db=import_into] [sql="truncate table load_data.import_mode;"] [user=root@%] [2025/04/04 12:46:52.963 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:53.009 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/import_mode-*.tsv?access-key=xxxxxx\\u0026endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F\\u0026secret-access-key=xxxxxx\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/04 12:46:53.028 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=49] [task-id=49] [data-size=8B] [thread-cnt=26] [global-sort=false] [2025/04/04 12:46:53.041 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=49] [2025/04/04 12:46:53.041 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=49] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/04 12:46:53.143 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=49] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 12:46:53.144 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=49] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:46:53.145 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=49] [curr-step=init] [next-step=import] [2025/04/04 12:46:53.153 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:53.155 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=import_mode] [2025/04/04 12:46:53.155 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=import_mode] [before=536870912000] [after=8] [2025/04/04 12:46:53.155 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=import_mode] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=8] [cost=71.283µs] [2025/04/04 12:46:53.156 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=import_mode] [takeTime=159.477µs] [] [2025/04/04 12:46:53.156 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=49] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 12:46:53.156 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=49] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/04 12:46:53.191 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=49] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 12:46:53.210 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=49] [step=import] [2025/04/04 12:46:53.211 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:53.218 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:46:53.218 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 12:46:53.219 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:46:53.219 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:46:53.219 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:46:53.219 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:46:53.219 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:46:53.219 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:46:53.220 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:46:53.220 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:46:53.232 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:46:53.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/04 12:46:53.233 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=import_mode] [quota=374.2GB] [2025/04/04 12:46:53.233 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=49] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 12:46:53.233 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=49] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 12:46:53.233 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=import_mode] [import-id=49] [disk-quota=348.5GiB] [2025/04/04 12:46:53.242 +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/04 12:46:53.242 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=49] [step=import] [subtask-id=94] [2025/04/04 12:46:53.245 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [2025/04/04 12:46:53.249 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [2025/04/04 12:46:53.249 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=275] [2025/04/04 12:46:53.249 +00:00] [INFO] [import_into_test.go:850] [ToImportMode] [2025/04/04 12:46:53.254 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=49] [2025/04/04 12:46:53.839 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 12:46:53.840 +00:00] [INFO] [cache.go:406] ["GC compact old schema version"] ["current version"=191] ["oldest version"=1] [deleted=0] [total=932] [takes=448.47µs] [2025/04/04 12:46:55.224 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/04 12:46:56.252 +00:00] [ERROR] [task_executor.go:129] ["run subtask failed"] [type=ImportInto] [task-id=49] [step=import] [subtask-id=94] [takeTime=3.009739793s] [error="occur an error when sort chunk"] [stack="github.com/pingcap/tidb/pkg/disttask/importinto.(*importStepExecutor).RunSubtask.func1\n\tpkg/disttask/importinto/task_executor.go:129\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:200\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/04 12:46:56.252 +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.010156401s] [error="occur an error when sort chunk"] [errorVerbose="occur an error when sort chunk\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importMinimalTaskExecutor).Run\n\tpkg/disttask/importinto/subtask_executor.go:59\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*chunkWorker).HandleTask\n\tpkg/disttask/importinto/encode_and_sort_operator.go:200\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).handleTaskWithRecover\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:149\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).runAWorker.func1\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:165\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:167\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:46:56.252 +00:00] [WARN] [task_executor.go:706] ["subtask failed"] [task-id=49] [task-type=ImportInto] [server-id=:4000] [error="occur an error when sort chunk"] [errorVerbose="occur an error when sort chunk\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importMinimalTaskExecutor).Run\n\tpkg/disttask/importinto/subtask_executor.go:59\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*chunkWorker).HandleTask\n\tpkg/disttask/importinto/encode_and_sort_operator.go:200\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).handleTaskWithRecover\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:149\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).runAWorker.func1\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:165\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:167\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:46:56.262 +00:00] [ERROR] [task_executor.go:344] ["run subtask failed"] [task-id=49] [task-type=ImportInto] [server-id=:4000] [error="occur an error when sort chunk"] [errorVerbose="occur an error when sort chunk\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importMinimalTaskExecutor).Run\n\tpkg/disttask/importinto/subtask_executor.go:59\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*chunkWorker).HandleTask\n\tpkg/disttask/importinto/encode_and_sort_operator.go:200\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).handleTaskWithRecover\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:149\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).runAWorker.func1\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:165\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:167\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:344\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/04 12:46:56.352 +00:00] [WARN] [scheduler.go:389] ["subtasks encounter errors"] [task-id=49] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [subtask-errs="[\"{error=\\\"[0]occur an error when sort chunk\\\"}\"]"] [2025/04/04 12:46:56.370 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=49] [step=import] [2025/04/04 12:46:56.375 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:46:56.375 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:46:56.375 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:46:56.375 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:46:56.375 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:46:56.375 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:46:56.375 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:46:56.375 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:56.375 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:56.375 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-48] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:46:56.375 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:56.375 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:46:56.378 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:46:56.378 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:56.378 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:56.378 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:56.378 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=49] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=3.144474323s] [] [2025/04/04 12:46:56.378 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=49] [type=ImportInto] [2025/04/04 12:46:56.448 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=49] [step=import] [state=reverting] [error="[0]occur an error when sort chunk"] [2025/04/04 12:46:56.450 +00:00] [INFO] [import_into_test.go:855] [ToNormalMode] [2025/04/04 12:46:56.451 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=49] [2025/04/04 12:46:56.543 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=49] [2025/04/04 12:46:56.549 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 12:46:56.549 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=49] [2025/04/04 12:46:56.570 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 12:46:56.642 +00:00] [ERROR] [handle.go:110] ["task reverted"] [task-id=49] [error="[0]occur an error when sort chunk"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/handle.WaitTaskDoneOrPaused\n\tpkg/disttask/framework/handle/handle.go:110\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoExec).waitTask\n\tpkg/executor/import_into.go:233\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoExec).Next\n\tpkg/executor/import_into.go:137\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*recordSet).Next\n\tpkg/executor/adapter.go:172\ngithub.com/pingcap/tidb/pkg/session.GetRows4Test\n\tpkg/session/tidb.go:343\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).QueryToErr\n\tpkg/testkit/testkit.go:304\ntests/realtikvtest/importintotest/importintotest_test.(*mockGCSSuite).TestImportMode\n\ttests/realtikvtest/importintotest/import_into_test.go:937\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690"] [2025/04/04 12:46:56.643 +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.685604818\n# Parse_time: 0.000081106\n# Compile_time: 0.000516905\n# Rewrite_time: 0.000145429\n# Optimize_time: 0.000271201\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('SPBHMAk1OV8yCTAJMAlOL0EJMAl0aW1lOjMuNjhzLCBvcGVuOjY2NW5zLCBjbG9zZToxLjA5wrVzLCBsb29wczoxCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('YfBMCl0KDEltcG9ydEludG9fMjgBQAFSA04vQVoudGltZTozLjY4cywgb3Blbjo2NjVucywgY2xvc2U6MS4wOcK1cywgbG9vcHM6MXD///8JAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.00003438\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.57s) === NAME TestImportInto === RUN TestImportInto/TestInputCountMisMatchAndDefault [2025/04/04 12:46:56.666 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:277, Type:drop schema, State:queueing, SchemaState:public, SchemaID:261, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:56.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop database if exists load_data"] [2025/04/04 12:46:56.666 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:277, Type:drop schema, State:queueing, SchemaState:public, SchemaID:261, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:56.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:56.671 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=277] [conn=2] [job="ID:277, Type:drop schema, State:queueing, SchemaState:public, SchemaID:261, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:56.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:56.689 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=191] [neededSchemaVersion=192] ["elapsed time"=1.727516ms] [gotSchemaVersion=192] [phyTblIDs="[275]"] [actionTypes="[2]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 12:46:56.692 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=277] [version=192] [2025/04/04 12:46:56.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=192] ["take time"=8.76379ms] [job="ID:277, Type:drop schema, State:running, SchemaState:write only, SchemaID:261, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:56.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:56.704 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=277] [conn=2] [job="ID:277, Type:drop schema, State:running, SchemaState:write only, SchemaID:261, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:56.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:56.715 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=192] [neededSchemaVersion=193] ["elapsed time"=128.283µs] [gotSchemaVersion=193] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 12:46:56.719 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=277] [version=193] [2025/04/04 12:46:56.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=193] ["take time"=6.686746ms] [job="ID:277, Type:drop schema, State:running, SchemaState:delete only, SchemaID:261, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:56.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:56.728 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=277] [conn=2] [job="ID:277, Type:drop schema, State:running, SchemaState:delete only, SchemaID:261, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:56.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:56.733 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/04 12:46:56.743 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=193] [neededSchemaVersion=194] ["elapsed time"=133.98µs] [gotSchemaVersion=194] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 12:46:56.746 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=277] [version=194] [2025/04/04 12:46:56.748 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=194] ["take time"=6.787949ms] [job="ID:277, Type:drop schema, State:done, SchemaState:none, SchemaID:261, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:56.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:56.756 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=277] [tableIDs="[275]"] [comment="drop schema: table IDs"] [2025/04/04 12:46:56.760 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=277] [jobType="drop schema"] [2025/04/04 12:46:56.761 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=277] [conn=2] [job="ID:277, Type:drop schema, State:synced, SchemaState:none, SchemaID:261, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:56.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:56.778 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=277] [2025/04/04 12:46:56.778 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=194] [cur_db=import_into] [sql="drop database if exists load_data"] [user=root@%] [2025/04/04 12:46:56.789 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:279, Type:create schema, State:queueing, SchemaState:none, SchemaID:278, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:56.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:56.789 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:279, Type:create schema, State:queueing, SchemaState:none, SchemaID:278, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:56.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database load_data"] [2025/04/04 12:46:56.795 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=279] [conn=2] [job="ID:279, Type:create schema, State:queueing, SchemaState:none, SchemaID:278, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:56.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:56.807 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=194] [neededSchemaVersion=195] ["elapsed time"=678.456µs] [gotSchemaVersion=195] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 12:46:56.810 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=279] [version=195] [2025/04/04 12:46:56.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=195] ["take time"=7.562891ms] [job="ID:279, Type:create schema, State:done, SchemaState:public, SchemaID:278, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:56.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:56.823 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=279] [conn=2] [job="ID:279, Type:create schema, State:synced, SchemaState:public, SchemaID:278, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:56.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:56.832 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=279] [2025/04/04 12:46:56.832 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=195] [cur_db=import_into] [sql="create database load_data"] [user=root@%] [2025/04/04 12:46:56.834 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=195] [cur_db=load_data] [sql="drop table if exists t;"] [user=root@%] [2025/04/04 12:46:56.847 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:281, Type:create table, State:queueing, SchemaState:none, SchemaID:278, TableID:280, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:56.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:56.847 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:281, Type:create table, State:queueing, SchemaState:none, SchemaID:278, TableID:280, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:56.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100), c int);"] [2025/04/04 12:46:56.853 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=281] [conn=2] [job="ID:281, Type:create table, State:queueing, SchemaState:none, SchemaID:278, TableID:280, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:56.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:56.858 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 280, Table Name: t)"] [2025/04/04 12:46:56.874 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=195] [neededSchemaVersion=196] ["elapsed time"=1.790501ms] [gotSchemaVersion=196] [phyTblIDs="[280]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:46:56.877 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=281] [version=196] [2025/04/04 12:46:56.879 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=196] ["take time"=8.821325ms] [job="ID:281, Type:create table, State:done, SchemaState:public, SchemaID:278, TableID:280, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:56.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:56.891 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=281] [conn=2] [job="ID:281, Type:create table, State:synced, SchemaState:public, SchemaID:278, TableID:280, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:56.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:56.903 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=281] [2025/04/04 12:46:56.904 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=196] [cur_db=load_data] [sql="create table t (a bigint, b varchar(100), c int);"] [user=root@%] [2025/04/04 12:46:56.910 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:56.959 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-multi-load/input-cnt-mismatch.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/04 12:46:56.978 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=50] [task-id=50] [data-size=24B] [thread-cnt=26] [global-sort=false] [2025/04/04 12:46:56.992 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=50] [2025/04/04 12:46:56.992 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=50] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/04 12:46:57.095 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=50] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 12:46:57.096 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=50] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:46:57.097 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=50] [curr-step=init] [next-step=import] [2025/04/04 12:46:57.105 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:57.107 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 12:46:57.107 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=24] [2025/04/04 12:46:57.108 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=24] [cost=54.823µs] [2025/04/04 12:46:57.108 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=149.285µs] [] [2025/04/04 12:46:57.108 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=50] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 12:46:57.108 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=50] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/04 12:46:57.143 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=50] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 12:46:57.163 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=50] [step=import] [2025/04/04 12:46:57.163 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:57.171 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:46:57.171 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 12:46:57.171 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:46:57.171 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:46:57.172 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:46:57.172 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:46:57.172 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:46:57.172 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:46:57.172 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:46:57.172 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:46:57.184 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:46:57.186 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 12:46:57.186 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 12:46:57.186 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=50] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 12:46:57.186 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=50] [disk-quota=348.5GiB] [2025/04/04 12:46:57.186 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=50] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 12:46:57.194 +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/04 12:46:57.194 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=50] [step=import] [subtask-id=95] [2025/04/04 12:46:57.197 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 12:46:57.201 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=50] [mode=Import] [2025/04/04 12:46:57.201 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 12:46:57.202 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=280] [2025/04/04 12:46:57.215 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=280] [key=input-cnt-mismatch.csv:0] [2025/04/04 12:46:57.217 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=280] [key=input-cnt-mismatch.csv:0] [readDur=1.322619ms] [encodeDur=270.805µs] [checksum="{cksum=4834883050368624781,size=78,kvs=2}"] [deliverDur=260.395µs] [type=file] [takeTime=2.122998ms] [] [2025/04/04 12:46:57.218 +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/a97d1d68-77e1-4dbd-a37d-57420a761813.sst] [firstKey=7480000000000001185F728000000000000001] [lastKey=7480000000000001185F728000000000000002] [2025/04/04 12:46:57.218 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=50] [step=import] [engine-id=0] [2025/04/04 12:46:57.218 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=50] [step=import] [engine-id=0] [2025/04/04 12:46:57.218 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 12:46:57.220 +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.164389ms] [] [2025/04/04 12:46:57.220 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=50] [2025/04/04 12:46:57.220 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [retryCnt=0] [2025/04/04 12:46:57.224 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:46:57.246 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] ["region ranges"=1] [count=2] [size=78] [2025/04/04 12:46:57.246 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:46:57.248 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001185f728000000000000001] [endOfAllRanges=7480000000000001185f728000000000000003] [startKeyOfFirstRegion=7480000000000001ff185f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff185f728000000000ff0000030000000000fa] [2025/04/04 12:46:57.258 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] [size=78] [kvs=2] [importedSize=78] [importedCount=2] [2025/04/04 12:46:57.260 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [retryCnt=0] [takeTime=39.59919ms] [] [2025/04/04 12:46:57.260 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 12:46:57.261 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=1.054272ms] [] [2025/04/04 12:46:57.261 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=50] [step=import] [engine-id=0] [2025/04/04 12:46:57.261 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 12:46:57.263 +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.543329ms] [] [2025/04/04 12:46:57.263 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [retryCnt=0] [2025/04/04 12:46:57.267 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 12:46:57.267 +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.678416ms] [] [2025/04/04 12:46:57.267 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 12:46:57.268 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=989.217µs] [] [2025/04/04 12:46:57.268 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=50] [step=import] [subtask-id=95] [takeTime=74.112249ms] [] [2025/04/04 12:46:57.268 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=50] [task-type=ImportInto] [server-id=:4000] [subtaskID=95] [step=import] [takeTime=74.300811ms] [] [2025/04/04 12:46:57.300 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=50] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 12:46:57.301 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=50] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:46:57.303 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=50] [curr-step=import] [next-step=post-process] [2025/04/04 12:46:57.303 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=50] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 12:46:57.333 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=50] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/04 12:46:57.334 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=50] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 12:46:57.334 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=50] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=26] [subtasks=1] [2025/04/04 12:46:57.372 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=50] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 12:46:57.379 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=50] [step=import] [2025/04/04 12:46:57.382 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:46:57.382 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:46:57.382 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:46:57.382 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:46:57.382 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:46:57.382 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:46:57.382 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:46:57.382 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:57.382 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:57.382 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-49] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:46:57.382 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:57.382 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:46:57.385 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:46:57.385 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:57.385 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:57.385 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:57.385 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=50] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=198.494065ms] [] [2025/04/04 12:46:57.386 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=50] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 12:46:57.393 +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/04 12:46:57.393 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=50] [step=post-process] [subtask-id=96] [2025/04/04 12:46:57.394 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=50] [step=post-process] [subtask-id=96] [2025/04/04 12:46:57.394 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=50] [step=post-process] [subtask-id=96] [2025/04/04 12:46:57.399 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=50] [step=post-process] [subtask-id=96] [takeTime=5.631803ms] [] [2025/04/04 12:46:57.399 +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/04 12:46:57.399 +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/04 12:46:57.400 +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/04 12:46:57.400 +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/04 12:46:57.401 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=280] [physicalTableID=280] [indexID=-1] [checksum=4834883050368624781] [totalKvs=2] [totalBytes=78] [2025/04/04 12:46:57.402 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 12:46:57.402 +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/04 12:46:57.402 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=50] [step=post-process] [subtask-id=96] [takeTime=8.311122ms] [] [2025/04/04 12:46:57.402 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=50] [step=post-process] [subtask-id=96] [takeTime=8.450832ms] [] [2025/04/04 12:46:57.402 +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.601969ms] [] [2025/04/04 12:46:57.421 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 12:46:57.500 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=50] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 12:46:57.500 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=50] [step=post-process] [state=running] [] [2025/04/04 12:46:57.503 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=50] [2025/04/04 12:46:57.523 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=50] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=136.495586ms] [] [2025/04/04 12:46:57.523 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=50] [type=ImportInto] [2025/04/04 12:46:57.595 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=50] [2025/04/04 12:46:57.595 +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.691315707\n# Parse_time: 0.000073175\n# Compile_time: 0.000613317\n# Rewrite_time: 0.000170181\n# Optimize_time: 0.000271201\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('SvBJMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY5MC40bXMsIG9wZW46NjczbnMsIGNsb3NlOjEuMjXCtXMsIGxvb3BzOjIJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('ZfBSCmEKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWjB0aW1lOjY5MC40bXMsIG9wZW46NjczbnMsIGNsb3NlOjEuMjXCtXMsIGxvb3BzOjJw//////8BAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.00003438\nuse load_data;\nIMPORT INTO `load_data`.`t` FROM 'gs://test-multi-load/input-cnt-mismatch.csv?endpoint=http://127.0.0.1:4443/storage/v1/';"] [2025/04/04 12:46:57.601 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 12:46:57.601 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=50] [2025/04/04 12:46:57.611 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:282, Type:drop table, State:queueing, SchemaState:public, SchemaID:278, TableID:280, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:57.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:57.611 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:282, Type:drop table, State:queueing, SchemaState:public, SchemaID:278, TableID:280, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:57.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/04 12:46:57.616 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=282] [conn=2] [job="ID:282, Type:drop table, State:queueing, SchemaState:public, SchemaID:278, TableID:280, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:57.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:57.623 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 12:46:57.632 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=196] [neededSchemaVersion=197] ["elapsed time"=2.30429ms] [gotSchemaVersion=197] [phyTblIDs="[280]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:57.635 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=282] [version=197] [2025/04/04 12:46:57.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=197] ["take time"=9.275737ms] [job="ID:282, Type:drop table, State:running, SchemaState:write only, SchemaID:278, TableID:280, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:57.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:57.647 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=282] [conn=2] [job="ID:282, Type:drop table, State:running, SchemaState:write only, SchemaID:278, TableID:280, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:57.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:57.663 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=197] [neededSchemaVersion=198] ["elapsed time"=2.418989ms] [gotSchemaVersion=198] [phyTblIDs="[280]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:57.666 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=282] [version=198] [2025/04/04 12:46:57.668 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=198] ["take time"=9.226898ms] [job="ID:282, Type:drop table, State:running, SchemaState:delete only, SchemaID:278, TableID:280, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:57.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:57.676 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=282] [conn=2] [job="ID:282, Type:drop table, State:running, SchemaState:delete only, SchemaID:278, TableID:280, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:57.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:57.682 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 280, Old Table Name: t)"] [2025/04/04 12:46:57.696 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=198] [neededSchemaVersion=199] ["elapsed time"=1.270297ms] [gotSchemaVersion=199] [phyTblIDs="[280]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:57.699 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=282] [version=199] [2025/04/04 12:46:57.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=199] ["take time"=8.404339ms] [job="ID:282, Type:drop table, State:done, SchemaState:none, SchemaID:278, TableID:280, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:57.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:57.710 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=282] [tableIDs="[280]"] [comment="drop table: table ID"] [2025/04/04 12:46:57.715 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=282] [jobType="drop table"] [2025/04/04 12:46:57.716 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=282] [conn=2] [job="ID:282, Type:drop table, State:synced, SchemaState:none, SchemaID:278, TableID:280, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:57.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:57.735 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=282] [2025/04/04 12:46:57.736 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=199] [cur_db=load_data] [sql="drop table if exists t;"] [user=root@%] [2025/04/04 12:46:57.749 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:284, Type:create table, State:queueing, SchemaState:none, SchemaID:278, TableID:283, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:57.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:57.749 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:284, Type:create table, State:queueing, SchemaState:none, SchemaID:278, TableID:283, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:57.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100), c int default 100);"] [2025/04/04 12:46:57.755 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=284] [conn=2] [job="ID:284, Type:create table, State:queueing, SchemaState:none, SchemaID:278, TableID:283, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:57.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:57.759 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 283, Table Name: t)"] [2025/04/04 12:46:57.775 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=199] [neededSchemaVersion=200] ["elapsed time"=1.865733ms] [gotSchemaVersion=200] [phyTblIDs="[283]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:46:57.779 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=284] [version=200] [2025/04/04 12:46:57.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=200] ["take time"=8.863539ms] [job="ID:284, Type:create table, State:done, SchemaState:public, SchemaID:278, TableID:283, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:57.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:57.792 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=284] [conn=2] [job="ID:284, Type:create table, State:synced, SchemaState:public, SchemaID:278, TableID:283, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:57.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:57.804 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=284] [2025/04/04 12:46:57.804 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=200] [cur_db=load_data] [sql="create table t (a bigint, b varchar(100), c int default 100);"] [user=root@%] [2025/04/04 12:46:57.810 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:57.859 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-multi-load/input-cnt-mismatch.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/04 12:46:57.878 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=51] [task-id=51] [data-size=24B] [thread-cnt=26] [global-sort=false] [2025/04/04 12:46:57.893 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=51] [2025/04/04 12:46:57.893 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=51] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/04 12:46:57.995 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=51] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 12:46:57.997 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=51] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:46:57.998 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=51] [curr-step=init] [next-step=import] [2025/04/04 12:46:58.006 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:58.008 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 12:46:58.008 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=24] [2025/04/04 12:46:58.008 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=24] [cost=42.975µs] [2025/04/04 12:46:58.008 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=165.573µs] [] [2025/04/04 12:46:58.008 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=51] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 12:46:58.008 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=51] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/04 12:46:58.042 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=51] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 12:46:58.061 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=51] [step=import] [2025/04/04 12:46:58.062 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:58.069 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:46:58.069 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 12:46:58.070 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:46:58.070 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:46:58.070 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:46:58.070 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:46:58.070 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:46:58.070 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:46:58.071 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:46:58.071 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:46:58.083 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:46:58.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/04 12:46:58.085 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 12:46:58.085 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=51] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 12:46:58.085 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=51] [disk-quota=348.5GiB] [2025/04/04 12:46:58.085 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=51] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 12:46:58.093 +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/04 12:46:58.093 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=51] [step=import] [subtask-id=97] [2025/04/04 12:46:58.097 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 12:46:58.100 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 12:46:58.101 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=283] [2025/04/04 12:46:58.102 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=51] [mode=Import] [2025/04/04 12:46:58.121 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=51] [2025/04/04 12:46:58.141 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=283] [key=input-cnt-mismatch.csv:0] [2025/04/04 12:46:58.142 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=283] [key=input-cnt-mismatch.csv:0] [readDur=936.599µs] [encodeDur=246.577µs] [checksum="{cksum=14192221556862743119,size=79,kvs=2}"] [deliverDur=251.092µs] [type=file] [takeTime=1.718017ms] [] [2025/04/04 12:46:58.143 +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/57854453-85eb-408c-aa77-8e89409cfa6f.sst] [firstKey=74800000000000011B5F728000000000000001] [lastKey=74800000000000011B5F728000000000000002] [2025/04/04 12:46:58.143 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=51] [step=import] [engine-id=0] [2025/04/04 12:46:58.143 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=51] [step=import] [engine-id=0] [2025/04/04 12:46:58.143 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 12:46:58.145 +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.939573ms] [] [2025/04/04 12:46:58.145 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [retryCnt=0] [2025/04/04 12:46:58.149 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:46:58.171 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] ["region ranges"=1] [count=2] [size=79] [2025/04/04 12:46:58.171 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:46:58.173 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000011b5f728000000000000001] [endOfAllRanges=74800000000000011b5f728000000000000003] [startKeyOfFirstRegion=7480000000000001ff1b5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff1b5f728000000000ff0000030000000000fa] [2025/04/04 12:46:58.184 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] [size=79] [kvs=2] [importedSize=79] [importedCount=2] [2025/04/04 12:46:58.186 +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.741562ms] [] [2025/04/04 12:46:58.186 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 12:46:58.187 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=1.09704ms] [] [2025/04/04 12:46:58.187 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=51] [step=import] [engine-id=0] [2025/04/04 12:46:58.187 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 12:46:58.189 +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.573607ms] [] [2025/04/04 12:46:58.189 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [retryCnt=0] [2025/04/04 12:46:58.193 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 12:46:58.193 +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.756597ms] [] [2025/04/04 12:46:58.193 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 12:46:58.194 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=1.09622ms] [] [2025/04/04 12:46:58.194 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=51] [step=import] [subtask-id=97] [takeTime=101.246767ms] [] [2025/04/04 12:46:58.195 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=51] [task-type=ImportInto] [server-id=:4000] [subtaskID=97] [step=import] [takeTime=101.761667ms] [] [2025/04/04 12:46:58.301 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=51] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 12:46:58.302 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=51] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:46:58.303 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=51] [curr-step=import] [next-step=post-process] [2025/04/04 12:46:58.303 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=51] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 12:46:58.333 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=51] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/04 12:46:58.334 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=51] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 12:46:58.334 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=51] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=26] [subtasks=1] [2025/04/04 12:46:58.341 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=51] [task-type=ImportInto] [server-id=:4000] [2025/04/04 12:46:58.341 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=51] [step=import] [2025/04/04 12:46:58.344 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:46:58.344 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:46:58.344 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:46:58.344 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:46:58.344 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:46:58.344 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:46:58.344 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:46:58.345 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:58.345 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:58.345 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:58.344 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-50] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:46:58.345 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:46:58.347 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:46:58.347 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:58.347 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:58.347 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:58.347 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=51] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=261.697253ms] [] [2025/04/04 12:46:58.347 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=51] [type=ImportInto] [2025/04/04 12:46:58.373 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=51] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 12:46:58.394 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=51] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 12:46:58.402 +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/04 12:46:58.402 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=51] [step=post-process] [subtask-id=98] [2025/04/04 12:46:58.402 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=51] [step=post-process] [subtask-id=98] [2025/04/04 12:46:58.402 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=51] [step=post-process] [subtask-id=98] [2025/04/04 12:46:58.407 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=51] [step=post-process] [subtask-id=98] [takeTime=5.578418ms] [] [2025/04/04 12:46:58.408 +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/04 12:46:58.408 +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/04 12:46:58.408 +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/04 12:46:58.408 +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/04 12:46:58.409 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=283] [physicalTableID=283] [indexID=-1] [checksum=14192221556862743119] [totalKvs=2] [totalBytes=79] [2025/04/04 12:46:58.410 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 12:46:58.410 +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/04 12:46:58.410 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=51] [step=post-process] [subtask-id=98] [takeTime=8.079537ms] [] [2025/04/04 12:46:58.410 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=51] [step=post-process] [subtask-id=98] [takeTime=8.214518ms] [] [2025/04/04 12:46:58.410 +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=8.367907ms] [] [2025/04/04 12:46:58.435 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 12:46:58.500 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=51] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 12:46:58.500 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=51] [step=post-process] [state=running] [] [2025/04/04 12:46:58.503 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=51] [2025/04/04 12:46:58.531 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=51] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=136.991579ms] [] [2025/04/04 12:46:58.531 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=51] [type=ImportInto] [2025/04/04 12:46:58.595 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=51] [2025/04/04 12:46:58.601 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 12:46:58.601 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=51] [2025/04/04 12:46:58.623 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 12:46:58.795 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# User@Host: root[root] @ localhost [localhost]\n# Conn_ID: 2\n# Query_time: 0.99098828\n# Parse_time: 0.000071146\n# Compile_time: 0.000596711\n# Rewrite_time: 0.000173621\n# Optimize_time: 0.00027457\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('R/BGMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5MG1zLCBvcGVuOjY5OG5zLCBjbG9zZToxLjLCtXMsIGxvb3BzOjIJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('YvBPCl4KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi10aW1lOjk5MG1zLCBvcGVuOjY5OG5zLCBjbG9zZToxLjLCtXMsIGxvb3BzOjJw//////8BAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.00003438\nIMPORT INTO `load_data`.`t` FROM 'gs://test-multi-load/input-cnt-mismatch.csv?endpoint=http://127.0.0.1:4443/storage/v1/';"] [2025/04/04 12:46:58.810 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:285, Type:drop table, State:queueing, SchemaState:public, SchemaID:278, TableID:283, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:58.794 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:58.810 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:285, Type:drop table, State:queueing, SchemaState:public, SchemaID:278, TableID:283, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:58.794 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/04 12:46:58.816 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=285] [conn=2] [job="ID:285, Type:drop table, State:queueing, SchemaState:public, SchemaID:278, TableID:283, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:58.794 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:58.833 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=200] [neededSchemaVersion=201] ["elapsed time"=2.497394ms] [gotSchemaVersion=201] [phyTblIDs="[283]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:58.836 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=285] [version=201] [2025/04/04 12:46:58.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=201] ["take time"=9.514647ms] [job="ID:285, Type:drop table, State:running, SchemaState:write only, SchemaID:278, TableID:283, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:58.794 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:58.848 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=285] [conn=2] [job="ID:285, Type:drop table, State:running, SchemaState:write only, SchemaID:278, TableID:283, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:58.794 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:58.864 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=201] [neededSchemaVersion=202] ["elapsed time"=2.35418ms] [gotSchemaVersion=202] [phyTblIDs="[283]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:58.867 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=285] [version=202] [2025/04/04 12:46:58.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=202] ["take time"=9.238815ms] [job="ID:285, Type:drop table, State:running, SchemaState:delete only, SchemaID:278, TableID:283, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:58.794 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:58.877 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=285] [conn=2] [job="ID:285, Type:drop table, State:running, SchemaState:delete only, SchemaID:278, TableID:283, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:58.794 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:58.884 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 283, Old Table Name: t)"] [2025/04/04 12:46:58.899 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=202] [neededSchemaVersion=203] ["elapsed time"=1.257212ms] [gotSchemaVersion=203] [phyTblIDs="[283]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 12:46:58.902 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=285] [version=203] [2025/04/04 12:46:58.905 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=203] ["take time"=9.32998ms] [job="ID:285, Type:drop table, State:done, SchemaState:none, SchemaID:278, TableID:283, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:58.794 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:58.915 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=285] [tableIDs="[283]"] [comment="drop table: table ID"] [2025/04/04 12:46:58.919 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=285] [jobType="drop table"] [2025/04/04 12:46:58.920 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=285] [conn=2] [job="ID:285, Type:drop table, State:synced, SchemaState:none, SchemaID:278, TableID:283, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:58.794 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:58.938 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=285] [2025/04/04 12:46:58.938 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=203] [cur_db=load_data] [sql="drop table if exists t;"] [user=root@%] [2025/04/04 12:46:58.951 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:287, Type:create table, State:queueing, SchemaState:none, SchemaID:278, TableID:286, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:58.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:46:58.951 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:287, Type:create table, State:queueing, SchemaState:none, SchemaID:278, TableID:286, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:58.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100), c int);"] [2025/04/04 12:46:58.956 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=287] [conn=2] [job="ID:287, Type:create table, State:queueing, SchemaState:none, SchemaID:278, TableID:286, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:58.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:58.961 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 286, Table Name: t)"] [2025/04/04 12:46:58.976 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=203] [neededSchemaVersion=204] ["elapsed time"=1.741092ms] [gotSchemaVersion=204] [phyTblIDs="[286]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:46:58.979 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=287] [version=204] [2025/04/04 12:46:58.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=204] ["take time"=8.461648ms] [job="ID:287, Type:create table, State:done, SchemaState:public, SchemaID:278, TableID:286, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:58.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:58.992 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=287] [conn=2] [job="ID:287, Type:create table, State:synced, SchemaState:public, SchemaID:278, TableID:286, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:58.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:46:59.003 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=287] [2025/04/04 12:46:59.004 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=204] [cur_db=load_data] [sql="create table t (a bigint, b varchar(100), c int);"] [user=root@%] [2025/04/04 12:46:59.010 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:59.061 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"columns-and-vars\":\"(`a`, `b`, @`1`)\",\"set-clause\":\"`c`=COALESCE(@`1`, 100)\",\"file-location\":\"gs://test-multi-load/input-cnt-mismatch.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/04 12:46:59.087 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=52] [task-id=52] [data-size=24B] [thread-cnt=26] [global-sort=false] [2025/04/04 12:46:59.103 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=52] [2025/04/04 12:46:59.103 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=52] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/04 12:46:59.206 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=52] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 12:46:59.207 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=52] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:46:59.208 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=52] [curr-step=init] [next-step=import] [2025/04/04 12:46:59.216 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:59.219 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 12:46:59.219 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=24] [2025/04/04 12:46:59.219 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=24] [cost=68.381µs] [2025/04/04 12:46:59.219 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=192.003µs] [] [2025/04/04 12:46:59.219 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=52] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 12:46:59.219 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=52] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/04 12:46:59.254 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=52] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 12:46:59.274 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=52] [step=import] [2025/04/04 12:46:59.275 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:46:59.283 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:46:59.283 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 12:46:59.283 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:46:59.284 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:46:59.284 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:46:59.284 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:46:59.284 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:46:59.284 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:46:59.285 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:46:59.285 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:46:59.298 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:46:59.300 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 12:46:59.300 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 12:46:59.300 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=52] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 12:46:59.300 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=52] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 12:46:59.300 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=52] [disk-quota=348.5GiB] [2025/04/04 12:46:59.308 +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/04 12:46:59.308 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=52] [step=import] [subtask-id=99] [2025/04/04 12:46:59.312 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 12:46:59.313 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=52] [mode=Import] [2025/04/04 12:46:59.316 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 12:46:59.316 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=286] [2025/04/04 12:46:59.334 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=52] [2025/04/04 12:46:59.357 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=286] [key=input-cnt-mismatch.csv:0] [2025/04/04 12:46:59.359 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=286] [key=input-cnt-mismatch.csv:0] [readDur=998.812µs] [encodeDur=416.112µs] [checksum="{cksum=4856294282864387256,size=82,kvs=2}"] [deliverDur=268.346µs] [type=file] [takeTime=2.050166ms] [] [2025/04/04 12:46:59.360 +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/5dbec290-3478-4733-a967-c44b195eea7c.sst] [firstKey=74800000000000011E5F728000000000000001] [lastKey=74800000000000011E5F728000000000000002] [2025/04/04 12:46:59.360 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=52] [step=import] [engine-id=0] [2025/04/04 12:46:59.360 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=52] [step=import] [engine-id=0] [2025/04/04 12:46:59.360 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 12:46:59.363 +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.005353ms] [] [2025/04/04 12:46:59.363 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [retryCnt=0] [2025/04/04 12:46:59.367 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:46:59.388 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] ["region ranges"=1] [count=2] [size=82] [2025/04/04 12:46:59.389 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:46:59.391 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000011e5f728000000000000001] [endOfAllRanges=74800000000000011e5f728000000000000003] [startKeyOfFirstRegion=7480000000000001ff1e5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff1e5f728000000000ff0000030000000000fa] [2025/04/04 12:46:59.402 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] [size=82] [kvs=2] [importedSize=82] [importedCount=2] [2025/04/04 12:46:59.404 +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.636864ms] [] [2025/04/04 12:46:59.404 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 12:46:59.406 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=1.543515ms] [] [2025/04/04 12:46:59.406 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=52] [step=import] [engine-id=0] [2025/04/04 12:46:59.406 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 12:46:59.408 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=2.044529ms] [] [2025/04/04 12:46:59.408 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [retryCnt=0] [2025/04/04 12:46:59.412 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 12:46:59.412 +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.672847ms] [] [2025/04/04 12:46:59.412 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 12:46:59.413 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=952.056µs] [] [2025/04/04 12:46:59.413 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=52] [step=import] [subtask-id=99] [takeTime=104.877499ms] [] [2025/04/04 12:46:59.413 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=52] [task-type=ImportInto] [server-id=:4000] [subtaskID=99] [step=import] [takeTime=105.030862ms] [] [2025/04/04 12:46:59.510 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=52] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 12:46:59.512 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=52] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:46:59.513 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=52] [curr-step=import] [next-step=post-process] [2025/04/04 12:46:59.513 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=52] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 12:46:59.544 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=52] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/04 12:46:59.545 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=52] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 12:46:59.545 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=52] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=26] [subtasks=1] [2025/04/04 12:46:59.561 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=52] [task-type=ImportInto] [server-id=:4000] [2025/04/04 12:46:59.562 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=52] [step=import] [2025/04/04 12:46:59.565 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:46:59.565 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:46:59.565 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:46:59.565 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:46:59.565 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:46:59.565 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:46:59.565 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:46:59.565 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:59.565 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:59.565 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:59.565 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:46:59.565 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-51] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:46:59.568 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:46:59.568 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:46:59.568 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:46:59.568 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:46:59.568 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=52] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=267.589527ms] [] [2025/04/04 12:46:59.568 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=52] [type=ImportInto] [2025/04/04 12:46:59.583 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=52] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 12:46:59.604 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=52] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 12:46:59.612 +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/04 12:46:59.612 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=52] [step=post-process] [subtask-id=100] [2025/04/04 12:46:59.612 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=52] [step=post-process] [subtask-id=100] [2025/04/04 12:46:59.612 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=52] [step=post-process] [subtask-id=100] [2025/04/04 12:46:59.620 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=52] [step=post-process] [subtask-id=100] [takeTime=7.996806ms] [] [2025/04/04 12:46:59.620 +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/04 12:46:59.620 +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/04 12:46:59.620 +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/04 12:46:59.620 +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/04 12:46:59.622 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=286] [physicalTableID=286] [indexID=-1] [checksum=4856294282864387256] [totalKvs=2] [totalBytes=82] [2025/04/04 12:46:59.623 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 12:46:59.623 +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/04 12:46:59.623 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=52] [step=post-process] [subtask-id=100] [takeTime=10.747955ms] [] [2025/04/04 12:46:59.623 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=52] [step=post-process] [subtask-id=100] [takeTime=10.889949ms] [] [2025/04/04 12:46:59.623 +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=11.499058ms] [] [2025/04/04 12:46:59.640 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 12:46:59.710 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=52] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 12:46:59.710 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=52] [step=post-process] [state=running] [] [2025/04/04 12:46:59.712 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=52] [2025/04/04 12:46:59.741 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=52] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=136.894801ms] [] [2025/04/04 12:46:59.741 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=52] [type=ImportInto] [2025/04/04 12:46:59.805 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=52] [2025/04/04 12:46:59.811 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 12:46:59.811 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=52] [2025/04/04 12:46:59.833 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 12:47:00.003 +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.998548358\n# Parse_time: 0.000258538\n# Compile_time: 0.000567101\n# Rewrite_time: 0.000155533\n# Optimize_time: 0.00027935\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('SfBIMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5Ny40bXMsIG9wZW46ODgybnMsIGNsb3NlOjEuMsK1cywgbG9vcHM6MglOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('ZPBPCmAKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi90aW1lOjk5Ny40bXMsIG9wZW46ODgybnMsIGNsb3NlOjEuMsK1cywgbG9vcHM6MnD///8JAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.00003438\nIMPORT INTO `load_data`.`t` (`a`,`b`,@`1`) SET `c`=COALESCE(@`1`, 100) FROM 'gs://test-multi-load/input-cnt-mismatch.csv?endpoint=http://127.0.0.1:4443/storage/v1/';"] --- PASS: TestImportInto/TestInputCountMisMatchAndDefault (3.35s) === NAME TestImportInto === RUN TestImportInto/TestInputNull [2025/04/04 12:47:00.018 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:288, Type:drop schema, State:queueing, SchemaState:public, SchemaID:278, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:59.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop database if exists load_data"] [2025/04/04 12:47:00.018 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:288, Type:drop schema, State:queueing, SchemaState:public, SchemaID:278, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:59.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:47:00.023 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=288] [conn=2] [job="ID:288, Type:drop schema, State:queueing, SchemaState:public, SchemaID:278, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:59.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:00.040 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=204] [neededSchemaVersion=205] ["elapsed time"=1.755124ms] [gotSchemaVersion=205] [phyTblIDs="[286]"] [actionTypes="[2]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 12:47:00.043 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=288] [version=205] [2025/04/04 12:47: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=205] ["take time"=8.675185ms] [job="ID:288, Type:drop schema, State:running, SchemaState:write only, SchemaID:278, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:59.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:00.054 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=288] [conn=2] [job="ID:288, Type:drop schema, State:running, SchemaState:write only, SchemaID:278, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:59.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:00.065 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=205] [neededSchemaVersion=206] ["elapsed time"=136.576µs] [gotSchemaVersion=206] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 12:47:00.069 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=288] [version=206] [2025/04/04 12:47:00.070 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=206] ["take time"=6.533637ms] [job="ID:288, Type:drop schema, State:running, SchemaState:delete only, SchemaID:278, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:59.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:00.078 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=288] [conn=2] [job="ID:288, Type:drop schema, State:running, SchemaState:delete only, SchemaID:278, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:46:59.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:00.083 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/04 12:47:00.094 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=206] [neededSchemaVersion=207] ["elapsed time"=136.049µs] [gotSchemaVersion=207] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 12:47:00.098 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=288] [version=207] [2025/04/04 12:47:00.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=207] ["take time"=8.415632ms] [job="ID:288, Type:drop schema, State:done, SchemaState:none, SchemaID:278, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:59.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:00.107 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=288] [tableIDs="[286]"] [comment="drop schema: table IDs"] [2025/04/04 12:47:00.112 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=288] [jobType="drop schema"] [2025/04/04 12:47:00.112 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=288] [conn=2] [job="ID:288, Type:drop schema, State:synced, SchemaState:none, SchemaID:278, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:46:59.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:00.128 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=288] [2025/04/04 12:47:00.128 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=207] [cur_db=] [sql="drop database if exists load_data"] [user=root@%] [2025/04/04 12:47:00.139 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:290, Type:create schema, State:queueing, SchemaState:none, SchemaID:289, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:00.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:47:00.139 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:290, Type:create schema, State:queueing, SchemaState:none, SchemaID:289, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:00.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database load_data"] [2025/04/04 12:47:00.144 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=290] [conn=2] [job="ID:290, Type:create schema, State:queueing, SchemaState:none, SchemaID:289, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:00.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:00.157 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=207] [neededSchemaVersion=208] ["elapsed time"=683.157µs] [gotSchemaVersion=208] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 12:47:00.160 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=290] [version=208] [2025/04/04 12:47: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=208] ["take time"=7.109314ms] [job="ID:290, Type:create schema, State:done, SchemaState:public, SchemaID:289, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:00.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:00.171 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=290] [conn=2] [job="ID:290, Type:create schema, State:synced, SchemaState:public, SchemaID:289, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:00.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:00.180 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=290] [2025/04/04 12:47:00.181 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=208] [cur_db=] [sql="create database load_data"] [user=root@%] [2025/04/04 12:47:00.182 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=208] [cur_db=load_data] [sql="drop table if exists t;"] [user=root@%] [2025/04/04 12:47:00.196 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:292, Type:create table, State:queueing, SchemaState:none, SchemaID:289, TableID:291, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:00.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:47:00.196 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:292, Type:create table, State:queueing, SchemaState:none, SchemaID:289, TableID:291, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:00.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100), c int);"] [2025/04/04 12:47:00.202 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=292] [conn=2] [job="ID:292, Type:create table, State:queueing, SchemaState:none, SchemaID:289, TableID:291, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:00.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:00.206 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 291, Table Name: t)"] [2025/04/04 12:47:00.221 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=208] [neededSchemaVersion=209] ["elapsed time"=1.682655ms] [gotSchemaVersion=209] [phyTblIDs="[291]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:47:00.225 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=292] [version=209] [2025/04/04 12:47:00.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=209] ["take time"=7.904347ms] [job="ID:292, Type:create table, State:done, SchemaState:public, SchemaID:289, TableID:291, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:00.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:00.236 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=292] [conn=2] [job="ID:292, Type:create table, State:synced, SchemaState:public, SchemaID:289, TableID:291, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:00.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:00.247 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=292] [2025/04/04 12:47:00.247 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=209] [cur_db=load_data] [sql="create table t (a bigint, b varchar(100), c int);"] [user=root@%] [2025/04/04 12:47:00.253 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:47:00.298 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-multi-load/nil-input.tsv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"fields_terminated_by\":\"\\t\"}}"] [dist-task-enabled=true] [2025/04/04 12:47:00.316 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=53] [task-id=53] [data-size=18B] [thread-cnt=26] [global-sort=false] [2025/04/04 12:47:00.329 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=53] [2025/04/04 12:47:00.329 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=53] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/04 12:47:00.431 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=53] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 12:47:00.432 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=53] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:47:00.433 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=53] [curr-step=init] [next-step=import] [2025/04/04 12:47:00.442 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:47:00.445 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 12:47:00.445 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=18] [2025/04/04 12:47:00.445 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=18] [cost=58.671µs] [2025/04/04 12:47:00.445 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=173.453µs] [] [2025/04/04 12:47:00.445 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=53] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 12:47:00.445 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=53] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/04 12:47:00.481 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=53] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 12:47:00.501 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=53] [step=import] [2025/04/04 12:47:00.502 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:47:00.509 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:47:00.509 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 12:47:00.510 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:47:00.510 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:47:00.510 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:47:00.510 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:47:00.510 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:47:00.510 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:47:00.510 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:47:00.511 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:47:00.522 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:47:00.523 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 12:47:00.524 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 12:47:00.524 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=53] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 12:47:00.524 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=53] [disk-quota=348.5GiB] [2025/04/04 12:47:00.524 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=53] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 12:47:00.531 +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/04 12:47:00.531 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=53] [step=import] [subtask-id=101] [2025/04/04 12:47:00.534 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 12:47:00.537 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=53] [mode=Import] [2025/04/04 12:47:00.538 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 12:47:00.538 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=291] [2025/04/04 12:47:00.555 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=53] [2025/04/04 12:47:00.558 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=291] [key=nil-input.tsv:0] [2025/04/04 12:47:00.560 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=291] [key=nil-input.tsv:0] [readDur=861.601µs] [encodeDur=254.307µs] [checksum="{cksum=18253638469051024344,size=74,kvs=2}"] [deliverDur=207.721µs] [type=file] [takeTime=1.561631ms] [] [2025/04/04 12:47:00.561 +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/3f97fd71-37c4-470b-bc07-f314e58e74c0.sst] [firstKey=7480000000000001235F728000000000000001] [lastKey=7480000000000001235F728000000000000002] [2025/04/04 12:47:00.561 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=53] [step=import] [engine-id=0] [2025/04/04 12:47:00.561 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=53] [step=import] [engine-id=0] [2025/04/04 12:47:00.561 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 12:47:00.563 +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.014841ms] [] [2025/04/04 12:47:00.563 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [retryCnt=0] [2025/04/04 12:47:00.567 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:47:00.588 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] ["region ranges"=1] [count=2] [size=74] [2025/04/04 12:47:00.589 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:47:00.590 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001235f728000000000000001] [endOfAllRanges=7480000000000001235f728000000000000003] [startKeyOfFirstRegion=7480000000000001ff235f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff235f728000000000ff0000030000000000fa] [2025/04/04 12:47:00.601 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] [size=74] [kvs=2] [importedSize=74] [importedCount=2] [2025/04/04 12:47:00.603 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [retryCnt=0] [takeTime=39.729457ms] [] [2025/04/04 12:47:00.603 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 12:47:00.604 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=1.035028ms] [] [2025/04/04 12:47:00.604 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=53] [step=import] [engine-id=0] [2025/04/04 12:47:00.604 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 12:47:00.605 +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.367602ms] [] [2025/04/04 12:47:00.605 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [retryCnt=0] [2025/04/04 12:47:00.609 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 12:47:00.609 +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.353207ms] [] [2025/04/04 12:47:00.609 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 12:47:00.610 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=861.579µs] [] [2025/04/04 12:47:00.610 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=53] [step=import] [subtask-id=101] [takeTime=79.037768ms] [] [2025/04/04 12:47:00.610 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=53] [task-type=ImportInto] [server-id=:4000] [subtaskID=101] [step=import] [takeTime=79.189167ms] [] [2025/04/04 12:47:00.637 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=53] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 12:47:00.638 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=53] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:47:00.639 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=53] [curr-step=import] [next-step=post-process] [2025/04/04 12:47:00.639 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=53] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 12:47:00.668 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=53] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/04 12:47:00.669 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=53] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 12:47:00.669 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=53] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=26] [subtasks=1] [2025/04/04 12:47:00.691 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=53] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 12:47:00.697 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=53] [step=import] [2025/04/04 12:47:00.700 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:47:00.700 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:47:00.700 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:47:00.700 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:47:00.700 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:47:00.700 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:47:00.700 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:47:00.700 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:47:00.700 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-52] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:47:00.700 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:47:00.700 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:47:00.700 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:47:00.702 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:47:00.702 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:47:00.702 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:47:00.702 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:47:00.702 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=53] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=178.742239ms] [] [2025/04/04 12:47:00.704 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=53] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 12:47:00.711 +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/04 12:47:00.711 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=53] [step=post-process] [subtask-id=102] [2025/04/04 12:47:00.711 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=53] [step=post-process] [subtask-id=102] [2025/04/04 12:47:00.711 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=53] [step=post-process] [subtask-id=102] [2025/04/04 12:47:00.717 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=53] [step=post-process] [subtask-id=102] [takeTime=5.455225ms] [] [2025/04/04 12:47:00.717 +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/04 12:47:00.717 +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/04 12:47:00.717 +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/04 12:47:00.717 +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/04 12:47:00.719 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=291] [physicalTableID=291] [indexID=-1] [checksum=18253638469051024344] [totalKvs=2] [totalBytes=74] [2025/04/04 12:47:00.719 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 12:47:00.719 +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/04 12:47:00.719 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=53] [step=post-process] [subtask-id=102] [takeTime=8.153434ms] [] [2025/04/04 12:47:00.719 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=53] [step=post-process] [subtask-id=102] [takeTime=8.295743ms] [] [2025/04/04 12:47:00.719 +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.425733ms] [] [2025/04/04 12:47:00.732 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 12:47:00.737 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=53] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 12:47:00.737 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=53] [step=post-process] [state=running] [] [2025/04/04 12:47:00.739 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=53] [2025/04/04 12:47:00.764 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=53] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=60.411631ms] [] [2025/04/04 12:47:00.764 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=53] [type=ImportInto] [2025/04/04 12:47:00.832 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=53] [2025/04/04 12:47:00.838 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 12:47:00.838 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=53] [2025/04/04 12:47:00.859 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 12:47:00.932 +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.685051865\n# Parse_time: 0.00008749\n# Compile_time: 0.000515126\n# Rewrite_time: 0.000146987\n# Optimize_time: 0.000252399\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('SvBJMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY4NC4ybXMsIG9wZW46NzA3bnMsIGNsb3NlOjEuMDHCtXMsIGxvb3BzOjIJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('ZfBSCmEKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWjB0aW1lOjY4NC4ybXMsIG9wZW46NzA3bnMsIGNsb3NlOjEuMDHCtXMsIGxvb3BzOjJw//////8BAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.00003438\nuse load_data;\nIMPORT INTO `load_data`.`t` FROM 'gs://test-multi-load/nil-input.tsv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH fields_terminated_by=_UTF8MB4' ';"] [2025/04/04 12:47:00.952 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:294, Type:truncate table, State:queueing, SchemaState:none, SchemaID:289, TableID:291, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:00.894 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:47:00.952 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:294, Type:truncate table, State:queueing, SchemaState:none, SchemaID:289, TableID:291, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:00.894 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table t"] [2025/04/04 12:47:00.957 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=294] [conn=2] [job="ID:294, Type:truncate table, State:queueing, SchemaState:none, SchemaID:289, TableID:291, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:00.894 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:00.965 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 293, Table Name: t, Old Table ID: 291, Old Table Name: t)"] [2025/04/04 12:47:00.980 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=209] [neededSchemaVersion=210] ["elapsed time"=1.822181ms] [gotSchemaVersion=210] [phyTblIDs="[291,293]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 12:47:00.984 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=294] [version=210] [2025/04/04 12:47:00.986 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=210] ["take time"=8.830037ms] [job="ID:294, Type:truncate table, State:done, SchemaState:public, SchemaID:289, TableID:291, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:00.894 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:00.996 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=294] [tableIDs="[291]"] [comment="truncate table: table ID"] [2025/04/04 12:47:01.000 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=294] [jobType="truncate table"] [2025/04/04 12:47:01.001 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=294] [conn=2] [job="ID:294, Type:truncate table, State:synced, SchemaState:public, SchemaID:289, TableID:291, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:00.894 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:01.020 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=294] [2025/04/04 12:47:01.021 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=210] [cur_db=load_data] [sql="truncate table t"] [user=root@%] [2025/04/04 12:47:01.028 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:47:01.077 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"columns-and-vars\":\"(`a`, @`1`, `c`)\",\"set-clause\":\"`b`=COALESCE(@`1`, _UTF8MB4'def')\",\"file-location\":\"gs://test-multi-load/nil-input.tsv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"fields_terminated_by\":\"\\t\"}}"] [dist-task-enabled=true] [2025/04/04 12:47:01.099 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=54] [task-id=54] [data-size=18B] [thread-cnt=26] [global-sort=false] [2025/04/04 12:47:01.112 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=54] [2025/04/04 12:47:01.112 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=54] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/04 12:47:01.214 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=54] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 12:47:01.216 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=54] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:47:01.217 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=54] [curr-step=init] [next-step=import] [2025/04/04 12:47:01.225 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:47:01.227 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 12:47:01.227 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=18] [2025/04/04 12:47:01.227 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=18] [cost=50.902µs] [2025/04/04 12:47:01.227 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=139.492µs] [] [2025/04/04 12:47:01.227 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=54] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 12:47:01.227 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=54] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/04 12:47:01.263 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=54] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 12:47:01.283 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=54] [step=import] [2025/04/04 12:47:01.283 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:47:01.291 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:47:01.291 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 12:47:01.291 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:47:01.292 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:47:01.292 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:47:01.292 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:47:01.292 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:47:01.292 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:47:01.292 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:47:01.293 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:47:01.305 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:47:01.306 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 12:47:01.307 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 12:47:01.307 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=54] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 12:47:01.307 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=54] [disk-quota=348.5GiB] [2025/04/04 12:47:01.307 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=54] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 12:47:01.314 +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/04 12:47:01.314 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=54] [step=import] [subtask-id=103] [2025/04/04 12:47:01.318 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 12:47:01.321 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=54] [mode=Import] [2025/04/04 12:47:01.321 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 12:47:01.321 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=293] [2025/04/04 12:47:01.336 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=293] [key=nil-input.tsv:0] [2025/04/04 12:47:01.338 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=293] [key=nil-input.tsv:0] [readDur=960.648µs] [encodeDur=303.533µs] [checksum="{cksum=5368846511036415957,size=80,kvs=2}"] [deliverDur=191.584µs] [type=file] [takeTime=1.734416ms] [] [2025/04/04 12:47:01.339 +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/d74b7fa0-b9d3-446c-8e79-bd6e0816848c.sst] [firstKey=7480000000000001255F728000000000000001] [lastKey=7480000000000001255F728000000000000002] [2025/04/04 12:47:01.339 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=54] [step=import] [engine-id=0] [2025/04/04 12:47:01.339 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=54] [step=import] [engine-id=0] [2025/04/04 12:47:01.339 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 12:47:01.340 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=54] [2025/04/04 12:47:01.341 +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.00264ms] [] [2025/04/04 12:47:01.341 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [retryCnt=0] [2025/04/04 12:47:01.345 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:47:01.366 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] ["region ranges"=1] [count=2] [size=80] [2025/04/04 12:47:01.367 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:47:01.368 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001255f728000000000000001] [endOfAllRanges=7480000000000001255f728000000000000003] [startKeyOfFirstRegion=7480000000000001ff255f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff255f728000000000ff0000030000000000fa] [2025/04/04 12:47:01.380 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] [size=80] [kvs=2] [importedSize=80] [importedCount=2] [2025/04/04 12:47:01.381 +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.472821ms] [] [2025/04/04 12:47:01.382 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 12:47:01.383 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=1.230641ms] [] [2025/04/04 12:47:01.383 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=54] [step=import] [engine-id=0] [2025/04/04 12:47:01.383 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 12:47:01.384 +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.492398ms] [] [2025/04/04 12:47:01.384 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [retryCnt=0] [2025/04/04 12:47:01.388 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 12:47:01.388 +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.584812ms] [] [2025/04/04 12:47:01.388 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 12:47:01.389 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=968.218µs] [] [2025/04/04 12:47:01.389 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=54] [step=import] [subtask-id=103] [takeTime=74.978611ms] [] [2025/04/04 12:47:01.389 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=54] [task-type=ImportInto] [server-id=:4000] [subtaskID=103] [step=import] [takeTime=75.117373ms] [] [2025/04/04 12:47:01.419 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=54] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 12:47:01.421 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=54] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:47:01.423 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=54] [curr-step=import] [next-step=post-process] [2025/04/04 12:47:01.423 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=54] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 12:47:01.454 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=54] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/04 12:47:01.456 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=54] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 12:47:01.456 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=54] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=26] [subtasks=1] [2025/04/04 12:47:01.492 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=54] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 12:47:01.499 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=54] [step=import] [2025/04/04 12:47:01.502 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:47:01.502 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:47:01.502 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:47:01.502 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:47:01.502 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:47:01.502 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:47:01.502 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:47:01.502 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:47:01.502 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-53] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:47:01.502 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:47:01.502 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:47:01.502 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:47:01.505 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:47:01.505 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:47:01.505 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:47:01.505 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:47:01.505 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=54] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=198.097021ms] [] [2025/04/04 12:47:01.506 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=54] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 12:47:01.514 +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/04 12:47:01.514 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=54] [step=post-process] [subtask-id=104] [2025/04/04 12:47:01.514 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=54] [step=post-process] [subtask-id=104] [2025/04/04 12:47:01.514 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=54] [step=post-process] [subtask-id=104] [2025/04/04 12:47:01.521 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=54] [step=post-process] [subtask-id=104] [takeTime=6.50115ms] [] [2025/04/04 12:47:01.521 +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/04 12:47:01.521 +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/04 12:47:01.521 +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/04 12:47:01.521 +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/04 12:47:01.523 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=293] [physicalTableID=293] [indexID=-1] [checksum=5368846511036415957] [totalKvs=2] [totalBytes=80] [2025/04/04 12:47:01.523 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 12:47:01.523 +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/04 12:47:01.523 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=54] [step=post-process] [subtask-id=104] [takeTime=9.301941ms] [] [2025/04/04 12:47:01.524 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=54] [step=post-process] [subtask-id=104] [takeTime=9.470086ms] [] [2025/04/04 12:47:01.524 +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=9.639239ms] [] [2025/04/04 12:47:01.550 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 12:47:01.619 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=54] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 12:47:01.619 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=54] [step=post-process] [state=running] [] [2025/04/04 12:47:01.621 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=54] [2025/04/04 12:47:01.642 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=54] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=135.837739ms] [] [2025/04/04 12:47:01.642 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=54] [type=ImportInto] [2025/04/04 12:47:01.714 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=54] [2025/04/04 12:47:01.715 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# User@Host: root[root] @ localhost [localhost]\n# Conn_ID: 2\n# Query_time: 0.69411426\n# Parse_time: 0.000188255\n# Compile_time: 0.00063872\n# Rewrite_time: 0.00017817\n# Optimize_time: 0.000266023\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY5M21zLCBvcGVuOjYyMW5zLCBjbG9zZToxLjU0wrVzLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY5M21zLCBvcGVuOjYyMW5zLCBjbG9zZToxLjU0wrVzLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.00003438\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 (1.71s) === NAME TestImportInto === RUN TestImportInto/TestJobFailWhenDispatchSubtask [2025/04/04 12:47:01.720 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 12:47:01.720 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=54] [2025/04/04 12:47:01.720 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=210] [cur_db=load_data] [sql="drop database if exists fail_job_after_import"] [user=root@%] [2025/04/04 12:47:01.732 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:296, Type:create schema, State:queueing, SchemaState:none, SchemaID:295, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:01.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:47:01.732 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:296, Type:create schema, State:queueing, SchemaState:none, SchemaID:295, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:01.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database fail_job_after_import"] [2025/04/04 12:47:01.738 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=296] [conn=2] [job="ID:296, Type:create schema, State:queueing, SchemaState:none, SchemaID:295, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:01.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:01.742 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 12:47:01.752 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=210] [neededSchemaVersion=211] ["elapsed time"=709.881µs] [gotSchemaVersion=211] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 12:47:01.756 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=296] [version=211] [2025/04/04 12:47:01.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=211] ["take time"=8.019253ms] [job="ID:296, Type:create schema, State:done, SchemaState:public, SchemaID:295, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:01.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:01.768 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=296] [conn=2] [job="ID:296, Type:create schema, State:synced, SchemaState:public, SchemaID:295, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:01.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:01.778 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=296] [2025/04/04 12:47:01.778 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=211] [cur_db=load_data] [sql="create database fail_job_after_import"] [user=root@%] [2025/04/04 12:47:01.791 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:298, Type:create table, State:queueing, SchemaState:none, SchemaID:295, TableID:297, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:01.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:47:01.791 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:298, Type:create table, State:queueing, SchemaState:none, SchemaID:295, TableID:297, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:01.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t1 (i INT PRIMARY KEY);"] [2025/04/04 12:47:01.796 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=298] [conn=2] [job="ID:298, Type:create table, State:queueing, SchemaState:none, SchemaID:295, TableID:297, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:01.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:01.801 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 297, Table Name: t1)"] [2025/04/04 12:47:01.815 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=211] [neededSchemaVersion=212] ["elapsed time"=1.545591ms] [gotSchemaVersion=212] [phyTblIDs="[297]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:47:01.818 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=298] [version=212] [2025/04/04 12:47:01.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=212] ["take time"=8.244355ms] [job="ID:298, Type:create table, State:done, SchemaState:public, SchemaID:295, TableID:297, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:01.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:01.831 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=298] [conn=2] [job="ID:298, Type:create table, State:synced, SchemaState:public, SchemaID:295, TableID:297, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:01.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:01.841 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=298] [2025/04/04 12:47:01.841 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=212] [cur_db=fail_job_after_import] [sql="CREATE TABLE t1 (i INT PRIMARY KEY);"] [user=root@%] [2025/04/04 12:47:01.848 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:47:01.895 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://fail_job_after_import/t.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/04 12:47:01.913 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=55] [task-id=55] [data-size=3B] [thread-cnt=26] [global-sort=false] [2025/04/04 12:47:01.926 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=55] [2025/04/04 12:47:01.926 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=55] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/04 12:47:02.028 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=55] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 12:47:02.029 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=55] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:47:02.030 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=55] [curr-step=init] [next-step=import] [2025/04/04 12:47:02.037 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:47:02.039 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t1] [2025/04/04 12:47:02.039 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t1] [before=536870912000] [after=3] [2025/04/04 12:47:02.039 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t1] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=3] [cost=52.655µs] [2025/04/04 12:47:02.039 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t1] [takeTime=160.195µs] [] [2025/04/04 12:47:02.039 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=55] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 12:47:02.039 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=55] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/04 12:47:02.073 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=55] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 12:47:02.093 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=55] [step=import] [2025/04/04 12:47:02.093 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:47:02.101 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:47:02.101 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 12:47:02.102 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:47:02.102 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:47:02.102 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:47:02.102 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:47:02.102 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:47:02.102 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:47:02.103 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:47:02.103 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:47:02.115 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:47:02.117 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 12:47:02.117 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t1] [quota=374.2GB] [2025/04/04 12:47:02.117 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=55] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 12:47:02.117 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t1] [import-id=55] [disk-quota=348.5GiB] [2025/04/04 12:47:02.117 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=55] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 12:47:02.125 +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/04 12:47:02.125 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=55] [step=import] [subtask-id=105] [2025/04/04 12:47:02.129 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`fail_job_after_import`.`t1`:0] [engineUUID=3c229875-a87b-5dfa-aef9-0ffcec4d91ae] [2025/04/04 12:47:02.132 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`fail_job_after_import`.`t1`:-1] [engineUUID=d169a211-a2c0-545c-894b-6412e8ed0fb5] [2025/04/04 12:47:02.133 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=297] [2025/04/04 12:47:02.134 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=55] [mode=Import] [2025/04/04 12:47:02.162 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=55] [2025/04/04 12:47:02.193 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=297] [key=t.csv:0] [2025/04/04 12:47:02.194 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=297] [key=t.csv:0] [readDur=824.474µs] [encodeDur=242.114µs] [checksum="{cksum=7435750759411199284,size=50,kvs=2}"] [deliverDur=164.853µs] [type=file] [takeTime=1.490447ms] [] [2025/04/04 12:47:02.195 +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/bc8eb434-49c2-4fda-8452-4be5e72a9566.sst] [firstKey=7480000000000001295F728000000000000001] [lastKey=7480000000000001295F728000000000000002] [2025/04/04 12:47:02.195 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=55] [step=import] [engine-id=0] [2025/04/04 12:47:02.195 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=55] [step=import] [engine-id=0] [2025/04/04 12:47:02.195 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`fail_job_after_import`.`t1`:0] [engineUUID=3c229875-a87b-5dfa-aef9-0ffcec4d91ae] [2025/04/04 12:47:02.198 +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.636698ms] [] [2025/04/04 12:47:02.198 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`fail_job_after_import`.`t1`:0] [engineUUID=3c229875-a87b-5dfa-aef9-0ffcec4d91ae] [retryCnt=0] [2025/04/04 12:47:02.202 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:47:02.224 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=3c229875-a87b-5dfa-aef9-0ffcec4d91ae] ["region ranges"=1] [count=2] [size=50] [2025/04/04 12:47:02.224 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:47:02.226 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001295f728000000000000001] [endOfAllRanges=7480000000000001295f728000000000000003] [startKeyOfFirstRegion=7480000000000001ff295f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff295f728000000000ff0000030000000000fa] [2025/04/04 12:47:02.237 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=3c229875-a87b-5dfa-aef9-0ffcec4d91ae] [size=50] [kvs=2] [importedSize=50] [importedCount=2] [2025/04/04 12:47:02.238 +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.260579ms] [] [2025/04/04 12:47:02.238 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`fail_job_after_import`.`t1`:0] [engineUUID=3c229875-a87b-5dfa-aef9-0ffcec4d91ae] [2025/04/04 12:47:02.240 +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.037194ms] [] [2025/04/04 12:47:02.240 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=55] [step=import] [engine-id=0] [2025/04/04 12:47:02.240 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`fail_job_after_import`.`t1`:-1] [engineUUID=d169a211-a2c0-545c-894b-6412e8ed0fb5] [2025/04/04 12:47:02.241 +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.338347ms] [] [2025/04/04 12:47:02.241 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`fail_job_after_import`.`t1`:-1] [engineUUID=d169a211-a2c0-545c-894b-6412e8ed0fb5] [retryCnt=0] [2025/04/04 12:47:02.245 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=d169a211-a2c0-545c-894b-6412e8ed0fb5] [2025/04/04 12:47:02.245 +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.51279ms] [] [2025/04/04 12:47:02.245 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`fail_job_after_import`.`t1`:-1] [engineUUID=d169a211-a2c0-545c-894b-6412e8ed0fb5] [2025/04/04 12:47:02.246 +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=830.689µs] [] [2025/04/04 12:47:02.246 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=55] [step=import] [subtask-id=105] [takeTime=120.46111ms] [] [2025/04/04 12:47:02.247 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=55] [task-type=ImportInto] [server-id=:4000] [subtaskID=105] [step=import] [takeTime=121.606039ms] [] [2025/04/04 12:47:02.332 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=55] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 12:47:02.333 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=55] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:47:02.334 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=55] [curr-step=import] [next-step=post-process] [2025/04/04 12:47:02.334 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=55] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 12:47:02.352 +00:00] [WARN] [scheduler.go:486] ["generate part of subtasks failed"] [task-id=55] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [error="injected error after ImportStepImport"] [errorVerbose="injected error after ImportStepImport\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importScheduler).OnNextSubtasksBatch\n\tpkg/disttask/importinto/scheduler.go:324\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).switch2NextStep\n\tpkg/disttask/framework/scheduler/scheduler.go:484\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).onRunning\n\tpkg/disttask/framework/scheduler/scheduler.go:394\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).scheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:247\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).ScheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:121\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*Manager).startScheduler.func1\n\tpkg/disttask/framework/scheduler/scheduler_manager.go:357\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:47:02.353 +00:00] [WARN] [scheduler.go:571] ["generate plan failed"] [task-id=55] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [error="injected error after ImportStepImport"] [errorVerbose="injected error after ImportStepImport\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importScheduler).OnNextSubtasksBatch\n\tpkg/disttask/importinto/scheduler.go:324\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).switch2NextStep\n\tpkg/disttask/framework/scheduler/scheduler.go:484\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).onRunning\n\tpkg/disttask/framework/scheduler/scheduler.go:394\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).scheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:247\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).ScheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:121\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*Manager).startScheduler.func1\n\tpkg/disttask/framework/scheduler/scheduler_manager.go:357\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [state=running] [2025/04/04 12:47:02.364 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=55] [step=import] [2025/04/04 12:47:02.367 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:47:02.367 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:47:02.367 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:47:02.367 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:47:02.367 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:47:02.367 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:47:02.367 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:47:02.367 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:47:02.367 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:47:02.367 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:47:02.367 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-54] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:47:02.367 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:47:02.369 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:47:02.369 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:47:02.369 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:47:02.369 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:47:02.369 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=55] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=251.857264ms] [] [2025/04/04 12:47:02.369 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=55] [type=ImportInto] [2025/04/04 12:47:02.433 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=55] [step=import] [state=reverting] [error="injected error after ImportStepImport"] [errorVerbose="injected error after ImportStepImport\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importScheduler).OnNextSubtasksBatch\n\tpkg/disttask/importinto/scheduler.go:324\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).switch2NextStep\n\tpkg/disttask/framework/scheduler/scheduler.go:484\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).onRunning\n\tpkg/disttask/framework/scheduler/scheduler.go:394\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).scheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:247\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).ScheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:121\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*Manager).startScheduler.func1\n\tpkg/disttask/framework/scheduler/scheduler_manager.go:357\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:47:02.434 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=55] [step=import] [mode=Normal] [2025/04/04 12:47:02.438 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=55] [2025/04/04 12:47:02.526 +00:00] [ERROR] [handle.go:110] ["task reverted"] [task-id=55] [error="[0]injected error after ImportStepImport"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/handle.WaitTaskDoneOrPaused\n\tpkg/disttask/framework/handle/handle.go:110\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoExec).waitTask\n\tpkg/executor/import_into.go:233\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoExec).Next\n\tpkg/executor/import_into.go:137\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*recordSet).Next\n\tpkg/executor/adapter.go:172\ngithub.com/pingcap/tidb/pkg/session.GetRows4Test\n\tpkg/session/tidb.go:343\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).QueryToErr\n\tpkg/testkit/testkit.go:304\ntests/realtikvtest/importintotest/importintotest_test.(*mockGCSSuite).TestJobFailWhenDispatchSubtask\n\ttests/realtikvtest/importintotest/job_test.go:599\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690"] [2025/04/04 12:47:02.527 +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.684511764\n# Parse_time: 0.00007262\n# Compile_time: 0.000568976\n# Rewrite_time: 0.000142131\n# Optimize_time: 0.000281579\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('SvBJMAk1OV8yCTAJMAlOL0EJMAl0aW1lOjY4My42bXMsIG9wZW46NzA2bnMsIGNsb3NlOjEuMTfCtXMsIGxvb3BzOjEJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjgBQAFSA04vQVowdGltZTo2ODMuNm1zLCBvcGVuOjcwNm5zLCBjbG9zZToxLjE3wrVzLCBsb29wczoxcP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.00003438\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/04 12:47:02.528 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=55] --- PASS: TestImportInto/TestJobFailWhenDispatchSubtask (0.81s) === NAME TestImportInto === RUN TestImportInto/TestKillBeforeFinish [2025/04/04 12:47:02.534 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 12:47:02.534 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=55] [2025/04/04 12:47:02.553 +00:00] [WARN] [session.go:810] [sql] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=457119058491605004, conflictStartTS=457119058504712194, conflictCommitTS=457119058504712195, key={tableID=281474976710650, tableName=mysql.tidb_background_subtask, indexID=1, indexValues={55, 105, }}, originalKey=748000fffffffffffa5f698000000000000001013535000000000000f9038000000000000069, 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/04 12:47:02.554 +00:00] [WARN] [session.go:1112] [retrying] [schemaVersion=212] [retryCnt=0] [queryNum=0] [sql=begin] [2025/04/04 12:47:02.554 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=212] [cur_db=fail_job_after_import] [sql="DROP DATABASE IF EXISTS kill_job;"] [user=root@%] [2025/04/04 12:47:02.555 +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/04 12:47:02.557 +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/04 12:47:02.558 +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/04 12:47:02.559 +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/04 12:47:02.562 +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/04 12:47:02.563 +00:00] [WARN] [session.go:1112] [retrying] [schemaVersion=212] [retryCnt=0] [queryNum=6] [sql=commit] [2025/04/04 12:47:02.563 +00:00] [WARN] [session.go:1135] ["transaction association"] ["retrying txnStartTS"=457119058504712197] ["original txnStartTS"=457119058491605004] [2025/04/04 12:47:02.563 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 12:47:02.565 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:300, Type:create schema, State:queueing, SchemaState:none, SchemaID:299, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:02.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE kill_job;"] [2025/04/04 12:47:02.566 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:300, Type:create schema, State:queueing, SchemaState:none, SchemaID:299, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:02.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:47:02.570 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=300] [conn=2] [job="ID:300, Type:create schema, State:queueing, SchemaState:none, SchemaID:299, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:02.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:02.583 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=212] [neededSchemaVersion=213] ["elapsed time"=630.397µs] [gotSchemaVersion=213] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 12:47:02.586 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=300] [version=213] [2025/04/04 12:47:02.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=213] ["take time"=7.316083ms] [job="ID:300, Type:create schema, State:done, SchemaState:public, SchemaID:299, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:02.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:02.597 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=300] [conn=2] [job="ID:300, Type:create schema, State:synced, SchemaState:public, SchemaID:299, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:02.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:02.606 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=300] [2025/04/04 12:47:02.607 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=213] [cur_db=fail_job_after_import] [sql="CREATE DATABASE kill_job;"] [user=root@%] [2025/04/04 12:47:02.619 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:302, Type:create table, State:queueing, SchemaState:none, SchemaID:299, TableID:301, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:02.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE kill_job.t (a INT, b INT, c int);"] [2025/04/04 12:47:02.619 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:302, Type:create table, State:queueing, SchemaState:none, SchemaID:299, TableID:301, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:02.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:47:02.624 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=302] [conn=2] [job="ID:302, Type:create table, State:queueing, SchemaState:none, SchemaID:299, TableID:301, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:02.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:02.628 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 301, Table Name: t)"] [2025/04/04 12:47:02.642 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=213] [neededSchemaVersion=214] ["elapsed time"=1.7168ms] [gotSchemaVersion=214] [phyTblIDs="[301]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:47:02.646 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=302] [version=214] [2025/04/04 12:47:02.647 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=214] ["take time"=8.230122ms] [job="ID:302, Type:create table, State:done, SchemaState:public, SchemaID:299, TableID:301, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:02.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:02.658 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=302] [conn=2] [job="ID:302, Type:create table, State:synced, SchemaState:public, SchemaID:299, TableID:301, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:02.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:02.668 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=302] [2025/04/04 12:47:02.669 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=214] [cur_db=fail_job_after_import] [sql="CREATE TABLE kill_job.t (a INT, b INT, c int);"] [user=root@%] [2025/04/04 12:47:02.675 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:47:02.718 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/t-*.tsv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/04 12:47:02.735 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=56] [task-id=56] [data-size=8B] [thread-cnt=26] [global-sort=false] [2025/04/04 12:47:02.748 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=56] [2025/04/04 12:47:02.748 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=56] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/04 12:47:02.851 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=56] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 12:47:02.852 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=56] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:47:02.853 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=56] [curr-step=init] [next-step=import] [2025/04/04 12:47:02.860 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:47:02.862 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 12:47:02.862 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=8] [2025/04/04 12:47:02.862 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=8] [cost=42.084µs] [2025/04/04 12:47:02.862 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=130.479µs] [] [2025/04/04 12:47:02.862 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=56] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 12:47:02.862 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=56] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/04 12:47:02.892 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=56] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 12:47:02.912 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=56] [step=import] [2025/04/04 12:47:02.913 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:47:02.919 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:47:02.919 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 12:47:02.920 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:47:02.920 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:47:02.920 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:47:02.920 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:47:02.920 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:47:02.920 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:47:02.921 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:47:02.921 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:47:02.932 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:47:02.934 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 12:47:02.934 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 12:47:02.934 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=56] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 12:47:02.934 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=56] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 12:47:02.934 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=56] [disk-quota=348.5GiB] [2025/04/04 12:47:02.942 +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/04 12:47:02.942 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=56] [step=import] [subtask-id=106] [2025/04/04 12:47:02.946 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`kill_job`.`t`:0] [engineUUID=64636ef9-3fe4-5434-ae74-7ab09274a71e] [2025/04/04 12:47:02.949 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`kill_job`.`t`:-1] [engineUUID=0c319952-7a9c-59e9-a73e-2a53414030fd] [2025/04/04 12:47:02.949 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=301] [2025/04/04 12:47:02.957 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=56] [mode=Import] [2025/04/04 12:47:02.962 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=301] [key=t-1.tsv:0] [2025/04/04 12:47:02.965 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=301] [key=t-1.tsv:0] [readDur=1.193578ms] [encodeDur=1.229407ms] [checksum="{cksum=11381722441307210293,size=37,kvs=1}"] [deliverDur=201.742µs] [type=file] [takeTime=2.887977ms] [] [2025/04/04 12:47:02.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/56/64636ef9-3fe4-5434-ae74-7ab09274a71e.sst/358ae512-bf08-4ca6-90a2-c229d6b1bd1d.sst] [firstKey=74800000000000012D5F728000000000000001] [lastKey=74800000000000012D5F728000000000000001] [2025/04/04 12:47:02.966 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=56] [step=import] [engine-id=0] [2025/04/04 12:47:02.966 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=56] [step=import] [engine-id=0] [2025/04/04 12:47:02.966 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`kill_job`.`t`:0] [engineUUID=64636ef9-3fe4-5434-ae74-7ab09274a71e] [2025/04/04 12:47:02.968 +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.356372ms] [] [2025/04/04 12:47:02.968 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`kill_job`.`t`:0] [engineUUID=64636ef9-3fe4-5434-ae74-7ab09274a71e] [retryCnt=0] [2025/04/04 12:47:02.974 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:47:02.994 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=56] [2025/04/04 12:47:02.995 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=64636ef9-3fe4-5434-ae74-7ab09274a71e] ["region ranges"=1] [count=1] [size=37] [2025/04/04 12:47:02.995 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:47:02.997 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000012d5f728000000000000001] [endOfAllRanges=74800000000000012d5f728000000000000002] [startKeyOfFirstRegion=7480000000000001ff2d5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff2d5f728000000000ff0000020000000000fa] [2025/04/04 12:47:03.008 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=64636ef9-3fe4-5434-ae74-7ab09274a71e] [size=37] [kvs=1] [importedSize=37] [importedCount=1] [2025/04/04 12:47:03.009 +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.466149ms] [] [2025/04/04 12:47:03.009 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`kill_job`.`t`:0] [engineUUID=64636ef9-3fe4-5434-ae74-7ab09274a71e] [2025/04/04 12:47:03.010 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`kill_job`.`t`:0] [engineUUID=64636ef9-3fe4-5434-ae74-7ab09274a71e] [takeTime=1.170696ms] [] [2025/04/04 12:47:03.010 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=56] [step=import] [engine-id=0] [2025/04/04 12:47:03.010 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`kill_job`.`t`:-1] [engineUUID=0c319952-7a9c-59e9-a73e-2a53414030fd] [2025/04/04 12:47:03.012 +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.906962ms] [] [2025/04/04 12:47:03.012 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`kill_job`.`t`:-1] [engineUUID=0c319952-7a9c-59e9-a73e-2a53414030fd] [retryCnt=0] [2025/04/04 12:47:03.017 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=0c319952-7a9c-59e9-a73e-2a53414030fd] [2025/04/04 12:47:03.017 +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=4.646007ms] [] [2025/04/04 12:47:03.017 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`kill_job`.`t`:-1] [engineUUID=0c319952-7a9c-59e9-a73e-2a53414030fd] [2025/04/04 12:47:03.018 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`kill_job`.`t`:-1] [engineUUID=0c319952-7a9c-59e9-a73e-2a53414030fd] [takeTime=922.229µs] [] [2025/04/04 12:47:03.018 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=56] [step=import] [subtask-id=106] [takeTime=76.249356ms] [] [2025/04/04 12:47:03.018 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=56] [task-type=ImportInto] [server-id=:4000] [subtaskID=106] [step=import] [takeTime=76.39581ms] [] [2025/04/04 12:47:03.028 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=56] [step=import] [2025/04/04 12:47:03.031 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:47:03.031 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:47:03.031 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:47:03.031 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:47:03.031 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:47:03.031 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:47:03.031 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:47:03.031 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:47:03.031 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-55] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:47:03.031 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:47:03.031 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:47:03.031 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:47:03.033 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:47:03.033 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:47:03.033 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:47:03.033 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:47:03.033 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=56] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=99.151644ms] [] [2025/04/04 12:47:03.033 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=56] [type=ImportInto] [2025/04/04 12:47:03.050 +00:00] [INFO] [scheduler.go:152] ["task state/step changed by user or other scheduler"] [task-id=56] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [old-state=running] [new-state=cancelling] [old-step=import] [new-step=import] [2025/04/04 12:47:03.052 +00:00] [INFO] [scheduler.go:269] ["on cancelling state"] [task-id=56] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=cancelling] [step=import] [2025/04/04 12:47:03.156 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=56] [step=import] [state=reverting] [error="cancelled by user"] [errorVerbose="cancelled by user\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).onCancelling\n\tpkg/disttask/framework/scheduler/scheduler.go:272\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).scheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:199\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).ScheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:121\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*Manager).startScheduler.func1\n\tpkg/disttask/framework/scheduler/scheduler_manager.go:357\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:47:03.157 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=56] [step=import] [mode=Normal] [2025/04/04 12:47:03.171 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=56] [2025/04/04 12:47:03.250 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=56] [2025/04/04 12:47:03.256 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 12:47:03.256 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=56] [2025/04/04 12:47:03.274 +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.605218477\n# Parse_time: 0.00026264\n# Compile_time: 0.0005008\n# Rewrite_time: 0.000133993\n# Optimize_time: 0.000039578\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('SvBJMAk1OV8yCTAJMAlOL0EJMAl0aW1lOjYwNC4ybXMsIG9wZW46NjMxbnMsIGNsb3NlOjEuMDjCtXMsIGxvb3BzOjEJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjgBQAFSA04vQVowdGltZTo2MDQuMm1zLCBvcGVuOjYzMW5zLCBjbG9zZToxLjA4wrVzLCBsb29wczoxcP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.00003438\nIMPORT INTO `kill_job`.`t` FROM 'gs://test-load/t-*.tsv?endpoint=http://127.0.0.1:4443/storage/v1/';"] [2025/04/04 12:47:03.276 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] --- PASS: TestImportInto/TestKillBeforeFinish (1.76s) === NAME TestImportInto === RUN TestImportInto/TestLoadSQLDump [2025/04/04 12:47:04.298 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:303, Type:drop schema, State:queueing, SchemaState:public, SchemaID:229, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:04.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:47:04.298 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:303, Type:drop schema, State:queueing, SchemaState:public, SchemaID:229, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:04.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="DROP DATABASE IF EXISTS load_csv;"] [2025/04/04 12:47:04.303 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=303] [conn=2] [job="ID:303, Type:drop schema, State:queueing, SchemaState:public, SchemaID:229, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:04.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:04.320 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=214] [neededSchemaVersion=215] ["elapsed time"=1.940218ms] [gotSchemaVersion=215] [phyTblIDs="[231,233]"] [actionTypes="[2,2]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 12:47:04.323 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=303] [version=215] [2025/04/04 12:47:04.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=215] ["take time"=8.243077ms] [job="ID:303, Type:drop schema, State:running, SchemaState:write only, SchemaID:229, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:04.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:04.334 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=303] [conn=2] [job="ID:303, Type:drop schema, State:running, SchemaState:write only, SchemaID:229, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:04.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:04.345 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=215] [neededSchemaVersion=216] ["elapsed time"=126.833µs] [gotSchemaVersion=216] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 12:47:04.348 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=303] [version=216] [2025/04/04 12:47:04.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=216] ["take time"=6.378528ms] [job="ID:303, Type:drop schema, State:running, SchemaState:delete only, SchemaID:229, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:04.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:04.357 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=303] [conn=2] [job="ID:303, Type:drop schema, State:running, SchemaState:delete only, SchemaID:229, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:04.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:04.362 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/04 12:47:04.371 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=216] [neededSchemaVersion=217] ["elapsed time"=128.373µs] [gotSchemaVersion=217] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 12:47:04.374 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=303] [version=217] [2025/04/04 12:47:04.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=217] ["take time"=6.521564ms] [job="ID:303, Type:drop schema, State:done, SchemaState:none, SchemaID:229, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:04.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:04.462 +00:00] [WARN] [pd.go:261] ["get timestamp too slow"] ["cost time"=82.142112ms] [2025/04/04 12:47:04.470 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=303] [tableIDs="[231,233]"] [comment="drop schema: table IDs"] [2025/04/04 12:47:04.475 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=303] [jobType="drop schema"] [2025/04/04 12:47:04.476 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=303] [conn=2] [job="ID:303, Type:drop schema, State:synced, SchemaState:none, SchemaID:229, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:04.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:04.492 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=303] [2025/04/04 12:47:04.492 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=217] [cur_db=fail_job_after_import] [sql="DROP DATABASE IF EXISTS load_csv;"] [user=root@%] [2025/04/04 12:47:04.503 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:305, Type:create schema, State:queueing, SchemaState:none, SchemaID:304, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:04.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:47:04.503 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:305, Type:create schema, State:queueing, SchemaState:none, SchemaID:304, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:04.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE load_csv;"] [2025/04/04 12:47:04.509 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=305] [conn=2] [job="ID:305, Type:create schema, State:queueing, SchemaState:none, SchemaID:304, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:04.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:04.522 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=217] [neededSchemaVersion=218] ["elapsed time"=682.533µs] [gotSchemaVersion=218] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 12:47:04.525 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=305] [version=218] [2025/04/04 12:47:04.527 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=218] ["take time"=8.024268ms] [job="ID:305, Type:create schema, State:done, SchemaState:public, SchemaID:304, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:04.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:04.537 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=305] [conn=2] [job="ID:305, Type:create schema, State:synced, SchemaState:public, SchemaID:304, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:04.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:04.546 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=305] [2025/04/04 12:47:04.546 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=218] [cur_db=fail_job_after_import] [sql="CREATE DATABASE load_csv;"] [user=root@%] [2025/04/04 12:47:04.559 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:307, Type:create table, State:queueing, SchemaState:none, SchemaID:304, TableID:306, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:04.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:47:04.559 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:307, Type:create table, State:queueing, SchemaState:none, SchemaID:304, TableID:306, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:04.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE load_csv.t (id INT, c VARCHAR(20));"] [2025/04/04 12:47:04.564 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=307] [conn=2] [job="ID:307, Type:create table, State:queueing, SchemaState:none, SchemaID:304, TableID:306, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:04.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:04.568 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 306, Table Name: t)"] [2025/04/04 12:47:04.583 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=218] [neededSchemaVersion=219] ["elapsed time"=1.624312ms] [gotSchemaVersion=219] [phyTblIDs="[306]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:47:04.586 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=307] [version=219] [2025/04/04 12:47:04.587 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=219] ["take time"=8.134096ms] [job="ID:307, Type:create table, State:done, SchemaState:public, SchemaID:304, TableID:306, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:04.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:04.598 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=307] [conn=2] [job="ID:307, Type:create table, State:synced, SchemaState:public, SchemaID:304, TableID:306, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:04.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:04.609 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=307] [2025/04/04 12:47:04.609 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=219] [cur_db=fail_job_after_import] [sql="CREATE TABLE load_csv.t (id INT, c VARCHAR(20));"] [user=root@%] [2025/04/04 12:47:04.616 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:47:04.663 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load-parquet/p?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"sql\"}"] [dist-task-enabled=true] [2025/04/04 12:47:04.681 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=57] [task-id=57] [data-size=42B] [thread-cnt=26] [global-sort=false] [2025/04/04 12:47:04.695 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=57] [2025/04/04 12:47:04.695 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=57] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/04 12:47:04.798 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=57] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 12:47:04.799 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=57] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:47:04.800 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=57] [curr-step=init] [next-step=import] [2025/04/04 12:47:04.807 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:47:04.809 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 12:47:04.809 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=42] [2025/04/04 12:47:04.809 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=42] [cost=53.827µs] [2025/04/04 12:47:04.809 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=149.813µs] [] [2025/04/04 12:47:04.809 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=57] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 12:47:04.809 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=57] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/04 12:47:04.842 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=57] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 12:47:04.862 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=57] [step=import] [2025/04/04 12:47:04.862 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:47:04.869 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:47:04.869 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 12:47:04.870 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:47:04.870 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:47:04.870 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:47:04.870 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:47:04.870 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:47:04.870 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:47:04.871 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:47:04.871 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:47:04.882 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:47:04.884 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 12:47:04.884 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 12:47:04.885 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=57] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 12:47:04.885 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=57] [disk-quota=348.5GiB] [2025/04/04 12:47:04.885 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=57] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 12:47:04.893 +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/04 12:47:04.893 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=57] [step=import] [subtask-id=107] [2025/04/04 12:47:04.896 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [2025/04/04 12:47:04.900 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/04 12:47:04.900 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=306] [2025/04/04 12:47:04.905 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=57] [mode=Import] [2025/04/04 12:47:04.913 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=306] [key=p:0] [2025/04/04 12:47:04.916 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=306] [key=p:0] [readDur=1.105205ms] [encodeDur=620.945µs] [checksum="{cksum=4095868306028115111,size=66,kvs=2}"] [deliverDur=272.252µs] [type=file] [takeTime=2.397695ms] [] [2025/04/04 12:47:04.917 +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/4ffc8049-59f6-4eb0-852b-f283e167a9b4.sst] [firstKey=7480000000000001325F728000000000000001] [lastKey=7480000000000001325F728000000000000002] [2025/04/04 12:47:04.917 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=57] [step=import] [engine-id=0] [2025/04/04 12:47:04.917 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=57] [step=import] [engine-id=0] [2025/04/04 12:47:04.917 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [2025/04/04 12:47:04.920 +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.749247ms] [] [2025/04/04 12:47:04.920 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [retryCnt=0] [2025/04/04 12:47:04.924 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=57] [2025/04/04 12:47:04.924 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:47:04.946 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=1e7b3aaf-1931-5e54-8538-256fb8e461db] ["region ranges"=1] [count=2] [size=66] [2025/04/04 12:47:04.946 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:47:04.947 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001325f728000000000000001] [endOfAllRanges=7480000000000001325f728000000000000003] [startKeyOfFirstRegion=7480000000000001ff325f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff325f728000000000ff0000030000000000fa] [2025/04/04 12:47:04.958 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=1e7b3aaf-1931-5e54-8538-256fb8e461db] [size=66] [kvs=2] [importedSize=66] [importedCount=2] [2025/04/04 12:47:04.960 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [retryCnt=0] [takeTime=39.527091ms] [] [2025/04/04 12:47:04.960 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [2025/04/04 12:47:04.961 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [takeTime=1.04339ms] [] [2025/04/04 12:47:04.961 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=57] [step=import] [engine-id=0] [2025/04/04 12:47:04.961 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/04 12:47:04.962 +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.550871ms] [] [2025/04/04 12:47:04.962 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [retryCnt=0] [2025/04/04 12:47:04.966 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/04 12:47:04.966 +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.562761ms] [] [2025/04/04 12:47:04.966 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/04 12:47:04.967 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [takeTime=860.836µs] [] [2025/04/04 12:47:04.967 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=57] [step=import] [subtask-id=107] [takeTime=74.519729ms] [] [2025/04/04 12:47:04.967 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=57] [task-type=ImportInto] [server-id=:4000] [subtaskID=107] [step=import] [takeTime=74.66932ms] [] [2025/04/04 12:47:05.003 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=57] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 12:47:05.004 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=57] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:47:05.005 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=57] [curr-step=import] [next-step=post-process] [2025/04/04 12:47:05.005 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=57] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 12:47:05.033 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=57] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/04 12:47:05.035 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=57] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 12:47:05.035 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=57] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=26] [subtasks=1] [2025/04/04 12:47:05.068 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=57] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 12:47:05.074 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=57] [step=import] [2025/04/04 12:47:05.076 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:47:05.077 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:47:05.077 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:47:05.077 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:47:05.077 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:47:05.077 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:47:05.077 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:47:05.077 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:47:05.077 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-56] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:47:05.077 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:47:05.077 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:47:05.077 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:47:05.079 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:47:05.079 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:47:05.079 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:47:05.079 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:47:05.079 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=57] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=194.214534ms] [] [2025/04/04 12:47:05.080 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=57] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 12:47:05.087 +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/04 12:47:05.087 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=57] [step=post-process] [subtask-id=108] [2025/04/04 12:47:05.087 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=57] [step=post-process] [subtask-id=108] [2025/04/04 12:47:05.087 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=57] [step=post-process] [subtask-id=108] [2025/04/04 12:47:05.093 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=57] [step=post-process] [subtask-id=108] [takeTime=5.44119ms] [] [2025/04/04 12:47:05.093 +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/04 12:47:05.093 +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/04 12:47:05.093 +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/04 12:47:05.093 +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/04 12:47:05.095 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=306] [physicalTableID=306] [indexID=-1] [checksum=4095868306028115111] [totalKvs=2] [totalBytes=66] [2025/04/04 12:47:05.095 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 12:47:05.095 +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/04 12:47:05.095 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=57] [step=post-process] [subtask-id=108] [takeTime=7.887538ms] [] [2025/04/04 12:47:05.095 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=57] [step=post-process] [subtask-id=108] [takeTime=8.039317ms] [] [2025/04/04 12:47:05.095 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=57] [task-type=ImportInto] [server-id=:4000] [subtaskID=108] [step=post-process] [takeTime=8.154161ms] [] [2025/04/04 12:47:05.103 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 12:47:05.202 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=57] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 12:47:05.203 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=57] [step=post-process] [state=running] [] [2025/04/04 12:47:05.205 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=57] [2025/04/04 12:47:05.232 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=57] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=151.509832ms] [] [2025/04/04 12:47:05.232 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=57] [type=ImportInto] [2025/04/04 12:47:05.297 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=57] [2025/04/04 12:47:05.299 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# User@Host: root[root] @ localhost [localhost]\n# Conn_ID: 2\n# Query_time: 0.68869616\n# Parse_time: 0.00007922\n# Compile_time: 0.000565498\n# Rewrite_time: 0.00015356\n# Optimize_time: 0.000039125\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('SvBJMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY4Ny43bXMsIG9wZW46Njc2bnMsIGNsb3NlOjEuMjbCtXMsIGxvb3BzOjIJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('ZfBSCmEKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWjB0aW1lOjY4Ny43bXMsIG9wZW46Njc2bnMsIGNsb3NlOjEuMjbCtXMsIGxvb3BzOjJw//////8BAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.00003438\nIMPORT INTO `load_csv`.`t` FROM 'gs://test-load-parquet/p?endpoint=http://127.0.0.1:4443/storage/v1/' FORMAT 'SQL';"] [2025/04/04 12:47:05.304 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 12:47:05.304 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=57] [2025/04/04 12:47:05.315 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:309, Type:truncate table, State:queueing, SchemaState:none, SchemaID:304, TableID:306, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:05.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:47:05.315 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:309, Type:truncate table, State:queueing, SchemaState:none, SchemaID:304, TableID:306, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:05.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="TRUNCATE TABLE load_csv.t;"] [2025/04/04 12:47:05.320 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=309] [conn=2] [job="ID:309, Type:truncate table, State:queueing, SchemaState:none, SchemaID:304, TableID:306, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:05.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:05.323 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 12:47:05.327 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 308, Table Name: t, Old Table ID: 306, Old Table Name: t)"] [2025/04/04 12:47:05.340 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=219] [neededSchemaVersion=220] ["elapsed time"=1.838422ms] [gotSchemaVersion=220] [phyTblIDs="[306,308]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 12:47:05.344 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=309] [version=220] [2025/04/04 12:47:05.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=220] ["take time"=7.803724ms] [job="ID:309, Type:truncate table, State:done, SchemaState:public, SchemaID:304, TableID:306, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:05.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:05.355 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=309] [tableIDs="[306]"] [comment="truncate table: table ID"] [2025/04/04 12:47:05.359 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=309] [jobType="truncate table"] [2025/04/04 12:47:05.360 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=309] [conn=2] [job="ID:309, Type:truncate table, State:synced, SchemaState:public, SchemaID:304, TableID:306, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:05.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:05.376 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=309] [2025/04/04 12:47:05.376 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=220] [cur_db=fail_job_after_import] [sql="TRUNCATE TABLE load_csv.t;"] [user=root@%] [2025/04/04 12:47:05.422 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"/tmp/TestImportIntoTestLoadSQLDump402908713/001/test.sql\",\"format\":\"sql\"}"] [dist-task-enabled=true] [2025/04/04 12:47:05.422 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 12:47:05.422 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=42] [2025/04/04 12:47:05.422 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=42] [cost=45.774µs] [2025/04/04 12:47:05.422 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=137.813µs] [] [2025/04/04 12:47:05.440 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=58] [task-id=58] [data-size=42B] [thread-cnt=8] [global-sort=false] [2025/04/04 12:47:05.456 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=58] [2025/04/04 12:47:05.456 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=58] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/04 12:47:05.558 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=58] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 12:47:05.559 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=58] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:47:05.560 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=58] [curr-step=init] [next-step=import] [2025/04/04 12:47:05.568 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=58] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 12:47:05.568 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=58] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/04 12:47:05.604 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=58] [type=ImportInto] [concurrency=8] [remaining-slots=44] [2025/04/04 12:47:05.623 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=58] [step=import] [2025/04/04 12:47:05.630 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:47:05.630 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 12:47:05.631 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:47:05.631 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:47:05.631 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:47:05.631 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:47:05.631 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:47:05.631 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:47:05.632 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:47:05.632 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:47:05.643 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:47:05.645 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 12:47:05.645 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 12:47:05.645 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=58] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 12:47:05.645 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=58] [disk-quota=348.5GiB] [2025/04/04 12:47:05.645 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=58] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/04 12:47:05.652 +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/04 12:47:05.652 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=58] [step=import] [subtask-id=109] [2025/04/04 12:47:05.656 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [2025/04/04 12:47:05.659 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/04 12:47:05.659 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=308] [2025/04/04 12:47:05.664 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=58] [mode=Import] [2025/04/04 12:47:05.682 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=58] [2025/04/04 12:47:05.697 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=308] [key=test.sql:0] [2025/04/04 12:47:05.698 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=308] [key=test.sql:0] [readDur=59.192µs] [encodeDur=581.661µs] [checksum="{cksum=4095868306028115111,size=66,kvs=2}"] [deliverDur=242.185µs] [type=file] [takeTime=1.189481ms] [] [2025/04/04 12:47:05.699 +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/02524611-3dd4-4ebb-a5ab-fd119748a4a1.sst] [firstKey=7480000000000001345F728000000000000001] [lastKey=7480000000000001345F728000000000000002] [2025/04/04 12:47:05.699 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=58] [step=import] [engine-id=0] [2025/04/04 12:47:05.699 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=58] [step=import] [engine-id=0] [2025/04/04 12:47:05.699 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [2025/04/04 12:47:05.701 +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.182548ms] [] [2025/04/04 12:47:05.701 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [retryCnt=0] [2025/04/04 12:47:05.706 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:47:05.727 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=1e7b3aaf-1931-5e54-8538-256fb8e461db] ["region ranges"=1] [count=2] [size=66] [2025/04/04 12:47:05.727 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:47:05.729 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001345f728000000000000001] [endOfAllRanges=7480000000000001345f728000000000000003] [startKeyOfFirstRegion=7480000000000001ff345f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff345f728000000000ff0000030000000000fa] [2025/04/04 12:47:05.739 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=1e7b3aaf-1931-5e54-8538-256fb8e461db] [size=66] [kvs=2] [importedSize=66] [importedCount=2] [2025/04/04 12:47:05.741 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [retryCnt=0] [takeTime=39.393501ms] [] [2025/04/04 12:47:05.741 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [2025/04/04 12:47:05.742 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [takeTime=956.987µs] [] [2025/04/04 12:47:05.742 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=58] [step=import] [engine-id=0] [2025/04/04 12:47:05.742 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/04 12:47:05.744 +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.480367ms] [] [2025/04/04 12:47:05.744 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [retryCnt=0] [2025/04/04 12:47:05.748 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/04 12:47:05.749 +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.873488ms] [] [2025/04/04 12:47:05.749 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/04 12:47:05.750 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [takeTime=873.556µs] [] [2025/04/04 12:47:05.750 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=58] [step=import] [subtask-id=109] [takeTime=97.377755ms] [] [2025/04/04 12:47:05.750 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=58] [task-type=ImportInto] [server-id=:4000] [subtaskID=109] [step=import] [takeTime=97.519657ms] [] [2025/04/04 12:47:05.763 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=58] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 12:47:05.764 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=58] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:47:05.765 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=58] [curr-step=import] [next-step=post-process] [2025/04/04 12:47:05.765 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=58] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 12:47:05.801 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=58] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/04 12:47:05.803 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=58] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 12:47:05.803 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=58] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/04 12:47:05.833 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=58] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 12:47:05.839 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 12:47:05.840 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=58] [step=import] [2025/04/04 12:47:05.843 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:47:05.843 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:47:05.843 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:47:05.843 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:47:05.843 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:47:05.843 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:47:05.843 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:47:05.843 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:47:05.843 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:47:05.843 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-57] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:47:05.843 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:47:05.844 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:47:05.846 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:47:05.846 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:47:05.846 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:47:05.846 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:47:05.846 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=58] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [takeTime=200.944483ms] [] [2025/04/04 12:47:05.847 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=58] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/04 12:47:05.855 +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/04 12:47:05.855 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=58] [step=post-process] [subtask-id=110] [2025/04/04 12:47:05.855 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=58] [step=post-process] [subtask-id=110] [2025/04/04 12:47:05.855 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=58] [step=post-process] [subtask-id=110] [2025/04/04 12:47:05.861 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=58] [step=post-process] [subtask-id=110] [takeTime=5.899402ms] [] [2025/04/04 12:47:05.861 +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/04 12:47:05.861 +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/04 12:47:05.861 +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/04 12:47:05.861 +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/04 12:47:05.865 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=308] [physicalTableID=308] [indexID=-1] [checksum=4095868306028115111] [totalKvs=2] [totalBytes=66] [2025/04/04 12:47:05.865 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 12:47:05.865 +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/04 12:47:05.865 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=58] [step=post-process] [subtask-id=110] [takeTime=10.180962ms] [] [2025/04/04 12:47:05.865 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=58] [step=post-process] [subtask-id=110] [takeTime=10.334496ms] [] [2025/04/04 12:47:05.867 +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=11.762181ms] [] [2025/04/04 12:47:05.876 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 12:47:05.963 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=58] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 12:47:05.963 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=58] [step=post-process] [state=running] [] [2025/04/04 12:47:05.965 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=58] [2025/04/04 12:47:05.987 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=58] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [takeTime=139.93248ms] [] [2025/04/04 12:47:05.987 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=58] [type=ImportInto] [2025/04/04 12:47:06.059 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=58] [2025/04/04 12:47:06.059 +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.68235143\n# Parse_time: 0.000068493\n# Compile_time: 0.000523694\n# Rewrite_time: 0.000156631\n# Optimize_time: 0.000271268\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('SvBJMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY4MS41bXMsIG9wZW46OTE2bnMsIGNsb3NlOjEuMjPCtXMsIGxvb3BzOjIJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('ZfBSCmEKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWjB0aW1lOjY4MS41bXMsIG9wZW46OTE2bnMsIGNsb3NlOjEuMjPCtXMsIGxvb3BzOjJw//////8BAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.00003438\nIMPORT INTO `load_csv`.`t` FROM '/tmp/TestImportIntoTestLoadSQLDump402908713/001/test.sql' FORMAT 'SQL';"] --- PASS: TestImportInto/TestLoadSQLDump (1.78s) === NAME TestImportInto === RUN TestImportInto/TestMaxWriteSpeed [2025/04/04 12:47:06.065 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 12:47:06.065 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=58] [2025/04/04 12:47:06.065 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=220] [cur_db=fail_job_after_import] [sql="DROP DATABASE IF EXISTS load_test_write_speed;"] [user=root@%] [2025/04/04 12:47:06.078 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:311, Type:create schema, State:queueing, SchemaState:none, SchemaID:310, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:06.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:47:06.078 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:311, Type:create schema, State:queueing, SchemaState:none, SchemaID:310, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:06.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE load_test_write_speed;"] [2025/04/04 12:47:06.084 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=311] [conn=2] [job="ID:311, Type:create schema, State:queueing, SchemaState:none, SchemaID:310, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:06.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:06.088 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 12:47:06.098 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=220] [neededSchemaVersion=221] ["elapsed time"=772.646µs] [gotSchemaVersion=221] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 12:47:06.102 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=311] [version=221] [2025/04/04 12:47:06.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=221] ["take time"=8.056846ms] [job="ID:311, Type:create schema, State:done, SchemaState:public, SchemaID:310, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:06.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:06.115 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=311] [conn=2] [job="ID:311, Type:create schema, State:synced, SchemaState:public, SchemaID:310, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:06.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:06.125 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=311] [2025/04/04 12:47:06.125 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=221] [cur_db=fail_job_after_import] [sql="CREATE DATABASE load_test_write_speed;"] [user=root@%] [2025/04/04 12:47:06.138 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:313, Type:create table, State:queueing, SchemaState:none, SchemaID:310, TableID:312, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:06.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:47:06.138 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:313, Type:create table, State:queueing, SchemaState:none, SchemaID:310, TableID:312, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:06.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE load_test_write_speed.t(a int, b int)"] [2025/04/04 12:47:06.144 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=313] [conn=2] [job="ID:313, Type:create table, State:queueing, SchemaState:none, SchemaID:310, TableID:312, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:06.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:06.148 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 312, Table Name: t)"] [2025/04/04 12:47:06.163 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=221] [neededSchemaVersion=222] ["elapsed time"=1.784089ms] [gotSchemaVersion=222] [phyTblIDs="[312]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:47:06.166 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=313] [version=222] [2025/04/04 12:47:06.168 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=222] ["take time"=8.79849ms] [job="ID:313, Type:create table, State:done, SchemaState:public, SchemaID:310, TableID:312, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:06.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:06.179 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=313] [conn=2] [job="ID:313, Type:create table, State:synced, SchemaState:public, SchemaID:310, TableID:312, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:06.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:06.190 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=313] [2025/04/04 12:47:06.191 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=222] [cur_db=fail_job_after_import] [sql="CREATE TABLE load_test_write_speed.t(a int, b int)"] [user=root@%] [2025/04/04 12:47:06.200 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:47:06.247 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/speed-test.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/04 12:47:06.266 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=59] [task-id=59] [data-size=7.598KiB] [thread-cnt=26] [global-sort=false] [2025/04/04 12:47:06.280 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=59] [2025/04/04 12:47:06.280 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=59] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/04 12:47:06.382 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=59] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 12:47:06.383 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=59] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:47:06.384 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=59] [curr-step=init] [next-step=import] [2025/04/04 12:47:06.391 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:47:06.394 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 12:47:06.394 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=7780] [2025/04/04 12:47:06.394 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=7780] [cost=59.279µs] [2025/04/04 12:47:06.394 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=147.237µs] [] [2025/04/04 12:47:06.394 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=59] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 12:47:06.395 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=59] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/04 12:47:06.432 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=59] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 12:47:06.452 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=59] [step=import] [2025/04/04 12:47:06.453 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:47:06.460 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:47:06.460 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 12:47:06.461 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:47:06.461 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:47:06.461 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:47:06.461 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:47:06.461 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:47:06.461 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:47:06.462 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:47:06.462 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:47:06.474 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:47:06.476 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 12:47:06.476 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 12:47:06.476 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=59] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 12:47:06.476 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=59] [disk-quota=348.5GiB] [2025/04/04 12:47:06.476 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=59] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 12:47:06.484 +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/04 12:47:06.484 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=59] [step=import] [subtask-id=111] [2025/04/04 12:47:06.488 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_test_write_speed`.`t`:0] [engineUUID=9b4a6271-0aef-5059-a34e-0bbb1ee21829] [2025/04/04 12:47:06.488 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=59] [mode=Import] [2025/04/04 12:47:06.491 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_test_write_speed`.`t`:-1] [engineUUID=44c71187-930f-542d-8bfe-d13dfaf0891c] [2025/04/04 12:47:06.491 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=312] [2025/04/04 12:47:06.507 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=59] [2025/04/04 12:47:06.532 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=312] [key=speed-test.csv:0] [2025/04/04 12:47:06.560 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=312] [key=speed-test.csv:0] [readDur=5.855168ms] [encodeDur=16.90073ms] [checksum="{cksum=16176383463214450733,size=34744,kvs=1000}"] [deliverDur=2.64574ms] [type=file] [takeTime=27.187079ms] [] [2025/04/04 12:47:06.560 +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/63200b94-696c-416a-a5af-ec5bca065bfc.sst] [firstKey=7480000000000001385F728000000000000001] [lastKey=7480000000000001385F7280000000000003E8] [2025/04/04 12:47:06.560 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=59] [step=import] [engine-id=0] [2025/04/04 12:47:06.560 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=59] [step=import] [engine-id=0] [2025/04/04 12:47:06.560 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_test_write_speed`.`t`:0] [engineUUID=9b4a6271-0aef-5059-a34e-0bbb1ee21829] [2025/04/04 12:47:06.563 +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.220766ms] [] [2025/04/04 12:47:06.563 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_test_write_speed`.`t`:0] [engineUUID=9b4a6271-0aef-5059-a34e-0bbb1ee21829] [retryCnt=0] [2025/04/04 12:47:06.568 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:47:06.589 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=9b4a6271-0aef-5059-a34e-0bbb1ee21829] ["region ranges"=1] [count=1000] [size=34744] [2025/04/04 12:47:06.590 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:47:06.591 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001385f728000000000000001] [endOfAllRanges=7480000000000001385f7280000000000003e9] [startKeyOfFirstRegion=7480000000000001ff385f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff385f728000000000ff0003e90000000000fa] [2025/04/04 12:47:06.611 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=9b4a6271-0aef-5059-a34e-0bbb1ee21829] [size=34744] [kvs=1000] [importedSize=34744] [importedCount=1000] [2025/04/04 12:47:06.613 +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=49.945115ms] [] [2025/04/04 12:47:06.613 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_test_write_speed`.`t`:0] [engineUUID=9b4a6271-0aef-5059-a34e-0bbb1ee21829] [2025/04/04 12:47:06.614 +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.144616ms] [] [2025/04/04 12:47:06.614 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=59] [step=import] [engine-id=0] [2025/04/04 12:47:06.614 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_test_write_speed`.`t`:-1] [engineUUID=44c71187-930f-542d-8bfe-d13dfaf0891c] [2025/04/04 12:47:06.616 +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.591923ms] [] [2025/04/04 12:47:06.616 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_test_write_speed`.`t`:-1] [engineUUID=44c71187-930f-542d-8bfe-d13dfaf0891c] [retryCnt=0] [2025/04/04 12:47:06.619 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=44c71187-930f-542d-8bfe-d13dfaf0891c] [2025/04/04 12:47:06.620 +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.650932ms] [] [2025/04/04 12:47:06.620 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_test_write_speed`.`t`:-1] [engineUUID=44c71187-930f-542d-8bfe-d13dfaf0891c] [2025/04/04 12:47:06.620 +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=835.941µs] [] [2025/04/04 12:47:06.621 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=59] [step=import] [subtask-id=111] [takeTime=136.562872ms] [] [2025/04/04 12:47:06.621 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=59] [task-type=ImportInto] [server-id=:4000] [subtaskID=111] [step=import] [takeTime=136.707757ms] [] [2025/04/04 12:47:06.687 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=59] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 12:47:06.689 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=59] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:47:06.689 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=59] [curr-step=import] [next-step=post-process] [2025/04/04 12:47:06.690 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=59] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 12:47:06.719 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=59] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":1000}"] [2025/04/04 12:47:06.721 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=59] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 12:47:06.721 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=59] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=26] [subtasks=1] [2025/04/04 12:47:06.744 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=59] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 12:47:06.753 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=59] [step=import] [2025/04/04 12:47:06.756 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:47:06.756 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:47:06.756 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:47:06.756 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:47:06.756 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:47:06.756 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:47:06.756 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:47:06.756 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:47:06.756 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:47:06.756 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:47:06.756 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-58] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:47:06.756 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:47:06.758 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:47:06.758 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:47:06.758 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:47:06.758 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:47:06.758 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=59] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=281.926368ms] [] [2025/04/04 12:47:06.760 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=59] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 12:47:06.767 +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/04 12:47:06.767 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=59] [step=post-process] [subtask-id=112] [2025/04/04 12:47:06.768 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=59] [step=post-process] [subtask-id=112] [2025/04/04 12:47:06.768 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=59] [step=post-process] [subtask-id=112] [2025/04/04 12:47:06.773 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=59] [step=post-process] [subtask-id=112] [takeTime=5.78006ms] [] [2025/04/04 12:47:06.773 +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/04 12:47:06.774 +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/04 12:47:06.774 +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/04 12:47:06.774 +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/04 12:47:06.776 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=312] [physicalTableID=312] [indexID=-1] [checksum=16176383463214450733] [totalKvs=1000] [totalBytes=34744] [2025/04/04 12:47:06.776 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 12:47:06.776 +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/04 12:47:06.777 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=59] [step=post-process] [subtask-id=112] [takeTime=8.95823ms] [] [2025/04/04 12:47:06.777 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=59] [step=post-process] [subtask-id=112] [takeTime=9.100192ms] [] [2025/04/04 12:47:06.777 +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.259143ms] [] [2025/04/04 12:47:06.787 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=59] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 12:47:06.787 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=59] [step=post-process] [state=running] [] [2025/04/04 12:47:06.789 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=59] [2025/04/04 12:47:06.791 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 12:47:06.805 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=59] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=45.548681ms] [] [2025/04/04 12:47:06.805 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=59] [type=ImportInto] [2025/04/04 12:47:06.882 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=59] [2025/04/04 12:47:06.882 +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.688090321\n# Parse_time: 0.000079525\n# Compile_time: 0.000563419\n# Rewrite_time: 0.000149391\n# Optimize_time: 0.000357619\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('SvBJMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY4Ny4ybXMsIG9wZW46NjU3bnMsIGNsb3NlOjEuNTjCtXMsIGxvb3BzOjIJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('ZfBSCmEKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWjB0aW1lOjY4Ny4ybXMsIG9wZW46NjU3bnMsIGNsb3NlOjEuNTjCtXMsIGxvb3BzOjJw//////8BAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.00003438\nIMPORT INTO `load_test_write_speed`.`t` FROM 'gs://test-load/speed-test.csv?endpoint=http://127.0.0.1:4443/storage/v1/';"] [2025/04/04 12:47:06.889 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 12:47:06.889 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=59] [2025/04/04 12:47:06.901 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:315, Type:truncate table, State:queueing, SchemaState:none, SchemaID:310, TableID:312, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:06.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:47:06.901 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:315, Type:truncate table, State:queueing, SchemaState:none, SchemaID:310, TableID:312, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:06.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="TRUNCATE TABLE load_test_write_speed.t;"] [2025/04/04 12:47:06.907 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=315] [conn=2] [job="ID:315, Type:truncate table, State:queueing, SchemaState:none, SchemaID:310, TableID:312, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:06.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:06.911 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 12:47:06.915 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 314, Table Name: t, Old Table ID: 312, Old Table Name: t)"] [2025/04/04 12:47:06.930 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=222] [neededSchemaVersion=223] ["elapsed time"=1.783884ms] [gotSchemaVersion=223] [phyTblIDs="[312,314]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 12:47:06.934 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=315] [version=223] [2025/04/04 12:47:06.936 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=223] ["take time"=9.351007ms] [job="ID:315, Type:truncate table, State:done, SchemaState:public, SchemaID:310, TableID:312, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:06.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:06.947 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=315] [tableIDs="[312]"] [comment="truncate table: table ID"] [2025/04/04 12:47:06.951 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=315] [jobType="truncate table"] [2025/04/04 12:47:06.952 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=315] [conn=2] [job="ID:315, Type:truncate table, State:synced, SchemaState:public, SchemaID:310, TableID:312, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:06.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:06.970 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=315] [2025/04/04 12:47:06.971 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=223] [cur_db=fail_job_after_import] [sql="TRUNCATE TABLE load_test_write_speed.t;"] [user=root@%] [2025/04/04 12:47:06.977 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:47:07.026 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/speed-test.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"max_write_speed\":\"6000\"}}"] [dist-task-enabled=true] [2025/04/04 12:47:07.046 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=60] [task-id=60] [data-size=7.598KiB] [thread-cnt=26] [global-sort=false] [2025/04/04 12:47:07.060 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=60] [2025/04/04 12:47:07.060 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=60] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/04 12:47:07.163 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=60] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 12:47:07.164 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=60] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:47:07.165 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=60] [curr-step=init] [next-step=import] [2025/04/04 12:47:07.172 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:47:07.176 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 12:47:07.176 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=7780] [2025/04/04 12:47:07.176 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=7780] [cost=42.874µs] [2025/04/04 12:47:07.176 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=146.921µs] [] [2025/04/04 12:47:07.176 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=60] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 12:47:07.176 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=60] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/04 12:47:07.213 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=60] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 12:47:07.233 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=60] [step=import] [2025/04/04 12:47:07.234 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:47:07.242 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:47:07.242 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 12:47:07.243 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:47:07.243 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:47:07.243 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:47:07.243 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:47:07.243 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:47:07.243 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:47:07.244 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:47:07.244 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:47:07.257 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:47:07.259 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 12:47:07.259 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 12:47:07.259 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=60] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 12:47:07.259 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=60] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 12:47:07.259 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=60] [disk-quota=348.5GiB] [2025/04/04 12:47:07.267 +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/04 12:47:07.267 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=60] [step=import] [subtask-id=113] [2025/04/04 12:47:07.269 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=60] [mode=Import] [2025/04/04 12:47:07.271 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_test_write_speed`.`t`:0] [engineUUID=9b4a6271-0aef-5059-a34e-0bbb1ee21829] [2025/04/04 12:47:07.275 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_test_write_speed`.`t`:-1] [engineUUID=44c71187-930f-542d-8bfe-d13dfaf0891c] [2025/04/04 12:47:07.275 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=314] [2025/04/04 12:47:07.287 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=60] [2025/04/04 12:47:07.315 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=314] [key=speed-test.csv:0] [2025/04/04 12:47:07.343 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=314] [key=speed-test.csv:0] [readDur=6.253239ms] [encodeDur=16.87646ms] [checksum="{cksum=16176383463214450733,size=34744,kvs=1000}"] [deliverDur=2.801565ms] [type=file] [takeTime=27.855019ms] [] [2025/04/04 12:47:07.344 +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/4b8fe23a-3d78-4dd2-bb8a-bcdf2f054088.sst] [firstKey=74800000000000013A5F728000000000000001] [lastKey=74800000000000013A5F7280000000000003E8] [2025/04/04 12:47:07.344 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=60] [step=import] [engine-id=0] [2025/04/04 12:47:07.344 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=60] [step=import] [engine-id=0] [2025/04/04 12:47:07.344 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_test_write_speed`.`t`:0] [engineUUID=9b4a6271-0aef-5059-a34e-0bbb1ee21829] [2025/04/04 12:47:07.346 +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.022188ms] [] [2025/04/04 12:47:07.346 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_test_write_speed`.`t`:0] [engineUUID=9b4a6271-0aef-5059-a34e-0bbb1ee21829] [retryCnt=0] [2025/04/04 12:47:07.350 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:47:07.372 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=9b4a6271-0aef-5059-a34e-0bbb1ee21829] ["region ranges"=1] [count=1000] [size=34744] [2025/04/04 12:47:07.373 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:47:07.374 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000013a5f728000000000000001] [endOfAllRanges=74800000000000013a5f7280000000000003e9] [startKeyOfFirstRegion=7480000000000001ff3a5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff3a5f728000000000ff0003e90000000000fa] [2025/04/04 12:47:09.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/04 12:47:16.924 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=9b4a6271-0aef-5059-a34e-0bbb1ee21829] [size=34744] [kvs=1000] [importedSize=34744] [importedCount=1000] [2025/04/04 12:47:16.926 +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.579669223s] [] [2025/04/04 12:47:16.926 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_test_write_speed`.`t`:0] [engineUUID=9b4a6271-0aef-5059-a34e-0bbb1ee21829] [2025/04/04 12:47:16.927 +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.164722ms] [] [2025/04/04 12:47:16.927 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=60] [step=import] [engine-id=0] [2025/04/04 12:47:16.927 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_test_write_speed`.`t`:-1] [engineUUID=44c71187-930f-542d-8bfe-d13dfaf0891c] [2025/04/04 12:47:16.929 +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.803688ms] [] [2025/04/04 12:47:16.929 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_test_write_speed`.`t`:-1] [engineUUID=44c71187-930f-542d-8bfe-d13dfaf0891c] [retryCnt=0] [2025/04/04 12:47:16.933 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=44c71187-930f-542d-8bfe-d13dfaf0891c] [2025/04/04 12:47:16.933 +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.712289ms] [] [2025/04/04 12:47:16.933 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_test_write_speed`.`t`:-1] [engineUUID=44c71187-930f-542d-8bfe-d13dfaf0891c] [2025/04/04 12:47:16.934 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_test_write_speed`.`t`:-1] [engineUUID=44c71187-930f-542d-8bfe-d13dfaf0891c] [takeTime=1.048615ms] [] [2025/04/04 12:47:16.934 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=60] [step=import] [subtask-id=113] [takeTime=9.667337176s] [] [2025/04/04 12:47:16.934 +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.667534594s] [] [2025/04/04 12:47:16.968 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=60] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 12:47:16.969 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=60] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:47:16.970 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=60] [curr-step=import] [next-step=post-process] [2025/04/04 12:47:16.970 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=60] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 12:47:17.001 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=60] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":1000}"] [2025/04/04 12:47:17.002 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=60] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 12:47:17.002 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=60] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=26] [subtasks=1] [2025/04/04 12:47:17.038 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=60] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 12:47:17.045 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=60] [step=import] [2025/04/04 12:47:17.048 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:47:17.048 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:47:17.048 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:47:17.048 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:47:17.048 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:47:17.048 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-59] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:47:17.048 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:47:17.048 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:47:17.048 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:47:17.048 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:47:17.049 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:47:17.049 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:47:17.051 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:47:17.051 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:47:17.051 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:47:17.051 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:47:17.051 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=60] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=9.791873586s] [] [2025/04/04 12:47:17.052 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=60] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 12:47:17.060 +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/04 12:47:17.060 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=60] [step=post-process] [subtask-id=114] [2025/04/04 12:47:17.060 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=60] [step=post-process] [subtask-id=114] [2025/04/04 12:47:17.060 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=60] [step=post-process] [subtask-id=114] [2025/04/04 12:47:17.066 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=60] [step=post-process] [subtask-id=114] [takeTime=5.640346ms] [] [2025/04/04 12:47:17.066 +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/04 12:47:17.066 +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/04 12:47:17.066 +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/04 12:47:17.066 +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/04 12:47:17.068 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=314] [physicalTableID=314] [indexID=-1] [checksum=16176383463214450733] [totalKvs=1000] [totalBytes=34744] [2025/04/04 12:47:17.069 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 12:47:17.069 +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/04 12:47:17.069 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=60] [step=post-process] [subtask-id=114] [takeTime=9.000042ms] [] [2025/04/04 12:47:17.069 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=60] [step=post-process] [subtask-id=114] [takeTime=9.152878ms] [] [2025/04/04 12:47:17.069 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=60] [task-type=ImportInto] [server-id=:4000] [subtaskID=114] [step=post-process] [takeTime=9.299221ms] [] [2025/04/04 12:47:17.089 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 12:47:17.167 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=60] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 12:47:17.168 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=60] [step=post-process] [state=running] [] [2025/04/04 12:47:17.170 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=60] [2025/04/04 12:47:17.188 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=60] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=135.926494ms] [] [2025/04/04 12:47:17.188 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=60] [type=ImportInto] [2025/04/04 12:47:17.262 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=60] [2025/04/04 12:47:17.262 +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.291028179\n# Parse_time: 0.000095479\n# Compile_time: 0.000608622\n# Rewrite_time: 0.000185843\n# Optimize_time: 0.000542469\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('R/BGMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjEwLjNzLCBvcGVuOjY4NG5zLCBjbG9zZToxLjLCtXMsIGxvb3BzOjIJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('YvBPCl4KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi10aW1lOjEwLjNzLCBvcGVuOjY4NG5zLCBjbG9zZToxLjLCtXMsIGxvb3BzOjJw//////8BAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.00003438\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.20s) === NAME TestImportInto === RUN TestImportInto/TestMultiValueIndex [2025/04/04 12:47:17.268 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 12:47:17.268 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=60] [2025/04/04 12:47:17.281 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:316, Type:drop schema, State:queueing, SchemaState:public, SchemaID:304, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:17.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:47:17.281 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:316, Type:drop schema, State:queueing, SchemaState:public, SchemaID:304, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:17.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="DROP DATABASE IF EXISTS load_csv;"] [2025/04/04 12:47:17.286 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=316] [conn=2] [job="ID:316, Type:drop schema, State:queueing, SchemaState:public, SchemaID:304, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:17.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:17.290 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 12:47:17.305 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=223] [neededSchemaVersion=224] ["elapsed time"=1.835613ms] [gotSchemaVersion=224] [phyTblIDs="[308]"] [actionTypes="[2]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 12:47:17.308 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=316] [version=224] [2025/04/04 12:47:17.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=224] ["take time"=8.911064ms] [job="ID:316, Type:drop schema, State:running, SchemaState:write only, SchemaID:304, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:17.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:17.319 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=316] [conn=2] [job="ID:316, Type:drop schema, State:running, SchemaState:write only, SchemaID:304, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:17.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:17.332 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=224] [neededSchemaVersion=225] ["elapsed time"=159.661µs] [gotSchemaVersion=225] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 12:47:17.336 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=316] [version=225] [2025/04/04 12:47:17.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=225] ["take time"=7.712907ms] [job="ID:316, Type:drop schema, State:running, SchemaState:delete only, SchemaID:304, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:17.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:17.346 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=316] [conn=2] [job="ID:316, Type:drop schema, State:running, SchemaState:delete only, SchemaID:304, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:17.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:17.351 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/04 12:47:17.361 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=225] [neededSchemaVersion=226] ["elapsed time"=144.544µs] [gotSchemaVersion=226] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 12:47:17.365 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=316] [version=226] [2025/04/04 12:47:17.366 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=226] ["take time"=6.813049ms] [job="ID:316, Type:drop schema, State:done, SchemaState:none, SchemaID:304, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:17.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:17.375 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=316] [tableIDs="[308]"] [comment="drop schema: table IDs"] [2025/04/04 12:47:17.380 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=316] [jobType="drop schema"] [2025/04/04 12:47:17.381 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=316] [conn=2] [job="ID:316, Type:drop schema, State:synced, SchemaState:none, SchemaID:304, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:17.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:17.397 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=316] [2025/04/04 12:47:17.398 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=226] [cur_db=fail_job_after_import] [sql="DROP DATABASE IF EXISTS load_csv;"] [user=root@%] [2025/04/04 12:47:17.409 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:318, Type:create schema, State:queueing, SchemaState:none, SchemaID:317, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:17.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:47:17.409 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:318, Type:create schema, State:queueing, SchemaState:none, SchemaID:317, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:17.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE load_csv;"] [2025/04/04 12:47:17.414 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=318] [conn=2] [job="ID:318, Type:create schema, State:queueing, SchemaState:none, SchemaID:317, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:17.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:17.427 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=226] [neededSchemaVersion=227] ["elapsed time"=683.708µs] [gotSchemaVersion=227] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 12:47:17.431 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=318] [version=227] [2025/04/04 12:47:17.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=227] ["take time"=8.108715ms] [job="ID:318, Type:create schema, State:done, SchemaState:public, SchemaID:317, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:17.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:17.444 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=318] [conn=2] [job="ID:318, Type:create schema, State:synced, SchemaState:public, SchemaID:317, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:17.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:17.453 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=318] [2025/04/04 12:47:17.454 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=227] [cur_db=fail_job_after_import] [sql="CREATE DATABASE load_csv;"] [user=root@%] [2025/04/04 12:47:17.467 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:320, Type:create table, State:queueing, SchemaState:none, SchemaID:317, TableID:319, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:17.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:47:17.467 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:320, Type:create table, State:queueing, SchemaState:none, SchemaID:317, TableID:319, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:17.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE load_csv.t (\n\t\ti INT, j JSON,\n\t\tKEY idx ((cast(j as signed array)))\n\t\t);"] [2025/04/04 12:47:17.473 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=320] [conn=2] [job="ID:320, Type:create table, State:queueing, SchemaState:none, SchemaID:317, TableID:319, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:17.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:17.478 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 319, Table Name: t)"] [2025/04/04 12:47:17.495 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=227] [neededSchemaVersion=228] ["elapsed time"=2.14666ms] [gotSchemaVersion=228] [phyTblIDs="[319]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:47:17.499 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=320] [version=228] [2025/04/04 12:47:17.501 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=228] ["take time"=9.253248ms] [job="ID:320, Type:create table, State:done, SchemaState:public, SchemaID:317, TableID:319, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:17.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:17.512 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=320] [conn=2] [job="ID:320, Type:create table, State:synced, SchemaState:public, SchemaID:317, TableID:319, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:17.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:17.523 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=320] [2025/04/04 12:47:17.523 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=228] [cur_db=fail_job_after_import] [sql="CREATE TABLE load_csv.t (\n\t\ti INT, j JSON,\n\t\tKEY idx ((cast(j as signed array)))\n\t\t);"] [user=root@%] [2025/04/04 12:47:17.530 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:47:17.580 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load-csv/1.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"skip_rows\":\"1\"}}"] [dist-task-enabled=true] [2025/04/04 12:47:17.601 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=61] [task-id=61] [data-size=27B] [thread-cnt=26] [global-sort=false] [2025/04/04 12:47:17.619 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=61] [2025/04/04 12:47:17.619 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=61] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/04 12:47:17.722 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=61] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 12:47:17.723 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=61] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:47:17.724 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=61] [curr-step=init] [next-step=import] [2025/04/04 12:47:17.732 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:47:17.735 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 12:47:17.735 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=27] [2025/04/04 12:47:17.735 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=27] [cost=49.263µs] [2025/04/04 12:47:17.735 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=178.255µs] [] [2025/04/04 12:47:17.735 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=61] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 12:47:17.735 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=61] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/04 12:47:17.772 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=61] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 12:47:17.792 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=61] [step=import] [2025/04/04 12:47:17.792 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:47:17.801 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:47:17.801 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 12:47:17.802 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:47:17.802 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:47:17.802 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:47:17.802 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:47:17.802 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:47:17.802 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:47:17.803 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:47:17.803 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:47:17.815 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:47:17.817 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 12:47:17.817 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 12:47:17.817 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=61] [step=import] [data-buf-limit=236.3MiB] [per-index-buf-limit=78.77MiB] [index-buf-block-size=16MiB] [2025/04/04 12:47:17.817 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=61] [disk-quota=348.5GiB] [2025/04/04 12:47:17.818 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=61] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 12:47:17.825 +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/04 12:47:17.825 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=61] [step=import] [subtask-id=115] [2025/04/04 12:47:17.828 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=61] [mode=Import] [2025/04/04 12:47:17.829 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [2025/04/04 12:47:17.832 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/04 12:47:17.832 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=319] [2025/04/04 12:47:17.839 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 12:47:17.846 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=61] [2025/04/04 12:47:17.868 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=319] [key=1.csv:0] [2025/04/04 12:47:17.870 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=319] [key=1.csv:0] [readDur=86.015µs] [encodeDur=829.761µs] [checksum="{cksum=759382885805277567,size=388,kvs=8}"] [deliverDur=326.873µs] [type=file] [takeTime=1.727323ms] [] [2025/04/04 12:47:17.871 +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/548cfe66-2942-4d06-a72e-41cf40c567f9.sst] [firstKey=74800000000000013F5F728000000000000001] [lastKey=74800000000000013F5F728000000000000002] [2025/04/04 12:47:17.873 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=61] [step=import] [engine-id=0] [2025/04/04 12:47:17.873 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=61] [step=import] [engine-id=0] [2025/04/04 12:47:17.873 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [2025/04/04 12:47:17.874 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [takeTime=1.423331ms] [] [2025/04/04 12:47:17.874 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [retryCnt=0] [2025/04/04 12:47:17.881 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:47:17.903 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=1e7b3aaf-1931-5e54-8538-256fb8e461db] ["region ranges"=1] [count=2] [size=160] [2025/04/04 12:47:17.903 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:47:17.905 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000013f5f728000000000000001] [endOfAllRanges=74800000000000013f5f728000000000000003] [startKeyOfFirstRegion=7480000000000001ff3f5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff3f5f728000000000ff0000030000000000fa] [2025/04/04 12:47:17.916 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=1e7b3aaf-1931-5e54-8538-256fb8e461db] [size=160] [kvs=2] [importedSize=160] [importedCount=2] [2025/04/04 12:47:17.918 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [retryCnt=0] [takeTime=43.241563ms] [] [2025/04/04 12:47:17.918 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [2025/04/04 12:47:17.919 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [takeTime=1.060354ms] [] [2025/04/04 12:47:17.919 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=61] [step=import] [engine-id=0] [2025/04/04 12:47:17.919 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/04 12:47:17.919 +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/a94e152a-95e7-480c-a899-15cfdc4aa17f.sst] [firstKey=74800000000000013F5F698000000000000001038000000000000001038000000000000001] [lastKey=74800000000000013F5F698000000000000001038000000000000004038000000000000002] [2025/04/04 12:47:17.921 +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.413484ms] [] [2025/04/04 12:47:17.921 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [retryCnt=0] [2025/04/04 12:47:17.926 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:47:17.948 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=922fc444-c86f-5359-8d65-4e59ab5cb948] ["region ranges"=1] [count=6] [size=228] [2025/04/04 12:47:17.948 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:47:17.950 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000013f5f698000000000000001038000000000000001038000000000000001] [endOfAllRanges=74800000000000013f5f69800000000000000103800000000000000403800000000000000200] [startKeyOfFirstRegion=7480000000000001ff3f5f698000000000ff0000010380000000ff0000000103800000ff0000000001000000fc] [endKeyOfLastRegion=7480000000000001ff3f5f698000000000ff0000010380000000ff0000000403800000ff0000000002000000fd] [2025/04/04 12:47:17.961 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=922fc444-c86f-5359-8d65-4e59ab5cb948] [size=228] [kvs=6] [importedSize=228] [importedCount=6] [2025/04/04 12:47:17.962 +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=41.002125ms] [] [2025/04/04 12:47:17.962 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/04 12:47:17.964 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [takeTime=1.111929ms] [] [2025/04/04 12:47:17.964 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=61] [step=import] [subtask-id=115] [takeTime=138.80964ms] [] [2025/04/04 12:47:17.964 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=61] [task-type=ImportInto] [server-id=:4000] [subtaskID=115] [step=import] [takeTime=138.954494ms] [] [2025/04/04 12:47:18.028 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=61] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 12:47:18.030 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=61] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:47:18.031 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=61] [curr-step=import] [next-step=post-process] [2025/04/04 12:47:18.031 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=61] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 12:47:18.061 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=61] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/04 12:47:18.063 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=61] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 12:47:18.063 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=61] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=26] [subtasks=1] [2025/04/04 12:47:18.086 +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/04 12:47:18.092 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=61] [step=import] [2025/04/04 12:47:18.097 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:47:18.097 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:47:18.097 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:47:18.097 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:47:18.097 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:47:18.097 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:47:18.097 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:47:18.097 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:47:18.097 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-60] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:47:18.097 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:47:18.097 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:47:18.097 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:47:18.099 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:47:18.099 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:47:18.099 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:47:18.099 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:47:18.099 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=61] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=281.503727ms] [] [2025/04/04 12:47:18.101 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=61] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 12:47:18.108 +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/04 12:47:18.108 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=61] [step=post-process] [subtask-id=116] [2025/04/04 12:47:18.108 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=61] [step=post-process] [subtask-id=116] [2025/04/04 12:47:18.108 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=61] [step=post-process] [subtask-id=116] [2025/04/04 12:47:18.114 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=61] [step=post-process] [subtask-id=116] [takeTime=5.643ms] [] [2025/04/04 12:47:18.114 +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/04 12:47:18.114 +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/04 12:47:18.114 +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/04 12:47:18.114 +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/04 12:47:18.114 +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/04 12:47:18.119 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=319] [physicalTableID=319] [indexID=-1] [checksum=15615775900203205091] [totalKvs=2] [totalBytes=160] [2025/04/04 12:47:18.120 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=319] [physicalTableID=319] [indexID=1] [checksum=15150038536865480860] [totalKvs=6] [totalBytes=228] [2025/04/04 12:47:18.121 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 12:47:18.121 +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/04 12:47:18.121 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=61] [step=post-process] [subtask-id=116] [takeTime=13.093194ms] [] [2025/04/04 12:47:18.121 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=61] [step=post-process] [subtask-id=116] [takeTime=13.26905ms] [] [2025/04/04 12:47:18.121 +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.43362ms] [] [2025/04/04 12:47:18.140 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 12:47:18.227 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=61] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 12:47:18.227 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=61] [step=post-process] [state=running] [] [2025/04/04 12:47:18.229 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=61] [2025/04/04 12:47:18.257 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=61] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=156.455427ms] [] [2025/04/04 12:47:18.257 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=61] [type=ImportInto] [2025/04/04 12:47:18.322 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=61] [2025/04/04 12:47:18.327 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 12:47:18.328 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=61] [2025/04/04 12:47:18.350 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 12:47:18.517 +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.993200109\n# Parse_time: 0.000130672\n# Compile_time: 0.000755752\n# Rewrite_time: 0.000370568\n# Optimize_time: 0.000546754\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('SvBJMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5Mi4xbXMsIG9wZW46NjYxbnMsIGNsb3NlOjEuMjTCtXMsIGxvb3BzOjIJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('ZfBSCmEKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWjB0aW1lOjk5Mi4xbXMsIG9wZW46NjYxbnMsIGNsb3NlOjEuMjTCtXMsIGxvb3BzOjJw//////8BAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.00003438\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.25s) === NAME TestImportInto === RUN TestImportInto/TestOtherCharset [2025/04/04 12:47:18.531 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:321, Type:drop schema, State:queueing, SchemaState:public, SchemaID:218, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:18.494 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:47:18.532 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:321, Type:drop schema, State:queueing, SchemaState:public, SchemaID:218, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:18.494 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="DROP DATABASE IF EXISTS load_charset;"] [2025/04/04 12:47:18.537 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=321] [conn=2] [job="ID:321, Type:drop schema, State:queueing, SchemaState:public, SchemaID:218, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:18.494 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:18.554 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=228] [neededSchemaVersion=229] ["elapsed time"=2.033768ms] [gotSchemaVersion=229] [phyTblIDs="[222,226]"] [actionTypes="[2,2]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 12:47:18.557 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=321] [version=229] [2025/04/04 12:47:18.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=229] ["take time"=8.427645ms] [job="ID:321, Type:drop schema, State:running, SchemaState:write only, SchemaID:218, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:18.494 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:18.567 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=321] [conn=2] [job="ID:321, Type:drop schema, State:running, SchemaState:write only, SchemaID:218, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:18.494 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:18.579 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=229] [neededSchemaVersion=230] ["elapsed time"=134.305µs] [gotSchemaVersion=230] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 12:47:18.582 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=321] [version=230] [2025/04/04 12:47:18.583 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=230] ["take time"=6.392788ms] [job="ID:321, Type:drop schema, State:running, SchemaState:delete only, SchemaID:218, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:18.494 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:18.592 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=321] [conn=2] [job="ID:321, Type:drop schema, State:running, SchemaState:delete only, SchemaID:218, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:18.494 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:18.597 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/04 12:47:18.607 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=230] [neededSchemaVersion=231] ["elapsed time"=134.595µs] [gotSchemaVersion=231] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 12:47:18.610 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=321] [version=231] [2025/04/04 12:47:18.611 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=231] ["take time"=6.292461ms] [job="ID:321, Type:drop schema, State:done, SchemaState:none, SchemaID:218, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:18.494 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:18.620 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=321] [tableIDs="[222,226]"] [comment="drop schema: table IDs"] [2025/04/04 12:47:18.625 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=321] [jobType="drop schema"] [2025/04/04 12:47:18.625 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=321] [conn=2] [job="ID:321, Type:drop schema, State:synced, SchemaState:none, SchemaID:218, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:18.494 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:18.641 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=321] [2025/04/04 12:47:18.641 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=231] [cur_db=fail_job_after_import] [sql="DROP DATABASE IF EXISTS load_charset;"] [user=root@%] [2025/04/04 12:47:18.652 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:323, Type:create schema, State:queueing, SchemaState:none, SchemaID:322, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:18.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:47:18.652 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:323, Type:create schema, State:queueing, SchemaState:none, SchemaID:322, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:18.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE load_charset;"] [2025/04/04 12:47:18.657 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=323] [conn=2] [job="ID:323, Type:create schema, State:queueing, SchemaState:none, SchemaID:322, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:18.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:18.670 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=231] [neededSchemaVersion=232] ["elapsed time"=651.32µs] [gotSchemaVersion=232] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 12:47:18.673 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=323] [version=232] [2025/04/04 12:47:18.675 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=232] ["take time"=7.704732ms] [job="ID:323, Type:create schema, State:done, SchemaState:public, SchemaID:322, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:18.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:18.685 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=323] [conn=2] [job="ID:323, Type:create schema, State:synced, SchemaState:public, SchemaID:322, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:18.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:18.695 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=323] [2025/04/04 12:47:18.695 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=232] [cur_db=fail_job_after_import] [sql="CREATE DATABASE load_charset;"] [user=root@%] [2025/04/04 12:47:18.707 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:325, Type:create table, State:queueing, SchemaState:none, SchemaID:322, TableID:324, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:18.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:47:18.707 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:325, Type:create table, State:queueing, SchemaState:none, SchemaID:322, TableID:324, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:18.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE load_charset.utf8 (\n\t\ti INT, j VARCHAR(255)\n\t\t) CHARACTER SET utf8;"] [2025/04/04 12:47:18.713 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=325] [conn=2] [job="ID:325, Type:create table, State:queueing, SchemaState:none, SchemaID:322, TableID:324, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:18.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:18.717 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 324, Table Name: utf8)"] [2025/04/04 12:47:18.730 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=232] [neededSchemaVersion=233] ["elapsed time"=1.50766ms] [gotSchemaVersion=233] [phyTblIDs="[324]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:47:18.733 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=325] [version=233] [2025/04/04 12:47:18.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=233] ["take time"=7.788775ms] [job="ID:325, Type:create table, State:done, SchemaState:public, SchemaID:322, TableID:324, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:18.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:18.745 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=325] [conn=2] [job="ID:325, Type:create table, State:synced, SchemaState:public, SchemaID:322, TableID:324, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:18.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:18.756 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=325] [2025/04/04 12:47:18.757 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=233] [cur_db=fail_job_after_import] [sql="CREATE TABLE load_charset.utf8 (\n\t\ti INT, j VARCHAR(255)\n\t\t) CHARACTER SET utf8;"] [user=root@%] [2025/04/04 12:47:18.769 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:327, Type:create table, State:queueing, SchemaState:none, SchemaID:322, TableID:326, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:18.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:47:18.769 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:327, Type:create table, State:queueing, SchemaState:none, SchemaID:322, TableID:326, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:18.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE load_charset.utf8mb4 (\n\t\ti INT, j VARCHAR(255)\n\t\t) CHARACTER SET utf8mb4;"] [2025/04/04 12:47:18.774 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=327] [conn=2] [job="ID:327, Type:create table, State:queueing, SchemaState:none, SchemaID:322, TableID:326, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:18.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:18.778 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 326, Table Name: utf8mb4)"] [2025/04/04 12:47:18.792 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=233] [neededSchemaVersion=234] ["elapsed time"=1.59485ms] [gotSchemaVersion=234] [phyTblIDs="[326]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:47:18.795 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=327] [version=234] [2025/04/04 12:47:18.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=234] ["take time"=8.398301ms] [job="ID:327, Type:create table, State:done, SchemaState:public, SchemaID:322, TableID:326, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:18.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:18.807 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=327] [conn=2] [job="ID:327, Type:create table, State:synced, SchemaState:public, SchemaID:322, TableID:326, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:18.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:18.818 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=327] [2025/04/04 12:47:18.818 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=234] [cur_db=fail_job_after_import] [sql="CREATE TABLE load_charset.utf8mb4 (\n\t\ti INT, j VARCHAR(255)\n\t\t) CHARACTER SET utf8mb4;"] [user=root@%] [2025/04/04 12:47:18.824 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:47:18.868 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/utf8.tsv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"character_set\":\"utf8\"}}"] [dist-task-enabled=true] [2025/04/04 12:47:18.886 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=62] [task-id=62] [data-size=29B] [thread-cnt=26] [global-sort=false] [2025/04/04 12:47:18.900 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=62] [2025/04/04 12:47:18.901 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=62] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/04 12:47:19.003 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=62] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 12:47:19.004 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=62] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:47:19.005 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=62] [curr-step=init] [next-step=import] [2025/04/04 12:47:19.012 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:47:19.015 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=utf8] [2025/04/04 12:47:19.015 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=utf8] [before=536870912000] [after=29] [2025/04/04 12:47:19.015 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=utf8] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=29] [cost=44.344µs] [2025/04/04 12:47:19.015 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=utf8] [takeTime=145.657µs] [] [2025/04/04 12:47:19.015 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=62] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 12:47:19.015 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=62] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/04 12:47:19.053 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=62] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 12:47:19.073 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=62] [step=import] [2025/04/04 12:47:19.073 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:47:19.081 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:47:19.081 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 12:47:19.082 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:47:19.082 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:47:19.082 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:47:19.082 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:47:19.082 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:47:19.082 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:47:19.082 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:47:19.082 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:47:19.095 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:47:19.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/04 12:47:19.097 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=utf8] [quota=374.2GB] [2025/04/04 12:47:19.097 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=62] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 12:47:19.097 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=utf8] [import-id=62] [disk-quota=348.5GiB] [2025/04/04 12:47:19.097 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=62] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 12:47:19.104 +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/04 12:47:19.104 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=62] [step=import] [subtask-id=117] [2025/04/04 12:47:19.108 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8`:0] [engineUUID=11721d0c-587e-542e-9623-9a54305cb4a0] [2025/04/04 12:47:19.110 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=62] [mode=Import] [2025/04/04 12:47:19.111 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8`:-1] [engineUUID=540acf73-6ec3-5b55-85b2-3744f849f236] [2025/04/04 12:47:19.111 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=324] [2025/04/04 12:47:19.128 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=62] [2025/04/04 12:47:19.144 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=324] [key=utf8.tsv:0] [2025/04/04 12:47:19.146 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=324] [key=utf8.tsv:0] [readDur=802.767µs] [encodeDur=249.237µs] [checksum="{cksum=13472460632354338593,size=88,kvs=2}"] [deliverDur=237.375µs] [type=file] [takeTime=1.534476ms] [] [2025/04/04 12:47:19.147 +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/fcd800cd-215a-43da-b005-fac0f0b4f1a6.sst] [firstKey=7480000000000001445F728000000000000001] [lastKey=7480000000000001445F728000000000000002] [2025/04/04 12:47:19.147 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=62] [step=import] [engine-id=0] [2025/04/04 12:47:19.147 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=62] [step=import] [engine-id=0] [2025/04/04 12:47:19.147 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8`:0] [engineUUID=11721d0c-587e-542e-9623-9a54305cb4a0] [2025/04/04 12:47:19.149 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8`:0] [engineUUID=11721d0c-587e-542e-9623-9a54305cb4a0] [takeTime=1.919646ms] [] [2025/04/04 12:47:19.149 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8`:0] [engineUUID=11721d0c-587e-542e-9623-9a54305cb4a0] [retryCnt=0] [2025/04/04 12:47:19.153 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:47:19.174 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=11721d0c-587e-542e-9623-9a54305cb4a0] ["region ranges"=1] [count=2] [size=88] [2025/04/04 12:47:19.174 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:47:19.176 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001445f728000000000000001] [endOfAllRanges=7480000000000001445f728000000000000003] [startKeyOfFirstRegion=7480000000000001ff445f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff445f728000000000ff0000030000000000fa] [2025/04/04 12:47:19.187 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=11721d0c-587e-542e-9623-9a54305cb4a0] [size=88] [kvs=2] [importedSize=88] [importedCount=2] [2025/04/04 12:47:19.188 +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=39.452905ms] [] [2025/04/04 12:47:19.188 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8`:0] [engineUUID=11721d0c-587e-542e-9623-9a54305cb4a0] [2025/04/04 12:47:19.189 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8`:0] [engineUUID=11721d0c-587e-542e-9623-9a54305cb4a0] [takeTime=991.329µs] [] [2025/04/04 12:47:19.190 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=62] [step=import] [engine-id=0] [2025/04/04 12:47:19.190 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8`:-1] [engineUUID=540acf73-6ec3-5b55-85b2-3744f849f236] [2025/04/04 12:47:19.191 +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.413322ms] [] [2025/04/04 12:47:19.191 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8`:-1] [engineUUID=540acf73-6ec3-5b55-85b2-3744f849f236] [retryCnt=0] [2025/04/04 12:47:19.195 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=540acf73-6ec3-5b55-85b2-3744f849f236] [2025/04/04 12:47:19.195 +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.693486ms] [] [2025/04/04 12:47:19.195 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8`:-1] [engineUUID=540acf73-6ec3-5b55-85b2-3744f849f236] [2025/04/04 12:47:19.196 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8`:-1] [engineUUID=540acf73-6ec3-5b55-85b2-3744f849f236] [takeTime=857.882µs] [] [2025/04/04 12:47:19.196 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=62] [step=import] [subtask-id=117] [takeTime=91.737962ms] [] [2025/04/04 12:47:19.196 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=62] [task-type=ImportInto] [server-id=:4000] [subtaskID=117] [step=import] [takeTime=92.179437ms] [] [2025/04/04 12:47:19.208 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=62] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 12:47:19.209 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=62] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:47:19.210 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=62] [curr-step=import] [next-step=post-process] [2025/04/04 12:47:19.210 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=62] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 12:47:19.239 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=62] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/04 12:47:19.240 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=62] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 12:47:19.240 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=62] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=26] [subtasks=1] [2025/04/04 12:47:19.261 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=62] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 12:47:19.267 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=62] [step=import] [2025/04/04 12:47:19.270 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:47:19.270 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:47:19.270 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:47:19.270 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:47:19.270 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:47:19.270 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:47:19.270 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:47:19.270 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:47:19.270 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:47:19.270 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-61] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:47:19.270 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:47:19.270 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:47:19.272 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:47:19.272 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:47:19.272 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:47:19.272 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:47:19.272 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=62] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=175.228815ms] [] [2025/04/04 12:47:19.273 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=62] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 12:47:19.280 +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/04 12:47:19.280 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=62] [step=post-process] [subtask-id=118] [2025/04/04 12:47:19.280 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=62] [step=post-process] [subtask-id=118] [2025/04/04 12:47:19.280 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=62] [step=post-process] [subtask-id=118] [2025/04/04 12:47:19.285 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=62] [step=post-process] [subtask-id=118] [takeTime=5.040421ms] [] [2025/04/04 12:47:19.285 +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/04 12:47:19.285 +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/04 12:47:19.285 +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/04 12:47:19.285 +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/04 12:47:19.287 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=324] [physicalTableID=324] [indexID=-1] [checksum=13472460632354338593] [totalKvs=2] [totalBytes=88] [2025/04/04 12:47:19.287 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 12:47:19.287 +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/04 12:47:19.287 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=62] [step=post-process] [subtask-id=118] [takeTime=7.417494ms] [] [2025/04/04 12:47:19.287 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=62] [step=post-process] [subtask-id=118] [takeTime=7.551829ms] [] [2025/04/04 12:47:19.287 +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=7.683083ms] [] [2025/04/04 12:47:19.302 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 12:47:19.308 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=62] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 12:47:19.308 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=62] [step=post-process] [state=running] [] [2025/04/04 12:47:19.310 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=62] [2025/04/04 12:47:19.333 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=62] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=59.393496ms] [] [2025/04/04 12:47:19.333 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=62] [type=ImportInto] [2025/04/04 12:47:19.403 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=62] [2025/04/04 12:47:19.408 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 12:47:19.408 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=62] [2025/04/04 12:47:19.429 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 12:47:19.503 +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.683915988\n# Parse_time: 0.000086068\n# Compile_time: 0.000528247\n# Rewrite_time: 0.000159758\n# Optimize_time: 0.000302686\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY4M21zLCBvcGVuOjY2NW5zLCBjbG9zZToxLjAywrVzLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY4M21zLCBvcGVuOjY2NW5zLCBjbG9zZToxLjAywrVzLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.00003438\nIMPORT INTO `load_charset`.`utf8` FROM 'gs://test-load/utf8.tsv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH character_set=_UTF8MB4'utf8';"] [2025/04/04 12:47:19.511 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:47:19.557 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/utf8.tsv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"character_set\":\"utf8\"}}"] [dist-task-enabled=true] [2025/04/04 12:47:19.574 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=63] [task-id=63] [data-size=29B] [thread-cnt=26] [global-sort=false] [2025/04/04 12:47:19.588 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=63] [2025/04/04 12:47:19.588 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=63] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/04 12:47:19.690 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=63] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 12:47:19.692 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=63] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:47:19.694 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=63] [curr-step=init] [next-step=import] [2025/04/04 12:47:19.702 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:47:19.704 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=utf8mb4] [2025/04/04 12:47:19.704 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=utf8mb4] [before=536870912000] [after=29] [2025/04/04 12:47:19.705 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=utf8mb4] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=29] [cost=62.923µs] [2025/04/04 12:47:19.705 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=utf8mb4] [takeTime=168.703µs] [] [2025/04/04 12:47:19.705 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=63] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 12:47:19.705 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=63] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/04 12:47:19.742 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=63] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 12:47:19.762 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=63] [step=import] [2025/04/04 12:47:19.763 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:47:19.770 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:47:19.770 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 12:47:19.771 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:47:19.771 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:47:19.771 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:47:19.771 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:47:19.771 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:47:19.771 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:47:19.772 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:47:19.772 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:47:19.784 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:47:19.786 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 12:47:19.786 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=utf8mb4] [quota=374.2GB] [2025/04/04 12:47:19.786 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=63] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 12:47:19.786 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=utf8mb4] [import-id=63] [disk-quota=348.5GiB] [2025/04/04 12:47:19.786 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=63] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 12:47:19.794 +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/04 12:47:19.794 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=63] [step=import] [subtask-id=119] [2025/04/04 12:47:19.798 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:0] [engineUUID=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [2025/04/04 12:47:19.799 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=63] [mode=Import] [2025/04/04 12:47:19.802 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:-1] [engineUUID=e89504af-26b5-5340-ae2e-218c1dc24988] [2025/04/04 12:47:19.802 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=326] [2025/04/04 12:47:19.817 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=63] [2025/04/04 12:47:19.835 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=326] [key=utf8.tsv:0] [2025/04/04 12:47:19.837 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=326] [key=utf8.tsv:0] [readDur=1.005134ms] [encodeDur=279.138µs] [checksum="{cksum=13472460632354338593,size=88,kvs=2}"] [deliverDur=249.373µs] [type=file] [takeTime=1.865308ms] [] [2025/04/04 12:47:19.838 +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/00b7b1a4-6502-4f44-b516-11fc4bdc2682.sst] [firstKey=7480000000000001465F728000000000000001] [lastKey=7480000000000001465F728000000000000002] [2025/04/04 12:47:19.838 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=63] [step=import] [engine-id=0] [2025/04/04 12:47:19.838 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=63] [step=import] [engine-id=0] [2025/04/04 12:47:19.838 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:0] [engineUUID=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [2025/04/04 12:47:19.840 +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.910607ms] [] [2025/04/04 12:47:19.840 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:0] [engineUUID=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [retryCnt=0] [2025/04/04 12:47:19.844 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:47:19.866 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] ["region ranges"=1] [count=2] [size=88] [2025/04/04 12:47:19.866 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:47:19.867 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001465f728000000000000001] [endOfAllRanges=7480000000000001465f728000000000000003] [startKeyOfFirstRegion=7480000000000001ff465f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff465f728000000000ff0000030000000000fa] [2025/04/04 12:47:19.878 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [size=88] [kvs=2] [importedSize=88] [importedCount=2] [2025/04/04 12:47:19.880 +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.437199ms] [] [2025/04/04 12:47:19.881 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:0] [engineUUID=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [2025/04/04 12:47:19.882 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:0] [engineUUID=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [takeTime=1.232506ms] [] [2025/04/04 12:47:19.882 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=63] [step=import] [engine-id=0] [2025/04/04 12:47:19.882 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:-1] [engineUUID=e89504af-26b5-5340-ae2e-218c1dc24988] [2025/04/04 12:47:19.884 +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.923062ms] [] [2025/04/04 12:47:19.884 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:-1] [engineUUID=e89504af-26b5-5340-ae2e-218c1dc24988] [retryCnt=0] [2025/04/04 12:47:19.888 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=e89504af-26b5-5340-ae2e-218c1dc24988] [2025/04/04 12:47:19.888 +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.157793ms] [] [2025/04/04 12:47:19.888 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:-1] [engineUUID=e89504af-26b5-5340-ae2e-218c1dc24988] [2025/04/04 12:47:19.889 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:-1] [engineUUID=e89504af-26b5-5340-ae2e-218c1dc24988] [takeTime=930.771µs] [] [2025/04/04 12:47:19.889 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=63] [step=import] [subtask-id=119] [takeTime=95.591443ms] [] [2025/04/04 12:47:19.889 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=63] [task-type=ImportInto] [server-id=:4000] [subtaskID=119] [step=import] [takeTime=95.752063ms] [] [2025/04/04 12:47:19.996 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=63] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 12:47:19.997 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=63] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:47:19.998 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=63] [curr-step=import] [next-step=post-process] [2025/04/04 12:47:19.998 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=63] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 12:47:20.029 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=63] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/04 12:47:20.030 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=63] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 12:47:20.030 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=63] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=26] [subtasks=1] [2025/04/04 12:47:20.038 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=63] [task-type=ImportInto] [server-id=:4000] [2025/04/04 12:47:20.038 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=63] [step=import] [2025/04/04 12:47:20.041 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:47:20.041 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:47:20.041 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:47:20.041 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:47:20.041 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:47:20.041 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:47:20.041 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:47:20.041 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:47:20.041 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:47:20.041 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-62] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:47:20.042 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:47:20.042 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:47:20.044 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:47:20.044 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:47:20.044 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:47:20.044 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:47:20.044 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=63] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=258.341929ms] [] [2025/04/04 12:47:20.044 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=63] [type=ImportInto] [2025/04/04 12:47:20.063 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=63] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 12:47:20.084 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=63] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 12:47:20.091 +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/04 12:47:20.091 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=63] [step=post-process] [subtask-id=120] [2025/04/04 12:47:20.091 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=63] [step=post-process] [subtask-id=120] [2025/04/04 12:47:20.091 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=63] [step=post-process] [subtask-id=120] [2025/04/04 12:47:20.097 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=63] [step=post-process] [subtask-id=120] [takeTime=5.736964ms] [] [2025/04/04 12:47:20.097 +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/04 12:47:20.097 +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/04 12:47:20.097 +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/04 12:47:20.097 +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/04 12:47:20.100 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=326] [physicalTableID=326] [indexID=-1] [checksum=13472460632354338593] [totalKvs=2] [totalBytes=88] [2025/04/04 12:47:20.100 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 12:47:20.100 +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/04 12:47:20.100 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=63] [step=post-process] [subtask-id=120] [takeTime=9.01914ms] [] [2025/04/04 12:47:20.100 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=63] [step=post-process] [subtask-id=120] [takeTime=9.166052ms] [] [2025/04/04 12:47:20.100 +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=9.301804ms] [] [2025/04/04 12:47:20.121 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 12:47:20.196 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=63] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 12:47:20.196 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=63] [step=post-process] [state=running] [] [2025/04/04 12:47:20.198 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=63] [2025/04/04 12:47:20.219 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=63] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=135.360251ms] [] [2025/04/04 12:47:20.219 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=63] [type=ImportInto] [2025/04/04 12:47:20.290 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=63] [2025/04/04 12:47:20.296 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 12:47:20.296 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=63] [2025/04/04 12:47:20.317 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 12:47:20.490 +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.984294995\n# Parse_time: 0.000085036\n# Compile_time: 0.000622449\n# Rewrite_time: 0.000216591\n# Optimize_time: 0.000248664\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4My4zbXMsIG9wZW46NzIwbnMsIGNsb3NlOjk3NG5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk4My4zbXMsIG9wZW46NzIwbnMsIGNsb3NlOjk3NG5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.00003438\nIMPORT INTO `load_charset`.`utf8mb4` FROM 'gs://test-load/utf8.tsv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH character_set=_UTF8MB4'utf8';"] [2025/04/04 12:47:20.508 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:329, Type:create table, State:queueing, SchemaState:none, SchemaID:322, TableID:328, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:20.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE load_charset.latin1 (\n\t\ti INT, j VARCHAR(255)\n\t\t) CHARACTER SET latin1;"] [2025/04/04 12:47:20.508 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:329, Type:create table, State:queueing, SchemaState:none, SchemaID:322, TableID:328, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:20.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:47:20.513 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=329] [conn=2] [job="ID:329, Type:create table, State:queueing, SchemaState:none, SchemaID:322, TableID:328, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:20.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:20.518 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 328, Table Name: latin1)"] [2025/04/04 12:47:20.534 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=234] [neededSchemaVersion=235] ["elapsed time"=2.01593ms] [gotSchemaVersion=235] [phyTblIDs="[328]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:47:20.538 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=329] [version=235] [2025/04/04 12:47:20.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=235] ["take time"=9.170095ms] [job="ID:329, Type:create table, State:done, SchemaState:public, SchemaID:322, TableID:328, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:20.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:20.550 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=329] [conn=2] [job="ID:329, Type:create table, State:synced, SchemaState:public, SchemaID:322, TableID:328, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:20.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:20.561 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=329] [2025/04/04 12:47:20.561 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=235] [cur_db=fail_job_after_import] [sql="CREATE TABLE load_charset.latin1 (\n\t\ti INT, j VARCHAR(255)\n\t\t) CHARACTER SET latin1;"] [user=root@%] [2025/04/04 12:47:20.567 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:47:20.704 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/latin1.tsv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"character_set\":\"latin1\"}}"] [dist-task-enabled=true] [2025/04/04 12:47:20.723 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=64] [task-id=64] [data-size=13B] [thread-cnt=26] [global-sort=false] [2025/04/04 12:47:20.737 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=64] [2025/04/04 12:47:20.737 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=64] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/04 12:47:20.839 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=64] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 12:47:20.840 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=64] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:47:20.841 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=64] [curr-step=init] [next-step=import] [2025/04/04 12:47:20.849 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:47:20.851 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=latin1] [2025/04/04 12:47:20.851 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=latin1] [before=536870912000] [after=13] [2025/04/04 12:47:20.852 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=latin1] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=13] [cost=49.764µs] [2025/04/04 12:47:20.852 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=latin1] [takeTime=196.63µs] [] [2025/04/04 12:47:20.852 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=64] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 12:47:20.852 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=64] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/04 12:47:20.893 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=64] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 12:47:20.913 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=64] [step=import] [2025/04/04 12:47:20.913 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:47:20.921 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:47:20.921 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 12:47:20.922 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:47:20.922 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:47:20.922 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:47:20.922 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:47:20.922 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:47:20.922 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:47:20.923 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:47:20.923 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:47:20.934 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:47:20.936 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 12:47:20.937 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=latin1] [quota=374.2GB] [2025/04/04 12:47:20.937 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=64] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 12:47:20.937 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=64] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 12:47:20.937 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=latin1] [import-id=64] [disk-quota=348.5GiB] [2025/04/04 12:47:20.944 +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/04 12:47:20.944 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=64] [step=import] [subtask-id=121] [2025/04/04 12:47:20.947 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=64] [mode=Import] [2025/04/04 12:47:20.948 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`latin1`:0] [engineUUID=ece7d91b-221a-5440-8076-d026d7718798] [2025/04/04 12:47:20.952 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`latin1`:-1] [engineUUID=1774e91d-7263-56a9-bdea-f7aa1943b8e4] [2025/04/04 12:47:20.952 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=328] [2025/04/04 12:47:20.967 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=64] [2025/04/04 12:47:21.081 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=328] [key=latin1.tsv:0] [2025/04/04 12:47:21.083 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=328] [key=latin1.tsv:0] [readDur=1.126236ms] [encodeDur=473.787µs] [checksum="{cksum=3436636415173179895,size=84,kvs=2}"] [deliverDur=266.066µs] [type=file] [takeTime=2.141454ms] [] [2025/04/04 12:47:21.084 +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/52e49299-59ef-4112-9122-fc5f22d89f00.sst] [firstKey=7480000000000001485F728000000000000001] [lastKey=7480000000000001485F728000000000000002] [2025/04/04 12:47:21.084 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=64] [step=import] [engine-id=0] [2025/04/04 12:47:21.084 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=64] [step=import] [engine-id=0] [2025/04/04 12:47:21.084 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_charset`.`latin1`:0] [engineUUID=ece7d91b-221a-5440-8076-d026d7718798] [2025/04/04 12:47:21.086 +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.170972ms] [] [2025/04/04 12:47:21.086 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_charset`.`latin1`:0] [engineUUID=ece7d91b-221a-5440-8076-d026d7718798] [retryCnt=0] [2025/04/04 12:47:21.090 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:47:21.112 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ece7d91b-221a-5440-8076-d026d7718798] ["region ranges"=1] [count=2] [size=84] [2025/04/04 12:47:21.113 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:47:21.114 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001485f728000000000000001] [endOfAllRanges=7480000000000001485f728000000000000003] [startKeyOfFirstRegion=7480000000000001ff485f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff485f728000000000ff0000030000000000fa] [2025/04/04 12:47:21.125 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ece7d91b-221a-5440-8076-d026d7718798] [size=84] [kvs=2] [importedSize=84] [importedCount=2] [2025/04/04 12:47:21.127 +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=40.80087ms] [] [2025/04/04 12:47:21.127 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`latin1`:0] [engineUUID=ece7d91b-221a-5440-8076-d026d7718798] [2025/04/04 12:47:21.128 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`latin1`:0] [engineUUID=ece7d91b-221a-5440-8076-d026d7718798] [takeTime=1.049722ms] [] [2025/04/04 12:47:21.128 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=64] [step=import] [engine-id=0] [2025/04/04 12:47:21.128 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_charset`.`latin1`:-1] [engineUUID=1774e91d-7263-56a9-bdea-f7aa1943b8e4] [2025/04/04 12:47:21.130 +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.517397ms] [] [2025/04/04 12:47:21.130 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_charset`.`latin1`:-1] [engineUUID=1774e91d-7263-56a9-bdea-f7aa1943b8e4] [retryCnt=0] [2025/04/04 12:47:21.133 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=1774e91d-7263-56a9-bdea-f7aa1943b8e4] [2025/04/04 12:47:21.133 +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.513817ms] [] [2025/04/04 12:47:21.133 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`latin1`:-1] [engineUUID=1774e91d-7263-56a9-bdea-f7aa1943b8e4] [2025/04/04 12:47:21.134 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`latin1`:-1] [engineUUID=1774e91d-7263-56a9-bdea-f7aa1943b8e4] [takeTime=813.161µs] [] [2025/04/04 12:47:21.134 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=64] [step=import] [subtask-id=121] [takeTime=190.181209ms] [] [2025/04/04 12:47:21.136 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=64] [task-type=ImportInto] [server-id=:4000] [subtaskID=121] [step=import] [takeTime=191.545681ms] [] [2025/04/04 12:47:21.245 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=64] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 12:47:21.246 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=64] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:47:21.247 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=64] [curr-step=import] [next-step=post-process] [2025/04/04 12:47:21.247 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=64] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 12:47:21.275 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=64] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/04 12:47:21.277 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=64] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 12:47:21.277 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=64] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=26] [subtasks=1] [2025/04/04 12:47:21.277 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=64] [task-type=ImportInto] [server-id=:4000] [2025/04/04 12:47:21.278 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=64] [step=import] [2025/04/04 12:47:21.280 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:47:21.280 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:47:21.280 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:47:21.280 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:47:21.280 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:47:21.280 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:47:21.280 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:47:21.280 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:47:21.280 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:47:21.280 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-63] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:47:21.280 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:47:21.280 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:47:21.283 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:47:21.283 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:47:21.283 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:47:21.283 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:47:21.283 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=64] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=346.046705ms] [] [2025/04/04 12:47:21.283 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=64] [type=ImportInto] [2025/04/04 12:47:21.311 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=64] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 12:47:21.331 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=64] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 12:47:21.338 +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/04 12:47:21.338 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=64] [step=post-process] [subtask-id=122] [2025/04/04 12:47:21.338 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=64] [step=post-process] [subtask-id=122] [2025/04/04 12:47:21.338 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=64] [step=post-process] [subtask-id=122] [2025/04/04 12:47:21.345 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=64] [step=post-process] [subtask-id=122] [takeTime=6.088527ms] [] [2025/04/04 12:47:21.345 +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/04 12:47:21.345 +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/04 12:47:21.345 +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/04 12:47:21.345 +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/04 12:47:21.347 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=328] [physicalTableID=328] [indexID=-1] [checksum=3436636415173179895] [totalKvs=2] [totalBytes=84] [2025/04/04 12:47:21.347 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 12:47:21.347 +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/04 12:47:21.347 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=64] [step=post-process] [subtask-id=122] [takeTime=8.819155ms] [] [2025/04/04 12:47:21.347 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=64] [step=post-process] [subtask-id=122] [takeTime=9.011313ms] [] [2025/04/04 12:47:21.347 +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=9.133183ms] [] [2025/04/04 12:47:21.372 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 12:47:21.444 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=64] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 12:47:21.444 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=64] [step=post-process] [state=running] [] [2025/04/04 12:47:21.446 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=64] [2025/04/04 12:47:21.464 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=64] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=132.87891ms] [] [2025/04/04 12:47:21.464 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=64] [type=ImportInto] [2025/04/04 12:47:21.539 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=64] [2025/04/04 12:47:21.545 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 12:47:21.545 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=64] [2025/04/04 12:47:21.565 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 12:47:21.639 +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.078101757\n# Parse_time: 0.000095588\n# Compile_time: 0.00057344\n# Rewrite_time: 0.00017016\n# Optimize_time: 0.000241098\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('RvBFMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjEuMDhzLCBvcGVuOjcyNm5zLCBjbG9zZTo4NDNucywgbG9vcHM6MglOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('YfBMCl0KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWix0aW1lOjEuMDhzLCBvcGVuOjcyNm5zLCBjbG9zZTo4NDNucywgbG9vcHM6MnD///8JAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.00003438\nIMPORT INTO `load_charset`.`latin1` FROM 'gs://test-load/latin1.tsv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH character_set=_UTF8MB4'latin1';"] [2025/04/04 12:47:21.654 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:331, Type:truncate table, State:queueing, SchemaState:none, SchemaID:322, TableID:326, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:21.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:47:21.654 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:331, Type:truncate table, State:queueing, SchemaState:none, SchemaID:322, TableID:326, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:21.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="TRUNCATE TABLE load_charset.utf8mb4;"] [2025/04/04 12:47:21.659 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=331] [conn=2] [job="ID:331, Type:truncate table, State:queueing, SchemaState:none, SchemaID:322, TableID:326, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:21.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:21.666 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 330, Table Name: utf8mb4, Old Table ID: 326, Old Table Name: utf8mb4)"] [2025/04/04 12:47:21.680 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=235] [neededSchemaVersion=236] ["elapsed time"=1.695522ms] [gotSchemaVersion=236] [phyTblIDs="[326,330]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 12:47:21.684 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=331] [version=236] [2025/04/04 12:47:21.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=236] ["take time"=8.246166ms] [job="ID:331, Type:truncate table, State:done, SchemaState:public, SchemaID:322, TableID:326, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:21.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:21.695 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=331] [tableIDs="[326]"] [comment="truncate table: table ID"] [2025/04/04 12:47:21.699 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=331] [jobType="truncate table"] [2025/04/04 12:47:21.700 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=331] [conn=2] [job="ID:331, Type:truncate table, State:synced, SchemaState:public, SchemaID:322, TableID:326, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:21.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:21.716 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=331] [2025/04/04 12:47:21.717 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=236] [cur_db=fail_job_after_import] [sql="TRUNCATE TABLE load_charset.utf8mb4;"] [user=root@%] [2025/04/04 12:47:21.722 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:47:21.766 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/latin1.tsv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"character_set\":\"latin1\"}}"] [dist-task-enabled=true] [2025/04/04 12:47:21.784 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=65] [task-id=65] [data-size=13B] [thread-cnt=26] [global-sort=false] [2025/04/04 12:47:21.798 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=65] [2025/04/04 12:47:21.798 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=65] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/04 12:47:21.900 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=65] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 12:47:21.901 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=65] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:47:21.902 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=65] [curr-step=init] [next-step=import] [2025/04/04 12:47:21.910 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:47:21.912 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=utf8mb4] [2025/04/04 12:47:21.913 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=utf8mb4] [before=536870912000] [after=13] [2025/04/04 12:47:21.913 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=utf8mb4] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=13] [cost=72.438µs] [2025/04/04 12:47:21.913 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=utf8mb4] [takeTime=236.546µs] [] [2025/04/04 12:47:21.913 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=65] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 12:47:21.913 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=65] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/04 12:47:21.954 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=65] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 12:47:21.974 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=65] [step=import] [2025/04/04 12:47:21.974 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:47:21.982 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:47:21.982 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 12:47:21.982 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:47:21.982 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:47:21.982 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:47:21.982 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:47:21.982 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:47:21.983 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:47:21.983 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:47:21.983 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:47:21.995 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:47:21.996 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 12:47:21.996 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=utf8mb4] [quota=374.2GB] [2025/04/04 12:47:21.997 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=65] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 12:47:21.997 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=utf8mb4] [import-id=65] [disk-quota=348.5GiB] [2025/04/04 12:47:21.997 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=65] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 12:47:22.004 +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/04 12:47:22.004 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=65] [step=import] [subtask-id=123] [2025/04/04 12:47:22.007 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=65] [mode=Import] [2025/04/04 12:47:22.008 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:0] [engineUUID=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [2025/04/04 12:47:22.012 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:-1] [engineUUID=e89504af-26b5-5340-ae2e-218c1dc24988] [2025/04/04 12:47:22.013 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=330] [2025/04/04 12:47:22.025 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=65] [2025/04/04 12:47:22.052 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=330] [key=latin1.tsv:0] [2025/04/04 12:47:22.054 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=330] [key=latin1.tsv:0] [readDur=922.599µs] [encodeDur=400.275µs] [checksum="{cksum=383903096968287332,size=84,kvs=2}"] [deliverDur=258.327µs] [type=file] [takeTime=1.876872ms] [] [2025/04/04 12:47:22.055 +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/51245ad3-945f-4a3c-81a2-8daa1637d5c9.sst] [firstKey=74800000000000014A5F728000000000000001] [lastKey=74800000000000014A5F728000000000000002] [2025/04/04 12:47:22.055 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=65] [step=import] [engine-id=0] [2025/04/04 12:47:22.055 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=65] [step=import] [engine-id=0] [2025/04/04 12:47:22.055 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:0] [engineUUID=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [2025/04/04 12:47:22.057 +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.260535ms] [] [2025/04/04 12:47:22.058 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:0] [engineUUID=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [retryCnt=0] [2025/04/04 12:47:22.062 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:47:22.084 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] ["region ranges"=1] [count=2] [size=84] [2025/04/04 12:47:22.084 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:47:22.085 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000014a5f728000000000000001] [endOfAllRanges=74800000000000014a5f728000000000000003] [startKeyOfFirstRegion=7480000000000001ff4a5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff4a5f728000000000ff0000030000000000fa] [2025/04/04 12:47:22.097 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [size=84] [kvs=2] [importedSize=84] [importedCount=2] [2025/04/04 12:47:22.099 +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.535527ms] [] [2025/04/04 12:47:22.099 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:0] [engineUUID=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [2025/04/04 12:47:22.101 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:0] [engineUUID=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [takeTime=1.415297ms] [] [2025/04/04 12:47:22.101 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=65] [step=import] [engine-id=0] [2025/04/04 12:47:22.101 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:-1] [engineUUID=e89504af-26b5-5340-ae2e-218c1dc24988] [2025/04/04 12:47:22.102 +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.543055ms] [] [2025/04/04 12:47:22.102 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:-1] [engineUUID=e89504af-26b5-5340-ae2e-218c1dc24988] [retryCnt=0] [2025/04/04 12:47:22.106 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=e89504af-26b5-5340-ae2e-218c1dc24988] [2025/04/04 12:47:22.106 +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.527901ms] [] [2025/04/04 12:47:22.106 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:-1] [engineUUID=e89504af-26b5-5340-ae2e-218c1dc24988] [2025/04/04 12:47:22.107 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:-1] [engineUUID=e89504af-26b5-5340-ae2e-218c1dc24988] [takeTime=836.796µs] [] [2025/04/04 12:47:22.107 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=65] [step=import] [subtask-id=123] [takeTime=102.862313ms] [] [2025/04/04 12:47:22.107 +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.010765ms] [] [2025/04/04 12:47:22.205 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=65] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 12:47:22.206 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=65] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:47:22.207 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=65] [curr-step=import] [next-step=post-process] [2025/04/04 12:47:22.207 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=65] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 12:47:22.236 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=65] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/04 12:47:22.237 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=65] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 12:47:22.237 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=65] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=26] [subtasks=1] [2025/04/04 12:47:22.259 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=65] [task-type=ImportInto] [server-id=:4000] [2025/04/04 12:47:22.259 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=65] [step=import] [2025/04/04 12:47:22.262 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:47:22.262 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:47:22.262 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:47:22.262 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:47:22.262 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:47:22.262 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:47:22.262 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:47:22.262 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:47:22.262 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:47:22.262 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-64] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:47:22.262 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:47:22.262 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:47:22.264 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:47:22.264 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:47:22.264 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:47:22.264 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:47:22.264 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=65] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=267.465375ms] [] [2025/04/04 12:47:22.264 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=65] [type=ImportInto] [2025/04/04 12:47:22.271 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=65] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 12:47:22.291 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=65] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 12:47:22.298 +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/04 12:47:22.298 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=65] [step=post-process] [subtask-id=124] [2025/04/04 12:47:22.298 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=65] [step=post-process] [subtask-id=124] [2025/04/04 12:47:22.298 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=65] [step=post-process] [subtask-id=124] [2025/04/04 12:47:22.304 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=65] [step=post-process] [subtask-id=124] [takeTime=5.889267ms] [] [2025/04/04 12:47:22.304 +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/04 12:47:22.304 +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/04 12:47:22.304 +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/04 12:47:22.304 +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/04 12:47:22.306 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=330] [physicalTableID=330] [indexID=-1] [checksum=383903096968287332] [totalKvs=2] [totalBytes=84] [2025/04/04 12:47:22.307 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 12:47:22.307 +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/04 12:47:22.307 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=65] [step=post-process] [subtask-id=124] [takeTime=8.507373ms] [] [2025/04/04 12:47:22.307 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=65] [step=post-process] [subtask-id=124] [takeTime=8.643563ms] [] [2025/04/04 12:47:22.307 +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.784108ms] [] [2025/04/04 12:47:22.331 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 12:47:22.407 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=65] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 12:47:22.407 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=65] [step=post-process] [state=running] [] [2025/04/04 12:47:22.409 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=65] [2025/04/04 12:47:22.426 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=65] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=135.402495ms] [] [2025/04/04 12:47:22.426 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=65] [type=ImportInto] [2025/04/04 12:47:22.500 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=65] [2025/04/04 12:47:22.506 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 12:47:22.506 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=65] [2025/04/04 12:47:22.526 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 12:47:22.701 +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.984316675\n# Parse_time: 0.000089101\n# Compile_time: 0.000566487\n# Rewrite_time: 0.000163586\n# Optimize_time: 0.000251186\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4My40bXMsIG9wZW46Njc0bnMsIGNsb3NlOjkyNW5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk4My40bXMsIG9wZW46Njc0bnMsIGNsb3NlOjkyNW5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.00003438\nIMPORT INTO `load_charset`.`utf8mb4` FROM 'gs://test-load/latin1.tsv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH character_set=_UTF8MB4'latin1';"] [2025/04/04 12:47:22.717 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:333, Type:create table, State:queueing, SchemaState:none, SchemaID:322, TableID:332, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:22.694 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE load_charset.ascii (\n\t\tj VARCHAR(255)\n\t\t) CHARACTER SET ascii;"] [2025/04/04 12:47:22.717 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:333, Type:create table, State:queueing, SchemaState:none, SchemaID:322, TableID:332, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:22.694 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:47:22.723 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=333] [conn=2] [job="ID:333, Type:create table, State:queueing, SchemaState:none, SchemaID:322, TableID:332, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:22.694 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:22.727 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 332, Table Name: ascii)"] [2025/04/04 12:47:22.741 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=236] [neededSchemaVersion=237] ["elapsed time"=1.558886ms] [gotSchemaVersion=237] [phyTblIDs="[332]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:47:22.745 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=333] [version=237] [2025/04/04 12:47:22.746 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=237] ["take time"=8.996831ms] [job="ID:333, Type:create table, State:done, SchemaState:public, SchemaID:322, TableID:332, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:22.694 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:22.757 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=333] [conn=2] [job="ID:333, Type:create table, State:synced, SchemaState:public, SchemaID:322, TableID:332, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:22.694 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:22.767 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=333] [2025/04/04 12:47:22.767 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=237] [cur_db=fail_job_after_import] [sql="CREATE TABLE load_charset.ascii (\n\t\tj VARCHAR(255)\n\t\t) CHARACTER SET ascii;"] [user=root@%] [2025/04/04 12:47:22.779 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:335, Type:create table, State:queueing, SchemaState:none, SchemaID:322, TableID:334, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:22.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 12:47:22.779 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:335, Type:create table, State:queueing, SchemaState:none, SchemaID:322, TableID:334, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:22.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE load_charset.binary (\n\t\tj VARCHAR(255)\n\t\t) CHARACTER SET binary;"] [2025/04/04 12:47:22.784 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=335] [conn=2] [job="ID:335, Type:create table, State:queueing, SchemaState:none, SchemaID:322, TableID:334, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:22.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:22.788 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 334, Table Name: binary)"] [2025/04/04 12:47:22.801 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=237] [neededSchemaVersion=238] ["elapsed time"=1.438887ms] [gotSchemaVersion=238] [phyTblIDs="[334]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 12:47:22.805 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=335] [version=238] [2025/04/04 12:47:22.806 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=238] ["take time"=8.307806ms] [job="ID:335, Type:create table, State:done, SchemaState:public, SchemaID:322, TableID:334, RowCount:0, ArgLen:1, start time: 2025-04-04 12:47:22.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:22.817 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=335] [conn=2] [job="ID:335, Type:create table, State:synced, SchemaState:public, SchemaID:322, TableID:334, RowCount:0, ArgLen:0, start time: 2025-04-04 12:47:22.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 12:47:22.827 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=335] [2025/04/04 12:47:22.827 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=238] [cur_db=fail_job_after_import] [sql="CREATE TABLE load_charset.binary (\n\t\tj VARCHAR(255)\n\t\t) CHARACTER SET binary;"] [user=root@%] [2025/04/04 12:47:22.833 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:47:22.881 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/ascii.tsv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"character_set\":\"ascii\"}}"] [dist-task-enabled=true] [2025/04/04 12:47:22.899 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=66] [task-id=66] [data-size=8B] [thread-cnt=26] [global-sort=false] [2025/04/04 12:47:22.913 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=66] [2025/04/04 12:47:22.913 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=66] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/04 12:47:23.015 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=66] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 12:47:23.015 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=66] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:47:23.016 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=66] [curr-step=init] [next-step=import] [2025/04/04 12:47:23.023 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:47:23.025 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=ascii] [2025/04/04 12:47:23.026 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=ascii] [before=536870912000] [after=8] [2025/04/04 12:47:23.026 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=ascii] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=8] [cost=41.404µs] [2025/04/04 12:47:23.026 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=ascii] [takeTime=134.037µs] [] [2025/04/04 12:47:23.026 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=66] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 12:47:23.026 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=66] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/04 12:47:23.062 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=66] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 12:47:23.081 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=66] [step=import] [2025/04/04 12:47:23.081 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:47:23.089 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 12:47:23.089 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 12:47:23.089 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 12:47:23.089 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 12:47:23.089 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 12:47:23.089 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 12:47:23.089 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 12:47:23.090 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 12:47:23.090 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 12:47:23.090 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 12:47:23.103 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 12:47:23.104 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 12:47:23.104 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=ascii] [quota=374.2GB] [2025/04/04 12:47:23.104 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=66] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 12:47:23.104 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=ascii] [import-id=66] [disk-quota=348.5GiB] [2025/04/04 12:47:23.104 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=66] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 12:47:23.113 +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/04 12:47:23.113 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=66] [step=import] [subtask-id=125] [2025/04/04 12:47:23.116 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`ascii`:0] [engineUUID=61de7867-b9cf-5cd3-9fcf-c962f48b2a45] [2025/04/04 12:47:23.120 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`ascii`:-1] [engineUUID=1d3da499-4436-588e-b459-bd258b3acd6f] [2025/04/04 12:47:23.120 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=332] [2025/04/04 12:47:23.121 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=66] [mode=Import] [2025/04/04 12:47:23.140 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=66] [2025/04/04 12:47:23.159 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=332] [key=ascii.tsv:0] [2025/04/04 12:47:23.161 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=332] [key=ascii.tsv:0] [readDur=841.443µs] [encodeDur=205.146µs] [checksum="{cksum=14561097866271024819,size=36,kvs=1}"] [deliverDur=247.417µs] [type=file] [takeTime=1.61509ms] [] [2025/04/04 12:47:23.162 +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/2f0dfbc6-af75-4504-911f-5293b342b201.sst] [firstKey=74800000000000014C5F728000000000000001] [lastKey=74800000000000014C5F728000000000000001] [2025/04/04 12:47:23.162 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=66] [step=import] [engine-id=0] [2025/04/04 12:47:23.162 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=66] [step=import] [engine-id=0] [2025/04/04 12:47:23.162 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_charset`.`ascii`:0] [engineUUID=61de7867-b9cf-5cd3-9fcf-c962f48b2a45] [2025/04/04 12:47:23.164 +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.998363ms] [] [2025/04/04 12:47:23.164 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_charset`.`ascii`:0] [engineUUID=61de7867-b9cf-5cd3-9fcf-c962f48b2a45] [retryCnt=0] [2025/04/04 12:47:23.168 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 12:47:23.191 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=61de7867-b9cf-5cd3-9fcf-c962f48b2a45] ["region ranges"=1] [count=1] [size=36] [2025/04/04 12:47:23.191 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 12:47:23.193 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000014c5f728000000000000001] [endOfAllRanges=74800000000000014c5f728000000000000002] [startKeyOfFirstRegion=7480000000000001ff4c5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff4c5f728000000000ff0000020000000000fa] [2025/04/04 12:47:23.204 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=61de7867-b9cf-5cd3-9fcf-c962f48b2a45] [size=36] [kvs=1] [importedSize=36] [importedCount=1] [2025/04/04 12:47:23.206 +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=41.309573ms] [] [2025/04/04 12:47:23.206 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`ascii`:0] [engineUUID=61de7867-b9cf-5cd3-9fcf-c962f48b2a45] [2025/04/04 12:47:23.207 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`ascii`:0] [engineUUID=61de7867-b9cf-5cd3-9fcf-c962f48b2a45] [takeTime=1.00656ms] [] [2025/04/04 12:47:23.207 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=66] [step=import] [engine-id=0] [2025/04/04 12:47:23.207 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_charset`.`ascii`:-1] [engineUUID=1d3da499-4436-588e-b459-bd258b3acd6f] [2025/04/04 12:47:23.208 +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.524776ms] [] [2025/04/04 12:47:23.208 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_charset`.`ascii`:-1] [engineUUID=1d3da499-4436-588e-b459-bd258b3acd6f] [retryCnt=0] [2025/04/04 12:47:23.212 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=1d3da499-4436-588e-b459-bd258b3acd6f] [2025/04/04 12:47:23.212 +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.47279ms] [] [2025/04/04 12:47:23.212 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`ascii`:-1] [engineUUID=1d3da499-4436-588e-b459-bd258b3acd6f] [2025/04/04 12:47:23.213 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`ascii`:-1] [engineUUID=1d3da499-4436-588e-b459-bd258b3acd6f] [takeTime=864.156µs] [] [2025/04/04 12:47:23.213 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=66] [step=import] [subtask-id=125] [takeTime=100.316659ms] [] [2025/04/04 12:47:23.214 +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.3215ms] [] [2025/04/04 12:47:23.320 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=66] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 12:47:23.321 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=66] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 12:47:23.322 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=66] [curr-step=import] [next-step=post-process] [2025/04/04 12:47:23.322 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=66] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 12:47:23.350 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=66] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":1}"] [2025/04/04 12:47:23.351 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=66] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 12:47:23.351 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=66] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=26] [subtasks=1] [2025/04/04 12:47:23.359 +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/04 12:47:23.359 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=66] [step=import] [2025/04/04 12:47:23.361 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 12:47:23.361 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 12:47:23.361 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 12:47:23.361 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 12:47:23.361 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 12:47:23.361 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 12:47:23.361 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 12:47:23.361 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:47:23.361 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:47:23.361 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:47:23.362 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 12:47:23.361 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-65] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 12:47:23.364 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 12:47:23.364 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 12:47:23.364 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 12:47:23.364 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 12:47:23.364 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=66] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=259.653594ms] [] [2025/04/04 12:47:23.364 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=66] [type=ImportInto] [2025/04/04 12:47:23.383 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=66] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 12:47:23.403 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=66] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 12:47:23.410 +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/04 12:47:23.410 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=66] [step=post-process] [subtask-id=126] [2025/04/04 12:47:23.410 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=66] [step=post-process] [subtask-id=126] [2025/04/04 12:47:23.410 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=66] [step=post-process] [subtask-id=126] [2025/04/04 12:47:23.415 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=66] [step=post-process] [subtask-id=126] [takeTime=5.337752ms] [] [2025/04/04 12:47:23.415 +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/04 12:47:23.415 +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/04 12:47:23.415 +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/04 12:47:23.415 +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/04 12:47:23.419 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=332] [physicalTableID=332] [indexID=-1] [checksum=14561097866271024819] [totalKvs=1] [totalBytes=36] [2025/04/04 12:47:23.419 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 12:47:23.419 +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/04 12:47:23.419 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=66] [step=post-process] [subtask-id=126] [takeTime=9.287094ms] [] [2025/04/04 12:47:23.419 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=66] [step=post-process] [subtask-id=126] [takeTime=9.42276ms] [] [2025/04/04 12:47:23.419 +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.547442ms] [] [2025/04/04 12:47:23.440 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 12:47:23.520 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=66] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 12:47:23.520 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=66] [step=post-process] [state=running] [] [2025/04/04 12:47:23.522 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=66] [2025/04/04 12:47:23.542 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=66] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=139.320944ms] [] [2025/04/04 12:47:23.542 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=66] [type=ImportInto] [2025/04/04 12:47:23.615 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=66] [2025/04/04 12:47:23.621 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 12:47:23.621 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=66] [2025/04/04 12:47:23.641 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 12:47:23.816 +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.987968599\n# Parse_time: 0.000097193\n# Compile_time: 0.000547796\n# Rewrite_time: 0.000150476\n# Optimize_time: 0.000254414\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4Ny4xbXMsIG9wZW46NjgzbnMsIGNsb3NlOjg0OW5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk4Ny4xbXMsIG9wZW46NjgzbnMsIGNsb3NlOjg0OW5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.00003438\nIMPORT INTO `load_charset`.`ascii` FROM 'gs://test-load/ascii.tsv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH character_set=_UTF8MB4'ascii';"] [2025/04/04 12:47:23.825 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 12:47:23.872 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/ascii.tsv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"character_set\":\"binary\"}}"] [dist-task-enabled=true] [2025/04/04 12:47:23.890 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=67] [task-id=67] [data-size=8B] [thread-cnt=26] [global-sort=false] [2025/04/04 12:47:23.899 +00:00] [INFO] [slots.go:207] ["update slot capacity"] [old=52] [new=16] [2025/04/04 12:47:29.839 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 12:47:41.839 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 12:47:53.839 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 12:48:05.839 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 12:48:17.839 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 12:48:29.839 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 12:48:41.839 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 12:48:53.839 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 12:49:05.839 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 12:49:17.839 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 12:49:29.839 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 12:49:41.839 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 12:49:53.839 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 12:50:05.839 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 12:50:17.839 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 12:50:29.839 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 12:50:41.839 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 12:50:53.834 +00:00] [INFO] [domain.go:3308] ["refreshServerIDTTL succeed"] [serverID=1606] ["lease id"=3eaa9600d42a1e8e] [2025/04/04 12:50:53.839 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 12:50:59.877 +00:00] [INFO] [read.go:686] ["Column information not found, possibly due to column being dropped"] [category=stats] [sampled=] [tableID=84] [columnID=19] [2025/04/04 12:51:05.839 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 12:51:17.839 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 12:51:29.839 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 12:51:41.839 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 12:51:53.839 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 12:52:05.839 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 12:52:17.839 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 12:52:29.839 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 12:52:41.839 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 12:52:53.839 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 12:53:04.438 +00:00] [WARN] [pd.go:261] ["get timestamp too slow"] ["cost time"=100.456372ms] [2025/04/04 12:53:05.839 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 12:53:17.839 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 12:53:29.839 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 12:53:41.839 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 12:53:53.839 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 12:54:05.839 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 12:54:17.839 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 12:54:29.839 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 12:54:41.839 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 12:54:53.839 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 12:55:05.839 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 12:55:17.839 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 12:55:29.839 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 12:55:41.839 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 12:55:53.834 +00:00] [INFO] [domain.go:3308] ["refreshServerIDTTL succeed"] [serverID=1606] ["lease id"=3eaa9600d42a1e8e] [2025/04/04 12:55:53.839 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 12:55:53.886 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=c901c8fd-7084-42e3-80c5-051eb51d8538] [2025/04/04 12:55:53.898 +00:00] [INFO] [job_manager.go:1076] ["TTL leader to DoGC"] [ttl-worker=job-manager] [ttl-worker=c901c8fd-7084-42e3-80c5-051eb51d8538] [2025/04/04 12:55:59.878 +00:00] [INFO] [read.go:686] ["Column information not found, possibly due to column being dropped"] [category=stats] [sampled=] [tableID=84] [columnID=19] [2025/04/04 12:56:05.839 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 12:56:17.839 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 12:56:29.839 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 12:56:41.839 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 12:56:53.839 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 12:57:05.839 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 12:57:17.839 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 12:57:29.839 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 12:57:41.839 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 12:57:53.839 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 12:58:05.839 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 12:58:17.839 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 12:58:29.839 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 12:58:41.839 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 12:58:53.839 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 12:59:05.839 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 12:59:17.839 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 12:59:29.839 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 12:59:41.839 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 12:59:53.839 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 13:00:05.839 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 13:00:17.839 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 13:00:29.839 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 13:00:41.839 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] -- Test timed out at 2025-04-04 13:00:48 UTC -- panic: test timed out after 15m0s running tests: TestImportInto (15m0s) TestImportInto/TestOtherCharset (13m30s) goroutine 2681657 [running]: testing.(*M).startAlarm.func1() GOROOT/src/testing/testing.go:2373 +0x265 created by time.goFunc GOROOT/src/time/sleep.go:215 +0x45 goroutine 1 [chan receive, 15 minutes]: testing.(*T).Run(0xc0010644e0, {0x99614aa, 0xe}, 0x9b8a3f0) GOROOT/src/testing/testing.go:1751 +0x851 testing.runTests.func1(0xc0010644e0) GOROOT/src/testing/testing.go:2168 +0x86 testing.tRunner(0xc0010644e0, 0xc001d0f6a0) GOROOT/src/testing/testing.go:1690 +0x227 testing.runTests(0xc0022b3578, {0xda7e490, 0x1, 0x1}, {0xc001b698e7?, 0xb?, 0xea9ef60?}) GOROOT/src/testing/testing.go:2166 +0x8bf testing.(*M).Run(0xc001828820) GOROOT/src/testing/testing.go:2034 +0xf18 github.com/pingcap/tidb/pkg/testkit/testmain.(*testingM).Run(0xc0022b3560) pkg/testkit/testmain/wrapper.go:27 +0x44 go.uber.org/goleak.VerifyTestMain({0xa798d20, 0xc0022b3560}, {0xc004455c40, 0x12, 0x12}) external/org_uber_go_goleak/testmain.go:53 +0x65 github.com/pingcap/tidb/tests/realtikvtest.RunTestMain(0xc001828820) tests/realtikvtest/testkit.go:104 +0x1417 tests/realtikvtest/importintotest/importintotest_test.TestMain(...) tests/realtikvtest/importintotest/main_test.go:32 main.main() bazel-out/k8-fastbuild/bin/tests/realtikvtest/importintotest/importintotest_test_/testmain.go:129 +0x595 goroutine 66 [select]: github.com/golang/glog.(*fileSink).flushDaemon(0xea9eff8) external/com_github_golang_glog/glog_file.go:380 +0x17c created by github.com/golang/glog.init.1 in goroutine 1 external/com_github_golang_glog/glog_file.go:188 +0x2c7 goroutine 67 [select]: go.opencensus.io/stats/view.(*worker).start(0xc001120300) external/io_opencensus_go/stats/view/worker.go:292 +0x1a5 created by go.opencensus.io/stats/view.init.0 in goroutine 1 external/io_opencensus_go/stats/view/worker.go:34 +0xfd goroutine 176 [sync.Cond.Wait]: sync.runtime_notifyListWait(0xc0016602d0, 0x9) GOROOT/src/runtime/sema.go:587 +0x159 sync.(*Cond).Wait(0xc0016602c0) GOROOT/src/sync/cond.go:71 +0x75 google.golang.org/grpc/internal/transport.(*http2Client).keepalive(0xc0017b8248) external/org_golang_google_grpc/internal/transport/http2_client.go:1710 +0x4a5 created by google.golang.org/grpc/internal/transport.newHTTP2Client in goroutine 281 external/org_golang_google_grpc/internal/transport/http2_client.go:399 +0x32cb goroutine 61 [syscall]: os/signal.signal_recv() GOROOT/src/runtime/sigqueue.go:152 +0x29 os/signal.loop() GOROOT/src/os/signal/signal_unix.go:23 +0x1d created by os/signal.Notify.func1.1 in goroutine 1 GOROOT/src/os/signal/signal.go:151 +0x47 goroutine 13196 [select, 14 minutes]: github.com/pingcap/tidb/pkg/domain.(*Domain).readTableCostWorker(0xc00654e008, 0xc0034c3490, 0xc0054cea20) pkg/domain/domain.go:3509 +0x1dd github.com/pingcap/tidb/pkg/domain.(*Domain).SetupWorkloadBasedLearningWorker.func1() pkg/domain/domain.go:3492 +0x47 github.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1() pkg/util/wait_group_wrapper.go:103 +0xbb created by github.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run in goroutine 62 pkg/util/wait_group_wrapper.go:98 +0x146 goroutine 1537 [IO wait, 1 minutes]: internal/poll.runtime_pollWait(0x7f219e3b07d8, 0x72) GOROOT/src/runtime/netpoll.go:351 +0x85 internal/poll.(*pollDesc).wait(0xc0064901a0, 0x72, 0x0) GOROOT/src/internal/poll/fd_poll_runtime.go:84 +0xb1 internal/poll.(*pollDesc).waitRead(...) GOROOT/src/internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Read(0xc006490180, {0xc0064e8000, 0x8000, 0x8000}) GOROOT/src/internal/poll/fd_unix.go:165 +0x466 net.(*netFD).Read(0xc006490180, {0xc0064e8000, 0x8000, 0x8000}) GOROOT/src/net/fd_posix.go:55 +0x4b net.(*conn).Read(0xc006510028, {0xc0064e8000, 0x8000, 0x8000}) GOROOT/src/net/net.go:189 +0xad bufio.(*Reader).Read(0xc00493a0c0, {0xc0064f8040, 0x9, 0x9}) GOROOT/src/bufio/bufio.go:241 +0x4bf io.ReadAtLeast({0xa7965c0, 0xc00493a0c0}, {0xc0064f8040, 0x9, 0x9}, 0x9) GOROOT/src/io/io.go:335 +0xd0 io.ReadFull(...) GOROOT/src/io/io.go:354 golang.org/x/net/http2.readFrameHeader({0xc0064f8040, 0x9, 0x9}, {0xa7965c0, 0xc00493a0c0}) external/org_golang_x_net/http2/frame.go:242 +0x9a golang.org/x/net/http2.(*Framer).ReadFrame(0xc0064f8000) external/org_golang_x_net/http2/frame.go:506 +0xf5 google.golang.org/grpc/internal/transport.(*http2Client).reader(0xc0064fc008, 0xc0064e40e0) external/org_golang_google_grpc/internal/transport/http2_client.go:1602 +0x2e5 created by google.golang.org/grpc/internal/transport.newHTTP2Client in goroutine 12899 external/org_golang_google_grpc/internal/transport/http2_client.go:409 +0x33ab goroutine 194 [select, 15 minutes]: google.golang.org/grpc/internal/grpcsync.(*CallbackSerializer).run(0xc0013936a0, {0xa7d4ca8, 0xc001d8e1e0}) external/org_golang_google_grpc/internal/grpcsync/callback_serializer.go:76 +0x1eb created by google.golang.org/grpc/internal/grpcsync.NewCallbackSerializer in goroutine 62 external/org_golang_google_grpc/internal/grpcsync/callback_serializer.go:52 +0x207 goroutine 62 [chan receive, 13 minutes]: testing.(*T).Run(0xc001064680, {0x8cbbefe, 0x10}, 0xc0023d3830) GOROOT/src/testing/testing.go:1751 +0x851 github.com/stretchr/testify/suite.runTests({0xa81fa10, 0xc001064680}, {0xc001d90388, 0x20, 0x25}) external/com_github_stretchr_testify/suite/suite.go:247 +0x17f github.com/stretchr/testify/suite.Run(0xc001064680, {0xa7bb7a8, 0xc000199200}) external/com_github_stretchr_testify/suite/suite.go:220 +0xa2f tests/realtikvtest/importintotest/importintotest_test.TestImportInto(0xc001064680) tests/realtikvtest/importintotest/util_test.go:50 +0x91 testing.tRunner(0xc001064680, 0x9b8a3f0) GOROOT/src/testing/testing.go:1690 +0x227 created by testing.(*T).Run in goroutine 1 GOROOT/src/testing/testing.go:1743 +0x826 goroutine 63 [IO wait, 13 minutes]: internal/poll.runtime_pollWait(0x7f219e3c7dd8, 0x72) GOROOT/src/runtime/netpoll.go:351 +0x85 internal/poll.(*pollDesc).wait(0xc0015db4a0, 0x72, 0x0) GOROOT/src/internal/poll/fd_poll_runtime.go:84 +0xb1 internal/poll.(*pollDesc).waitRead(...) GOROOT/src/internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Accept(0xc0015db480) GOROOT/src/internal/poll/fd_unix.go:620 +0x507 net.(*netFD).accept(0xc0015db480) GOROOT/src/net/fd_unix.go:172 +0x45 net.(*TCPListener).accept(0xc00123dc40) GOROOT/src/net/tcpsock_posix.go:159 +0x4e net.(*TCPListener).Accept(0xc00123dc40) GOROOT/src/net/tcpsock.go:372 +0x65 net/http.(*Server).Serve(0xc000f5cc30, {0xa7bbf30, 0xc00123dc40}) GOROOT/src/net/http/server.go:3330 +0x672 net/http/httptest.(*Server).goServe.func1() GOROOT/src/net/http/httptest/server.go:311 +0xbc created by net/http/httptest.(*Server).goServe in goroutine 62 GOROOT/src/net/http/httptest/server.go:309 +0xa6 goroutine 151 [select, 15 minutes]: google.golang.org/grpc/internal/grpcsync.(*CallbackSerializer).run(0xc001485b00, {0xa7d4ca8, 0xc0015c32c0}) external/org_golang_google_grpc/internal/grpcsync/callback_serializer.go:76 +0x1eb created by google.golang.org/grpc/internal/grpcsync.NewCallbackSerializer in goroutine 62 external/org_golang_google_grpc/internal/grpcsync/callback_serializer.go:52 +0x207 goroutine 171 [sync.Cond.Wait]: sync.runtime_notifyListWait(0xc001660250, 0x26) GOROOT/src/runtime/sema.go:587 +0x159 sync.(*Cond).Wait(0xc001660240) GOROOT/src/sync/cond.go:71 +0x75 google.golang.org/grpc/internal/transport.(*http2Client).keepalive(0xc0017b8008) external/org_golang_google_grpc/internal/transport/http2_client.go:1710 +0x4a5 created by google.golang.org/grpc/internal/transport.newHTTP2Client in goroutine 212 external/org_golang_google_grpc/internal/transport/http2_client.go:399 +0x32cb goroutine 152 [select, 15 minutes]: google.golang.org/grpc/internal/grpcsync.(*CallbackSerializer).run(0xc001485b30, {0xa7d4ca8, 0xc0015c3540}) external/org_golang_google_grpc/internal/grpcsync/callback_serializer.go:76 +0x1eb created by google.golang.org/grpc/internal/grpcsync.NewCallbackSerializer in goroutine 62 external/org_golang_google_grpc/internal/grpcsync/callback_serializer.go:52 +0x207 goroutine 153 [select, 15 minutes]: google.golang.org/grpc/internal/grpcsync.(*CallbackSerializer).run(0xc001485b60, {0xa7d4ca8, 0xc0015c3590}) external/org_golang_google_grpc/internal/grpcsync/callback_serializer.go:76 +0x1eb created by google.golang.org/grpc/internal/grpcsync.NewCallbackSerializer in goroutine 62 external/org_golang_google_grpc/internal/grpcsync/callback_serializer.go:52 +0x207 goroutine 236 [select, 15 minutes]: google.golang.org/grpc/internal/grpcsync.(*CallbackSerializer).run(0xc0017d22b0, {0xa7d4ca8, 0xc00188ac80}) external/org_golang_google_grpc/internal/grpcsync/callback_serializer.go:76 +0x1eb created by google.golang.org/grpc/internal/grpcsync.NewCallbackSerializer in goroutine 62 external/org_golang_google_grpc/internal/grpcsync/callback_serializer.go:52 +0x207 goroutine 129 [select]: google.golang.org/grpc/internal/transport.(*http2Client).keepalive(0xc00110efc8) external/org_golang_google_grpc/internal/transport/http2_client.go:1676 +0x23c created by google.golang.org/grpc/internal/transport.newHTTP2Client in goroutine 154 external/org_golang_google_grpc/internal/transport/http2_client.go:399 +0x32cb goroutine 178 [IO wait]: internal/poll.runtime_pollWait(0x7f219e3c7ef0, 0x72) GOROOT/src/runtime/netpoll.go:351 +0x85 internal/poll.(*pollDesc).wait(0xc0013ae920, 0x72, 0x0) GOROOT/src/internal/poll/fd_poll_runtime.go:84 +0xb1 internal/poll.(*pollDesc).waitRead(...) GOROOT/src/internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Read(0xc0013ae900, {0xc001bf6000, 0x8000, 0x8000}) GOROOT/src/internal/poll/fd_unix.go:165 +0x466 net.(*netFD).Read(0xc0013ae900, {0xc001bf6000, 0x8000, 0x8000}) GOROOT/src/net/fd_posix.go:55 +0x4b net.(*conn).Read(0xc0013b16e8, {0xc001bf6000, 0x8000, 0x8000}) GOROOT/src/net/net.go:189 +0xad bufio.(*Reader).Read(0xc00148d740, {0xc0008e2580, 0x9, 0x9}) GOROOT/src/bufio/bufio.go:241 +0x4bf io.ReadAtLeast({0xa7965c0, 0xc00148d740}, {0xc0008e2580, 0x9, 0x9}, 0x9) GOROOT/src/io/io.go:335 +0xd0 io.ReadFull(...) GOROOT/src/io/io.go:354 golang.org/x/net/http2.readFrameHeader({0xc0008e2580, 0x9, 0x9}, {0xa7965c0, 0xc00148d740}) external/org_golang_x_net/http2/frame.go:242 +0x9a golang.org/x/net/http2.(*Framer).ReadFrame(0xc0008e2540) external/org_golang_x_net/http2/frame.go:506 +0xf5 google.golang.org/grpc/internal/transport.(*http2Client).reader(0xc00110efc8, 0xc000d06620) external/org_golang_google_grpc/internal/transport/http2_client.go:1602 +0x2e5 created by google.golang.org/grpc/internal/transport.newHTTP2Client in goroutine 154 external/org_golang_google_grpc/internal/transport/http2_client.go:409 +0x33ab goroutine 179 [select]: google.golang.org/grpc/internal/transport.(*controlBuffer).get(0xc00152cfa0, 0x1) external/org_golang_google_grpc/internal/transport/controlbuf.go:418 +0x1af google.golang.org/grpc/internal/transport.(*loopyWriter).run(0xc000d06700) external/org_golang_google_grpc/internal/transport/controlbuf.go:551 +0x15b google.golang.org/grpc/internal/transport.newHTTP2Client.func6() external/org_golang_google_grpc/internal/transport/http2_client.go:463 +0x190 created by google.golang.org/grpc/internal/transport.newHTTP2Client in goroutine 154 external/org_golang_google_grpc/internal/transport/http2_client.go:461 +0x3d6c goroutine 155 [select, 15 minutes]: google.golang.org/grpc/internal/grpcsync.(*CallbackSerializer).run(0xc00151a630, {0xa7d4ca8, 0xc0015c3a40}) external/org_golang_google_grpc/internal/grpcsync/callback_serializer.go:76 +0x1eb created by google.golang.org/grpc/internal/grpcsync.NewCallbackSerializer in goroutine 62 external/org_golang_google_grpc/internal/grpcsync/callback_serializer.go:52 +0x207 goroutine 156 [select, 15 minutes]: google.golang.org/grpc/internal/grpcsync.(*CallbackSerializer).run(0xc00151a660, {0xa7d4ca8, 0xc0015c3cc0}) external/org_golang_google_grpc/internal/grpcsync/callback_serializer.go:76 +0x1eb created by google.golang.org/grpc/internal/grpcsync.NewCallbackSerializer in goroutine 62 external/org_golang_google_grpc/internal/grpcsync/callback_serializer.go:52 +0x207 goroutine 157 [select, 15 minutes]: google.golang.org/grpc/internal/grpcsync.(*CallbackSerializer).run(0xc00151a690, {0xa7d4ca8, 0xc0015c3d10}) external/org_golang_google_grpc/internal/grpcsync/callback_serializer.go:76 +0x1eb created by google.golang.org/grpc/internal/grpcsync.NewCallbackSerializer in goroutine 62 external/org_golang_google_grpc/internal/grpcsync/callback_serializer.go:52 +0x207 goroutine 234 [select, 1 minutes]: google.golang.org/grpc/internal/transport.(*controlBuffer).get(0xc00188a640, 0x1) external/org_golang_google_grpc/internal/transport/controlbuf.go:418 +0x1af google.golang.org/grpc/internal/transport.(*loopyWriter).run(0xc0017e44d0) external/org_golang_google_grpc/internal/transport/controlbuf.go:551 +0x15b google.golang.org/grpc/internal/transport.newHTTP2Client.func6() external/org_golang_google_grpc/internal/transport/http2_client.go:463 +0x190 created by google.golang.org/grpc/internal/transport.newHTTP2Client in goroutine 279 external/org_golang_google_grpc/internal/transport/http2_client.go:461 +0x3d6c goroutine 216 [select]: google.golang.org/grpc/internal/transport.(*http2Client).keepalive(0xc001b75448) external/org_golang_google_grpc/internal/transport/http2_client.go:1676 +0x23c created by google.golang.org/grpc/internal/transport.newHTTP2Client in goroutine 322 external/org_golang_google_grpc/internal/transport/http2_client.go:399 +0x32cb goroutine 161 [select]: google.golang.org/grpc/internal/transport.(*http2Client).keepalive(0xc0011f2fc8) external/org_golang_google_grpc/internal/transport/http2_client.go:1676 +0x23c created by google.golang.org/grpc/internal/transport.newHTTP2Client in goroutine 158 external/org_golang_google_grpc/internal/transport/http2_client.go:399 +0x32cb goroutine 210 [IO wait]: internal/poll.runtime_pollWait(0x7f219e3c7cc0, 0x72) GOROOT/src/runtime/netpoll.go:351 +0x85 internal/poll.(*pollDesc).wait(0xc0016a1ca0, 0x72, 0x0) GOROOT/src/internal/poll/fd_poll_runtime.go:84 +0xb1 internal/poll.(*pollDesc).waitRead(...) GOROOT/src/internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Read(0xc0016a1c80, {0xc0016f4000, 0x8000, 0x8000}) GOROOT/src/internal/poll/fd_unix.go:165 +0x466 net.(*netFD).Read(0xc0016a1c80, {0xc0016f4000, 0x8000, 0x8000}) GOROOT/src/net/fd_posix.go:55 +0x4b net.(*conn).Read(0xc00228dd58, {0xc0016f4000, 0x8000, 0x8000}) GOROOT/src/net/net.go:189 +0xad bufio.(*Reader).Read(0xc0015fe660, {0xc00169f540, 0x9, 0x9}) GOROOT/src/bufio/bufio.go:241 +0x4bf io.ReadAtLeast({0xa7965c0, 0xc0015fe660}, {0xc00169f540, 0x9, 0x9}, 0x9) GOROOT/src/io/io.go:335 +0xd0 io.ReadFull(...) GOROOT/src/io/io.go:354 golang.org/x/net/http2.readFrameHeader({0xc00169f540, 0x9, 0x9}, {0xa7965c0, 0xc0015fe660}) external/org_golang_x_net/http2/frame.go:242 +0x9a golang.org/x/net/http2.(*Framer).ReadFrame(0xc00169f500) external/org_golang_x_net/http2/frame.go:506 +0xf5 google.golang.org/grpc/internal/transport.(*http2Client).reader(0xc0011f2fc8, 0xc000d1b490) external/org_golang_google_grpc/internal/transport/http2_client.go:1602 +0x2e5 created by google.golang.org/grpc/internal/transport.newHTTP2Client in goroutine 158 external/org_golang_google_grpc/internal/transport/http2_client.go:409 +0x33ab goroutine 195 [select, 15 minutes]: google.golang.org/grpc/internal/grpcsync.(*CallbackSerializer).run(0xc0013936d0, {0xa7d4ca8, 0xc001d8e460}) external/org_golang_google_grpc/internal/grpcsync/callback_serializer.go:76 +0x1eb created by google.golang.org/grpc/internal/grpcsync.NewCallbackSerializer in goroutine 62 external/org_golang_google_grpc/internal/grpcsync/callback_serializer.go:52 +0x207 goroutine 196 [select, 15 minutes]: google.golang.org/grpc/internal/grpcsync.(*CallbackSerializer).run(0xc001393700, {0xa7d4ca8, 0xc001d8e4b0}) external/org_golang_google_grpc/internal/grpcsync/callback_serializer.go:76 +0x1eb created by google.golang.org/grpc/internal/grpcsync.NewCallbackSerializer in goroutine 62 external/org_golang_google_grpc/internal/grpcsync/callback_serializer.go:52 +0x207 goroutine 211 [select]: google.golang.org/grpc/internal/transport.(*controlBuffer).get(0xc0016b4320, 0x1) external/org_golang_google_grpc/internal/transport/controlbuf.go:418 +0x1af google.golang.org/grpc/internal/transport.(*loopyWriter).run(0xc000d1b500) external/org_golang_google_grpc/internal/transport/controlbuf.go:551 +0x15b google.golang.org/grpc/internal/transport.newHTTP2Client.func6() external/org_golang_google_grpc/internal/transport/http2_client.go:463 +0x190 created by google.golang.org/grpc/internal/transport.newHTTP2Client in goroutine 158 external/org_golang_google_grpc/internal/transport/http2_client.go:461 +0x3d6c goroutine 233 [IO wait, 1 minutes]: internal/poll.runtime_pollWait(0x7f219e3c7748, 0x72) GOROOT/src/runtime/netpoll.go:351 +0x85 internal/poll.(*pollDesc).wait(0xc0019aa120, 0x72, 0x0) GOROOT/src/internal/poll/fd_poll_runtime.go:84 +0xb1 internal/poll.(*pollDesc).waitRead(...) GOROOT/src/internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Read(0xc0019aa100, {0xc001ecc000, 0x8000, 0x8000}) GOROOT/src/internal/poll/fd_unix.go:165 +0x466 net.(*netFD).Read(0xc0019aa100, {0xc001ecc000, 0x8000, 0x8000}) GOROOT/src/net/fd_posix.go:55 +0x4b net.(*conn).Read(0xc00112a0c8, {0xc001ecc000, 0x8000, 0x8000}) GOROOT/src/net/net.go:189 +0xad bufio.(*Reader).Read(0xc0018aa720, {0xc0018c4120, 0x9, 0x9}) GOROOT/src/bufio/bufio.go:241 +0x4bf io.ReadAtLeast({0xa7965c0, 0xc0018aa720}, {0xc0018c4120, 0x9, 0x9}, 0x9) GOROOT/src/io/io.go:335 +0xd0 io.ReadFull(...) GOROOT/src/io/io.go:354 golang.org/x/net/http2.readFrameHeader({0xc0018c4120, 0x9, 0x9}, {0xa7965c0, 0xc0018aa720}) external/org_golang_x_net/http2/frame.go:242 +0x9a golang.org/x/net/http2.(*Framer).ReadFrame(0xc0018c40e0) external/org_golang_x_net/http2/frame.go:506 +0xf5 google.golang.org/grpc/internal/transport.(*http2Client).reader(0xc0018c8248, 0xc0011fa690) external/org_golang_google_grpc/internal/transport/http2_client.go:1602 +0x2e5 created by google.golang.org/grpc/internal/transport.newHTTP2Client in goroutine 279 external/org_golang_google_grpc/internal/transport/http2_client.go:409 +0x33ab goroutine 228 [select]: google.golang.org/grpc/internal/transport.(*http2Client).keepalive(0xc0018c8008) external/org_golang_google_grpc/internal/transport/http2_client.go:1676 +0x23c created by google.golang.org/grpc/internal/transport.newHTTP2Client in goroutine 197 external/org_golang_google_grpc/internal/transport/http2_client.go:399 +0x32cb goroutine 229 [IO wait]: internal/poll.runtime_pollWait(0x7f219e3c7ba8, 0x72) GOROOT/src/runtime/netpoll.go:351 +0x85 internal/poll.(*pollDesc).wait(0xc0018860a0, 0x72, 0x0) GOROOT/src/internal/poll/fd_poll_runtime.go:84 +0xb1 internal/poll.(*pollDesc).waitRead(...) GOROOT/src/internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Read(0xc001886080, {0xc0018ac000, 0x8000, 0x8000}) GOROOT/src/internal/poll/fd_unix.go:165 +0x466 net.(*netFD).Read(0xc001886080, {0xc0018ac000, 0x8000, 0x8000}) GOROOT/src/net/fd_posix.go:55 +0x4b net.(*conn).Read(0xc00112a008, {0xc0018ac000, 0x8000, 0x8000}) GOROOT/src/net/net.go:189 +0xad bufio.(*Reader).Read(0xc0018aa000, {0xc0018c4040, 0x9, 0x9}) GOROOT/src/bufio/bufio.go:241 +0x4bf io.ReadAtLeast({0xa7965c0, 0xc0018aa000}, {0xc0018c4040, 0x9, 0x9}, 0x9) GOROOT/src/io/io.go:335 +0xd0 io.ReadFull(...) GOROOT/src/io/io.go:354 golang.org/x/net/http2.readFrameHeader({0xc0018c4040, 0x9, 0x9}, {0xa7965c0, 0xc0018aa000}) external/org_golang_x_net/http2/frame.go:242 +0x9a golang.org/x/net/http2.(*Framer).ReadFrame(0xc0018c4000) external/org_golang_x_net/http2/frame.go:506 +0xf5 google.golang.org/grpc/internal/transport.(*http2Client).reader(0xc0018c8008, 0xc0011fa0e0) external/org_golang_google_grpc/internal/transport/http2_client.go:1602 +0x2e5 created by google.golang.org/grpc/internal/transport.newHTTP2Client in goroutine 197 external/org_golang_google_grpc/internal/transport/http2_client.go:409 +0x33ab goroutine 230 [select]: google.golang.org/grpc/internal/transport.(*controlBuffer).get(0xc00188a280, 0x1) external/org_golang_google_grpc/internal/transport/controlbuf.go:418 +0x1af google.golang.org/grpc/internal/transport.(*loopyWriter).run(0xc0011fa150) external/org_golang_google_grpc/internal/transport/controlbuf.go:551 +0x15b google.golang.org/grpc/internal/transport.newHTTP2Client.func6() external/org_golang_google_grpc/internal/transport/http2_client.go:463 +0x190 created by google.golang.org/grpc/internal/transport.newHTTP2Client in goroutine 197 external/org_golang_google_grpc/internal/transport/http2_client.go:461 +0x3d6c goroutine 180 [select]: github.com/tikv/pd/client/pkg/deadline.(*Watcher).Watch(0xc001f1dad0) external/com_github_tikv_pd_client/pkg/deadline/watcher.go:59 +0x3ac created by github.com/tikv/pd/client/pkg/deadline.NewWatcher in goroutine 62 external/com_github_tikv_pd_client/pkg/deadline/watcher.go:49 +0x187 goroutine 181 [select]: github.com/tikv/pd/client/pkg/batch.(*Controller[...]).FetchPendingRequests(0xa80d4a0, {0xa7d4ca8, 0xc00152d8b0}, 0xc000d07340, 0xc0013b5110, 0x0) external/com_github_tikv_pd_client/pkg/batch/batch_controller.go:117 +0x725 github.com/tikv/pd/client/clients/tso.(*tsoDispatcher).handleDispatcher(0xc0013af500, 0xc0013af418) external/com_github_tikv_pd_client/clients/tso/dispatcher.go:206 +0x565 created by github.com/tikv/pd/client/clients/tso.(*Cli).tryCreateTSODispatcher in goroutine 62 external/com_github_tikv_pd_client/clients/tso/client.go:539 +0x18d goroutine 182 [select, 15 minutes]: github.com/tikv/pd/client/clients/tso.(*Cli).connectionCtxsUpdater(0xc0013af400) external/com_github_tikv_pd_client/clients/tso/client.go:271 +0x3cc created by github.com/tikv/pd/client/clients/tso.(*Cli).Setup in goroutine 62 external/com_github_tikv_pd_client/clients/tso/client.go:143 +0xa6 goroutine 232 [sync.Cond.Wait]: sync.runtime_notifyListWait(0xc0018a6490, 0x8) GOROOT/src/runtime/sema.go:587 +0x159 sync.(*Cond).Wait(0xc0018a6480) GOROOT/src/sync/cond.go:71 +0x75 google.golang.org/grpc/internal/transport.(*http2Client).keepalive(0xc0018c8248) external/org_golang_google_grpc/internal/transport/http2_client.go:1710 +0x4a5 created by google.golang.org/grpc/internal/transport.newHTTP2Client in goroutine 279 external/org_golang_google_grpc/internal/transport/http2_client.go:399 +0x32cb goroutine 243 [select, 15 minutes]: google.golang.org/grpc.newClientStreamWithParams.func4() external/org_golang_google_grpc/stream.go:392 +0xe6 created by google.golang.org/grpc.newClientStreamWithParams in goroutine 182 external/org_golang_google_grpc/stream.go:391 +0x1cc5 goroutine 244 [select]: google.golang.org/grpc/internal/transport.(*recvBufferReader).readClient(0xc00185a230, {0xc001840430, 0x5, 0x5}) external/org_golang_google_grpc/internal/transport/transport.go:193 +0x136 google.golang.org/grpc/internal/transport.(*recvBufferReader).Read(0xc00185a230, {0xc001840430, 0x5, 0x5}) external/org_golang_google_grpc/internal/transport/transport.go:173 +0x35b google.golang.org/grpc/internal/transport.(*transportReader).Read(0xc0018403f0, {0xc001840430, 0x5, 0x5}) external/org_golang_google_grpc/internal/transport/transport.go:525 +0x5d io.ReadAtLeast({0xa79fa00, 0xc0018403f0}, {0xc001840430, 0x5, 0x5}, 0x5) GOROOT/src/io/io.go:335 +0xd0 io.ReadFull(...) GOROOT/src/io/io.go:354 google.golang.org/grpc/internal/transport.(*Stream).Read(0xc000162ea0, {0xc001840430, 0x5, 0x5}) external/org_golang_google_grpc/internal/transport/transport.go:509 +0x127 google.golang.org/grpc.(*parser).recvMsg(0xc001840420, 0x7fffffff) external/org_golang_google_grpc/rpc_util.go:614 +0x6e google.golang.org/grpc.recvAndDecompress(0xc001840420, 0xc000162ea0, {0x0, 0x0}, 0x7fffffff, 0x0, {0x0, 0x0}) external/org_golang_google_grpc/rpc_util.go:753 +0x93 google.golang.org/grpc.recv(0xc001840420, {0x7f219e3a44d0, 0xf9fc700}, 0xc000162ea0, {0x0, 0x0}, {0x96fcbe0, 0xc006107698}, 0x7fffffff, 0x0, ...) external/org_golang_google_grpc/rpc_util.go:833 +0xbd google.golang.org/grpc.(*csAttempt).recvMsg(0xc0018600d0, {0x96fcbe0, 0xc006107698}, 0x0) external/org_golang_google_grpc/stream.go:1085 +0x568 google.golang.org/grpc.(*clientStream).RecvMsg.func1(0xc0018600d0) external/org_golang_google_grpc/stream.go:928 +0x51 google.golang.org/grpc.(*clientStream).withRetry(0xc0001626c0, 0xc001df3c30, 0xc001df3c90) external/org_golang_google_grpc/stream.go:761 +0x478 google.golang.org/grpc.(*clientStream).RecvMsg(0xc0001626c0, {0x96fcbe0, 0xc006107698}) external/org_golang_google_grpc/stream.go:927 +0x1c7 github.com/pingcap/kvproto/pkg/pdpb.(*pDTsoClient).Recv(0xc00117c0f0) external/com_github_pingcap_kvproto/pkg/pdpb/pdpb.pb.go:9011 +0x66 github.com/tikv/pd/client/clients/tso.pdTSOStreamAdapter.Recv({{0xa7f4f98?, 0xc00117c0f0?}}) external/com_github_tikv_pd_client/clients/tso/stream.go:144 +0x42 github.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop(0xc001868100, {0xa7d4ca8, 0xc00185a2d0}) external/com_github_tikv_pd_client/clients/tso/stream.go:403 +0x342 created by github.com/tikv/pd/client/clients/tso.newTSOStream in goroutine 182 external/com_github_tikv_pd_client/clients/tso/stream.go:255 +0x4b2 goroutine 245 [select, 1 minutes]: github.com/tikv/pd/client/servicediscovery.(*serviceDiscovery).updateMemberLoop(0xc001b50800) external/com_github_tikv_pd_client/servicediscovery/service_discovery.go:542 +0x30d created by github.com/tikv/pd/client/servicediscovery.(*serviceDiscovery).Init in goroutine 62 external/com_github_tikv_pd_client/servicediscovery/service_discovery.go:507 +0x379 goroutine 246 [select]: github.com/tikv/pd/client/servicediscovery.(*serviceDiscovery).updateServiceModeLoop(0xc001b50800) external/com_github_tikv_pd_client/servicediscovery/service_discovery.go:575 +0x30e created by github.com/tikv/pd/client/servicediscovery.(*serviceDiscovery).Init in goroutine 62 external/com_github_tikv_pd_client/servicediscovery/service_discovery.go:508 +0x3f4 goroutine 247 [select]: github.com/tikv/pd/client/servicediscovery.(*serviceDiscovery).memberHealthCheckLoop(0xc001b50800) external/com_github_tikv_pd_client/servicediscovery/service_discovery.go:598 +0x2ee created by github.com/tikv/pd/client/servicediscovery.(*serviceDiscovery).Init in goroutine 62 external/com_github_tikv_pd_client/servicediscovery/service_discovery.go:509 +0x474 goroutine 248 [select]: github.com/tikv/pd/client.(*innerClient).handleResourceTokenDispatcher(0xc0017d9080, {0xa7d4ca8, 0xc00185a410}, 0xc000eb8048) external/com_github_tikv_pd_client/resource_manager_client.go:309 +0x345 created by github.com/tikv/pd/client.(*innerClient).createTokenDispatcher in goroutine 62 external/com_github_tikv_pd_client/resource_manager_client.go:287 +0x268 goroutine 249 [select, 15 minutes]: github.com/tikv/pd/client.(*innerClient).routerClientInitializer(0xc0017d9080) external/com_github_tikv_pd_client/inner_client.go:88 +0x1d2 created by github.com/tikv/pd/client.(*innerClient).init in goroutine 62 external/com_github_tikv_pd_client/inner_client.go:79 +0x414 goroutine 183 [select, 15 minutes]: google.golang.org/grpc.newClientStreamWithParams.func4() external/org_golang_google_grpc/stream.go:392 +0xe6 created by google.golang.org/grpc.newClientStreamWithParams in goroutine 248 external/org_golang_google_grpc/stream.go:391 +0x1cc5 goroutine 250 [select, 15 minutes]: google.golang.org/grpc/internal/grpcsync.(*CallbackSerializer).run(0xc00117c6b0, {0xa7d4ca8, 0xc00185a500}) external/org_golang_google_grpc/internal/grpcsync/callback_serializer.go:76 +0x1eb created by google.golang.org/grpc/internal/grpcsync.NewCallbackSerializer in goroutine 62 external/org_golang_google_grpc/internal/grpcsync/callback_serializer.go:52 +0x207 goroutine 251 [select, 15 minutes]: google.golang.org/grpc/internal/grpcsync.(*CallbackSerializer).run(0xc00117c6e0, {0xa7d4ca8, 0xc00185a6e0}) external/org_golang_google_grpc/internal/grpcsync/callback_serializer.go:76 +0x1eb created by google.golang.org/grpc/internal/grpcsync.NewCallbackSerializer in goroutine 62 external/org_golang_google_grpc/internal/grpcsync/callback_serializer.go:52 +0x207 goroutine 252 [select]: google.golang.org/grpc/internal/grpcsync.(*CallbackSerializer).run(0xc00117c710, {0xa7d4ca8, 0xc00185a730}) external/org_golang_google_grpc/internal/grpcsync/callback_serializer.go:76 +0x1eb created by google.golang.org/grpc/internal/grpcsync.NewCallbackSerializer in goroutine 62 external/org_golang_google_grpc/internal/grpcsync/callback_serializer.go:52 +0x207 goroutine 238 [select, 15 minutes]: google.golang.org/grpc/internal/grpcsync.(*CallbackSerializer).run(0xc0017d2330, {0xa7d4ca8, 0xc00188af50}) external/org_golang_google_grpc/internal/grpcsync/callback_serializer.go:76 +0x1eb created by google.golang.org/grpc/internal/grpcsync.NewCallbackSerializer in goroutine 62 external/org_golang_google_grpc/internal/grpcsync/callback_serializer.go:52 +0x207 goroutine 254 [select]: go.etcd.io/etcd/client/v3.(*Client).autoSync(0xc00186ce00) external/io_etcd_go_etcd_client_v3/client.go:202 +0x169 created by go.etcd.io/etcd/client/v3.newClient in goroutine 62 external/io_etcd_go_etcd_client_v3/client.go:451 +0x2356 goroutine 256 [sync.Cond.Wait]: sync.runtime_notifyListWait(0xc001844890, 0x24) GOROOT/src/runtime/sema.go:587 +0x159 sync.(*Cond).Wait(0xc001844880) GOROOT/src/sync/cond.go:71 +0x75 google.golang.org/grpc/internal/transport.(*http2Client).keepalive(0xc00186e6c8) external/org_golang_google_grpc/internal/transport/http2_client.go:1710 +0x4a5 created by google.golang.org/grpc/internal/transport.newHTTP2Client in goroutine 253 external/org_golang_google_grpc/internal/transport/http2_client.go:399 +0x32cb goroutine 257 [IO wait]: internal/poll.runtime_pollWait(0x7f219e3c7a90, 0x72) GOROOT/src/runtime/netpoll.go:351 +0x85 internal/poll.(*pollDesc).wait(0xc00165e1a0, 0x72, 0x0) GOROOT/src/internal/poll/fd_poll_runtime.go:84 +0xb1 internal/poll.(*pollDesc).waitRead(...) GOROOT/src/internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Read(0xc00165e180, {0xc001ace000, 0x8000, 0x8000}) GOROOT/src/internal/poll/fd_unix.go:165 +0x466 net.(*netFD).Read(0xc00165e180, {0xc001ace000, 0x8000, 0x8000}) GOROOT/src/net/fd_posix.go:55 +0x4b net.(*conn).Read(0xc00148a198, {0xc001ace000, 0x8000, 0x8000}) GOROOT/src/net/net.go:189 +0xad bufio.(*Reader).Read(0xc00183e720, {0xc001ae4040, 0x9, 0x9}) GOROOT/src/bufio/bufio.go:241 +0x4bf io.ReadAtLeast({0xa7965c0, 0xc00183e720}, {0xc001ae4040, 0x9, 0x9}, 0x9) GOROOT/src/io/io.go:335 +0xd0 io.ReadFull(...) GOROOT/src/io/io.go:354 golang.org/x/net/http2.readFrameHeader({0xc001ae4040, 0x9, 0x9}, {0xa7965c0, 0xc00183e720}) external/org_golang_x_net/http2/frame.go:242 +0x9a golang.org/x/net/http2.(*Framer).ReadFrame(0xc001ae4000) external/org_golang_x_net/http2/frame.go:506 +0xf5 google.golang.org/grpc/internal/transport.(*http2Client).reader(0xc00186e6c8, 0xc0011fe930) external/org_golang_google_grpc/internal/transport/http2_client.go:1602 +0x2e5 created by google.golang.org/grpc/internal/transport.newHTTP2Client in goroutine 253 external/org_golang_google_grpc/internal/transport/http2_client.go:409 +0x33ab goroutine 258 [select]: google.golang.org/grpc/internal/transport.(*controlBuffer).get(0xc00185adc0, 0x1) external/org_golang_google_grpc/internal/transport/controlbuf.go:418 +0x1af google.golang.org/grpc/internal/transport.(*loopyWriter).run(0xc0011fe9a0) external/org_golang_google_grpc/internal/transport/controlbuf.go:551 +0x15b google.golang.org/grpc/internal/transport.newHTTP2Client.func6() external/org_golang_google_grpc/internal/transport/http2_client.go:463 +0x190 created by google.golang.org/grpc/internal/transport.newHTTP2Client in goroutine 253 external/org_golang_google_grpc/internal/transport/http2_client.go:461 +0x3d6c goroutine 259 [select]: github.com/tikv/client-go/v2/internal/client.(*connMonitor).start(0xc001844a40) external/com_github_tikv_client_go_v2/internal/client/client.go:242 +0x175 created by github.com/tikv/client-go/v2/internal/client.NewRPCClient.(*connMonitor).Start.func1 in goroutine 62 external/com_github_tikv_client_go_v2/internal/client/client.go:222 +0xe9 goroutine 260 [select]: github.com/tikv/client-go/v2/oracle/oracles.(*pdOracle).updateTS(0xc00186ad80, {0xa7d4d50, 0xf9fc700}) external/com_github_tikv_client_go_v2/oracle/oracles/pd.go:483 +0x2ac created by github.com/tikv/client-go/v2/oracle/oracles.NewPdOracle in goroutine 62 external/com_github_tikv_client_go_v2/oracle/oracles/pd.go:194 +0x38d goroutine 262 [select, 15 minutes]: google.golang.org/grpc/internal/grpcsync.(*CallbackSerializer).run(0xc001764e80, {0xa7d4ca8, 0xc0020645a0}) external/org_golang_google_grpc/internal/grpcsync/callback_serializer.go:76 +0x1eb created by google.golang.org/grpc/internal/grpcsync.NewCallbackSerializer in goroutine 62 external/org_golang_google_grpc/internal/grpcsync/callback_serializer.go:52 +0x207 goroutine 172 [IO wait]: internal/poll.runtime_pollWait(0x7f219e3c7978, 0x72) GOROOT/src/runtime/netpoll.go:351 +0x85 internal/poll.(*pollDesc).wait(0xc00165e220, 0x72, 0x0) GOROOT/src/internal/poll/fd_poll_runtime.go:84 +0xb1 internal/poll.(*pollDesc).waitRead(...) GOROOT/src/internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Read(0xc00165e200, {0xc001cc0000, 0x8000, 0x8000}) GOROOT/src/internal/poll/fd_unix.go:165 +0x466 net.(*netFD).Read(0xc00165e200, {0xc001cc0000, 0x8000, 0x8000}) GOROOT/src/net/fd_posix.go:55 +0x4b net.(*conn).Read(0xc000126558, {0xc001cc0000, 0x8000, 0x8000}) GOROOT/src/net/net.go:189 +0xad bufio.(*Reader).Read(0xc00165a660, {0xc0017ac040, 0x9, 0x9}) GOROOT/src/bufio/bufio.go:241 +0x4bf io.ReadAtLeast({0xa7965c0, 0xc00165a660}, {0xc0017ac040, 0x9, 0x9}, 0x9) GOROOT/src/io/io.go:335 +0xd0 io.ReadFull(...) GOROOT/src/io/io.go:354 golang.org/x/net/http2.readFrameHeader({0xc0017ac040, 0x9, 0x9}, {0xa7965c0, 0xc00165a660}) external/org_golang_x_net/http2/frame.go:242 +0x9a golang.org/x/net/http2.(*Framer).ReadFrame(0xc0017ac000) external/org_golang_x_net/http2/frame.go:506 +0xf5 google.golang.org/grpc/internal/transport.(*http2Client).reader(0xc0017b8008, 0xc0011ba620) external/org_golang_google_grpc/internal/transport/http2_client.go:1602 +0x2e5 created by google.golang.org/grpc/internal/transport.newHTTP2Client in goroutine 212 external/org_golang_google_grpc/internal/transport/http2_client.go:409 +0x33ab goroutine 173 [select]: google.golang.org/grpc/internal/transport.(*controlBuffer).get(0xc001658690, 0x1) external/org_golang_google_grpc/internal/transport/controlbuf.go:418 +0x1af google.golang.org/grpc/internal/transport.(*loopyWriter).run(0xc0011fa460) external/org_golang_google_grpc/internal/transport/controlbuf.go:551 +0x15b google.golang.org/grpc/internal/transport.newHTTP2Client.func6() external/org_golang_google_grpc/internal/transport/http2_client.go:463 +0x190 created by google.golang.org/grpc/internal/transport.newHTTP2Client in goroutine 212 external/org_golang_google_grpc/internal/transport/http2_client.go:461 +0x3d6c goroutine 200 [select]: google.golang.org/grpc/internal/transport.(*http2Client).keepalive(0xc001db5d48) external/org_golang_google_grpc/internal/transport/http2_client.go:1676 +0x23c created by google.golang.org/grpc/internal/transport.newHTTP2Client in goroutine 213 external/org_golang_google_grpc/internal/transport/http2_client.go:399 +0x32cb goroutine 201 [IO wait]: internal/poll.runtime_pollWait(0x7f219e3c7860, 0x72) GOROOT/src/runtime/netpoll.go:351 +0x85 internal/poll.(*pollDesc).wait(0xc001dc45a0, 0x72, 0x0) GOROOT/src/internal/poll/fd_poll_runtime.go:84 +0xb1 internal/poll.(*pollDesc).waitRead(...) GOROOT/src/internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Read(0xc001dc4580, {0xc001cd0000, 0x8000, 0x8000}) GOROOT/src/internal/poll/fd_unix.go:165 +0x466 net.(*netFD).Read(0xc001dc4580, {0xc001cd0000, 0x8000, 0x8000}) GOROOT/src/net/fd_posix.go:55 +0x4b net.(*conn).Read(0xc001f18168, {0xc001cd0000, 0x8000, 0x8000}) GOROOT/src/net/net.go:189 +0xad bufio.(*Reader).Read(0xc001dfc0c0, {0xc001dfe040, 0x9, 0x9}) GOROOT/src/bufio/bufio.go:241 +0x4bf io.ReadAtLeast({0xa7965c0, 0xc001dfc0c0}, {0xc001dfe040, 0x9, 0x9}, 0x9) GOROOT/src/io/io.go:335 +0xd0 io.ReadFull(...) GOROOT/src/io/io.go:354 golang.org/x/net/http2.readFrameHeader({0xc001dfe040, 0x9, 0x9}, {0xa7965c0, 0xc001dfc0c0}) external/org_golang_x_net/http2/frame.go:242 +0x9a golang.org/x/net/http2.(*Framer).ReadFrame(0xc001dfe000) external/org_golang_x_net/http2/frame.go:506 +0xf5 google.golang.org/grpc/internal/transport.(*http2Client).reader(0xc001db5d48, 0xc0011f8d90) external/org_golang_google_grpc/internal/transport/http2_client.go:1602 +0x2e5 created by google.golang.org/grpc/internal/transport.newHTTP2Client in goroutine 213 external/org_golang_google_grpc/internal/transport/http2_client.go:409 +0x33ab goroutine 202 [select]: google.golang.org/grpc/internal/transport.(*controlBuffer).get(0xc001d8efa0, 0x1) external/org_golang_google_grpc/internal/transport/controlbuf.go:418 +0x1af google.golang.org/grpc/internal/transport.(*loopyWriter).run(0xc0011f8e00) external/org_golang_google_grpc/internal/transport/controlbuf.go:551 +0x15b google.golang.org/grpc/internal/transport.newHTTP2Client.func6() external/org_golang_google_grpc/internal/transport/http2_client.go:463 +0x190 created by google.golang.org/grpc/internal/transport.newHTTP2Client in goroutine 213 external/org_golang_google_grpc/internal/transport/http2_client.go:461 +0x3d6c goroutine 203 [select]: github.com/tikv/client-go/v2/internal/locate.(*bgRunner).scheduleWithTrigger.func1() external/com_github_tikv_client_go_v2/internal/locate/region_cache.go:617 +0x24c created by github.com/tikv/client-go/v2/internal/locate.(*bgRunner).scheduleWithTrigger in goroutine 62 external/com_github_tikv_client_go_v2/internal/locate/region_cache.go:609 +0x188 goroutine 204 [select]: github.com/tikv/client-go/v2/internal/locate.(*bgRunner).schedule.func1() external/com_github_tikv_client_go_v2/internal/locate/region_cache.go:591 +0x1e5 created by github.com/tikv/client-go/v2/internal/locate.(*bgRunner).schedule in goroutine 62 external/com_github_tikv_client_go_v2/internal/locate/region_cache.go:584 +0x148 goroutine 205 [select]: github.com/tikv/client-go/v2/internal/locate.(*bgRunner).schedule.func1() external/com_github_tikv_client_go_v2/internal/locate/region_cache.go:591 +0x1e5 created by github.com/tikv/client-go/v2/internal/locate.(*bgRunner).schedule in goroutine 62 external/com_github_tikv_client_go_v2/internal/locate/region_cache.go:584 +0x148 goroutine 206 [select]: github.com/tikv/client-go/v2/internal/locate.(*bgRunner).schedule.func1() external/com_github_tikv_client_go_v2/internal/locate/region_cache.go:591 +0x1e5 created by github.com/tikv/client-go/v2/internal/locate.(*bgRunner).schedule in goroutine 62 external/com_github_tikv_client_go_v2/internal/locate/region_cache.go:584 +0x148 goroutine 207 [select]: github.com/tikv/client-go/v2/internal/locate.(*bgRunner).schedule.func1() external/com_github_tikv_client_go_v2/internal/locate/region_cache.go:591 +0x1e5 created by github.com/tikv/client-go/v2/internal/locate.(*bgRunner).schedule in goroutine 62 external/com_github_tikv_client_go_v2/internal/locate/region_cache.go:584 +0x148 goroutine 208 [select]: github.com/tikv/client-go/v2/tikv.(*KVStore).runSafePointChecker(0xc001df8160) external/com_github_tikv_client_go_v2/tikv/kv.go:354 +0x1cd created by github.com/tikv/client-go/v2/tikv.NewKVStore in goroutine 62 external/com_github_tikv_client_go_v2/tikv/kv.go:305 +0xb4b goroutine 209 [select]: github.com/tikv/client-go/v2/tikv.(*KVStore).safeTSUpdater(0xc001df8160) external/com_github_tikv_client_go_v2/tikv/kv.go:704 +0x38c created by github.com/tikv/client-go/v2/tikv.NewKVStore in goroutine 62 external/com_github_tikv_client_go_v2/tikv/kv.go:306 +0xbcb goroutine 274 [select, 15 minutes]: github.com/dgraph-io/ristretto.(*defaultPolicy).processItems(0xc00088b9c0) external/com_github_dgraph_io_ristretto/policy.go:102 +0x106 created by github.com/dgraph-io/ristretto.newDefaultPolicy in goroutine 62 external/com_github_dgraph_io_ristretto/policy.go:86 +0x2bd goroutine 275 [select]: github.com/dgraph-io/ristretto.(*Cache).processItems(0xc001dc4780) external/com_github_dgraph_io_ristretto/cache.go:452 +0x2c5 created by github.com/dgraph-io/ristretto.NewCache in goroutine 62 external/com_github_dgraph_io_ristretto/cache.go:207 +0xe88 goroutine 276 [select, 15 minutes]: google.golang.org/grpc/internal/grpcsync.(*CallbackSerializer).run(0xc00157dd90, {0xa7d4ca8, 0xc001d8f450}) external/org_golang_google_grpc/internal/grpcsync/callback_serializer.go:76 +0x1eb created by google.golang.org/grpc/internal/grpcsync.NewCallbackSerializer in goroutine 62 external/org_golang_google_grpc/internal/grpcsync/callback_serializer.go:52 +0x207 goroutine 277 [select, 15 minutes]: google.golang.org/grpc/internal/grpcsync.(*CallbackSerializer).run(0xc00157de80, {0xa7d4ca8, 0xc001d8f630}) external/org_golang_google_grpc/internal/grpcsync/callback_serializer.go:76 +0x1eb created by google.golang.org/grpc/internal/grpcsync.NewCallbackSerializer in goroutine 62 external/org_golang_google_grpc/internal/grpcsync/callback_serializer.go:52 +0x207 goroutine 278 [select]: google.golang.org/grpc/internal/grpcsync.(*CallbackSerializer).run(0xc00157df70, {0xa7d4ca8, 0xc001d8f680}) external/org_golang_google_grpc/internal/grpcsync/callback_serializer.go:76 +0x1eb created by google.golang.org/grpc/internal/grpcsync.NewCallbackSerializer in goroutine 62 external/org_golang_google_grpc/internal/grpcsync/callback_serializer.go:52 +0x207 goroutine 237 [select, 15 minutes]: google.golang.org/grpc/internal/grpcsync.(*CallbackSerializer).run(0xc0017d22f0, {0xa7d4ca8, 0xc00188af00}) external/org_golang_google_grpc/internal/grpcsync/callback_serializer.go:76 +0x1eb created by google.golang.org/grpc/internal/grpcsync.NewCallbackSerializer in goroutine 62 external/org_golang_google_grpc/internal/grpcsync/callback_serializer.go:52 +0x207 goroutine 263 [select, 15 minutes]: google.golang.org/grpc/internal/grpcsync.(*CallbackSerializer).run(0xc001764f70, {0xa7d4ca8, 0xc0020645f0}) external/org_golang_google_grpc/internal/grpcsync/callback_serializer.go:76 +0x1eb created by google.golang.org/grpc/internal/grpcsync.NewCallbackSerializer in goroutine 62 external/org_golang_google_grpc/internal/grpcsync/callback_serializer.go:52 +0x207 goroutine 12880 [IO wait]: internal/poll.runtime_pollWait(0x7f219e3b0d50, 0x72) GOROOT/src/runtime/netpoll.go:351 +0x85 internal/poll.(*pollDesc).wait(0xc00653e420, 0x72, 0x0) GOROOT/src/internal/poll/fd_poll_runtime.go:84 +0xb1 internal/poll.(*pollDesc).waitRead(...) GOROOT/src/internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Read(0xc00653e400, {0xc001446000, 0x8000, 0x8000}) GOROOT/src/internal/poll/fd_unix.go:165 +0x466 net.(*netFD).Read(0xc00653e400, {0xc001446000, 0x8000, 0x8000}) GOROOT/src/net/fd_posix.go:55 +0x4b net.(*conn).Read(0xc0038300d0, {0xc001446000, 0x8000, 0x8000}) GOROOT/src/net/net.go:189 +0xad bufio.(*Reader).Read(0xc0046f4360, {0xc006580040, 0x9, 0x9}) GOROOT/src/bufio/bufio.go:241 +0x4bf io.ReadAtLeast({0xa7965c0, 0xc0046f4360}, {0xc006580040, 0x9, 0x9}, 0x9) GOROOT/src/io/io.go:335 +0xd0 io.ReadFull(...) GOROOT/src/io/io.go:354 golang.org/x/net/http2.readFrameHeader({0xc006580040, 0x9, 0x9}, {0xa7965c0, 0xc0046f4360}) external/org_golang_x_net/http2/frame.go:242 +0x9a golang.org/x/net/http2.(*Framer).ReadFrame(0xc006580000) external/org_golang_x_net/http2/frame.go:506 +0xf5 google.golang.org/grpc/internal/transport.(*http2Client).reader(0xc006562248, 0xc006540460) external/org_golang_google_grpc/internal/transport/http2_client.go:1602 +0x2e5 created by google.golang.org/grpc/internal/transport.newHTTP2Client in goroutine 12874 external/org_golang_google_grpc/internal/transport/http2_client.go:409 +0x33ab goroutine 184 [select]: go.etcd.io/etcd/client/v3.(*Client).autoSync(0xc001dcfc00) external/io_etcd_go_etcd_client_v3/client.go:202 +0x169 created by go.etcd.io/etcd/client/v3.newClient in goroutine 62 external/io_etcd_go_etcd_client_v3/client.go:451 +0x2356 goroutine 294 [IO wait]: internal/poll.runtime_pollWait(0x7f219e3c71d0, 0x72) GOROOT/src/runtime/netpoll.go:351 +0x85 internal/poll.(*pollDesc).wait(0xc0019aa1a0, 0x72, 0x0) GOROOT/src/internal/poll/fd_poll_runtime.go:84 +0xb1 internal/poll.(*pollDesc).waitRead(...) GOROOT/src/internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Read(0xc0019aa180, {0xc0019be000, 0x8000, 0x8000}) GOROOT/src/internal/poll/fd_unix.go:165 +0x466 net.(*netFD).Read(0xc0019aa180, {0xc0019be000, 0x8000, 0x8000}) GOROOT/src/net/fd_posix.go:55 +0x4b net.(*conn).Read(0xc0019b2020, {0xc0019be000, 0x8000, 0x8000}) GOROOT/src/net/net.go:189 +0xad bufio.(*Reader).Read(0xc00193a540, {0xc0019d4040, 0x9, 0x9}) GOROOT/src/bufio/bufio.go:241 +0x4bf io.ReadAtLeast({0xa7965c0, 0xc00193a540}, {0xc0019d4040, 0x9, 0x9}, 0x9) GOROOT/src/io/io.go:335 +0xd0 io.ReadFull(...) GOROOT/src/io/io.go:354 golang.org/x/net/http2.readFrameHeader({0xc0019d4040, 0x9, 0x9}, {0xa7965c0, 0xc00193a540}) external/org_golang_x_net/http2/frame.go:242 +0x9a golang.org/x/net/http2.(*Framer).ReadFrame(0xc0019d4000) external/org_golang_x_net/http2/frame.go:506 +0xf5 google.golang.org/grpc/internal/transport.(*http2Client).reader(0xc0019d8008, 0xc000920770) external/org_golang_google_grpc/internal/transport/http2_client.go:1602 +0x2e5 created by google.golang.org/grpc/internal/transport.newHTTP2Client in goroutine 235 external/org_golang_google_grpc/internal/transport/http2_client.go:409 +0x33ab goroutine 284 [select]: google.golang.org/grpc/internal/transport.(*http2Client).keepalive(0xc001e3a248) external/org_golang_google_grpc/internal/transport/http2_client.go:1676 +0x23c created by google.golang.org/grpc/internal/transport.newHTTP2Client in goroutine 280 external/org_golang_google_grpc/internal/transport/http2_client.go:399 +0x32cb goroutine 285 [IO wait]: internal/poll.runtime_pollWait(0x7f219e3c7630, 0x72) GOROOT/src/runtime/netpoll.go:351 +0x85 internal/poll.(*pollDesc).wait(0xc001dc4ca0, 0x72, 0x0) GOROOT/src/internal/poll/fd_poll_runtime.go:84 +0xb1 internal/poll.(*pollDesc).waitRead(...) GOROOT/src/internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Read(0xc001dc4c80, {0xc001e64000, 0x8000, 0x8000}) GOROOT/src/internal/poll/fd_unix.go:165 +0x466 net.(*netFD).Read(0xc001dc4c80, {0xc001e64000, 0x8000, 0x8000}) GOROOT/src/net/fd_posix.go:55 +0x4b net.(*conn).Read(0xc001f18290, {0xc001e64000, 0x8000, 0x8000}) GOROOT/src/net/net.go:189 +0xad bufio.(*Reader).Read(0xc001dfc3c0, {0xc001dfe120, 0x9, 0x9}) GOROOT/src/bufio/bufio.go:241 +0x4bf io.ReadAtLeast({0xa7965c0, 0xc001dfc3c0}, {0xc001dfe120, 0x9, 0x9}, 0x9) GOROOT/src/io/io.go:335 +0xd0 io.ReadFull(...) GOROOT/src/io/io.go:354 golang.org/x/net/http2.readFrameHeader({0xc001dfe120, 0x9, 0x9}, {0xa7965c0, 0xc001dfc3c0}) external/org_golang_x_net/http2/frame.go:242 +0x9a golang.org/x/net/http2.(*Framer).ReadFrame(0xc001dfe0e0) external/org_golang_x_net/http2/frame.go:506 +0xf5 google.golang.org/grpc/internal/transport.(*http2Client).reader(0xc001e3a248, 0xc0011f9570) external/org_golang_google_grpc/internal/transport/http2_client.go:1602 +0x2e5 created by google.golang.org/grpc/internal/transport.newHTTP2Client in goroutine 280 external/org_golang_google_grpc/internal/transport/http2_client.go:409 +0x33ab goroutine 286 [select]: google.golang.org/grpc/internal/transport.(*controlBuffer).get(0xc001e580f0, 0x1) external/org_golang_google_grpc/internal/transport/controlbuf.go:418 +0x1af google.golang.org/grpc/internal/transport.(*loopyWriter).run(0xc0011f95e0) external/org_golang_google_grpc/internal/transport/controlbuf.go:551 +0x15b google.golang.org/grpc/internal/transport.newHTTP2Client.func6() external/org_golang_google_grpc/internal/transport/http2_client.go:463 +0x190 created by google.golang.org/grpc/internal/transport.newHTTP2Client in goroutine 280 external/org_golang_google_grpc/internal/transport/http2_client.go:461 +0x3d6c goroutine 177 [IO wait]: internal/poll.runtime_pollWait(0x7f219e3c7518, 0x72) GOROOT/src/runtime/netpoll.go:351 +0x85 internal/poll.(*pollDesc).wait(0xc00165e2a0, 0x72, 0x0) GOROOT/src/internal/poll/fd_poll_runtime.go:84 +0xb1 internal/poll.(*pollDesc).waitRead(...) GOROOT/src/internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Read(0xc00165e280, {0xc001f4e000, 0x8000, 0x8000}) GOROOT/src/internal/poll/fd_unix.go:165 +0x466 net.(*netFD).Read(0xc00165e280, {0xc001f4e000, 0x8000, 0x8000}) GOROOT/src/net/fd_posix.go:55 +0x4b net.(*conn).Read(0xc000126de8, {0xc001f4e000, 0x8000, 0x8000}) GOROOT/src/net/net.go:189 +0xad bufio.(*Reader).Read(0xc00165a780, {0xc0017ac120, 0x9, 0x9}) GOROOT/src/bufio/bufio.go:241 +0x4bf io.ReadAtLeast({0xa7965c0, 0xc00165a780}, {0xc0017ac120, 0x9, 0x9}, 0x9) GOROOT/src/io/io.go:335 +0xd0 io.ReadFull(...) GOROOT/src/io/io.go:354 golang.org/x/net/http2.readFrameHeader({0xc0017ac120, 0x9, 0x9}, {0xa7965c0, 0xc00165a780}) external/org_golang_x_net/http2/frame.go:242 +0x9a golang.org/x/net/http2.(*Framer).ReadFrame(0xc0017ac0e0) external/org_golang_x_net/http2/frame.go:506 +0xf5 google.golang.org/grpc/internal/transport.(*http2Client).reader(0xc0017b8248, 0xc0011ba8c0) external/org_golang_google_grpc/internal/transport/http2_client.go:1602 +0x2e5 created by google.golang.org/grpc/internal/transport.newHTTP2Client in goroutine 281 external/org_golang_google_grpc/internal/transport/http2_client.go:409 +0x33ab goroutine 306 [select]: google.golang.org/grpc/internal/transport.(*controlBuffer).get(0xc001658910, 0x1) external/org_golang_google_grpc/internal/transport/controlbuf.go:418 +0x1af google.golang.org/grpc/internal/transport.(*loopyWriter).run(0xc0011f9730) external/org_golang_google_grpc/internal/transport/controlbuf.go:551 +0x15b google.golang.org/grpc/internal/transport.newHTTP2Client.func6() external/org_golang_google_grpc/internal/transport/http2_client.go:463 +0x190 created by google.golang.org/grpc/internal/transport.newHTTP2Client in goroutine 281 external/org_golang_google_grpc/internal/transport/http2_client.go:461 +0x3d6c goroutine 287 [select, 15 minutes]: google.golang.org/grpc/internal/grpcsync.(*CallbackSerializer).run(0xc0015d7db0, {0xa7d4ca8, 0xc001e58230}) external/org_golang_google_grpc/internal/grpcsync/callback_serializer.go:76 +0x1eb created by google.golang.org/grpc/internal/grpcsync.NewCallbackSerializer in goroutine 62 external/org_golang_google_grpc/internal/grpcsync/callback_serializer.go:52 +0x207 goroutine 288 [select, 15 minutes]: google.golang.org/grpc/internal/grpcsync.(*CallbackSerializer).run(0xc0015d7ea0, {0xa7d4ca8, 0xc001e584b0}) external/org_golang_google_grpc/internal/grpcsync/callback_serializer.go:76 +0x1eb created by google.golang.org/grpc/internal/grpcsync.NewCallbackSerializer in goroutine 62 external/org_golang_google_grpc/internal/grpcsync/callback_serializer.go:52 +0x207 goroutine 289 [select, 15 minutes]: google.golang.org/grpc/internal/grpcsync.(*CallbackSerializer).run(0xc00189c010, {0xa7d4ca8, 0xc001e58500}) external/org_golang_google_grpc/internal/grpcsync/callback_serializer.go:76 +0x1eb created by google.golang.org/grpc/internal/grpcsync.NewCallbackSerializer in goroutine 62 external/org_golang_google_grpc/internal/grpcsync/callback_serializer.go:52 +0x207 goroutine 261 [select, 15 minutes]: google.golang.org/grpc/internal/grpcsync.(*CallbackSerializer).run(0xc001764d90, {0xa7d4ca8, 0xc002064320}) external/org_golang_google_grpc/internal/grpcsync/callback_serializer.go:76 +0x1eb created by google.golang.org/grpc/internal/grpcsync.NewCallbackSerializer in goroutine 62 external/org_golang_google_grpc/internal/grpcsync/callback_serializer.go:52 +0x207 goroutine 323 [select, 15 minutes]: google.golang.org/grpc/internal/grpcsync.(*CallbackSerializer).run(0xc001220010, {0xa7d4ca8, 0xc001e588c0}) external/org_golang_google_grpc/internal/grpcsync/callback_serializer.go:76 +0x1eb created by google.golang.org/grpc/internal/grpcsync.NewCallbackSerializer in goroutine 62 external/org_golang_google_grpc/internal/grpcsync/callback_serializer.go:52 +0x207 goroutine 324 [select, 15 minutes]: google.golang.org/grpc/internal/grpcsync.(*CallbackSerializer).run(0xc001220050, {0xa7d4ca8, 0xc001e58b40}) external/org_golang_google_grpc/internal/grpcsync/callback_serializer.go:76 +0x1eb created by google.golang.org/grpc/internal/grpcsync.NewCallbackSerializer in goroutine 62 external/org_golang_google_grpc/internal/grpcsync/callback_serializer.go:52 +0x207 goroutine 325 [select, 15 minutes]: google.golang.org/grpc/internal/grpcsync.(*CallbackSerializer).run(0xc0012200a0, {0xa7d4ca8, 0xc001e58b90}) external/org_golang_google_grpc/internal/grpcsync/callback_serializer.go:76 +0x1eb created by google.golang.org/grpc/internal/grpcsync.NewCallbackSerializer in goroutine 62 external/org_golang_google_grpc/internal/grpcsync/callback_serializer.go:52 +0x207 goroutine 217 [IO wait]: internal/poll.runtime_pollWait(0x7f219e3c7400, 0x72) GOROOT/src/runtime/netpoll.go:351 +0x85 internal/poll.(*pollDesc).wait(0xc001b808a0, 0x72, 0x0) GOROOT/src/internal/poll/fd_poll_runtime.go:84 +0xb1 internal/poll.(*pollDesc).waitRead(...) GOROOT/src/internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Read(0xc001b80880, {0xc0020a2000, 0x8000, 0x8000}) GOROOT/src/internal/poll/fd_unix.go:165 +0x466 net.(*netFD).Read(0xc001b80880, {0xc0020a2000, 0x8000, 0x8000}) GOROOT/src/net/fd_posix.go:55 +0x4b net.(*conn).Read(0xc00228de88, {0xc0020a2000, 0x8000, 0x8000}) GOROOT/src/net/net.go:189 +0xad bufio.(*Reader).Read(0xc0020a0240, {0xc00169f620, 0x9, 0x9}) GOROOT/src/bufio/bufio.go:241 +0x4bf io.ReadAtLeast({0xa7965c0, 0xc0020a0240}, {0xc00169f620, 0x9, 0x9}, 0x9) GOROOT/src/io/io.go:335 +0xd0 io.ReadFull(...) GOROOT/src/io/io.go:354 golang.org/x/net/http2.readFrameHeader({0xc00169f620, 0x9, 0x9}, {0xa7965c0, 0xc0020a0240}) external/org_golang_x_net/http2/frame.go:242 +0x9a golang.org/x/net/http2.(*Framer).ReadFrame(0xc00169f5e0) external/org_golang_x_net/http2/frame.go:506 +0xf5 google.golang.org/grpc/internal/transport.(*http2Client).reader(0xc001b75448, 0xc0017e49a0) external/org_golang_google_grpc/internal/transport/http2_client.go:1602 +0x2e5 created by google.golang.org/grpc/internal/transport.newHTTP2Client in goroutine 322 external/org_golang_google_grpc/internal/transport/http2_client.go:409 +0x33ab goroutine 218 [select]: google.golang.org/grpc/internal/transport.(*controlBuffer).get(0xc0016b55e0, 0x1) external/org_golang_google_grpc/internal/transport/controlbuf.go:418 +0x1af google.golang.org/grpc/internal/transport.(*loopyWriter).run(0xc0017e4b60) external/org_golang_google_grpc/internal/transport/controlbuf.go:551 +0x15b google.golang.org/grpc/internal/transport.newHTTP2Client.func6() external/org_golang_google_grpc/internal/transport/http2_client.go:463 +0x190 created by google.golang.org/grpc/internal/transport.newHTTP2Client in goroutine 322 external/org_golang_google_grpc/internal/transport/http2_client.go:461 +0x3d6c goroutine 293 [select]: google.golang.org/grpc/internal/transport.(*http2Client).keepalive(0xc0019d8008) external/org_golang_google_grpc/internal/transport/http2_client.go:1676 +0x23c created by google.golang.org/grpc/internal/transport.newHTTP2Client in goroutine 235 external/org_golang_google_grpc/internal/transport/http2_client.go:399 +0x32cb goroutine 329 [select]: google.golang.org/grpc/internal/transport.(*http2Client).keepalive(0xc001e3a488) external/org_golang_google_grpc/internal/transport/http2_client.go:1676 +0x23c created by google.golang.org/grpc/internal/transport.newHTTP2Client in goroutine 326 external/org_golang_google_grpc/internal/transport/http2_client.go:399 +0x32cb goroutine 330 [IO wait]: internal/poll.runtime_pollWait(0x7f219e3c72e8, 0x72) GOROOT/src/runtime/netpoll.go:351 +0x85 internal/poll.(*pollDesc).wait(0xc001dc5b20, 0x72, 0x0) GOROOT/src/internal/poll/fd_poll_runtime.go:84 +0xb1 internal/poll.(*pollDesc).waitRead(...) GOROOT/src/internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Read(0xc001dc5b00, {0xc002132000, 0x8000, 0x8000}) GOROOT/src/internal/poll/fd_unix.go:165 +0x466 net.(*netFD).Read(0xc001dc5b00, {0xc002132000, 0x8000, 0x8000}) GOROOT/src/net/fd_posix.go:55 +0x4b net.(*conn).Read(0xc001f183b0, {0xc002132000, 0x8000, 0x8000}) GOROOT/src/net/net.go:189 +0xad bufio.(*Reader).Read(0xc001dfcd80, {0xc001dfe200, 0x9, 0x9}) GOROOT/src/bufio/bufio.go:241 +0x4bf io.ReadAtLeast({0xa7965c0, 0xc001dfcd80}, {0xc001dfe200, 0x9, 0x9}, 0x9) GOROOT/src/io/io.go:335 +0xd0 io.ReadFull(...) GOROOT/src/io/io.go:354 golang.org/x/net/http2.readFrameHeader({0xc001dfe200, 0x9, 0x9}, {0xa7965c0, 0xc001dfcd80}) external/org_golang_x_net/http2/frame.go:242 +0x9a golang.org/x/net/http2.(*Framer).ReadFrame(0xc001dfe1c0) external/org_golang_x_net/http2/frame.go:506 +0xf5 google.golang.org/grpc/internal/transport.(*http2Client).reader(0xc001e3a488, 0xc0011f9f10) external/org_golang_google_grpc/internal/transport/http2_client.go:1602 +0x2e5 created by google.golang.org/grpc/internal/transport.newHTTP2Client in goroutine 326 external/org_golang_google_grpc/internal/transport/http2_client.go:409 +0x33ab goroutine 331 [select]: google.golang.org/grpc/internal/transport.(*controlBuffer).get(0xc001e590e0, 0x1) external/org_golang_google_grpc/internal/transport/controlbuf.go:418 +0x1af google.golang.org/grpc/internal/transport.(*loopyWriter).run(0xc001bb20e0) external/org_golang_google_grpc/internal/transport/controlbuf.go:551 +0x15b google.golang.org/grpc/internal/transport.newHTTP2Client.func6() external/org_golang_google_grpc/internal/transport/http2_client.go:463 +0x190 created by google.golang.org/grpc/internal/transport.newHTTP2Client in goroutine 326 external/org_golang_google_grpc/internal/transport/http2_client.go:461 +0x3d6c goroutine 295 [select]: google.golang.org/grpc/internal/transport.(*controlBuffer).get(0xc00198c3c0, 0x1) external/org_golang_google_grpc/internal/transport/controlbuf.go:418 +0x1af google.golang.org/grpc/internal/transport.(*loopyWriter).run(0xc0011faa80) external/org_golang_google_grpc/internal/transport/controlbuf.go:551 +0x15b google.golang.org/grpc/internal/transport.newHTTP2Client.func6() external/org_golang_google_grpc/internal/transport/http2_client.go:463 +0x190 created by google.golang.org/grpc/internal/transport.newHTTP2Client in goroutine 235 external/org_golang_google_grpc/internal/transport/http2_client.go:461 +0x3d6c goroutine 307 [select]: github.com/tikv/client-go/v2/tikvrpc.CheckStreamTimeoutLoop(0xc0011f97a0, 0xc001e62460) external/com_github_tikv_client_go_v2/tikvrpc/tikvrpc.go:1276 +0x206 created by github.com/tikv/client-go/v2/internal/client.(*connArray).Init in goroutine 62 external/com_github_tikv_client_go_v2/internal/client/client.go:382 +0x1eac goroutine 308 [select]: github.com/tikv/client-go/v2/internal/client.(*batchConn).fetchAllPendingRequests(0xc002118300, 0x80) external/com_github_tikv_client_go_v2/internal/client/client_batch.go:317 +0x1f6 github.com/tikv/client-go/v2/internal/client.(*batchConn).batchSendLoop(_, {0x4, 0xa, 0x4008000000000000, {0x993dd92, 0x4}, 0x0, 0x8000000, 0x8000000, {0x993ce5d, ...}, ...}) external/com_github_tikv_client_go_v2/internal/client/client_batch.go:558 +0x2c5 created by github.com/tikv/client-go/v2/internal/client.(*connArray).Init in goroutine 62 external/com_github_tikv_client_go_v2/internal/client/client.go:384 +0x2059 goroutine 299 [select]: google.golang.org/grpc/internal/transport.(*http2Client).keepalive(0xc0019d8248) external/org_golang_google_grpc/internal/transport/http2_client.go:1676 +0x23c created by google.golang.org/grpc/internal/transport.newHTTP2Client in goroutine 296 external/org_golang_google_grpc/internal/transport/http2_client.go:399 +0x32cb goroutine 300 [IO wait]: internal/poll.runtime_pollWait(0x7f219e3c70b8, 0x72) GOROOT/src/runtime/netpoll.go:351 +0x85 internal/poll.(*pollDesc).wait(0xc0019aa2a0, 0x72, 0x0) GOROOT/src/internal/poll/fd_poll_runtime.go:84 +0xb1 internal/poll.(*pollDesc).waitRead(...) GOROOT/src/internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Read(0xc0019aa280, {0xc0019ee000, 0x8000, 0x8000}) GOROOT/src/internal/poll/fd_unix.go:165 +0x466 net.(*netFD).Read(0xc0019aa280, {0xc0019ee000, 0x8000, 0x8000}) GOROOT/src/net/fd_posix.go:55 +0x4b net.(*conn).Read(0xc0019b2040, {0xc0019ee000, 0x8000, 0x8000}) GOROOT/src/net/net.go:189 +0xad bufio.(*Reader).Read(0xc00193a5a0, {0xc0019d4120, 0x9, 0x9}) GOROOT/src/bufio/bufio.go:241 +0x4bf io.ReadAtLeast({0xa7965c0, 0xc00193a5a0}, {0xc0019d4120, 0x9, 0x9}, 0x9) GOROOT/src/io/io.go:335 +0xd0 io.ReadFull(...) GOROOT/src/io/io.go:354 golang.org/x/net/http2.readFrameHeader({0xc0019d4120, 0x9, 0x9}, {0xa7965c0, 0xc00193a5a0}) external/org_golang_x_net/http2/frame.go:242 +0x9a golang.org/x/net/http2.(*Framer).ReadFrame(0xc0019d40e0) external/org_golang_x_net/http2/frame.go:506 +0xf5 google.golang.org/grpc/internal/transport.(*http2Client).reader(0xc0019d8248, 0xc000920930) external/org_golang_google_grpc/internal/transport/http2_client.go:1602 +0x2e5 created by google.golang.org/grpc/internal/transport.newHTTP2Client in goroutine 296 external/org_golang_google_grpc/internal/transport/http2_client.go:409 +0x33ab goroutine 332 [select, 15 minutes]: google.golang.org/grpc.newClientStreamWithParams.func4() external/org_golang_google_grpc/stream.go:392 +0xe6 created by google.golang.org/grpc.newClientStreamWithParams in goroutine 308 external/org_golang_google_grpc/stream.go:391 +0x1cc5 goroutine 333 [select]: google.golang.org/grpc/internal/transport.(*recvBufferReader).readClient(0xc001e592c0, {0xc002117240, 0x5, 0x5}) external/org_golang_google_grpc/internal/transport/transport.go:193 +0x136 google.golang.org/grpc/internal/transport.(*recvBufferReader).Read(0xc001e592c0, {0xc002117240, 0x5, 0x5}) external/org_golang_google_grpc/internal/transport/transport.go:173 +0x35b google.golang.org/grpc/internal/transport.(*transportReader).Read(0xc002117200, {0xc002117240, 0x5, 0x5}) external/org_golang_google_grpc/internal/transport/transport.go:525 +0x5d io.ReadAtLeast({0xa79fa00, 0xc002117200}, {0xc002117240, 0x5, 0x5}, 0x5) GOROOT/src/io/io.go:335 +0xd0 io.ReadFull(...) GOROOT/src/io/io.go:354 google.golang.org/grpc/internal/transport.(*Stream).Read(0xc001e57680, {0xc002117240, 0x5, 0x5}) external/org_golang_google_grpc/internal/transport/transport.go:509 +0x127 google.golang.org/grpc.(*parser).recvMsg(0xc002117230, 0x7ffffffffffffffe) external/org_golang_google_grpc/rpc_util.go:614 +0x6e google.golang.org/grpc.recvAndDecompress(0xc002117230, 0xc001e57680, {0x0, 0x0}, 0x7ffffffffffffffe, 0x0, {0x0, 0x0}) external/org_golang_google_grpc/rpc_util.go:753 +0x93 google.golang.org/grpc.recv(0xc002117230, {0x7f219e3a44d0, 0xf9fc700}, 0xc001e57680, {0x0, 0x0}, {0x972aa80, 0xc0185eb6c0}, 0x7ffffffffffffffe, 0x0, ...) external/org_golang_google_grpc/rpc_util.go:833 +0xbd google.golang.org/grpc.(*csAttempt).recvMsg(0xc002130340, {0x972aa80, 0xc0185eb6c0}, 0x0) external/org_golang_google_grpc/stream.go:1085 +0x568 google.golang.org/grpc.(*clientStream).RecvMsg.func1(0xc002130340) external/org_golang_google_grpc/stream.go:928 +0x51 google.golang.org/grpc.(*clientStream).withRetry(0xc001e57440, 0xc001e4f8a8, 0xc001e4f908) external/org_golang_google_grpc/stream.go:761 +0x478 google.golang.org/grpc.(*clientStream).RecvMsg(0xc001e57440, {0x972aa80, 0xc0185eb6c0}) external/org_golang_google_grpc/stream.go:927 +0x1c7 github.com/pingcap/kvproto/pkg/tikvpb.(*tikvBatchCommandsClient).Recv(0xc001220840) external/com_github_pingcap_kvproto/pkg/tikvpb/tikvpb.pb.go:2275 +0x66 github.com/tikv/client-go/v2/internal/client.(*batchCommandsStream).recv(0xc0021148a0) external/com_github_tikv_client_go_v2/internal/client/client_batch.go:724 +0x247 github.com/tikv/client-go/v2/internal/client.(*batchCommandsClient).batchRecvLoop(_, {0x4, 0xa, 0x4008000000000000, {0x993dd92, 0x4}, 0x0, 0x8000000, 0x8000000, {0x993ce5d, ...}, ...}, ...) external/com_github_tikv_client_go_v2/internal/client/client_batch.go:955 +0x198 created by github.com/tikv/client-go/v2/internal/client.(*batchCommandsClient).initBatchClient in goroutine 308 external/com_github_tikv_client_go_v2/internal/client/client_batch.go:1112 +0x448 goroutine 301 [select]: google.golang.org/grpc/internal/transport.(*controlBuffer).get(0xc00198c8c0, 0x1) external/org_golang_google_grpc/internal/transport/controlbuf.go:418 +0x1af google.golang.org/grpc/internal/transport.(*loopyWriter).run(0xc0009209a0) external/org_golang_google_grpc/internal/transport/controlbuf.go:551 +0x15b google.golang.org/grpc/internal/transport.newHTTP2Client.func6() external/org_golang_google_grpc/internal/transport/http2_client.go:463 +0x190 created by google.golang.org/grpc/internal/transport.newHTTP2Client in goroutine 296 external/org_golang_google_grpc/internal/transport/http2_client.go:461 +0x3d6c goroutine 334 [select, 15 minutes]: google.golang.org/grpc.newClientStreamWithParams.func4() external/org_golang_google_grpc/stream.go:392 +0xe6 created by google.golang.org/grpc.newClientStreamWithParams in goroutine 308 external/org_golang_google_grpc/stream.go:391 +0x1cc5 goroutine 335 [select]: google.golang.org/grpc/internal/transport.(*recvBufferReader).readClient(0xc001e596d0, {0xc0021f41c0, 0x5, 0x5}) external/org_golang_google_grpc/internal/transport/transport.go:193 +0x136 google.golang.org/grpc/internal/transport.(*recvBufferReader).Read(0xc001e596d0, {0xc0021f41c0, 0x5, 0x5}) external/org_golang_google_grpc/internal/transport/transport.go:173 +0x35b google.golang.org/grpc/internal/transport.(*transportReader).Read(0xc0021f4180, {0xc0021f41c0, 0x5, 0x5}) external/org_golang_google_grpc/internal/transport/transport.go:525 +0x5d io.ReadAtLeast({0xa79fa00, 0xc0021f4180}, {0xc0021f41c0, 0x5, 0x5}, 0x5) GOROOT/src/io/io.go:335 +0xd0 io.ReadFull(...) GOROOT/src/io/io.go:354 google.golang.org/grpc/internal/transport.(*Stream).Read(0xc0021bfb00, {0xc0021f41c0, 0x5, 0x5}) external/org_golang_google_grpc/internal/transport/transport.go:509 +0x127 google.golang.org/grpc.(*parser).recvMsg(0xc0021f41b0, 0x7ffffffffffffffe) external/org_golang_google_grpc/rpc_util.go:614 +0x6e google.golang.org/grpc.recvAndDecompress(0xc0021f41b0, 0xc0021bfb00, {0x0, 0x0}, 0x7ffffffffffffffe, 0x0, {0x0, 0x0}) external/org_golang_google_grpc/rpc_util.go:753 +0x93 google.golang.org/grpc.recv(0xc0021f41b0, {0x7f219e3a44d0, 0xf9fc700}, 0xc0021bfb00, {0x0, 0x0}, {0x972aa80, 0xc00158e700}, 0x7ffffffffffffffe, 0x0, ...) external/org_golang_google_grpc/rpc_util.go:833 +0xbd google.golang.org/grpc.(*csAttempt).recvMsg(0xc002130750, {0x972aa80, 0xc00158e700}, 0x0) external/org_golang_google_grpc/stream.go:1085 +0x568 google.golang.org/grpc.(*clientStream).RecvMsg.func1(0xc002130750) external/org_golang_google_grpc/stream.go:928 +0x51 google.golang.org/grpc.(*clientStream).withRetry(0xc0021bf8c0, 0xc001e5d8a8, 0xc001e5d908) external/org_golang_google_grpc/stream.go:761 +0x478 google.golang.org/grpc.(*clientStream).RecvMsg(0xc0021bf8c0, {0x972aa80, 0xc00158e700}) external/org_golang_google_grpc/stream.go:927 +0x1c7 github.com/pingcap/kvproto/pkg/tikvpb.(*tikvBatchCommandsClient).Recv(0xc001a20c40) external/com_github_pingcap_kvproto/pkg/tikvpb/tikvpb.pb.go:2275 +0x66 github.com/tikv/client-go/v2/internal/client.(*batchCommandsStream).recv(0xc002114a80) external/com_github_tikv_client_go_v2/internal/client/client_batch.go:724 +0x247 github.com/tikv/client-go/v2/internal/client.(*batchCommandsClient).batchRecvLoop(_, {0x4, 0xa, 0x4008000000000000, {0x993dd92, 0x4}, 0x0, 0x8000000, 0x8000000, {0x993ce5d, ...}, ...}, ...) external/com_github_tikv_client_go_v2/internal/client/client_batch.go:955 +0x198 created by github.com/tikv/client-go/v2/internal/client.(*batchCommandsClient).initBatchClient in goroutine 308 external/com_github_tikv_client_go_v2/internal/client/client_batch.go:1112 +0x448 goroutine 336 [select, 15 minutes]: google.golang.org/grpc.newClientStreamWithParams.func4() external/org_golang_google_grpc/stream.go:392 +0xe6 created by google.golang.org/grpc.newClientStreamWithParams in goroutine 308 external/org_golang_google_grpc/stream.go:391 +0x1cc5 goroutine 337 [select]: google.golang.org/grpc/internal/transport.(*recvBufferReader).readClient(0xc001e599a0, {0xc0021f4730, 0x5, 0x5}) external/org_golang_google_grpc/internal/transport/transport.go:193 +0x136 google.golang.org/grpc/internal/transport.(*recvBufferReader).Read(0xc001e599a0, {0xc0021f4730, 0x5, 0x5}) external/org_golang_google_grpc/internal/transport/transport.go:173 +0x35b google.golang.org/grpc/internal/transport.(*transportReader).Read(0xc0021f46f0, {0xc0021f4730, 0x5, 0x5}) external/org_golang_google_grpc/internal/transport/transport.go:525 +0x5d io.ReadAtLeast({0xa79fa00, 0xc0021f46f0}, {0xc0021f4730, 0x5, 0x5}, 0x5) GOROOT/src/io/io.go:335 +0xd0 io.ReadFull(...) GOROOT/src/io/io.go:354 google.golang.org/grpc/internal/transport.(*Stream).Read(0xc0021f6240, {0xc0021f4730, 0x5, 0x5}) external/org_golang_google_grpc/internal/transport/transport.go:509 +0x127 google.golang.org/grpc.(*parser).recvMsg(0xc0021f4720, 0x7ffffffffffffffe) external/org_golang_google_grpc/rpc_util.go:614 +0x6e google.golang.org/grpc.recvAndDecompress(0xc0021f4720, 0xc0021f6240, {0x0, 0x0}, 0x7ffffffffffffffe, 0x0, {0x0, 0x0}) external/org_golang_google_grpc/rpc_util.go:753 +0x93 google.golang.org/grpc.recv(0xc0021f4720, {0x7f219e3a44d0, 0xf9fc700}, 0xc0021f6240, {0x0, 0x0}, {0x972aa80, 0xc00bc8e000}, 0x7ffffffffffffffe, 0x0, ...) external/org_golang_google_grpc/rpc_util.go:833 +0xbd google.golang.org/grpc.(*csAttempt).recvMsg(0xc002130a90, {0x972aa80, 0xc00bc8e000}, 0x0) external/org_golang_google_grpc/stream.go:1085 +0x568 google.golang.org/grpc.(*clientStream).RecvMsg.func1(0xc002130a90) external/org_golang_google_grpc/stream.go:928 +0x51 google.golang.org/grpc.(*clientStream).withRetry(0xc0021f6000, 0xc00220f8a8, 0xc00220f908) external/org_golang_google_grpc/stream.go:761 +0x478 google.golang.org/grpc.(*clientStream).RecvMsg(0xc0021f6000, {0x972aa80, 0xc00bc8e000}) external/org_golang_google_grpc/stream.go:927 +0x1c7 github.com/pingcap/kvproto/pkg/tikvpb.(*tikvBatchCommandsClient).Recv(0xc001a20ef0) external/com_github_pingcap_kvproto/pkg/tikvpb/tikvpb.pb.go:2275 +0x66 github.com/tikv/client-go/v2/internal/client.(*batchCommandsStream).recv(0xc002114b40) external/com_github_tikv_client_go_v2/internal/client/client_batch.go:724 +0x247 github.com/tikv/client-go/v2/internal/client.(*batchCommandsClient).batchRecvLoop(_, {0x4, 0xa, 0x4008000000000000, {0x993dd92, 0x4}, 0x0, 0x8000000, 0x8000000, {0x993ce5d, ...}, ...}, ...) external/com_github_tikv_client_go_v2/internal/client/client_batch.go:955 +0x198 created by github.com/tikv/client-go/v2/internal/client.(*batchCommandsClient).initBatchClient in goroutine 308 external/com_github_tikv_client_go_v2/internal/client/client_batch.go:1112 +0x448 goroutine 302 [select, 15 minutes]: google.golang.org/grpc.newClientStreamWithParams.func4() external/org_golang_google_grpc/stream.go:392 +0xe6 created by google.golang.org/grpc.newClientStreamWithParams in goroutine 308 external/org_golang_google_grpc/stream.go:391 +0x1cc5 goroutine 303 [select]: google.golang.org/grpc/internal/transport.(*recvBufferReader).readClient(0xc00198caf0, {0xc00198eee0, 0x5, 0x5}) external/org_golang_google_grpc/internal/transport/transport.go:193 +0x136 google.golang.org/grpc/internal/transport.(*recvBufferReader).Read(0xc00198caf0, {0xc00198eee0, 0x5, 0x5}) external/org_golang_google_grpc/internal/transport/transport.go:173 +0x35b google.golang.org/grpc/internal/transport.(*transportReader).Read(0xc00198eea0, {0xc00198eee0, 0x5, 0x5}) external/org_golang_google_grpc/internal/transport/transport.go:525 +0x5d io.ReadAtLeast({0xa79fa00, 0xc00198eea0}, {0xc00198eee0, 0x5, 0x5}, 0x5) GOROOT/src/io/io.go:335 +0xd0 io.ReadFull(...) GOROOT/src/io/io.go:354 google.golang.org/grpc/internal/transport.(*Stream).Read(0xc0022cc240, {0xc00198eee0, 0x5, 0x5}) external/org_golang_google_grpc/internal/transport/transport.go:509 +0x127 google.golang.org/grpc.(*parser).recvMsg(0xc00198eed0, 0x7ffffffffffffffe) external/org_golang_google_grpc/rpc_util.go:614 +0x6e google.golang.org/grpc.recvAndDecompress(0xc00198eed0, 0xc0022cc240, {0x0, 0x0}, 0x7ffffffffffffffe, 0x0, {0x0, 0x0}) external/org_golang_google_grpc/rpc_util.go:753 +0x93 google.golang.org/grpc.recv(0xc00198eed0, {0x7f219e3a44d0, 0xf9fc700}, 0xc0022cc240, {0x0, 0x0}, {0x972aa80, 0xc00158e400}, 0x7ffffffffffffffe, 0x0, ...) external/org_golang_google_grpc/rpc_util.go:833 +0xbd google.golang.org/grpc.(*csAttempt).recvMsg(0xc0019a36c0, {0x972aa80, 0xc00158e400}, 0x0) external/org_golang_google_grpc/stream.go:1085 +0x568 google.golang.org/grpc.(*clientStream).RecvMsg.func1(0xc0019a36c0) external/org_golang_google_grpc/stream.go:928 +0x51 google.golang.org/grpc.(*clientStream).withRetry(0xc0022cc000, 0xc00220b8a8, 0xc00220b908) external/org_golang_google_grpc/stream.go:761 +0x478 google.golang.org/grpc.(*clientStream).RecvMsg(0xc0022cc000, {0x972aa80, 0xc00158e400}) external/org_golang_google_grpc/stream.go:927 +0x1c7 github.com/pingcap/kvproto/pkg/tikvpb.(*tikvBatchCommandsClient).Recv(0xc0011a6930) external/com_github_pingcap_kvproto/pkg/tikvpb/tikvpb.pb.go:2275 +0x66 github.com/tikv/client-go/v2/internal/client.(*batchCommandsStream).recv(0xc0019ba2c0) external/com_github_tikv_client_go_v2/internal/client/client_batch.go:724 +0x247 github.com/tikv/client-go/v2/internal/client.(*batchCommandsClient).batchRecvLoop(_, {0x4, 0xa, 0x4008000000000000, {0x993dd92, 0x4}, 0x0, 0x8000000, 0x8000000, {0x993ce5d, ...}, ...}, ...) external/com_github_tikv_client_go_v2/internal/client/client_batch.go:955 +0x198 created by github.com/tikv/client-go/v2/internal/client.(*batchCommandsClient).initBatchClient in goroutine 308 external/com_github_tikv_client_go_v2/internal/client/client_batch.go:1112 +0x448 goroutine 12884 [select]: google.golang.org/grpc/internal/transport.(*controlBuffer).get(0xc006214af0, 0x1) external/org_golang_google_grpc/internal/transport/controlbuf.go:418 +0x1af google.golang.org/grpc/internal/transport.(*loopyWriter).run(0xc003edc230) external/org_golang_google_grpc/internal/transport/controlbuf.go:551 +0x15b google.golang.org/grpc/internal/transport.newHTTP2Client.func6() external/org_golang_google_grpc/internal/transport/http2_client.go:463 +0x190 created by google.golang.org/grpc/internal/transport.newHTTP2Client in goroutine 12875 external/org_golang_google_grpc/internal/transport/http2_client.go:461 +0x3d6c goroutine 12930 [select]: google.golang.org/grpc/internal/transport.(*controlBuffer).get(0xc00603a190, 0x1) external/org_golang_google_grpc/internal/transport/controlbuf.go:418 +0x1af google.golang.org/grpc/internal/transport.(*loopyWriter).run(0xc005fde2a0) external/org_golang_google_grpc/internal/transport/controlbuf.go:551 +0x15b google.golang.org/grpc/internal/transport.newHTTP2Client.func6() external/org_golang_google_grpc/internal/transport/http2_client.go:463 +0x190 created by google.golang.org/grpc/internal/transport.newHTTP2Client in goroutine 12900 external/org_golang_google_grpc/internal/transport/http2_client.go:461 +0x3d6c goroutine 13016 [select]: github.com/pingcap/tidb/pkg/ddl.(*ddl).CleanUpTempDirLoop(0xc00654a750, {0xa7d4ca8, 0xc006527900}, {0xc005fac210, 0x16}) pkg/ddl/ddl.go:976 +0x22f github.com/pingcap/tidb/pkg/ddl.(*ddl).Start.func3() pkg/ddl/ddl.go:855 +0x7f github.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1() pkg/util/wait_group_wrapper.go:167 +0x87 created by github.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run in goroutine 62 pkg/util/wait_group_wrapper.go:165 +0xe5 goroutine 12423 [select, 14 minutes]: google.golang.org/grpc/internal/grpcsync.(*CallbackSerializer).run(0xc00617a9c0, {0xa7d4ca8, 0xc0016d0050}) external/org_golang_google_grpc/internal/grpcsync/callback_serializer.go:76 +0x1eb created by google.golang.org/grpc/internal/grpcsync.NewCallbackSerializer in goroutine 62 external/org_golang_google_grpc/internal/grpcsync/callback_serializer.go:52 +0x207 goroutine 13195 [select]: github.com/pingcap/tidb/pkg/domain.(*Domain).planCacheMetricsAndVars(0xc00654e008) pkg/domain/domain.go:3435 +0x27c github.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1() pkg/util/wait_group_wrapper.go:103 +0xbb created by github.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run in goroutine 62 pkg/util/wait_group_wrapper.go:98 +0x146 goroutine 12883 [IO wait]: internal/poll.runtime_pollWait(0x7f219e3b0c38, 0x72) GOROOT/src/runtime/netpoll.go:351 +0x85 internal/poll.(*pollDesc).wait(0xc0062202a0, 0x72, 0x0) GOROOT/src/internal/poll/fd_poll_runtime.go:84 +0xb1 internal/poll.(*pollDesc).waitRead(...) GOROOT/src/internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Read(0xc006220280, {0xc006224000, 0x8000, 0x8000}) GOROOT/src/internal/poll/fd_unix.go:165 +0x466 net.(*netFD).Read(0xc006220280, {0xc006224000, 0x8000, 0x8000}) GOROOT/src/net/fd_posix.go:55 +0x4b net.(*conn).Read(0xc0020caa78, {0xc006224000, 0x8000, 0x8000}) GOROOT/src/net/net.go:189 +0xad bufio.(*Reader).Read(0xc0028abec0, {0xc005736e40, 0x9, 0x9}) GOROOT/src/bufio/bufio.go:241 +0x4bf io.ReadAtLeast({0xa7965c0, 0xc0028abec0}, {0xc005736e40, 0x9, 0x9}, 0x9) GOROOT/src/io/io.go:335 +0xd0 io.ReadFull(...) GOROOT/src/io/io.go:354 golang.org/x/net/http2.readFrameHeader({0xc005736e40, 0x9, 0x9}, {0xa7965c0, 0xc0028abec0}) external/org_golang_x_net/http2/frame.go:242 +0x9a golang.org/x/net/http2.(*Framer).ReadFrame(0xc005736e00) external/org_golang_x_net/http2/frame.go:506 +0xf5 google.golang.org/grpc/internal/transport.(*http2Client).reader(0xc00622c008, 0xc005592e70) external/org_golang_google_grpc/internal/transport/http2_client.go:1602 +0x2e5 created by google.golang.org/grpc/internal/transport.newHTTP2Client in goroutine 12875 external/org_golang_google_grpc/internal/transport/http2_client.go:409 +0x33ab goroutine 12865 [select, 14 minutes]: github.com/dgraph-io/ristretto.(*defaultPolicy).processItems(0xc00415cc80) external/com_github_dgraph_io_ristretto/policy.go:102 +0x106 created by github.com/dgraph-io/ristretto.newDefaultPolicy in goroutine 62 external/com_github_dgraph_io_ristretto/policy.go:86 +0x2bd goroutine 16412 [select, 14 minutes]: github.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*Manager).gcSubtaskHistoryTableLoop(0xc004e36410) pkg/disttask/framework/scheduler/scheduler_manager.go:306 +0x2db github.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1() pkg/util/wait_group_wrapper.go:167 +0x87 created by github.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run in goroutine 13296 pkg/util/wait_group_wrapper.go:165 +0xe5 goroutine 13015 [select]: github.com/pingcap/tidb/pkg/ddl.(*ddl).PollTiFlashRoutine(0xc00654a750) pkg/ddl/ddl_tiflash_api.go:560 +0x2fa github.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1() pkg/util/wait_group_wrapper.go:167 +0x87 created by github.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run in goroutine 62 pkg/util/wait_group_wrapper.go:165 +0xe5 goroutine 12854 [select, 14 minutes]: google.golang.org/grpc/internal/grpcsync.(*CallbackSerializer).run(0xc006191300, {0xa7d4ca8, 0xc0064649b0}) external/org_golang_google_grpc/internal/grpcsync/callback_serializer.go:76 +0x1eb created by google.golang.org/grpc/internal/grpcsync.NewCallbackSerializer in goroutine 62 external/org_golang_google_grpc/internal/grpcsync/callback_serializer.go:52 +0x207 goroutine 13014 [select, 14 minutes]: github.com/pingcap/tidb/pkg/owner.(*ownerManager).watchOwner(0xc001724090, {0xa7d4ca8, 0xc00438e7d0}, 0xc001f754d0, {0xc00467a5d0, 0x23}, 0x11b) pkg/owner/manager.go:587 +0x4cc github.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignAndWatch(0xc001724090, {0xa7d4ca8, 0xc00438e7d0}) pkg/owner/manager.go:419 +0x425 github.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop(0xc001724090, {0xa7d4ca8, 0xc00438e7d0}) pkg/owner/manager.go:390 +0x345 created by github.com/pingcap/tidb/pkg/owner.(*ownerManager).CampaignOwner in goroutine 62 pkg/owner/manager.go:300 +0x417 goroutine 12459 [select]: github.com/pingcap/tidb/pkg/domain.(*Domain).serverIDKeeper(0xc00654e008) pkg/domain/domain.go:3364 +0x550 created by github.com/pingcap/tidb/pkg/domain.(*Domain).Start in goroutine 62 pkg/domain/domain.go:1515 +0x165 goroutine 12855 [select, 14 minutes]: google.golang.org/grpc/internal/grpcsync.(*CallbackSerializer).run(0xc006191330, {0xa7d4ca8, 0xc006464b90}) external/org_golang_google_grpc/internal/grpcsync/callback_serializer.go:76 +0x1eb created by google.golang.org/grpc/internal/grpcsync.NewCallbackSerializer in goroutine 62 external/org_golang_google_grpc/internal/grpcsync/callback_serializer.go:52 +0x207 goroutine 12424 [select]: google.golang.org/grpc/internal/grpcsync.(*CallbackSerializer).run(0xc00617a9f0, {0xa7d4ca8, 0xc0016d00a0}) external/org_golang_google_grpc/internal/grpcsync/callback_serializer.go:76 +0x1eb created by google.golang.org/grpc/internal/grpcsync.NewCallbackSerializer in goroutine 62 external/org_golang_google_grpc/internal/grpcsync/callback_serializer.go:52 +0x207 goroutine 12886 [select, 13 minutes]: go.etcd.io/etcd/client/v3.(*watchGrpcStream).run(0xc00659a0d0) external/io_etcd_go_etcd_client_v3/watch.go:545 +0x4d0 created by go.etcd.io/etcd/client/v3.(*watcher).newWatcherGrpcStream in goroutine 13059 external/io_etcd_go_etcd_client_v3/watch.go:292 +0x6c7 goroutine 12882 [select]: google.golang.org/grpc/internal/transport.(*http2Client).keepalive(0xc00622c008) external/org_golang_google_grpc/internal/transport/http2_client.go:1676 +0x23c created by google.golang.org/grpc/internal/transport.newHTTP2Client in goroutine 12875 external/org_golang_google_grpc/internal/transport/http2_client.go:399 +0x32cb goroutine 12858 [IO wait]: internal/poll.runtime_pollWait(0x7f219e3b0b20, 0x72) GOROOT/src/runtime/netpoll.go:351 +0x85 internal/poll.(*pollDesc).wait(0xc005405e20, 0x72, 0x0) GOROOT/src/internal/poll/fd_poll_runtime.go:84 +0xb1 internal/poll.(*pollDesc).waitRead(...) GOROOT/src/internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Read(0xc005405e00, {0xc0014d0000, 0x8000, 0x8000}) GOROOT/src/internal/poll/fd_unix.go:165 +0x466 net.(*netFD).Read(0xc005405e00, {0xc0014d0000, 0x8000, 0x8000}) GOROOT/src/net/fd_posix.go:55 +0x4b net.(*conn).Read(0xc004711170, {0xc0014d0000, 0x8000, 0x8000}) GOROOT/src/net/net.go:189 +0xad bufio.(*Reader).Read(0xc0034b3080, {0xc0052d84a0, 0x9, 0x9}) GOROOT/src/bufio/bufio.go:241 +0x4bf io.ReadAtLeast({0xa7965c0, 0xc0034b3080}, {0xc0052d84a0, 0x9, 0x9}, 0x9) GOROOT/src/io/io.go:335 +0xd0 io.ReadFull(...) GOROOT/src/io/io.go:354 golang.org/x/net/http2.readFrameHeader({0xc0052d84a0, 0x9, 0x9}, {0xa7965c0, 0xc0034b3080}) external/org_golang_x_net/http2/frame.go:242 +0x9a golang.org/x/net/http2.(*Framer).ReadFrame(0xc0052d8460) external/org_golang_x_net/http2/frame.go:506 +0xf5 google.golang.org/grpc/internal/transport.(*http2Client).reader(0xc003c7f8c8, 0xc00585ef50) external/org_golang_google_grpc/internal/transport/http2_client.go:1602 +0x2e5 created by google.golang.org/grpc/internal/transport.newHTTP2Client in goroutine 12876 external/org_golang_google_grpc/internal/transport/http2_client.go:409 +0x33ab goroutine 12946 [select, 14 minutes]: go.etcd.io/etcd/client/v3.(*lessor).keepAliveCtxCloser(0xc0016ce000, {0xa7d4ca8, 0xc00428ceb0}, 0x3eaa9600d42a1e8c, 0xc0059bd570) external/io_etcd_go_etcd_client_v3/lease.go:332 +0x133 created by go.etcd.io/etcd/client/v3.(*lessor).KeepAlive in goroutine 62 external/io_etcd_go_etcd_client_v3/lease.go:298 +0x832 goroutine 12889 [select, 13 minutes]: google.golang.org/grpc/internal/transport.(*recvBufferReader).readClient(0xc0051ee230, {0xc0057dc5e0, 0x5, 0x5}) external/org_golang_google_grpc/internal/transport/transport.go:193 +0x136 google.golang.org/grpc/internal/transport.(*recvBufferReader).Read(0xc0051ee230, {0xc0057dc5e0, 0x5, 0x5}) external/org_golang_google_grpc/internal/transport/transport.go:173 +0x35b google.golang.org/grpc/internal/transport.(*transportReader).Read(0xc0057dc5a0, {0xc0057dc5e0, 0x5, 0x5}) external/org_golang_google_grpc/internal/transport/transport.go:525 +0x5d io.ReadAtLeast({0xa79fa00, 0xc0057dc5a0}, {0xc0057dc5e0, 0x5, 0x5}, 0x5) GOROOT/src/io/io.go:335 +0xd0 io.ReadFull(...) GOROOT/src/io/io.go:354 google.golang.org/grpc/internal/transport.(*Stream).Read(0xc001b170e0, {0xc0057dc5e0, 0x5, 0x5}) external/org_golang_google_grpc/internal/transport/transport.go:509 +0x127 google.golang.org/grpc.(*parser).recvMsg(0xc0057dc5d0, 0x7fffffff) external/org_golang_google_grpc/rpc_util.go:614 +0x6e google.golang.org/grpc.recvAndDecompress(0xc0057dc5d0, 0xc001b170e0, {0x0, 0x0}, 0x7fffffff, 0x0, {0x0, 0x0}) external/org_golang_google_grpc/rpc_util.go:753 +0x93 google.golang.org/grpc.recv(0xc0057dc5d0, {0x7f219e3a44d0, 0xf9fc700}, 0xc001b170e0, {0x0, 0x0}, {0x977d360, 0xc01e194310}, 0x7fffffff, 0x0, ...) external/org_golang_google_grpc/rpc_util.go:833 +0xbd google.golang.org/grpc.(*csAttempt).recvMsg(0xc00659a1a0, {0x977d360, 0xc01e194310}, 0x0) external/org_golang_google_grpc/stream.go:1085 +0x568 google.golang.org/grpc.(*clientStream).RecvMsg.func1(0xc00659a1a0) external/org_golang_google_grpc/stream.go:928 +0x51 google.golang.org/grpc.(*clientStream).withRetry(0xc001b16ea0, 0xc003999de8, 0xc003999e48) external/org_golang_google_grpc/stream.go:761 +0x478 google.golang.org/grpc.(*clientStream).RecvMsg(0xc001b16ea0, {0x977d360, 0xc01e194310}) external/org_golang_google_grpc/stream.go:927 +0x1c7 go.etcd.io/etcd/api/v3/etcdserverpb.(*watchWatchClient).Recv(0xc00278e1d0) external/io_etcd_go_etcd_api_v3/etcdserverpb/rpc.pb.go:6714 +0x66 go.etcd.io/etcd/client/v3.(*watchGrpcStream).serveWatchClient(0xc00659a0d0, {0xa7f5200, 0xc00278e1d0}) external/io_etcd_go_etcd_client_v3/watch.go:766 +0x67 created by go.etcd.io/etcd/client/v3.(*watchGrpcStream).newWatchClient in goroutine 12886 external/io_etcd_go_etcd_client_v3/watch.go:921 +0xa77 goroutine 12969 [select]: github.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle.(*Domain).globalBindHandleWorkerLoop.func1() pkg/domain/domain.go:2217 +0x2ac github.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1() pkg/util/wait_group_wrapper.go:103 +0xbb created by github.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run in goroutine 62 pkg/util/wait_group_wrapper.go:98 +0x146 goroutine 13074 [select]: github.com/dgraph-io/ristretto.(*Cache).processItems(0xc0064ac500) external/com_github_dgraph_io_ristretto/cache.go:452 +0x2c5 created by github.com/dgraph-io/ristretto.NewCache in goroutine 62 external/com_github_dgraph_io_ristretto/cache.go:207 +0xe88 goroutine 12888 [select, 14 minutes]: google.golang.org/grpc.newClientStreamWithParams.func4() external/org_golang_google_grpc/stream.go:392 +0xe6 created by google.golang.org/grpc.newClientStreamWithParams in goroutine 12886 external/org_golang_google_grpc/stream.go:391 +0x1cc5 goroutine 12422 [select, 14 minutes]: google.golang.org/grpc/internal/grpcsync.(*CallbackSerializer).run(0xc00617a990, {0xa7d4ca8, 0xc006163db0}) external/org_golang_google_grpc/internal/grpcsync/callback_serializer.go:76 +0x1eb created by google.golang.org/grpc/internal/grpcsync.NewCallbackSerializer in goroutine 62 external/org_golang_google_grpc/internal/grpcsync/callback_serializer.go:52 +0x207 goroutine 13225 [select]: github.com/pingcap/tidb/pkg/ttl/ttlworker.(*ttlScanWorker).loop(0xc005376ab0) pkg/ttl/ttlworker/scan.go:379 +0x28c github.com/pingcap/tidb/pkg/ttl/ttlworker.(*baseWorker).loop(0xc005376ab0) pkg/ttl/ttlworker/worker.go:136 +0xb3 github.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1() pkg/util/wait_group_wrapper.go:167 +0x87 created by github.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run in goroutine 13197 pkg/util/wait_group_wrapper.go:165 +0xe5 goroutine 12859 [select]: google.golang.org/grpc/internal/transport.(*controlBuffer).get(0xc006464d20, 0x1) external/org_golang_google_grpc/internal/transport/controlbuf.go:418 +0x1af google.golang.org/grpc/internal/transport.(*loopyWriter).run(0xc00585efc0) external/org_golang_google_grpc/internal/transport/controlbuf.go:551 +0x15b google.golang.org/grpc/internal/transport.newHTTP2Client.func6() external/org_golang_google_grpc/internal/transport/http2_client.go:463 +0x190 created by google.golang.org/grpc/internal/transport.newHTTP2Client in goroutine 12876 external/org_golang_google_grpc/internal/transport/http2_client.go:461 +0x3d6c goroutine 12352 [sync.Cond.Wait]: sync.runtime_notifyListWait(0xc001ae9390, 0x13) GOROOT/src/runtime/sema.go:587 +0x159 sync.(*Cond).Wait(0xc001ae9380) GOROOT/src/sync/cond.go:71 +0x75 google.golang.org/grpc/internal/transport.(*http2Client).keepalive(0xc004ccd208) external/org_golang_google_grpc/internal/transport/http2_client.go:1710 +0x4a5 created by google.golang.org/grpc/internal/transport.newHTTP2Client in goroutine 12900 external/org_golang_google_grpc/internal/transport/http2_client.go:399 +0x32cb goroutine 13198 [select, 4 minutes]: github.com/pingcap/tidb/pkg/domain.(*Domain).LoadSigningCertLoop.func1() pkg/domain/domain.go:3069 +0x172 github.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1() pkg/util/wait_group_wrapper.go:103 +0xbb created by github.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run in goroutine 62 pkg/util/wait_group_wrapper.go:98 +0x146 goroutine 13197 [select]: github.com/pingcap/tidb/pkg/ttl/ttlworker.(*JobManager).jobLoop(0xc0025be900) pkg/ttl/ttlworker/job_manager.go:208 +0xfb7 github.com/pingcap/tidb/pkg/ttl/ttlworker.(*baseWorker).loop(0xc0025be900) pkg/ttl/ttlworker/worker.go:136 +0xb3 github.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1() pkg/util/wait_group_wrapper.go:167 +0x87 created by github.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run in goroutine 62 pkg/util/wait_group_wrapper.go:165 +0xe5 goroutine 12353 [IO wait]: internal/poll.runtime_pollWait(0x7f219e3b0a08, 0x72) GOROOT/src/runtime/netpoll.go:351 +0x85 internal/poll.(*pollDesc).wait(0xc0060360a0, 0x72, 0x0) GOROOT/src/internal/poll/fd_poll_runtime.go:84 +0xb1 internal/poll.(*pollDesc).waitRead(...) GOROOT/src/internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Read(0xc006036080, {0xc0066e2000, 0x8000, 0x8000}) GOROOT/src/internal/poll/fd_unix.go:165 +0x466 net.(*netFD).Read(0xc006036080, {0xc0066e2000, 0x8000, 0x8000}) GOROOT/src/net/fd_posix.go:55 +0x4b net.(*conn).Read(0xc0043d3ac8, {0xc0066e2000, 0x8000, 0x8000}) GOROOT/src/net/net.go:189 +0xad bufio.(*Reader).Read(0xc004399680, {0xc0059f4ac0, 0x9, 0x9}) GOROOT/src/bufio/bufio.go:241 +0x4bf io.ReadAtLeast({0xa7965c0, 0xc004399680}, {0xc0059f4ac0, 0x9, 0x9}, 0x9) GOROOT/src/io/io.go:335 +0xd0 io.ReadFull(...) GOROOT/src/io/io.go:354 golang.org/x/net/http2.readFrameHeader({0xc0059f4ac0, 0x9, 0x9}, {0xa7965c0, 0xc004399680}) external/org_golang_x_net/http2/frame.go:242 +0x9a golang.org/x/net/http2.(*Framer).ReadFrame(0xc0059f4a80) external/org_golang_x_net/http2/frame.go:506 +0xf5 google.golang.org/grpc/internal/transport.(*http2Client).reader(0xc004ccd208, 0xc005fde230) external/org_golang_google_grpc/internal/transport/http2_client.go:1602 +0x2e5 created by google.golang.org/grpc/internal/transport.newHTTP2Client in goroutine 12900 external/org_golang_google_grpc/internal/transport/http2_client.go:409 +0x33ab goroutine 12463 [chan receive]: go.etcd.io/etcd/client/v3/concurrency.NewSession.func1() external/io_etcd_go_etcd_client_v3/concurrency/session.go:66 +0xaa created by go.etcd.io/etcd/client/v3/concurrency.NewSession in goroutine 62 external/io_etcd_go_etcd_client_v3/concurrency/session.go:64 +0x508 goroutine 12448 [select, 14 minutes]: google.golang.org/grpc.newClientStreamWithParams.func4() external/org_golang_google_grpc/stream.go:392 +0xe6 created by google.golang.org/grpc.newClientStreamWithParams in goroutine 12452 external/org_golang_google_grpc/stream.go:391 +0x1cc5 goroutine 12447 [chan receive, 14 minutes]: go.etcd.io/etcd/client/v3/concurrency.NewSession.func1() external/io_etcd_go_etcd_client_v3/concurrency/session.go:66 +0xaa created by go.etcd.io/etcd/client/v3/concurrency.NewSession in goroutine 62 external/io_etcd_go_etcd_client_v3/concurrency/session.go:64 +0x508 goroutine 12446 [select, 14 minutes]: go.etcd.io/etcd/client/v3.(*lessor).keepAliveCtxCloser(0xc0016ce000, {0xa7d4ca8, 0xc0051141e0}, 0x3eaa9600d42a1e8e, 0xc00645a230) external/io_etcd_go_etcd_client_v3/lease.go:332 +0x133 created by go.etcd.io/etcd/client/v3.(*lessor).KeepAlive in goroutine 62 external/io_etcd_go_etcd_client_v3/lease.go:298 +0x832 goroutine 12421 [select]: go.etcd.io/etcd/client/v3.(*Client).autoSync(0xc0044ff6c0) external/io_etcd_go_etcd_client_v3/client.go:202 +0x169 created by go.etcd.io/etcd/client/v3.newClient in goroutine 62 external/io_etcd_go_etcd_client_v3/client.go:451 +0x2356 goroutine 11534 [select, 14 minutes]: go.etcd.io/etcd/client/v3.(*lessor).keepAliveCtxCloser(0xc0016ce000, {0xa7d4ca8, 0xc00428c690}, 0x6f189600d42a1e81, 0xc0059bce70) external/io_etcd_go_etcd_client_v3/lease.go:332 +0x133 created by go.etcd.io/etcd/client/v3.(*lessor).KeepAlive in goroutine 62 external/io_etcd_go_etcd_client_v3/lease.go:298 +0x832 goroutine 12857 [select]: google.golang.org/grpc/internal/transport.(*http2Client).keepalive(0xc003c7f8c8) external/org_golang_google_grpc/internal/transport/http2_client.go:1676 +0x23c created by google.golang.org/grpc/internal/transport.newHTTP2Client in goroutine 12876 external/org_golang_google_grpc/internal/transport/http2_client.go:399 +0x32cb goroutine 13013 [chan receive, 14 minutes]: go.etcd.io/etcd/client/v3/namespace.(*watcherPrefix).Watch.func1() external/io_etcd_go_etcd_client_v3/namespace/watch.go:59 +0x145 created by go.etcd.io/etcd/client/v3/namespace.(*watcherPrefix).Watch in goroutine 62 external/io_etcd_go_etcd_client_v3/namespace/watch.go:54 +0x550 goroutine 1536 [sync.Cond.Wait, 1 minutes]: sync.runtime_notifyListWait(0xc003d7e0d0, 0x12) GOROOT/src/runtime/sema.go:587 +0x159 sync.(*Cond).Wait(0xc003d7e0c0) GOROOT/src/sync/cond.go:71 +0x75 google.golang.org/grpc/internal/transport.(*http2Client).keepalive(0xc0064fc008) external/org_golang_google_grpc/internal/transport/http2_client.go:1710 +0x4a5 created by google.golang.org/grpc/internal/transport.newHTTP2Client in goroutine 12899 external/org_golang_google_grpc/internal/transport/http2_client.go:399 +0x32cb goroutine 13028 [select, 14 minutes]: go.etcd.io/etcd/client/v3.(*watchGrpcStream).serveSubstream(0xc002651a00, 0xc0052d5760, 0xc0059bd960) external/io_etcd_go_etcd_client_v3/watch.go:812 +0x493 created by go.etcd.io/etcd/client/v3.(*watchGrpcStream).run in goroutine 12949 external/io_etcd_go_etcd_client_v3/watch.go:562 +0x8f6 goroutine 12449 [select, 14 minutes]: google.golang.org/grpc/internal/transport.(*Stream).waitOnHeader(0xc00583b440) external/org_golang_google_grpc/internal/transport/transport.go:330 +0x117 google.golang.org/grpc/internal/transport.(*Stream).RecvCompress(...) external/org_golang_google_grpc/internal/transport/transport.go:345 google.golang.org/grpc.(*csAttempt).recvMsg(0xc0055b04e0, {0x96f8b40, 0xc003ee8000}, 0x0) external/org_golang_google_grpc/stream.go:1071 +0x16b google.golang.org/grpc.(*clientStream).RecvMsg.func1(0xc0055b04e0) external/org_golang_google_grpc/stream.go:928 +0x51 google.golang.org/grpc.(*clientStream).withRetry(0xc00583b200, 0xc003361df8, 0xc003361e58) external/org_golang_google_grpc/stream.go:777 +0x198 google.golang.org/grpc.(*clientStream).RecvMsg(0xc00583b200, {0x96f8b40, 0xc003ee8000}) external/org_golang_google_grpc/stream.go:927 +0x1c7 github.com/pingcap/kvproto/pkg/meta_storagepb.(*metaStorageWatchClient).Recv(0xc001f22ab0) external/com_github_pingcap_kvproto/pkg/meta_storagepb/meta_storagepb.pb.go:1102 +0x66 github.com/tikv/pd/client.(*innerClient).Watch.func1() external/com_github_tikv_pd_client/meta_storage_client.go:161 +0xec created by github.com/tikv/pd/client.(*innerClient).Watch in goroutine 12452 external/com_github_tikv_pd_client/meta_storage_client.go:156 +0x665 goroutine 271 [select, 14 minutes]: go.etcd.io/etcd/client/v3.(*lessor).keepAliveCtxCloser(0xc001828fa0, {0xa7d4ca8, 0xc00188b5e0}, 0x3eaa9600d42a1e20, 0xc0018809a0) external/io_etcd_go_etcd_client_v3/lease.go:332 +0x133 created by go.etcd.io/etcd/client/v3.(*lessor).KeepAlive in goroutine 62 external/io_etcd_go_etcd_client_v3/lease.go:298 +0x832 goroutine 13224 [select]: github.com/pingcap/tidb/pkg/ttl/ttlworker.(*ttlScanWorker).loop(0xc005376a20) pkg/ttl/ttlworker/scan.go:379 +0x28c github.com/pingcap/tidb/pkg/ttl/ttlworker.(*baseWorker).loop(0xc005376a20) pkg/ttl/ttlworker/worker.go:136 +0xb3 github.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1() pkg/util/wait_group_wrapper.go:167 +0x87 created by github.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run in goroutine 13197 pkg/util/wait_group_wrapper.go:165 +0xe5 goroutine 12451 [chan receive, 13 minutes]: go.etcd.io/etcd/client/v3/namespace.(*watcherPrefix).Watch.func1() external/io_etcd_go_etcd_client_v3/namespace/watch.go:59 +0x145 created by go.etcd.io/etcd/client/v3/namespace.(*watcherPrefix).Watch in goroutine 62 external/io_etcd_go_etcd_client_v3/namespace/watch.go:54 +0x550 goroutine 13020 [select]: github.com/pingcap/tidb/pkg/domain.(*Domain).infoSyncerKeeper(0xc00654e008) pkg/domain/domain.go:933 +0x2b8 github.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1() pkg/util/wait_group_wrapper.go:103 +0xbb created by github.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run in goroutine 62 pkg/util/wait_group_wrapper.go:98 +0x146 goroutine 13089 [select, 14 minutes]: github.com/dgraph-io/ristretto.(*defaultPolicy).processItems(0xc0013ca6c0) external/com_github_dgraph_io_ristretto/policy.go:102 +0x106 created by github.com/dgraph-io/ristretto.newDefaultPolicy in goroutine 13172 external/com_github_dgraph_io_ristretto/policy.go:86 +0x2bd goroutine 12947 [chan receive]: go.etcd.io/etcd/client/v3/concurrency.NewSession.func1() external/io_etcd_go_etcd_client_v3/concurrency/session.go:66 +0xaa created by go.etcd.io/etcd/client/v3/concurrency.NewSession in goroutine 62 external/io_etcd_go_etcd_client_v3/concurrency/session.go:64 +0x508 goroutine 272 [select]: google.golang.org/grpc/internal/transport.(*recvBufferReader).readClient(0xc00198cbe0, {0xc002673ed0, 0x5, 0x5}) external/org_golang_google_grpc/internal/transport/transport.go:193 +0x136 google.golang.org/grpc/internal/transport.(*recvBufferReader).Read(0xc00198cbe0, {0xc002673ed0, 0x5, 0x5}) external/org_golang_google_grpc/internal/transport/transport.go:173 +0x35b google.golang.org/grpc/internal/transport.(*transportReader).Read(0xc002673e90, {0xc002673ed0, 0x5, 0x5}) external/org_golang_google_grpc/internal/transport/transport.go:525 +0x5d io.ReadAtLeast({0xa79fa00, 0xc002673e90}, {0xc002673ed0, 0x5, 0x5}, 0x5) GOROOT/src/io/io.go:335 +0xd0 io.ReadFull(...) GOROOT/src/io/io.go:354 google.golang.org/grpc/internal/transport.(*Stream).Read(0xc001ef6a20, {0xc002673ed0, 0x5, 0x5}) external/org_golang_google_grpc/internal/transport/transport.go:509 +0x127 google.golang.org/grpc.(*parser).recvMsg(0xc002673ec0, 0x7fffffff) external/org_golang_google_grpc/rpc_util.go:614 +0x6e google.golang.org/grpc.recvAndDecompress(0xc002673ec0, 0xc001ef6a20, {0x0, 0x0}, 0x7fffffff, 0x0, {0x0, 0x0}) external/org_golang_google_grpc/rpc_util.go:753 +0x93 google.golang.org/grpc.recv(0xc002673ec0, {0x7f219e3a44d0, 0xf9fc700}, 0xc001ef6a20, {0x0, 0x0}, {0x96fdf20, 0xc0531ce3c0}, 0x7fffffff, 0x0, ...) external/org_golang_google_grpc/rpc_util.go:833 +0xbd google.golang.org/grpc.(*csAttempt).recvMsg(0xc0020fcdd0, {0x96fdf20, 0xc0531ce3c0}, 0x0) external/org_golang_google_grpc/stream.go:1085 +0x568 google.golang.org/grpc.(*clientStream).RecvMsg.func1(0xc0020fcdd0) external/org_golang_google_grpc/stream.go:928 +0x51 google.golang.org/grpc.(*clientStream).withRetry(0xc001ef67e0, 0xc0024d9dd0, 0xc0024d9e30) external/org_golang_google_grpc/stream.go:761 +0x478 google.golang.org/grpc.(*clientStream).RecvMsg(0xc001ef67e0, {0x96fdf20, 0xc0531ce3c0}) external/org_golang_google_grpc/stream.go:927 +0x1c7 go.etcd.io/etcd/api/v3/etcdserverpb.(*leaseLeaseKeepAliveClient).Recv(0xc0023b9e10) external/io_etcd_go_etcd_api_v3/etcdserverpb/rpc.pb.go:6853 +0x66 go.etcd.io/etcd/client/v3.(*lessor).recvKeepAliveLoop(0xc001828fa0) external/io_etcd_go_etcd_client_v3/lease.go:458 +0x3e5 created by go.etcd.io/etcd/client/v3.(*lessor).KeepAlive.func1 in goroutine 62 external/io_etcd_go_etcd_client_v3/lease.go:301 +0x8e goroutine 273 [select]: go.etcd.io/etcd/client/v3.(*lessor).deadlineLoop(0xc001828fa0) external/io_etcd_go_etcd_client_v3/lease.go:550 +0x105 created by go.etcd.io/etcd/client/v3.(*lessor).KeepAlive.func1 in goroutine 62 external/io_etcd_go_etcd_client_v3/lease.go:302 +0xfd goroutine 434 [chan receive]: go.etcd.io/etcd/client/v3/concurrency.NewSession.func1() external/io_etcd_go_etcd_client_v3/concurrency/session.go:66 +0xaa created by go.etcd.io/etcd/client/v3/concurrency.NewSession in goroutine 62 external/io_etcd_go_etcd_client_v3/concurrency/session.go:64 +0x508 goroutine 12949 [select, 13 minutes]: go.etcd.io/etcd/client/v3.(*watchGrpcStream).run(0xc002651a00) external/io_etcd_go_etcd_client_v3/watch.go:545 +0x4d0 created by go.etcd.io/etcd/client/v3.(*watcher).newWatcherGrpcStream in goroutine 62 external/io_etcd_go_etcd_client_v3/watch.go:292 +0x6c7 goroutine 450 [select, 14 minutes]: google.golang.org/grpc.newClientStreamWithParams.func4() external/org_golang_google_grpc/stream.go:392 +0xe6 created by google.golang.org/grpc.newClientStreamWithParams in goroutine 272 external/org_golang_google_grpc/stream.go:391 +0x1cc5 goroutine 451 [select]: go.etcd.io/etcd/client/v3.(*lessor).sendKeepAliveLoop(0xc001828fa0, {0xa7f51a8, 0xc0023b9e10}) external/io_etcd_go_etcd_client_v3/lease.go:590 +0x265 created by go.etcd.io/etcd/client/v3.(*lessor).resetRecv in goroutine 272 external/io_etcd_go_etcd_client_v3/lease.go:500 +0x485 goroutine 12863 [select, 14 minutes]: github.com/pingcap/tidb/br/pkg/streamhelper.(*CheckpointAdvancer).StartTaskListener.func1() br/pkg/streamhelper/advancer.go:384 +0x159 created by github.com/pingcap/tidb/br/pkg/streamhelper.(*CheckpointAdvancer).StartTaskListener in goroutine 62 br/pkg/streamhelper/advancer.go:381 +0x313 goroutine 12963 [select, 14 minutes]: google.golang.org/grpc/internal/transport.(*Stream).waitOnHeader(0xc00583b7a0) external/org_golang_google_grpc/internal/transport/transport.go:330 +0x117 google.golang.org/grpc/internal/transport.(*Stream).RecvCompress(...) external/org_golang_google_grpc/internal/transport/transport.go:345 google.golang.org/grpc.(*csAttempt).recvMsg(0xc0055b05b0, {0x96f8b40, 0xc0058c1b90}, 0x0) external/org_golang_google_grpc/stream.go:1071 +0x16b google.golang.org/grpc.(*clientStream).RecvMsg.func1(0xc0055b05b0) external/org_golang_google_grpc/stream.go:928 +0x51 google.golang.org/grpc.(*clientStream).withRetry(0xc00583b560, 0xc005bdbdf8, 0xc005bdbe58) external/org_golang_google_grpc/stream.go:777 +0x198 google.golang.org/grpc.(*clientStream).RecvMsg(0xc00583b560, {0x96f8b40, 0xc0058c1b90}) external/org_golang_google_grpc/stream.go:927 +0x1c7 github.com/pingcap/kvproto/pkg/meta_storagepb.(*metaStorageWatchClient).Recv(0xc001f22b80) external/com_github_pingcap_kvproto/pkg/meta_storagepb/meta_storagepb.pb.go:1102 +0x66 github.com/tikv/pd/client.(*innerClient).Watch.func1() external/com_github_tikv_pd_client/meta_storage_client.go:161 +0xec created by github.com/tikv/pd/client.(*innerClient).Watch in goroutine 12452 external/com_github_tikv_pd_client/meta_storage_client.go:156 +0x665 goroutine 11537 [chan receive]: go.etcd.io/etcd/client/v3/concurrency.NewSession.func1() external/io_etcd_go_etcd_client_v3/concurrency/session.go:66 +0xaa created by go.etcd.io/etcd/client/v3/concurrency.NewSession in goroutine 62 external/io_etcd_go_etcd_client_v3/concurrency/session.go:64 +0x508 goroutine 12948 [select, 14 minutes]: context.(*cancelCtx).propagateCancel.func2() GOROOT/src/context/context.go:510 +0xdd created by context.(*cancelCtx).propagateCancel in goroutine 62 GOROOT/src/context/context.go:509 +0x572 goroutine 12914 [select, 1 minutes]: google.golang.org/grpc/internal/transport.(*controlBuffer).get(0xc0064da230, 0x1) external/org_golang_google_grpc/internal/transport/controlbuf.go:418 +0x1af google.golang.org/grpc/internal/transport.(*loopyWriter).run(0xc0064e4150) external/org_golang_google_grpc/internal/transport/controlbuf.go:551 +0x15b google.golang.org/grpc/internal/transport.newHTTP2Client.func6() external/org_golang_google_grpc/internal/transport/http2_client.go:463 +0x190 created by google.golang.org/grpc/internal/transport.newHTTP2Client in goroutine 12899 external/org_golang_google_grpc/internal/transport/http2_client.go:461 +0x3d6c goroutine 55414 [select]: google.golang.org/grpc/internal/transport.(*controlBuffer).get(0xc009a905a0, 0x1) external/org_golang_google_grpc/internal/transport/controlbuf.go:418 +0x1af google.golang.org/grpc/internal/transport.(*loopyWriter).run(0xc00450eaf0) external/org_golang_google_grpc/internal/transport/controlbuf.go:551 +0x15b google.golang.org/grpc/internal/transport.newHTTP2Client.func6() external/org_golang_google_grpc/internal/transport/http2_client.go:463 +0x190 created by google.golang.org/grpc/internal/transport.newHTTP2Client in goroutine 55275 external/org_golang_google_grpc/internal/transport/http2_client.go:461 +0x3d6c goroutine 1260 [chan receive, 14 minutes]: go.etcd.io/etcd/client/v3/namespace.(*watcherPrefix).Watch.func1() external/io_etcd_go_etcd_client_v3/namespace/watch.go:59 +0x145 created by go.etcd.io/etcd/client/v3/namespace.(*watcherPrefix).Watch in goroutine 13002 external/io_etcd_go_etcd_client_v3/namespace/watch.go:54 +0x550 goroutine 13223 [chan receive, 14 minutes]: go.etcd.io/etcd/client/v3/namespace.(*watcherPrefix).Watch.func1() external/io_etcd_go_etcd_client_v3/namespace/watch.go:59 +0x145 created by go.etcd.io/etcd/client/v3/namespace.(*watcherPrefix).Watch in goroutine 13197 external/io_etcd_go_etcd_client_v3/namespace/watch.go:54 +0x550 goroutine 12962 [select, 14 minutes]: google.golang.org/grpc.newClientStreamWithParams.func4() external/org_golang_google_grpc/stream.go:392 +0xe6 created by google.golang.org/grpc.newClientStreamWithParams in goroutine 12452 external/org_golang_google_grpc/stream.go:391 +0x1cc5 goroutine 13019 [select, 4 minutes]: github.com/pingcap/tidb/pkg/domain.(*Domain).topNSlowQueryLoop(0xc00654e008) pkg/domain/domain.go:900 +0x2b9 github.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1() pkg/util/wait_group_wrapper.go:103 +0xbb created by github.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run in goroutine 62 pkg/util/wait_group_wrapper.go:98 +0x146 goroutine 11536 [select]: go.etcd.io/etcd/client/v3.(*lessor).deadlineLoop(0xc0016ce000) external/io_etcd_go_etcd_client_v3/lease.go:550 +0x105 created by go.etcd.io/etcd/client/v3.(*lessor).KeepAlive.func1 in goroutine 62 external/io_etcd_go_etcd_client_v3/lease.go:302 +0xfd goroutine 13027 [select, 14 minutes]: go.etcd.io/etcd/client/v3.(*watchGrpcStream).serveSubstream(0xc002651a00, 0xc0052d56b0, 0xc0059bd960) external/io_etcd_go_etcd_client_v3/watch.go:812 +0x493 created by go.etcd.io/etcd/client/v3.(*watchGrpcStream).run in goroutine 12949 external/io_etcd_go_etcd_client_v3/watch.go:562 +0x8f6 goroutine 13154 [chan receive, 14 minutes]: github.com/pingcap/tidb/pkg/domain.(*planReplayerTaskDumpWorker).run(0xc004ee8660) pkg/domain/plan_replayer.go:411 +0x98 created by github.com/pingcap/tidb/pkg/domain.(*Domain).StartPlanReplayerHandle.func2 in goroutine 13146 pkg/domain/domain.go:2357 +0x14a goroutine 11535 [select]: google.golang.org/grpc/internal/transport.(*recvBufferReader).readClient(0xc006527e50, {0xc0062d1f00, 0x5, 0x5}) external/org_golang_google_grpc/internal/transport/transport.go:193 +0x136 google.golang.org/grpc/internal/transport.(*recvBufferReader).Read(0xc006527e50, {0xc0062d1f00, 0x5, 0x5}) external/org_golang_google_grpc/internal/transport/transport.go:173 +0x35b google.golang.org/grpc/internal/transport.(*transportReader).Read(0xc0062d1ec0, {0xc0062d1f00, 0x5, 0x5}) external/org_golang_google_grpc/internal/transport/transport.go:525 +0x5d io.ReadAtLeast({0xa79fa00, 0xc0062d1ec0}, {0xc0062d1f00, 0x5, 0x5}, 0x5) GOROOT/src/io/io.go:335 +0xd0 io.ReadFull(...) GOROOT/src/io/io.go:354 google.golang.org/grpc/internal/transport.(*Stream).Read(0xc006560ea0, {0xc0062d1f00, 0x5, 0x5}) external/org_golang_google_grpc/internal/transport/transport.go:509 +0x127 google.golang.org/grpc.(*parser).recvMsg(0xc0062d1ef0, 0x7fffffff) external/org_golang_google_grpc/rpc_util.go:614 +0x6e google.golang.org/grpc.recvAndDecompress(0xc0062d1ef0, 0xc006560ea0, {0x0, 0x0}, 0x7fffffff, 0x0, {0x0, 0x0}) external/org_golang_google_grpc/rpc_util.go:753 +0x93 google.golang.org/grpc.recv(0xc0062d1ef0, {0x7f219e3a44d0, 0xf9fc700}, 0xc006560ea0, {0x0, 0x0}, {0x96fdf20, 0xc00ece3c80}, 0x7fffffff, 0x0, ...) external/org_golang_google_grpc/rpc_util.go:833 +0xbd google.golang.org/grpc.(*csAttempt).recvMsg(0xc00659b1e0, {0x96fdf20, 0xc00ece3c80}, 0x0) external/org_golang_google_grpc/stream.go:1085 +0x568 google.golang.org/grpc.(*clientStream).RecvMsg.func1(0xc00659b1e0) external/org_golang_google_grpc/stream.go:928 +0x51 google.golang.org/grpc.(*clientStream).withRetry(0xc006560c60, 0xc0023e1dd0, 0xc0023e1e30) external/org_golang_google_grpc/stream.go:761 +0x478 google.golang.org/grpc.(*clientStream).RecvMsg(0xc006560c60, {0x96fdf20, 0xc00ece3c80}) external/org_golang_google_grpc/stream.go:927 +0x1c7 go.etcd.io/etcd/api/v3/etcdserverpb.(*leaseLeaseKeepAliveClient).Recv(0xc00650f900) external/io_etcd_go_etcd_api_v3/etcdserverpb/rpc.pb.go:6853 +0x66 go.etcd.io/etcd/client/v3.(*lessor).recvKeepAliveLoop(0xc0016ce000) external/io_etcd_go_etcd_client_v3/lease.go:458 +0x3e5 created by go.etcd.io/etcd/client/v3.(*lessor).KeepAlive.func1 in goroutine 62 external/io_etcd_go_etcd_client_v3/lease.go:301 +0x8e goroutine 13146 [chan receive, 14 minutes]: github.com/pingcap/tidb/pkg/domain.(*Domain).StartPlanReplayerHandle.func2() pkg/domain/domain.go:2359 +0x23b github.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1() pkg/util/wait_group_wrapper.go:103 +0xbb created by github.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run in goroutine 62 pkg/util/wait_group_wrapper.go:98 +0x146 goroutine 12427 [sync.Cond.Wait]: sync.runtime_notifyListWait(0xc004258590, 0xd) GOROOT/src/runtime/sema.go:587 +0x159 sync.(*Cond).Wait(0xc004258580) GOROOT/src/sync/cond.go:71 +0x75 google.golang.org/grpc/internal/transport.(*http2Client).keepalive(0xc00616c488) external/org_golang_google_grpc/internal/transport/http2_client.go:1710 +0x4a5 created by google.golang.org/grpc/internal/transport.newHTTP2Client in goroutine 12898 external/org_golang_google_grpc/internal/transport/http2_client.go:399 +0x32cb goroutine 13213 [select, 14 minutes]: go.etcd.io/etcd/client/v3.(*watchGrpcStream).serveSubstream(0xc002651a00, 0xc0060fadc0, 0xc0059bd960) external/io_etcd_go_etcd_client_v3/watch.go:812 +0x493 created by go.etcd.io/etcd/client/v3.(*watchGrpcStream).run in goroutine 12949 external/io_etcd_go_etcd_client_v3/watch.go:562 +0x8f6 goroutine 13147 [select, 4 minutes]: github.com/pingcap/tidb/pkg/session.bootstrapSessionImpl.(*Domain).DumpFileGcCheckerLoop.func6() pkg/domain/domain.go:2391 +0x251 github.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1() pkg/util/wait_group_wrapper.go:103 +0xbb created by github.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run in goroutine 62 pkg/util/wait_group_wrapper.go:98 +0x146 goroutine 13156 [select, 14 minutes]: go.etcd.io/etcd/client/v3.(*watchGrpcStream).serveSubstream(0xc002651a00, 0xc0055fe0b0, 0xc0059bd960) external/io_etcd_go_etcd_client_v3/watch.go:812 +0x493 created by go.etcd.io/etcd/client/v3.(*watchGrpcStream).run in goroutine 12949 external/io_etcd_go_etcd_client_v3/watch.go:562 +0x8f6 goroutine 13148 [select, 14 minutes]: github.com/pingcap/tidb/pkg/domain.(*Domain).StartHistoricalStatsWorker.func1() pkg/domain/domain.go:2422 +0x1ae github.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1() pkg/util/wait_group_wrapper.go:103 +0xbb created by github.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run in goroutine 62 pkg/util/wait_group_wrapper.go:98 +0x146 goroutine 13008 [select, 14 minutes]: go.etcd.io/etcd/client/v3.(*watchGrpcStream).serveSubstream(0xc002651a00, 0xc0061664d0, 0xc0059bd960) external/io_etcd_go_etcd_client_v3/watch.go:812 +0x493 created by go.etcd.io/etcd/client/v3.(*watchGrpcStream).run in goroutine 12949 external/io_etcd_go_etcd_client_v3/watch.go:562 +0x8f6 goroutine 13228 [select]: github.com/pingcap/tidb/pkg/ttl/ttlworker.(*ttlDeleteWorker).loop(0xc005843700) pkg/ttl/ttlworker/del.go:408 +0x6ae github.com/pingcap/tidb/pkg/ttl/ttlworker.(*baseWorker).loop(0xc005843700) pkg/ttl/ttlworker/worker.go:136 +0xb3 github.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1() pkg/util/wait_group_wrapper.go:167 +0x87 created by github.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run in goroutine 13197 pkg/util/wait_group_wrapper.go:165 +0xe5 goroutine 13180 [select]: github.com/pingcap/tidb/pkg/domain.(*Domain).gcStatsWorker(0xc00654e008) pkg/domain/domain.go:2788 +0x38c github.com/pingcap/tidb/pkg/domain.(*Domain).UpdateTableStatsLoop.func3(0xc00654e008, 0xc002770f38) pkg/domain/domain.go:2536 +0x126 github.com/pingcap/tidb/pkg/domain.(*Domain).UpdateTableStatsLoop.func4() pkg/domain/domain.go:2545 +0x69 github.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1() pkg/util/wait_group_wrapper.go:103 +0xbb created by github.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run in goroutine 62 pkg/util/wait_group_wrapper.go:98 +0x146 goroutine 12951 [select, 14 minutes]: google.golang.org/grpc.newClientStreamWithParams.func4() external/org_golang_google_grpc/stream.go:392 +0xe6 created by google.golang.org/grpc.newClientStreamWithParams in goroutine 12949 external/org_golang_google_grpc/stream.go:391 +0x1cc5 goroutine 12462 [select, 14 minutes]: go.etcd.io/etcd/client/v3.(*lessor).keepAliveCtxCloser(0xc0016ce000, {0xa7d4ca8, 0xc0051ccdc0}, 0x6f189600d42a1e8b, 0xc004c7ae00) external/io_etcd_go_etcd_client_v3/lease.go:332 +0x133 created by go.etcd.io/etcd/client/v3.(*lessor).KeepAlive in goroutine 62 external/io_etcd_go_etcd_client_v3/lease.go:298 +0x832 goroutine 12901 [select]: go.etcd.io/etcd/client/v3.(*Client).autoSync(0xc003cd5180) external/io_etcd_go_etcd_client_v3/client.go:202 +0x169 created by go.etcd.io/etcd/client/v3.newClient in goroutine 62 external/io_etcd_go_etcd_client_v3/client.go:451 +0x2356 goroutine 13178 [select]: github.com/pingcap/tidb/pkg/domain.(*Domain).deltaUpdateTickerWorker(0xc00654e008) pkg/domain/domain.go:2843 +0x1b5 github.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1() pkg/util/wait_group_wrapper.go:103 +0xbb created by github.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run in goroutine 62 pkg/util/wait_group_wrapper.go:98 +0x146 goroutine 13179 [select, 4 minutes]: github.com/pingcap/tidb/pkg/domain.(*Domain).dumpColStatsUsageWorker(0xc00654e008) pkg/domain/domain.go:2822 +0x211 github.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1() pkg/util/wait_group_wrapper.go:103 +0xbb created by github.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run in goroutine 62 pkg/util/wait_group_wrapper.go:98 +0x146 goroutine 13175 [select, 14 minutes]: github.com/pingcap/tidb/pkg/owner.(*ownerManager).watchOwner(0xc0064a1e60, {0xa7d4ca8, 0xc0064dbbd0}, 0xc0054ce5a0, {0xc00619eb10, 0x22}, 0x11d) pkg/owner/manager.go:587 +0x4cc github.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignAndWatch(0xc0064a1e60, {0xa7d4ca8, 0xc0064dbbd0}) pkg/owner/manager.go:419 +0x425 github.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop(0xc0064a1e60, {0xa7d4ca8, 0xc0064dbbd0}) pkg/owner/manager.go:390 +0x345 created by github.com/pingcap/tidb/pkg/owner.(*ownerManager).CampaignOwner in goroutine 62 pkg/owner/manager.go:300 +0x417 goroutine 12885 [select, 14 minutes]: context.(*cancelCtx).propagateCancel.func2() GOROOT/src/context/context.go:510 +0xdd created by context.(*cancelCtx).propagateCancel in goroutine 13059 GOROOT/src/context/context.go:509 +0x572 goroutine 13176 [select, 14 minutes]: github.com/pingcap/tidb/pkg/domain.(*Domain).indexUsageWorker(0xc00654e008) pkg/domain/domain.go:2721 +0x196 github.com/pingcap/tidb/pkg/domain.(*Domain).UpdateTableStatsLoop.func1() pkg/domain/domain.go:2523 +0x2f github.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1() pkg/util/wait_group_wrapper.go:103 +0xbb created by github.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run in goroutine 62 pkg/util/wait_group_wrapper.go:98 +0x146 goroutine 13002 [select, 14 minutes]: github.com/pingcap/tidb/pkg/owner.(*ownerManager).watchOwner(0xc006034b40, {0xa7d4ca8, 0xc00428d310}, 0xc0064bfc80, {0xc00467a870, 0x26}, 0x11b) pkg/owner/manager.go:587 +0x4cc github.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignAndWatch(0xc006034b40, {0xa7d4ca8, 0xc00428d310}) pkg/owner/manager.go:419 +0x425 github.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop(0xc006034b40, {0xa7d4ca8, 0xc00428d310}) pkg/owner/manager.go:390 +0x345 created by github.com/pingcap/tidb/pkg/owner.(*ownerManager).CampaignOwner in goroutine 62 pkg/owner/manager.go:300 +0x417 goroutine 13174 [chan receive]: go.etcd.io/etcd/client/v3/concurrency.NewSession.func1() external/io_etcd_go_etcd_client_v3/concurrency/session.go:66 +0xaa created by go.etcd.io/etcd/client/v3/concurrency.NewSession in goroutine 62 external/io_etcd_go_etcd_client_v3/concurrency/session.go:64 +0x508 goroutine 13177 [select]: github.com/pingcap/tidb/pkg/domain.(*Domain).asyncLoadHistogram(0xc00654e008) pkg/domain/domain.go:2701 +0x30c github.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1() pkg/util/wait_group_wrapper.go:103 +0xbb created by github.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run in goroutine 62 pkg/util/wait_group_wrapper.go:98 +0x146 goroutine 13021 [select, 14 minutes]: github.com/pingcap/tidb/pkg/domain.(*Domain).globalConfigSyncerKeeper(0xc00654e008) pkg/domain/domain.go:957 +0x1c5 github.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1() pkg/util/wait_group_wrapper.go:103 +0xbb created by github.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run in goroutine 62 pkg/util/wait_group_wrapper.go:98 +0x146 goroutine 12953 [select, 13 minutes]: go.etcd.io/etcd/client/v3.(*watchGrpcStream).serveSubstream(0xc002651a00, 0xc00364c0b0, 0xc0059bd960) external/io_etcd_go_etcd_client_v3/watch.go:812 +0x493 created by go.etcd.io/etcd/client/v3.(*watchGrpcStream).run in goroutine 12949 external/io_etcd_go_etcd_client_v3/watch.go:562 +0x8f6 goroutine 13296 [select]: github.com/pingcap/tidb/pkg/domain.(*Domain).distTaskFrameworkLoop(0xc00654e008, {0xa7d4c70, 0xc0054ced80}, 0xc0034c3510, 0xc004fa2000, {0xc004d9140b, 0x5}, 0xc000ecb518) pkg/domain/domain.go:1864 +0x4ef github.com/pingcap/tidb/pkg/domain.(*Domain).InitDistTaskLoop.func1() pkg/domain/domain.go:1784 +0xde github.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1() pkg/util/wait_group_wrapper.go:103 +0xbb created by github.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run in goroutine 62 pkg/util/wait_group_wrapper.go:98 +0x146 goroutine 13185 [select, 14 minutes]: github.com/pingcap/tidb/pkg/statistics/handle/syncload.(*statsSyncLoad).drainColTask(0xc0054ce030, 0xc006534310) pkg/statistics/handle/syncload/stats_syncload.go:535 +0x193 github.com/pingcap/tidb/pkg/statistics/handle/syncload.(*statsSyncLoad).HandleOneTask(0xc0054ce030, 0x0, 0xc006534310) pkg/statistics/handle/syncload/stats_syncload.go:300 +0xe7 github.com/pingcap/tidb/pkg/statistics/handle/syncload.(*statsSyncLoad).SubLoadWorker(0xc0054ce030, 0xc006534310, 0xc0062d02d0) pkg/statistics/handle/syncload/stats_syncload.go:257 +0xd3 created by github.com/pingcap/tidb/pkg/domain.(*Domain).StartLoadStatsSubWorkers in goroutine 62 pkg/domain/domain.go:2606 +0x70 goroutine 12890 [select, 13 minutes]: go.etcd.io/etcd/client/v3.(*watchGrpcStream).serveSubstream(0xc00659a0d0, 0xc0017191e0, 0xc0065343f0) external/io_etcd_go_etcd_client_v3/watch.go:812 +0x493 created by go.etcd.io/etcd/client/v3.(*watchGrpcStream).run in goroutine 12886 external/io_etcd_go_etcd_client_v3/watch.go:562 +0x8f6 goroutine 12967 [chan receive]: go.etcd.io/etcd/client/v3/concurrency.NewSession.func1() external/io_etcd_go_etcd_client_v3/concurrency/session.go:66 +0xaa created by go.etcd.io/etcd/client/v3/concurrency.NewSession in goroutine 62 external/io_etcd_go_etcd_client_v3/concurrency/session.go:64 +0x508 goroutine 55426 [select, 14 minutes]: google.golang.org/grpc.newClientStreamWithParams.func4() external/org_golang_google_grpc/stream.go:392 +0xe6 created by google.golang.org/grpc.newClientStreamWithParams in goroutine 55377 external/org_golang_google_grpc/stream.go:391 +0x1cc5 goroutine 55374 [IO wait]: internal/poll.runtime_pollWait(0x7f213dd74f00, 0x72) GOROOT/src/runtime/netpoll.go:351 +0x85 internal/poll.(*pollDesc).wait(0xc00a6dbe20, 0x72, 0x0) GOROOT/src/internal/poll/fd_poll_runtime.go:84 +0xb1 internal/poll.(*pollDesc).waitRead(...) GOROOT/src/internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Read(0xc00a6dbe00, {0xc003de6000, 0x8000, 0x8000}) GOROOT/src/internal/poll/fd_unix.go:165 +0x466 net.(*netFD).Read(0xc00a6dbe00, {0xc003de6000, 0x8000, 0x8000}) GOROOT/src/net/fd_posix.go:55 +0x4b net.(*conn).Read(0xc006cfebf0, {0xc003de6000, 0x8000, 0x8000}) GOROOT/src/net/net.go:189 +0xad bufio.(*Reader).Read(0xc004b84660, {0xc00b7849e0, 0x9, 0x9}) GOROOT/src/bufio/bufio.go:241 +0x4bf io.ReadAtLeast({0xa7965c0, 0xc004b84660}, {0xc00b7849e0, 0x9, 0x9}, 0x9) GOROOT/src/io/io.go:335 +0xd0 io.ReadFull(...) GOROOT/src/io/io.go:354 golang.org/x/net/http2.readFrameHeader({0xc00b7849e0, 0x9, 0x9}, {0xa7965c0, 0xc004b84660}) external/org_golang_x_net/http2/frame.go:242 +0x9a golang.org/x/net/http2.(*Framer).ReadFrame(0xc00b7849a0) external/org_golang_x_net/http2/frame.go:506 +0xf5 google.golang.org/grpc/internal/transport.(*http2Client).reader(0xc004826248, 0xc00450e700) external/org_golang_google_grpc/internal/transport/http2_client.go:1602 +0x2e5 created by google.golang.org/grpc/internal/transport.newHTTP2Client in goroutine 55271 external/org_golang_google_grpc/internal/transport/http2_client.go:409 +0x33ab goroutine 12952 [select, 13 minutes]: google.golang.org/grpc/internal/transport.(*recvBufferReader).readClient(0xc00428d040, {0xc003ee9060, 0x5, 0x5}) external/org_golang_google_grpc/internal/transport/transport.go:193 +0x136 google.golang.org/grpc/internal/transport.(*recvBufferReader).Read(0xc00428d040, {0xc003ee9060, 0x5, 0x5}) external/org_golang_google_grpc/internal/transport/transport.go:173 +0x35b google.golang.org/grpc/internal/transport.(*transportReader).Read(0xc003ee9020, {0xc003ee9060, 0x5, 0x5}) external/org_golang_google_grpc/internal/transport/transport.go:525 +0x5d io.ReadAtLeast({0xa79fa00, 0xc003ee9020}, {0xc003ee9060, 0x5, 0x5}, 0x5) GOROOT/src/io/io.go:335 +0xd0 io.ReadFull(...) GOROOT/src/io/io.go:354 google.golang.org/grpc/internal/transport.(*Stream).Read(0xc0049dd8c0, {0xc003ee9060, 0x5, 0x5}) external/org_golang_google_grpc/internal/transport/transport.go:509 +0x127 google.golang.org/grpc.(*parser).recvMsg(0xc003ee9050, 0x7fffffff) external/org_golang_google_grpc/rpc_util.go:614 +0x6e google.golang.org/grpc.recvAndDecompress(0xc003ee9050, 0xc0049dd8c0, {0x0, 0x0}, 0x7fffffff, 0x0, {0x0, 0x0}) external/org_golang_google_grpc/rpc_util.go:753 +0x93 google.golang.org/grpc.recv(0xc003ee9050, {0x7f219e3a44d0, 0xf9fc700}, 0xc0049dd8c0, {0x0, 0x0}, {0x977d360, 0xc01da07730}, 0x7fffffff, 0x0, ...) external/org_golang_google_grpc/rpc_util.go:833 +0xbd google.golang.org/grpc.(*csAttempt).recvMsg(0xc002651ba0, {0x977d360, 0xc01da07730}, 0x0) external/org_golang_google_grpc/stream.go:1085 +0x568 google.golang.org/grpc.(*clientStream).RecvMsg.func1(0xc002651ba0) external/org_golang_google_grpc/stream.go:928 +0x51 google.golang.org/grpc.(*clientStream).withRetry(0xc0049dd560, 0xc00680fde8, 0xc00680fe48) external/org_golang_google_grpc/stream.go:761 +0x478 google.golang.org/grpc.(*clientStream).RecvMsg(0xc0049dd560, {0x977d360, 0xc01da07730}) external/org_golang_google_grpc/stream.go:927 +0x1c7 go.etcd.io/etcd/api/v3/etcdserverpb.(*watchWatchClient).Recv(0xc006185770) external/io_etcd_go_etcd_api_v3/etcdserverpb/rpc.pb.go:6714 +0x66 go.etcd.io/etcd/client/v3.(*watchGrpcStream).serveWatchClient(0xc002651a00, {0xa7f5200, 0xc006185770}) external/io_etcd_go_etcd_client_v3/watch.go:766 +0x67 created by go.etcd.io/etcd/client/v3.(*watchGrpcStream).newWatchClient in goroutine 12949 external/io_etcd_go_etcd_client_v3/watch.go:921 +0xa77 goroutine 13145 [select]: github.com/pingcap/tidb/pkg/domain.(*Domain).StartPlanReplayerHandle.func1() pkg/domain/domain.go:2337 +0x1da github.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1() pkg/util/wait_group_wrapper.go:103 +0xbb created by github.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run in goroutine 62 pkg/util/wait_group_wrapper.go:98 +0x146 goroutine 13181 [select]: github.com/pingcap/tidb/pkg/domain.(*Domain).autoAnalyzeWorker(0xc00654e008) pkg/domain/domain.go:2865 +0x1fb github.com/pingcap/tidb/pkg/domain.(*Domain).UpdateTableStatsLoop.func3(0xc00654e008, 0xc0032e1f38) pkg/domain/domain.go:2536 +0x126 github.com/pingcap/tidb/pkg/domain.(*Domain).UpdateTableStatsLoop.func5() pkg/domain/domain.go:2549 +0x69 github.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1() pkg/util/wait_group_wrapper.go:103 +0xbb created by github.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run in goroutine 62 pkg/util/wait_group_wrapper.go:98 +0x146 goroutine 13173 [select, 14 minutes]: go.etcd.io/etcd/client/v3.(*lessor).keepAliveCtxCloser(0xc0016ce000, {0xa7d4ca8, 0xc0064dbb80}, 0x22319600d42a19fb, 0xc0064cdc00) external/io_etcd_go_etcd_client_v3/lease.go:332 +0x133 created by go.etcd.io/etcd/client/v3.(*lessor).KeepAlive in goroutine 62 external/io_etcd_go_etcd_client_v3/lease.go:298 +0x832 goroutine 13171 [select, 14 minutes]: github.com/pingcap/tidb/pkg/statistics/handle/usage/collector.(*globalCollector[...]).StartWorker.func1() pkg/statistics/handle/usage/collector/collector.go:88 +0x330 created by github.com/pingcap/tidb/pkg/statistics/handle/usage/collector.(*globalCollector[...]).StartWorker in goroutine 62 pkg/statistics/handle/usage/collector/collector.go:76 +0xe6 goroutine 16415 [select]: github.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*NodeManager).maintainLiveNodesLoop(0xc0012333e0, {0xa7d4ca8, 0xc004e5a1e0}, {0xa832cf0, 0xc0034c3510}) pkg/disttask/framework/scheduler/nodes.go:64 +0x1b6 github.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*Manager).Start.func1() pkg/disttask/framework/scheduler/scheduler_manager.go:164 +0x8e github.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1() pkg/util/wait_group_wrapper.go:167 +0x87 created by github.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run in goroutine 13296 pkg/util/wait_group_wrapper.go:165 +0xe5 goroutine 16369 [select]: github.com/pingcap/tidb/pkg/timer/runtime.(*TimerGroupRuntime).loop(0xc004766540, 0x0) pkg/timer/runtime/runtime.go:200 +0xa50 github.com/pingcap/tidb/pkg/timer/runtime.withRecoverUntil.func1() pkg/timer/runtime/runtime.go:542 +0x46 github.com/pingcap/tidb/pkg/util.WithRecovery(0xc00241df10, 0xc00241df00) pkg/util/misc.go:99 +0x78 github.com/pingcap/tidb/pkg/timer/runtime.withRecoverUntil({0xa7d4ca8, 0xc00475d950}, 0xc005b8df58) pkg/timer/runtime/runtime.go:541 +0xce github.com/pingcap/tidb/pkg/timer/runtime.(*TimerGroupRuntime).Start.func1() pkg/timer/runtime/runtime.go:139 +0x7c github.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1() pkg/util/wait_group_wrapper.go:167 +0x87 created by github.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run in goroutine 13197 pkg/util/wait_group_wrapper.go:165 +0xe5 goroutine 13000 [select, 14 minutes]: go.etcd.io/etcd/client/v3.(*lessor).keepAliveCtxCloser(0xc0016ce000, {0xa7d4ca8, 0xc00428d2c0}, 0x22319600d42a19f5, 0xc0059bcd90) external/io_etcd_go_etcd_client_v3/lease.go:332 +0x133 created by go.etcd.io/etcd/client/v3.(*lessor).KeepAlive in goroutine 62 external/io_etcd_go_etcd_client_v3/lease.go:298 +0x832 goroutine 13182 [select, 4 minutes]: github.com/pingcap/tidb/pkg/domain.(*Domain).analyzeJobsCleanupWorker(0xc00654e008) pkg/domain/domain.go:2924 +0x289 github.com/pingcap/tidb/pkg/domain.(*Domain).UpdateTableStatsLoop.func3(0xc00654e008, 0xc003a08f38) pkg/domain/domain.go:2536 +0x126 github.com/pingcap/tidb/pkg/domain.(*Domain).UpdateTableStatsLoop.func6() pkg/domain/domain.go:2550 +0x69 github.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1() pkg/util/wait_group_wrapper.go:103 +0xbb created by github.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run in goroutine 62 pkg/util/wait_group_wrapper.go:98 +0x146 goroutine 12915 [select, 14 minutes]: go.etcd.io/etcd/client/v3.(*lessor).keepAliveCtxCloser(0xc0016ce000, {0xa7d4ca8, 0xc0064da3c0}, 0x6f189600d42a1e83, 0xc0064cc690) external/io_etcd_go_etcd_client_v3/lease.go:332 +0x133 created by go.etcd.io/etcd/client/v3.(*lessor).KeepAlive in goroutine 62 external/io_etcd_go_etcd_client_v3/lease.go:298 +0x832 goroutine 13188 [select, 14 minutes]: github.com/pingcap/tidb/pkg/statistics/handle/syncload.(*statsSyncLoad).drainColTask(0xc0054ce030, 0xc006534310) pkg/statistics/handle/syncload/stats_syncload.go:535 +0x193 github.com/pingcap/tidb/pkg/statistics/handle/syncload.(*statsSyncLoad).HandleOneTask(0xc0054ce030, 0x0, 0xc006534310) pkg/statistics/handle/syncload/stats_syncload.go:300 +0xe7 github.com/pingcap/tidb/pkg/statistics/handle/syncload.(*statsSyncLoad).SubLoadWorker(0xc0054ce030, 0xc006534310, 0xc0062d02d0) pkg/statistics/handle/syncload/stats_syncload.go:257 +0xd3 created by github.com/pingcap/tidb/pkg/domain.(*Domain).StartLoadStatsSubWorkers in goroutine 62 pkg/domain/domain.go:2606 +0x70 goroutine 13189 [select, 14 minutes]: github.com/pingcap/tidb/pkg/statistics/handle/syncload.(*statsSyncLoad).drainColTask(0xc0054ce030, 0xc006534310) pkg/statistics/handle/syncload/stats_syncload.go:535 +0x193 github.com/pingcap/tidb/pkg/statistics/handle/syncload.(*statsSyncLoad).HandleOneTask(0xc0054ce030, 0x0, 0xc006534310) pkg/statistics/handle/syncload/stats_syncload.go:300 +0xe7 github.com/pingcap/tidb/pkg/statistics/handle/syncload.(*statsSyncLoad).SubLoadWorker(0xc0054ce030, 0xc006534310, 0xc0062d02d0) pkg/statistics/handle/syncload/stats_syncload.go:257 +0xd3 created by github.com/pingcap/tidb/pkg/domain.(*Domain).StartLoadStatsSubWorkers in goroutine 62 pkg/domain/domain.go:2606 +0x70 goroutine 13187 [select, 14 minutes]: github.com/pingcap/tidb/pkg/statistics/handle/syncload.(*statsSyncLoad).drainColTask(0xc0054ce030, 0xc006534310) pkg/statistics/handle/syncload/stats_syncload.go:535 +0x193 github.com/pingcap/tidb/pkg/statistics/handle/syncload.(*statsSyncLoad).HandleOneTask(0xc0054ce030, 0x0, 0xc006534310) pkg/statistics/handle/syncload/stats_syncload.go:300 +0xe7 github.com/pingcap/tidb/pkg/statistics/handle/syncload.(*statsSyncLoad).SubLoadWorker(0xc0054ce030, 0xc006534310, 0xc0062d02d0) pkg/statistics/handle/syncload/stats_syncload.go:257 +0xd3 created by github.com/pingcap/tidb/pkg/domain.(*Domain).StartLoadStatsSubWorkers in goroutine 62 pkg/domain/domain.go:2606 +0x70 goroutine 13184 [select, 14 minutes]: github.com/pingcap/tidb/pkg/statistics/handle/syncload.(*statsSyncLoad).drainColTask(0xc0054ce030, 0xc006534310) pkg/statistics/handle/syncload/stats_syncload.go:535 +0x193 github.com/pingcap/tidb/pkg/statistics/handle/syncload.(*statsSyncLoad).HandleOneTask(0xc0054ce030, 0x0, 0xc006534310) pkg/statistics/handle/syncload/stats_syncload.go:300 +0xe7 github.com/pingcap/tidb/pkg/statistics/handle/syncload.(*statsSyncLoad).SubLoadWorker(0xc0054ce030, 0xc006534310, 0xc0062d02d0) pkg/statistics/handle/syncload/stats_syncload.go:257 +0xd3 created by github.com/pingcap/tidb/pkg/domain.(*Domain).StartLoadStatsSubWorkers in goroutine 62 pkg/domain/domain.go:2606 +0x70 goroutine 13172 [select]: github.com/pingcap/tidb/pkg/domain.(*Domain).loadStatsWorker(0xc00654e008) pkg/domain/domain.go:2670 +0x3b1 github.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1() pkg/util/wait_group_wrapper.go:103 +0xbb created by github.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run in goroutine 62 pkg/util/wait_group_wrapper.go:98 +0x146 goroutine 13003 [select, 14 minutes]: go.etcd.io/etcd/client/v3.(*watchGrpcStream).serveSubstream(0xc002651a00, 0xc006166370, 0xc0059bd960) external/io_etcd_go_etcd_client_v3/watch.go:812 +0x493 created by go.etcd.io/etcd/client/v3.(*watchGrpcStream).run in goroutine 12949 external/io_etcd_go_etcd_client_v3/watch.go:562 +0x8f6 goroutine 13234 [select]: github.com/dgraph-io/ristretto.(*Cache).processItems(0xc005ee6980) external/com_github_dgraph_io_ristretto/cache.go:452 +0x2c5 created by github.com/dgraph-io/ristretto.NewCache in goroutine 13172 external/com_github_dgraph_io_ristretto/cache.go:207 +0xe88 goroutine 12860 [chan receive, 14 minutes]: go.etcd.io/etcd/client/v3/namespace.(*watcherPrefix).Watch.func1() external/io_etcd_go_etcd_client_v3/namespace/watch.go:59 +0x145 created by go.etcd.io/etcd/client/v3/namespace.(*watcherPrefix).Watch in goroutine 62 external/io_etcd_go_etcd_client_v3/namespace/watch.go:54 +0x550 goroutine 13186 [select, 14 minutes]: github.com/pingcap/tidb/pkg/statistics/handle/syncload.(*statsSyncLoad).drainColTask(0xc0054ce030, 0xc006534310) pkg/statistics/handle/syncload/stats_syncload.go:535 +0x193 github.com/pingcap/tidb/pkg/statistics/handle/syncload.(*statsSyncLoad).HandleOneTask(0xc0054ce030, 0x0, 0xc006534310) pkg/statistics/handle/syncload/stats_syncload.go:300 +0xe7 github.com/pingcap/tidb/pkg/statistics/handle/syncload.(*statsSyncLoad).SubLoadWorker(0xc0054ce030, 0xc006534310, 0xc0062d02d0) pkg/statistics/handle/syncload/stats_syncload.go:257 +0xd3 created by github.com/pingcap/tidb/pkg/domain.(*Domain).StartLoadStatsSubWorkers in goroutine 62 pkg/domain/domain.go:2606 +0x70 goroutine 55427 [select]: google.golang.org/grpc/internal/transport.(*recvBufferReader).readClient(0xc00c324000, {0xc0042ca9a0, 0x5, 0x5}) external/org_golang_google_grpc/internal/transport/transport.go:193 +0x136 google.golang.org/grpc/internal/transport.(*recvBufferReader).Read(0xc00c324000, {0xc0042ca9a0, 0x5, 0x5}) external/org_golang_google_grpc/internal/transport/transport.go:173 +0x35b google.golang.org/grpc/internal/transport.(*transportReader).Read(0xc0042ca960, {0xc0042ca9a0, 0x5, 0x5}) external/org_golang_google_grpc/internal/transport/transport.go:525 +0x5d io.ReadAtLeast({0xa79fa00, 0xc0042ca960}, {0xc0042ca9a0, 0x5, 0x5}, 0x5) GOROOT/src/io/io.go:335 +0xd0 io.ReadFull(...) GOROOT/src/io/io.go:354 google.golang.org/grpc/internal/transport.(*Stream).Read(0xc035df9200, {0xc0042ca9a0, 0x5, 0x5}) external/org_golang_google_grpc/internal/transport/transport.go:509 +0x127 google.golang.org/grpc.(*parser).recvMsg(0xc0042ca990, 0x7ffffffffffffffe) external/org_golang_google_grpc/rpc_util.go:614 +0x6e google.golang.org/grpc.recvAndDecompress(0xc0042ca990, 0xc035df9200, {0x0, 0x0}, 0x7ffffffffffffffe, 0x0, {0x0, 0x0}) external/org_golang_google_grpc/rpc_util.go:753 +0x93 google.golang.org/grpc.recv(0xc0042ca990, {0x7f219e3a44d0, 0xf9fc700}, 0xc035df9200, {0x0, 0x0}, {0x972aa80, 0xc00bc8f100}, 0x7ffffffffffffffe, 0x0, ...) external/org_golang_google_grpc/rpc_util.go:833 +0xbd google.golang.org/grpc.(*csAttempt).recvMsg(0xc001e54820, {0x972aa80, 0xc00bc8f100}, 0x0) external/org_golang_google_grpc/stream.go:1085 +0x568 google.golang.org/grpc.(*clientStream).RecvMsg.func1(0xc001e54820) external/org_golang_google_grpc/stream.go:928 +0x51 google.golang.org/grpc.(*clientStream).withRetry(0xc035df8fc0, 0xc034b458a8, 0xc034b45908) external/org_golang_google_grpc/stream.go:761 +0x478 google.golang.org/grpc.(*clientStream).RecvMsg(0xc035df8fc0, {0x972aa80, 0xc00bc8f100}) external/org_golang_google_grpc/stream.go:927 +0x1c7 github.com/pingcap/kvproto/pkg/tikvpb.(*tikvBatchCommandsClient).Recv(0xc0064d3600) external/com_github_pingcap_kvproto/pkg/tikvpb/tikvpb.pb.go:2275 +0x66 github.com/tikv/client-go/v2/internal/client.(*batchCommandsStream).recv(0xc035579d00) external/com_github_tikv_client_go_v2/internal/client/client_batch.go:724 +0x247 github.com/tikv/client-go/v2/internal/client.(*batchCommandsClient).batchRecvLoop(_, {0x4, 0xa, 0x4008000000000000, {0x993dd92, 0x4}, 0x0, 0x8000000, 0x8000000, {0x993ce5d, ...}, ...}, ...) external/com_github_tikv_client_go_v2/internal/client/client_batch.go:955 +0x198 created by github.com/tikv/client-go/v2/internal/client.(*batchCommandsClient).initBatchClient in goroutine 55377 external/com_github_tikv_client_go_v2/internal/client/client_batch.go:1112 +0x448 goroutine 12461 [select]: github.com/pingcap/tidb/pkg/ddl/systable.(*MinJobIDRefresher).Start(0xc006704ac8, {0xa7d4ca8, 0xc006527900}) pkg/ddl/systable/min_job_id.go:56 +0xff github.com/pingcap/tidb/pkg/ddl.(*ddl).Start.func2() pkg/ddl/ddl.go:812 +0x7d github.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1() pkg/util/wait_group_wrapper.go:167 +0x87 created by github.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run in goroutine 62 pkg/util/wait_group_wrapper.go:165 +0xe5 goroutine 16413 [select, 4 minutes]: github.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*Manager).cleanupTaskLoop(0xc004e36410) pkg/disttask/framework/scheduler/scheduler_manager.go:370 +0x20f github.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1() pkg/util/wait_group_wrapper.go:167 +0x87 created by github.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run in goroutine 13296 pkg/util/wait_group_wrapper.go:165 +0xe5 goroutine 12429 [select]: google.golang.org/grpc/internal/transport.(*controlBuffer).get(0xc0016d02d0, 0x1) external/org_golang_google_grpc/internal/transport/controlbuf.go:418 +0x1af google.golang.org/grpc/internal/transport.(*loopyWriter).run(0xc00567d340) external/org_golang_google_grpc/internal/transport/controlbuf.go:551 +0x15b google.golang.org/grpc/internal/transport.newHTTP2Client.func6() external/org_golang_google_grpc/internal/transport/http2_client.go:463 +0x190 created by google.golang.org/grpc/internal/transport.newHTTP2Client in goroutine 12898 external/org_golang_google_grpc/internal/transport/http2_client.go:461 +0x3d6c goroutine 13155 [select]: github.com/pingcap/tidb/pkg/ddl/notifier.(*DDLNotifier).start(0xc0046f44e0) pkg/ddl/notifier/subscribe.go:159 +0x425 github.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithRecover.func1() pkg/util/wait_group_wrapper.go:199 +0xa6 created by github.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithRecover in goroutine 13175 pkg/util/wait_group_wrapper.go:191 +0x125 goroutine 12460 [select, 13 minutes]: github.com/pingcap/tidb/pkg/ddl.(*JobSubmitter).submitLoop(0xc00653e680) pkg/ddl/job_submitter.go:83 +0x1ac github.com/pingcap/tidb/pkg/ddl.(*ddl).Start.func1() pkg/ddl/ddl.go:809 +0x4c github.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1() pkg/util/wait_group_wrapper.go:167 +0x87 created by github.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run in goroutine 62 pkg/util/wait_group_wrapper.go:165 +0xe5 goroutine 16414 [select]: github.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*Manager).collectLoop(0xc004e36410) pkg/disttask/framework/scheduler/scheduler_manager.go:446 +0x1c5 github.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1() pkg/util/wait_group_wrapper.go:167 +0x87 created by github.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run in goroutine 13296 pkg/util/wait_group_wrapper.go:165 +0xe5 goroutine 13005 [chan receive, 13 minutes]: go.etcd.io/etcd/client/v3/namespace.(*watcherPrefix).Watch.func1() external/io_etcd_go_etcd_client_v3/namespace/watch.go:59 +0x145 created by go.etcd.io/etcd/client/v3/namespace.(*watcherPrefix).Watch in goroutine 13059 external/io_etcd_go_etcd_client_v3/namespace/watch.go:54 +0x550 goroutine 55297 [select]: google.golang.org/grpc/internal/transport.(*controlBuffer).get(0xc009a90370, 0x1) external/org_golang_google_grpc/internal/transport/controlbuf.go:418 +0x1af google.golang.org/grpc/internal/transport.(*loopyWriter).run(0xc00bd16000) external/org_golang_google_grpc/internal/transport/controlbuf.go:551 +0x15b google.golang.org/grpc/internal/transport.newHTTP2Client.func6() external/org_golang_google_grpc/internal/transport/http2_client.go:463 +0x190 created by google.golang.org/grpc/internal/transport.newHTTP2Client in goroutine 55267 external/org_golang_google_grpc/internal/transport/http2_client.go:461 +0x3d6c goroutine 13229 [select]: github.com/pingcap/tidb/pkg/ttl/ttlworker.(*ttlDeleteWorker).loop(0xc005843780) pkg/ttl/ttlworker/del.go:408 +0x6ae github.com/pingcap/tidb/pkg/ttl/ttlworker.(*baseWorker).loop(0xc005843780) pkg/ttl/ttlworker/worker.go:136 +0xb3 github.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1() pkg/util/wait_group_wrapper.go:167 +0x87 created by github.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run in goroutine 13197 pkg/util/wait_group_wrapper.go:165 +0xe5 goroutine 12879 [select]: google.golang.org/grpc/internal/transport.(*http2Client).keepalive(0xc006562248) external/org_golang_google_grpc/internal/transport/http2_client.go:1676 +0x23c created by google.golang.org/grpc/internal/transport.newHTTP2Client in goroutine 12874 external/org_golang_google_grpc/internal/transport/http2_client.go:399 +0x32cb goroutine 13316 [select, 1 minutes]: github.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).recoverMetaLoop(0xc004fa2000) pkg/disttask/framework/taskexecutor/manager.go:267 +0x1c5 github.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1() pkg/util/wait_group_wrapper.go:167 +0x87 created by github.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run in goroutine 13296 pkg/util/wait_group_wrapper.go:165 +0xe5 goroutine 12904 [select, 14 minutes]: google.golang.org/grpc.newClientStreamWithParams.func4() external/org_golang_google_grpc/stream.go:392 +0xe6 created by google.golang.org/grpc.newClientStreamWithParams in goroutine 11535 external/org_golang_google_grpc/stream.go:391 +0x1cc5 goroutine 13104 [select, 4 minutes]: github.com/pingcap/tidb/pkg/domain.(*Domain).LoadPrivilegeLoop.func1() pkg/domain/domain.go:2005 +0x233 github.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1() pkg/util/wait_group_wrapper.go:103 +0xbb created by github.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run in goroutine 62 pkg/util/wait_group_wrapper.go:98 +0x146 goroutine 12873 [select]: google.golang.org/grpc/internal/grpcsync.(*CallbackSerializer).run(0xc00650e420, {0xa7d4ca8, 0xc006464be0}) external/org_golang_google_grpc/internal/grpcsync/callback_serializer.go:76 +0x1eb created by google.golang.org/grpc/internal/grpcsync.NewCallbackSerializer in goroutine 62 external/org_golang_google_grpc/internal/grpcsync/callback_serializer.go:52 +0x207 goroutine 13230 [select]: github.com/pingcap/tidb/pkg/ttl/ttlworker.(*ttlDeleteWorker).loop(0xc005843800) pkg/ttl/ttlworker/del.go:408 +0x6ae github.com/pingcap/tidb/pkg/ttl/ttlworker.(*baseWorker).loop(0xc005843800) pkg/ttl/ttlworker/worker.go:136 +0xb3 github.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1() pkg/util/wait_group_wrapper.go:167 +0x87 created by github.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run in goroutine 13197 pkg/util/wait_group_wrapper.go:165 +0xe5 goroutine 12881 [select]: google.golang.org/grpc/internal/transport.(*controlBuffer).get(0xc006526eb0, 0x1) external/org_golang_google_grpc/internal/transport/controlbuf.go:418 +0x1af google.golang.org/grpc/internal/transport.(*loopyWriter).run(0xc003edc1c0) external/org_golang_google_grpc/internal/transport/controlbuf.go:551 +0x15b google.golang.org/grpc/internal/transport.newHTTP2Client.func6() external/org_golang_google_grpc/internal/transport/http2_client.go:463 +0x190 created by google.golang.org/grpc/internal/transport.newHTTP2Client in goroutine 12874 external/org_golang_google_grpc/internal/transport/http2_client.go:461 +0x3d6c goroutine 12957 [select, 14 minutes]: go.etcd.io/etcd/client/v3.(*watchGrpcStream).serveSubstream(0xc0060231e0, 0xc004ea4000, 0xc00572e070) external/io_etcd_go_etcd_client_v3/watch.go:812 +0x493 created by go.etcd.io/etcd/client/v3.(*watchGrpcStream).run in goroutine 13061 external/io_etcd_go_etcd_client_v3/watch.go:562 +0x8f6 goroutine 16173 [select, 14 minutes]: github.com/pingcap/tidb/pkg/resourcegroup/runaway.(*Manager).RunawayRecordFlushLoop(0xc0052d80e0) pkg/resourcegroup/runaway/manager.go:174 +0x4dc github.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1() pkg/util/wait_group_wrapper.go:103 +0xbb created by github.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run in goroutine 13022 pkg/util/wait_group_wrapper.go:98 +0x146 goroutine 55375 [select]: google.golang.org/grpc/internal/transport.(*controlBuffer).get(0xc004e5bdb0, 0x1) external/org_golang_google_grpc/internal/transport/controlbuf.go:418 +0x1af google.golang.org/grpc/internal/transport.(*loopyWriter).run(0xc00450e770) external/org_golang_google_grpc/internal/transport/controlbuf.go:551 +0x15b google.golang.org/grpc/internal/transport.newHTTP2Client.func6() external/org_golang_google_grpc/internal/transport/http2_client.go:463 +0x190 created by google.golang.org/grpc/internal/transport.newHTTP2Client in goroutine 55271 external/org_golang_google_grpc/internal/transport/http2_client.go:461 +0x3d6c goroutine 394650 [select]: net/http.(*persistConn).writeLoop(0xc00e7347e0) GOROOT/src/net/http/transport.go:2519 +0x1c5 created by net/http.(*Transport).dialConn in goroutine 394647 GOROOT/src/net/http/transport.go:1875 +0x2a3f goroutine 55296 [IO wait]: internal/poll.runtime_pollWait(0x7f2066f9a188, 0x72) GOROOT/src/runtime/netpoll.go:351 +0x85 internal/poll.(*pollDesc).wait(0xc00bcc3520, 0x72, 0x0) GOROOT/src/internal/poll/fd_poll_runtime.go:84 +0xb1 internal/poll.(*pollDesc).waitRead(...) GOROOT/src/internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Read(0xc00bcc3500, {0xc003cc2000, 0x8000, 0x8000}) GOROOT/src/internal/poll/fd_unix.go:165 +0x466 net.(*netFD).Read(0xc00bcc3500, {0xc003cc2000, 0x8000, 0x8000}) GOROOT/src/net/fd_posix.go:55 +0x4b net.(*conn).Read(0xc00bfeb1c0, {0xc003cc2000, 0x8000, 0x8000}) GOROOT/src/net/net.go:189 +0xad bufio.(*Reader).Read(0xc006a5d140, {0xc004654040, 0x9, 0x9}) GOROOT/src/bufio/bufio.go:241 +0x4bf io.ReadAtLeast({0xa7965c0, 0xc006a5d140}, {0xc004654040, 0x9, 0x9}, 0x9) GOROOT/src/io/io.go:335 +0xd0 io.ReadFull(...) GOROOT/src/io/io.go:354 golang.org/x/net/http2.readFrameHeader({0xc004654040, 0x9, 0x9}, {0xa7965c0, 0xc006a5d140}) external/org_golang_x_net/http2/frame.go:242 +0x9a golang.org/x/net/http2.(*Framer).ReadFrame(0xc004654000) external/org_golang_x_net/http2/frame.go:506 +0xf5 google.golang.org/grpc/internal/transport.(*http2Client).reader(0xc00a2a4d88, 0xc00a745ea0) external/org_golang_google_grpc/internal/transport/http2_client.go:1602 +0x2e5 created by google.golang.org/grpc/internal/transport.newHTTP2Client in goroutine 55267 external/org_golang_google_grpc/internal/transport/http2_client.go:409 +0x33ab goroutine 13086 [chan receive, 14 minutes]: go.etcd.io/etcd/client/v3/namespace.(*watcherPrefix).Watch.func1() external/io_etcd_go_etcd_client_v3/namespace/watch.go:59 +0x145 created by go.etcd.io/etcd/client/v3/namespace.(*watcherPrefix).Watch in goroutine 13175 external/io_etcd_go_etcd_client_v3/namespace/watch.go:54 +0x550 goroutine 16352 [select, 14 minutes]: github.com/pingcap/tidb/pkg/timer/tablestore.(*etcdNotifier).Watch.func1() pkg/timer/tablestore/notifier.go:152 +0x4cc created by github.com/pingcap/tidb/pkg/timer/tablestore.(*etcdNotifier).Watch in goroutine 16369 pkg/timer/tablestore/notifier.go:138 +0x1f3 goroutine 15051 [chan receive, 14 minutes]: go.etcd.io/etcd/client/v3/namespace.(*watcherPrefix).Watch.func1() external/io_etcd_go_etcd_client_v3/namespace/watch.go:59 +0x145 created by go.etcd.io/etcd/client/v3/namespace.(*watcherPrefix).Watch in goroutine 16352 external/io_etcd_go_etcd_client_v3/namespace/watch.go:54 +0x550 goroutine 13058 [select]: github.com/pingcap/tidb/pkg/ddl.(*jobScheduler).schedule(0xc006023110) pkg/ddl/job_scheduler.go:316 +0x939 github.com/pingcap/tidb/pkg/ddl.(*jobScheduler).scheduleLoop(0xc006023110) pkg/ddl/job_scheduler.go:268 +0x3f github.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1() pkg/util/wait_group_wrapper.go:181 +0xb3 created by github.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog in goroutine 13014 pkg/util/wait_group_wrapper.go:174 +0xe5 goroutine 55293 [select]: google.golang.org/grpc/internal/transport.(*controlBuffer).get(0xc009a90230, 0x1) external/org_golang_google_grpc/internal/transport/controlbuf.go:418 +0x1af google.golang.org/grpc/internal/transport.(*loopyWriter).run(0xc00a745e30) external/org_golang_google_grpc/internal/transport/controlbuf.go:551 +0x15b google.golang.org/grpc/internal/transport.newHTTP2Client.func6() external/org_golang_google_grpc/internal/transport/http2_client.go:463 +0x190 created by google.golang.org/grpc/internal/transport.newHTTP2Client in goroutine 55390 external/org_golang_google_grpc/internal/transport/http2_client.go:461 +0x3d6c goroutine 13211 [select, 14 minutes]: github.com/pingcap/tidb/pkg/timer/tablestore.(*etcdNotifier).notifyLoop(0xc003edfc00) pkg/timer/tablestore/notifier.go:235 +0x26f created by github.com/pingcap/tidb/pkg/timer/tablestore.NewEtcdNotifier in goroutine 13197 pkg/timer/tablestore/notifier.go:123 +0x5f4 goroutine 12452 [select]: github.com/tikv/pd/client/resource_group/controller.(*ResourceGroupsController).Start.func1() external/com_github_tikv_pd_client/resource_group/controller/controller.go:289 +0x13b3 created by github.com/tikv/pd/client/resource_group/controller.(*ResourceGroupsController).Start in goroutine 62 external/com_github_tikv_pd_client/resource_group/controller/controller.go:240 +0x185 goroutine 15745 [select, 14 minutes]: go.etcd.io/etcd/client/v3.(*watchGrpcStream).serveSubstream(0xc002651a00, 0xc00450b130, 0xc0059bd960) external/io_etcd_go_etcd_client_v3/watch.go:812 +0x493 created by go.etcd.io/etcd/client/v3.(*watchGrpcStream).run in goroutine 12949 external/io_etcd_go_etcd_client_v3/watch.go:562 +0x8f6 goroutine 12428 [IO wait]: internal/poll.runtime_pollWait(0x7f219e3b08f0, 0x72) GOROOT/src/runtime/netpoll.go:351 +0x85 internal/poll.(*pollDesc).wait(0xc006272920, 0x72, 0x0) GOROOT/src/internal/poll/fd_poll_runtime.go:84 +0xb1 internal/poll.(*pollDesc).waitRead(...) GOROOT/src/internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Read(0xc006272900, {0xc006604000, 0x8000, 0x8000}) GOROOT/src/internal/poll/fd_unix.go:165 +0x466 net.(*netFD).Read(0xc006272900, {0xc006604000, 0x8000, 0x8000}) GOROOT/src/net/fd_posix.go:55 +0x4b net.(*conn).Read(0xc004f000a0, {0xc006604000, 0x8000, 0x8000}) GOROOT/src/net/net.go:189 +0xad bufio.(*Reader).Read(0xc0043f7620, {0xc0061762e0, 0x9, 0x9}) GOROOT/src/bufio/bufio.go:241 +0x4bf io.ReadAtLeast({0xa7965c0, 0xc0043f7620}, {0xc0061762e0, 0x9, 0x9}, 0x9) GOROOT/src/io/io.go:335 +0xd0 io.ReadFull(...) GOROOT/src/io/io.go:354 golang.org/x/net/http2.readFrameHeader({0xc0061762e0, 0x9, 0x9}, {0xa7965c0, 0xc0043f7620}) external/org_golang_x_net/http2/frame.go:242 +0x9a golang.org/x/net/http2.(*Framer).ReadFrame(0xc0061762a0) external/org_golang_x_net/http2/frame.go:506 +0xf5 google.golang.org/grpc/internal/transport.(*http2Client).reader(0xc00616c488, 0xc00567d2d0) external/org_golang_google_grpc/internal/transport/http2_client.go:1602 +0x2e5 created by google.golang.org/grpc/internal/transport.newHTTP2Client in goroutine 12898 external/org_golang_google_grpc/internal/transport/http2_client.go:409 +0x33ab goroutine 12955 [select, 14 minutes]: google.golang.org/grpc.newClientStreamWithParams.func4() external/org_golang_google_grpc/stream.go:392 +0xe6 created by google.golang.org/grpc.newClientStreamWithParams in goroutine 13061 external/org_golang_google_grpc/stream.go:391 +0x1cc5 goroutine 13024 [select]: github.com/pingcap/tidb/pkg/domain.(*Domain).topologySyncerKeeper(0xc00654e008) pkg/domain/domain.go:979 +0x28c github.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1() pkg/util/wait_group_wrapper.go:103 +0xbb created by github.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run in goroutine 62 pkg/util/wait_group_wrapper.go:98 +0x146 goroutine 12956 [select, 14 minutes]: google.golang.org/grpc/internal/transport.(*recvBufferReader).readClient(0xc0062140f0, {0xc00618a280, 0x5, 0x5}) external/org_golang_google_grpc/internal/transport/transport.go:193 +0x136 google.golang.org/grpc/internal/transport.(*recvBufferReader).Read(0xc0062140f0, {0xc00618a280, 0x5, 0x5}) external/org_golang_google_grpc/internal/transport/transport.go:173 +0x35b google.golang.org/grpc/internal/transport.(*transportReader).Read(0xc00618a240, {0xc00618a280, 0x5, 0x5}) external/org_golang_google_grpc/internal/transport/transport.go:525 +0x5d io.ReadAtLeast({0xa79fa00, 0xc00618a240}, {0xc00618a280, 0x5, 0x5}, 0x5) GOROOT/src/io/io.go:335 +0xd0 io.ReadFull(...) GOROOT/src/io/io.go:354 google.golang.org/grpc/internal/transport.(*Stream).Read(0xc0001630e0, {0xc00618a280, 0x5, 0x5}) external/org_golang_google_grpc/internal/transport/transport.go:509 +0x127 google.golang.org/grpc.(*parser).recvMsg(0xc00618a270, 0x7fffffff) external/org_golang_google_grpc/rpc_util.go:614 +0x6e google.golang.org/grpc.recvAndDecompress(0xc00618a270, 0xc0001630e0, {0x0, 0x0}, 0x7fffffff, 0x0, {0x0, 0x0}) external/org_golang_google_grpc/rpc_util.go:753 +0x93 google.golang.org/grpc.recv(0xc00618a270, {0x7f219e3a44d0, 0xf9fc700}, 0xc0001630e0, {0x0, 0x0}, {0x977d360, 0xc005fdf490}, 0x7fffffff, 0x0, ...) external/org_golang_google_grpc/rpc_util.go:833 +0xbd google.golang.org/grpc.(*csAttempt).recvMsg(0xc0063a60d0, {0x977d360, 0xc005fdf490}, 0x0) external/org_golang_google_grpc/stream.go:1085 +0x568 google.golang.org/grpc.(*clientStream).RecvMsg.func1(0xc0063a60d0) external/org_golang_google_grpc/stream.go:928 +0x51 google.golang.org/grpc.(*clientStream).withRetry(0xc000162d80, 0xc004e07de8, 0xc004e07e48) external/org_golang_google_grpc/stream.go:761 +0x478 google.golang.org/grpc.(*clientStream).RecvMsg(0xc000162d80, {0x977d360, 0xc005fdf490}) external/org_golang_google_grpc/stream.go:927 +0x1c7 go.etcd.io/etcd/api/v3/etcdserverpb.(*watchWatchClient).Recv(0xc0036c80d0) external/io_etcd_go_etcd_api_v3/etcdserverpb/rpc.pb.go:6714 +0x66 go.etcd.io/etcd/client/v3.(*watchGrpcStream).serveWatchClient(0xc0060231e0, {0xa7f5200, 0xc0036c80d0}) external/io_etcd_go_etcd_client_v3/watch.go:766 +0x67 created by go.etcd.io/etcd/client/v3.(*watchGrpcStream).newWatchClient in goroutine 13061 external/io_etcd_go_etcd_client_v3/watch.go:921 +0xa77 goroutine 13001 [chan receive]: go.etcd.io/etcd/client/v3/concurrency.NewSession.func1() external/io_etcd_go_etcd_client_v3/concurrency/session.go:66 +0xaa created by go.etcd.io/etcd/client/v3/concurrency.NewSession in goroutine 62 external/io_etcd_go_etcd_client_v3/concurrency/session.go:64 +0x508 goroutine 12968 [select, 14 minutes]: github.com/pingcap/tidb/pkg/owner.(*ownerManager).watchOwner(0xc005ed6870, {0xa7d4ca8, 0xc005115720}, 0xc00293c8a0, {0xc005862810, 0x25}, 0x11c) pkg/owner/manager.go:587 +0x4cc github.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignAndWatch(0xc005ed6870, {0xa7d4ca8, 0xc005115720}) pkg/owner/manager.go:419 +0x425 github.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop(0xc005ed6870, {0xa7d4ca8, 0xc005115720}) pkg/owner/manager.go:390 +0x345 created by github.com/pingcap/tidb/pkg/owner.(*ownerManager).CampaignOwner in goroutine 62 pkg/owner/manager.go:300 +0x417 goroutine 13190 [select, 14 minutes]: github.com/pingcap/tidb/pkg/statistics/handle/syncload.(*statsSyncLoad).drainColTask(0xc0054ce030, 0xc006534310) pkg/statistics/handle/syncload/stats_syncload.go:535 +0x193 github.com/pingcap/tidb/pkg/statistics/handle/syncload.(*statsSyncLoad).HandleOneTask(0xc0054ce030, 0x0, 0xc006534310) pkg/statistics/handle/syncload/stats_syncload.go:300 +0xe7 github.com/pingcap/tidb/pkg/statistics/handle/syncload.(*statsSyncLoad).SubLoadWorker(0xc0054ce030, 0xc006534310, 0xc0062d02d0) pkg/statistics/handle/syncload/stats_syncload.go:257 +0xd3 created by github.com/pingcap/tidb/pkg/domain.(*Domain).StartLoadStatsSubWorkers in goroutine 62 pkg/domain/domain.go:2606 +0x70 goroutine 13060 [select, 14 minutes]: context.(*cancelCtx).propagateCancel.func2() GOROOT/src/context/context.go:510 +0xdd created by context.(*cancelCtx).propagateCancel in goroutine 13014 GOROOT/src/context/context.go:509 +0x572 goroutine 13315 [select]: github.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).handleTasksLoop(0xc004fa2000) pkg/disttask/framework/taskexecutor/manager.go:144 +0x2b2 github.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1() pkg/util/wait_group_wrapper.go:167 +0x87 created by github.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run in goroutine 13296 pkg/util/wait_group_wrapper.go:165 +0xe5 goroutine 12864 [select]: github.com/pingcap/tidb/br/pkg/streamhelper/daemon.(*OwnerDaemon).Begin.func1() br/pkg/streamhelper/daemon/owner_daemon.go:85 +0x2ef github.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1() pkg/util/wait_group_wrapper.go:103 +0xbb created by github.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run in goroutine 62 pkg/util/wait_group_wrapper.go:98 +0x146 goroutine 13226 [select]: github.com/pingcap/tidb/pkg/ttl/ttlworker.(*ttlScanWorker).loop(0xc005376b40) pkg/ttl/ttlworker/scan.go:379 +0x28c github.com/pingcap/tidb/pkg/ttl/ttlworker.(*baseWorker).loop(0xc005376b40) pkg/ttl/ttlworker/worker.go:136 +0xb3 github.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1() pkg/util/wait_group_wrapper.go:167 +0x87 created by github.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run in goroutine 13197 pkg/util/wait_group_wrapper.go:165 +0xe5 goroutine 55295 [select]: google.golang.org/grpc/internal/transport.(*http2Client).keepalive(0xc00a2a4d88) external/org_golang_google_grpc/internal/transport/http2_client.go:1676 +0x23c created by google.golang.org/grpc/internal/transport.newHTTP2Client in goroutine 55267 external/org_golang_google_grpc/internal/transport/http2_client.go:399 +0x32cb goroutine 55429 [select]: google.golang.org/grpc/internal/transport.(*recvBufferReader).readClient(0xc00c3242d0, {0xc0042cb210, 0x5, 0x5}) external/org_golang_google_grpc/internal/transport/transport.go:193 +0x136 google.golang.org/grpc/internal/transport.(*recvBufferReader).Read(0xc00c3242d0, {0xc0042cb210, 0x5, 0x5}) external/org_golang_google_grpc/internal/transport/transport.go:173 +0x35b google.golang.org/grpc/internal/transport.(*transportReader).Read(0xc0042cb1d0, {0xc0042cb210, 0x5, 0x5}) external/org_golang_google_grpc/internal/transport/transport.go:525 +0x5d io.ReadAtLeast({0xa79fa00, 0xc0042cb1d0}, {0xc0042cb210, 0x5, 0x5}, 0x5) GOROOT/src/io/io.go:335 +0xd0 io.ReadFull(...) GOROOT/src/io/io.go:354 google.golang.org/grpc/internal/transport.(*Stream).Read(0xc035df9b00, {0xc0042cb210, 0x5, 0x5}) external/org_golang_google_grpc/internal/transport/transport.go:509 +0x127 google.golang.org/grpc.(*parser).recvMsg(0xc0042cb200, 0x7ffffffffffffffe) external/org_golang_google_grpc/rpc_util.go:614 +0x6e google.golang.org/grpc.recvAndDecompress(0xc0042cb200, 0xc035df9b00, {0x0, 0x0}, 0x7ffffffffffffffe, 0x0, {0x0, 0x0}) external/org_golang_google_grpc/rpc_util.go:753 +0x93 google.golang.org/grpc.recv(0xc0042cb200, {0x7f219e3a44d0, 0xf9fc700}, 0xc035df9b00, {0x0, 0x0}, {0x972aa80, 0xc003ccb600}, 0x7ffffffffffffffe, 0x0, ...) external/org_golang_google_grpc/rpc_util.go:833 +0xbd google.golang.org/grpc.(*csAttempt).recvMsg(0xc001e54b60, {0x972aa80, 0xc003ccb600}, 0x0) external/org_golang_google_grpc/stream.go:1085 +0x568 google.golang.org/grpc.(*clientStream).RecvMsg.func1(0xc001e54b60) external/org_golang_google_grpc/stream.go:928 +0x51 google.golang.org/grpc.(*clientStream).withRetry(0xc035df98c0, 0xc01462f8a8, 0xc01462f908) external/org_golang_google_grpc/stream.go:761 +0x478 google.golang.org/grpc.(*clientStream).RecvMsg(0xc035df98c0, {0x972aa80, 0xc003ccb600}) external/org_golang_google_grpc/stream.go:927 +0x1c7 github.com/pingcap/kvproto/pkg/tikvpb.(*tikvBatchCommandsClient).Recv(0xc0064d39b0) external/com_github_pingcap_kvproto/pkg/tikvpb/tikvpb.pb.go:2275 +0x66 github.com/tikv/client-go/v2/internal/client.(*batchCommandsStream).recv(0xc035579e60) external/com_github_tikv_client_go_v2/internal/client/client_batch.go:724 +0x247 github.com/tikv/client-go/v2/internal/client.(*batchCommandsClient).batchRecvLoop(_, {0x4, 0xa, 0x4008000000000000, {0x993dd92, 0x4}, 0x0, 0x8000000, 0x8000000, {0x993ce5d, ...}, ...}, ...) external/com_github_tikv_client_go_v2/internal/client/client_batch.go:955 +0x198 created by github.com/tikv/client-go/v2/internal/client.(*batchCommandsClient).initBatchClient in goroutine 55377 external/com_github_tikv_client_go_v2/internal/client/client_batch.go:1112 +0x448 goroutine 13191 [select, 14 minutes]: github.com/pingcap/tidb/pkg/statistics/handle/syncload.(*statsSyncLoad).drainColTask(0xc0054ce030, 0xc006534310) pkg/statistics/handle/syncload/stats_syncload.go:535 +0x193 github.com/pingcap/tidb/pkg/statistics/handle/syncload.(*statsSyncLoad).HandleOneTask(0xc0054ce030, 0x0, 0xc006534310) pkg/statistics/handle/syncload/stats_syncload.go:300 +0xe7 github.com/pingcap/tidb/pkg/statistics/handle/syncload.(*statsSyncLoad).SubLoadWorker(0xc0054ce030, 0xc006534310, 0xc0062d02d0) pkg/statistics/handle/syncload/stats_syncload.go:257 +0xd3 created by github.com/pingcap/tidb/pkg/domain.(*Domain).StartLoadStatsSubWorkers in goroutine 62 pkg/domain/domain.go:2606 +0x70 goroutine 12916 [chan receive]: go.etcd.io/etcd/client/v3/concurrency.NewSession.func1() external/io_etcd_go_etcd_client_v3/concurrency/session.go:66 +0xaa created by go.etcd.io/etcd/client/v3/concurrency.NewSession in goroutine 62 external/io_etcd_go_etcd_client_v3/concurrency/session.go:64 +0x508 goroutine 12861 [chan receive, 14 minutes]: go.etcd.io/etcd/client/v3/namespace.(*watcherPrefix).Watch.func1() external/io_etcd_go_etcd_client_v3/namespace/watch.go:59 +0x145 created by go.etcd.io/etcd/client/v3/namespace.(*watcherPrefix).Watch in goroutine 62 external/io_etcd_go_etcd_client_v3/namespace/watch.go:54 +0x550 goroutine 12453 [select, 14 minutes]: github.com/jellydator/ttlcache/v3.(*Cache[...]).Start(0xa889a00) external/com_github_jellydator_ttlcache_v3/cache.go:421 +0x28c created by github.com/pingcap/tidb/pkg/resourcegroup/runaway.NewRunawayManager in goroutine 62 pkg/resourcegroup/runaway/manager.go:102 +0x3bc goroutine 55269 [select, 14 minutes]: google.golang.org/grpc/internal/grpcsync.(*CallbackSerializer).run(0xc00fac5920, {0xa7d4ca8, 0xc00b8e0b90}) external/org_golang_google_grpc/internal/grpcsync/callback_serializer.go:76 +0x1eb created by google.golang.org/grpc/internal/grpcsync.NewCallbackSerializer in goroutine 53714 external/org_golang_google_grpc/internal/grpcsync/callback_serializer.go:52 +0x207 goroutine 13117 [select]: github.com/pingcap/tidb/pkg/domain.(*Domain).LoadSysVarCacheLoop.func1() pkg/domain/domain.go:2074 +0x230 github.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1() pkg/util/wait_group_wrapper.go:103 +0xbb created by github.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run in goroutine 62 pkg/util/wait_group_wrapper.go:98 +0x146 goroutine 12999 [select, 14 minutes]: go.etcd.io/etcd/client/v3.(*watchGrpcStream).serveSubstream(0xc002651a00, 0xc0061662c0, 0xc0059bd960) external/io_etcd_go_etcd_client_v3/watch.go:812 +0x493 created by go.etcd.io/etcd/client/v3.(*watchGrpcStream).run in goroutine 12949 external/io_etcd_go_etcd_client_v3/watch.go:562 +0x8f6 goroutine 12966 [select, 14 minutes]: go.etcd.io/etcd/client/v3.(*lessor).keepAliveCtxCloser(0xc0016ce000, {0xa7d4ca8, 0xc0051156d0}, 0x3eaa9600d42a1e97, 0xc00645bc00) external/io_etcd_go_etcd_client_v3/lease.go:332 +0x133 created by go.etcd.io/etcd/client/v3.(*lessor).KeepAlive in goroutine 62 external/io_etcd_go_etcd_client_v3/lease.go:298 +0x832 goroutine 13157 [select, 14 minutes]: go.etcd.io/etcd/client/v3.(*watchGrpcStream).serveSubstream(0xc002651a00, 0xc0055fe160, 0xc0059bd960) external/io_etcd_go_etcd_client_v3/watch.go:812 +0x493 created by go.etcd.io/etcd/client/v3.(*watchGrpcStream).run in goroutine 12949 external/io_etcd_go_etcd_client_v3/watch.go:562 +0x8f6 goroutine 55908 [select, 14 minutes]: google.golang.org/grpc.newClientStreamWithParams.func4() external/org_golang_google_grpc/stream.go:392 +0xe6 created by google.golang.org/grpc.newClientStreamWithParams in goroutine 55377 external/org_golang_google_grpc/stream.go:391 +0x1cc5 goroutine 13004 [chan receive, 14 minutes]: go.etcd.io/etcd/client/v3/namespace.(*watcherPrefix).Watch.func1() external/io_etcd_go_etcd_client_v3/namespace/watch.go:59 +0x145 created by go.etcd.io/etcd/client/v3/namespace.(*watcherPrefix).Watch in goroutine 13058 external/io_etcd_go_etcd_client_v3/namespace/watch.go:54 +0x550 goroutine 13059 [select, 13 minutes]: github.com/pingcap/tidb/pkg/ddl/schemaver.(*etcdSyncer).syncJobSchemaVer(0xc006540620, {0xa7d4ca8, 0xc00438ec80}) pkg/ddl/schemaver/syncer.go:483 +0x84e github.com/pingcap/tidb/pkg/ddl/schemaver.(*etcdSyncer).SyncJobSchemaVerLoop(0xc006540620, {0xa7d4ca8, 0xc00438ec80}) pkg/ddl/schemaver/syncer.go:444 +0x59 github.com/pingcap/tidb/pkg/ddl.(*jobScheduler).start.func2() pkg/ddl/job_scheduler.go:187 +0x73 github.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1() pkg/util/wait_group_wrapper.go:181 +0xb3 created by github.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog in goroutine 13014 pkg/util/wait_group_wrapper.go:174 +0xe5 goroutine 12862 [select, 14 minutes]: github.com/pingcap/tidb/br/pkg/streamhelper.AdvancerExt.startListen.func3() br/pkg/streamhelper/advancer_cliext.go:185 +0x26f created by github.com/pingcap/tidb/br/pkg/streamhelper.AdvancerExt.startListen in goroutine 62 br/pkg/streamhelper/advancer_cliext.go:182 +0x87d goroutine 12905 [select]: go.etcd.io/etcd/client/v3.(*lessor).sendKeepAliveLoop(0xc0016ce000, {0xa7f51a8, 0xc00650f900}) external/io_etcd_go_etcd_client_v3/lease.go:590 +0x265 created by go.etcd.io/etcd/client/v3.(*lessor).resetRecv in goroutine 11535 external/io_etcd_go_etcd_client_v3/lease.go:500 +0x485 goroutine 13076 [select, 14 minutes]: go.etcd.io/etcd/client/v3.(*watchGrpcStream).serveSubstream(0xc002651a00, 0xc002342dc0, 0xc0059bd960) external/io_etcd_go_etcd_client_v3/watch.go:812 +0x493 created by go.etcd.io/etcd/client/v3.(*watchGrpcStream).run in goroutine 12949 external/io_etcd_go_etcd_client_v3/watch.go:562 +0x8f6 goroutine 55358 [select, 14 minutes]: google.golang.org/grpc/internal/grpcsync.(*CallbackSerializer).run(0xc0009da2a0, {0xa7d4ca8, 0xc00c4fb540}) external/org_golang_google_grpc/internal/grpcsync/callback_serializer.go:76 +0x1eb created by google.golang.org/grpc/internal/grpcsync.NewCallbackSerializer in goroutine 53714 external/org_golang_google_grpc/internal/grpcsync/callback_serializer.go:52 +0x207 goroutine 13025 [select]: github.com/pingcap/tidb/pkg/domain.(*Domain).closestReplicaReadCheckLoop(0xc00654e008, {0xa7d4ca8, 0xc006527810}, {0xa870dd0, 0xc000145460}) pkg/domain/domain.go:1627 +0x37c github.com/pingcap/tidb/pkg/domain.(*Domain).Start.func3() pkg/domain/domain.go:1553 +0x6b github.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1() pkg/util/wait_group_wrapper.go:103 +0xbb created by github.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run in goroutine 62 pkg/util/wait_group_wrapper.go:98 +0x146 goroutine 13231 [select]: github.com/pingcap/tidb/pkg/ttl/ttlworker.(*ttlDeleteWorker).loop(0xc005843880) pkg/ttl/ttlworker/del.go:408 +0x6ae github.com/pingcap/tidb/pkg/ttl/ttlworker.(*baseWorker).loop(0xc005843880) pkg/ttl/ttlworker/worker.go:136 +0xb3 github.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1() pkg/util/wait_group_wrapper.go:167 +0x87 created by github.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run in goroutine 13197 pkg/util/wait_group_wrapper.go:165 +0xe5 goroutine 13131 [chan receive, 14 minutes]: go.etcd.io/etcd/client/v3/namespace.(*watcherPrefix).Watch.func1() external/io_etcd_go_etcd_client_v3/namespace/watch.go:59 +0x145 created by go.etcd.io/etcd/client/v3/namespace.(*watcherPrefix).Watch in goroutine 13212 external/io_etcd_go_etcd_client_v3/namespace/watch.go:54 +0x550 goroutine 13061 [select, 14 minutes]: go.etcd.io/etcd/client/v3.(*watchGrpcStream).run(0xc0060231e0) external/io_etcd_go_etcd_client_v3/watch.go:545 +0x4d0 created by go.etcd.io/etcd/client/v3.(*watcher).newWatcherGrpcStream in goroutine 13014 external/io_etcd_go_etcd_client_v3/watch.go:292 +0x6c7 goroutine 13212 [chan receive, 14 minutes]: github.com/pingcap/tidb/pkg/ttl/client.(*etcdClient).WatchCommand.func1() pkg/ttl/client/command.go:274 +0x23d created by github.com/pingcap/tidb/pkg/ttl/client.(*etcdClient).WatchCommand in goroutine 13197 pkg/ttl/client/command.go:266 +0x129 goroutine 13017 [select]: github.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop(0xc00654e008, {0xa7d4ca8, 0xc006527810}) pkg/domain/domain.go:1147 +0x2f3 github.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2() pkg/domain/domain.go:1538 +0x53 github.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1() pkg/util/wait_group_wrapper.go:103 +0xbb created by github.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run in goroutine 62 pkg/util/wait_group_wrapper.go:98 +0x146 goroutine 16411 [select]: github.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*Manager).scheduleTaskLoop(0xc004e36410) pkg/disttask/framework/scheduler/scheduler_manager.go:202 +0x21b github.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1() pkg/util/wait_group_wrapper.go:167 +0x87 created by github.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run in goroutine 13296 pkg/util/wait_group_wrapper.go:165 +0xe5 goroutine 13102 [chan receive, 14 minutes]: go.etcd.io/etcd/client/v3/namespace.(*watcherPrefix).Watch.func1() external/io_etcd_go_etcd_client_v3/namespace/watch.go:59 +0x145 created by go.etcd.io/etcd/client/v3/namespace.(*watcherPrefix).Watch in goroutine 12968 external/io_etcd_go_etcd_client_v3/namespace/watch.go:54 +0x550 goroutine 13018 [select]: github.com/pingcap/tidb/pkg/domain.(*Domain).mdlCheckLoop(0xc00654e008) pkg/domain/domain.go:1061 +0x1bc github.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1() pkg/util/wait_group_wrapper.go:103 +0xbb created by github.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run in goroutine 62 pkg/util/wait_group_wrapper.go:98 +0x146 goroutine 55274 [select, 14 minutes]: google.golang.org/grpc/internal/grpcsync.(*CallbackSerializer).run(0xc00455e120, {0xa7d4ca8, 0xc00b8e1310}) external/org_golang_google_grpc/internal/grpcsync/callback_serializer.go:76 +0x1eb created by google.golang.org/grpc/internal/grpcsync.NewCallbackSerializer in goroutine 53714 external/org_golang_google_grpc/internal/grpcsync/callback_serializer.go:52 +0x207 goroutine 13227 [select]: github.com/pingcap/tidb/pkg/ttl/ttlworker.(*ttlScanWorker).loop(0xc005376bd0) pkg/ttl/ttlworker/scan.go:379 +0x28c github.com/pingcap/tidb/pkg/ttl/ttlworker.(*baseWorker).loop(0xc005376bd0) pkg/ttl/ttlworker/worker.go:136 +0xb3 github.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1() pkg/util/wait_group_wrapper.go:167 +0x87 created by github.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run in goroutine 13197 pkg/util/wait_group_wrapper.go:165 +0xe5 goroutine 13062 [select, 14 minutes]: go.etcd.io/etcd/client/v3.(*watchGrpcStream).serveSubstream(0xc002651a00, 0xc0060fa210, 0xc0059bd960) external/io_etcd_go_etcd_client_v3/watch.go:812 +0x493 created by go.etcd.io/etcd/client/v3.(*watchGrpcStream).run in goroutine 12949 external/io_etcd_go_etcd_client_v3/watch.go:562 +0x8f6 goroutine 13192 [select, 14 minutes]: github.com/pingcap/tidb/pkg/statistics/handle/syncload.(*statsSyncLoad).drainColTask(0xc0054ce030, 0xc006534310) pkg/statistics/handle/syncload/stats_syncload.go:535 +0x193 github.com/pingcap/tidb/pkg/statistics/handle/syncload.(*statsSyncLoad).HandleOneTask(0xc0054ce030, 0x0, 0xc006534310) pkg/statistics/handle/syncload/stats_syncload.go:300 +0xe7 github.com/pingcap/tidb/pkg/statistics/handle/syncload.(*statsSyncLoad).SubLoadWorker(0xc0054ce030, 0xc006534310, 0xc0062d02d0) pkg/statistics/handle/syncload/stats_syncload.go:257 +0xd3 created by github.com/pingcap/tidb/pkg/domain.(*Domain).StartLoadStatsSubWorkers in goroutine 62 pkg/domain/domain.go:2606 +0x70 goroutine 16417 [select]: github.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*balancer).balanceLoop(0xc004e5a280, {0xa7d4ca8, 0xc004e5a1e0}, 0xc004e36410) pkg/disttask/framework/scheduler/balancer.go:66 +0x10d github.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*Manager).Start.func3() pkg/disttask/framework/scheduler/scheduler_manager.go:170 +0x65 github.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1() pkg/util/wait_group_wrapper.go:167 +0x87 created by github.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run in goroutine 13296 pkg/util/wait_group_wrapper.go:165 +0xe5 goroutine 13103 [chan receive, 14 minutes]: go.etcd.io/etcd/client/v3/namespace.(*watcherPrefix).Watch.func1() external/io_etcd_go_etcd_client_v3/namespace/watch.go:59 +0x145 created by go.etcd.io/etcd/client/v3/namespace.(*watcherPrefix).Watch in goroutine 62 external/io_etcd_go_etcd_client_v3/namespace/watch.go:54 +0x550 goroutine 13116 [chan receive, 14 minutes]: go.etcd.io/etcd/client/v3/namespace.(*watcherPrefix).Watch.func1() external/io_etcd_go_etcd_client_v3/namespace/watch.go:59 +0x145 created by go.etcd.io/etcd/client/v3/namespace.(*watcherPrefix).Watch in goroutine 62 external/io_etcd_go_etcd_client_v3/namespace/watch.go:54 +0x550 goroutine 13193 [select, 14 minutes]: github.com/pingcap/tidb/pkg/statistics/handle/syncload.(*statsSyncLoad).drainColTask(0xc0054ce030, 0xc006534310) pkg/statistics/handle/syncload/stats_syncload.go:535 +0x193 github.com/pingcap/tidb/pkg/statistics/handle/syncload.(*statsSyncLoad).HandleOneTask(0xc0054ce030, 0x0, 0xc006534310) pkg/statistics/handle/syncload/stats_syncload.go:300 +0xe7 github.com/pingcap/tidb/pkg/statistics/handle/syncload.(*statsSyncLoad).SubLoadWorker(0xc0054ce030, 0xc006534310, 0xc0062d02d0) pkg/statistics/handle/syncload/stats_syncload.go:257 +0xd3 created by github.com/pingcap/tidb/pkg/domain.(*Domain).StartLoadStatsSubWorkers in goroutine 62 pkg/domain/domain.go:2606 +0x70 goroutine 13194 [select]: github.com/pingcap/tidb/pkg/domain.(*Domain).planCacheEvictTrigger(0xc00654e008) pkg/domain/domain.go:3466 +0x1bd github.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1() pkg/util/wait_group_wrapper.go:103 +0xbb created by github.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run in goroutine 62 pkg/util/wait_group_wrapper.go:98 +0x146 goroutine 13115 [select, 14 minutes]: go.etcd.io/etcd/client/v3.(*watchGrpcStream).serveSubstream(0xc002651a00, 0xc001ce8f20, 0xc0059bd960) external/io_etcd_go_etcd_client_v3/watch.go:812 +0x493 created by go.etcd.io/etcd/client/v3.(*watchGrpcStream).run in goroutine 12949 external/io_etcd_go_etcd_client_v3/watch.go:562 +0x8f6 goroutine 16174 [select]: github.com/pingcap/tidb/pkg/resourcegroup/runaway.(*Manager).RunawayWatchSyncLoop(0xc0052d80e0) pkg/resourcegroup/runaway/manager.go:232 +0x133 github.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1() pkg/util/wait_group_wrapper.go:103 +0xbb created by github.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run in goroutine 13022 pkg/util/wait_group_wrapper.go:98 +0x146 goroutine 16416 [select]: github.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*NodeManager).refreshNodesLoop(0xc0012333e0, {0xa7d4ca8, 0xc004e5a1e0}, {0xa832cf0, 0xc0034c3510}, 0xc004e5a230) pkg/disttask/framework/scheduler/nodes.go:124 +0x1c5 github.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*Manager).Start.func2() pkg/disttask/framework/scheduler/scheduler_manager.go:167 +0xb7 github.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1() pkg/util/wait_group_wrapper.go:167 +0x87 created by github.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run in goroutine 13296 pkg/util/wait_group_wrapper.go:165 +0xe5 goroutine 55428 [select, 14 minutes]: google.golang.org/grpc.newClientStreamWithParams.func4() external/org_golang_google_grpc/stream.go:392 +0xe6 created by google.golang.org/grpc.newClientStreamWithParams in goroutine 55377 external/org_golang_google_grpc/stream.go:391 +0x1cc5 goroutine 55420 [select]: google.golang.org/grpc/internal/transport.(*recvBufferReader).readClient(0xc009a90ff0, {0xc003dfc490, 0x5, 0x5}) external/org_golang_google_grpc/internal/transport/transport.go:193 +0x136 google.golang.org/grpc/internal/transport.(*recvBufferReader).Read(0xc009a90ff0, {0xc003dfc490, 0x5, 0x5}) external/org_golang_google_grpc/internal/transport/transport.go:173 +0x35b google.golang.org/grpc/internal/transport.(*transportReader).Read(0xc003dfc450, {0xc003dfc490, 0x5, 0x5}) external/org_golang_google_grpc/internal/transport/transport.go:525 +0x5d io.ReadAtLeast({0xa79fa00, 0xc003dfc450}, {0xc003dfc490, 0x5, 0x5}, 0x5) GOROOT/src/io/io.go:335 +0xd0 io.ReadFull(...) GOROOT/src/io/io.go:354 google.golang.org/grpc/internal/transport.(*Stream).Read(0xc00ab52000, {0xc003dfc490, 0x5, 0x5}) external/org_golang_google_grpc/internal/transport/transport.go:509 +0x127 google.golang.org/grpc.(*parser).recvMsg(0xc003dfc480, 0x7ffffffffffffffe) external/org_golang_google_grpc/rpc_util.go:614 +0x6e google.golang.org/grpc.recvAndDecompress(0xc003dfc480, 0xc00ab52000, {0x0, 0x0}, 0x7ffffffffffffffe, 0x0, {0x0, 0x0}) external/org_golang_google_grpc/rpc_util.go:753 +0x93 google.golang.org/grpc.recv(0xc003dfc480, {0x7f219e3a44d0, 0xf9fc700}, 0xc00ab52000, {0x0, 0x0}, {0x972aa80, 0xc01bb98580}, 0x7ffffffffffffffe, 0x0, ...) external/org_golang_google_grpc/rpc_util.go:833 +0xbd google.golang.org/grpc.(*csAttempt).recvMsg(0xc00d5bbc70, {0x972aa80, 0xc01bb98580}, 0x0) external/org_golang_google_grpc/stream.go:1085 +0x568 google.golang.org/grpc.(*clientStream).RecvMsg.func1(0xc00d5bbc70) external/org_golang_google_grpc/stream.go:928 +0x51 google.golang.org/grpc.(*clientStream).withRetry(0xc00adb3d40, 0xc009f238a8, 0xc009f23908) external/org_golang_google_grpc/stream.go:761 +0x478 google.golang.org/grpc.(*clientStream).RecvMsg(0xc00adb3d40, {0x972aa80, 0xc01bb98580}) external/org_golang_google_grpc/stream.go:927 +0x1c7 github.com/pingcap/kvproto/pkg/tikvpb.(*tikvBatchCommandsClient).Recv(0xc0059e32c0) external/com_github_pingcap_kvproto/pkg/tikvpb/tikvpb.pb.go:2275 +0x66 github.com/tikv/client-go/v2/internal/client.(*batchCommandsStream).recv(0xc00e2010e0) external/com_github_tikv_client_go_v2/internal/client/client_batch.go:724 +0x247 github.com/tikv/client-go/v2/internal/client.(*batchCommandsClient).batchRecvLoop(_, {0x4, 0xa, 0x4008000000000000, {0x993dd92, 0x4}, 0x0, 0x8000000, 0x8000000, {0x993ce5d, ...}, ...}, ...) external/com_github_tikv_client_go_v2/internal/client/client_batch.go:955 +0x198 created by github.com/tikv/client-go/v2/internal/client.(*batchCommandsClient).initBatchClient in goroutine 55377 external/com_github_tikv_client_go_v2/internal/client/client_batch.go:1112 +0x448 goroutine 55359 [select, 14 minutes]: google.golang.org/grpc/internal/grpcsync.(*CallbackSerializer).run(0xc0009da390, {0xa7d4ca8, 0xc00c4fb7c0}) external/org_golang_google_grpc/internal/grpcsync/callback_serializer.go:76 +0x1eb created by google.golang.org/grpc/internal/grpcsync.NewCallbackSerializer in goroutine 53714 external/org_golang_google_grpc/internal/grpcsync/callback_serializer.go:52 +0x207 goroutine 55413 [IO wait]: internal/poll.runtime_pollWait(0x7f213dd74528, 0x72) GOROOT/src/runtime/netpoll.go:351 +0x85 internal/poll.(*pollDesc).wait(0xc00bd45d20, 0x72, 0x0) GOROOT/src/internal/poll/fd_poll_runtime.go:84 +0xb1 internal/poll.(*pollDesc).waitRead(...) GOROOT/src/internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Read(0xc00bd45d00, {0xc003e3c000, 0x8000, 0x8000}) GOROOT/src/internal/poll/fd_unix.go:165 +0x466 net.(*netFD).Read(0xc00bd45d00, {0xc003e3c000, 0x8000, 0x8000}) GOROOT/src/net/fd_posix.go:55 +0x4b net.(*conn).Read(0xc00bfeb1f0, {0xc003e3c000, 0x8000, 0x8000}) GOROOT/src/net/net.go:189 +0xad bufio.(*Reader).Read(0xc006a5d1a0, {0xc004654120, 0x9, 0x9}) GOROOT/src/bufio/bufio.go:241 +0x4bf io.ReadAtLeast({0xa7965c0, 0xc006a5d1a0}, {0xc004654120, 0x9, 0x9}, 0x9) GOROOT/src/io/io.go:335 +0xd0 io.ReadFull(...) GOROOT/src/io/io.go:354 golang.org/x/net/http2.readFrameHeader({0xc004654120, 0x9, 0x9}, {0xa7965c0, 0xc006a5d1a0}) external/org_golang_x_net/http2/frame.go:242 +0x9a golang.org/x/net/http2.(*Framer).ReadFrame(0xc0046540e0) external/org_golang_x_net/http2/frame.go:506 +0xf5 google.golang.org/grpc/internal/transport.(*http2Client).reader(0xc00a2a4fc8, 0xc004788150) external/org_golang_google_grpc/internal/transport/http2_client.go:1602 +0x2e5 created by google.golang.org/grpc/internal/transport.newHTTP2Client in goroutine 55275 external/org_golang_google_grpc/internal/transport/http2_client.go:409 +0x33ab goroutine 55373 [select]: google.golang.org/grpc/internal/transport.(*http2Client).keepalive(0xc004826248) external/org_golang_google_grpc/internal/transport/http2_client.go:1676 +0x23c created by google.golang.org/grpc/internal/transport.newHTTP2Client in goroutine 55271 external/org_golang_google_grpc/internal/transport/http2_client.go:399 +0x32cb goroutine 55272 [select, 14 minutes]: google.golang.org/grpc/internal/grpcsync.(*CallbackSerializer).run(0xc00455e0b0, {0xa7d4ca8, 0xc00b8e0fa0}) external/org_golang_google_grpc/internal/grpcsync/callback_serializer.go:76 +0x1eb created by google.golang.org/grpc/internal/grpcsync.NewCallbackSerializer in goroutine 53714 external/org_golang_google_grpc/internal/grpcsync/callback_serializer.go:52 +0x207 goroutine 55292 [IO wait]: internal/poll.runtime_pollWait(0x7f219e3b06c0, 0x72) GOROOT/src/runtime/netpoll.go:351 +0x85 internal/poll.(*pollDesc).wait(0xc00ba5dea0, 0x72, 0x0) GOROOT/src/internal/poll/fd_poll_runtime.go:84 +0xb1 internal/poll.(*pollDesc).waitRead(...) GOROOT/src/internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Read(0xc00ba5de80, {0xc003aa4000, 0x8000, 0x8000}) GOROOT/src/internal/poll/fd_unix.go:165 +0x466 net.(*netFD).Read(0xc00ba5de80, {0xc003aa4000, 0x8000, 0x8000}) GOROOT/src/net/fd_posix.go:55 +0x4b net.(*conn).Read(0xc00bfeb1a8, {0xc003aa4000, 0x8000, 0x8000}) GOROOT/src/net/net.go:189 +0xad bufio.(*Reader).Read(0xc006a5d0e0, {0xc00b669ee0, 0x9, 0x9}) GOROOT/src/bufio/bufio.go:241 +0x4bf io.ReadAtLeast({0xa7965c0, 0xc006a5d0e0}, {0xc00b669ee0, 0x9, 0x9}, 0x9) GOROOT/src/io/io.go:335 +0xd0 io.ReadFull(...) GOROOT/src/io/io.go:354 golang.org/x/net/http2.readFrameHeader({0xc00b669ee0, 0x9, 0x9}, {0xa7965c0, 0xc006a5d0e0}) external/org_golang_x_net/http2/frame.go:242 +0x9a golang.org/x/net/http2.(*Framer).ReadFrame(0xc00b669ea0) external/org_golang_x_net/http2/frame.go:506 +0xf5 google.golang.org/grpc/internal/transport.(*http2Client).reader(0xc00a2a4b48, 0xc00a745dc0) external/org_golang_google_grpc/internal/transport/http2_client.go:1602 +0x2e5 created by google.golang.org/grpc/internal/transport.newHTTP2Client in goroutine 55390 external/org_golang_google_grpc/internal/transport/http2_client.go:409 +0x33ab goroutine 55389 [select, 14 minutes]: google.golang.org/grpc/internal/grpcsync.(*CallbackSerializer).run(0xc035fc4ea0, {0xa7d4ca8, 0xc00bdfd900}) external/org_golang_google_grpc/internal/grpcsync/callback_serializer.go:76 +0x1eb created by google.golang.org/grpc/internal/grpcsync.NewCallbackSerializer in goroutine 53714 external/org_golang_google_grpc/internal/grpcsync/callback_serializer.go:52 +0x207 goroutine 55388 [select, 14 minutes]: google.golang.org/grpc/internal/grpcsync.(*CallbackSerializer).run(0xc035fc4e70, {0xa7d4ca8, 0xc00bdfd8b0}) external/org_golang_google_grpc/internal/grpcsync/callback_serializer.go:76 +0x1eb created by google.golang.org/grpc/internal/grpcsync.NewCallbackSerializer in goroutine 53714 external/org_golang_google_grpc/internal/grpcsync/callback_serializer.go:52 +0x207 goroutine 55412 [select]: google.golang.org/grpc/internal/transport.(*http2Client).keepalive(0xc00a2a4fc8) external/org_golang_google_grpc/internal/transport/http2_client.go:1676 +0x23c created by google.golang.org/grpc/internal/transport.newHTTP2Client in goroutine 55275 external/org_golang_google_grpc/internal/transport/http2_client.go:399 +0x32cb goroutine 55291 [select]: google.golang.org/grpc/internal/transport.(*http2Client).keepalive(0xc00a2a4b48) external/org_golang_google_grpc/internal/transport/http2_client.go:1676 +0x23c created by google.golang.org/grpc/internal/transport.newHTTP2Client in goroutine 55390 external/org_golang_google_grpc/internal/transport/http2_client.go:399 +0x32cb goroutine 55909 [select]: google.golang.org/grpc/internal/transport.(*recvBufferReader).readClient(0xc009449680, {0xc0054a3600, 0x5, 0x5}) external/org_golang_google_grpc/internal/transport/transport.go:193 +0x136 google.golang.org/grpc/internal/transport.(*recvBufferReader).Read(0xc009449680, {0xc0054a3600, 0x5, 0x5}) external/org_golang_google_grpc/internal/transport/transport.go:173 +0x35b google.golang.org/grpc/internal/transport.(*transportReader).Read(0xc0054a35c0, {0xc0054a3600, 0x5, 0x5}) external/org_golang_google_grpc/internal/transport/transport.go:525 +0x5d io.ReadAtLeast({0xa79fa00, 0xc0054a35c0}, {0xc0054a3600, 0x5, 0x5}, 0x5) GOROOT/src/io/io.go:335 +0xd0 io.ReadFull(...) GOROOT/src/io/io.go:354 google.golang.org/grpc/internal/transport.(*Stream).Read(0xc00c65a000, {0xc0054a3600, 0x5, 0x5}) external/org_golang_google_grpc/internal/transport/transport.go:509 +0x127 google.golang.org/grpc.(*parser).recvMsg(0xc0054a35f0, 0x7ffffffffffffffe) external/org_golang_google_grpc/rpc_util.go:614 +0x6e google.golang.org/grpc.recvAndDecompress(0xc0054a35f0, 0xc00c65a000, {0x0, 0x0}, 0x7ffffffffffffffe, 0x0, {0x0, 0x0}) external/org_golang_google_grpc/rpc_util.go:753 +0x93 google.golang.org/grpc.recv(0xc0054a35f0, {0x7f219e3a44d0, 0xf9fc700}, 0xc00c65a000, {0x0, 0x0}, {0x972aa80, 0xc003ccb4c0}, 0x7ffffffffffffffe, 0x0, ...) external/org_golang_google_grpc/rpc_util.go:833 +0xbd google.golang.org/grpc.(*csAttempt).recvMsg(0xc00b7e64e0, {0x972aa80, 0xc003ccb4c0}, 0x0) external/org_golang_google_grpc/stream.go:1085 +0x568 google.golang.org/grpc.(*clientStream).RecvMsg.func1(0xc00b7e64e0) external/org_golang_google_grpc/stream.go:928 +0x51 google.golang.org/grpc.(*clientStream).withRetry(0xc00bcc1b00, 0xc034b6d8a8, 0xc034b6d908) external/org_golang_google_grpc/stream.go:761 +0x478 google.golang.org/grpc.(*clientStream).RecvMsg(0xc00bcc1b00, {0x972aa80, 0xc003ccb4c0}) external/org_golang_google_grpc/stream.go:927 +0x1c7 github.com/pingcap/kvproto/pkg/tikvpb.(*tikvBatchCommandsClient).Recv(0xc004a5c070) external/com_github_pingcap_kvproto/pkg/tikvpb/tikvpb.pb.go:2275 +0x66 github.com/tikv/client-go/v2/internal/client.(*batchCommandsStream).recv(0xc0029331c0) external/com_github_tikv_client_go_v2/internal/client/client_batch.go:724 +0x247 github.com/tikv/client-go/v2/internal/client.(*batchCommandsClient).batchRecvLoop(_, {0x4, 0xa, 0x4008000000000000, {0x993dd92, 0x4}, 0x0, 0x8000000, 0x8000000, {0x993ce5d, ...}, ...}, ...) external/com_github_tikv_client_go_v2/internal/client/client_batch.go:955 +0x198 created by github.com/tikv/client-go/v2/internal/client.(*batchCommandsClient).initBatchClient in goroutine 55377 external/com_github_tikv_client_go_v2/internal/client/client_batch.go:1112 +0x448 goroutine 55273 [select, 14 minutes]: google.golang.org/grpc/internal/grpcsync.(*CallbackSerializer).run(0xc00455e0e0, {0xa7d4ca8, 0xc00b8e12c0}) external/org_golang_google_grpc/internal/grpcsync/callback_serializer.go:76 +0x1eb created by google.golang.org/grpc/internal/grpcsync.NewCallbackSerializer in goroutine 53714 external/org_golang_google_grpc/internal/grpcsync/callback_serializer.go:52 +0x207 goroutine 61837 [chan receive, 14 minutes]: github.com/pingcap/tidb/br/pkg/streamhelper.(*CheckpointAdvancer).OnBecomeOwner.func1() br/pkg/streamhelper/advancer_daemon.go:39 +0x4a created by github.com/pingcap/tidb/br/pkg/streamhelper.(*CheckpointAdvancer).OnBecomeOwner in goroutine 12864 br/pkg/streamhelper/advancer_daemon.go:38 +0x113 goroutine 55268 [select, 14 minutes]: google.golang.org/grpc/internal/grpcsync.(*CallbackSerializer).run(0xc00fac58f0, {0xa7d4ca8, 0xc00b8e0910}) external/org_golang_google_grpc/internal/grpcsync/callback_serializer.go:76 +0x1eb created by google.golang.org/grpc/internal/grpcsync.NewCallbackSerializer in goroutine 53714 external/org_golang_google_grpc/internal/grpcsync/callback_serializer.go:52 +0x207 goroutine 55270 [select, 14 minutes]: google.golang.org/grpc/internal/grpcsync.(*CallbackSerializer).run(0xc00fac5950, {0xa7d4ca8, 0xc00b8e0be0}) external/org_golang_google_grpc/internal/grpcsync/callback_serializer.go:76 +0x1eb created by google.golang.org/grpc/internal/grpcsync.NewCallbackSerializer in goroutine 53714 external/org_golang_google_grpc/internal/grpcsync/callback_serializer.go:52 +0x207 goroutine 55376 [select]: github.com/tikv/client-go/v2/tikvrpc.CheckStreamTimeoutLoop(0xc00b6c53b0, 0xc00976d8f0) external/com_github_tikv_client_go_v2/tikvrpc/tikvrpc.go:1276 +0x206 created by github.com/tikv/client-go/v2/internal/client.(*connArray).Init in goroutine 53714 external/com_github_tikv_client_go_v2/internal/client/client.go:382 +0x1eac goroutine 55377 [select]: github.com/tikv/client-go/v2/internal/client.(*batchConn).fetchAllPendingRequests(0xc003622600, 0x80) external/com_github_tikv_client_go_v2/internal/client/client_batch.go:317 +0x1f6 github.com/tikv/client-go/v2/internal/client.(*batchConn).batchSendLoop(_, {0x4, 0xa, 0x4008000000000000, {0x993dd92, 0x4}, 0x0, 0x8000000, 0x8000000, {0x993ce5d, ...}, ...}) external/com_github_tikv_client_go_v2/internal/client/client_batch.go:558 +0x2c5 created by github.com/tikv/client-go/v2/internal/client.(*connArray).Init in goroutine 53714 external/com_github_tikv_client_go_v2/internal/client/client.go:384 +0x2059 goroutine 368760 [select]: github.com/pingcap/tidb/pkg/disttask/framework/handle.WaitTask({0xa7d4c70, 0xc026dd75f0}, 0x43, 0x9b8c820) pkg/disttask/framework/handle/handle.go:148 +0x389 github.com/pingcap/tidb/pkg/disttask/framework/handle.WaitTaskDoneOrPaused({0xa7d4c70, 0xc026dd75f0}, 0x43) pkg/disttask/framework/handle/handle.go:91 +0x176 github.com/pingcap/tidb/pkg/executor.(*ImportIntoExec).waitTask(0xc0207f8a00?, {0xa7d4c70, 0xc026dd75f0}, 0x43, 0xc00bd60900) pkg/executor/import_into.go:233 +0x5f github.com/pingcap/tidb/pkg/executor.(*ImportIntoExec).Next(0xc0207f8a00, {0xa7d4b90, 0xf9fc700}, 0xc002064d70) pkg/executor/import_into.go:137 +0xa3d github.com/pingcap/tidb/pkg/executor/internal/exec.Next({0xa7d4b90, 0xf9fc700}, {0xa8116e0, 0xc0207f8a00}, 0xc002064d70) pkg/executor/internal/exec/executor.go:460 +0x3a9 github.com/pingcap/tidb/pkg/executor.(*ExecStmt).next(0xc00c657dc0, {0xa7d4b90, 0xf9fc700}, {0xa8116e0, 0xc0207f8a00}, 0xc002064d70) pkg/executor/adapter.go:1273 +0x85 github.com/pingcap/tidb/pkg/executor.(*recordSet).Next(0xc0008f8000, {0xa7d4b90, 0xf9fc700}, 0xc002064d70) pkg/executor/adapter.go:172 +0x20b github.com/pingcap/tidb/pkg/session.GetRows4Test({0xa7d4b90, 0xf9fc700}, {0xc003c46d90?, 0x25c80d9?}, {0xa7d5178, 0xc00dfbd0c0}) pkg/session/tidb.go:343 +0xd3 github.com/pingcap/tidb/pkg/session.ResultSetToStringSlice({0xa7d4b90, 0xf9fc700}, {0xa888350, 0xc004b6b188}, {0xa7d5178, 0xc00dfbd0c0}) pkg/session/tidb.go:361 +0xab github.com/pingcap/tidb/pkg/testkit.(*TestKit).ResultSetToResultWithCtx(0xc002484a50, {0xa7d4b90, 0xf9fc700}, {0xa7d5178, 0xc00dfbd0c0}, {0xc019d8cb40, 0x96}) pkg/testkit/testkit.go:317 +0xad github.com/pingcap/tidb/pkg/testkit.(*TestKit).MustQueryWithContext(0xc002484a50, {0xa7d4b90, 0xf9fc700}, {0xc034fe4870, 0x89}, {0x0, 0x0, 0x0}) pkg/testkit/testkit.go:243 +0x305 github.com/pingcap/tidb/pkg/testkit.(*TestKit).MustQuery(0xc002484a50, {0xc034fe4870, 0x89}, {0x0, 0x0, 0x0}) pkg/testkit/testkit.go:176 +0x110 tests/realtikvtest/importintotest/importintotest_test.(*mockGCSSuite).TestOtherCharset(0xc000199200) tests/realtikvtest/importintotest/import_into_test.go:678 +0xf72 reflect.Value.call({0xc001897400?, 0xc0020caf98?, 0x13?}, {0x993dbaa, 0x4}, {0xc00d013ea8, 0x1, 0x1?}) GOROOT/src/reflect/value.go:584 +0xd5d reflect.Value.Call({0xc001897400?, 0xc0020caf98?, 0x25caa60?}, {0xc00327fea8, 0x1, 0x1}) GOROOT/src/reflect/value.go:368 +0xb6 github.com/stretchr/testify/suite.Run.func1(0xc00d68e340) external/com_github_stretchr_testify/suite/suite.go:202 +0x6f2 testing.tRunner(0xc00d68e340, 0xc0023d3830) GOROOT/src/testing/testing.go:1690 +0x227 created by testing.(*T).Run in goroutine 62 GOROOT/src/testing/testing.go:1743 +0x826 goroutine 55360 [select, 14 minutes]: google.golang.org/grpc/internal/grpcsync.(*CallbackSerializer).run(0xc0009da4a0, {0xa7d4ca8, 0xc00c4fb810}) external/org_golang_google_grpc/internal/grpcsync/callback_serializer.go:76 +0x1eb created by google.golang.org/grpc/internal/grpcsync.NewCallbackSerializer in goroutine 53714 external/org_golang_google_grpc/internal/grpcsync/callback_serializer.go:52 +0x207 goroutine 55419 [select, 14 minutes]: google.golang.org/grpc.newClientStreamWithParams.func4() external/org_golang_google_grpc/stream.go:392 +0xe6 created by google.golang.org/grpc.newClientStreamWithParams in goroutine 55377 external/org_golang_google_grpc/stream.go:391 +0x1cc5 goroutine 55387 [select, 14 minutes]: google.golang.org/grpc/internal/grpcsync.(*CallbackSerializer).run(0xc035fc4e40, {0xa7d4ca8, 0xc00bdfd5e0}) external/org_golang_google_grpc/internal/grpcsync/callback_serializer.go:76 +0x1eb created by google.golang.org/grpc/internal/grpcsync.NewCallbackSerializer in goroutine 53714 external/org_golang_google_grpc/internal/grpcsync/callback_serializer.go:52 +0x207 goroutine 61836 [select, 14 minutes]: github.com/pingcap/tidb/br/pkg/streamhelper.(*CheckpointAdvancer).SpawnSubscriptionHandler.func1() br/pkg/streamhelper/advancer.go:523 +0x245 created by github.com/pingcap/tidb/br/pkg/streamhelper.(*CheckpointAdvancer).SpawnSubscriptionHandler in goroutine 12864 br/pkg/streamhelper/advancer.go:520 +0x4cb goroutine 394649 [IO wait]: internal/poll.runtime_pollWait(0x7f219e3b0490, 0x72) GOROOT/src/runtime/netpoll.go:351 +0x85 internal/poll.(*pollDesc).wait(0xc028bed1a0, 0x72, 0x0) GOROOT/src/internal/poll/fd_poll_runtime.go:84 +0xb1 internal/poll.(*pollDesc).waitRead(...) GOROOT/src/internal/poll/fd_poll_runtime.go:89 internal/poll.(*FD).Read(0xc028bed180, {0xc00a14c000, 0x1000, 0x1000}) GOROOT/src/internal/poll/fd_unix.go:165 +0x466 net.(*netFD).Read(0xc028bed180, {0xc00a14c000, 0x1000, 0x1000}) GOROOT/src/net/fd_posix.go:55 +0x4b net.(*conn).Read(0xc0340ba380, {0xc00a14c000, 0x1000, 0x1000}) GOROOT/src/net/net.go:189 +0xad net/http.(*persistConn).Read(0xc00e7347e0, {0xc00a14c000, 0x1000, 0x1000}) GOROOT/src/net/http/transport.go:2052 +0xf9 bufio.(*Reader).fill(0xc0346ea600) GOROOT/src/bufio/bufio.go:110 +0x29a bufio.(*Reader).Peek(0xc0346ea600, 0x1) GOROOT/src/bufio/bufio.go:148 +0xc5 net/http.(*persistConn).readLoop(0xc00e7347e0) GOROOT/src/net/http/transport.go:2205 +0x354 created by net/http.(*Transport).dialConn in goroutine 394647 GOROOT/src/net/http/transport.go:1874 +0x29b4 ================================================================================ ==================== Test output for //tests/realtikvtest/importintotest:importintotest_test: === RUN TestImportInto [2025/04/04 13:00:50.376 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/04 13:00:50.376 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 13:00:50.378 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 13:00:50.378 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 13:00:50.379 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 13:00:50.379 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 13:00:50.379 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 13:00:50.379 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 13:00:50.379 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 13:00:50.380 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 13:00:50.380 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 13:00:50.385 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/04 13:00:50.392 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/04 13:00:50.393 +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/04 13:00:50.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/04 13:00:50.411 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489437817523558127] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/04 13:00:50.433 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/04 13:00:50.473 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1324] ["lease id"=6f189600d42a27fb] [2025/04/04 13:00:50.476 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/04 13:00:50.610 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=238] ["elapsed time"=128.278409ms] [2025/04/04 13:00:50.610 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 13:00:50.625 +00:00] [INFO] [ddl.go:964] ["change job version in use"] [category=ddl] [old=v1] [new=v2] [2025/04/04 13:00:50.625 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=dc0db76e-306f-4c67-9d23-d988f52ad40d] [runWorker=true] [jobVersion=v2] [2025/04/04 13:00:50.625 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/04 13:00:50.627 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=dc0db76e-306f-4c67-9d23-d988f52ad40d] [2025/04/04 13:00:50.629 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/04 13:00:50.629 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 174952308736/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/04 13:00:50.629 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 13:00:50.629 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/04 13:00:50.629 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 13:00:50.629 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 13:00:50.629 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 13:00:50.629 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/04 13:00:50.629 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 13:00:50.629 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 13:00:50.629 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/04 13:00:50.629 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/04 13:00:50.630 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 13:00:50.630 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/04 13:00:50.630 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=d1d11baf-7994-4bb3-a37b-68047b42c462] [2025/04/04 13:00:50.632 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/04 13:00:50.632 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=d1d11baf-7994-4bb3-a37b-68047b42c462] [daemon-id=LogBackup::Advancer] [2025/04/04 13:00:50.641 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=dc0db76e-306f-4c67-9d23-d988f52ad40d] [2025/04/04 13:00:50.642 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 13:00:50.642 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/04 13:00:50.651 +00:00] [INFO] [sysvar.go:3019] ["set resource control"] [enable=true] [2025/04/04 13:00:50.654 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/04 13:00:50.654 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 13:00:50.661 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 13:00:50.668 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 13:00:50.669 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 13:00:50.669 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/04 13:00:50.669 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 13:00:50.669 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 13:00:50.669 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/04 13:00:50.669 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/04 13:00:50.669 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/04 13:00:50.669 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/04 13:00:50.670 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/04 13:00:50.670 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=dc0db76e-306f-4c67-9d23-d988f52ad40d] [2025/04/04 13:00:50.671 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/04 13:00:50.671 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 13:00:50.671 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 13:00:50.671 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 13:00:50.671 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/04 13:00:50.671 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/04 13:00:50.671 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 13:00:50.671 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 13:00:50.671 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/04 13:00:50.671 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 13:00:50.671 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=10] [2025/04/04 13:00:50.671 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 13:00:50.671 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 13:00:50.671 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/04 13:00:50.671 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 13:00:50.673 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=52] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/04 13:00:50.676 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/a1e0b19b-2be0-4b09-ad24-213d67c947c3] [2025/04/04 13:00:50.676 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=dc0db76e-306f-4c67-9d23-d988f52ad40d] [ttl-worker=task-manager] [ttl-worker=dc0db76e-306f-4c67-9d23-d988f52ad40d] [originalCount=0] [newCount=4] [2025/04/04 13:00:50.676 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=dc0db76e-306f-4c67-9d23-d988f52ad40d] [ttl-worker=task-manager] [ttl-worker=dc0db76e-306f-4c67-9d23-d988f52ad40d] [originalCount=0] [newCount=4] [2025/04/04 13:00:50.678 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/04 13:00:50.683 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 13:00:50.684 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/04 13:00:50.684 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743771650684438071 [2025/04/04 13:00:50.687 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/04 13:00:50.694 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=23.883735ms] [2025/04/04 13:00:50.694 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/04 13:00:50.694 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/04 13:00:50.698 +00:00] [INFO] [set.go:172] ["set global var"] [conn=1] [name=innodb_lock_wait_timeout] [val=50] testkit.go:123: RefreshSession rand seed: 1743771650700548987 [2025/04/04 13:00:50.732 +00:00] [INFO] [set.go:172] ["set global var"] [conn=2] [name=tidb_schema_cache_size] [val=0] === RUN TestImportInto/TestAddIndexBySQL import_into_test.go:1039: enable after we support add-index option --- SKIP: TestImportInto/TestAddIndexBySQL (0.00s) === NAME TestImportInto === RUN TestImportInto/TestAnalyze import_into_test.go:1191: skip for ci now --- SKIP: TestImportInto/TestAnalyze (0.00s) === NAME TestImportInto === RUN TestImportInto/TestBadCases [2025/04/04 13:00:50.752 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:336, Type:drop schema, State:queueing, SchemaState:public, SchemaID:112, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:00:50.694 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="DROP DATABASE IF EXISTS bad_cases;"] [2025/04/04 13:00:50.753 +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:112, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:00:50.694 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:00:50.978 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=238] [neededSchemaVersion=238] ["elapsed time"=97.056795ms] [2025/04/04 13:00:50.979 +00:00] [INFO] [domain.go:431] ["infoschema v1/v2 switch"] [2025/04/04 13:00:50.979 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/04 13:00:51.637 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/04 13:00:51.637 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 13:00:51.637 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 13:00:51.638 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/04 13:00:52.386 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/04 13:00:52.629 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/04 13:00:53.674 +00:00] [INFO] [read.go:801] ["Table statistics item not found, possibly due to table being dropped"] [category=stats] [sampled=] [tableID=22] [indexID=1] [2025/04/04 13:01:11.437 +00:00] [WARN] [pd.go:261] ["get timestamp too slow"] ["cost time"=57.908242ms] [2025/04/04 13:01:33.340 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9600d42a281a] [ownerID=dc0db76e-306f-4c67-9d23-d988f52ad40d] [op=none] [2025/04/04 13:01:33.340 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=dc0db76e-306f-4c67-9d23-d988f52ad40d] [2025/04/04 13:01:33.340 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=dc0db76e-306f-4c67-9d23-d988f52ad40d] [ownerKey=/tidb/ddl/fg/owner/3eaa9600d42a281a] [currRev=1588] [2025/04/04 13:01:33.342 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/04 13:01:33.342 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9600d42a281a] [ownerID=dc0db76e-306f-4c67-9d23-d988f52ad40d] [op=none] [2025/04/04 13:01:33.342 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=dc0db76e-306f-4c67-9d23-d988f52ad40d] [op=none] [2025/04/04 13:01:33.342 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/04 13:01:33.398 +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:112, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:00:50.694 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:33.416 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=238] [neededSchemaVersion=239] ["elapsed time"=249.367µs] [gotSchemaVersion=239] [phyTblIDs="[114]"] [actionTypes="[2]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 13:01:33.420 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=336] [version=239] [2025/04/04 13:01:33.421 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=239] ["take time"=7.432296ms] [job="ID:336, Type:drop schema, State:running, SchemaState:write only, SchemaID:112, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:00:50.694 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:33.432 +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:112, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:00:50.694 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:33.445 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=239] [neededSchemaVersion=240] ["elapsed time"=144.337µs] [gotSchemaVersion=240] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 13:01:33.449 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=336] [version=240] [2025/04/04 13:01:33.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=240] ["take time"=7.544535ms] [job="ID:336, Type:drop schema, State:running, SchemaState:delete only, SchemaID:112, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:00:50.694 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:33.459 +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:112, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:00:50.694 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:33.464 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/04 13:01:33.475 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=240] [neededSchemaVersion=241] ["elapsed time"=149.007µs] [gotSchemaVersion=241] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 13:01:33.478 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=336] [version=241] [2025/04/04 13:01:33.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=241] ["take time"=7.241729ms] [job="ID:336, Type:drop schema, State:done, SchemaState:none, SchemaID:112, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:00:50.694 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:33.489 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=336] [tableIDs="[114]"] [comment="drop schema: table IDs"] [2025/04/04 13:01:33.497 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=336] [jobType="drop schema"] [2025/04/04 13:01:33.498 +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:112, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:00:50.694 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:33.516 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=336] [2025/04/04 13:01:33.517 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 42.781574799\n# Parse_time: 0.00031042\n# Compile_time: 0.000293226\n# Rewrite_time: 0.000008325\n# Optimize_time: 0.000088314\n# Wait_TS: 0.000477743\n# Is_internal: false\n# Digest: cc795cac30244468d13b28c1a74de8079214590db26d779cde7754e8b1ab9342\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# 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\nDROP DATABASE IF EXISTS bad_cases;"] [2025/04/04 13:01:33.517 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=241] [cur_db=] [sql="DROP DATABASE IF EXISTS bad_cases;"] [user=] [2025/04/04 13:01:33.530 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:338, Type:create schema, State:queueing, SchemaState:none, SchemaID:337, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:33.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:01:33.530 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:338, Type:create schema, State:queueing, SchemaState:none, SchemaID:337, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:33.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE bad_cases;"] [2025/04/04 13:01:33.535 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=338] [conn=2] [job="ID:338, Type:create schema, State:queueing, SchemaState:none, SchemaID:337, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:33.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:33.548 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=241] [neededSchemaVersion=242] ["elapsed time"=673.981µs] [gotSchemaVersion=242] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 13:01:33.552 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=338] [version=242] [2025/04/04 13:01:33.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=242] ["take time"=7.422498ms] [job="ID:338, Type:create schema, State:done, SchemaState:public, SchemaID:337, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:33.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:33.564 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=338] [conn=2] [job="ID:338, Type:create schema, State:synced, SchemaState:public, SchemaID:337, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:33.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:33.574 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=338] [2025/04/04 13:01:33.575 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=242] [cur_db=] [sql="CREATE DATABASE bad_cases;"] [user=] [2025/04/04 13:01:33.589 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:340, Type:create table, State:queueing, SchemaState:none, SchemaID:337, TableID:339, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:33.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:01:33.589 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:340, Type:create table, State:queueing, SchemaState:none, SchemaID:337, TableID:339, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:33.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE bad_cases.t (a INT, b INT, c INT);"] [2025/04/04 13:01:33.595 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=340] [conn=2] [job="ID:340, Type:create table, State:queueing, SchemaState:none, SchemaID:337, TableID:339, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:33.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:33.599 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 339, Table Name: t)"] [2025/04/04 13:01:33.615 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=242] [neededSchemaVersion=243] ["elapsed time"=1.649097ms] [gotSchemaVersion=243] [phyTblIDs="[339]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 13:01:33.618 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=340] [version=243] [2025/04/04 13:01:33.620 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=243] ["take time"=8.678871ms] [job="ID:340, Type:create table, State:done, SchemaState:public, SchemaID:337, TableID:339, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:33.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:33.631 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=340] [conn=2] [job="ID:340, Type:create table, State:synced, SchemaState:public, SchemaID:337, TableID:339, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:33.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:33.643 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=340] [2025/04/04 13:01:33.643 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=243] [cur_db=] [sql="CREATE TABLE bad_cases.t (a INT, b INT, c INT);"] [user=] [2025/04/04 13:01:33.676 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/04 13:01:33.676 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/04 13:01:33.676 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/a1e0b19b-2be0-4b09-ad24-213d67c947c3] [watcherID=017d9644-ee8a-4ddc-9357-240b70f14f36] [2025/04/04 13:01:33.684 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/04 13:01:33.689 +00:00] [INFO] [slots.go:207] ["update slot capacity"] [old=16] [new=52] [2025/04/04 13:01:33.689 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/04 13:01:33.689 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/04 13:01:33.689 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/04 13:01:33.689 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/04 13:01:33.690 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=dc0db76e-306f-4c67-9d23-d988f52ad40d] [2025/04/04 13:01:33.692 +00:00] [INFO] [helper.go:189] ["set random timezone for getStmtTimestamp"] [timezone=Asia/Shanghai] [2025/04/04 13:01:33.702 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:01:33.752 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/bad-cases-1.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/04 13:01:33.780 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30001] [task-id=30001] [data-size=18B] [thread-cnt=26] [global-sort=false] [2025/04/04 13:01:33.795 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=67] [2025/04/04 13:01:33.795 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=67] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/04 13:01:33.799 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30001] [2025/04/04 13:01:33.799 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=30001] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/04 13:01:33.897 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=67] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 13:01:33.898 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=67] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:01:33.899 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=67] [curr-step=init] [next-step=import] [2025/04/04 13:01:33.901 +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/04 13:01:33.902 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30001] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:01:33.904 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30001] [curr-step=init] [next-step=import] [2025/04/04 13:01:33.907 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:01:33.910 +00:00] [WARN] [gcs.go:535] ["other error when requesting gcs"] [error="googleapi: Error 404: Not Found"] [info="type: *googleapi.Error, value: &googleapi.Error{Code:404, Message:\"Not Found\", Details:[]interface {}(nil), Body:\"{\\\"error\\\":{\\\"code\\\":404,\\\"message\\\":\\\"Not Found\\\",\\\"errors\\\":null}}\\n\", Header:http.Header{\"Content-Length\":[]string{\"59\"}, \"Content-Type\":[]string{\"application/json\"}, \"Date\":[]string{\"Fri, 04 Apr 2025 13:01:33 GMT\"}}, Errors:[]googleapi.ErrorItem(nil), err:(*apierror.APIError)(0xc01043ea20)}"] [2025/04/04 13:01:33.910 +00:00] [WARN] [scheduler.go:486] ["generate part of subtasks failed"] [task-id=67] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [error="[executor:8160]Failed to read source files. Reason: the object doesn't exist, file info: input.bucket='test-load', input.key='ascii.tsv'. Please check the file location is correct"] [errorVerbose="[executor:8160]Failed to read source files. Reason: the object doesn't exist, file info: input.bucket='test-load', input.key='ascii.tsv'. Please check the file location is correct\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.(*LoadDataController).InitDataFiles\n\tpkg/executor/importer/import.go:1103\ngithub.com/pingcap/tidb/pkg/disttask/importinto.generateImportSpecs\n\tpkg/disttask/importinto/planner.go:309\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*LogicalPlan).ToPhysicalPlan\n\tpkg/disttask/importinto/planner.go:151\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importScheduler).OnNextSubtasksBatch\n\tpkg/disttask/importinto/scheduler.go:356\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).onPending\n\tpkg/disttask/framework/scheduler/scheduler.go:366\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).scheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:234\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).ScheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:121\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*Manager).startScheduler.func1\n\tpkg/disttask/framework/scheduler/scheduler_manager.go:357\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:01:33.910 +00:00] [WARN] [scheduler.go:571] ["generate plan failed"] [task-id=67] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [error="[executor:8160]Failed to read source files. Reason: the object doesn't exist, file info: input.bucket='test-load', input.key='ascii.tsv'. Please check the file location is correct"] [errorVerbose="[executor:8160]Failed to read source files. Reason: the object doesn't exist, file info: input.bucket='test-load', input.key='ascii.tsv'. Please check the file location is correct\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.(*LoadDataController).InitDataFiles\n\tpkg/executor/importer/import.go:1103\ngithub.com/pingcap/tidb/pkg/disttask/importinto.generateImportSpecs\n\tpkg/disttask/importinto/planner.go:309\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*LogicalPlan).ToPhysicalPlan\n\tpkg/disttask/importinto/planner.go:151\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importScheduler).OnNextSubtasksBatch\n\tpkg/disttask/importinto/scheduler.go:356\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).onPending\n\tpkg/disttask/framework/scheduler/scheduler.go:366\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).scheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:234\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=pending] [2025/04/04 13:01:33.912 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:01:33.914 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 13:01:33.915 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=18] [2025/04/04 13:01:33.915 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=18] [cost=44.732µs] [2025/04/04 13:01:33.915 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=133.475µs] [] [2025/04/04 13:01:33.915 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30001] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 13:01:33.915 +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=26] [subtasks=1] [2025/04/04 13:01:33.957 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30001] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 13:01:33.977 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30001] [step=import] [2025/04/04 13:01:33.977 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:01:33.985 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 13:01:33.985 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 13:01:33.986 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 13:01:33.986 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 13:01:33.986 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 13:01:33.986 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 13:01:33.986 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 13:01:33.986 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 13:01:33.987 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 13:01:33.987 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 13:01:34.001 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 13:01:34.003 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=67] [step=init] [state=reverting] [error="[executor:8160]Failed to read source files. Reason: the object doesn't exist, file info: input.bucket='test-load', input.key='ascii.tsv'. Please check the file location is correct"] [errorVerbose="[executor:8160]Failed to read source files. Reason: the object doesn't exist, file info: input.bucket='test-load', input.key='ascii.tsv'. Please check the file location is correct\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.(*LoadDataController).InitDataFiles\n\tpkg/executor/importer/import.go:1103\ngithub.com/pingcap/tidb/pkg/disttask/importinto.generateImportSpecs\n\tpkg/disttask/importinto/planner.go:309\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*LogicalPlan).ToPhysicalPlan\n\tpkg/disttask/importinto/planner.go:151\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importScheduler).OnNextSubtasksBatch\n\tpkg/disttask/importinto/scheduler.go:356\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).onPending\n\tpkg/disttask/framework/scheduler/scheduler.go:366\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).scheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:234\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).ScheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:121\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*Manager).startScheduler.func1\n\tpkg/disttask/framework/scheduler/scheduler_manager.go:357\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:01:34.003 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 13:01:34.004 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 13:01:34.004 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=30001] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 13:01:34.004 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=30001] [disk-quota=348.5GiB] [2025/04/04 13:01:34.004 +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=26, Mem=16GiB]"] [2025/04/04 13:01:34.005 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=67] [step=init] [mode=Normal] [2025/04/04 13:01:34.008 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=30001] [mode=Import] [2025/04/04 13:01:34.020 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30001] [task-type=ImportInto] [server-id=:4000] [subtaskID=30001] [step=import] [2025/04/04 13:01:34.021 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30001] [step=import] [subtask-id=30001] [2025/04/04 13:01:34.025 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`bad_cases`.`t`:0] [engineUUID=ac11689c-038f-539b-891e-1e76c346ec7c] [2025/04/04 13:01:34.026 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=30001] [2025/04/04 13:01:34.045 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`bad_cases`.`t`:-1] [engineUUID=ad4147a5-8a19-558e-a731-72a1c176fe8f] [2025/04/04 13:01:34.045 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=339] [2025/04/04 13:01:34.045 +00:00] [ERROR] [misc.go:116] ["panic in the recoverable goroutine"] [label=encodeAndSortOperator] [funcInfo=RecoverArgs] [r="failpoint panic: mock panic"] [stack="github.com/pingcap/tidb/pkg/util.Recover\n\tpkg/util/misc.go:120\nruntime.gopanic\n\tGOROOT/src/runtime/panic.go:791\ngithub.com/pingcap/failpoint.actPanic\n\texternal/com_github_pingcap_failpoint/terms.go:344\ngithub.com/pingcap/failpoint.(*term).do\n\texternal/com_github_pingcap_failpoint/terms.go:311\ngithub.com/pingcap/failpoint.(*terms).eval\n\texternal/com_github_pingcap_failpoint/terms.go:116\ngithub.com/pingcap/failpoint.(*Failpoint).Eval\n\texternal/com_github_pingcap_failpoint/failpoint.go:129\ngithub.com/pingcap/failpoint.(*Failpoints).Eval\n\texternal/com_github_pingcap_failpoint/failpoints.go:231\ngithub.com/pingcap/failpoint.Eval\n\texternal/com_github_pingcap_failpoint/failpoints.go:311\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importMinimalTaskExecutor).Run\n\tpkg/disttask/importinto/subtask_executor.go:57\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*chunkWorker).HandleTask\n\tpkg/disttask/importinto/encode_and_sort_operator.go:200\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).handleTaskWithRecover\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:149\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).runAWorker.func1\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:165\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:167"] [stack="github.com/pingcap/tidb/pkg/util.Recover\n\tpkg/util/misc.go:116\nruntime.gopanic\n\tGOROOT/src/runtime/panic.go:791\ngithub.com/pingcap/failpoint.actPanic\n\texternal/com_github_pingcap_failpoint/terms.go:344\ngithub.com/pingcap/failpoint.(*term).do\n\texternal/com_github_pingcap_failpoint/terms.go:311\ngithub.com/pingcap/failpoint.(*terms).eval\n\texternal/com_github_pingcap_failpoint/terms.go:116\ngithub.com/pingcap/failpoint.(*Failpoint).Eval\n\texternal/com_github_pingcap_failpoint/failpoint.go:129\ngithub.com/pingcap/failpoint.(*Failpoints).Eval\n\texternal/com_github_pingcap_failpoint/failpoints.go:231\ngithub.com/pingcap/failpoint.Eval\n\texternal/com_github_pingcap_failpoint/failpoints.go:311\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importMinimalTaskExecutor).Run\n\tpkg/disttask/importinto/subtask_executor.go:57\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*chunkWorker).HandleTask\n\tpkg/disttask/importinto/encode_and_sort_operator.go:200\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).handleTaskWithRecover\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:149\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).runAWorker.func1\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:165\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:167"] [2025/04/04 13:01:34.046 +00:00] [ERROR] [task_executor.go:129] ["run subtask failed"] [type=ImportInto] [task-id=30001] [step=import] [subtask-id=30001] [takeTime=25.246174ms] [error="panic occurred during import, please check log"] [stack="github.com/pingcap/tidb/pkg/disttask/importinto.(*importStepExecutor).RunSubtask.func1\n\tpkg/disttask/importinto/task_executor.go:129\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:203\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/04 13:01:34.046 +00:00] [INFO] [task_executor.go:464] ["run subtask failed"] [task-id=30001] [task-type=ImportInto] [server-id=:4000] [subtaskID=30001] [step=import] [takeTime=25.529529ms] [error="panic occurred during import, please check log"] [errorVerbose="panic occurred during import, please check log\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:203\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:01:34.046 +00:00] [WARN] [task_executor.go:706] ["subtask failed"] [task-id=30001] [task-type=ImportInto] [server-id=:4000] [error="panic occurred during import, please check log"] [errorVerbose="panic occurred during import, please check log\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:203\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:01:34.053 +00:00] [ERROR] [task_executor.go:344] ["run subtask failed"] [task-id=30001] [task-type=ImportInto] [server-id=:4000] [error="panic occurred during import, please check log"] [errorVerbose="panic occurred during import, please check log\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:203\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:344\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/04 13:01:34.097 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=67] [2025/04/04 13:01:34.104 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 13:01:34.104 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=67] [2025/04/04 13:01:34.110 +00:00] [WARN] [scheduler.go:389] ["subtasks encounter errors"] [task-id=30001] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [subtask-errs="[\"{error=\\\"[0]panic occurred during import, please check log\\\"}\"]"] [2025/04/04 13:01:34.122 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30001] [step=import] [2025/04/04 13:01:34.126 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 13:01:34.126 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 13:01:34.126 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 13:01:34.126 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 13:01:34.126 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 13:01:34.126 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 13:01:34.126 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:01:34.126 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 13:01:34.126 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:01:34.126 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-2] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:01:34.126 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:01:34.126 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 13:01:34.127 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 13:01:34.128 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 13:01:34.128 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:01:34.128 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:01:34.128 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:01:34.128 +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=26, Mem=16GiB]"] [takeTime=124.479991ms] [] [2025/04/04 13:01:34.128 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30001] [type=ImportInto] [2025/04/04 13:01:34.207 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30001] [step=import] [state=reverting] [error="[0]panic occurred during import, please check log"] [2025/04/04 13:01:34.208 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=30001] [step=import] [mode=Normal] [2025/04/04 13:01:34.223 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=30001] [2025/04/04 13:01:34.301 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30001] [2025/04/04 13:01:34.307 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 13:01:34.307 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30001] [2025/04/04 13:01:34.331 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 13:01:34.394 +00:00] [ERROR] [handle.go:110] ["task reverted"] [task-id=30001] [error="[0]panic occurred during import, please check log"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/handle.WaitTaskDoneOrPaused\n\tpkg/disttask/framework/handle/handle.go:110\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoExec).waitTask\n\tpkg/executor/import_into.go:233\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoExec).Next\n\tpkg/executor/import_into.go:137\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*recordSet).Next\n\tpkg/executor/adapter.go:172\ngithub.com/pingcap/tidb/pkg/session.GetRows4Test\n\tpkg/session/tidb.go:343\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).QueryToErr\n\tpkg/testkit/testkit.go:304\ntests/realtikvtest/importintotest/importintotest_test.(*mockGCSSuite).TestBadCases\n\ttests/realtikvtest/importintotest/import_into_test.go:1255\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690"] [2025/04/04 13:01:34.394 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.750500255\n# Parse_time: 0.000176956\n# Compile_time: 0.000529496\n# Rewrite_time: 0.000133817\n# Optimize_time: 0.000088314\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('SPBHMAk1OV8yCTAJMAlOL0EJMAl0aW1lOjc0OS41bXMsIG9wZW46OTM5bnMsIGNsb3NlOjk4NW5zLCBsb29wczoxCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('YfBMCl0KDEltcG9ydEludG9fMjgBQAFSA04vQVoudGltZTo3NDkuNW1zLCBvcGVuOjkzOW5zLCBjbG9zZTo5ODVucywgbG9vcHM6MXD///8JAzQBeP///////////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 (43.66s) === NAME TestImportInto === RUN TestImportInto/TestBasicImportInto [2025/04/04 13:01:34.406 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:341, Type:drop schema, State:queueing, SchemaState:public, SchemaID:254, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:34.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:01:34.406 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:341, Type:drop schema, State:queueing, SchemaState:public, SchemaID:254, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:34.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop database if exists import_into"] [2025/04/04 13:01:34.411 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=341] [conn=2] [job="ID:341, Type:drop schema, State:queueing, SchemaState:public, SchemaID:254, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:34.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:34.426 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=243] [neededSchemaVersion=244] ["elapsed time"=214.099µs] [gotSchemaVersion=244] [phyTblIDs="[256,258]"] [actionTypes="[2,2]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 13:01:34.430 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=341] [version=244] [2025/04/04 13:01:34.432 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=244] ["take time"=7.369779ms] [job="ID:341, Type:drop schema, State:running, SchemaState:write only, SchemaID:254, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:34.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:34.441 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=341] [conn=2] [job="ID:341, Type:drop schema, State:running, SchemaState:write only, SchemaID:254, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:34.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:34.454 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=244] [neededSchemaVersion=245] ["elapsed time"=146.432µs] [gotSchemaVersion=245] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 13:01:34.457 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=341] [version=245] [2025/04/04 13:01:34.459 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=245] ["take time"=7.168252ms] [job="ID:341, Type:drop schema, State:running, SchemaState:delete only, SchemaID:254, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:34.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:34.467 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=341] [conn=2] [job="ID:341, Type:drop schema, State:running, SchemaState:delete only, SchemaID:254, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:34.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:34.473 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/04 13:01:34.483 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=245] [neededSchemaVersion=246] ["elapsed time"=130.907µs] [gotSchemaVersion=246] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 13:01:34.486 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=341] [version=246] [2025/04/04 13:01:34.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=246] ["take time"=8.726134ms] [job="ID:341, Type:drop schema, State:done, SchemaState:none, SchemaID:254, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:34.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:34.499 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=341] [tableIDs="[256,258]"] [comment="drop schema: table IDs"] [2025/04/04 13:01:34.505 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=341] [jobType="drop schema"] [2025/04/04 13:01:34.506 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=341] [conn=2] [job="ID:341, Type:drop schema, State:synced, SchemaState:none, SchemaID:254, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:34.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:34.522 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=341] [2025/04/04 13:01:34.522 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=246] [cur_db=] [sql="drop database if exists import_into"] [user=] [2025/04/04 13:01:34.533 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:343, Type:create schema, State:queueing, SchemaState:none, SchemaID:342, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:34.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:01:34.533 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:343, Type:create schema, State:queueing, SchemaState:none, SchemaID:342, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:34.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database import_into"] [2025/04/04 13:01:34.538 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=343] [conn=2] [job="ID:343, Type:create schema, State:queueing, SchemaState:none, SchemaID:342, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:34.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:34.551 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=246] [neededSchemaVersion=247] ["elapsed time"=665.792µs] [gotSchemaVersion=247] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 13:01:34.555 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=343] [version=247] [2025/04/04 13:01:34.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=247] ["take time"=7.237364ms] [job="ID:343, Type:create schema, State:done, SchemaState:public, SchemaID:342, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:34.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:34.566 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=343] [conn=2] [job="ID:343, Type:create schema, State:synced, SchemaState:public, SchemaID:342, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:34.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:34.576 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=343] [2025/04/04 13:01:34.576 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=247] [cur_db=] [sql="create database import_into"] [user=] [2025/04/04 13:01:34.578 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=247] [cur_db=import_into] [sql="drop table if exists t"] [user=] [2025/04/04 13:01:34.590 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:345, Type:create table, State:queueing, SchemaState:none, SchemaID:342, TableID:344, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:34.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:01:34.590 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:345, Type:create table, State:queueing, SchemaState:none, SchemaID:342, TableID:344, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:34.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100), c int);"] [2025/04/04 13:01:34.596 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=345] [conn=2] [job="ID:345, Type:create table, State:queueing, SchemaState:none, SchemaID:342, TableID:344, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:34.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:34.600 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 344, Table Name: t)"] [2025/04/04 13:01:34.615 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=247] [neededSchemaVersion=248] ["elapsed time"=1.591188ms] [gotSchemaVersion=248] [phyTblIDs="[344]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 13:01:34.619 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=345] [version=248] [2025/04/04 13:01:34.620 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=248] ["take time"=8.311509ms] [job="ID:345, Type:create table, State:done, SchemaState:public, SchemaID:342, TableID:344, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:34.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:34.632 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=345] [conn=2] [job="ID:345, Type:create table, State:synced, SchemaState:public, SchemaID:342, TableID:344, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:34.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:34.643 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=345] [2025/04/04 13:01:34.643 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=248] [cur_db=import_into] [sql="create table t (a bigint, b varchar(100), c int);"] [user=] [2025/04/04 13:01:34.645 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="COLUMN reference is not supported in IMPORT INTO column assignment, index 0"] [errorVerbose="COLUMN reference is not supported in IMPORT INTO column assignment, index 0\ngithub.com/pingcap/tidb/pkg/planner/core.(*importIntoCollAssignmentChecker).Leave\n\tpkg/planner/core/planbuilder.go:4502\ngithub.com/pingcap/tidb/pkg/parser/ast.(*ColumnNameExpr).Accept\n\tpkg/parser/ast/expressions.go:616\ngithub.com/pingcap/tidb/pkg/parser/ast.(*BinaryOperationExpr).Accept\n\tpkg/parser/ast/expressions.go:219\ngithub.com/pingcap/tidb/pkg/planner/core.checkImportIntoColAssignments\n\tpkg/planner/core/planbuilder.go:4485\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).buildImportInto\n\tpkg/planner/core/planbuilder.go:4584\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).Build\n\tpkg/planner/core/planbuilder.go:522\ngithub.com/pingcap/tidb/pkg/planner.buildLogicalPlan\n\tpkg/planner/optimize.go:547\ngithub.com/pingcap/tidb/pkg/planner.optimize\n\tpkg/planner/optimize.go:466\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:333\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:101\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ntests/realtikvtest/importintotest/importintotest_test.(*mockGCSSuite).TestBasicImportInto\n\ttests/realtikvtest/importintotest/import_into_test.go:154\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL="IMPORT INTO t(a, @, c) SET b=a+1 FROM 'gs://test-multi-load/db.tbl.001.csv?endpoint=http://127.0.0.1:4443/storage/v1/'\n\t\twith thread=1"] [2025/04/04 13:01:34.662 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:346, Type:drop table, State:queueing, SchemaState:public, SchemaID:342, TableID:344, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:34.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t"] [2025/04/04 13:01:34.662 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:346, Type:drop table, State:queueing, SchemaState:public, SchemaID:342, TableID:344, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:34.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:01:34.668 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=346] [conn=2] [job="ID:346, Type:drop table, State:queueing, SchemaState:public, SchemaID:342, TableID:344, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:34.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:34.683 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=248] [neededSchemaVersion=249] ["elapsed time"=2.132467ms] [gotSchemaVersion=249] [phyTblIDs="[344]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 13:01:34.687 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=346] [version=249] [2025/04/04 13:01:34.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=249] ["take time"=8.683982ms] [job="ID:346, Type:drop table, State:running, SchemaState:write only, SchemaID:342, TableID:344, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:34.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:34.698 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=346] [conn=2] [job="ID:346, Type:drop table, State:running, SchemaState:write only, SchemaID:342, TableID:344, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:34.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:34.714 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=249] [neededSchemaVersion=250] ["elapsed time"=1.952678ms] [gotSchemaVersion=250] [phyTblIDs="[344]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 13:01:34.717 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=346] [version=250] [2025/04/04 13:01:34.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=250] ["take time"=8.935847ms] [job="ID:346, Type:drop table, State:running, SchemaState:delete only, SchemaID:342, TableID:344, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:34.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:34.729 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=346] [conn=2] [job="ID:346, Type:drop table, State:running, SchemaState:delete only, SchemaID:342, TableID:344, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:34.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:34.735 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 344, Old Table Name: t)"] [2025/04/04 13:01:34.749 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=250] [neededSchemaVersion=251] ["elapsed time"=1.03886ms] [gotSchemaVersion=251] [phyTblIDs="[344]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 13:01:34.752 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=346] [version=251] [2025/04/04 13:01:34.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=251] ["take time"=8.091079ms] [job="ID:346, Type:drop table, State:done, SchemaState:none, SchemaID:342, TableID:344, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:34.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:34.763 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=346] [tableIDs="[344]"] [comment="drop table: table ID"] [2025/04/04 13:01:34.768 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=346] [jobType="drop table"] [2025/04/04 13:01:34.769 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=346] [conn=2] [job="ID:346, Type:drop table, State:synced, SchemaState:none, SchemaID:342, TableID:344, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:34.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:34.787 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=346] [2025/04/04 13:01:34.787 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=251] [cur_db=import_into] [sql="drop table if exists t"] [user=] [2025/04/04 13:01:34.800 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:348, Type:create table, State:queueing, SchemaState:none, SchemaID:342, TableID:347, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:34.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:01:34.800 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:348, Type:create table, State:queueing, SchemaState:none, SchemaID:342, TableID:347, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:34.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100), c int);"] [2025/04/04 13:01:34.806 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=348] [conn=2] [job="ID:348, Type:create table, State:queueing, SchemaState:none, SchemaID:342, TableID:347, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:34.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:34.810 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 347, Table Name: t)"] [2025/04/04 13:01:34.826 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=251] [neededSchemaVersion=252] ["elapsed time"=1.625918ms] [gotSchemaVersion=252] [phyTblIDs="[347]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 13:01:34.829 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=348] [version=252] [2025/04/04 13:01:34.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=252] ["take time"=8.704856ms] [job="ID:348, Type:create table, State:done, SchemaState:public, SchemaID:342, TableID:347, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:34.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:34.842 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=348] [conn=2] [job="ID:348, Type:create table, State:synced, SchemaState:public, SchemaID:342, TableID:347, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:34.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:34.853 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=348] [2025/04/04 13:01:34.854 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=252] [cur_db=import_into] [sql="create table t (a bigint, b varchar(100), c int);"] [user=] [2025/04/04 13:01:34.855 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="column assignment cannot use variables set outside IMPORT INTO statement, index 0"] [errorVerbose="column assignment cannot use variables set outside IMPORT INTO statement, index 0\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).buildImportInto\n\tpkg/planner/core/planbuilder.go:4601\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).Build\n\tpkg/planner/core/planbuilder.go:522\ngithub.com/pingcap/tidb/pkg/planner.buildLogicalPlan\n\tpkg/planner/optimize.go:547\ngithub.com/pingcap/tidb/pkg/planner.optimize\n\tpkg/planner/optimize.go:466\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:333\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:101\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ntests/realtikvtest/importintotest/importintotest_test.(*mockGCSSuite).TestBasicImportInto\n\ttests/realtikvtest/importintotest/import_into_test.go:167\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL="IMPORT INTO t(a, @, c) SET b=@v FROM 'gs://test-multi-load/db.tbl.001.csv?endpoint=http://127.0.0.1:4443/storage/v1/'\n\t\twith thread=1"] [2025/04/04 13:01:34.856 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="column assignment cannot use variables set outside IMPORT INTO statement, index 0"] [errorVerbose="column assignment cannot use variables set outside IMPORT INTO statement, index 0\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).buildImportInto\n\tpkg/planner/core/planbuilder.go:4601\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).Build\n\tpkg/planner/core/planbuilder.go:522\ngithub.com/pingcap/tidb/pkg/planner.buildLogicalPlan\n\tpkg/planner/optimize.go:547\ngithub.com/pingcap/tidb/pkg/planner.optimize\n\tpkg/planner/optimize.go:466\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:333\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:101\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ntests/realtikvtest/importintotest/importintotest_test.(*mockGCSSuite).TestBasicImportInto\n\ttests/realtikvtest/importintotest/import_into_test.go:171\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL="IMPORT INTO t(a, @, c) SET b=getvar('v') FROM 'gs://test-multi-load/db.tbl.001.csv?endpoint=http://127.0.0.1:4443/storage/v1/'\n\t\twith thread=1"] [2025/04/04 13:01:34.867 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:349, Type:drop table, State:queueing, SchemaState:public, SchemaID:342, TableID:347, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:34.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:01:34.867 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:349, Type:drop table, State:queueing, SchemaState:public, SchemaID:342, TableID:347, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:34.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t"] [2025/04/04 13:01:34.872 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=349] [conn=2] [job="ID:349, Type:drop table, State:queueing, SchemaState:public, SchemaID:342, TableID:347, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:34.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:34.889 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=252] [neededSchemaVersion=253] ["elapsed time"=2.142166ms] [gotSchemaVersion=253] [phyTblIDs="[347]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 13:01:34.892 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=349] [version=253] [2025/04/04 13:01:34.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=253] ["take time"=9.348979ms] [job="ID:349, Type:drop table, State:running, SchemaState:write only, SchemaID:342, TableID:347, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:34.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:34.903 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=349] [conn=2] [job="ID:349, Type:drop table, State:running, SchemaState:write only, SchemaID:342, TableID:347, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:34.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:34.918 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=253] [neededSchemaVersion=254] ["elapsed time"=2.126389ms] [gotSchemaVersion=254] [phyTblIDs="[347]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 13:01:34.921 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=349] [version=254] [2025/04/04 13:01:34.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=254] ["take time"=9.43792ms] [job="ID:349, Type:drop table, State:running, SchemaState:delete only, SchemaID:342, TableID:347, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:34.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:34.931 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=349] [conn=2] [job="ID:349, Type:drop table, State:running, SchemaState:delete only, SchemaID:342, TableID:347, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:34.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:34.937 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 347, Old Table Name: t)"] [2025/04/04 13:01:34.950 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=254] [neededSchemaVersion=255] ["elapsed time"=1.05894ms] [gotSchemaVersion=255] [phyTblIDs="[347]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 13:01:34.954 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=349] [version=255] [2025/04/04 13:01:34.955 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=255] ["take time"=7.696803ms] [job="ID:349, Type:drop table, State:done, SchemaState:none, SchemaID:342, TableID:347, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:34.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:34.964 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=349] [tableIDs="[347]"] [comment="drop table: table ID"] [2025/04/04 13:01:34.969 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=349] [jobType="drop table"] [2025/04/04 13:01:34.970 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=349] [conn=2] [job="ID:349, Type:drop table, State:synced, SchemaState:none, SchemaID:342, TableID:347, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:34.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:34.987 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=349] [2025/04/04 13:01:34.988 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=255] [cur_db=import_into] [sql="drop table if exists t"] [user=] [2025/04/04 13:01:35.001 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:351, Type:create table, State:queueing, SchemaState:none, SchemaID:342, TableID:350, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:34.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:01:35.001 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:351, Type:create table, State:queueing, SchemaState:none, SchemaID:342, TableID:350, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:34.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100), c int);"] [2025/04/04 13:01:35.006 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=351] [conn=2] [job="ID:351, Type:create table, State:queueing, SchemaState:none, SchemaID:342, TableID:350, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:34.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:35.011 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 350, Table Name: t)"] [2025/04/04 13:01:35.026 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=255] [neededSchemaVersion=256] ["elapsed time"=1.573376ms] [gotSchemaVersion=256] [phyTblIDs="[350]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 13:01:35.029 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=351] [version=256] [2025/04/04 13:01:35.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=256] ["take time"=8.375067ms] [job="ID:351, Type:create table, State:done, SchemaState:public, SchemaID:342, TableID:350, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:34.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:35.042 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=351] [conn=2] [job="ID:351, Type:create table, State:synced, SchemaState:public, SchemaID:342, TableID:350, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:34.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:35.054 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=351] [2025/04/04 13:01:35.054 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=256] [cur_db=import_into] [sql="create table t (a bigint, b varchar(100), c int);"] [user=] [2025/04/04 13:01:35.055 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="subquery is not supported in IMPORT INTO column assignment, index 0"] [errorVerbose="subquery is not supported in IMPORT INTO column assignment, index 0\ngithub.com/pingcap/tidb/pkg/planner/core.(*importIntoCollAssignmentChecker).Leave\n\tpkg/planner/core/planbuilder.go:4505\ngithub.com/pingcap/tidb/pkg/parser/ast.(*SubqueryExpr).Accept\n\tpkg/parser/ast/expressions.go:409\ngithub.com/pingcap/tidb/pkg/planner/core.checkImportIntoColAssignments\n\tpkg/planner/core/planbuilder.go:4485\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).buildImportInto\n\tpkg/planner/core/planbuilder.go:4584\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).Build\n\tpkg/planner/core/planbuilder.go:522\ngithub.com/pingcap/tidb/pkg/planner.buildLogicalPlan\n\tpkg/planner/optimize.go:547\ngithub.com/pingcap/tidb/pkg/planner.optimize\n\tpkg/planner/optimize.go:466\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:333\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:101\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ntests/realtikvtest/importintotest/importintotest_test.(*mockGCSSuite).TestBasicImportInto\n\ttests/realtikvtest/importintotest/import_into_test.go:178\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL="IMPORT INTO t(a, @, c) SET b=(SELECT 'subquery') FROM 'gs://test-multi-load/db.tbl.001.csv?endpoint=http://127.0.0.1:4443/storage/v1/'\n\t\twith thread=1"] [2025/04/04 13:01:35.066 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:352, Type:drop table, State:queueing, SchemaState:public, SchemaID:342, TableID:350, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:35.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:01:35.066 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:352, Type:drop table, State:queueing, SchemaState:public, SchemaID:342, TableID:350, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:35.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/04 13:01:35.071 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=352] [conn=2] [job="ID:352, Type:drop table, State:queueing, SchemaState:public, SchemaID:342, TableID:350, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:35.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:35.086 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=256] [neededSchemaVersion=257] ["elapsed time"=2.06357ms] [gotSchemaVersion=257] [phyTblIDs="[350]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 13:01:35.089 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=352] [version=257] [2025/04/04 13:01:35.091 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=257] ["take time"=8.672469ms] [job="ID:352, Type:drop table, State:running, SchemaState:write only, SchemaID:342, TableID:350, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:35.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:35.101 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=352] [conn=2] [job="ID:352, Type:drop table, State:running, SchemaState:write only, SchemaID:342, TableID:350, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:35.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:35.117 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=257] [neededSchemaVersion=258] ["elapsed time"=2.099885ms] [gotSchemaVersion=258] [phyTblIDs="[350]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 13:01:35.120 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=352] [version=258] [2025/04/04 13:01:35.122 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=258] ["take time"=8.81759ms] [job="ID:352, Type:drop table, State:running, SchemaState:delete only, SchemaID:342, TableID:350, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:35.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:35.130 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=352] [conn=2] [job="ID:352, Type:drop table, State:running, SchemaState:delete only, SchemaID:342, TableID:350, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:35.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:35.136 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 350, Old Table Name: t)"] [2025/04/04 13:01:35.149 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=258] [neededSchemaVersion=259] ["elapsed time"=1.031985ms] [gotSchemaVersion=259] [phyTblIDs="[350]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 13:01:35.152 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=352] [version=259] [2025/04/04 13:01:35.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=259] ["take time"=7.40962ms] [job="ID:352, Type:drop table, State:done, SchemaState:none, SchemaID:342, TableID:350, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:35.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:35.163 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=352] [tableIDs="[350]"] [comment="drop table: table ID"] [2025/04/04 13:01:35.167 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=352] [jobType="drop table"] [2025/04/04 13:01:35.168 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=352] [conn=2] [job="ID:352, Type:drop table, State:synced, SchemaState:none, SchemaID:342, TableID:350, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:35.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:35.185 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=352] [2025/04/04 13:01:35.185 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=259] [cur_db=import_into] [sql="drop table if exists t;"] [user=] [2025/04/04 13:01:35.197 +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:342, TableID:353, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:35.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:01:35.197 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:354, Type:create table, State:queueing, SchemaState:none, SchemaID:342, TableID:353, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:35.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100), c int);"] [2025/04/04 13:01:35.203 +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:342, TableID:353, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:35.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:35.207 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 353, Table Name: t)"] [2025/04/04 13:01:35.223 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=259] [neededSchemaVersion=260] ["elapsed time"=1.621226ms] [gotSchemaVersion=260] [phyTblIDs="[353]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 13:01:35.226 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=354] [version=260] [2025/04/04 13:01:35.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=260] ["take time"=8.377483ms] [job="ID:354, Type:create table, State:done, SchemaState:public, SchemaID:342, TableID:353, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:35.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:35.238 +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:342, TableID:353, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:35.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:35.250 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=354] [2025/04/04 13:01:35.250 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=260] [cur_db=import_into] [sql="create table t (a bigint, b varchar(100), c int);"] [user=] [2025/04/04 13:01:35.256 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:01:35.303 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/04 13:01:35.323 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30002] [task-id=30002] [data-size=63B] [thread-cnt=1] [global-sort=false] [2025/04/04 13:01:35.337 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30002] [2025/04/04 13:01:35.337 +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/04 13:01:35.439 +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/04 13:01:35.441 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30002] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:01:35.442 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30002] [curr-step=init] [next-step=import] [2025/04/04 13:01:35.449 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:01:35.452 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 13:01:35.452 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=63] [2025/04/04 13:01:35.452 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=63] [cost=67.691µs] [2025/04/04 13:01:35.452 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=159.199µs] [] [2025/04/04 13:01:35.452 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30002] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 13:01:35.452 +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/04 13:01:35.487 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30002] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 13:01:35.507 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30002] [step=import] [2025/04/04 13:01:35.508 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:01:35.516 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 13:01:35.516 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 13:01:35.516 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 13:01:35.516 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 13:01:35.516 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 13:01:35.516 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 13:01:35.516 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 13:01:35.517 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 13:01:35.517 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 13:01:35.517 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 13:01:35.529 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 13:01:35.531 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 13:01:35.531 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 13:01:35.531 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=30002] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 13:01:35.531 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=30002] [disk-quota=348.5GiB] [2025/04/04 13:01:35.531 +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=630.2MiB]"] [2025/04/04 13:01:35.539 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30002] [task-type=ImportInto] [server-id=:4000] [subtaskID=30002] [step=import] [2025/04/04 13:01:35.539 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30002] [step=import] [subtask-id=30002] [2025/04/04 13:01:35.544 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 13:01:35.546 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=30002] [mode=Import] [2025/04/04 13:01:35.548 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 13:01:35.548 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=353] [2025/04/04 13:01:35.566 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=30002] [2025/04/04 13:01:35.589 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=353] [key=db.tbl.001.csv:0] [2025/04/04 13:01:35.591 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=353] [key=db.tbl.001.csv:0] [readDur=933.651µs] [encodeDur=143.896µs] [checksum="{cksum=1675147975136326378,size=82,kvs=2}"] [deliverDur=278.207µs] [type=file] [takeTime=1.682099ms] [] [2025/04/04 13:01:35.592 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=353] [2025/04/04 13:01:35.592 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=82] [kvs=2] [files=1] [sstFileSize=990] [file=/tmp/tidb/import-4000/30002/ab3834ca-0a02-50c6-81ad-d45c1915b7bb.sst/134c7b4d-b9e9-48e0-b7c5-f2ce568513df.sst] [firstKey=7480000000000001615F728000000000000001] [lastKey=7480000000000001615F728000000000000002] [2025/04/04 13:01:35.594 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=353] [key=db.tbl.002.csv:0] [2025/04/04 13:01:35.596 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=353] [key=db.tbl.002.csv:0] [readDur=988.804µs] [encodeDur=216.153µs] [checksum="{cksum=12305018038957930638,size=82,kvs=2}"] [deliverDur=224.303µs] [type=file] [takeTime=1.686657ms] [] [2025/04/04 13:01:35.596 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=353] [2025/04/04 13:01:35.596 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=82] [kvs=2] [files=1] [sstFileSize=990] [file=/tmp/tidb/import-4000/30002/ab3834ca-0a02-50c6-81ad-d45c1915b7bb.sst/81cc9a42-672f-4491-aa5d-edc1a1ff0aea.sst] [firstKey=7480000000000001615F728000000000000008] [lastKey=7480000000000001615F728000000000000009] [2025/04/04 13:01:35.608 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=353] [key=db.tbl.003.csv:0] [2025/04/04 13:01:35.609 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=353] [key=db.tbl.003.csv:0] [readDur=835.618µs] [encodeDur=171.528µs] [checksum="{cksum=14730688775140726438,size=82,kvs=2}"] [deliverDur=189.718µs] [type=file] [takeTime=1.389925ms] [] [2025/04/04 13:01:35.610 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=82] [kvs=2] [files=1] [sstFileSize=990] [file=/tmp/tidb/import-4000/30002/ab3834ca-0a02-50c6-81ad-d45c1915b7bb.sst/0ca6250b-98cf-49db-a6c1-ac9a32a13c79.sst] [firstKey=7480000000000001615F72800000000000000F] [lastKey=7480000000000001615F728000000000000010] [2025/04/04 13:01:35.610 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=30002] [step=import] [engine-id=0] [2025/04/04 13:01:35.610 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=30002] [step=import] [engine-id=0] [2025/04/04 13:01:35.610 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 13:01:35.612 +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.933453ms] [] [2025/04/04 13:01:35.612 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [2025/04/04 13:01:35.617 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 13:01:35.638 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] ["region ranges"=1] [count=6] [size=246] [2025/04/04 13:01:35.638 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 13:01:35.641 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001615f728000000000000001] [endOfAllRanges=7480000000000001615f728000000000000011] [startKeyOfFirstRegion=7480000000000001ff615f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff615f728000000000ff0000110000000000fa] [2025/04/04 13:01:35.652 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [size=246] [kvs=6] [importedSize=246] [importedCount=6] [2025/04/04 13:01:35.654 +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.977101ms] [] [2025/04/04 13:01:35.654 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 13:01:35.656 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.217792ms] [] [2025/04/04 13:01:35.656 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=30002] [step=import] [engine-id=0] [2025/04/04 13:01:35.656 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 13:01:35.657 +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.356428ms] [] [2025/04/04 13:01:35.657 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [2025/04/04 13:01:35.661 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 13:01:35.661 +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.552776ms] [] [2025/04/04 13:01:35.661 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 13:01:35.662 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=868.951µs] [] [2025/04/04 13:01:35.662 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=30002] [step=import] [subtask-id=30002] [takeTime=122.373376ms] [] [2025/04/04 13:01:35.662 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30002] [task-type=ImportInto] [server-id=:4000] [subtaskID=30002] [step=import] [takeTime=122.578375ms] [] [2025/04/04 13:01:35.674 +00:00] [INFO] [read.go:686] ["Column information not found, possibly due to column being dropped"] [category=stats] [sampled=] [tableID=30] [columnID=8] [2025/04/04 13:01:35.744 +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/04 13:01:35.745 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30002] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:01:35.746 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30002] [curr-step=import] [next-step=post-process] [2025/04/04 13:01:35.746 +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/04 13:01:35.774 +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\":6}"] [2025/04/04 13:01:35.775 +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/04 13:01:35.775 +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/04 13:01:35.796 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=30002] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 13:01:35.802 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30002] [step=import] [2025/04/04 13:01:35.804 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 13:01:35.804 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 13:01:35.804 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 13:01:35.804 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 13:01:35.804 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 13:01:35.804 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 13:01:35.804 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:01:35.804 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 13:01:35.804 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-3] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:01:35.804 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:01:35.805 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:01:35.805 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 13:01:35.807 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 13:01:35.807 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:01:35.807 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:01:35.807 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:01:35.807 +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=630.2MiB]"] [takeTime=275.504712ms] [] [2025/04/04 13:01:35.808 +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=630.2MiB]"] [2025/04/04 13:01:35.815 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30002] [task-type=ImportInto] [server-id=:4000] [subtaskID=30003] [step=post-process] [2025/04/04 13:01:35.815 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=30002] [step=post-process] [subtask-id=30003] [2025/04/04 13:01:35.815 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=30002] [step=post-process] [subtask-id=30003] [2025/04/04 13:01:35.815 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=30002] [step=post-process] [subtask-id=30003] [2025/04/04 13:01:35.820 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=30002] [step=post-process] [subtask-id=30003] [takeTime=5.108514ms] [] [2025/04/04 13:01:35.820 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=30002] [step=post-process] [subtask-id=30003] [groupId=-1] [size=246] [kvs=6] [checksum=8184885398518078658] [2025/04/04 13:01:35.820 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=30002] [step=post-process] [subtask-id=30003] [checksum="{cksum=8184885398518078658,size=246,kvs=6}"] [2025/04/04 13:01:35.820 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=30002] [step=post-process] [subtask-id=30003] [weight=30] [2025/04/04 13:01:35.820 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=30002] [step=post-process] [subtask-id=30003] [concurrency=15] [2025/04/04 13:01:35.822 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=353] [physicalTableID=353] [indexID=-1] [checksum=8184885398518078658] [totalKvs=6] [totalBytes=246] [2025/04/04 13:01:35.823 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 13:01:35.823 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=30002] [step=post-process] [subtask-id=30003] [local="{cksum=8184885398518078658,size=246,kvs=6}"] [2025/04/04 13:01:35.823 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=30002] [step=post-process] [subtask-id=30003] [takeTime=7.893919ms] [] [2025/04/04 13:01:35.823 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=30002] [step=post-process] [subtask-id=30003] [takeTime=8.028916ms] [] [2025/04/04 13:01:35.823 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30002] [task-type=ImportInto] [server-id=:4000] [subtaskID=30003] [step=post-process] [takeTime=8.172334ms] [] [2025/04/04 13:01:35.830 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 13:01:35.844 +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/04 13:01:35.844 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30002] [step=post-process] [state=running] [] [2025/04/04 13:01:35.846 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=30002] [2025/04/04 13:01:35.866 +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=630.2MiB]"] [takeTime=58.045296ms] [] [2025/04/04 13:01:35.866 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30002] [type=ImportInto] [2025/04/04 13:01:35.939 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.688294971\n# Parse_time: 0.000093011\n# Compile_time: 0.000379983\n# Rewrite_time: 0.000088109\n# Optimize_time: 0.000088314\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('SvBJMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY4Ny42bXMsIG9wZW46NjY4bnMsIGNsb3NlOjEuMDHCtXMsIGxvb3BzOjIJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('ZfBSCmEKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWjB0aW1lOjY4Ny42bXMsIG9wZW46NjY4bnMsIGNsb3NlOjEuMDHCtXMsIGxvb3BzOjJw//////8BAzQBeP///////////wEYAQ==')\n# Resource_group: default\nuse import_into;\nIMPORT INTO `import_into`.`t` FROM 'gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1;"] [2025/04/04 13:01:35.939 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30002] [2025/04/04 13:01:35.945 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 13:01:35.945 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30002] [2025/04/04 13:01:35.952 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:355, Type:drop table, State:queueing, SchemaState:public, SchemaID:342, TableID:353, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:35.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/04 13:01:35.953 +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:342, TableID:353, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:35.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:01:35.958 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=355] [conn=2] [job="ID:355, Type:drop table, State:queueing, SchemaState:public, SchemaID:342, TableID:353, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:35.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:35.966 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 13:01:35.972 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=260] [neededSchemaVersion=261] ["elapsed time"=1.887925ms] [gotSchemaVersion=261] [phyTblIDs="[353]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 13:01:35.975 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=355] [version=261] [2025/04/04 13:01:35.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=261] ["take time"=7.686213ms] [job="ID:355, Type:drop table, State:running, SchemaState:write only, SchemaID:342, TableID:353, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:35.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:35.985 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=355] [conn=2] [job="ID:355, Type:drop table, State:running, SchemaState:write only, SchemaID:342, TableID:353, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:35.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:36.000 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=261] [neededSchemaVersion=262] ["elapsed time"=2.035705ms] [gotSchemaVersion=262] [phyTblIDs="[353]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 13:01:36.004 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=355] [version=262] [2025/04/04 13:01:36.006 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=262] ["take time"=8.751792ms] [job="ID:355, Type:drop table, State:running, SchemaState:delete only, SchemaID:342, TableID:353, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:35.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:36.014 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=355] [conn=2] [job="ID:355, Type:drop table, State:running, SchemaState:delete only, SchemaID:342, TableID:353, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:35.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:36.020 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 353, Old Table Name: t)"] [2025/04/04 13:01:36.032 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=262] [neededSchemaVersion=263] ["elapsed time"=959.762µs] [gotSchemaVersion=263] [phyTblIDs="[353]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 13:01:36.035 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=355] [version=263] [2025/04/04 13:01:36.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=263] ["take time"=7.537734ms] [job="ID:355, Type:drop table, State:done, SchemaState:none, SchemaID:342, TableID:353, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:35.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:36.046 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=355] [tableIDs="[353]"] [comment="drop table: table ID"] [2025/04/04 13:01:36.051 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=355] [jobType="drop table"] [2025/04/04 13:01:36.052 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=355] [conn=2] [job="ID:355, Type:drop table, State:synced, SchemaState:none, SchemaID:342, TableID:353, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:35.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:36.069 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=355] [2025/04/04 13:01:36.069 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=263] [cur_db=import_into] [sql="drop table if exists t;"] [user=] [2025/04/04 13:01:36.081 +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:342, TableID:356, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:36.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:01:36.081 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:357, Type:create table, State:queueing, SchemaState:none, SchemaID:342, TableID:356, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:36.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint primary key, b varchar(100), c int);"] [2025/04/04 13:01:36.086 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=357] [conn=2] [job="ID:357, Type:create table, State:queueing, SchemaState:none, SchemaID:342, TableID:356, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:36.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:36.091 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 356, Table Name: t)"] [2025/04/04 13:01:36.105 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=263] [neededSchemaVersion=264] ["elapsed time"=1.536073ms] [gotSchemaVersion=264] [phyTblIDs="[356]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 13:01:36.109 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=357] [version=264] [2025/04/04 13:01:36.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=264] ["take time"=8.230392ms] [job="ID:357, Type:create table, State:done, SchemaState:public, SchemaID:342, TableID:356, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:36.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:36.121 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=357] [conn=2] [job="ID:357, Type:create table, State:synced, SchemaState:public, SchemaID:342, TableID:356, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:36.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:36.132 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=357] [2025/04/04 13:01:36.132 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=264] [cur_db=import_into] [sql="create table t (a bigint primary key, b varchar(100), c int);"] [user=] [2025/04/04 13:01:36.137 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:01:36.183 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/04 13:01:36.202 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30003] [task-id=30003] [data-size=63B] [thread-cnt=1] [global-sort=false] [2025/04/04 13:01:36.215 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30003] [2025/04/04 13:01:36.216 +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/04 13:01:36.318 +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/04 13:01:36.319 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30003] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:01:36.320 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30003] [curr-step=init] [next-step=import] [2025/04/04 13:01:36.327 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:01:36.330 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 13:01:36.330 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=63] [2025/04/04 13:01:36.330 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=63] [cost=81.436µs] [2025/04/04 13:01:36.330 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=181.646µs] [] [2025/04/04 13:01:36.330 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30003] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 13:01:36.330 +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/04 13:01:36.366 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30003] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 13:01:36.386 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30003] [step=import] [2025/04/04 13:01:36.386 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:01:36.393 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 13:01:36.394 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 13:01:36.394 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 13:01:36.394 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 13:01:36.394 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 13:01:36.394 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 13:01:36.394 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 13:01:36.394 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 13:01:36.395 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 13:01:36.395 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 13:01:36.407 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 13:01:36.409 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 13:01:36.409 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 13:01:36.409 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=30003] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 13:01:36.409 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=30003] [disk-quota=348.5GiB] [2025/04/04 13:01:36.409 +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=630.2MiB]"] [2025/04/04 13:01:36.417 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30003] [task-type=ImportInto] [server-id=:4000] [subtaskID=30004] [step=import] [2025/04/04 13:01:36.417 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30003] [step=import] [subtask-id=30004] [2025/04/04 13:01:36.420 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 13:01:36.424 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 13:01:36.424 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=356] [2025/04/04 13:01:36.425 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=30003] [mode=Import] [2025/04/04 13:01:36.448 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=30003] [2025/04/04 13:01:36.473 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=356] [key=db.tbl.001.csv:0] [2025/04/04 13:01:36.475 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=356] [key=db.tbl.001.csv:0] [readDur=829.84µs] [encodeDur=194.831µs] [checksum="{cksum=7519321974396982192,size=74,kvs=2}"] [deliverDur=22.27µs] [type=file] [takeTime=1.295409ms] [] [2025/04/04 13:01:36.476 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=356] [2025/04/04 13:01:36.476 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=74] [kvs=2] [files=1] [sstFileSize=981] [file=/tmp/tidb/import-4000/30003/ab3834ca-0a02-50c6-81ad-d45c1915b7bb.sst/5bceb8c0-57ea-4186-b1d0-f25029f6653a.sst] [firstKey=7480000000000001645F728000000000000001] [lastKey=7480000000000001645F728000000000000002] [2025/04/04 13:01:36.478 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=356] [key=db.tbl.002.csv:0] [2025/04/04 13:01:36.479 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=356] [key=db.tbl.002.csv:0] [readDur=826.457µs] [encodeDur=166.702µs] [checksum="{cksum=8353780349895382269,size=74,kvs=2}"] [deliverDur=33.717µs] [type=file] [takeTime=1.233363ms] [] [2025/04/04 13:01:36.480 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=356] [2025/04/04 13:01:36.480 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=74] [kvs=2] [files=1] [sstFileSize=981] [file=/tmp/tidb/import-4000/30003/ab3834ca-0a02-50c6-81ad-d45c1915b7bb.sst/11555524-c3ed-4272-8ae4-5165dd6f6774.sst] [firstKey=7480000000000001645F728000000000000003] [lastKey=7480000000000001645F728000000000000004] [2025/04/04 13:01:36.482 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=356] [key=db.tbl.003.csv:0] [2025/04/04 13:01:36.483 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=356] [key=db.tbl.003.csv:0] [readDur=898.984µs] [encodeDur=240.902µs] [checksum="{cksum=34078042553017573,size=74,kvs=2}"] [deliverDur=22.254µs] [type=file] [takeTime=1.3721ms] [] [2025/04/04 13:01:36.484 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=74] [kvs=2] [files=1] [sstFileSize=981] [file=/tmp/tidb/import-4000/30003/ab3834ca-0a02-50c6-81ad-d45c1915b7bb.sst/abef322a-24ab-442d-ac94-aa9daa86b547.sst] [firstKey=7480000000000001645F728000000000000005] [lastKey=7480000000000001645F728000000000000006] [2025/04/04 13:01:36.484 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=30003] [step=import] [engine-id=0] [2025/04/04 13:01:36.484 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=30003] [step=import] [engine-id=0] [2025/04/04 13:01:36.484 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 13:01:36.486 +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.663248ms] [] [2025/04/04 13:01:36.486 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [2025/04/04 13:01:36.490 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 13:01:36.512 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] ["region ranges"=1] [count=6] [size=222] [2025/04/04 13:01:36.512 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 13:01:36.514 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001645f728000000000000001] [endOfAllRanges=7480000000000001645f728000000000000007] [startKeyOfFirstRegion=7480000000000001ff645f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff645f728000000000ff0000070000000000fa] [2025/04/04 13:01:36.525 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [size=222] [kvs=6] [importedSize=222] [importedCount=6] [2025/04/04 13:01:36.526 +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.21683ms] [] [2025/04/04 13:01:36.526 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 13:01:36.528 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.32599ms] [] [2025/04/04 13:01:36.528 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=30003] [step=import] [engine-id=0] [2025/04/04 13:01:36.528 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 13:01:36.529 +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.490302ms] [] [2025/04/04 13:01:36.529 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [2025/04/04 13:01:36.533 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 13:01:36.533 +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.493321ms] [] [2025/04/04 13:01:36.533 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 13:01:36.534 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=887.51µs] [] [2025/04/04 13:01:36.534 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=30003] [step=import] [subtask-id=30004] [takeTime=117.276877ms] [] [2025/04/04 13:01:36.534 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30003] [task-type=ImportInto] [server-id=:4000] [subtaskID=30004] [step=import] [takeTime=117.424276ms] [] [2025/04/04 13:01:36.623 +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/04 13:01:36.625 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30003] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:01:36.626 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30003] [curr-step=import] [next-step=post-process] [2025/04/04 13:01:36.626 +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/04 13:01:36.660 +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\":6}"] [2025/04/04 13:01:36.661 +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/04 13:01:36.661 +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/04 13:01:36.679 +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/04 13:01:36.679 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30003] [step=import] [2025/04/04 13:01:36.682 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 13:01:36.682 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 13:01:36.682 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 13:01:36.682 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 13:01:36.682 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 13:01:36.682 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 13:01:36.682 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 13:01:36.682 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:01:36.682 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:01:36.682 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:01:36.682 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-4] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:01:36.683 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 13:01:36.685 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 13:01:36.685 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:01:36.685 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:01:36.685 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:01:36.685 +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=630.2MiB]"] [takeTime=275.720827ms] [] [2025/04/04 13:01:36.685 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30003] [type=ImportInto] [2025/04/04 13:01:36.696 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30003] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 13:01:36.715 +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=630.2MiB]"] [2025/04/04 13:01:36.722 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30003] [task-type=ImportInto] [server-id=:4000] [subtaskID=30005] [step=post-process] [2025/04/04 13:01:36.722 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=30003] [step=post-process] [subtask-id=30005] [2025/04/04 13:01:36.722 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=30003] [step=post-process] [subtask-id=30005] [2025/04/04 13:01:36.722 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=30003] [step=post-process] [subtask-id=30005] [2025/04/04 13:01:36.722 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=30003] [step=post-process] [subtask-id=30005] [takeTime=1.683µs] [] [2025/04/04 13:01:36.722 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=30003] [step=post-process] [subtask-id=30005] [groupId=-1] [size=222] [kvs=6] [checksum=2003671119719883688] [2025/04/04 13:01:36.722 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=30003] [step=post-process] [subtask-id=30005] [checksum="{cksum=2003671119719883688,size=222,kvs=6}"] [2025/04/04 13:01:36.722 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=30003] [step=post-process] [subtask-id=30005] [weight=30] [2025/04/04 13:01:36.722 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=30003] [step=post-process] [subtask-id=30005] [concurrency=15] [2025/04/04 13:01:36.724 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=356] [physicalTableID=356] [indexID=-1] [checksum=2003671119719883688] [totalKvs=6] [totalBytes=222] [2025/04/04 13:01:36.724 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 13:01:36.724 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=30003] [step=post-process] [subtask-id=30005] [local="{cksum=2003671119719883688,size=222,kvs=6}"] [2025/04/04 13:01:36.724 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=30003] [step=post-process] [subtask-id=30005] [takeTime=2.488047ms] [] [2025/04/04 13:01:36.724 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=30003] [step=post-process] [subtask-id=30005] [takeTime=2.613284ms] [] [2025/04/04 13:01:36.725 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30003] [task-type=ImportInto] [server-id=:4000] [subtaskID=30005] [step=post-process] [takeTime=2.749229ms] [] [2025/04/04 13:01:36.733 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 13:01:36.823 +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/04 13:01:36.824 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30003] [step=post-process] [state=running] [] [2025/04/04 13:01:36.826 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=30003] [2025/04/04 13:01:36.845 +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=630.2MiB]"] [takeTime=129.96493ms] [] [2025/04/04 13:01:36.845 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30003] [type=ImportInto] [2025/04/04 13:01:36.918 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30003] [2025/04/04 13:01:36.924 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 13:01:36.924 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30003] [2025/04/04 13:01:36.945 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 13:01:37.118 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.985595022\n# Parse_time: 0.000099472\n# Compile_time: 0.000366718\n# Rewrite_time: 0.00007479\n# Optimize_time: 0.000231752\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4NC45bXMsIG9wZW46NzA4bnMsIGNsb3NlOjk5OG5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk4NC45bXMsIG9wZW46NzA4bnMsIGNsb3NlOjk5OG5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\nIMPORT INTO `import_into`.`t` FROM 'gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1;"] [2025/04/04 13:01:37.131 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:358, Type:drop table, State:queueing, SchemaState:public, SchemaID:342, TableID:356, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:37.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:01:37.131 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:358, Type:drop table, State:queueing, SchemaState:public, SchemaID:342, TableID:356, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:37.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/04 13:01:37.136 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=358] [conn=2] [job="ID:358, Type:drop table, State:queueing, SchemaState:public, SchemaID:342, TableID:356, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:37.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:37.152 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=264] [neededSchemaVersion=265] ["elapsed time"=2.035345ms] [gotSchemaVersion=265] [phyTblIDs="[356]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 13:01:37.156 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=358] [version=265] [2025/04/04 13:01:37.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=265] ["take time"=8.51921ms] [job="ID:358, Type:drop table, State:running, SchemaState:write only, SchemaID:342, TableID:356, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:37.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:37.166 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=358] [conn=2] [job="ID:358, Type:drop table, State:running, SchemaState:write only, SchemaID:342, TableID:356, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:37.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:37.181 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=265] [neededSchemaVersion=266] ["elapsed time"=2.078914ms] [gotSchemaVersion=266] [phyTblIDs="[356]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 13:01:37.185 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=358] [version=266] [2025/04/04 13:01:37.186 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=266] ["take time"=8.993958ms] [job="ID:358, Type:drop table, State:running, SchemaState:delete only, SchemaID:342, TableID:356, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:37.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:37.195 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=358] [conn=2] [job="ID:358, Type:drop table, State:running, SchemaState:delete only, SchemaID:342, TableID:356, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:37.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:37.201 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 356, Old Table Name: t)"] [2025/04/04 13:01:37.214 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=266] [neededSchemaVersion=267] ["elapsed time"=1.037908ms] [gotSchemaVersion=267] [phyTblIDs="[356]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 13:01:37.217 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=358] [version=267] [2025/04/04 13:01:37.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=267] ["take time"=7.643961ms] [job="ID:358, Type:drop table, State:done, SchemaState:none, SchemaID:342, TableID:356, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:37.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:37.227 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=358] [tableIDs="[356]"] [comment="drop table: table ID"] [2025/04/04 13:01:37.232 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=358] [jobType="drop table"] [2025/04/04 13:01:37.233 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=358] [conn=2] [job="ID:358, Type:drop table, State:synced, SchemaState:none, SchemaID:342, TableID:356, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:37.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:37.249 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=358] [2025/04/04 13:01:37.250 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=267] [cur_db=import_into] [sql="drop table if exists t;"] [user=] [2025/04/04 13:01:37.262 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:360, Type:create table, State:queueing, SchemaState:none, SchemaID:342, TableID:359, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:37.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint primary key, b varchar(100), c int, key(b, a));"] [2025/04/04 13:01:37.262 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:360, Type:create table, State:queueing, SchemaState:none, SchemaID:342, TableID:359, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:37.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:01:37.267 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=360] [conn=2] [job="ID:360, Type:create table, State:queueing, SchemaState:none, SchemaID:342, TableID:359, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:37.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:37.272 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 359, Table Name: t)"] [2025/04/04 13:01:37.288 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=267] [neededSchemaVersion=268] ["elapsed time"=1.912799ms] [gotSchemaVersion=268] [phyTblIDs="[359]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 13:01:37.291 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=360] [version=268] [2025/04/04 13:01:37.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=268] ["take time"=8.770747ms] [job="ID:360, Type:create table, State:done, SchemaState:public, SchemaID:342, TableID:359, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:37.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:37.304 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=360] [conn=2] [job="ID:360, Type:create table, State:synced, SchemaState:public, SchemaID:342, TableID:359, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:37.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:37.316 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=360] [2025/04/04 13:01:37.316 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=268] [cur_db=import_into] [sql="create table t (a bigint primary key, b varchar(100), c int, key(b, a));"] [user=] [2025/04/04 13:01:37.322 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:01:37.369 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/04 13:01:37.388 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30004] [task-id=30004] [data-size=63B] [thread-cnt=1] [global-sort=false] [2025/04/04 13:01:37.401 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30004] [2025/04/04 13:01:37.401 +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/04 13:01:37.503 +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/04 13:01:37.505 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30004] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:01:37.506 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30004] [curr-step=init] [next-step=import] [2025/04/04 13:01:37.514 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:01:37.516 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 13:01:37.516 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=63] [2025/04/04 13:01:37.517 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=63] [cost=78.521µs] [2025/04/04 13:01:37.517 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=192.465µs] [] [2025/04/04 13:01:37.517 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30004] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 13:01:37.517 +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/04 13:01:37.556 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30004] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 13:01:37.577 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30004] [step=import] [2025/04/04 13:01:37.577 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:01:37.584 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 13:01:37.584 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 13:01:37.585 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 13:01:37.585 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 13:01:37.585 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 13:01:37.585 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 13:01:37.585 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 13:01:37.585 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 13:01:37.586 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 13:01:37.586 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 13:01:37.599 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 13:01:37.601 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 13:01:37.601 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 13:01:37.601 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=30004] [step=import] [data-buf-limit=236.3MiB] [per-index-buf-limit=78.77MiB] [index-buf-block-size=16MiB] [2025/04/04 13:01:37.601 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=30004] [disk-quota=348.5GiB] [2025/04/04 13:01:37.601 +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=630.2MiB]"] [2025/04/04 13:01:37.608 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30004] [task-type=ImportInto] [server-id=:4000] [subtaskID=30006] [step=import] [2025/04/04 13:01:37.608 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30004] [step=import] [subtask-id=30006] [2025/04/04 13:01:37.611 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=30004] [mode=Import] [2025/04/04 13:01:37.612 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 13:01:37.615 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 13:01:37.616 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=359] [2025/04/04 13:01:37.634 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=30004] [2025/04/04 13:01:37.730 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=359] [key=db.tbl.001.csv:0] [2025/04/04 13:01:37.731 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=359] [key=db.tbl.001.csv:0] [readDur=928.434µs] [encodeDur=235.778µs] [checksum="{cksum=14407722893173523601,size=206,kvs=4}"] [deliverDur=41.183µs] [type=file] [takeTime=1.450229ms] [] [2025/04/04 13:01:37.733 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=359] [2025/04/04 13:01:37.733 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=74] [kvs=2] [files=1] [sstFileSize=981] [file=/tmp/tidb/import-4000/30004/ab3834ca-0a02-50c6-81ad-d45c1915b7bb.sst/648d6c34-4ca5-4444-9275-be3dba5f161b.sst] [firstKey=7480000000000001675F728000000000000001] [lastKey=7480000000000001675F728000000000000002] [2025/04/04 13:01:37.757 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=359] [key=db.tbl.002.csv:0] [2025/04/04 13:01:37.759 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=359] [key=db.tbl.002.csv:0] [readDur=839.638µs] [encodeDur=558.781µs] [checksum="{cksum=15782324127249246501,size=206,kvs=4}"] [deliverDur=46.01µs] [type=file] [takeTime=1.660631ms] [] [2025/04/04 13:01:37.760 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=359] [2025/04/04 13:01:37.760 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=74] [kvs=2] [files=1] [sstFileSize=981] [file=/tmp/tidb/import-4000/30004/ab3834ca-0a02-50c6-81ad-d45c1915b7bb.sst/943f7b6b-7242-482a-863f-6ce6b481532e.sst] [firstKey=7480000000000001675F728000000000000003] [lastKey=7480000000000001675F728000000000000004] [2025/04/04 13:01:37.839 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=359] [key=db.tbl.003.csv:0] [2025/04/04 13:01:37.840 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=359] [key=db.tbl.003.csv:0] [readDur=919.856µs] [encodeDur=380.544µs] [checksum="{cksum=12669308623598711748,size=206,kvs=4}"] [deliverDur=36.754µs] [type=file] [takeTime=1.571487ms] [] [2025/04/04 13:01:37.842 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=74] [kvs=2] [files=1] [sstFileSize=981] [file=/tmp/tidb/import-4000/30004/ab3834ca-0a02-50c6-81ad-d45c1915b7bb.sst/64947843-5ba5-460f-abeb-c63e8e56d891.sst] [firstKey=7480000000000001675F728000000000000005] [lastKey=7480000000000001675F728000000000000006] [2025/04/04 13:01:37.842 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=30004] [step=import] [engine-id=0] [2025/04/04 13:01:37.842 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=30004] [step=import] [engine-id=0] [2025/04/04 13:01:37.842 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 13:01:37.844 +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.925815ms] [] [2025/04/04 13:01:37.844 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [2025/04/04 13:01:37.848 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 13:01:37.870 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] ["region ranges"=1] [count=6] [size=222] [2025/04/04 13:01:37.870 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 13:01:37.872 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001675f728000000000000001] [endOfAllRanges=7480000000000001675f728000000000000007] [startKeyOfFirstRegion=7480000000000001ff675f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff675f728000000000ff0000070000000000fa] [2025/04/04 13:01:37.888 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [size=222] [kvs=6] [importedSize=222] [importedCount=6] [2025/04/04 13:01:37.890 +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.076198ms] [] [2025/04/04 13:01:37.890 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 13:01:37.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.224374ms] [] [2025/04/04 13:01:37.891 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=30004] [step=import] [engine-id=0] [2025/04/04 13:01:37.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/04 13:01:37.893 +00:00] [INFO] [engine.go:1695] ["compact sst"] [category=ddl-ingest] [fileCount=3] [size=396] [count=6] [cost=1.202432ms] [file=/tmp/tidb/import-4000/30004/2d9462f7-8d8a-52db-8655-8d0214d0d974.sst/44b900ac-3cc0-469c-a973-20cbd919d3ff.sst] [2025/04/04 13:01:37.893 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=396] [kvs=6] [files=1] [sstFileSize=1156] [file=/tmp/tidb/import-4000/30004/2d9462f7-8d8a-52db-8655-8d0214d0d974.sst/44b900ac-3cc0-469c-a973-20cbd919d3ff.sst] [firstKey=7480000000000001675F698000000000000001017465737431000000FC038000000000000001038000000000000001] [lastKey=7480000000000001675F698000000000000001017465737436000000FC038000000000000006038000000000000006] [2025/04/04 13:01:37.895 +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.818229ms] [] [2025/04/04 13:01:37.895 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [2025/04/04 13:01:37.899 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 13:01:37.921 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=2d9462f7-8d8a-52db-8655-8d0214d0d974] ["region ranges"=1] [count=6] [size=396] [2025/04/04 13:01:37.921 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 13:01:37.922 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001675f698000000000000001017465737431000000fc038000000000000001038000000000000001] [endOfAllRanges=7480000000000001675f698000000000000001017465737436000000fc03800000000000000603800000000000000600] [startKeyOfFirstRegion=7480000000000001ff675f698000000000ff0000010174657374ff31000000fc038000ff0000000000010380ff0000000000000100fe] [endKeyOfLastRegion=7480000000000001ff675f698000000000ff0000010174657374ff36000000fc038000ff0000000000060380ff0000000000000600ff0000000000000000f7] [2025/04/04 13:01:37.932 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=2d9462f7-8d8a-52db-8655-8d0214d0d974] [size=396] [kvs=6] [importedSize=396] [importedCount=6] [2025/04/04 13:01:37.934 +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=38.772976ms] [] [2025/04/04 13:01:37.934 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 13:01:37.935 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=1.06865ms] [] [2025/04/04 13:01:37.935 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=30004] [step=import] [subtask-id=30006] [takeTime=327.257336ms] [] [2025/04/04 13:01:37.936 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30004] [task-type=ImportInto] [server-id=:4000] [subtaskID=30006] [step=import] [takeTime=327.405372ms] [] [2025/04/04 13:01:38.008 +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/04 13:01:38.009 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30004] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:01:38.010 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30004] [curr-step=import] [next-step=post-process] [2025/04/04 13:01:38.010 +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/04 13:01:38.038 +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\":6}"] [2025/04/04 13:01:38.040 +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/04 13:01:38.040 +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/04 13:01:38.069 +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/04 13:01:38.076 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30004] [step=import] [2025/04/04 13:01:38.081 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 13:01:38.081 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 13:01:38.081 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 13:01:38.081 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 13:01:38.081 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 13:01:38.081 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 13:01:38.081 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 13:01:38.081 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:01:38.081 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:01:38.081 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-5] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:01:38.081 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:01:38.081 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 13:01:38.083 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 13:01:38.083 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:01:38.083 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:01:38.083 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:01:38.083 +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=630.2MiB]"] [takeTime=482.26238ms] [] [2025/04/04 13:01:38.085 +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=630.2MiB]"] [2025/04/04 13:01:38.092 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30004] [task-type=ImportInto] [server-id=:4000] [subtaskID=30007] [step=post-process] [2025/04/04 13:01:38.092 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=30004] [step=post-process] [subtask-id=30007] [2025/04/04 13:01:38.092 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=30004] [step=post-process] [subtask-id=30007] [2025/04/04 13:01:38.092 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=30004] [step=post-process] [subtask-id=30007] [2025/04/04 13:01:38.092 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=30004] [step=post-process] [subtask-id=30007] [takeTime=1.963µs] [] [2025/04/04 13:01:38.092 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=30004] [step=post-process] [subtask-id=30007] [groupId=1] [size=396] [kvs=6] [checksum=12171121870781005272] [2025/04/04 13:01:38.092 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=30004] [step=post-process] [subtask-id=30007] [groupId=-1] [size=222] [kvs=6] [checksum=2003671119719883688] [2025/04/04 13:01:38.092 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=30004] [step=post-process] [subtask-id=30007] [checksum="{cksum=12909280944061374064,size=618,kvs=12}"] [2025/04/04 13:01:38.092 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=30004] [step=post-process] [subtask-id=30007] [weight=30] [2025/04/04 13:01:38.092 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=30004] [step=post-process] [subtask-id=30007] [concurrency=15] [2025/04/04 13:01:38.099 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=359] [physicalTableID=359] [indexID=-1] [checksum=2003671119719883688] [totalKvs=6] [totalBytes=222] [2025/04/04 13:01:38.100 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=359] [physicalTableID=359] [indexID=1] [checksum=12171121870781005272] [totalKvs=6] [totalBytes=396] [2025/04/04 13:01:38.100 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 13:01:38.100 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=30004] [step=post-process] [subtask-id=30007] [local="{cksum=12909280944061374064,size=618,kvs=12}"] [2025/04/04 13:01:38.100 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=30004] [step=post-process] [subtask-id=30007] [takeTime=8.110582ms] [] [2025/04/04 13:01:38.100 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=30004] [step=post-process] [subtask-id=30007] [takeTime=8.253993ms] [] [2025/04/04 13:01:38.100 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30004] [task-type=ImportInto] [server-id=:4000] [subtaskID=30007] [step=post-process] [takeTime=8.368422ms] [] [2025/04/04 13:01:38.105 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 13:01:38.209 +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/04 13:01:38.209 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30004] [step=post-process] [state=running] [] [2025/04/04 13:01:38.212 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=30004] [2025/04/04 13:01:38.236 +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=630.2MiB]"] [takeTime=151.408993ms] [] [2025/04/04 13:01:38.236 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30004] [type=ImportInto] [2025/04/04 13:01:38.303 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30004] [2025/04/04 13:01:38.303 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.986848929\n# Parse_time: 0.000083585\n# Compile_time: 0.000366859\n# Rewrite_time: 0.000076668\n# Optimize_time: 0.000245399\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4Ni4ybXMsIG9wZW46NzA5bnMsIGNsb3NlOjg2NW5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk4Ni4ybXMsIG9wZW46NzA5bnMsIGNsb3NlOjg2NW5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\nIMPORT INTO `import_into`.`t` FROM 'gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1;"] [2025/04/04 13:01:38.309 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 13:01:38.309 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30004] [2025/04/04 13:01:38.318 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:361, Type:drop table, State:queueing, SchemaState:public, SchemaID:342, TableID:359, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:38.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/04 13:01:38.318 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:361, Type:drop table, State:queueing, SchemaState:public, SchemaID:342, TableID:359, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:38.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:01:38.323 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=361] [conn=2] [job="ID:361, Type:drop table, State:queueing, SchemaState:public, SchemaID:342, TableID:359, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:38.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:38.331 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 13:01:38.341 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=268] [neededSchemaVersion=269] ["elapsed time"=2.432325ms] [gotSchemaVersion=269] [phyTblIDs="[359]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 13:01:38.343 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/22319600d42a2705] [ownerID=dc0db76e-306f-4c67-9d23-d988f52ad40d] [op=none] [2025/04/04 13:01:38.343 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=dc0db76e-306f-4c67-9d23-d988f52ad40d] [2025/04/04 13:01:38.343 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=dc0db76e-306f-4c67-9d23-d988f52ad40d] [ownerKey=/tidb/stats/owner/22319600d42a2705] [currRev=1685] [2025/04/04 13:01:38.344 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/bindinfo/owner] ["owner key"=/tidb/bindinfo/owner/22319600d42a2703] [ownerID=dc0db76e-306f-4c67-9d23-d988f52ad40d] [op=none] [2025/04/04 13:01:38.344 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa9600d42a281c] [ownerID=d1d11baf-7994-4bb3-a37b-68047b42c462] [op=none] [2025/04/04 13:01:38.344 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=d1d11baf-7994-4bb3-a37b-68047b42c462] [2025/04/04 13:01:38.344 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/bindinfo/owner] [id=dc0db76e-306f-4c67-9d23-d988f52ad40d] [2025/04/04 13:01:38.344 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=d1d11baf-7994-4bb3-a37b-68047b42c462] [ownerKey=/tidb/br-stream/owner/3eaa9600d42a281c] [currRev=1685] [2025/04/04 13:01:38.344 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/bindinfo/owner] [id=dc0db76e-306f-4c67-9d23-d988f52ad40d] [ownerKey=/tidb/bindinfo/owner/22319600d42a2703] [currRev=1685] [2025/04/04 13:01:38.345 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=361] [version=269] [2025/04/04 13:01:38.346 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=269] ["take time"=9.368952ms] [job="ID:361, Type:drop table, State:running, SchemaState:write only, SchemaID:342, TableID:359, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:38.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:38.355 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=361] [conn=2] [job="ID:361, Type:drop table, State:running, SchemaState:write only, SchemaID:342, TableID:359, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:38.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:38.371 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=269] [neededSchemaVersion=270] ["elapsed time"=2.301945ms] [gotSchemaVersion=270] [phyTblIDs="[359]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 13:01:38.374 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=361] [version=270] [2025/04/04 13:01:38.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=270] ["take time"=8.979968ms] [job="ID:361, Type:drop table, State:running, SchemaState:delete only, SchemaID:342, TableID:359, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:38.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:38.384 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=361] [conn=2] [job="ID:361, Type:drop table, State:running, SchemaState:delete only, SchemaID:342, TableID:359, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:38.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:38.391 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 359, Old Table Name: t)"] [2025/04/04 13:01:38.404 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=270] [neededSchemaVersion=271] ["elapsed time"=1.061002ms] [gotSchemaVersion=271] [phyTblIDs="[359]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 13:01:38.407 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=361] [version=271] [2025/04/04 13:01:38.409 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=271] ["take time"=7.60929ms] [job="ID:361, Type:drop table, State:done, SchemaState:none, SchemaID:342, TableID:359, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:38.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:38.418 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=361] [tableIDs="[359]"] [comment="drop table: table ID"] [2025/04/04 13:01:38.423 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=361] [jobType="drop table"] [2025/04/04 13:01:38.424 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=361] [conn=2] [job="ID:361, Type:drop table, State:synced, SchemaState:none, SchemaID:342, TableID:359, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:38.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:38.441 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=361] [2025/04/04 13:01:38.441 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=271] [cur_db=import_into] [sql="drop table if exists t;"] [user=] [2025/04/04 13:01:38.454 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:363, Type:create table, State:queueing, SchemaState:none, SchemaID:342, TableID:362, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:38.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:01:38.454 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:363, Type:create table, State:queueing, SchemaState:none, SchemaID:342, TableID:362, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:38.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint auto_increment primary key, b varchar(100), c int);"] [2025/04/04 13:01:38.459 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=363] [conn=2] [job="ID:363, Type:create table, State:queueing, SchemaState:none, SchemaID:342, TableID:362, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:38.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:38.464 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 362, Table Name: t)"] [2025/04/04 13:01:38.479 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=271] [neededSchemaVersion=272] ["elapsed time"=1.721444ms] [gotSchemaVersion=272] [phyTblIDs="[362]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 13:01:38.482 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=363] [version=272] [2025/04/04 13:01:38.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=272] ["take time"=8.452955ms] [job="ID:363, Type:create table, State:done, SchemaState:public, SchemaID:342, TableID:362, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:38.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:38.495 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=363] [conn=2] [job="ID:363, Type:create table, State:synced, SchemaState:public, SchemaID:342, TableID:362, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:38.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:38.506 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=363] [2025/04/04 13:01:38.506 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=272] [cur_db=import_into] [sql="create table t (a bigint auto_increment primary key, b varchar(100), c int);"] [user=] [2025/04/04 13:01:38.511 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:01:38.555 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/04 13:01:38.574 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30005] [task-id=30005] [data-size=63B] [thread-cnt=1] [global-sort=false] [2025/04/04 13:01:38.588 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30005] [2025/04/04 13:01:38.588 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=30005] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/04 13:01:38.632 +00:00] [INFO] [owner_daemon.go:56] ["daemon became owner"] [id=d1d11baf-7994-4bb3-a37b-68047b42c462] [daemon-id=LogBackup::Advancer] [2025/04/04 13:01:38.632 +00:00] [INFO] [advancer.go:518] ["Subscription handler spawned."] [category="log backup subscription manager"] [2025/04/04 13:01:38.633 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 13:01:38.690 +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/04 13:01:38.691 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30005] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:01:38.692 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30005] [curr-step=init] [next-step=import] [2025/04/04 13:01:38.700 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:01:38.703 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 13:01:38.703 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=63] [2025/04/04 13:01:38.703 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=63] [cost=68.699µs] [2025/04/04 13:01:38.703 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=160.599µs] [] [2025/04/04 13:01:38.703 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30005] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 13:01:38.703 +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=1] [subtasks=1] [2025/04/04 13:01:38.736 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30005] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 13:01:38.756 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30005] [step=import] [2025/04/04 13:01:38.756 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:01:38.764 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 13:01:38.764 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 13:01:38.764 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 13:01:38.764 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 13:01:38.764 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 13:01:38.764 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 13:01:38.764 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 13:01:38.765 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 13:01:38.765 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 13:01:38.765 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 13:01:38.776 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 13:01:38.778 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 13:01:38.778 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 13:01:38.778 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=30005] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 13:01:38.778 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=30005] [disk-quota=348.5GiB] [2025/04/04 13:01:38.778 +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=1, Mem=630.2MiB]"] [2025/04/04 13:01:38.785 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30005] [task-type=ImportInto] [server-id=:4000] [subtaskID=30008] [step=import] [2025/04/04 13:01:38.785 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30005] [step=import] [subtask-id=30008] [2025/04/04 13:01:38.789 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 13:01:38.794 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 13:01:38.794 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=362] [2025/04/04 13:01:38.798 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=30005] [mode=Import] [2025/04/04 13:01:38.815 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=30005] [2025/04/04 13:01:38.871 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=362] [key=db.tbl.001.csv:0] [2025/04/04 13:01:38.872 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=362] [key=db.tbl.001.csv:0] [readDur=890.157µs] [encodeDur=126.855µs] [checksum="{cksum=7519321974396982192,size=74,kvs=2}"] [deliverDur=99.339µs] [type=file] [takeTime=1.371018ms] [] [2025/04/04 13:01:38.873 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=362] [2025/04/04 13:01:38.873 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=74] [kvs=2] [files=1] [sstFileSize=981] [file=/tmp/tidb/import-4000/30005/ab3834ca-0a02-50c6-81ad-d45c1915b7bb.sst/a7f00f73-2839-4781-af24-37f0384f52b0.sst] [firstKey=74800000000000016A5F728000000000000001] [lastKey=74800000000000016A5F728000000000000002] [2025/04/04 13:01:38.907 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=362] [key=db.tbl.002.csv:0] [2025/04/04 13:01:38.908 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=362] [key=db.tbl.002.csv:0] [readDur=746.984µs] [encodeDur=113.981µs] [checksum="{cksum=8353780349895382269,size=74,kvs=2}"] [deliverDur=34.822µs] [type=file] [takeTime=1.060873ms] [] [2025/04/04 13:01:38.909 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=362] [2025/04/04 13:01:38.909 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=74] [kvs=2] [files=1] [sstFileSize=981] [file=/tmp/tidb/import-4000/30005/ab3834ca-0a02-50c6-81ad-d45c1915b7bb.sst/eb32b7ad-c690-4478-aafe-ccf9e70fabf8.sst] [firstKey=74800000000000016A5F728000000000000003] [lastKey=74800000000000016A5F728000000000000004] [2025/04/04 13:01:38.933 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=362] [key=db.tbl.003.csv:0] [2025/04/04 13:01:38.934 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=362] [key=db.tbl.003.csv:0] [readDur=932.234µs] [encodeDur=220.125µs] [checksum="{cksum=34078042553017573,size=74,kvs=2}"] [deliverDur=26.837µs] [type=file] [takeTime=1.370239ms] [] [2025/04/04 13:01:38.935 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=74] [kvs=2] [files=1] [sstFileSize=981] [file=/tmp/tidb/import-4000/30005/ab3834ca-0a02-50c6-81ad-d45c1915b7bb.sst/f5f30385-5659-4942-b982-6566664d32df.sst] [firstKey=74800000000000016A5F728000000000000005] [lastKey=74800000000000016A5F728000000000000006] [2025/04/04 13:01:38.935 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=30005] [step=import] [engine-id=0] [2025/04/04 13:01:38.935 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=30005] [step=import] [engine-id=0] [2025/04/04 13:01:38.935 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 13:01:38.937 +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.970756ms] [] [2025/04/04 13:01:38.937 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [2025/04/04 13:01:38.941 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 13:01:38.963 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] ["region ranges"=1] [count=6] [size=222] [2025/04/04 13:01:38.963 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 13:01:38.965 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000016a5f728000000000000001] [endOfAllRanges=74800000000000016a5f728000000000000007] [startKeyOfFirstRegion=7480000000000001ff6a5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff6a5f728000000000ff0000070000000000fa] [2025/04/04 13:01:38.975 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [size=222] [kvs=6] [importedSize=222] [importedCount=6] [2025/04/04 13:01:38.977 +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.039081ms] [] [2025/04/04 13:01:38.977 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 13:01:38.978 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.178259ms] [] [2025/04/04 13:01:38.978 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=30005] [step=import] [engine-id=0] [2025/04/04 13:01:38.979 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 13:01:38.980 +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.453247ms] [] [2025/04/04 13:01:38.980 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [2025/04/04 13:01:38.984 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 13:01:38.984 +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.715299ms] [] [2025/04/04 13:01:38.984 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 13:01:38.985 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=851.153µs] [] [2025/04/04 13:01:38.985 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=30005] [step=import] [subtask-id=30008] [takeTime=199.46561ms] [] [2025/04/04 13:01:38.985 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30005] [task-type=ImportInto] [server-id=:4000] [subtaskID=30008] [step=import] [takeTime=199.618673ms] [] [2025/04/04 13:01:39.095 +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/04 13:01:39.097 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30005] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:01:39.098 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30005] [curr-step=import] [next-step=post-process] [2025/04/04 13:01:39.098 +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/04 13:01:39.124 +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/04 13:01:39.124 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30005] [step=import] [2025/04/04 13:01:39.126 +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\":6}"] [2025/04/04 13:01:39.127 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 13:01:39.127 +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/04 13:01:39.127 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 13:01:39.127 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 13:01:39.127 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 13:01:39.127 +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=1] [subtasks=1] [2025/04/04 13:01:39.127 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 13:01:39.127 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 13:01:39.127 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 13:01:39.127 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:01:39.127 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-6] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:01:39.127 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:01:39.127 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:01:39.127 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 13:01:39.129 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 13:01:39.129 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:01:39.130 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:01:39.130 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:01:39.130 +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=1, Mem=630.2MiB]"] [takeTime=351.497661ms] [] [2025/04/04 13:01:39.130 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30005] [type=ImportInto] [2025/04/04 13:01:39.155 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30005] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 13:01:39.174 +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=1, Mem=630.2MiB]"] [2025/04/04 13:01:39.181 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30005] [task-type=ImportInto] [server-id=:4000] [subtaskID=30009] [step=post-process] [2025/04/04 13:01:39.181 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=30005] [step=post-process] [subtask-id=30009] [2025/04/04 13:01:39.181 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=30005] [step=post-process] [subtask-id=30009] [2025/04/04 13:01:39.181 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=30005] [step=post-process] [subtask-id=30009] [2025/04/04 13:01:39.187 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=30005] [step=post-process] [subtask-id=30009] [takeTime=5.350485ms] [] [2025/04/04 13:01:39.187 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=30005] [step=post-process] [subtask-id=30009] [groupId=-1] [size=222] [kvs=6] [checksum=2003671119719883688] [2025/04/04 13:01:39.187 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=30005] [step=post-process] [subtask-id=30009] [checksum="{cksum=2003671119719883688,size=222,kvs=6}"] [2025/04/04 13:01:39.187 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=30005] [step=post-process] [subtask-id=30009] [weight=30] [2025/04/04 13:01:39.187 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=30005] [step=post-process] [subtask-id=30009] [concurrency=15] [2025/04/04 13:01:39.189 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=362] [physicalTableID=362] [indexID=-1] [checksum=2003671119719883688] [totalKvs=6] [totalBytes=222] [2025/04/04 13:01:39.189 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 13:01:39.189 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=30005] [step=post-process] [subtask-id=30009] [local="{cksum=2003671119719883688,size=222,kvs=6}"] [2025/04/04 13:01:39.189 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=30005] [step=post-process] [subtask-id=30009] [takeTime=7.935783ms] [] [2025/04/04 13:01:39.189 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=30005] [step=post-process] [subtask-id=30009] [takeTime=8.068034ms] [] [2025/04/04 13:01:39.189 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30005] [task-type=ImportInto] [server-id=:4000] [subtaskID=30009] [step=post-process] [takeTime=8.199831ms] [] [2025/04/04 13:01:39.190 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 13:01:39.295 +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/04 13:01:39.296 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30005] [step=post-process] [state=running] [] [2025/04/04 13:01:39.298 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=30005] [2025/04/04 13:01:39.312 +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=1, Mem=630.2MiB]"] [takeTime=137.341931ms] [] [2025/04/04 13:01:39.312 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30005] [type=ImportInto] [2025/04/04 13:01:39.390 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30005] [2025/04/04 13:01:39.396 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 13:01:39.396 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30005] [2025/04/04 13:01:39.416 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 13:01:39.490 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.983881371\n# Parse_time: 0.000085146\n# Compile_time: 0.000363446\n# Rewrite_time: 0.000071826\n# Optimize_time: 0.000286362\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4My4ybXMsIG9wZW46ODg5bnMsIGNsb3NlOjk1Nm5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk4My4ybXMsIG9wZW46ODg5bnMsIGNsb3NlOjk1Nm5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\nIMPORT INTO `import_into`.`t` FROM 'gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1;"] [2025/04/04 13:01:39.504 +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:342, TableID:362, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:39.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:01:39.504 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:364, Type:drop table, State:queueing, SchemaState:public, SchemaID:342, TableID:362, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:39.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/04 13:01:39.509 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=364] [conn=2] [job="ID:364, Type:drop table, State:queueing, SchemaState:public, SchemaID:342, TableID:362, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:39.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:39.525 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=272] [neededSchemaVersion=273] ["elapsed time"=1.979118ms] [gotSchemaVersion=273] [phyTblIDs="[362]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 13:01:39.528 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=364] [version=273] [2025/04/04 13:01:39.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=273] ["take time"=8.611938ms] [job="ID:364, Type:drop table, State:running, SchemaState:write only, SchemaID:342, TableID:362, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:39.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:39.539 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=364] [conn=2] [job="ID:364, Type:drop table, State:running, SchemaState:write only, SchemaID:342, TableID:362, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:39.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:39.554 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=273] [neededSchemaVersion=274] ["elapsed time"=1.987779ms] [gotSchemaVersion=274] [phyTblIDs="[362]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 13:01:39.558 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=364] [version=274] [2025/04/04 13:01:39.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=274] ["take time"=8.761042ms] [job="ID:364, Type:drop table, State:running, SchemaState:delete only, SchemaID:342, TableID:362, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:39.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:39.567 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=364] [conn=2] [job="ID:364, Type:drop table, State:running, SchemaState:delete only, SchemaID:342, TableID:362, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:39.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:39.574 +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: t)"] [2025/04/04 13:01:39.586 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=274] [neededSchemaVersion=275] ["elapsed time"=950.47µs] [gotSchemaVersion=275] [phyTblIDs="[362]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 13:01:39.589 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=364] [version=275] [2025/04/04 13:01:39.591 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=275] ["take time"=7.184598ms] [job="ID:364, Type:drop table, State:done, SchemaState:none, SchemaID:342, TableID:362, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:39.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:39.600 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=364] [tableIDs="[362]"] [comment="drop table: table ID"] [2025/04/04 13:01:39.605 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=364] [jobType="drop table"] [2025/04/04 13:01:39.606 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=364] [conn=2] [job="ID:364, Type:drop table, State:synced, SchemaState:none, SchemaID:342, TableID:362, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:39.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:39.623 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=364] [2025/04/04 13:01:39.624 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=275] [cur_db=import_into] [sql="drop table if exists t;"] [user=] [2025/04/04 13:01:39.637 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:366, Type:create table, State:queueing, SchemaState:none, SchemaID:342, TableID:365, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:39.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint auto_random primary key, b varchar(100), c int);"] [2025/04/04 13:01:39.637 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:366, Type:create table, State:queueing, SchemaState:none, SchemaID:342, TableID:365, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:39.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:01:39.642 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=366] [conn=2] [job="ID:366, Type:create table, State:queueing, SchemaState:none, SchemaID:342, TableID:365, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:39.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:39.647 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 365, Table Name: t)"] [2025/04/04 13:01:39.663 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=275] [neededSchemaVersion=276] ["elapsed time"=1.612514ms] [gotSchemaVersion=276] [phyTblIDs="[365]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 13:01:39.666 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=366] [version=276] [2025/04/04 13:01:39.668 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=276] ["take time"=8.600505ms] [job="ID:366, Type:create table, State:done, SchemaState:public, SchemaID:342, TableID:365, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:39.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:39.679 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=366] [conn=2] [job="ID:366, Type:create table, State:synced, SchemaState:public, SchemaID:342, TableID:365, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:39.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:39.689 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=366] [2025/04/04 13:01:39.690 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=276] [cur_db=import_into] [sql="create table t (a bigint auto_random primary key, b varchar(100), c int);"] [user=] [2025/04/04 13:01:39.696 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:01:39.741 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/04 13:01:39.760 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30006] [task-id=30006] [data-size=63B] [thread-cnt=1] [global-sort=false] [2025/04/04 13:01:39.773 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30006] [2025/04/04 13:01:39.773 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=30006] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/04 13:01:39.875 +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/04 13:01:39.876 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30006] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:01:39.878 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30006] [curr-step=init] [next-step=import] [2025/04/04 13:01:39.885 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:01:39.888 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 13:01:39.888 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=63] [2025/04/04 13:01:39.888 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=63] [cost=68.622µs] [2025/04/04 13:01:39.888 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=194.68µs] [] [2025/04/04 13:01:39.888 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30006] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 13:01:39.888 +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=1] [subtasks=1] [2025/04/04 13:01:39.925 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30006] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 13:01:39.944 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30006] [step=import] [2025/04/04 13:01:39.945 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:01:39.952 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 13:01:39.952 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 13:01:39.953 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 13:01:39.953 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 13:01:39.953 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 13:01:39.953 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 13:01:39.953 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 13:01:39.953 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 13:01:39.954 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 13:01:39.954 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 13:01:39.966 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 13:01:39.968 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 13:01:39.968 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 13:01:39.968 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=30006] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 13:01:39.968 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=30006] [disk-quota=348.5GiB] [2025/04/04 13:01:39.968 +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=1, Mem=630.2MiB]"] [2025/04/04 13:01:39.975 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30006] [task-type=ImportInto] [server-id=:4000] [subtaskID=30010] [step=import] [2025/04/04 13:01:39.975 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30006] [step=import] [subtask-id=30010] [2025/04/04 13:01:39.979 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 13:01:39.981 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=30006] [mode=Import] [2025/04/04 13:01:39.982 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 13:01:39.982 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=365] [2025/04/04 13:01:40.007 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=30006] [2025/04/04 13:01:40.007 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=365] [key=db.tbl.001.csv:0] [2025/04/04 13:01:40.009 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=365] [key=db.tbl.001.csv:0] [readDur=800.838µs] [encodeDur=642.121µs] [checksum="{cksum=7519321974396982192,size=74,kvs=2}"] [deliverDur=495.113µs] [type=file] [takeTime=2.252821ms] [] [2025/04/04 13:01:40.010 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=365] [2025/04/04 13:01:40.010 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=74] [kvs=2] [files=1] [sstFileSize=981] [file=/tmp/tidb/import-4000/30006/ab3834ca-0a02-50c6-81ad-d45c1915b7bb.sst/8ae5f37e-da09-4f87-9eb5-381e09f33a3c.sst] [firstKey=74800000000000016D5F728000000000000001] [lastKey=74800000000000016D5F728000000000000002] [2025/04/04 13:01:40.033 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=365] [key=db.tbl.002.csv:0] [2025/04/04 13:01:40.035 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=365] [key=db.tbl.002.csv:0] [readDur=937.75µs] [encodeDur=207.014µs] [checksum="{cksum=8353780349895382269,size=74,kvs=2}"] [deliverDur=25.424µs] [type=file] [takeTime=1.420024ms] [] [2025/04/04 13:01:40.036 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=365] [2025/04/04 13:01:40.036 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=74] [kvs=2] [files=1] [sstFileSize=981] [file=/tmp/tidb/import-4000/30006/ab3834ca-0a02-50c6-81ad-d45c1915b7bb.sst/1e88e573-b70b-4f7f-9bcf-3d494460a67c.sst] [firstKey=74800000000000016D5F728000000000000003] [lastKey=74800000000000016D5F728000000000000004] [2025/04/04 13:01:40.128 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=365] [key=db.tbl.003.csv:0] [2025/04/04 13:01:40.130 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=365] [key=db.tbl.003.csv:0] [readDur=897.531µs] [encodeDur=626.908µs] [checksum="{cksum=34078042553017573,size=74,kvs=2}"] [deliverDur=23.085µs] [type=file] [takeTime=1.734276ms] [] [2025/04/04 13:01:40.131 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=74] [kvs=2] [files=1] [sstFileSize=981] [file=/tmp/tidb/import-4000/30006/ab3834ca-0a02-50c6-81ad-d45c1915b7bb.sst/438173dd-6645-46fd-b475-dc8639f42d90.sst] [firstKey=74800000000000016D5F728000000000000005] [lastKey=74800000000000016D5F728000000000000006] [2025/04/04 13:01:40.131 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=30006] [step=import] [engine-id=0] [2025/04/04 13:01:40.131 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=30006] [step=import] [engine-id=0] [2025/04/04 13:01:40.131 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 13:01:40.133 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.955737ms] [] [2025/04/04 13:01:40.133 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [2025/04/04 13:01:40.138 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 13:01:40.159 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] ["region ranges"=1] [count=6] [size=222] [2025/04/04 13:01:40.159 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 13:01:40.162 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000016d5f728000000000000001] [endOfAllRanges=74800000000000016d5f728000000000000007] [startKeyOfFirstRegion=7480000000000001ff6d5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff6d5f728000000000ff0000070000000000fa] [2025/04/04 13:01:40.173 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [size=222] [kvs=6] [importedSize=222] [importedCount=6] [2025/04/04 13:01:40.175 +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.697208ms] [] [2025/04/04 13:01:40.175 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 13:01:40.176 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.194547ms] [] [2025/04/04 13:01:40.176 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=30006] [step=import] [engine-id=0] [2025/04/04 13:01:40.176 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 13:01:40.178 +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.659934ms] [] [2025/04/04 13:01:40.178 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [2025/04/04 13:01:40.182 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 13:01:40.182 +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.59906ms] [] [2025/04/04 13:01:40.182 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 13:01:40.183 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=982.399µs] [] [2025/04/04 13:01:40.183 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=30006] [step=import] [subtask-id=30010] [takeTime=207.49786ms] [] [2025/04/04 13:01:40.183 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30006] [task-type=ImportInto] [server-id=:4000] [subtaskID=30010] [step=import] [takeTime=207.64927ms] [] [2025/04/04 13:01:40.281 +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/04 13:01:40.282 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30006] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:01:40.283 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30006] [curr-step=import] [next-step=post-process] [2025/04/04 13:01:40.283 +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/04 13:01:40.311 +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\":6}"] [2025/04/04 13:01:40.312 +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/04 13:01:40.312 +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=1] [subtasks=1] [2025/04/04 13:01:40.322 +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/04 13:01:40.322 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30006] [step=import] [2025/04/04 13:01:40.325 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 13:01:40.325 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 13:01:40.325 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 13:01:40.325 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 13:01:40.325 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 13:01:40.325 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 13:01:40.325 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:01:40.325 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 13:01:40.325 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:01:40.325 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:01:40.325 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 13:01:40.325 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-7] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:01:40.327 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 13:01:40.327 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:01:40.327 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:01:40.327 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:01:40.327 +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=1, Mem=630.2MiB]"] [takeTime=359.145619ms] [] [2025/04/04 13:01:40.327 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30006] [type=ImportInto] [2025/04/04 13:01:40.345 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30006] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 13:01:40.364 +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=1, Mem=630.2MiB]"] [2025/04/04 13:01:40.371 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30006] [task-type=ImportInto] [server-id=:4000] [subtaskID=30011] [step=post-process] [2025/04/04 13:01:40.371 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=30006] [step=post-process] [subtask-id=30011] [2025/04/04 13:01:40.371 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=30006] [step=post-process] [subtask-id=30011] [2025/04/04 13:01:40.371 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=30006] [step=post-process] [subtask-id=30011] [2025/04/04 13:01:40.377 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=30006] [step=post-process] [subtask-id=30011] [takeTime=5.467491ms] [] [2025/04/04 13:01:40.377 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=30006] [step=post-process] [subtask-id=30011] [groupId=-1] [size=222] [kvs=6] [checksum=2003671119719883688] [2025/04/04 13:01:40.377 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=30006] [step=post-process] [subtask-id=30011] [checksum="{cksum=2003671119719883688,size=222,kvs=6}"] [2025/04/04 13:01:40.377 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=30006] [step=post-process] [subtask-id=30011] [weight=30] [2025/04/04 13:01:40.377 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=30006] [step=post-process] [subtask-id=30011] [concurrency=15] [2025/04/04 13:01:40.379 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=365] [physicalTableID=365] [indexID=-1] [checksum=2003671119719883688] [totalKvs=6] [totalBytes=222] [2025/04/04 13:01:40.379 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 13:01:40.379 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=30006] [step=post-process] [subtask-id=30011] [local="{cksum=2003671119719883688,size=222,kvs=6}"] [2025/04/04 13:01:40.379 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=30006] [step=post-process] [subtask-id=30011] [takeTime=7.907531ms] [] [2025/04/04 13:01:40.379 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=30006] [step=post-process] [subtask-id=30011] [takeTime=8.045562ms] [] [2025/04/04 13:01:40.379 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30006] [task-type=ImportInto] [server-id=:4000] [subtaskID=30011] [step=post-process] [takeTime=8.166667ms] [] [2025/04/04 13:01:40.380 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 13:01:40.481 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30006] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 13:01:40.481 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30006] [step=post-process] [state=running] [] [2025/04/04 13:01:40.483 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=30006] [2025/04/04 13:01:40.513 +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=1, Mem=630.2MiB]"] [takeTime=148.290413ms] [] [2025/04/04 13:01:40.513 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30006] [type=ImportInto] [2025/04/04 13:01:40.575 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30006] [2025/04/04 13:01:40.581 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 13:01:40.581 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30006] [2025/04/04 13:01:40.601 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 13:01:40.675 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.98439912\n# Parse_time: 0.000098051\n# Compile_time: 0.000365839\n# Rewrite_time: 0.000076396\n# Optimize_time: 0.000231186\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4My43bXMsIG9wZW46ODAybnMsIGNsb3NlOjkyMm5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk4My43bXMsIG9wZW46ODAybnMsIGNsb3NlOjkyMm5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\nIMPORT INTO `import_into`.`t` FROM 'gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1;"] [2025/04/04 13:01:40.687 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:367, Type:drop table, State:queueing, SchemaState:public, SchemaID:342, TableID:365, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:40.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/04 13:01:40.687 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:367, Type:drop table, State:queueing, SchemaState:public, SchemaID:342, TableID:365, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:40.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:01:40.692 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=367] [conn=2] [job="ID:367, Type:drop table, State:queueing, SchemaState:public, SchemaID:342, TableID:365, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:40.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:40.707 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=276] [neededSchemaVersion=277] ["elapsed time"=2.080595ms] [gotSchemaVersion=277] [phyTblIDs="[365]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 13:01:40.711 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=367] [version=277] [2025/04/04 13:01:40.712 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=277] ["take time"=8.788796ms] [job="ID:367, Type:drop table, State:running, SchemaState:write only, SchemaID:342, TableID:365, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:40.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:40.721 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=367] [conn=2] [job="ID:367, Type:drop table, State:running, SchemaState:write only, SchemaID:342, TableID:365, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:40.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:40.736 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=277] [neededSchemaVersion=278] ["elapsed time"=1.984086ms] [gotSchemaVersion=278] [phyTblIDs="[365]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 13:01:40.739 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=367] [version=278] [2025/04/04 13:01:40.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=278] ["take time"=8.444824ms] [job="ID:367, Type:drop table, State:running, SchemaState:delete only, SchemaID:342, TableID:365, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:40.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:40.748 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=367] [conn=2] [job="ID:367, Type:drop table, State:running, SchemaState:delete only, SchemaID:342, TableID:365, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:40.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:40.753 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 365, Old Table Name: t)"] [2025/04/04 13:01:40.765 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=278] [neededSchemaVersion=279] ["elapsed time"=994.07µs] [gotSchemaVersion=279] [phyTblIDs="[365]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 13:01:40.768 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=367] [version=279] [2025/04/04 13:01:40.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=279] ["take time"=7.09621ms] [job="ID:367, Type:drop table, State:done, SchemaState:none, SchemaID:342, TableID:365, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:40.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:40.778 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=367] [tableIDs="[365]"] [comment="drop table: table ID"] [2025/04/04 13:01:40.782 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=367] [jobType="drop table"] [2025/04/04 13:01:40.783 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=367] [conn=2] [job="ID:367, Type:drop table, State:synced, SchemaState:none, SchemaID:342, TableID:365, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:40.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:40.799 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=367] [2025/04/04 13:01:40.800 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=279] [cur_db=import_into] [sql="drop table if exists t;"] [user=] [2025/04/04 13:01:40.812 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:369, Type:create table, State:queueing, SchemaState:none, SchemaID:342, TableID:368, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:40.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:01:40.812 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:369, Type:create table, State:queueing, SchemaState:none, SchemaID:342, TableID:368, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:40.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100), c int, primary key(b,c));"] [2025/04/04 13:01:40.817 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=369] [conn=2] [job="ID:369, Type:create table, State:queueing, SchemaState:none, SchemaID:342, TableID:368, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:40.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:40.821 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 368, Table Name: t)"] [2025/04/04 13:01:40.837 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=279] [neededSchemaVersion=280] ["elapsed time"=1.677851ms] [gotSchemaVersion=280] [phyTblIDs="[368]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 13:01:40.840 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=369] [version=280] [2025/04/04 13:01:40.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=280] ["take time"=8.199988ms] [job="ID:369, Type:create table, State:done, SchemaState:public, SchemaID:342, TableID:368, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:40.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:40.853 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=369] [conn=2] [job="ID:369, Type:create table, State:synced, SchemaState:public, SchemaID:342, TableID:368, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:40.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:40.864 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=369] [2025/04/04 13:01:40.864 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=280] [cur_db=import_into] [sql="create table t (a bigint, b varchar(100), c int, primary key(b,c));"] [user=] [2025/04/04 13:01:40.869 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:01:40.955 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/04 13:01:40.977 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30007] [task-id=30007] [data-size=63B] [thread-cnt=1] [global-sort=false] [2025/04/04 13:01:40.992 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30007] [2025/04/04 13:01:40.993 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=30007] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/04 13:01:41.095 +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/04 13:01:41.097 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30007] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:01:41.098 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30007] [curr-step=init] [next-step=import] [2025/04/04 13:01:41.106 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:01:41.109 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 13:01:41.109 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=63] [2025/04/04 13:01:41.109 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=63] [cost=92.469µs] [2025/04/04 13:01:41.109 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=241.675µs] [] [2025/04/04 13:01:41.109 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30007] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 13:01:41.109 +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=1] [subtasks=1] [2025/04/04 13:01:41.146 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30007] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 13:01:41.165 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30007] [step=import] [2025/04/04 13:01:41.166 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:01:41.174 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 13:01:41.174 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 13:01:41.174 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 13:01:41.174 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 13:01:41.174 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 13:01:41.174 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 13:01:41.174 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 13:01:41.174 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 13:01:41.175 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 13:01:41.175 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 13:01:41.187 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 13:01:41.189 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 13:01:41.190 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 13:01:41.190 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=30007] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 13:01:41.190 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=30007] [disk-quota=348.5GiB] [2025/04/04 13:01:41.190 +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=1, Mem=630.2MiB]"] [2025/04/04 13:01:41.197 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30007] [task-type=ImportInto] [server-id=:4000] [subtaskID=30012] [step=import] [2025/04/04 13:01:41.197 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30007] [step=import] [subtask-id=30012] [2025/04/04 13:01:41.201 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 13:01:41.202 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=30007] [mode=Import] [2025/04/04 13:01:41.205 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 13:01:41.205 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=368] [2025/04/04 13:01:41.219 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=30007] [2025/04/04 13:01:41.266 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=368] [key=db.tbl.001.csv:0] [2025/04/04 13:01:41.268 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=368] [key=db.tbl.001.csv:0] [readDur=1.073542ms] [encodeDur=195.942µs] [checksum="{cksum=6438872994288898047,size=96,kvs=2}"] [deliverDur=176.418µs] [type=file] [takeTime=1.763548ms] [] [2025/04/04 13:01:41.269 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=368] [2025/04/04 13:01:41.269 +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/30007/ab3834ca-0a02-50c6-81ad-d45c1915b7bb.sst/2c952b69-9a9d-4f0a-914f-57311f2a0efd.sst] [firstKey=7480000000000001705F72017465737431000000FC03800000000000000B] [lastKey=7480000000000001705F72017465737432000000FC038000000000000016] [2025/04/04 13:01:41.307 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=368] [key=db.tbl.002.csv:0] [2025/04/04 13:01:41.309 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=368] [key=db.tbl.002.csv:0] [readDur=1.006433ms] [encodeDur=673.634µs] [checksum="{cksum=1050029282737908383,size=96,kvs=2}"] [deliverDur=23.419µs] [type=file] [takeTime=1.974065ms] [] [2025/04/04 13:01:41.310 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=368] [2025/04/04 13:01:41.310 +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/30007/ab3834ca-0a02-50c6-81ad-d45c1915b7bb.sst/43c92b78-12d9-4cf7-8a95-df4f2f030574.sst] [firstKey=7480000000000001705F72017465737433000000FC038000000000000021] [lastKey=7480000000000001705F72017465737434000000FC03800000000000002C] [2025/04/04 13:01:41.333 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=368] [key=db.tbl.003.csv:0] [2025/04/04 13:01:41.335 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=368] [key=db.tbl.003.csv:0] [readDur=1.015256ms] [encodeDur=176.807µs] [checksum="{cksum=8773259395275999690,size=96,kvs=2}"] [deliverDur=26.543µs] [type=file] [takeTime=1.478743ms] [] [2025/04/04 13:01:41.336 +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/30007/ab3834ca-0a02-50c6-81ad-d45c1915b7bb.sst/04c65d1a-e89b-4c61-bfb9-42ef2914702d.sst] [firstKey=7480000000000001705F72017465737435000000FC038000000000000037] [lastKey=7480000000000001705F72017465737436000000FC038000000000000042] [2025/04/04 13:01:41.336 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=30007] [step=import] [engine-id=0] [2025/04/04 13:01:41.336 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=30007] [step=import] [engine-id=0] [2025/04/04 13:01:41.336 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 13:01:41.338 +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.100058ms] [] [2025/04/04 13:01:41.338 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [2025/04/04 13:01:41.343 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 13:01:41.365 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] ["region ranges"=1] [count=6] [size=288] [2025/04/04 13:01:41.365 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 13:01:41.367 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001705f72017465737431000000fc03800000000000000b] [endOfAllRanges=7480000000000001705f72017465737436000000fc03800000000000004200] [startKeyOfFirstRegion=7480000000000001ff705f720174657374ff31000000fc038000ff00000000000b0000fd] [endKeyOfLastRegion=7480000000000001ff705f720174657374ff36000000fc038000ff0000000000420000fe] [2025/04/04 13:01:41.393 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [size=288] [kvs=6] [importedSize=288] [importedCount=6] [2025/04/04 13:01:41.395 +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=56.815522ms] [] [2025/04/04 13:01:41.395 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 13:01:41.396 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.237305ms] [] [2025/04/04 13:01:41.397 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=30007] [step=import] [engine-id=0] [2025/04/04 13:01:41.397 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 13:01:41.398 +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.651567ms] [] [2025/04/04 13:01:41.398 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [2025/04/04 13:01:41.402 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 13:01:41.402 +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.594791ms] [] [2025/04/04 13:01:41.402 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 13:01:41.403 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=1.096593ms] [] [2025/04/04 13:01:41.403 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=30007] [step=import] [subtask-id=30012] [takeTime=206.145966ms] [] [2025/04/04 13:01:41.404 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30007] [task-type=ImportInto] [server-id=:4000] [subtaskID=30012] [step=import] [takeTime=206.323315ms] [] [2025/04/04 13:01:41.500 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30007] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 13:01:41.502 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30007] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:01:41.503 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30007] [curr-step=import] [next-step=post-process] [2025/04/04 13:01:41.503 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=30007] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 13:01:41.533 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=30007] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":6}"] [2025/04/04 13:01:41.535 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30007] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 13:01:41.535 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30007] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/04 13:01:41.548 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=30007] [task-type=ImportInto] [server-id=:4000] [2025/04/04 13:01:41.549 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30007] [step=import] [2025/04/04 13:01:41.551 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 13:01:41.551 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 13:01:41.551 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 13:01:41.551 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 13:01:41.551 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 13:01:41.551 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 13:01:41.551 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 13:01:41.551 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:01:41.551 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-8] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:01:41.551 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:01:41.551 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:01:41.551 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 13:01:41.554 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 13:01:41.554 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:01:41.554 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:01:41.554 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:01:41.554 +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=1, Mem=630.2MiB]"] [takeTime=364.101163ms] [] [2025/04/04 13:01:41.554 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30007] [type=ImportInto] [2025/04/04 13:01:41.565 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30007] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 13:01:41.585 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30007] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/04 13:01:41.592 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30007] [task-type=ImportInto] [server-id=:4000] [subtaskID=30013] [step=post-process] [2025/04/04 13:01:41.592 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=30007] [step=post-process] [subtask-id=30013] [2025/04/04 13:01:41.592 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=30007] [step=post-process] [subtask-id=30013] [2025/04/04 13:01:41.592 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=30007] [step=post-process] [subtask-id=30013] [2025/04/04 13:01:41.592 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=30007] [step=post-process] [subtask-id=30013] [takeTime=1.96µs] [] [2025/04/04 13:01:41.592 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=30007] [step=post-process] [subtask-id=30013] [groupId=-1] [size=288] [kvs=6] [checksum=3317442229611736234] [2025/04/04 13:01:41.593 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=30007] [step=post-process] [subtask-id=30013] [checksum="{cksum=3317442229611736234,size=288,kvs=6}"] [2025/04/04 13:01:41.593 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=30007] [step=post-process] [subtask-id=30013] [weight=30] [2025/04/04 13:01:41.593 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=30007] [step=post-process] [subtask-id=30013] [concurrency=15] [2025/04/04 13:01:41.595 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=368] [physicalTableID=368] [indexID=1] [checksum=0] [totalKvs=0] [totalBytes=0] [2025/04/04 13:01:41.595 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=368] [physicalTableID=368] [indexID=-1] [checksum=3317442229611736234] [totalKvs=6] [totalBytes=288] [2025/04/04 13:01:41.595 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 13:01:41.595 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=30007] [step=post-process] [subtask-id=30013] [local="{cksum=3317442229611736234,size=288,kvs=6}"] [2025/04/04 13:01:41.595 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=30007] [step=post-process] [subtask-id=30013] [takeTime=2.943381ms] [] [2025/04/04 13:01:41.595 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=30007] [step=post-process] [subtask-id=30013] [takeTime=3.085773ms] [] [2025/04/04 13:01:41.595 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30007] [task-type=ImportInto] [server-id=:4000] [subtaskID=30013] [step=post-process] [takeTime=3.220436ms] [] [2025/04/04 13:01:41.602 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 13:01:41.700 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30007] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 13:01:41.700 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30007] [step=post-process] [state=running] [] [2025/04/04 13:01:41.703 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=30007] [2025/04/04 13:01:41.730 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30007] [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.467756ms] [] [2025/04/04 13:01:41.730 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30007] [type=ImportInto] [2025/04/04 13:01:41.795 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30007] [2025/04/04 13:01:41.800 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 13:01:41.800 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30007] [2025/04/04 13:01:41.822 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 13:01:41.893 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 1.028842435\n# Parse_time: 0.000086849\n# Compile_time: 0.000349224\n# Rewrite_time: 0.000073971\n# Optimize_time: 0.000229822\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('RvBFMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjEuMDNzLCBvcGVuOjgyN25zLCBjbG9zZTo4NDVucywgbG9vcHM6MglOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('YfBMCl0KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWix0aW1lOjEuMDNzLCBvcGVuOjgyN25zLCBjbG9zZTo4NDVucywgbG9vcHM6MnD///8JAzQBeP///////////wEYAQ==')\n# Resource_group: default\nIMPORT INTO `import_into`.`t` FROM 'gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1;"] [2025/04/04 13:01:41.906 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:370, Type:drop table, State:queueing, SchemaState:public, SchemaID:342, TableID:368, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:41.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:01:41.906 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:370, Type:drop table, State:queueing, SchemaState:public, SchemaID:342, TableID:368, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:41.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/04 13:01:41.911 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=370] [conn=2] [job="ID:370, Type:drop table, State:queueing, SchemaState:public, SchemaID:342, TableID:368, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:41.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:41.927 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=280] [neededSchemaVersion=281] ["elapsed time"=2.284355ms] [gotSchemaVersion=281] [phyTblIDs="[368]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 13:01:41.930 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=370] [version=281] [2025/04/04 13:01:41.931 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=281] ["take time"=8.774332ms] [job="ID:370, Type:drop table, State:running, SchemaState:write only, SchemaID:342, TableID:368, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:41.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:41.941 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=370] [conn=2] [job="ID:370, Type:drop table, State:running, SchemaState:write only, SchemaID:342, TableID:368, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:41.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:41.955 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=281] [neededSchemaVersion=282] ["elapsed time"=2.200404ms] [gotSchemaVersion=282] [phyTblIDs="[368]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 13:01:41.959 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=370] [version=282] [2025/04/04 13:01:41.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=282] ["take time"=8.6008ms] [job="ID:370, Type:drop table, State:running, SchemaState:delete only, SchemaID:342, TableID:368, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:41.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:41.968 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=370] [conn=2] [job="ID:370, Type:drop table, State:running, SchemaState:delete only, SchemaID:342, TableID:368, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:41.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:41.974 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 368, Old Table Name: t)"] [2025/04/04 13:01:41.987 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=282] [neededSchemaVersion=283] ["elapsed time"=949.905µs] [gotSchemaVersion=283] [phyTblIDs="[368]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 13:01:41.990 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=370] [version=283] [2025/04/04 13:01:41.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=283] ["take time"=7.466221ms] [job="ID:370, Type:drop table, State:done, SchemaState:none, SchemaID:342, TableID:368, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:41.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:42.001 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=370] [tableIDs="[368]"] [comment="drop table: table ID"] [2025/04/04 13:01:42.005 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=370] [jobType="drop table"] [2025/04/04 13:01:42.006 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=370] [conn=2] [job="ID:370, Type:drop table, State:synced, SchemaState:none, SchemaID:342, TableID:368, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:41.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:42.023 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=370] [2025/04/04 13:01:42.023 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=283] [cur_db=import_into] [sql="drop table if exists t;"] [user=] [2025/04/04 13:01:42.036 +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:342, TableID:371, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:41.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:01:42.036 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:372, Type:create table, State:queueing, SchemaState:none, SchemaID:342, TableID:371, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:41.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100), c int);"] [2025/04/04 13:01:42.041 +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:342, TableID:371, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:41.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:42.046 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 371, Table Name: t)"] [2025/04/04 13:01:42.061 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=283] [neededSchemaVersion=284] ["elapsed time"=1.593463ms] [gotSchemaVersion=284] [phyTblIDs="[371]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 13:01:42.064 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=372] [version=284] [2025/04/04 13:01:42.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=284] ["take time"=8.280204ms] [job="ID:372, Type:create table, State:done, SchemaState:public, SchemaID:342, TableID:371, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:41.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:42.076 +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:342, TableID:371, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:41.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:42.087 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=372] [2025/04/04 13:01:42.087 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=284] [cur_db=import_into] [sql="create table t (a bigint, b varchar(100), c int);"] [user=] [2025/04/04 13:01:42.093 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:01:42.140 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"columns-and-vars\":\"(`c`, `b`, `a`)\",\"file-location\":\"gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/04 13:01:42.159 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30008] [task-id=30008] [data-size=63B] [thread-cnt=1] [global-sort=false] [2025/04/04 13:01:42.173 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30008] [2025/04/04 13:01:42.173 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=30008] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/04 13:01:42.276 +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/04 13:01:42.277 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30008] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:01:42.278 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30008] [curr-step=init] [next-step=import] [2025/04/04 13:01:42.286 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:01:42.289 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 13:01:42.289 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=63] [2025/04/04 13:01:42.289 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=63] [cost=72.351µs] [2025/04/04 13:01:42.289 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=176.507µs] [] [2025/04/04 13:01:42.289 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30008] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 13:01:42.289 +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=1] [subtasks=1] [2025/04/04 13:01:42.327 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30008] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 13:01:42.348 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30008] [step=import] [2025/04/04 13:01:42.348 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:01:42.357 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 13:01:42.357 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 13:01:42.357 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 13:01:42.358 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 13:01:42.358 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 13:01:42.358 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 13:01:42.358 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 13:01:42.358 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 13:01:42.358 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 13:01:42.359 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 13:01:42.371 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 13:01:42.373 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 13:01:42.373 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 13:01:42.373 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=30008] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 13:01:42.373 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=30008] [disk-quota=348.5GiB] [2025/04/04 13:01:42.373 +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=1, Mem=630.2MiB]"] [2025/04/04 13:01:42.380 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30008] [task-type=ImportInto] [server-id=:4000] [subtaskID=30014] [step=import] [2025/04/04 13:01:42.380 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30008] [step=import] [subtask-id=30014] [2025/04/04 13:01:42.383 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=30008] [mode=Import] [2025/04/04 13:01:42.384 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 13:01:42.388 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 13:01:42.388 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=371] [2025/04/04 13:01:42.401 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=371] [key=db.tbl.001.csv:0] [2025/04/04 13:01:42.401 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=30008] [2025/04/04 13:01:42.403 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=371] [key=db.tbl.001.csv:0] [readDur=988.895µs] [encodeDur=513.029µs] [checksum="{cksum=13837959720985630831,size=82,kvs=2}"] [deliverDur=258.365µs] [type=file] [takeTime=2.011758ms] [] [2025/04/04 13:01:42.403 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=371] [2025/04/04 13:01:42.403 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=82] [kvs=2] [files=1] [sstFileSize=990] [file=/tmp/tidb/import-4000/30008/ab3834ca-0a02-50c6-81ad-d45c1915b7bb.sst/28753348-4c03-4a2e-82e7-cf44db4e088a.sst] [firstKey=7480000000000001735F728000000000000001] [lastKey=7480000000000001735F728000000000000002] [2025/04/04 13:01:42.476 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=371] [key=db.tbl.002.csv:0] [2025/04/04 13:01:42.478 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=371] [key=db.tbl.002.csv:0] [readDur=967.838µs] [encodeDur=110.552µs] [checksum="{cksum=7610901642014463118,size=82,kvs=2}"] [deliverDur=279.377µs] [type=file] [takeTime=1.610206ms] [] [2025/04/04 13:01:42.479 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=371] [2025/04/04 13:01:42.479 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=82] [kvs=2] [files=1] [sstFileSize=990] [file=/tmp/tidb/import-4000/30008/ab3834ca-0a02-50c6-81ad-d45c1915b7bb.sst/3ffa0cee-a783-4c77-9828-f2b62f0f3171.sst] [firstKey=7480000000000001735F728000000000000008] [lastKey=7480000000000001735F728000000000000009] [2025/04/04 13:01:42.481 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=371] [key=db.tbl.003.csv:0] [2025/04/04 13:01:42.483 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=371] [key=db.tbl.003.csv:0] [readDur=899.98µs] [encodeDur=233.743µs] [checksum="{cksum=9673548632033812539,size=82,kvs=2}"] [deliverDur=258.966µs] [type=file] [takeTime=1.663696ms] [] [2025/04/04 13:01:42.483 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=82] [kvs=2] [files=1] [sstFileSize=990] [file=/tmp/tidb/import-4000/30008/ab3834ca-0a02-50c6-81ad-d45c1915b7bb.sst/75c545c9-aadc-4489-beb1-177e088d9379.sst] [firstKey=7480000000000001735F72800000000000000F] [lastKey=7480000000000001735F728000000000000010] [2025/04/04 13:01:42.484 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=30008] [step=import] [engine-id=0] [2025/04/04 13:01:42.484 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=30008] [step=import] [engine-id=0] [2025/04/04 13:01:42.484 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 13:01:42.486 +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.821431ms] [] [2025/04/04 13:01:42.486 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [2025/04/04 13:01:42.490 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 13:01:42.512 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] ["region ranges"=1] [count=6] [size=246] [2025/04/04 13:01:42.512 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 13:01:42.514 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001735f728000000000000001] [endOfAllRanges=7480000000000001735f728000000000000011] [startKeyOfFirstRegion=7480000000000001ff735f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff735f728000000000ff0000110000000000fa] [2025/04/04 13:01:42.526 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [size=246] [kvs=6] [importedSize=246] [importedCount=6] [2025/04/04 13:01:42.528 +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.047831ms] [] [2025/04/04 13:01:42.528 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 13:01:42.529 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.073263ms] [] [2025/04/04 13:01:42.529 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=30008] [step=import] [engine-id=0] [2025/04/04 13:01:42.529 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 13:01:42.531 +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.53036ms] [] [2025/04/04 13:01:42.531 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [2025/04/04 13:01:42.534 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 13:01:42.534 +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.51952ms] [] [2025/04/04 13:01:42.534 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 13:01:42.535 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=878.323µs] [] [2025/04/04 13:01:42.535 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=30008] [step=import] [subtask-id=30014] [takeTime=155.232004ms] [] [2025/04/04 13:01:42.535 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30008] [task-type=ImportInto] [server-id=:4000] [subtaskID=30014] [step=import] [takeTime=155.366136ms] [] [2025/04/04 13:01:42.581 +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/04 13:01:42.583 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30008] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:01:42.584 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30008] [curr-step=import] [next-step=post-process] [2025/04/04 13:01:42.584 +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/04 13:01:42.614 +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\":6}"] [2025/04/04 13:01:42.616 +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/04 13:01:42.616 +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=1] [subtasks=1] [2025/04/04 13:01:42.653 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=30008] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 13:01:42.660 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30008] [step=import] [2025/04/04 13:01:42.663 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 13:01:42.663 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 13:01:42.663 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 13:01:42.663 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 13:01:42.663 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 13:01:42.663 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 13:01:42.663 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 13:01:42.663 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:01:42.663 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-9] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:01:42.663 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:01:42.663 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:01:42.663 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 13:01:42.665 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 13:01:42.665 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:01:42.665 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:01:42.665 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:01:42.665 +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=1, Mem=630.2MiB]"] [takeTime=292.565364ms] [] [2025/04/04 13:01:42.667 +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=1, Mem=630.2MiB]"] [2025/04/04 13:01:42.674 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30008] [task-type=ImportInto] [server-id=:4000] [subtaskID=30015] [step=post-process] [2025/04/04 13:01:42.674 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=30008] [step=post-process] [subtask-id=30015] [2025/04/04 13:01:42.674 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=30008] [step=post-process] [subtask-id=30015] [2025/04/04 13:01:42.674 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=30008] [step=post-process] [subtask-id=30015] [2025/04/04 13:01:42.679 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=30008] [step=post-process] [subtask-id=30015] [takeTime=5.304442ms] [] [2025/04/04 13:01:42.680 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=30008] [step=post-process] [subtask-id=30015] [groupId=-1] [size=246] [kvs=6] [checksum=3434641841828523226] [2025/04/04 13:01:42.680 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=30008] [step=post-process] [subtask-id=30015] [checksum="{cksum=3434641841828523226,size=246,kvs=6}"] [2025/04/04 13:01:42.680 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=30008] [step=post-process] [subtask-id=30015] [weight=30] [2025/04/04 13:01:42.680 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=30008] [step=post-process] [subtask-id=30015] [concurrency=15] [2025/04/04 13:01:42.682 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=371] [physicalTableID=371] [indexID=-1] [checksum=3434641841828523226] [totalKvs=6] [totalBytes=246] [2025/04/04 13:01:42.682 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 13:01:42.682 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=30008] [step=post-process] [subtask-id=30015] [local="{cksum=3434641841828523226,size=246,kvs=6}"] [2025/04/04 13:01:42.682 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=30008] [step=post-process] [subtask-id=30015] [takeTime=7.926485ms] [] [2025/04/04 13:01:42.682 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=30008] [step=post-process] [subtask-id=30015] [takeTime=8.055919ms] [] [2025/04/04 13:01:42.682 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30008] [task-type=ImportInto] [server-id=:4000] [subtaskID=30015] [step=post-process] [takeTime=8.167055ms] [] [2025/04/04 13:01:42.689 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 13:01:42.781 +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/04 13:01:42.781 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30008] [step=post-process] [state=running] [] [2025/04/04 13:01:42.783 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=30008] [2025/04/04 13:01:42.801 +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=1, Mem=630.2MiB]"] [takeTime=133.830299ms] [] [2025/04/04 13:01:42.801 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30008] [type=ImportInto] [2025/04/04 13:01:42.876 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30008] [2025/04/04 13:01:42.882 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 13:01:42.882 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30008] [2025/04/04 13:01:42.903 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 13:01:43.074 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.986603777\n# Parse_time: 0.000114397\n# Compile_time: 0.000379119\n# Rewrite_time: 0.00008592\n# Optimize_time: 0.000270414\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('SvBJMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4NS44bXMsIG9wZW46OTI4bnMsIGNsb3NlOjEuMTfCtXMsIGxvb3BzOjIJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('ZfBSCmEKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWjB0aW1lOjk4NS44bXMsIG9wZW46OTI4bnMsIGNsb3NlOjEuMTfCtXMsIGxvb3BzOjJw//////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;"] [2025/04/04 13:01:43.089 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:373, Type:drop table, State:queueing, SchemaState:public, SchemaID:342, TableID:371, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:43.044 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:01:43.089 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:373, Type:drop table, State:queueing, SchemaState:public, SchemaID:342, TableID:371, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:43.044 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/04 13:01:43.094 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=373] [conn=2] [job="ID:373, Type:drop table, State:queueing, SchemaState:public, SchemaID:342, TableID:371, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:43.044 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:43.109 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=284] [neededSchemaVersion=285] ["elapsed time"=2.169718ms] [gotSchemaVersion=285] [phyTblIDs="[371]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 13:01:43.113 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=373] [version=285] [2025/04/04 13:01:43.114 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=285] ["take time"=8.651648ms] [job="ID:373, Type:drop table, State:running, SchemaState:write only, SchemaID:342, TableID:371, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:43.044 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:43.123 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=373] [conn=2] [job="ID:373, Type:drop table, State:running, SchemaState:write only, SchemaID:342, TableID:371, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:43.044 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:43.139 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=285] [neededSchemaVersion=286] ["elapsed time"=1.993361ms] [gotSchemaVersion=286] [phyTblIDs="[371]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 13:01:43.142 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=373] [version=286] [2025/04/04 13:01:43.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=286] ["take time"=9.253229ms] [job="ID:373, Type:drop table, State:running, SchemaState:delete only, SchemaID:342, TableID:371, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:43.044 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:43.151 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=373] [conn=2] [job="ID:373, Type:drop table, State:running, SchemaState:delete only, SchemaID:342, TableID:371, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:43.044 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:43.157 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 371, Old Table Name: t)"] [2025/04/04 13:01:43.169 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=286] [neededSchemaVersion=287] ["elapsed time"=912.915µs] [gotSchemaVersion=287] [phyTblIDs="[371]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 13:01:43.172 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=373] [version=287] [2025/04/04 13:01:43.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=287] ["take time"=7.168689ms] [job="ID:373, Type:drop table, State:done, SchemaState:none, SchemaID:342, TableID:371, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:43.044 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:43.182 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=373] [tableIDs="[371]"] [comment="drop table: table ID"] [2025/04/04 13:01:43.186 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=373] [jobType="drop table"] [2025/04/04 13:01:43.187 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=373] [conn=2] [job="ID:373, Type:drop table, State:synced, SchemaState:none, SchemaID:342, TableID:371, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:43.044 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:43.204 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=373] [2025/04/04 13:01:43.204 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=287] [cur_db=import_into] [sql="drop table if exists t;"] [user=] [2025/04/04 13:01:43.216 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:375, Type:create table, State:queueing, SchemaState:none, SchemaID:342, TableID:374, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:43.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:01:43.216 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:375, Type:create table, State:queueing, SchemaState:none, SchemaID:342, TableID:374, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:43.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100), c int, d varchar(100));"] [2025/04/04 13:01:43.222 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=375] [conn=2] [job="ID:375, Type:create table, State:queueing, SchemaState:none, SchemaID:342, TableID:374, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:43.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:43.226 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 374, Table Name: t)"] [2025/04/04 13:01:43.242 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=287] [neededSchemaVersion=288] ["elapsed time"=1.671367ms] [gotSchemaVersion=288] [phyTblIDs="[374]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 13:01:43.246 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=375] [version=288] [2025/04/04 13:01:43.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=288] ["take time"=9.188437ms] [job="ID:375, Type:create table, State:done, SchemaState:public, SchemaID:342, TableID:374, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:43.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:43.259 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=375] [conn=2] [job="ID:375, Type:create table, State:synced, SchemaState:public, SchemaID:342, TableID:374, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:43.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:43.270 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=375] [2025/04/04 13:01:43.271 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=288] [cur_db=import_into] [sql="create table t (a bigint, b varchar(100), c int, d varchar(100));"] [user=] [2025/04/04 13:01:43.276 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:01:43.322 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"columns-and-vars\":\"(`c`, `d`, `a`)\",\"file-location\":\"gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/04 13:01:43.341 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30009] [task-id=30009] [data-size=63B] [thread-cnt=1] [global-sort=false] [2025/04/04 13:01:43.356 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30009] [2025/04/04 13:01:43.356 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=30009] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/04 13:01:43.459 +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/04 13:01:43.460 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30009] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:01:43.461 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30009] [curr-step=init] [next-step=import] [2025/04/04 13:01:43.469 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:01:43.472 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 13:01:43.472 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=63] [2025/04/04 13:01:43.472 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=63] [cost=77.694µs] [2025/04/04 13:01:43.472 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=196.183µs] [] [2025/04/04 13:01:43.472 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30009] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 13:01:43.472 +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=1] [subtasks=1] [2025/04/04 13:01:43.506 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30009] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 13:01:43.526 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30009] [step=import] [2025/04/04 13:01:43.526 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:01:43.534 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 13:01:43.534 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 13:01:43.534 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 13:01:43.535 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 13:01:43.535 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 13:01:43.535 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 13:01:43.535 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 13:01:43.535 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 13:01:43.535 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 13:01:43.535 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 13:01:43.547 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 13:01:43.549 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 13:01:43.549 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 13:01:43.549 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=30009] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 13:01:43.549 +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=1, Mem=630.2MiB]"] [2025/04/04 13:01:43.549 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=30009] [disk-quota=348.5GiB] [2025/04/04 13:01:43.557 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30009] [task-type=ImportInto] [server-id=:4000] [subtaskID=30016] [step=import] [2025/04/04 13:01:43.557 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30009] [step=import] [subtask-id=30016] [2025/04/04 13:01:43.561 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 13:01:43.564 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 13:01:43.564 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=374] [2025/04/04 13:01:43.565 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=30009] [mode=Import] [2025/04/04 13:01:43.567 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=374] [key=db.tbl.001.csv:0] [2025/04/04 13:01:43.569 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=374] [key=db.tbl.001.csv:0] [readDur=1.069328ms] [encodeDur=639.205µs] [checksum="{cksum=11510279650924602162,size=82,kvs=2}"] [deliverDur=260.205µs] [type=file] [takeTime=2.333717ms] [] [2025/04/04 13:01:43.570 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=374] [2025/04/04 13:01:43.570 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=82] [kvs=2] [files=1] [sstFileSize=990] [file=/tmp/tidb/import-4000/30009/ab3834ca-0a02-50c6-81ad-d45c1915b7bb.sst/469f604f-d937-429a-97f6-18a2d4ce2cae.sst] [firstKey=7480000000000001765F728000000000000001] [lastKey=7480000000000001765F728000000000000002] [2025/04/04 13:01:43.583 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=374] [key=db.tbl.002.csv:0] [2025/04/04 13:01:43.585 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=374] [key=db.tbl.002.csv:0] [readDur=942.229µs] [encodeDur=243.952µs] [checksum="{cksum=16401860098335995135,size=82,kvs=2}"] [deliverDur=226.812µs] [type=file] [takeTime=1.686782ms] [] [2025/04/04 13:01:43.585 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=374] [2025/04/04 13:01:43.585 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=82] [kvs=2] [files=1] [sstFileSize=990] [file=/tmp/tidb/import-4000/30009/ab3834ca-0a02-50c6-81ad-d45c1915b7bb.sst/d2560e0e-aa18-4fc3-9f9e-412012641602.sst] [firstKey=7480000000000001765F728000000000000006] [lastKey=7480000000000001765F728000000000000007] [2025/04/04 13:01:43.587 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=30009] [2025/04/04 13:01:43.599 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=374] [key=db.tbl.003.csv:0] [2025/04/04 13:01:43.601 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=374] [key=db.tbl.003.csv:0] [readDur=895.185µs] [encodeDur=215.227µs] [checksum="{cksum=17104710824714968226,size=82,kvs=2}"] [deliverDur=262.236µs] [type=file] [takeTime=1.621132ms] [] [2025/04/04 13:01:43.601 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=82] [kvs=2] [files=1] [sstFileSize=990] [file=/tmp/tidb/import-4000/30009/ab3834ca-0a02-50c6-81ad-d45c1915b7bb.sst/37fa3725-490a-4ffd-9d71-01c893cf6a6d.sst] [firstKey=7480000000000001765F72800000000000000B] [lastKey=7480000000000001765F72800000000000000C] [2025/04/04 13:01:43.602 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=30009] [step=import] [engine-id=0] [2025/04/04 13:01:43.602 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=30009] [step=import] [engine-id=0] [2025/04/04 13:01:43.602 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 13:01:43.604 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=2.172902ms] [] [2025/04/04 13:01:43.604 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [2025/04/04 13:01:43.610 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 13:01:43.631 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] ["region ranges"=1] [count=6] [size=246] [2025/04/04 13:01:43.631 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 13:01:43.633 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001765f728000000000000001] [endOfAllRanges=7480000000000001765f72800000000000000d] [startKeyOfFirstRegion=7480000000000001ff765f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff765f728000000000ff00000d0000000000fa] [2025/04/04 13:01:43.645 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [size=246] [kvs=6] [importedSize=246] [importedCount=6] [2025/04/04 13:01:43.647 +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.270852ms] [] [2025/04/04 13:01:43.647 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 13:01:43.649 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.332306ms] [] [2025/04/04 13:01:43.649 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=30009] [step=import] [engine-id=0] [2025/04/04 13:01:43.649 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 13:01:43.651 +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.784978ms] [] [2025/04/04 13:01:43.651 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [2025/04/04 13:01:43.655 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 13:01:43.655 +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.158285ms] [] [2025/04/04 13:01:43.655 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 13:01:43.656 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=792.024µs] [] [2025/04/04 13:01:43.656 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=30009] [step=import] [subtask-id=30016] [takeTime=98.882238ms] [] [2025/04/04 13:01:43.656 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30009] [task-type=ImportInto] [server-id=:4000] [subtaskID=30016] [step=import] [takeTime=99.01066ms] [] [2025/04/04 13:01:43.763 +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/04 13:01:43.764 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30009] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:01:43.766 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30009] [curr-step=import] [next-step=post-process] [2025/04/04 13:01:43.766 +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/04 13:01:43.796 +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\":6}"] [2025/04/04 13:01:43.798 +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/04 13:01:43.798 +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=1] [subtasks=1] [2025/04/04 13:01:43.801 +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/04 13:01:43.801 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30009] [step=import] [2025/04/04 13:01:43.804 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 13:01:43.804 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 13:01:43.804 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 13:01:43.804 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 13:01:43.804 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 13:01:43.804 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 13:01:43.804 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:01:43.804 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 13:01:43.804 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-10] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:01:43.804 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:01:43.804 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:01:43.804 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 13:01:43.806 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 13:01:43.806 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:01:43.806 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:01:43.806 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:01:43.806 +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=1, Mem=630.2MiB]"] [takeTime=256.989693ms] [] [2025/04/04 13:01:43.806 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30009] [type=ImportInto] [2025/04/04 13:01:43.837 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30009] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 13:01:43.857 +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=1, Mem=630.2MiB]"] [2025/04/04 13:01:43.865 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30009] [task-type=ImportInto] [server-id=:4000] [subtaskID=30017] [step=post-process] [2025/04/04 13:01:43.866 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=30009] [step=post-process] [subtask-id=30017] [2025/04/04 13:01:43.866 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=30009] [step=post-process] [subtask-id=30017] [2025/04/04 13:01:43.866 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=30009] [step=post-process] [subtask-id=30017] [2025/04/04 13:01:43.877 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=30009] [step=post-process] [subtask-id=30017] [takeTime=11.234849ms] [] [2025/04/04 13:01:43.877 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=30009] [step=post-process] [subtask-id=30017] [groupId=-1] [size=246] [kvs=6] [checksum=10467356601048550255] [2025/04/04 13:01:43.877 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=30009] [step=post-process] [subtask-id=30017] [checksum="{cksum=10467356601048550255,size=246,kvs=6}"] [2025/04/04 13:01:43.877 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=30009] [step=post-process] [subtask-id=30017] [weight=30] [2025/04/04 13:01:43.877 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=30009] [step=post-process] [subtask-id=30017] [concurrency=15] [2025/04/04 13:01:43.879 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=374] [physicalTableID=374] [indexID=-1] [checksum=10467356601048550255] [totalKvs=6] [totalBytes=246] [2025/04/04 13:01:43.880 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 13:01:43.880 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=30009] [step=post-process] [subtask-id=30017] [local="{cksum=10467356601048550255,size=246,kvs=6}"] [2025/04/04 13:01:43.880 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=30009] [step=post-process] [subtask-id=30017] [takeTime=14.001466ms] [] [2025/04/04 13:01:43.880 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=30009] [step=post-process] [subtask-id=30017] [takeTime=14.127874ms] [] [2025/04/04 13:01:43.880 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30009] [task-type=ImportInto] [server-id=:4000] [subtaskID=30017] [step=post-process] [takeTime=14.268647ms] [] [2025/04/04 13:01:43.887 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 13:01:43.963 +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/04 13:01:43.963 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30009] [step=post-process] [state=running] [] [2025/04/04 13:01:43.966 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=30009] [2025/04/04 13:01:43.982 +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=1, Mem=630.2MiB]"] [takeTime=125.121008ms] [] [2025/04/04 13:01:43.982 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30009] [type=ImportInto] [2025/04/04 13:01:44.059 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30009] [2025/04/04 13:01:44.065 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 13:01:44.065 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30009] [2025/04/04 13:01:44.087 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 13:01:44.257 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.986083885\n# Parse_time: 0.000110932\n# Compile_time: 0.000406618\n# Rewrite_time: 0.000098998\n# Optimize_time: 0.000245925\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4NS4zbXMsIG9wZW46Njk4bnMsIGNsb3NlOjg5MG5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk4NS4zbXMsIG9wZW46Njk4bnMsIGNsb3NlOjg5MG5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\nIMPORT INTO `import_into`.`t` (`c`,`d`,`a`) FROM 'gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1;"] [2025/04/04 13:01:44.273 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:376, Type:drop table, State:queueing, SchemaState:public, SchemaID:342, TableID:374, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:44.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:01:44.273 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:376, Type:drop table, State:queueing, SchemaState:public, SchemaID:342, TableID:374, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:44.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/04 13:01:44.278 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=376] [conn=2] [job="ID:376, Type:drop table, State:queueing, SchemaState:public, SchemaID:342, TableID:374, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:44.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:44.296 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=288] [neededSchemaVersion=289] ["elapsed time"=2.361999ms] [gotSchemaVersion=289] [phyTblIDs="[374]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 13:01:44.299 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=376] [version=289] [2025/04/04 13:01:44.301 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=289] ["take time"=9.286327ms] [job="ID:376, Type:drop table, State:running, SchemaState:write only, SchemaID:342, TableID:374, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:44.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:44.310 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=376] [conn=2] [job="ID:376, Type:drop table, State:running, SchemaState:write only, SchemaID:342, TableID:374, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:44.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:44.327 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=289] [neededSchemaVersion=290] ["elapsed time"=2.394389ms] [gotSchemaVersion=290] [phyTblIDs="[374]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 13:01:44.330 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=376] [version=290] [2025/04/04 13:01:44.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=290] ["take time"=9.598142ms] [job="ID:376, Type:drop table, State:running, SchemaState:delete only, SchemaID:342, TableID:374, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:44.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:44.340 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=376] [conn=2] [job="ID:376, Type:drop table, State:running, SchemaState:delete only, SchemaID:342, TableID:374, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:44.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:44.347 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 374, Old Table Name: t)"] [2025/04/04 13:01:44.361 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=290] [neededSchemaVersion=291] ["elapsed time"=1.192574ms] [gotSchemaVersion=291] [phyTblIDs="[374]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 13:01:44.365 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=376] [version=291] [2025/04/04 13:01:44.366 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=291] ["take time"=8.169251ms] [job="ID:376, Type:drop table, State:done, SchemaState:none, SchemaID:342, TableID:374, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:44.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:44.376 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=376] [tableIDs="[374]"] [comment="drop table: table ID"] [2025/04/04 13:01:44.380 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=376] [jobType="drop table"] [2025/04/04 13:01:44.381 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=376] [conn=2] [job="ID:376, Type:drop table, State:synced, SchemaState:none, SchemaID:342, TableID:374, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:44.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:44.400 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=376] [2025/04/04 13:01:44.400 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=291] [cur_db=import_into] [sql="drop table if exists t;"] [user=] [2025/04/04 13:01:44.413 +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:342, TableID:377, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:44.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:01:44.413 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:378, Type:create table, State:queueing, SchemaState:none, SchemaID:342, TableID:377, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:44.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint auto_increment primary key, b varchar(100), c int, d varchar(100));"] [2025/04/04 13:01:44.418 +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:342, TableID:377, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:44.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:44.423 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 377, Table Name: t)"] [2025/04/04 13:01:44.439 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=291] [neededSchemaVersion=292] ["elapsed time"=1.656253ms] [gotSchemaVersion=292] [phyTblIDs="[377]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 13:01:44.442 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=378] [version=292] [2025/04/04 13:01:44.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=292] ["take time"=8.10511ms] [job="ID:378, Type:create table, State:done, SchemaState:public, SchemaID:342, TableID:377, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:44.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:44.455 +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:342, TableID:377, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:44.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:44.467 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=378] [2025/04/04 13:01:44.467 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=292] [cur_db=import_into] [sql="create table t (a bigint auto_increment primary key, b varchar(100), c int, d varchar(100));"] [user=] [2025/04/04 13:01:44.473 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:01:44.522 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"columns-and-vars\":\"(@`1`, @`2`, `a`)\",\"set-clause\":\"`c`=@`1`+100, `d`=@`2`, `b`=CONCAT(@`2`, _UTF8MB4'-aa')\",\"file-location\":\"gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/04 13:01:44.542 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30010] [task-id=30010] [data-size=63B] [thread-cnt=1] [global-sort=false] [2025/04/04 13:01:44.555 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30010] [2025/04/04 13:01:44.555 +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/04 13:01:44.657 +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/04 13:01:44.658 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30010] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:01:44.660 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30010] [curr-step=init] [next-step=import] [2025/04/04 13:01:44.667 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:01:44.670 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 13:01:44.670 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=63] [2025/04/04 13:01:44.670 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=63] [cost=89.53µs] [2025/04/04 13:01:44.670 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=208.688µs] [] [2025/04/04 13:01:44.670 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30010] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 13:01:44.670 +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=1] [2025/04/04 13:01:44.705 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30010] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 13:01:44.725 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30010] [step=import] [2025/04/04 13:01:44.725 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:01:44.732 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 13:01:44.733 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 13:01:44.733 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 13:01:44.733 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 13:01:44.733 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 13:01:44.733 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 13:01:44.733 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 13:01:44.733 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 13:01:44.734 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 13:01:44.734 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 13:01:44.745 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 13:01:44.746 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 13:01:44.747 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 13:01:44.747 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=30010] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 13:01:44.747 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=30010] [disk-quota=348.5GiB] [2025/04/04 13:01:44.747 +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=630.2MiB]"] [2025/04/04 13:01:44.754 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30010] [task-type=ImportInto] [server-id=:4000] [subtaskID=30018] [step=import] [2025/04/04 13:01:44.754 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30010] [step=import] [subtask-id=30018] [2025/04/04 13:01:44.757 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 13:01:44.761 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 13:01:44.761 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=377] [2025/04/04 13:01:44.764 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=30010] [mode=Import] [2025/04/04 13:01:44.781 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=30010] [2025/04/04 13:01:44.785 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=377] [key=db.tbl.001.csv:0] [2025/04/04 13:01:44.786 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=377] [key=db.tbl.001.csv:0] [readDur=805.84µs] [encodeDur=628.151µs] [checksum="{cksum=2180128874604033942,size=96,kvs=2}"] [deliverDur=21.988µs] [type=file] [takeTime=1.676739ms] [] [2025/04/04 13:01:44.787 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=377] [2025/04/04 13:01:44.787 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=96] [kvs=2] [files=1] [sstFileSize=998] [file=/tmp/tidb/import-4000/30010/ab3834ca-0a02-50c6-81ad-d45c1915b7bb.sst/d6711ed1-3a4b-4a00-bba7-0a89ccfddb0a.sst] [firstKey=7480000000000001795F72800000000000000B] [lastKey=7480000000000001795F728000000000000016] [2025/04/04 13:01:44.875 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=377] [key=db.tbl.002.csv:0] [2025/04/04 13:01:44.876 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=377] [key=db.tbl.002.csv:0] [readDur=845.671µs] [encodeDur=289.917µs] [checksum="{cksum=17114733561715978064,size=96,kvs=2}"] [deliverDur=25.53µs] [type=file] [takeTime=1.342015ms] [] [2025/04/04 13:01:44.877 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=377] [2025/04/04 13:01:44.877 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=96] [kvs=2] [files=1] [sstFileSize=998] [file=/tmp/tidb/import-4000/30010/ab3834ca-0a02-50c6-81ad-d45c1915b7bb.sst/deab6039-692a-4634-93c3-2e9de89b03d3.sst] [firstKey=7480000000000001795F728000000000000021] [lastKey=7480000000000001795F72800000000000002C] [2025/04/04 13:01:44.939 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=377] [key=db.tbl.003.csv:0] [2025/04/04 13:01:44.941 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=377] [key=db.tbl.003.csv:0] [readDur=997.576µs] [encodeDur=535.884µs] [checksum="{cksum=126932759714365300,size=96,kvs=2}"] [deliverDur=37.037µs] [type=file] [takeTime=1.840808ms] [] [2025/04/04 13:01:44.942 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=96] [kvs=2] [files=1] [sstFileSize=998] [file=/tmp/tidb/import-4000/30010/ab3834ca-0a02-50c6-81ad-d45c1915b7bb.sst/8b839113-b949-4943-b8de-b1e210b8b734.sst] [firstKey=7480000000000001795F728000000000000037] [lastKey=7480000000000001795F728000000000000042] [2025/04/04 13:01:44.942 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=30010] [step=import] [engine-id=0] [2025/04/04 13:01:44.942 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=30010] [step=import] [engine-id=0] [2025/04/04 13:01:44.942 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 13:01:44.944 +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.943291ms] [] [2025/04/04 13:01:44.944 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [2025/04/04 13:01:44.949 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 13:01:44.970 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] ["region ranges"=1] [count=6] [size=288] [2025/04/04 13:01:44.971 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 13:01:44.973 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001795f72800000000000000b] [endOfAllRanges=7480000000000001795f728000000000000043] [startKeyOfFirstRegion=7480000000000001ff795f728000000000ff00000b0000000000fa] [endKeyOfLastRegion=7480000000000001ff795f728000000000ff0000430000000000fa] [2025/04/04 13:01:44.984 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [size=288] [kvs=6] [importedSize=288] [importedCount=6] [2025/04/04 13:01:44.986 +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.658102ms] [] [2025/04/04 13:01:44.986 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 13:01:44.987 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.072254ms] [] [2025/04/04 13:01:44.987 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=30010] [step=import] [engine-id=0] [2025/04/04 13:01:44.987 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 13:01:44.989 +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.354722ms] [] [2025/04/04 13:01:44.989 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [2025/04/04 13:01:44.992 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 13:01:44.992 +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.740836ms] [] [2025/04/04 13:01:44.993 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 13:01:44.993 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=923.821µs] [] [2025/04/04 13:01:44.994 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=30010] [step=import] [subtask-id=30018] [takeTime=239.741545ms] [] [2025/04/04 13:01:44.994 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30010] [task-type=ImportInto] [server-id=:4000] [subtaskID=30018] [step=import] [takeTime=239.892794ms] [] [2025/04/04 13:01:45.063 +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/04 13:01:45.064 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30010] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:01:45.065 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30010] [curr-step=import] [next-step=post-process] [2025/04/04 13:01:45.065 +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/04 13:01:45.097 +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\":6}"] [2025/04/04 13:01:45.099 +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/04 13:01:45.099 +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/04 13:01:45.129 +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/04 13:01:45.136 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30010] [step=import] [2025/04/04 13:01:45.139 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 13:01:45.139 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 13:01:45.139 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 13:01:45.139 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 13:01:45.139 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 13:01:45.139 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 13:01:45.139 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 13:01:45.139 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:01:45.139 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:01:45.139 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-11] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:01:45.139 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:01:45.139 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 13:01:45.142 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 13:01:45.142 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:01:45.142 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:01:45.142 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:01:45.142 +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=630.2MiB]"] [takeTime=395.120458ms] [] [2025/04/04 13:01:45.143 +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=630.2MiB]"] [2025/04/04 13:01:45.151 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30010] [task-type=ImportInto] [server-id=:4000] [subtaskID=30019] [step=post-process] [2025/04/04 13:01:45.151 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=30010] [step=post-process] [subtask-id=30019] [2025/04/04 13:01:45.151 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=30010] [step=post-process] [subtask-id=30019] [2025/04/04 13:01:45.151 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=30010] [step=post-process] [subtask-id=30019] [2025/04/04 13:01:45.157 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=30010] [step=post-process] [subtask-id=30019] [takeTime=5.61113ms] [] [2025/04/04 13:01:45.157 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=30010] [step=post-process] [subtask-id=30019] [groupId=-1] [size=288] [kvs=6] [checksum=17437960271832508338] [2025/04/04 13:01:45.157 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=30010] [step=post-process] [subtask-id=30019] [checksum="{cksum=17437960271832508338,size=288,kvs=6}"] [2025/04/04 13:01:45.157 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=30010] [step=post-process] [subtask-id=30019] [weight=30] [2025/04/04 13:01:45.157 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=30010] [step=post-process] [subtask-id=30019] [concurrency=15] [2025/04/04 13:01:45.159 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=377] [physicalTableID=377] [indexID=-1] [checksum=17437960271832508338] [totalKvs=6] [totalBytes=288] [2025/04/04 13:01:45.160 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 13:01:45.160 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=30010] [step=post-process] [subtask-id=30019] [local="{cksum=17437960271832508338,size=288,kvs=6}"] [2025/04/04 13:01:45.160 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=30010] [step=post-process] [subtask-id=30019] [takeTime=8.374399ms] [] [2025/04/04 13:01:45.160 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=30010] [step=post-process] [subtask-id=30019] [takeTime=8.512948ms] [] [2025/04/04 13:01:45.160 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30010] [task-type=ImportInto] [server-id=:4000] [subtaskID=30019] [step=post-process] [takeTime=8.641008ms] [] [2025/04/04 13:01:45.168 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 13:01:45.262 +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/04 13:01:45.262 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30010] [step=post-process] [state=running] [] [2025/04/04 13:01:45.265 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=30010] [2025/04/04 13:01:45.295 +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=630.2MiB]"] [takeTime=151.239796ms] [] [2025/04/04 13:01:45.295 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30010] [type=ImportInto] [2025/04/04 13:01:45.357 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30010] [2025/04/04 13:01:45.364 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 13:01:45.364 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30010] [2025/04/04 13:01:45.386 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 13:01:45.458 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.991262816\n# Parse_time: 0.000217704\n# Compile_time: 0.000445744\n# Rewrite_time: 0.000094327\n# Optimize_time: 0.000263093\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('SvBJMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5MC4zbXMsIG9wZW46NzQybnMsIGNsb3NlOjEuMDXCtXMsIGxvb3BzOjIJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('ZfBSCmEKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWjB0aW1lOjk5MC4zbXMsIG9wZW46NzQybnMsIGNsb3NlOjEuMDXCtXMsIGxvb3BzOjJw//////8BAzQBeP///////////wEYAQ==')\n# Resource_group: default\nIMPORT INTO `import_into`.`t` (@`1`,@`2`,`a`) SET `c`=@`1`+100, `d`=@`2`, `b`=CONCAT(@`2`, _UTF8MB4'-aa') FROM 'gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1;"] [2025/04/04 13:01:45.473 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:379, Type:drop table, State:queueing, SchemaState:public, SchemaID:342, TableID:377, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:45.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:01:45.473 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:379, Type:drop table, State:queueing, SchemaState:public, SchemaID:342, TableID:377, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:45.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/04 13:01:45.478 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=379] [conn=2] [job="ID:379, Type:drop table, State:queueing, SchemaState:public, SchemaID:342, TableID:377, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:45.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:45.494 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=292] [neededSchemaVersion=293] ["elapsed time"=2.277361ms] [gotSchemaVersion=293] [phyTblIDs="[377]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 13:01:45.498 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=379] [version=293] [2025/04/04 13:01:45.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=293] ["take time"=9.010788ms] [job="ID:379, Type:drop table, State:running, SchemaState:write only, SchemaID:342, TableID:377, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:45.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:45.509 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=379] [conn=2] [job="ID:379, Type:drop table, State:running, SchemaState:write only, SchemaID:342, TableID:377, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:45.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:45.525 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=293] [neededSchemaVersion=294] ["elapsed time"=2.198258ms] [gotSchemaVersion=294] [phyTblIDs="[377]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 13:01:45.528 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=379] [version=294] [2025/04/04 13:01:45.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=294] ["take time"=8.887808ms] [job="ID:379, Type:drop table, State:running, SchemaState:delete only, SchemaID:342, TableID:377, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:45.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:45.538 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=379] [conn=2] [job="ID:379, Type:drop table, State:running, SchemaState:delete only, SchemaID:342, TableID:377, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:45.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:45.545 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 377, Old Table Name: t)"] [2025/04/04 13:01:45.559 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=294] [neededSchemaVersion=295] ["elapsed time"=1.142578ms] [gotSchemaVersion=295] [phyTblIDs="[377]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 13:01:45.562 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=379] [version=295] [2025/04/04 13:01:45.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=295] ["take time"=8.293838ms] [job="ID:379, Type:drop table, State:done, SchemaState:none, SchemaID:342, TableID:377, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:45.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:45.574 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=379] [tableIDs="[377]"] [comment="drop table: table ID"] [2025/04/04 13:01:45.579 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=379] [jobType="drop table"] [2025/04/04 13:01:45.580 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=379] [conn=2] [job="ID:379, Type:drop table, State:synced, SchemaState:none, SchemaID:342, TableID:377, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:45.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:45.598 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=379] [2025/04/04 13:01:45.598 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=295] [cur_db=import_into] [sql="drop table if exists t;"] [user=] [2025/04/04 13:01:45.612 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:381, Type:create table, State:queueing, SchemaState:none, SchemaID:342, TableID:380, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:45.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100), c int, d varchar(100)) SHARD_ROW_ID_BITS 10;"] [2025/04/04 13:01:45.612 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:381, Type:create table, State:queueing, SchemaState:none, SchemaID:342, TableID:380, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:45.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:01:45.617 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=381] [conn=2] [job="ID:381, Type:create table, State:queueing, SchemaState:none, SchemaID:342, TableID:380, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:45.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:45.623 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 380, Table Name: t)"] [2025/04/04 13:01:45.640 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=295] [neededSchemaVersion=296] ["elapsed time"=1.729998ms] [gotSchemaVersion=296] [phyTblIDs="[380]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 13:01:45.643 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=381] [version=296] [2025/04/04 13:01:45.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=296] ["take time"=9.48516ms] [job="ID:381, Type:create table, State:done, SchemaState:public, SchemaID:342, TableID:380, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:45.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:45.657 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=381] [conn=2] [job="ID:381, Type:create table, State:synced, SchemaState:public, SchemaID:342, TableID:380, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:45.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:45.669 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=381] [2025/04/04 13:01:45.669 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=296] [cur_db=import_into] [sql="create table t (a bigint, b varchar(100), c int, d varchar(100)) SHARD_ROW_ID_BITS 10;"] [user=] [2025/04/04 13:01:45.676 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:01:45.724 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"columns-and-vars\":\"(@`1`, @`2`, `a`)\",\"set-clause\":\"`c`=@`1`+100, `d`=@`2`, `b`=CONCAT(@`2`, _UTF8MB4'-aa')\",\"file-location\":\"gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/04 13:01:45.742 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30011] [task-id=30011] [data-size=63B] [thread-cnt=1] [global-sort=false] [2025/04/04 13:01:45.756 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30011] [2025/04/04 13:01:45.756 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=30011] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/04 13:01:45.859 +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/04 13:01:45.860 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30011] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:01:45.862 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30011] [curr-step=init] [next-step=import] [2025/04/04 13:01:45.870 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:01:45.873 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 13:01:45.873 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=63] [2025/04/04 13:01:45.873 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=63] [cost=69.007µs] [2025/04/04 13:01:45.873 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=184.37µs] [] [2025/04/04 13:01:45.873 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30011] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 13:01:45.873 +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=1] [subtasks=1] [2025/04/04 13:01:45.906 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30011] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 13:01:45.926 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30011] [step=import] [2025/04/04 13:01:45.926 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:01:45.938 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 13:01:45.938 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 13:01:45.938 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 13:01:45.938 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 13:01:45.939 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 13:01:45.939 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 13:01:45.939 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 13:01:45.939 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 13:01:45.939 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 13:01:45.939 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 13:01:45.952 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 13:01:45.954 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 13:01:45.954 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 13:01:45.954 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=30011] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 13:01:45.954 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=30011] [disk-quota=348.5GiB] [2025/04/04 13:01:45.954 +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=1, Mem=630.2MiB]"] [2025/04/04 13:01:45.961 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30011] [task-type=ImportInto] [server-id=:4000] [subtaskID=30020] [step=import] [2025/04/04 13:01:45.961 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30011] [step=import] [subtask-id=30020] [2025/04/04 13:01:45.965 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 13:01:45.966 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=30011] [mode=Import] [2025/04/04 13:01:45.968 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 13:01:45.968 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=380] [2025/04/04 13:01:45.987 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=30011] [2025/04/04 13:01:46.011 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=380] [key=db.tbl.001.csv:0] [2025/04/04 13:01:46.013 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=380] [key=db.tbl.001.csv:0] [readDur=964.596µs] [encodeDur=284.674µs] [checksum="{cksum=9096151903818431098,size=104,kvs=2}"] [deliverDur=445.814µs] [type=file] [takeTime=1.926054ms] [] [2025/04/04 13:01:46.014 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=380] [2025/04/04 13:01:46.014 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=104] [kvs=2] [files=1] [sstFileSize=1012] [file=/tmp/tidb/import-4000/30011/ab3834ca-0a02-50c6-81ad-d45c1915b7bb.sst/0c1e2598-e9aa-419d-8c3d-d69274a5f6b6.sst] [firstKey=74800000000000017C5F728840000000000001] [lastKey=74800000000000017C5F72F8A0000000000002] [2025/04/04 13:01:46.041 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=380] [key=db.tbl.002.csv:0] [2025/04/04 13:01:46.044 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=380] [key=db.tbl.002.csv:0] [readDur=1.067434ms] [encodeDur=700.495µs] [checksum="{cksum=1540599946714846010,size=104,kvs=2}"] [deliverDur=26.483µs] [type=file] [takeTime=2.028637ms] [] [2025/04/04 13:01:46.044 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=104] [kvs=2] [files=1] [sstFileSize=1012] [file=/tmp/tidb/import-4000/30011/ab3834ca-0a02-50c6-81ad-d45c1915b7bb.sst/8adc75c3-c838-467f-a0af-b4f5a6bd9a0e.sst] [firstKey=74800000000000017C5F728780000000000007] [lastKey=74800000000000017C5F72D700000000000006] [2025/04/04 13:01:46.044 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=380] [2025/04/04 13:01:46.075 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=380] [key=db.tbl.003.csv:0] [2025/04/04 13:01:46.076 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=380] [key=db.tbl.003.csv:0] [readDur=877.149µs] [encodeDur=416.293µs] [checksum="{cksum=7135556550049781423,size=104,kvs=2}"] [deliverDur=34.516µs] [type=file] [takeTime=1.576303ms] [] [2025/04/04 13:01:46.077 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=104] [kvs=2] [files=1] [sstFileSize=1011] [file=/tmp/tidb/import-4000/30011/ab3834ca-0a02-50c6-81ad-d45c1915b7bb.sst/e060e0ee-1fba-4ff3-9838-6260e963b75a.sst] [firstKey=74800000000000017C5F72A60000000000000B] [lastKey=74800000000000017C5F72DA6000000000000C] [2025/04/04 13:01:46.077 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=30011] [step=import] [engine-id=0] [2025/04/04 13:01:46.077 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=30011] [step=import] [engine-id=0] [2025/04/04 13:01:46.077 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 13:01:46.080 +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.801026ms] [] [2025/04/04 13:01:46.080 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [2025/04/04 13:01:46.085 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 13:01:46.107 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] ["region ranges"=1] [count=6] [size=312] [2025/04/04 13:01:46.107 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 13:01:46.109 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000017c5f728780000000000007] [endOfAllRanges=74800000000000017c5f72f8a0000000000003] [startKeyOfFirstRegion=7480000000000001ff7c5f728780000000ff0000070000000000fa] [endKeyOfLastRegion=7480000000000001ff7c5f72f8a0000000ff0000030000000000fa] [2025/04/04 13:01:46.120 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [size=312] [kvs=6] [importedSize=312] [importedCount=6] [2025/04/04 13:01:46.121 +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.141005ms] [] [2025/04/04 13:01:46.122 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 13:01:46.123 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.113851ms] [] [2025/04/04 13:01:46.123 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=30011] [step=import] [engine-id=0] [2025/04/04 13:01:46.123 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 13:01:46.124 +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.309824ms] [] [2025/04/04 13:01:46.124 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [2025/04/04 13:01:46.128 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 13:01:46.128 +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.468183ms] [] [2025/04/04 13:01:46.128 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 13:01:46.129 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=790.743µs] [] [2025/04/04 13:01:46.129 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=30011] [step=import] [subtask-id=30020] [takeTime=167.411075ms] [] [2025/04/04 13:01:46.129 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30011] [task-type=ImportInto] [server-id=:4000] [subtaskID=30020] [step=import] [takeTime=167.562649ms] [] [2025/04/04 13:01:46.163 +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/04 13:01:46.165 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30011] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:01:46.166 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30011] [curr-step=import] [next-step=post-process] [2025/04/04 13:01:46.166 +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/04 13:01:46.195 +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\":6}"] [2025/04/04 13:01:46.197 +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/04 13:01:46.197 +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=1] [subtasks=1] [2025/04/04 13:01:46.233 +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/04 13:01:46.239 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30011] [step=import] [2025/04/04 13:01:46.241 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 13:01:46.241 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 13:01:46.241 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 13:01:46.241 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 13:01:46.241 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 13:01:46.241 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 13:01:46.241 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 13:01:46.241 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:01:46.242 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:01:46.242 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:01:46.241 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-12] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:01:46.242 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 13:01:46.244 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 13:01:46.244 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:01:46.244 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:01:46.244 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:01:46.244 +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=1, Mem=630.2MiB]"] [takeTime=289.947057ms] [] [2025/04/04 13:01:46.245 +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=1, Mem=630.2MiB]"] [2025/04/04 13:01:46.253 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30011] [task-type=ImportInto] [server-id=:4000] [subtaskID=30021] [step=post-process] [2025/04/04 13:01:46.253 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=30011] [step=post-process] [subtask-id=30021] [2025/04/04 13:01:46.253 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=30011] [step=post-process] [subtask-id=30021] [2025/04/04 13:01:46.253 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=30011] [step=post-process] [subtask-id=30021] [2025/04/04 13:01:46.258 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=30011] [step=post-process] [subtask-id=30021] [takeTime=5.673372ms] [] [2025/04/04 13:01:46.259 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=30011] [step=post-process] [subtask-id=30021] [groupId=-1] [size=312] [kvs=6] [checksum=602317331038109679] [2025/04/04 13:01:46.259 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=30011] [step=post-process] [subtask-id=30021] [checksum="{cksum=602317331038109679,size=312,kvs=6}"] [2025/04/04 13:01:46.259 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=30011] [step=post-process] [subtask-id=30021] [weight=30] [2025/04/04 13:01:46.259 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=30011] [step=post-process] [subtask-id=30021] [concurrency=15] [2025/04/04 13:01:46.260 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=380] [physicalTableID=380] [indexID=-1] [checksum=602317331038109679] [totalKvs=6] [totalBytes=312] [2025/04/04 13:01:46.261 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 13:01:46.261 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=30011] [step=post-process] [subtask-id=30021] [local="{cksum=602317331038109679,size=312,kvs=6}"] [2025/04/04 13:01:46.261 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=30011] [step=post-process] [subtask-id=30021] [takeTime=8.094414ms] [] [2025/04/04 13:01:46.261 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=30011] [step=post-process] [subtask-id=30021] [takeTime=8.231419ms] [] [2025/04/04 13:01:46.261 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30011] [task-type=ImportInto] [server-id=:4000] [subtaskID=30021] [step=post-process] [takeTime=8.373274ms] [] [2025/04/04 13:01:46.269 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 13:01:46.364 +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/04 13:01:46.364 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30011] [step=post-process] [state=running] [] [2025/04/04 13:01:46.366 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=30011] [2025/04/04 13:01:46.396 +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=1, Mem=630.2MiB]"] [takeTime=150.518904ms] [] [2025/04/04 13:01:46.396 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30011] [type=ImportInto] [2025/04/04 13:01:46.459 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30011] [2025/04/04 13:01:46.464 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 13:01:46.465 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30011] [2025/04/04 13:01:46.489 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 13:01:46.659 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.989107307\n# Parse_time: 0.000213724\n# Compile_time: 0.000459951\n# Rewrite_time: 0.000089064\n# Optimize_time: 0.000267637\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4OC4xbXMsIG9wZW46NjEybnMsIGNsb3NlOjkxMG5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk4OC4xbXMsIG9wZW46NjEybnMsIGNsb3NlOjkxMG5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\nIMPORT INTO `import_into`.`t` (@`1`,@`2`,`a`) SET `c`=@`1`+100, `d`=@`2`, `b`=CONCAT(@`2`, _UTF8MB4'-aa') FROM 'gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1;"] [2025/04/04 13:01:46.674 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:382, Type:drop table, State:queueing, SchemaState:public, SchemaID:342, TableID:380, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:46.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/04 13:01:46.674 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:382, Type:drop table, State:queueing, SchemaState:public, SchemaID:342, TableID:380, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:46.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:01:46.679 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=382] [conn=2] [job="ID:382, Type:drop table, State:queueing, SchemaState:public, SchemaID:342, TableID:380, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:46.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:46.696 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=296] [neededSchemaVersion=297] ["elapsed time"=2.267599ms] [gotSchemaVersion=297] [phyTblIDs="[380]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 13:01:46.699 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=382] [version=297] [2025/04/04 13:01:46.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=297] ["take time"=8.974195ms] [job="ID:382, Type:drop table, State:running, SchemaState:write only, SchemaID:342, TableID:380, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:46.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:46.710 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=382] [conn=2] [job="ID:382, Type:drop table, State:running, SchemaState:write only, SchemaID:342, TableID:380, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:46.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:46.726 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=297] [neededSchemaVersion=298] ["elapsed time"=2.272085ms] [gotSchemaVersion=298] [phyTblIDs="[380]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 13:01:46.729 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=382] [version=298] [2025/04/04 13:01:46.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=298] ["take time"=9.354286ms] [job="ID:382, Type:drop table, State:running, SchemaState:delete only, SchemaID:342, TableID:380, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:46.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:46.739 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=382] [conn=2] [job="ID:382, Type:drop table, State:running, SchemaState:delete only, SchemaID:342, TableID:380, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:46.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:46.746 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 380, Old Table Name: t)"] [2025/04/04 13:01:46.759 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=298] [neededSchemaVersion=299] ["elapsed time"=988.29µs] [gotSchemaVersion=299] [phyTblIDs="[380]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 13:01:46.763 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=382] [version=299] [2025/04/04 13:01:46.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=299] ["take time"=7.869323ms] [job="ID:382, Type:drop table, State:done, SchemaState:none, SchemaID:342, TableID:380, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:46.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:46.774 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=382] [tableIDs="[380]"] [comment="drop table: table ID"] [2025/04/04 13:01:46.778 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=382] [jobType="drop table"] [2025/04/04 13:01:46.779 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=382] [conn=2] [job="ID:382, Type:drop table, State:synced, SchemaState:none, SchemaID:342, TableID:380, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:46.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:46.798 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=382] [2025/04/04 13:01:46.798 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=299] [cur_db=import_into] [sql="drop table if exists t;"] [user=] [2025/04/04 13:01:46.811 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:384, Type:create table, State:queueing, SchemaState:none, SchemaID:342, TableID:383, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:46.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:01:46.811 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:384, Type:create table, State:queueing, SchemaState:none, SchemaID:342, TableID:383, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:46.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint auto_increment primary key, b int, c varchar(100), d int);"] [2025/04/04 13:01:46.816 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=384] [conn=2] [job="ID:384, Type:create table, State:queueing, SchemaState:none, SchemaID:342, TableID:383, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:46.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:46.821 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 383, Table Name: t)"] [2025/04/04 13:01:46.838 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=299] [neededSchemaVersion=300] ["elapsed time"=1.73066ms] [gotSchemaVersion=300] [phyTblIDs="[383]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 13:01:46.841 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=384] [version=300] [2025/04/04 13:01:46.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=300] ["take time"=8.755203ms] [job="ID:384, Type:create table, State:done, SchemaState:public, SchemaID:342, TableID:383, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:46.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:46.854 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=384] [conn=2] [job="ID:384, Type:create table, State:synced, SchemaState:public, SchemaID:342, TableID:383, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:46.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:46.866 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=384] [2025/04/04 13:01:46.866 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=300] [cur_db=import_into] [sql="create table t (a bigint auto_increment primary key, b int, c varchar(100), d int);"] [user=] [2025/04/04 13:01:46.872 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:01:46.921 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"columns-and-vars\":\"(`b`, `c`, `d`)\",\"file-location\":\"gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/04 13:01:46.940 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30012] [task-id=30012] [data-size=63B] [thread-cnt=1] [global-sort=false] [2025/04/04 13:01:46.954 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30012] [2025/04/04 13:01:46.954 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=30012] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/04 13:01:47.056 +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/04 13:01:47.057 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30012] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:01:47.059 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30012] [curr-step=init] [next-step=import] [2025/04/04 13:01:47.066 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:01:47.069 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 13:01:47.069 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=63] [2025/04/04 13:01:47.069 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=63] [cost=73.67µs] [2025/04/04 13:01:47.069 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=200.34µs] [] [2025/04/04 13:01:47.069 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30012] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 13:01:47.069 +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=1] [subtasks=1] [2025/04/04 13:01:47.106 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30012] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 13:01:47.126 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30012] [step=import] [2025/04/04 13:01:47.126 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:01:47.134 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 13:01:47.134 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 13:01:47.135 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 13:01:47.135 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 13:01:47.135 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 13:01:47.135 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 13:01:47.135 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 13:01:47.135 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 13:01:47.136 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 13:01:47.136 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 13:01:47.148 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 13:01:47.149 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 13:01:47.149 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 13:01:47.150 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=30012] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 13:01:47.150 +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=1, Mem=630.2MiB]"] [2025/04/04 13:01:47.150 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=30012] [disk-quota=348.5GiB] [2025/04/04 13:01:47.157 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30012] [task-type=ImportInto] [server-id=:4000] [subtaskID=30022] [step=import] [2025/04/04 13:01:47.157 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30012] [step=import] [subtask-id=30022] [2025/04/04 13:01:47.160 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 13:01:47.163 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=30012] [mode=Import] [2025/04/04 13:01:47.164 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 13:01:47.164 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=383] [2025/04/04 13:01:47.182 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=30012] [2025/04/04 13:01:47.203 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=383] [key=db.tbl.001.csv:0] [2025/04/04 13:01:47.205 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=383] [key=db.tbl.001.csv:0] [readDur=1.157098ms] [encodeDur=253.266µs] [checksum="{cksum=1675147975136326378,size=82,kvs=2}"] [deliverDur=153.401µs] [type=file] [takeTime=1.919558ms] [] [2025/04/04 13:01:47.206 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=383] [2025/04/04 13:01:47.206 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=82] [kvs=2] [files=1] [sstFileSize=990] [file=/tmp/tidb/import-4000/30012/ab3834ca-0a02-50c6-81ad-d45c1915b7bb.sst/208b6cbb-8089-4b00-9b93-710daaec06ab.sst] [firstKey=74800000000000017F5F728000000000000001] [lastKey=74800000000000017F5F728000000000000002] [2025/04/04 13:01:47.229 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=383] [key=db.tbl.002.csv:0] [2025/04/04 13:01:47.231 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=383] [key=db.tbl.002.csv:0] [readDur=986.133µs] [encodeDur=606.593µs] [checksum="{cksum=12305018038957930638,size=82,kvs=2}"] [deliverDur=35.154µs] [type=file] [takeTime=1.836787ms] [] [2025/04/04 13:01:47.232 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=383] [2025/04/04 13:01:47.232 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=82] [kvs=2] [files=1] [sstFileSize=990] [file=/tmp/tidb/import-4000/30012/ab3834ca-0a02-50c6-81ad-d45c1915b7bb.sst/036b0a58-bf41-416c-bd56-f232b8068d18.sst] [firstKey=74800000000000017F5F728000000000000006] [lastKey=74800000000000017F5F728000000000000007] [2025/04/04 13:01:47.300 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=383] [key=db.tbl.003.csv:0] [2025/04/04 13:01:47.302 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=383] [key=db.tbl.003.csv:0] [readDur=884.106µs] [encodeDur=327.669µs] [checksum="{cksum=17907548893808300386,size=82,kvs=2}"] [deliverDur=26.053µs] [type=file] [takeTime=1.450006ms] [] [2025/04/04 13:01:47.302 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=82] [kvs=2] [files=1] [sstFileSize=990] [file=/tmp/tidb/import-4000/30012/ab3834ca-0a02-50c6-81ad-d45c1915b7bb.sst/4abfba88-2987-447b-b4bd-5ce11b5cebc6.sst] [firstKey=74800000000000017F5F72800000000000000B] [lastKey=74800000000000017F5F72800000000000000C] [2025/04/04 13:01:47.303 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=30012] [step=import] [engine-id=0] [2025/04/04 13:01:47.303 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=30012] [step=import] [engine-id=0] [2025/04/04 13:01:47.303 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 13:01:47.305 +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.007455ms] [] [2025/04/04 13:01:47.305 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [2025/04/04 13:01:47.309 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 13:01:47.331 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] ["region ranges"=1] [count=6] [size=246] [2025/04/04 13:01:47.331 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 13:01:47.333 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000017f5f728000000000000001] [endOfAllRanges=74800000000000017f5f72800000000000000d] [startKeyOfFirstRegion=7480000000000001ff7f5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff7f5f728000000000ff00000d0000000000fa] [2025/04/04 13:01:47.344 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [size=246] [kvs=6] [importedSize=246] [importedCount=6] [2025/04/04 13:01:47.346 +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.106319ms] [] [2025/04/04 13:01:47.346 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 13:01:47.347 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.107106ms] [] [2025/04/04 13:01:47.347 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=30012] [step=import] [engine-id=0] [2025/04/04 13:01:47.347 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 13:01:47.349 +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.444438ms] [] [2025/04/04 13:01:47.349 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [2025/04/04 13:01:47.353 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 13:01:47.353 +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.211283ms] [] [2025/04/04 13:01:47.353 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 13:01:47.354 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=1.133954ms] [] [2025/04/04 13:01:47.355 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=30012] [step=import] [subtask-id=30022] [takeTime=197.782307ms] [] [2025/04/04 13:01:47.355 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30012] [task-type=ImportInto] [server-id=:4000] [subtaskID=30022] [step=import] [takeTime=197.959309ms] [] [2025/04/04 13:01:47.461 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30012] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 13:01:47.462 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30012] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:01:47.464 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30012] [curr-step=import] [next-step=post-process] [2025/04/04 13:01:47.464 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=30012] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 13:01:47.495 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=30012] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":6}"] [2025/04/04 13:01:47.497 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30012] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 13:01:47.497 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30012] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/04 13:01:47.504 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=30012] [task-type=ImportInto] [server-id=:4000] [2025/04/04 13:01:47.504 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30012] [step=import] [2025/04/04 13:01:47.507 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 13:01:47.507 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 13:01:47.507 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 13:01:47.507 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 13:01:47.507 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 13:01:47.507 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 13:01:47.507 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 13:01:47.507 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:01:47.507 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:01:47.507 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-13] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:01:47.507 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:01:47.507 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 13:01:47.510 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 13:01:47.510 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:01:47.510 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:01:47.510 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:01:47.510 +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=1, Mem=630.2MiB]"] [takeTime=360.164094ms] [] [2025/04/04 13:01:47.510 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30012] [type=ImportInto] [2025/04/04 13:01:47.536 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30012] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 13:01:47.557 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30012] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/04 13:01:47.564 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30012] [task-type=ImportInto] [server-id=:4000] [subtaskID=30023] [step=post-process] [2025/04/04 13:01:47.564 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=30012] [step=post-process] [subtask-id=30023] [2025/04/04 13:01:47.565 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=30012] [step=post-process] [subtask-id=30023] [2025/04/04 13:01:47.565 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=30012] [step=post-process] [subtask-id=30023] [2025/04/04 13:01:47.570 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=30012] [step=post-process] [subtask-id=30023] [takeTime=5.805842ms] [] [2025/04/04 13:01:47.570 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=30012] [step=post-process] [subtask-id=30023] [groupId=-1] [size=246] [kvs=6] [checksum=5007723872062626566] [2025/04/04 13:01:47.571 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=30012] [step=post-process] [subtask-id=30023] [checksum="{cksum=5007723872062626566,size=246,kvs=6}"] [2025/04/04 13:01:47.571 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=30012] [step=post-process] [subtask-id=30023] [weight=30] [2025/04/04 13:01:47.571 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=30012] [step=post-process] [subtask-id=30023] [concurrency=15] [2025/04/04 13:01:47.573 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=383] [physicalTableID=383] [indexID=-1] [checksum=5007723872062626566] [totalKvs=6] [totalBytes=246] [2025/04/04 13:01:47.573 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 13:01:47.573 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=30012] [step=post-process] [subtask-id=30023] [local="{cksum=5007723872062626566,size=246,kvs=6}"] [2025/04/04 13:01:47.573 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=30012] [step=post-process] [subtask-id=30023] [takeTime=8.537447ms] [] [2025/04/04 13:01:47.573 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=30012] [step=post-process] [subtask-id=30023] [takeTime=8.668371ms] [] [2025/04/04 13:01:47.573 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30012] [task-type=ImportInto] [server-id=:4000] [subtaskID=30023] [step=post-process] [takeTime=8.805535ms] [] [2025/04/04 13:01:47.588 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 13:01:47.661 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30012] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 13:01:47.661 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30012] [step=post-process] [state=running] [] [2025/04/04 13:01:47.663 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=30012] [2025/04/04 13:01:47.692 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30012] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=134.898689ms] [] [2025/04/04 13:01:47.692 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30012] [type=ImportInto] [2025/04/04 13:01:47.757 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30012] [2025/04/04 13:01:47.762 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 13:01:47.762 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30012] [2025/04/04 13:01:47.784 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 13:01:47.856 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.989564382\n# Parse_time: 0.000184824\n# Compile_time: 0.000405607\n# Rewrite_time: 0.00008459\n# Optimize_time: 0.000377532\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('SvBJMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4OC43bXMsIG9wZW46OTk0bnMsIGNsb3NlOjEuMDfCtXMsIGxvb3BzOjIJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('ZfBSCmEKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWjB0aW1lOjk4OC43bXMsIG9wZW46OTk0bnMsIGNsb3NlOjEuMDfCtXMsIGxvb3BzOjJw//////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/04 13:01:47.870 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:385, Type:drop table, State:queueing, SchemaState:public, SchemaID:342, TableID:383, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:47.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:01:47.871 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:385, Type:drop table, State:queueing, SchemaState:public, SchemaID:342, TableID:383, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:47.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/04 13:01:47.876 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=385] [conn=2] [job="ID:385, Type:drop table, State:queueing, SchemaState:public, SchemaID:342, TableID:383, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:47.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:47.892 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=300] [neededSchemaVersion=301] ["elapsed time"=2.306552ms] [gotSchemaVersion=301] [phyTblIDs="[383]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 13:01:47.896 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=385] [version=301] [2025/04/04 13:01:47.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=301] ["take time"=9.276478ms] [job="ID:385, Type:drop table, State:running, SchemaState:write only, SchemaID:342, TableID:383, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:47.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:47.908 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=385] [conn=2] [job="ID:385, Type:drop table, State:running, SchemaState:write only, SchemaID:342, TableID:383, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:47.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:47.924 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=301] [neededSchemaVersion=302] ["elapsed time"=2.45722ms] [gotSchemaVersion=302] [phyTblIDs="[383]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 13:01:47.927 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=385] [version=302] [2025/04/04 13:01:47.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=302] ["take time"=9.515995ms] [job="ID:385, Type:drop table, State:running, SchemaState:delete only, SchemaID:342, TableID:383, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:47.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:47.937 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=385] [conn=2] [job="ID:385, Type:drop table, State:running, SchemaState:delete only, SchemaID:342, TableID:383, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:47.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:47.944 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 383, Old Table Name: t)"] [2025/04/04 13:01:47.958 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=302] [neededSchemaVersion=303] ["elapsed time"=1.134529ms] [gotSchemaVersion=303] [phyTblIDs="[383]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 13:01:47.961 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=385] [version=303] [2025/04/04 13:01:47.963 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=303] ["take time"=8.214018ms] [job="ID:385, Type:drop table, State:done, SchemaState:none, SchemaID:342, TableID:383, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:47.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:47.972 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=385] [tableIDs="[383]"] [comment="drop table: table ID"] [2025/04/04 13:01:47.977 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=385] [jobType="drop table"] [2025/04/04 13:01:47.978 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=385] [conn=2] [job="ID:385, Type:drop table, State:synced, SchemaState:none, SchemaID:342, TableID:383, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:47.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:47.996 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=385] [2025/04/04 13:01:47.996 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=303] [cur_db=import_into] [sql="drop table if exists t;"] [user=] [2025/04/04 13:01:48.009 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:387, Type:create table, State:queueing, SchemaState:none, SchemaID:342, TableID:386, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:47.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:01:48.009 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:387, Type:create table, State:queueing, SchemaState:none, SchemaID:342, TableID:386, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:47.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint auto_random primary key, b int, c varchar(100), d int);"] [2025/04/04 13:01:48.015 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=387] [conn=2] [job="ID:387, Type:create table, State:queueing, SchemaState:none, SchemaID:342, TableID:386, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:47.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:48.021 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 386, Table Name: t)"] [2025/04/04 13:01:48.038 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=303] [neededSchemaVersion=304] ["elapsed time"=1.710413ms] [gotSchemaVersion=304] [phyTblIDs="[386]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 13:01:48.042 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=387] [version=304] [2025/04/04 13:01:48.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=304] ["take time"=9.099664ms] [job="ID:387, Type:create table, State:done, SchemaState:public, SchemaID:342, TableID:386, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:47.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:48.056 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=387] [conn=2] [job="ID:387, Type:create table, State:synced, SchemaState:public, SchemaID:342, TableID:386, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:47.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:48.070 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=387] [2025/04/04 13:01:48.070 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=304] [cur_db=import_into] [sql="create table t (a bigint auto_random primary key, b int, c varchar(100), d int);"] [user=] [2025/04/04 13:01:48.076 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:01:48.128 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"columns-and-vars\":\"(`b`, `c`, `d`)\",\"file-location\":\"gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/04 13:01:48.149 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30013] [task-id=30013] [data-size=63B] [thread-cnt=1] [global-sort=false] [2025/04/04 13:01:48.166 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30013] [2025/04/04 13:01:48.166 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=30013] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/04 13:01:48.269 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30013] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 13:01:48.271 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30013] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:01:48.272 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30013] [curr-step=init] [next-step=import] [2025/04/04 13:01:48.280 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:01:48.283 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 13:01:48.283 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=63] [2025/04/04 13:01:48.283 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=63] [cost=104.923µs] [2025/04/04 13:01:48.283 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=229.888µs] [] [2025/04/04 13:01:48.284 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30013] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 13:01:48.284 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30013] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/04 13:01:48.326 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30013] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 13:01:48.347 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30013] [step=import] [2025/04/04 13:01:48.347 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:01:48.357 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 13:01:48.357 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 13:01:48.357 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 13:01:48.357 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 13:01:48.357 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 13:01:48.357 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 13:01:48.358 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 13:01:48.358 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 13:01:48.358 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 13:01:48.358 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 13:01:48.372 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 13:01:48.374 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 13:01:48.374 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 13:01:48.374 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=30013] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 13:01:48.374 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30013] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/04 13:01:48.374 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=30013] [disk-quota=348.5GiB] [2025/04/04 13:01:48.376 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=30013] [mode=Import] [2025/04/04 13:01:48.391 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30013] [task-type=ImportInto] [server-id=:4000] [subtaskID=30024] [step=import] [2025/04/04 13:01:48.391 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30013] [step=import] [subtask-id=30024] [2025/04/04 13:01:48.396 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 13:01:48.396 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=30013] [2025/04/04 13:01:48.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/04 13:01:48.400 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=386] [2025/04/04 13:01:48.442 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=386] [key=db.tbl.001.csv:0] [2025/04/04 13:01:48.445 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=386] [key=db.tbl.001.csv:0] [readDur=1.097829ms] [encodeDur=628.546µs] [checksum="{cksum=1675147975136326378,size=82,kvs=2}"] [deliverDur=342.612µs] [type=file] [takeTime=2.479613ms] [] [2025/04/04 13:01:48.446 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=386] [2025/04/04 13:01:48.446 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=82] [kvs=2] [files=1] [sstFileSize=990] [file=/tmp/tidb/import-4000/30013/ab3834ca-0a02-50c6-81ad-d45c1915b7bb.sst/0538bc29-a418-401c-a3e0-93d679960f59.sst] [firstKey=7480000000000001825F728400000000000001] [lastKey=7480000000000001825F728400000000000002] [2025/04/04 13:01:48.486 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=386] [key=db.tbl.002.csv:0] [2025/04/04 13:01:48.488 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=386] [key=db.tbl.002.csv:0] [readDur=1.055633ms] [encodeDur=355.001µs] [checksum="{cksum=12305018038957930638,size=82,kvs=2}"] [deliverDur=31.03µs] [type=file] [takeTime=1.798486ms] [] [2025/04/04 13:01:48.489 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=386] [2025/04/04 13:01:48.489 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=82] [kvs=2] [files=1] [sstFileSize=990] [file=/tmp/tidb/import-4000/30013/ab3834ca-0a02-50c6-81ad-d45c1915b7bb.sst/72baf6ee-25c9-444f-a28e-ec65e90d1a3d.sst] [firstKey=7480000000000001825F728000000000000006] [lastKey=7480000000000001825F728000000000000007] [2025/04/04 13:01:48.518 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=386] [key=db.tbl.003.csv:0] [2025/04/04 13:01:48.520 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=386] [key=db.tbl.003.csv:0] [readDur=1.088059ms] [encodeDur=263.239µs] [checksum="{cksum=17907548893808300386,size=82,kvs=2}"] [deliverDur=20.276µs] [type=file] [takeTime=1.580485ms] [] [2025/04/04 13:01:48.521 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=82] [kvs=2] [files=1] [sstFileSize=990] [file=/tmp/tidb/import-4000/30013/ab3834ca-0a02-50c6-81ad-d45c1915b7bb.sst/78a5282b-10ec-49e3-96e3-52fbe1527957.sst] [firstKey=7480000000000001825F728C0000000000000B] [lastKey=7480000000000001825F728C0000000000000C] [2025/04/04 13:01:48.521 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=30013] [step=import] [engine-id=0] [2025/04/04 13:01:48.521 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=30013] [step=import] [engine-id=0] [2025/04/04 13:01:48.521 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 13:01:48.523 +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.169189ms] [] [2025/04/04 13:01:48.523 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [2025/04/04 13:01:48.528 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 13:01:48.550 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] ["region ranges"=1] [count=6] [size=246] [2025/04/04 13:01:48.550 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 13:01:48.552 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001825f728000000000000006] [endOfAllRanges=7480000000000001825f728c0000000000000d] [startKeyOfFirstRegion=7480000000000001ff825f728000000000ff0000060000000000fa] [endKeyOfLastRegion=7480000000000001ff825f728c00000000ff00000d0000000000fa] [2025/04/04 13:01:48.564 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [size=246] [kvs=6] [importedSize=246] [importedCount=6] [2025/04/04 13:01:48.566 +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.091678ms] [] [2025/04/04 13:01:48.566 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 13:01:48.567 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.354434ms] [] [2025/04/04 13:01:48.567 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=30013] [step=import] [engine-id=0] [2025/04/04 13:01:48.567 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 13:01:48.569 +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.507638ms] [] [2025/04/04 13:01:48.569 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [2025/04/04 13:01:48.572 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 13:01:48.572 +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.45943ms] [] [2025/04/04 13:01:48.572 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 13:01:48.573 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=915.669µs] [] [2025/04/04 13:01:48.573 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=30013] [step=import] [subtask-id=30024] [takeTime=182.453956ms] [] [2025/04/04 13:01:48.574 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30013] [task-type=ImportInto] [server-id=:4000] [subtaskID=30024] [step=import] [takeTime=182.625469ms] [] [2025/04/04 13:01:48.673 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30013] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 13:01:48.674 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30013] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:01:48.675 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30013] [curr-step=import] [next-step=post-process] [2025/04/04 13:01:48.675 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=30013] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 13:01:48.705 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=30013] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":6}"] [2025/04/04 13:01:48.706 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30013] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 13:01:48.707 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30013] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/04 13:01:48.714 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=30013] [task-type=ImportInto] [server-id=:4000] [2025/04/04 13:01:48.714 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30013] [step=import] [2025/04/04 13:01:48.717 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 13:01:48.717 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 13:01:48.717 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 13:01:48.717 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 13:01:48.717 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 13:01:48.717 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 13:01:48.717 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 13:01:48.717 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-14] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:01:48.717 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:01:48.717 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:01:48.717 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:01:48.717 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 13:01:48.720 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 13:01:48.720 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:01:48.720 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:01:48.720 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:01:48.720 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30013] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=345.621193ms] [] [2025/04/04 13:01:48.720 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30013] [type=ImportInto] [2025/04/04 13:01:48.748 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30013] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 13:01:48.767 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30013] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/04 13:01:48.774 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30013] [task-type=ImportInto] [server-id=:4000] [subtaskID=30025] [step=post-process] [2025/04/04 13:01:48.774 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=30013] [step=post-process] [subtask-id=30025] [2025/04/04 13:01:48.775 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=30013] [step=post-process] [subtask-id=30025] [2025/04/04 13:01:48.775 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=30013] [step=post-process] [subtask-id=30025] [2025/04/04 13:01:48.780 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=30013] [step=post-process] [subtask-id=30025] [takeTime=5.765431ms] [] [2025/04/04 13:01:48.780 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=30013] [step=post-process] [subtask-id=30025] [groupId=-1] [size=246] [kvs=6] [checksum=5007723872062626566] [2025/04/04 13:01:48.781 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=30013] [step=post-process] [subtask-id=30025] [checksum="{cksum=5007723872062626566,size=246,kvs=6}"] [2025/04/04 13:01:48.781 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=30013] [step=post-process] [subtask-id=30025] [weight=30] [2025/04/04 13:01:48.781 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=30013] [step=post-process] [subtask-id=30025] [concurrency=15] [2025/04/04 13:01:48.782 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=386] [physicalTableID=386] [indexID=-1] [checksum=5007723872062626566] [totalKvs=6] [totalBytes=246] [2025/04/04 13:01:48.783 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 13:01:48.783 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=30013] [step=post-process] [subtask-id=30025] [local="{cksum=5007723872062626566,size=246,kvs=6}"] [2025/04/04 13:01:48.783 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=30013] [step=post-process] [subtask-id=30025] [takeTime=8.389941ms] [] [2025/04/04 13:01:48.783 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=30013] [step=post-process] [subtask-id=30025] [takeTime=8.527807ms] [] [2025/04/04 13:01:48.783 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30013] [task-type=ImportInto] [server-id=:4000] [subtaskID=30025] [step=post-process] [takeTime=8.652167ms] [] [2025/04/04 13:01:48.792 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 13:01:48.875 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30013] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 13:01:48.875 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30013] [step=post-process] [state=running] [] [2025/04/04 13:01:48.877 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=30013] [2025/04/04 13:01:48.903 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30013] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=136.094609ms] [] [2025/04/04 13:01:48.903 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30013] [type=ImportInto] [2025/04/04 13:01:48.969 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30013] [2025/04/04 13:01:48.974 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 13:01:48.974 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30013] [2025/04/04 13:01:48.995 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 13:01:49.066 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.995007563\n# Parse_time: 0.000113151\n# Compile_time: 0.000429903\n# Rewrite_time: 0.000103784\n# Optimize_time: 0.00024467\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5NC4ybXMsIG9wZW46NzI2bnMsIGNsb3NlOjk1N25zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk5NC4ybXMsIG9wZW46NzI2bnMsIGNsb3NlOjk1N25zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\nIMPORT INTO `import_into`.`t` (`b`,`c`,`d`) FROM 'gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1;"] [2025/04/04 13:01:49.080 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:388, Type:drop table, State:queueing, SchemaState:public, SchemaID:342, TableID:386, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:49.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:01:49.080 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:388, Type:drop table, State:queueing, SchemaState:public, SchemaID:342, TableID:386, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:49.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/04 13:01:49.085 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=388] [conn=2] [job="ID:388, Type:drop table, State:queueing, SchemaState:public, SchemaID:342, TableID:386, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:49.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:49.101 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=304] [neededSchemaVersion=305] ["elapsed time"=2.503466ms] [gotSchemaVersion=305] [phyTblIDs="[386]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 13:01:49.104 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=388] [version=305] [2025/04/04 13:01:49.106 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=305] ["take time"=9.523664ms] [job="ID:388, Type:drop table, State:running, SchemaState:write only, SchemaID:342, TableID:386, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:49.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:49.168 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=388] [conn=2] [job="ID:388, Type:drop table, State:running, SchemaState:write only, SchemaID:342, TableID:386, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:49.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:49.186 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=305] [neededSchemaVersion=306] ["elapsed time"=2.267732ms] [gotSchemaVersion=306] [phyTblIDs="[386]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 13:01:49.189 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=388] [version=306] [2025/04/04 13:01:49.191 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=306] ["take time"=9.459444ms] [job="ID:388, Type:drop table, State:running, SchemaState:delete only, SchemaID:342, TableID:386, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:49.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:49.200 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=388] [conn=2] [job="ID:388, Type:drop table, State:running, SchemaState:delete only, SchemaID:342, TableID:386, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:49.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:49.207 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 386, Old Table Name: t)"] [2025/04/04 13:01:49.221 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=306] [neededSchemaVersion=307] ["elapsed time"=1.140395ms] [gotSchemaVersion=307] [phyTblIDs="[386]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 13:01:49.225 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=388] [version=307] [2025/04/04 13:01:49.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=307] ["take time"=8.50101ms] [job="ID:388, Type:drop table, State:done, SchemaState:none, SchemaID:342, TableID:386, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:49.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:49.236 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=388] [tableIDs="[386]"] [comment="drop table: table ID"] [2025/04/04 13:01:49.241 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=388] [jobType="drop table"] [2025/04/04 13:01:49.242 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=388] [conn=2] [job="ID:388, Type:drop table, State:synced, SchemaState:none, SchemaID:342, TableID:386, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:49.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:49.260 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=388] [2025/04/04 13:01:49.261 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=307] [cur_db=import_into] [sql="drop table if exists t;"] [user=] [2025/04/04 13:01:49.274 +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:342, TableID:389, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:49.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:01:49.274 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:395, Type:create table, State:queueing, SchemaState:none, SchemaID:342, TableID:389, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:49.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100), c int) partition by hash(a) partitions 5;"] [2025/04/04 13:01:49.280 +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:342, TableID:389, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:49.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:49.285 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 389, Table Name: t)"] [2025/04/04 13:01:49.302 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=307] [neededSchemaVersion=308] ["elapsed time"=2.009318ms] [gotSchemaVersion=308] [phyTblIDs="[389,390,391,392,393,394]"] [actionTypes="[3,3,3,3,3,3]"] [diffTypes="[\"create table\"]"] [2025/04/04 13:01:49.305 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=395] [version=308] [2025/04/04 13:01:49.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=308] ["take time"=8.991699ms] [job="ID:395, Type:create table, State:done, SchemaState:public, SchemaID:342, TableID:389, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:49.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:49.318 +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:342, TableID:389, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:49.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:49.330 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=395] [2025/04/04 13:01:49.331 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=308] [cur_db=import_into] [sql="create table t (a bigint, b varchar(100), c int) partition by hash(a) partitions 5;"] [user=] [2025/04/04 13:01:49.337 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:01:49.385 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"columns-and-vars\":\"(`c`, `b`, `a`)\",\"file-location\":\"gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/04 13:01:49.406 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30014] [task-id=30014] [data-size=63B] [thread-cnt=1] [global-sort=false] [2025/04/04 13:01:49.421 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30014] [2025/04/04 13:01:49.421 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=30014] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/04 13:01:49.524 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30014] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 13:01:49.526 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30014] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:01:49.527 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30014] [curr-step=init] [next-step=import] [2025/04/04 13:01:49.535 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:01:49.538 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 13:01:49.538 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=63] [2025/04/04 13:01:49.538 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=63] [cost=85.97µs] [2025/04/04 13:01:49.538 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=188.128µs] [] [2025/04/04 13:01:49.538 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30014] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 13:01:49.538 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30014] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/04 13:01:49.577 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30014] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 13:01:49.598 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30014] [step=import] [2025/04/04 13:01:49.598 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:01:49.606 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 13:01:49.606 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 13:01:49.607 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 13:01:49.607 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 13:01:49.607 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 13:01:49.607 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 13:01:49.607 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 13:01:49.607 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 13:01:49.608 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 13:01:49.608 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 13:01:49.620 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 13:01:49.622 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 13:01:49.622 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 13:01:49.622 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=30014] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 13:01:49.622 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=30014] [disk-quota=348.5GiB] [2025/04/04 13:01:49.622 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30014] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/04 13:01:49.629 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30014] [task-type=ImportInto] [server-id=:4000] [subtaskID=30026] [step=import] [2025/04/04 13:01:49.629 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30014] [step=import] [subtask-id=30026] [2025/04/04 13:01:49.630 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=30014] [mode=Import] [2025/04/04 13:01:49.633 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 13:01:49.637 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 13:01:49.637 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=389] [2025/04/04 13:01:49.648 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=30014] [2025/04/04 13:01:49.675 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=389] [key=db.tbl.001.csv:0] [2025/04/04 13:01:49.677 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=389] [key=db.tbl.001.csv:0] [readDur=1.061083ms] [encodeDur=442.547µs] [checksum="{cksum=7290730553490470711,size=82,kvs=2}"] [deliverDur=262.85µs] [type=file] [takeTime=2.073232ms] [] [2025/04/04 13:01:49.678 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=389] [2025/04/04 13:01:49.678 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=82] [kvs=2] [files=1] [sstFileSize=994] [file=/tmp/tidb/import-4000/30014/ab3834ca-0a02-50c6-81ad-d45c1915b7bb.sst/a495a209-da52-4d5b-82a7-67aaf14359c8.sst] [firstKey=7480000000000001875F728000000000000001] [lastKey=7480000000000001885F728000000000000002] [2025/04/04 13:01:49.702 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=389] [key=db.tbl.002.csv:0] [2025/04/04 13:01:49.703 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=389] [key=db.tbl.002.csv:0] [readDur=1.080451ms] [encodeDur=403.435µs] [checksum="{cksum=5229938688649026870,size=82,kvs=2}"] [deliverDur=27.985µs] [type=file] [takeTime=1.822005ms] [] [2025/04/04 13:01:49.704 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=389] [2025/04/04 13:01:49.704 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=82] [kvs=2] [files=1] [sstFileSize=994] [file=/tmp/tidb/import-4000/30014/ab3834ca-0a02-50c6-81ad-d45c1915b7bb.sst/b8283fe2-af5a-41be-a37d-b56b9f63150e.sst] [firstKey=7480000000000001895F728000000000000008] [lastKey=74800000000000018A5F728000000000000009] [2025/04/04 13:01:49.749 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=389] [key=db.tbl.003.csv:0] [2025/04/04 13:01:49.751 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=389] [key=db.tbl.003.csv:0] [readDur=894.024µs] [encodeDur=388.541µs] [checksum="{cksum=11041058475576731475,size=82,kvs=2}"] [deliverDur=42.868µs] [type=file] [takeTime=1.621212ms] [] [2025/04/04 13:01:49.752 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=82] [kvs=2] [files=1] [sstFileSize=994] [file=/tmp/tidb/import-4000/30014/ab3834ca-0a02-50c6-81ad-d45c1915b7bb.sst/7c2f1354-054d-4877-a026-0344b44d5d3d.sst] [firstKey=7480000000000001865F72800000000000000F] [lastKey=7480000000000001875F728000000000000010] [2025/04/04 13:01:49.752 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=30014] [step=import] [engine-id=0] [2025/04/04 13:01:49.752 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=30014] [step=import] [engine-id=0] [2025/04/04 13:01:49.752 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 13:01:49.755 +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.525967ms] [] [2025/04/04 13:01:49.755 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [2025/04/04 13:01:49.759 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 13:01:49.781 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] ["region ranges"=1] [count=6] [size=246] [2025/04/04 13:01:49.781 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 13:01:49.783 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001865f72800000000000000f] [endOfAllRanges=74800000000000018a5f72800000000000000a] [startKeyOfFirstRegion=7480000000000001ff865f728000000000ff00000f0000000000fa] [endKeyOfLastRegion=7480000000000001ff8a5f728000000000ff00000a0000000000fa] [2025/04/04 13:01:49.795 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [size=246] [kvs=6] [importedSize=246] [importedCount=6] [2025/04/04 13:01:49.796 +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.719166ms] [] [2025/04/04 13:01:49.796 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 13:01:49.798 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.197173ms] [] [2025/04/04 13:01:49.798 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=30014] [step=import] [engine-id=0] [2025/04/04 13:01:49.798 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 13:01:49.799 +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.640698ms] [] [2025/04/04 13:01:49.800 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [2025/04/04 13:01:49.803 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 13:01:49.803 +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.69712ms] [] [2025/04/04 13:01:49.803 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 13:01:49.804 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=845.089µs] [] [2025/04/04 13:01:49.804 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=30014] [step=import] [subtask-id=30026] [takeTime=174.856146ms] [] [2025/04/04 13:01:49.804 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30014] [task-type=ImportInto] [server-id=:4000] [subtaskID=30026] [step=import] [takeTime=175.003942ms] [] [2025/04/04 13:01:49.829 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30014] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 13:01:49.830 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30014] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:01:49.832 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30014] [curr-step=import] [next-step=post-process] [2025/04/04 13:01:49.832 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=30014] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 13:01:49.861 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=30014] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":6}"] [2025/04/04 13:01:49.863 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30014] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 13:01:49.863 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30014] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/04 13:01:49.887 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=30014] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 13:01:49.894 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30014] [step=import] [2025/04/04 13:01:49.897 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 13:01:49.897 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 13:01:49.897 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 13:01:49.897 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 13:01:49.897 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 13:01:49.897 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 13:01:49.897 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 13:01:49.897 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-15] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:01:49.897 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:01:49.897 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:01:49.897 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:01:49.897 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 13:01:49.899 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 13:01:49.899 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:01:49.899 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:01:49.899 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:01:49.899 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30014] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=277.189958ms] [] [2025/04/04 13:01:49.901 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30014] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/04 13:01:49.908 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30014] [task-type=ImportInto] [server-id=:4000] [subtaskID=30027] [step=post-process] [2025/04/04 13:01:49.908 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=30014] [step=post-process] [subtask-id=30027] [2025/04/04 13:01:49.908 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=30014] [step=post-process] [subtask-id=30027] [2025/04/04 13:01:49.908 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=30014] [step=post-process] [subtask-id=30027] [2025/04/04 13:01:49.913 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=30014] [step=post-process] [subtask-id=30027] [takeTime=5.397687ms] [] [2025/04/04 13:01:49.913 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=30014] [step=post-process] [subtask-id=30027] [groupId=-1] [size=246] [kvs=6] [checksum=13006432450665811282] [2025/04/04 13:01:49.914 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=30014] [step=post-process] [subtask-id=30027] [checksum="{cksum=13006432450665811282,size=246,kvs=6}"] [2025/04/04 13:01:49.914 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=30014] [step=post-process] [subtask-id=30027] [weight=30] [2025/04/04 13:01:49.914 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=30014] [step=post-process] [subtask-id=30027] [concurrency=15] [2025/04/04 13:01:49.915 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=389] [physicalTableID=389] [indexID=-1] [checksum=0] [totalKvs=0] [totalBytes=0] [2025/04/04 13:01:49.916 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=389] [physicalTableID=391] [indexID=-1] [checksum=11108301263936872822] [totalKvs=2] [totalBytes=82] [2025/04/04 13:01:49.916 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=389] [physicalTableID=392] [indexID=-1] [checksum=4006576523268399121] [totalKvs=1] [totalBytes=41] [2025/04/04 13:01:49.916 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=389] [physicalTableID=390] [indexID=-1] [checksum=5883669084152533251] [totalKvs=1] [totalBytes=41] [2025/04/04 13:01:49.916 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=389] [physicalTableID=393] [indexID=-1] [checksum=931023043603172568] [totalKvs=1] [totalBytes=41] [2025/04/04 13:01:49.916 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=389] [physicalTableID=394] [indexID=-1] [checksum=4935893520362033646] [totalKvs=1] [totalBytes=41] [2025/04/04 13:01:49.917 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 13:01:49.917 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=30014] [step=post-process] [subtask-id=30027] [local="{cksum=13006432450665811282,size=246,kvs=6}"] [2025/04/04 13:01:49.917 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=30014] [step=post-process] [subtask-id=30027] [takeTime=8.878612ms] [] [2025/04/04 13:01:49.917 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=30014] [step=post-process] [subtask-id=30027] [takeTime=9.019117ms] [] [2025/04/04 13:01:49.917 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30014] [task-type=ImportInto] [server-id=:4000] [subtaskID=30027] [step=post-process] [takeTime=9.170042ms] [] [2025/04/04 13:01:49.925 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 13:01:49.928 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30014] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 13:01:49.928 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30014] [step=post-process] [state=running] [] [2025/04/04 13:01:49.931 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=30014] [2025/04/04 13:01:49.963 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30014] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=62.168ms] [] [2025/04/04 13:01:49.963 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30014] [type=ImportInto] [2025/04/04 13:01:50.022 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.690894453\n# Parse_time: 0.00011402\n# Compile_time: 0.00039493\n# Rewrite_time: 0.000080777\n# Optimize_time: 0.000346641\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('SvBJMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY5MC4xbXMsIG9wZW46NjIwbnMsIGNsb3NlOjEuMDfCtXMsIGxvb3BzOjIJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('ZfBSCmEKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWjB0aW1lOjY5MC4xbXMsIG9wZW46NjIwbnMsIGNsb3NlOjEuMDfCtXMsIGxvb3BzOjJw//////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;"] [2025/04/04 13:01:50.023 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30014] [2025/04/04 13:01:50.029 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 13:01:50.029 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30014] [2025/04/04 13:01:50.038 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:396, Type:drop table, State:queueing, SchemaState:public, SchemaID:342, TableID:389, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:49.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/04 13:01:50.038 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:396, Type:drop table, State:queueing, SchemaState:public, SchemaID:342, TableID:389, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:49.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:01:50.044 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=396] [conn=2] [job="ID:396, Type:drop table, State:queueing, SchemaState:public, SchemaID:342, TableID:389, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:49.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:50.053 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 13:01:50.062 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=308] [neededSchemaVersion=309] ["elapsed time"=2.757001ms] [gotSchemaVersion=309] [phyTblIDs="[389,390,391,392,393,394]"] [actionTypes="[4,4,4,4,4,4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 13:01:50.065 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=396] [version=309] [2025/04/04 13:01:50.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=309] ["take time"=10.078672ms] [job="ID:396, Type:drop table, State:running, SchemaState:write only, SchemaID:342, TableID:389, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:49.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:50.077 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=396] [conn=2] [job="ID:396, Type:drop table, State:running, SchemaState:write only, SchemaID:342, TableID:389, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:49.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:50.094 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=309] [neededSchemaVersion=310] ["elapsed time"=2.719435ms] [gotSchemaVersion=310] [phyTblIDs="[389,390,391,392,393,394]"] [actionTypes="[4,4,4,4,4,4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 13:01:50.098 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=396] [version=310] [2025/04/04 13:01:50.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=310] ["take time"=10.492872ms] [job="ID:396, Type:drop table, State:running, SchemaState:delete only, SchemaID:342, TableID:389, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:49.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:50.108 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=396] [conn=2] [job="ID:396, Type:drop table, State:running, SchemaState:delete only, SchemaID:342, TableID:389, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:49.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:50.115 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 389, Old Table Name: t)"] [2025/04/04 13:01:50.129 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=310] [neededSchemaVersion=311] ["elapsed time"=1.180404ms] [gotSchemaVersion=311] [phyTblIDs="[389,390,391,392,393,394]"] [actionTypes="[4,4,4,4,4,4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 13:01:50.133 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=396] [version=311] [2025/04/04 13:01:50.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=311] ["take time"=8.701803ms] [job="ID:396, Type:drop table, State:done, SchemaState:none, SchemaID:342, TableID:389, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:49.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:50.146 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=396] [tableIDs="[390,391,392,393,394]"] [comment="drop table: partition table IDs"] [2025/04/04 13:01:50.152 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=396] [tableIDs="[389]"] [comment="drop table: table ID"] [2025/04/04 13:01:50.156 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=396] [jobType="drop table"] [2025/04/04 13:01:50.157 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=396] [conn=2] [job="ID:396, Type:drop table, State:synced, SchemaState:none, SchemaID:342, TableID:389, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:49.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:50.175 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=396] [2025/04/04 13:01:50.175 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=311] [cur_db=import_into] [sql="drop table if exists t;"] [user=] [2025/04/04 13:01:50.189 +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:342, TableID:397, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:50.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:01:50.189 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:403, Type:create table, State:queueing, SchemaState:none, SchemaID:342, TableID:397, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:50.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100), c int, index idx(c) global) partition by hash(a) partitions 5;"] [2025/04/04 13:01:50.195 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=403] [conn=2] [job="ID:403, Type:create table, State:queueing, SchemaState:none, SchemaID:342, TableID:397, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:50.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:50.201 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 397, Table Name: t)"] [2025/04/04 13:01:50.219 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=311] [neededSchemaVersion=312] ["elapsed time"=2.120264ms] [gotSchemaVersion=312] [phyTblIDs="[397,398,399,400,401,402]"] [actionTypes="[3,3,3,3,3,3]"] [diffTypes="[\"create table\"]"] [2025/04/04 13:01:50.222 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=403] [version=312] [2025/04/04 13:01:50.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=312] ["take time"=9.264717ms] [job="ID:403, Type:create table, State:done, SchemaState:public, SchemaID:342, TableID:397, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:50.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:50.235 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=403] [conn=2] [job="ID:403, Type:create table, State:synced, SchemaState:public, SchemaID:342, TableID:397, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:50.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:50.247 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=403] [2025/04/04 13:01:50.248 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=312] [cur_db=import_into] [sql="create table t (a bigint, b varchar(100), c int, index idx(c) global) partition by hash(a) partitions 5;"] [user=] [2025/04/04 13:01:50.254 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:01:50.307 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"columns-and-vars\":\"(`c`, `b`, `a`)\",\"file-location\":\"gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/04 13:01:50.329 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30015] [task-id=30015] [data-size=63B] [thread-cnt=1] [global-sort=false] [2025/04/04 13:01:50.344 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30015] [2025/04/04 13:01:50.344 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=30015] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/04 13:01:50.446 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30015] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 13:01:50.448 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30015] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:01:50.450 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30015] [curr-step=init] [next-step=import] [2025/04/04 13:01:50.458 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:01:50.461 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 13:01:50.461 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=63] [2025/04/04 13:01:50.461 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=63] [cost=103.727µs] [2025/04/04 13:01:50.461 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=253.734µs] [] [2025/04/04 13:01:50.461 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30015] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 13:01:50.461 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30015] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/04 13:01:50.497 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30015] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 13:01:50.518 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30015] [step=import] [2025/04/04 13:01:50.518 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:01:50.526 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 13:01:50.526 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 13:01:50.527 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 13:01:50.527 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 13:01:50.527 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 13:01:50.527 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 13:01:50.527 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 13:01:50.527 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 13:01:50.528 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 13:01:50.528 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 13:01:50.541 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 13:01:50.542 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 13:01:50.542 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 13:01:50.542 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=30015] [step=import] [data-buf-limit=236.3MiB] [per-index-buf-limit=78.77MiB] [index-buf-block-size=16MiB] [2025/04/04 13:01:50.542 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=30015] [disk-quota=348.5GiB] [2025/04/04 13:01:50.542 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30015] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/04 13:01:50.554 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30015] [task-type=ImportInto] [server-id=:4000] [subtaskID=30028] [step=import] [2025/04/04 13:01:50.554 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30015] [step=import] [subtask-id=30028] [2025/04/04 13:01:50.554 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=30015] [mode=Import] [2025/04/04 13:01:50.558 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 13:01:50.562 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 13:01:50.563 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=397] [2025/04/04 13:01:50.579 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=30015] [2025/04/04 13:01:50.617 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=397] [key=db.tbl.001.csv:0] [2025/04/04 13:01:50.619 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=397] [key=db.tbl.001.csv:0] [readDur=937.967µs] [encodeDur=376.915µs] [checksum="{cksum=27420691314174369,size=176,kvs=4}"] [deliverDur=40.202µs] [type=file] [takeTime=1.683846ms] [] [2025/04/04 13:01:50.621 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=397] [2025/04/04 13:01:50.621 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=82] [kvs=2] [files=1] [sstFileSize=994] [file=/tmp/tidb/import-4000/30015/ab3834ca-0a02-50c6-81ad-d45c1915b7bb.sst/14bc1c21-f5c3-4770-b53c-63d531808766.sst] [firstKey=74800000000000018F5F728000000000000001] [lastKey=7480000000000001905F728000000000000002] [2025/04/04 13:01:50.632 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 13:01:50.649 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=397] [key=db.tbl.002.csv:0] [2025/04/04 13:01:50.651 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=397] [key=db.tbl.002.csv:0] [readDur=955.351µs] [encodeDur=613.063µs] [checksum="{cksum=3047283476191333353,size=176,kvs=4}"] [deliverDur=20.418µs] [type=file] [takeTime=1.882592ms] [] [2025/04/04 13:01:50.652 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=397] [2025/04/04 13:01:50.652 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=82] [kvs=2] [files=1] [sstFileSize=994] [file=/tmp/tidb/import-4000/30015/ab3834ca-0a02-50c6-81ad-d45c1915b7bb.sst/f1013be0-5f1a-4d88-bf69-2abd508b97a2.sst] [firstKey=7480000000000001915F728000000000000008] [lastKey=7480000000000001925F728000000000000009] [2025/04/04 13:01:50.676 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=397] [key=db.tbl.003.csv:0] [2025/04/04 13:01:50.677 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=397] [key=db.tbl.003.csv:0] [readDur=1.048743ms] [encodeDur=380.957µs] [checksum="{cksum=7701721142981934355,size=176,kvs=4}"] [deliverDur=39.224µs] [type=file] [takeTime=1.757394ms] [] [2025/04/04 13:01:50.679 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=82] [kvs=2] [files=1] [sstFileSize=994] [file=/tmp/tidb/import-4000/30015/ab3834ca-0a02-50c6-81ad-d45c1915b7bb.sst/eca5ef8d-4982-45af-bcf3-599ffaaafd0d.sst] [firstKey=74800000000000018E5F72800000000000000F] [lastKey=74800000000000018F5F728000000000000010] [2025/04/04 13:01:50.679 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=30015] [step=import] [engine-id=0] [2025/04/04 13:01:50.679 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=30015] [step=import] [engine-id=0] [2025/04/04 13:01:50.679 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 13:01:50.682 +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.777736ms] [] [2025/04/04 13:01:50.682 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [2025/04/04 13:01:50.687 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 13:01:50.708 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] ["region ranges"=1] [count=6] [size=246] [2025/04/04 13:01:50.709 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 13:01:50.711 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000018e5f72800000000000000f] [endOfAllRanges=7480000000000001925f72800000000000000a] [startKeyOfFirstRegion=7480000000000001ff8e5f728000000000ff00000f0000000000fa] [endKeyOfLastRegion=7480000000000001ff925f728000000000ff00000a0000000000fa] [2025/04/04 13:01:50.723 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [size=246] [kvs=6] [importedSize=246] [importedCount=6] [2025/04/04 13:01:50.725 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [takeTime=42.880741ms] [] [2025/04/04 13:01:50.725 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 13:01:50.726 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.200138ms] [] [2025/04/04 13:01:50.726 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=30015] [step=import] [engine-id=0] [2025/04/04 13:01:50.726 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 13:01:50.728 +00:00] [INFO] [engine.go:1695] ["compact sst"] [category=ddl-ingest] [fileCount=3] [size=282] [count=6] [cost=1.269918ms] [file=/tmp/tidb/import-4000/30015/2d9462f7-8d8a-52db-8655-8d0214d0d974.sst/88ee002d-ba52-42fd-8f9f-c20a7c07e64f.sst] [2025/04/04 13:01:50.728 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=282] [kvs=6] [files=1] [sstFileSize=1067] [file=/tmp/tidb/import-4000/30015/2d9462f7-8d8a-52db-8655-8d0214d0d974.sst/88ee002d-ba52-42fd-8f9f-c20a7c07e64f.sst] [firstKey=74800000000000018D5F698000000000000001038000000000000001038000000000000001] [lastKey=74800000000000018D5F698000000000000001038000000000000006038000000000000010] [2025/04/04 13:01:50.730 +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.601751ms] [] [2025/04/04 13:01:50.730 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [2025/04/04 13:01:50.734 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 13:01:50.756 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=2d9462f7-8d8a-52db-8655-8d0214d0d974] ["region ranges"=1] [count=6] [size=282] [2025/04/04 13:01:50.756 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 13:01:50.757 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000018d5f698000000000000001038000000000000001038000000000000001] [endOfAllRanges=74800000000000018d5f69800000000000000103800000000000000603800000000000001000] [startKeyOfFirstRegion=7480000000000001ff8d5f698000000000ff0000010380000000ff0000000103800000ff0000000001000000fc] [endKeyOfLastRegion=7480000000000001ff8d5f698000000000ff0000010380000000ff0000000603800000ff0000000010000000fd] [2025/04/04 13:01:50.768 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=2d9462f7-8d8a-52db-8655-8d0214d0d974] [size=282] [kvs=6] [importedSize=282] [importedCount=6] [2025/04/04 13:01:50.770 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [takeTime=39.463724ms] [] [2025/04/04 13:01:50.770 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 13:01:50.771 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=1.021189ms] [] [2025/04/04 13:01:50.771 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=30015] [step=import] [subtask-id=30028] [takeTime=217.050146ms] [] [2025/04/04 13:01:50.771 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30015] [task-type=ImportInto] [server-id=:4000] [subtaskID=30028] [step=import] [takeTime=217.264339ms] [] [2025/04/04 13:01:50.852 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30015] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 13:01:50.853 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30015] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:01:50.855 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30015] [curr-step=import] [next-step=post-process] [2025/04/04 13:01:50.855 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=30015] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 13:01:50.885 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=30015] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":6}"] [2025/04/04 13:01:50.887 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30015] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 13:01:50.887 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30015] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/04 13:01:50.914 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=30015] [task-type=ImportInto] [server-id=:4000] [2025/04/04 13:01:50.914 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30015] [step=import] [2025/04/04 13:01:50.918 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 13:01:50.918 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 13:01:50.918 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 13:01:50.918 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 13:01:50.919 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 13:01:50.919 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 13:01:50.919 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 13:01:50.919 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:01:50.919 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:01:50.919 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:01:50.919 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-16] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:01:50.919 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 13:01:50.921 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 13:01:50.921 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:01:50.921 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:01:50.921 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:01:50.921 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30015] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=378.945671ms] [] [2025/04/04 13:01:50.921 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30015] [type=ImportInto] [2025/04/04 13:01:50.926 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30015] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 13:01:50.946 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30015] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/04 13:01:50.954 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30015] [task-type=ImportInto] [server-id=:4000] [subtaskID=30029] [step=post-process] [2025/04/04 13:01:50.954 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=30015] [step=post-process] [subtask-id=30029] [2025/04/04 13:01:50.954 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=30015] [step=post-process] [subtask-id=30029] [2025/04/04 13:01:50.954 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=30015] [step=post-process] [subtask-id=30029] [2025/04/04 13:01:50.959 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=30015] [step=post-process] [subtask-id=30029] [takeTime=5.410841ms] [] [2025/04/04 13:01:50.959 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=30015] [step=post-process] [subtask-id=30029] [groupId=-1] [size=246] [kvs=6] [checksum=15435699723023344983] [2025/04/04 13:01:50.959 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=30015] [step=post-process] [subtask-id=30029] [groupId=1] [size=282] [kvs=6] [checksum=10880652011295013388] [2025/04/04 13:01:50.959 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=30015] [step=post-process] [subtask-id=30029] [checksum="{cksum=4668341958182575963,size=528,kvs=12}"] [2025/04/04 13:01:50.959 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=30015] [step=post-process] [subtask-id=30029] [weight=30] [2025/04/04 13:01:50.959 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=30015] [step=post-process] [subtask-id=30029] [concurrency=15] [2025/04/04 13:01:50.965 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=397] [physicalTableID=397] [indexID=-1] [checksum=0] [totalKvs=0] [totalBytes=0] [2025/04/04 13:01:50.965 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=397] [physicalTableID=398] [indexID=-1] [checksum=12218817139627141699] [totalKvs=1] [totalBytes=41] [2025/04/04 13:01:50.965 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=397] [physicalTableID=398] [indexID=1] [checksum=0] [totalKvs=0] [totalBytes=0] [2025/04/04 13:01:50.966 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=397] [physicalTableID=399] [indexID=-1] [checksum=11108301263936872822] [totalKvs=2] [totalBytes=82] [2025/04/04 13:01:50.966 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=397] [physicalTableID=400] [indexID=-1] [checksum=12473720602031387476] [totalKvs=1] [totalBytes=41] [2025/04/04 13:01:50.966 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=397] [physicalTableID=399] [indexID=1] [checksum=0] [totalKvs=0] [totalBytes=0] [2025/04/04 13:01:50.966 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=397] [physicalTableID=400] [indexID=1] [checksum=0] [totalKvs=0] [totalBytes=0] [2025/04/04 13:01:50.967 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=397] [physicalTableID=401] [indexID=-1] [checksum=10838508800335667101] [totalKvs=1] [totalBytes=41] [2025/04/04 13:01:50.967 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=397] [physicalTableID=401] [indexID=1] [checksum=0] [totalKvs=0] [totalBytes=0] [2025/04/04 13:01:50.967 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=397] [physicalTableID=397] [indexID=1] [checksum=10880652011295013388] [totalKvs=6] [totalBytes=282] [2025/04/04 13:01:50.967 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=397] [physicalTableID=402] [indexID=-1] [checksum=16068394676961182379] [totalKvs=1] [totalBytes=41] [2025/04/04 13:01:50.967 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=397] [physicalTableID=402] [indexID=1] [checksum=0] [totalKvs=0] [totalBytes=0] [2025/04/04 13:01:50.968 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 13:01:50.968 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=30015] [step=post-process] [subtask-id=30029] [local="{cksum=4668341958182575963,size=528,kvs=12}"] [2025/04/04 13:01:50.968 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=30015] [step=post-process] [subtask-id=30029] [takeTime=13.897989ms] [] [2025/04/04 13:01:50.968 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=30015] [step=post-process] [subtask-id=30029] [takeTime=14.03531ms] [] [2025/04/04 13:01:50.968 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30015] [task-type=ImportInto] [server-id=:4000] [subtaskID=30029] [step=post-process] [takeTime=14.15684ms] [] [2025/04/04 13:01:50.980 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 13:01:51.052 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30015] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 13:01:51.052 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30015] [step=post-process] [state=running] [] [2025/04/04 13:01:51.055 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=30015] [2025/04/04 13:01:51.088 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30015] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=141.396179ms] [] [2025/04/04 13:01:51.088 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30015] [type=ImportInto] [2025/04/04 13:01:51.146 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30015] [2025/04/04 13:01:51.153 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 13:01:51.153 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30015] [2025/04/04 13:01:51.176 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 13:01:51.246 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.997875342\n# Parse_time: 0.000142121\n# Compile_time: 0.000436496\n# Rewrite_time: 0.000093387\n# Optimize_time: 0.00036739\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5Ni45bXMsIG9wZW46Nzc1bnMsIGNsb3NlOjg3MG5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk5Ni45bXMsIG9wZW46Nzc1bnMsIGNsb3NlOjg3MG5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\nIMPORT INTO `import_into`.`t` (`c`,`b`,`a`) FROM 'gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1;"] --- PASS: TestImportInto/TestBasicImportInto (16.86s) === NAME TestImportInto === RUN TestImportInto/TestCancelJob [2025/04/04 13:01:51.264 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:404, Type:drop schema, State:queueing, SchemaState:public, SchemaID:178, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:51.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:01:51.264 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:404, Type:drop schema, State:queueing, SchemaState:public, SchemaID:178, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:51.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop database if exists test_cancel_job"] [2025/04/04 13:01:51.269 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=404] [conn=2] [job="ID:404, Type:drop schema, State:queueing, SchemaState:public, SchemaID:178, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:51.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:51.286 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=312] [neededSchemaVersion=313] ["elapsed time"=229.816µs] [gotSchemaVersion=313] [phyTblIDs="[180,184]"] [actionTypes="[2,2]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 13:01:51.289 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=404] [version=313] [2025/04/04 13:01:51.292 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=313] ["take time"=8.246732ms] [job="ID:404, Type:drop schema, State:running, SchemaState:write only, SchemaID:178, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:51.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:51.303 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=404] [conn=2] [job="ID:404, Type:drop schema, State:running, SchemaState:write only, SchemaID:178, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:51.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:51.315 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=313] [neededSchemaVersion=314] ["elapsed time"=140.924µs] [gotSchemaVersion=314] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 13:01:51.319 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=404] [version=314] [2025/04/04 13:01:51.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=314] ["take time"=7.013254ms] [job="ID:404, Type:drop schema, State:running, SchemaState:delete only, SchemaID:178, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:51.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:51.328 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=404] [conn=2] [job="ID:404, Type:drop schema, State:running, SchemaState:delete only, SchemaID:178, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:51.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:51.333 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/04 13:01:51.343 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=314] [neededSchemaVersion=315] ["elapsed time"=135.515µs] [gotSchemaVersion=315] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 13:01:51.347 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=404] [version=315] [2025/04/04 13:01:51.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=315] ["take time"=6.948414ms] [job="ID:404, Type:drop schema, State:done, SchemaState:none, SchemaID:178, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:51.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:51.358 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=404] [tableIDs="[180,184]"] [comment="drop schema: table IDs"] [2025/04/04 13:01:51.363 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=404] [jobType="drop schema"] [2025/04/04 13:01:51.364 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=404] [conn=2] [job="ID:404, Type:drop schema, State:synced, SchemaState:none, SchemaID:178, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:51.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:51.381 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=404] [2025/04/04 13:01:51.381 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=315] [cur_db=import_into] [sql="drop database if exists test_cancel_job"] [user=] [2025/04/04 13:01:51.394 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:406, Type:create schema, State:queueing, SchemaState:none, SchemaID:405, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:51.343 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:01:51.394 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:406, Type:create schema, State:queueing, SchemaState:none, SchemaID:405, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:51.343 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database test_cancel_job"] [2025/04/04 13:01:51.398 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=406] [conn=2] [job="ID:406, Type:create schema, State:queueing, SchemaState:none, SchemaID:405, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:51.343 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:51.412 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=315] [neededSchemaVersion=316] ["elapsed time"=659.535µs] [gotSchemaVersion=316] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 13:01:51.415 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=406] [version=316] [2025/04/04 13:01: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=316] ["take time"=7.441038ms] [job="ID:406, Type:create schema, State:done, SchemaState:public, SchemaID:405, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:51.343 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:51.427 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=406] [conn=2] [job="ID:406, Type:create schema, State:synced, SchemaState:public, SchemaID:405, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:51.343 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:51.438 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=406] [2025/04/04 13:01:51.438 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=316] [cur_db=import_into] [sql="create database test_cancel_job"] [user=] [2025/04/04 13:01:51.451 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:408, Type:create table, State:queueing, SchemaState:none, SchemaID:405, TableID:407, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:51.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:01:51.451 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:408, Type:create table, State:queueing, SchemaState:none, SchemaID:405, TableID:407, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:51.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t1 (i INT PRIMARY KEY);"] [2025/04/04 13:01:51.456 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=408] [conn=2] [job="ID:408, Type:create table, State:queueing, SchemaState:none, SchemaID:405, TableID:407, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:51.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:51.461 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 407, Table Name: t1)"] [2025/04/04 13:01:51.474 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=316] [neededSchemaVersion=317] ["elapsed time"=1.42109ms] [gotSchemaVersion=317] [phyTblIDs="[407]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 13:01:51.478 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=408] [version=317] [2025/04/04 13:01:51.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=317] ["take time"=8.97633ms] [job="ID:408, Type:create table, State:done, SchemaState:public, SchemaID:405, TableID:407, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:51.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:51.491 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=408] [conn=2] [job="ID:408, Type:create table, State:synced, SchemaState:public, SchemaID:405, TableID:407, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:51.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:51.502 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=408] [2025/04/04 13:01:51.502 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=317] [cur_db=test_cancel_job] [sql="CREATE TABLE t1 (i INT PRIMARY KEY);"] [user=] [2025/04/04 13:01:51.514 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:410, Type:create table, State:queueing, SchemaState:none, SchemaID:405, TableID:409, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:51.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:01:51.514 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:410, Type:create table, State:queueing, SchemaState:none, SchemaID:405, TableID:409, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:51.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t2 (i INT PRIMARY KEY);"] [2025/04/04 13:01:51.519 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=410] [conn=2] [job="ID:410, Type:create table, State:queueing, SchemaState:none, SchemaID:405, TableID:409, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:51.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:51.523 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 409, Table Name: t2)"] [2025/04/04 13:01:51.537 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=317] [neededSchemaVersion=318] ["elapsed time"=1.544945ms] [gotSchemaVersion=318] [phyTblIDs="[409]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 13:01:51.541 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=410] [version=318] [2025/04/04 13:01:51.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=318] ["take time"=8.445301ms] [job="ID:410, Type:create table, State:done, SchemaState:public, SchemaID:405, TableID:409, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:51.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:51.553 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=410] [conn=2] [job="ID:410, Type:create table, State:synced, SchemaState:public, SchemaID:405, TableID:409, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:51.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:51.563 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=410] [2025/04/04 13:01:51.563 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=318] [cur_db=test_cancel_job] [sql="CREATE TABLE t2 (i INT PRIMARY KEY);"] [user=] [2025/04/04 13:01:51.635 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=318] [cur_db=test_cancel_job] [sql="DROP USER IF EXISTS 'test_cancel_job1'@'localhost';"] [user=] [2025/04/04 13:01:51.679 +00:00] [INFO] [session.go:4118] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=318] ["secure text"="create user test_cancel_job1@localhost"] [user=] [2025/04/04 13:01:51.727 +00:00] [INFO] [session.go:4118] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=318] ["secure text"="GRANT SELECT,UPDATE,INSERT,DELETE,ALTER on test_cancel_job.* to 'test_cancel_job1'@'localhost'"] [user=] [2025/04/04 13:01:51.791 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=318] [cur_db=test_cancel_job] [sql="DROP USER IF EXISTS 'test_cancel_job2'@'localhost';"] [user=] [2025/04/04 13:01:51.829 +00:00] [INFO] [session.go:4118] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=318] ["secure text"="create user test_cancel_job2@localhost"] [user=] [2025/04/04 13:01:51.876 +00:00] [INFO] [session.go:4118] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=318] ["secure text"="GRANT SELECT,UPDATE,INSERT,DELETE,ALTER on test_cancel_job.* to 'test_cancel_job2'@'localhost'"] [user=] [2025/04/04 13:01:51.878 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/04 13:01:51.879 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=318] [error="[executor:8170]Job ID 9999999999 doesn't exist"] [errorVerbose="[executor:8170]Job ID 9999999999 doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/executor/importer.GetJob\n\tpkg/executor/importer/job.go:151\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoActionExec).checkPrivilegeAndStatus.func1\n\tpkg/executor/import_into.go:375\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).WithNewSession\n\tpkg/disttask/framework/storage/task_table.go:169\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoActionExec).checkPrivilegeAndStatus\n\tpkg/executor/import_into.go:372\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoActionExec).Next\n\tpkg/executor/import_into.go:358\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:1022\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:855\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:618\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ntests/realtikvtest/importintotest/importintotest_test.(*mockGCSSuite).TestCancelJob\n\ttests/realtikvtest/importintotest/job_test.go:402\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [session="{\n \"currDBName\": \"test_cancel_job\",\n \"id\": 2,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2025/04/04 13:01:51.885 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:01:51.933 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test_cancel_job/t.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"detached\":null}}"] [dist-task-enabled=true] [2025/04/04 13:01:51.951 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30016] [task-id=30016] [data-size=3B] [thread-cnt=26] [global-sort=false] [2025/04/04 13:01:51.964 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30016] [2025/04/04 13:01:51.964 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=30016] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/04 13:01:52.066 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30016] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 13:01:52.067 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30016] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:01:52.068 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30016] [curr-step=init] [next-step=import] [2025/04/04 13:01:52.075 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:01:52.077 +00:00] [INFO] [import_into.go:362] ["import into action start"] [jobID=30016] [action="\"cancel\""] [2025/04/04 13:01:52.078 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t1] [2025/04/04 13:01:52.078 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t1] [before=536870912000] [after=3] [2025/04/04 13:01:52.078 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t1] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=3] [cost=49.659µs] [2025/04/04 13:01:52.078 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t1] [takeTime=160.049µs] [] [2025/04/04 13:01:52.078 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30016] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 13:01:52.078 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30016] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/04 13:01:52.166 +00:00] [INFO] [scheduler.go:152] ["task state/step changed by user or other scheduler"] [task-id=30016] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [old-state=running] [new-state=cancelling] [old-step=import] [new-step=init] [2025/04/04 13:01:52.168 +00:00] [INFO] [scheduler.go:269] ["on cancelling state"] [task-id=30016] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=cancelling] [step=init] [2025/04/04 13:01:52.271 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30016] [step=init] [state=reverting] [error="cancelled by user"] [errorVerbose="cancelled by user\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).onCancelling\n\tpkg/disttask/framework/scheduler/scheduler.go:272\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).scheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:199\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).ScheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:121\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*Manager).startScheduler.func1\n\tpkg/disttask/framework/scheduler/scheduler_manager.go:357\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:01:52.273 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=30016] [step=init] [mode=Normal] [2025/04/04 13:01:52.367 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30016] [2025/04/04 13:01:52.373 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 13:01:52.373 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30016] [2025/04/04 13:01:52.391 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 13:01:52.403 +00:00] [INFO] [import_into.go:365] ["import into action completed"] [jobID=30016] [action="\"cancel\""] [takeTime=325.988681ms] [] [2025/04/04 13:01:52.403 +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.32855314\n# Parse_time: 0.000044154\n# Compile_time: 0.000265455\n# Rewrite_time: 0.000002377\n# Optimize_time: 0.000758484\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 30016;"] [2025/04/04 13:01:52.921 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/04 13:01:52.921 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=318] [error="[executor:8171]The current job status cannot perform the operation. CANCEL"] [session="{\n \"currDBName\": \"test_cancel_job\",\n \"id\": 2,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": {\n \"Username\": \"test_cancel_job1\",\n \"Hostname\": \"localhost\",\n \"CurrentUser\": false,\n \"AuthUsername\": \"test_cancel_job1\",\n \"AuthHostname\": \"localhost\",\n \"AuthPlugin\": \"\"\n }\n}"] [2025/04/04 13:01:52.923 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/04 13:01:52.923 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=318] [error="[planner:1227]Access denied; you need (at least one of) the SUPER privilege(s) for this operation"] [errorVerbose="[planner:1227]Access denied; you need (at least one of) the SUPER privilege(s) for this operation\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/executor/importer.GetJob\n\tpkg/executor/importer/job.go:159\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoActionExec).checkPrivilegeAndStatus.func1\n\tpkg/executor/import_into.go:375\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).WithNewSession\n\tpkg/disttask/framework/storage/task_table.go:169\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoActionExec).checkPrivilegeAndStatus\n\tpkg/executor/import_into.go:372\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoActionExec).Next\n\tpkg/executor/import_into.go:358\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:1022\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:855\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:618\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ntests/realtikvtest/importintotest/importintotest_test.(*mockGCSSuite).TestCancelJob\n\ttests/realtikvtest/importintotest/job_test.go:450\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [session="{\n \"currDBName\": \"test_cancel_job\",\n \"id\": 2,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": {\n \"Username\": \"test_cancel_job2\",\n \"Hostname\": \"localhost\",\n \"CurrentUser\": false,\n \"AuthUsername\": \"test_cancel_job2\",\n \"AuthHostname\": \"localhost\",\n \"AuthPlugin\": \"\"\n }\n}"] [2025/04/04 13:01:52.926 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/04 13:01:52.926 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=318] [error="[executor:8171]The current job status cannot perform the operation. CANCEL"] [session="{\n \"currDBName\": \"test_cancel_job\",\n \"id\": 2,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": {\n \"Username\": \"root\",\n \"Hostname\": \"localhost\",\n \"CurrentUser\": false,\n \"AuthUsername\": \"root\",\n \"AuthHostname\": \"%\",\n \"AuthPlugin\": \"\"\n }\n}"] [2025/04/04 13:01:52.932 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:01:52.981 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test_cancel_job/t.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"detached\":null}}"] [dist-task-enabled=true] [2025/04/04 13:01:52.999 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30017] [task-id=30017] [data-size=3B] [thread-cnt=26] [global-sort=false] [2025/04/04 13:01:53.013 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30017] [2025/04/04 13:01:53.013 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=30017] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/04 13:01:53.115 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30017] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 13:01:53.116 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30017] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:01:53.117 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30017] [curr-step=init] [next-step=import] [2025/04/04 13:01:53.124 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:01:53.126 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t2] [2025/04/04 13:01:53.126 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t2] [before=536870912000] [after=3] [2025/04/04 13:01:53.126 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t2] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=3] [cost=55.201µs] [2025/04/04 13:01:53.126 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t2] [takeTime=192.58µs] [] [2025/04/04 13:01:53.127 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30017] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 13:01:53.127 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30017] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/04 13:01:53.156 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30017] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 13:01:53.177 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30017] [step=import] [2025/04/04 13:01:53.177 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:01:53.184 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 13:01:53.185 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 13:01:53.185 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 13:01:53.185 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 13:01:53.185 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 13:01:53.185 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 13:01:53.185 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 13:01:53.185 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 13:01:53.186 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 13:01:53.186 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 13:01:53.197 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 13:01:53.199 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 13:01:53.199 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t2] [quota=374.2GB] [2025/04/04 13:01:53.199 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=30017] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 13:01:53.199 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t2] [import-id=30017] [disk-quota=348.5GiB] [2025/04/04 13:01:53.199 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30017] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 13:01:53.206 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30017] [task-type=ImportInto] [server-id=:4000] [subtaskID=30030] [step=import] [2025/04/04 13:01:53.206 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30017] [step=import] [subtask-id=30030] [2025/04/04 13:01:53.210 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`test_cancel_job`.`t2`:0] [engineUUID=53400eb2-f75b-5777-a5ee-cfa50fd4a756] [2025/04/04 13:01:53.213 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`test_cancel_job`.`t2`:-1] [engineUUID=3b791ee0-18d2-5a77-83dc-792402f82bf3] [2025/04/04 13:01:53.213 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=409] [2025/04/04 13:01:53.222 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=30017] [mode=Import] [2025/04/04 13:01:53.237 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=409] [key=t.csv:0] [2025/04/04 13:01:53.238 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=409] [key=t.csv:0] [readDur=853.772µs] [encodeDur=230.307µs] [checksum="{cksum=7435750759411199284,size=50,kvs=2}"] [deliverDur=25.826µs] [type=file] [takeTime=1.426872ms] [] [2025/04/04 13:01:53.239 +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/30017/53400eb2-f75b-5777-a5ee-cfa50fd4a756.sst/5fac1b99-adbf-4480-814f-56c57be00136.sst] [firstKey=7480000000000001995F728000000000000001] [lastKey=7480000000000001995F728000000000000002] [2025/04/04 13:01:53.239 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=30017] [step=import] [engine-id=0] [2025/04/04 13:01:53.239 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=30017] [step=import] [engine-id=0] [2025/04/04 13:01:53.239 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`test_cancel_job`.`t2`:0] [engineUUID=53400eb2-f75b-5777-a5ee-cfa50fd4a756] [2025/04/04 13:01:53.242 +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.059554ms] [] [2025/04/04 13:01:53.242 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`test_cancel_job`.`t2`:0] [engineUUID=53400eb2-f75b-5777-a5ee-cfa50fd4a756] [retryCnt=0] [2025/04/04 13:01:53.244 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=30017] [2025/04/04 13:01:53.246 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 13:01:53.267 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=53400eb2-f75b-5777-a5ee-cfa50fd4a756] ["region ranges"=1] [count=2] [size=50] [2025/04/04 13:01:53.267 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 13:01:53.269 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001995f728000000000000001] [endOfAllRanges=7480000000000001995f728000000000000003] [startKeyOfFirstRegion=7480000000000001ff995f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff995f728000000000ff0000030000000000fa] [2025/04/04 13:01:53.282 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=53400eb2-f75b-5777-a5ee-cfa50fd4a756] [size=50] [kvs=2] [importedSize=50] [importedCount=2] [2025/04/04 13:01:53.284 +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=42.512415ms] [] [2025/04/04 13:01:53.284 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`test_cancel_job`.`t2`:0] [engineUUID=53400eb2-f75b-5777-a5ee-cfa50fd4a756] [2025/04/04 13:01:53.285 +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.178459ms] [] [2025/04/04 13:01:53.286 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=30017] [step=import] [engine-id=0] [2025/04/04 13:01:53.286 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`test_cancel_job`.`t2`:-1] [engineUUID=3b791ee0-18d2-5a77-83dc-792402f82bf3] [2025/04/04 13:01:53.287 +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.427304ms] [] [2025/04/04 13:01:53.287 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`test_cancel_job`.`t2`:-1] [engineUUID=3b791ee0-18d2-5a77-83dc-792402f82bf3] [retryCnt=0] [2025/04/04 13:01:53.291 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=3b791ee0-18d2-5a77-83dc-792402f82bf3] [2025/04/04 13:01:53.291 +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.516211ms] [] [2025/04/04 13:01:53.291 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`test_cancel_job`.`t2`:-1] [engineUUID=3b791ee0-18d2-5a77-83dc-792402f82bf3] [2025/04/04 13:01:53.292 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`test_cancel_job`.`t2`:-1] [engineUUID=3b791ee0-18d2-5a77-83dc-792402f82bf3] [takeTime=889.031µs] [] [2025/04/04 13:01:53.292 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=30017] [step=import] [subtask-id=30030] [takeTime=85.228589ms] [] [2025/04/04 13:01:53.292 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30017] [task-type=ImportInto] [server-id=:4000] [subtaskID=30030] [step=import] [takeTime=85.368567ms] [] [2025/04/04 13:01:53.320 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30017] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 13:01:53.321 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30017] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:01:53.322 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30017] [curr-step=import] [next-step=post-process] [2025/04/04 13:01:53.322 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=30017] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 13:01:53.351 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=30017] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/04 13:01:53.353 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30017] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 13:01:53.353 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30017] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=26] [subtasks=1] [2025/04/04 13:01:53.374 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=30017] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 13:01:53.380 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30017] [step=import] [2025/04/04 13:01:53.383 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 13:01:53.383 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 13:01:53.383 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 13:01:53.383 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 13:01:53.383 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 13:01:53.383 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 13:01:53.383 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 13:01:53.383 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:01:53.383 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-17] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:01:53.383 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:01:53.383 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:01:53.383 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 13:01:53.386 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 13:01:53.386 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:01:53.386 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:01:53.386 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:01:53.386 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30017] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=186.390817ms] [] [2025/04/04 13:01:53.387 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30017] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 13:01:53.395 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30017] [task-type=ImportInto] [server-id=:4000] [subtaskID=30031] [step=post-process] [2025/04/04 13:01:53.395 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=30017] [step=post-process] [subtask-id=30031] [2025/04/04 13:01:53.398 +00:00] [INFO] [import_into.go:362] ["import into action start"] [jobID=30017] [action="\"cancel\""] [2025/04/04 13:01:53.415 +00:00] [INFO] [scheduler.go:152] ["task state/step changed by user or other scheduler"] [task-id=30017] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [old-state=running] [new-state=cancelling] [old-step=post-process] [new-step=post-process] [2025/04/04 13:01:53.417 +00:00] [INFO] [scheduler.go:269] ["on cancelling state"] [task-id=30017] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=cancelling] [step=post-process] [2025/04/04 13:01:53.429 +00:00] [INFO] [manager.go:235] [onCanceledTasks] [server-id=:4000] [task-id=30017] [2025/04/04 13:01:53.520 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30017] [step=post-process] [state=reverting] [error="cancelled by user"] [errorVerbose="cancelled by user\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).onCancelling\n\tpkg/disttask/framework/scheduler/scheduler.go:272\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).scheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:199\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).ScheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:121\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*Manager).startScheduler.func1\n\tpkg/disttask/framework/scheduler/scheduler_manager.go:357\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:01:53.521 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=30017] [step=post-process] [mode=Normal] [2025/04/04 13:01:53.526 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=30017] [2025/04/04 13:01:53.616 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30017] [2025/04/04 13:01:53.622 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 13:01:53.622 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30017] [2025/04/04 13:01:53.641 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 13:01:53.719 +00:00] [INFO] [import_into.go:365] ["import into action completed"] [jobID=30017] [action="\"cancel\""] [takeTime=321.728303ms] [] [2025/04/04 13:01:53.720 +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.324533868\n# Parse_time: 0.000227386\n# Compile_time: 0.000244195\n# Rewrite_time: 0.000001656\n# Optimize_time: 0.002872243\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 30017;"] [2025/04/04 13:01:53.903 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=30017] [step=post-process] [subtask-id=30031] [2025/04/04 13:01:53.903 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=30017] [step=post-process] [subtask-id=30031] [2025/04/04 13:01:53.903 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=30017] [step=post-process] [subtask-id=30031] [takeTime=2.542µs] [] [2025/04/04 13:01:53.903 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=30017] [step=post-process] [subtask-id=30031] [groupId=-1] [size=50] [kvs=2] [checksum=7435750759411199284] [2025/04/04 13:01:53.903 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=30017] [step=post-process] [subtask-id=30031] [checksum="{cksum=7435750759411199284,size=50,kvs=2}"] [2025/04/04 13:01:53.903 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=30017] [step=post-process] [subtask-id=30031] [weight=30] [2025/04/04 13:01:53.903 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=30017] [step=post-process] [subtask-id=30031] [concurrency=15] [2025/04/04 13:01:53.903 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 13:01:53.904 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 13:01:53.904 +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/04 13:01:53.906 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=409] [physicalTableID=409] [indexID=-1] [checksum=7435750759411199284] [totalKvs=2] [totalBytes=50] [2025/04/04 13:01:53.907 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=30017] [step=post-process] [subtask-id=30031] [local="{cksum=7435750759411199284,size=50,kvs=2}"] [2025/04/04 13:01:53.907 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=30017] [step=post-process] [subtask-id=30031] [takeTime=3.768667ms] [] [2025/04/04 13:01:53.907 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=30017] [step=post-process] [subtask-id=30031] [takeTime=512.059874ms] [] [2025/04/04 13:01:53.907 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30017] [task-type=ImportInto] [server-id=:4000] [subtaskID=30031] [step=post-process] [takeTime=512.199386ms] [] [2025/04/04 13:01:53.909 +00:00] [WARN] [txn.go:692] ["wait tso failed"] [error="context canceled"] [errorVerbose="context canceled\ngithub.com/tikv/pd/client/clients/tso.(*Request).waitCtx\n\texternal/com_github_tikv_pd_client/clients/tso/request.go:86\ngithub.com/tikv/pd/client/clients/tso.(*Request).Wait\n\texternal/com_github_tikv_pd_client/clients/tso/request.go:73\ngithub.com/tikv/client-go/v2/util.interceptedTsFuture.Wait\n\texternal/com_github_tikv_client_go_v2/util/pd_interceptor.go:81\ngithub.com/tikv/client-go/v2/oracle/oracles.(*tsFuture).Wait\n\texternal/com_github_tikv_client_go_v2/oracle/oracles/pd.go:239\ngithub.com/pingcap/tidb/pkg/session.(*txnFuture).wait\n\tpkg/session/txn.go:684\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).changePendingToValid\n\tpkg/session/txn.go:293\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Wait\n\tpkg/session/txn.go:609\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*baseTxnContextProvider).ActivateTxn\n\tpkg/sessiontxn/isolation/base.go:299\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*baseTxnContextProvider).GetStmtForUpdateTS\n\tpkg/sessiontxn/isolation/base.go:201\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*OptimisticTxnContextProvider).GetStmtForUpdateTS\n\tpkg/sessiontxn/isolation/optimistic.go:119\ngithub.com/pingcap/tidb/pkg/session.(*txnManager).GetStmtForUpdateTS\n\tpkg/session/txnmanager.go:106\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).updateForUpdateTS\n\tpkg/executor/builder.go:2832\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).buildUpdate\n\tpkg/executor/builder.go:2735\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).build\n\tpkg/executor/builder.go:259\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).buildExecutor\n\tpkg/executor/adapter.go:1234\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:575\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/util/sqlexec.ExecSQL\n\tpkg/util/sqlexec/restricted_sql_executor.go:256\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).ExecuteSQLWithNewSession.func1\n\tpkg/disttask/framework/storage/task_table.go:205\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).WithNewSession\n\tpkg/disttask/framework/storage/task_table.go:169\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).ExecuteSQLWithNewSession\n\tpkg/disttask/framework/storage/task_table.go:204\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).FinishSubtask\n\tpkg/disttask/framework/storage/subtask_state.go:51\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).finishSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:681\ngithub.com/pingcap/tidb/pkg/disttask/framework/handle.RunWithRetry\n\tpkg/disttask/framework/handle/handle.go:224\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).finishSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:679\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:475\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700\ngithub.com/tikv/client-go/v2/oracle/oracles.(*tsFuture).Wait\n\texternal/com_github_tikv_client_go_v2/oracle/oracles/pd.go:242\ngithub.com/pingcap/tidb/pkg/session.(*txnFuture).wait\n\tpkg/session/txn.go:684\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).changePendingToValid\n\tpkg/session/txn.go:293\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Wait\n\tpkg/session/txn.go:609\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*baseTxnContextProvider).ActivateTxn\n\tpkg/sessiontxn/isolation/base.go:299\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*baseTxnContextProvider).GetStmtForUpdateTS\n\tpkg/sessiontxn/isolation/base.go:201\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*OptimisticTxnContextProvider).GetStmtForUpdateTS\n\tpkg/sessiontxn/isolation/optimistic.go:119\ngithub.com/pingcap/tidb/pkg/session.(*txnManager).GetStmtForUpdateTS\n\tpkg/session/txnmanager.go:106\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).updateForUpdateTS\n\tpkg/executor/builder.go:2832\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).buildUpdate\n\tpkg/executor/builder.go:2735\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).build\n\tpkg/executor/builder.go:259\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).buildExecutor\n\tpkg/executor/adapter.go:1234\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:575\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/util/sqlexec.ExecSQL\n\tpkg/util/sqlexec/restricted_sql_executor.go:256\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).ExecuteSQLWithNewSession.func1\n\tpkg/disttask/framework/storage/task_table.go:205\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).WithNewSession\n\tpkg/disttask/framework/storage/task_table.go:169\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).ExecuteSQLWithNewSession\n\tpkg/disttask/framework/storage/task_table.go:204\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).FinishSubtask\n\tpkg/disttask/framework/storage/subtask_state.go:51\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).finishSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:681\ngithub.com/pingcap/tidb/pkg/disttask/framework/handle.RunWithRetry\n\tpkg/disttask/framework/handle/handle.go:224\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).finishSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:679\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:475\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:01:53.911 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/04 13:01:53.911 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=318] [error="[127.0.0.1:20160](1) context canceled"] [errorVerbose="[127.0.0.1:20160](1) context canceled\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/store/driver/error.ToTiDBErr\n\tpkg/store/driver/error/error.go:208\ngithub.com/pingcap/tidb/pkg/store/driver/txn.extractKeyErr\n\tpkg/store/driver/txn/error.go:166\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvSnapshot).Get\n\tpkg/store/driver/txn/snapshot.go:61\ngithub.com/pingcap/tidb/pkg/executor.(*PointGetExecutor).get\n\tpkg/executor/point_get.go:698\ngithub.com/pingcap/tidb/pkg/executor.(*PointGetExecutor).getAndLock\n\tpkg/executor/point_get.go:572\ngithub.com/pingcap/tidb/pkg/executor.(*PointGetExecutor).Next\n\tpkg/executor/point_get.go:405\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*SelectionExec).Next\n\tpkg/executor/select.go:719\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*UpdateExec).updateRows\n\tpkg/executor/update.go:403\ngithub.com/pingcap/tidb/pkg/executor.(*UpdateExec).Next\n\tpkg/executor/update.go:356\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:1022\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:855\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:618\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/util/sqlexec.ExecSQL\n\tpkg/util/sqlexec/restricted_sql_executor.go:256\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).ExecuteSQLWithNewSession.func1\n\tpkg/disttask/framework/storage/task_table.go:205\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).WithNewSession\n\tpkg/disttask/framework/storage/task_table.go:169\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).ExecuteSQLWithNewSession\n\tpkg/disttask/framework/storage/task_table.go:204\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).FinishSubtask\n\tpkg/disttask/framework/storage/subtask_state.go:51\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).finishSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:681\ngithub.com/pingcap/tidb/pkg/disttask/framework/handle.RunWithRetry\n\tpkg/disttask/framework/handle/handle.go:224\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).finishSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:679\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:475\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343"] [session="{\n \"currDBName\": \"\",\n \"id\": 0,\n \"status\": 2,\n \"strictMode\": false,\n \"user\": null\n}"] [2025/04/04 13:01:53.911 +00:00] [WARN] [handle.go:229] ["met retryable error"] [task-id=30017] [task-type=ImportInto] [server-id=:4000] [retry-count=0] [max-retry=30] [error="[127.0.0.1:20160](1) context canceled"] [errorVerbose="[127.0.0.1:20160](1) context canceled\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/store/driver/error.ToTiDBErr\n\tpkg/store/driver/error/error.go:208\ngithub.com/pingcap/tidb/pkg/store/driver/txn.extractKeyErr\n\tpkg/store/driver/txn/error.go:166\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvSnapshot).Get\n\tpkg/store/driver/txn/snapshot.go:61\ngithub.com/pingcap/tidb/pkg/executor.(*PointGetExecutor).get\n\tpkg/executor/point_get.go:698\ngithub.com/pingcap/tidb/pkg/executor.(*PointGetExecutor).getAndLock\n\tpkg/executor/point_get.go:572\ngithub.com/pingcap/tidb/pkg/executor.(*PointGetExecutor).Next\n\tpkg/executor/point_get.go:405\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*SelectionExec).Next\n\tpkg/executor/select.go:719\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*UpdateExec).updateRows\n\tpkg/executor/update.go:403\ngithub.com/pingcap/tidb/pkg/executor.(*UpdateExec).Next\n\tpkg/executor/update.go:356\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:1022\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:855\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:618\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/util/sqlexec.ExecSQL\n\tpkg/util/sqlexec/restricted_sql_executor.go:256\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).ExecuteSQLWithNewSession.func1\n\tpkg/disttask/framework/storage/task_table.go:205\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).WithNewSession\n\tpkg/disttask/framework/storage/task_table.go:169\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).ExecuteSQLWithNewSession\n\tpkg/disttask/framework/storage/task_table.go:204\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).FinishSubtask\n\tpkg/disttask/framework/storage/subtask_state.go:51\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).finishSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:681\ngithub.com/pingcap/tidb/pkg/disttask/framework/handle.RunWithRetry\n\tpkg/disttask/framework/handle/handle.go:224\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).finishSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:679\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:475\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343"] [2025/04/04 13:01:53.912 +00:00] [ERROR] [task_executor.go:685] ["failed to finish subtask"] [task-id=30017] [task-type=ImportInto] [server-id=:4000] [subtaskID=30031] [takes=4.782835ms] [error="context canceled"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).finishSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:685\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:475\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/04 13:01:53.912 +00:00] [ERROR] [task_executor.go:344] ["run subtask failed"] [task-id=30017] [task-type=ImportInto] [server-id=:4000] [error="context canceled"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:344\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/04 13:01:53.924 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30017] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=537.561327ms] [] [2025/04/04 13:01:53.924 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30017] [type=ImportInto] [2025/04/04 13:01:54.759 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:412, Type:truncate table, State:queueing, SchemaState:none, SchemaID:405, TableID:409, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:54.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:01:54.759 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:412, Type:truncate table, State:queueing, SchemaState:none, SchemaID:405, TableID:409, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:54.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table t2"] [2025/04/04 13:01:54.764 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=412] [conn=2] [job="ID:412, Type:truncate table, State:queueing, SchemaState:none, SchemaID:405, TableID:409, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:54.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:54.771 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 411, Table Name: t2, Old Table ID: 409, Old Table Name: t2)"] [2025/04/04 13:01:54.786 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=318] [neededSchemaVersion=319] ["elapsed time"=1.319082ms] [gotSchemaVersion=319] [phyTblIDs="[409,411]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 13:01:54.789 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=412] [version=319] [2025/04/04 13:01:54.791 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=319] ["take time"=8.249871ms] [job="ID:412, Type:truncate table, State:done, SchemaState:public, SchemaID:405, TableID:409, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:54.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:54.801 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=412] [tableIDs="[409]"] [comment="truncate table: table ID"] [2025/04/04 13:01:54.805 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=412] [jobType="truncate table"] [2025/04/04 13:01:54.806 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=412] [conn=2] [job="ID:412, Type:truncate table, State:synced, SchemaState:public, SchemaID:405, TableID:409, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:54.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:54.823 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=412] [2025/04/04 13:01:54.823 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=319] [cur_db=test_cancel_job] [sql="truncate table t2"] [user=root@%] [2025/04/04 13:01:54.829 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:01:54.877 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test_cancel_job/t.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"detached\":null}}"] [dist-task-enabled=true] [2025/04/04 13:01:54.895 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30018] [task-id=30018] [data-size=3B] [thread-cnt=26] [global-sort=false] [2025/04/04 13:01:54.911 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30018] [2025/04/04 13:01:54.911 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=30018] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/04 13:01:55.013 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30018] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 13:01:55.013 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30018] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:01:55.014 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30018] [curr-step=init] [next-step=import] [2025/04/04 13:01:55.017 +00:00] [INFO] [import_into.go:362] ["import into action start"] [jobID=30018] [action="\"cancel\""] [2025/04/04 13:01:55.529 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:01:55.532 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t2] [2025/04/04 13:01:55.532 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t2] [before=536870912000] [after=3] [2025/04/04 13:01:55.532 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t2] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=3] [cost=45.237µs] [2025/04/04 13:01:55.532 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t2] [takeTime=134.873µs] [] [2025/04/04 13:01:55.532 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30018] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 13:01:55.532 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30018] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/04 13:01:55.547 +00:00] [INFO] [scheduler.go:152] ["task state/step changed by user or other scheduler"] [task-id=30018] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [old-state=running] [new-state=cancelling] [old-step=import] [new-step=init] [2025/04/04 13:01:55.549 +00:00] [INFO] [scheduler.go:269] ["on cancelling state"] [task-id=30018] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=cancelling] [step=init] [2025/04/04 13:01:55.618 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30018] [step=init] [state=reverting] [error="cancelled by user"] [errorVerbose="cancelled by user\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).onCancelling\n\tpkg/disttask/framework/scheduler/scheduler.go:272\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).scheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:199\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).ScheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:121\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*Manager).startScheduler.func1\n\tpkg/disttask/framework/scheduler/scheduler_manager.go:357\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:01:55.620 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=30018] [step=init] [mode=Normal] [2025/04/04 13:01:55.713 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30018] [2025/04/04 13:01:55.718 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 13:01:55.718 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30018] [2025/04/04 13:01:55.736 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 13:01:55.940 +00:00] [INFO] [import_into.go:365] ["import into action completed"] [jobID=30018] [action="\"cancel\""] [takeTime=922.85485ms] [] [2025/04/04 13:01: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.925413763\n# Parse_time: 0.000232647\n# Compile_time: 0.000266945\n# Rewrite_time: 0.000001693\n# Optimize_time: 0.000061337\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 30018;"] --- PASS: TestImportInto/TestCancelJob (4.70s) === NAME TestImportInto === RUN TestImportInto/TestChecksumNotMatch [2025/04/04 13:01:55.963 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:413, Type:drop schema, State:queueing, SchemaState:public, SchemaID:289, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:55.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:01:55.963 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:413, Type:drop schema, State:queueing, SchemaState:public, SchemaID:289, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:55.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop database if exists load_data"] [2025/04/04 13:01:55.968 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=413] [conn=2] [job="ID:413, Type:drop schema, State:queueing, SchemaState:public, SchemaID:289, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:55.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:55.985 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=319] [neededSchemaVersion=320] ["elapsed time"=142.27µs] [gotSchemaVersion=320] [phyTblIDs="[293]"] [actionTypes="[2]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 13:01:55.988 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=413] [version=320] [2025/04/04 13:01: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=320] ["take time"=7.044595ms] [job="ID:413, Type:drop schema, State:running, SchemaState:write only, SchemaID:289, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:55.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:55.999 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=413] [conn=2] [job="ID:413, Type:drop schema, State:running, SchemaState:write only, SchemaID:289, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:55.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:56.012 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=320] [neededSchemaVersion=321] ["elapsed time"=146.775µs] [gotSchemaVersion=321] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 13:01:56.015 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=413] [version=321] [2025/04/04 13:01:56.017 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=321] ["take time"=7.726542ms] [job="ID:413, Type:drop schema, State:running, SchemaState:delete only, SchemaID:289, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:55.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:56.026 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=413] [conn=2] [job="ID:413, Type:drop schema, State:running, SchemaState:delete only, SchemaID:289, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:55.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:56.031 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/04 13:01:56.041 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=321] [neededSchemaVersion=322] ["elapsed time"=129.356µs] [gotSchemaVersion=322] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 13:01:56.044 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=413] [version=322] [2025/04/04 13:01:56.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=322] ["take time"=7.188637ms] [job="ID:413, Type:drop schema, State:done, SchemaState:none, SchemaID:289, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:55.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:56.055 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=413] [tableIDs="[293]"] [comment="drop schema: table IDs"] [2025/04/04 13:01:56.059 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=413] [jobType="drop schema"] [2025/04/04 13:01:56.060 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=413] [conn=2] [job="ID:413, Type:drop schema, State:synced, SchemaState:none, SchemaID:289, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:55.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:56.075 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=413] [2025/04/04 13:01:56.075 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=322] [cur_db=test_cancel_job] [sql="drop database if exists load_data"] [user=root@%] [2025/04/04 13:01:56.088 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:415, Type:create schema, State:queueing, SchemaState:none, SchemaID:414, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:56.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:01:56.088 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:415, Type:create schema, State:queueing, SchemaState:none, SchemaID:414, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:56.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database load_data"] [2025/04/04 13:01:56.093 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=415] [conn=2] [job="ID:415, Type:create schema, State:queueing, SchemaState:none, SchemaID:414, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:56.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:56.107 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=322] [neededSchemaVersion=323] ["elapsed time"=674.774µs] [gotSchemaVersion=323] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 13:01:56.111 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=415] [version=323] [2025/04/04 13:01:56.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=323] ["take time"=8.241101ms] [job="ID:415, Type:create schema, State:done, SchemaState:public, SchemaID:414, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:56.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:56.123 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=415] [conn=2] [job="ID:415, Type:create schema, State:synced, SchemaState:public, SchemaID:414, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:56.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:56.132 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=415] [2025/04/04 13:01:56.132 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=323] [cur_db=test_cancel_job] [sql="create database load_data"] [user=root@%] [2025/04/04 13:01:56.134 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=323] [cur_db=load_data] [sql="drop table if exists t;"] [user=root@%] [2025/04/04 13:01:56.147 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:417, Type:create table, State:queueing, SchemaState:none, SchemaID:414, TableID:416, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:56.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint primary key, b varchar(100), c int);"] [2025/04/04 13:01:56.147 +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:414, TableID:416, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:56.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:01:56.152 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=417] [conn=2] [job="ID:417, Type:create table, State:queueing, SchemaState:none, SchemaID:414, TableID:416, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:56.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:56.157 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 416, Table Name: t)"] [2025/04/04 13:01:56.172 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=323] [neededSchemaVersion=324] ["elapsed time"=1.501554ms] [gotSchemaVersion=324] [phyTblIDs="[416]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 13:01:56.175 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=417] [version=324] [2025/04/04 13:01:56.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=324] ["take time"=8.296813ms] [job="ID:417, Type:create table, State:done, SchemaState:public, SchemaID:414, TableID:416, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:56.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:56.187 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=417] [conn=2] [job="ID:417, Type:create table, State:synced, SchemaState:public, SchemaID:414, TableID:416, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:56.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:56.198 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=417] [2025/04/04 13:01:56.198 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=324] [cur_db=load_data] [sql="create table t (a bigint primary key, b varchar(100), c int);"] [user=root@%] [2025/04/04 13:01:56.204 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:01:56.247 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-multi-load/duplicate-pk-*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"__max_engine_size\":\"1\",\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/04 13:01:56.265 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30019] [task-id=30019] [data-size=64B] [thread-cnt=1] [global-sort=false] [2025/04/04 13:01:56.279 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30019] [2025/04/04 13:01:56.279 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=30019] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/04 13:01:56.381 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30019] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 13:01:56.382 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30019] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:01:56.383 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30019] [curr-step=init] [next-step=import] [2025/04/04 13:01:56.392 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:01:56.394 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 13:01:56.394 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=1] [after=1] [2025/04/04 13:01:56.394 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=2] [MaxChunkSize=268435456] [RegionsCount=2] [BatchSize=1] [cost=391.354µs] [2025/04/04 13:01:56.394 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=522.936µs] [] [2025/04/04 13:01:56.394 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30019] [curr-step=init] [next-step=import] [subtask-count=2] [2025/04/04 13:01:56.395 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30019] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=2] [2025/04/04 13:01:56.426 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30019] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 13:01:56.446 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30019] [step=import] [2025/04/04 13:01:56.446 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:01:56.454 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 13:01:56.454 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 13:01:56.455 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 13:01:56.455 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 13:01:56.455 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 13:01:56.455 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 13:01:56.455 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 13:01:56.455 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 13:01:56.456 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 13:01:56.456 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 13:01:56.467 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 13:01:56.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/04 13:01:56.468 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 13:01:56.469 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=30019] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 13:01:56.469 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=30019] [disk-quota=348.5GiB] [2025/04/04 13:01:56.469 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30019] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/04 13:01:56.476 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30019] [task-type=ImportInto] [server-id=:4000] [subtaskID=30032] [step=import] [2025/04/04 13:01:56.476 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30019] [step=import] [subtask-id=30032] [2025/04/04 13:01:56.479 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 13:01:56.482 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 13:01:56.482 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=416] [2025/04/04 13:01:56.487 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=30019] [mode=Import] [2025/04/04 13:01:56.506 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=416] [key=duplicate-pk-01.csv:0] [2025/04/04 13:01:56.507 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=416] [key=duplicate-pk-01.csv:0] [readDur=959.389µs] [encodeDur=269.177µs] [checksum="{cksum=10450524409927898498,size=111,kvs=3}"] [deliverDur=26.221µs] [type=file] [takeTime=1.508866ms] [] [2025/04/04 13:01:56.508 +00:00] [WARN] [engine.go:1462] ["duplicated key found, skip write"] [category=ddl-ingest] [key=7480000000000001A05F728000000000000002] [2025/04/04 13:01:56.508 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=74] [kvs=3] [files=1] [sstFileSize=981] [file=/tmp/tidb/import-4000/30019/67ea3590-7c4f-5a31-ade6-de9a31136e82.sst/6e63b994-6063-43b5-849e-8b71d26a8bde.sst] [firstKey=7480000000000001A05F728000000000000001] [lastKey=7480000000000001A05F728000000000000002] [2025/04/04 13:01:56.508 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=30019] [step=import] [engine-id=0] [2025/04/04 13:01:56.508 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=30019] [step=import] [engine-id=0] [2025/04/04 13:01:56.508 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 13:01:56.510 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=30019] [2025/04/04 13:01:56.510 +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.944982ms] [] [2025/04/04 13:01:56.510 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [retryCnt=0] [2025/04/04 13:01:56.515 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 13:01:56.536 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] ["region ranges"=1] [count=3] [size=74] [2025/04/04 13:01:56.536 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 13:01:56.538 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001a05f728000000000000001] [endOfAllRanges=7480000000000001a05f728000000000000003] [startKeyOfFirstRegion=7480000000000001ffa05f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ffa05f728000000000ff0000030000000000fa] [2025/04/04 13:01:56.548 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] [size=74] [kvs=3] [importedSize=74] [importedCount=2] [2025/04/04 13:01:56.550 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [retryCnt=0] [takeTime=39.232872ms] [] [2025/04/04 13:01:56.550 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 13:01:56.551 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=1.061633ms] [] [2025/04/04 13:01:56.551 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=30019] [step=import] [engine-id=0] [2025/04/04 13:01:56.551 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 13:01:56.552 +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.354857ms] [] [2025/04/04 13:01:56.553 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [retryCnt=0] [2025/04/04 13:01:56.556 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 13:01:56.556 +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.413081ms] [] [2025/04/04 13:01:56.556 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 13:01:56.557 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=863.646µs] [] [2025/04/04 13:01:56.557 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=30019] [step=import] [subtask-id=30032] [takeTime=81.119483ms] [] [2025/04/04 13:01:56.557 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30019] [task-type=ImportInto] [server-id=:4000] [subtaskID=30032] [step=import] [takeTime=81.533114ms] [] [2025/04/04 13:01:56.579 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30019] [task-type=ImportInto] [server-id=:4000] [subtaskID=30033] [step=import] [2025/04/04 13:01:56.579 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30019] [step=import] [subtask-id=30033] [2025/04/04 13:01:56.583 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:1] [engineUUID=790a6a8f-6378-5243-b426-00d5655f2c86] [2025/04/04 13:01:56.586 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-2] [engineUUID=01f37b49-4958-5126-821d-b51976443d4b] [2025/04/04 13:01:56.586 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=416] [2025/04/04 13:01:56.616 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=416] [key=duplicate-pk-02.csv:0] [2025/04/04 13:01:56.618 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=416] [key=duplicate-pk-02.csv:0] [readDur=950.836µs] [encodeDur=604.938µs] [checksum="{cksum=10000736449752856106,size=111,kvs=3}"] [deliverDur=24.02µs] [type=file] [takeTime=1.828519ms] [] [2025/04/04 13:01:56.618 +00:00] [WARN] [engine.go:1462] ["duplicated key found, skip write"] [category=ddl-ingest] [key=7480000000000001A05F728000000000000004] [2025/04/04 13:01:56.619 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=74] [kvs=3] [files=1] [sstFileSize=981] [file=/tmp/tidb/import-4000/30019/790a6a8f-6378-5243-b426-00d5655f2c86.sst/947c0958-1497-4b9b-88f0-7c9d9698b6a4.sst] [firstKey=7480000000000001A05F728000000000000004] [lastKey=7480000000000001A05F728000000000000006] [2025/04/04 13:01:56.619 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=30019] [step=import] [engine-id=1] [2025/04/04 13:01:56.619 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=30019] [step=import] [engine-id=1] [2025/04/04 13:01:56.619 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:1] [engineUUID=790a6a8f-6378-5243-b426-00d5655f2c86] [2025/04/04 13:01:56.621 +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.9825ms] [] [2025/04/04 13:01:56.621 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:1] [engineUUID=790a6a8f-6378-5243-b426-00d5655f2c86] [retryCnt=0] [2025/04/04 13:01:56.625 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 13:01:56.647 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=790a6a8f-6378-5243-b426-00d5655f2c86] ["region ranges"=1] [count=3] [size=74] [2025/04/04 13:01:56.647 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 13:01:56.649 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001a05f728000000000000004] [endOfAllRanges=7480000000000001a05f728000000000000007] [startKeyOfFirstRegion=7480000000000001ffa05f728000000000ff0000040000000000fa] [endKeyOfLastRegion=7480000000000001ffa05f728000000000ff0000070000000000fa] [2025/04/04 13:01:56.659 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=790a6a8f-6378-5243-b426-00d5655f2c86] [size=74] [kvs=3] [importedSize=74] [importedCount=2] [2025/04/04 13:01:56.661 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:1] [engineUUID=790a6a8f-6378-5243-b426-00d5655f2c86] [retryCnt=0] [takeTime=39.491114ms] [] [2025/04/04 13:01:56.661 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:1] [engineUUID=790a6a8f-6378-5243-b426-00d5655f2c86] [2025/04/04 13:01:56.662 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:1] [engineUUID=790a6a8f-6378-5243-b426-00d5655f2c86] [takeTime=1.052311ms] [] [2025/04/04 13:01:56.662 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=30019] [step=import] [engine-id=1] [2025/04/04 13:01:56.662 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-2] [engineUUID=01f37b49-4958-5126-821d-b51976443d4b] [2025/04/04 13:01:56.663 +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.350347ms] [] [2025/04/04 13:01:56.663 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-2] [engineUUID=01f37b49-4958-5126-821d-b51976443d4b] [retryCnt=0] [2025/04/04 13:01:56.667 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=01f37b49-4958-5126-821d-b51976443d4b] [2025/04/04 13:01:56.667 +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.541223ms] [] [2025/04/04 13:01:56.667 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-2] [engineUUID=01f37b49-4958-5126-821d-b51976443d4b] [2025/04/04 13:01:56.668 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-2] [engineUUID=01f37b49-4958-5126-821d-b51976443d4b] [takeTime=849.144µs] [] [2025/04/04 13:01:56.668 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=30019] [step=import] [subtask-id=30033] [takeTime=88.639859ms] [] [2025/04/04 13:01:56.668 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30019] [task-type=ImportInto] [server-id=:4000] [subtaskID=30033] [step=import] [takeTime=88.790087ms] [] [2025/04/04 13:01:56.686 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30019] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 13:01:56.687 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30019] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:01:56.689 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30019] [curr-step=import] [next-step=post-process] [2025/04/04 13:01:56.689 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=30019] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 13:01:56.719 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=30019] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":4}"] [2025/04/04 13:01:56.720 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30019] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 13:01:56.720 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30019] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/04 13:01:56.750 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=30019] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 13:01:56.756 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30019] [step=import] [2025/04/04 13:01:56.760 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 13:01:56.760 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 13:01:56.760 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 13:01:56.760 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 13:01:56.760 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 13:01:56.760 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 13:01:56.760 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 13:01:56.760 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:01:56.760 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:01:56.760 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:01:56.760 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 13:01:56.760 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-18] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:01:56.762 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 13:01:56.762 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:01:56.762 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:01:56.762 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:01:56.762 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30019] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=293.530754ms] [] [2025/04/04 13:01:56.763 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30019] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/04 13:01:56.771 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30019] [task-type=ImportInto] [server-id=:4000] [subtaskID=30034] [step=post-process] [2025/04/04 13:01:56.771 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=30019] [step=post-process] [subtask-id=30034] [2025/04/04 13:01:56.771 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=30019] [step=post-process] [subtask-id=30034] [2025/04/04 13:01:56.771 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=30019] [step=post-process] [subtask-id=30034] [2025/04/04 13:01:56.771 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=30019] [step=post-process] [subtask-id=30034] [takeTime=2.155µs] [] [2025/04/04 13:01:56.771 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=30019] [step=post-process] [subtask-id=30034] [groupId=-1] [size=222] [kvs=6] [checksum=2003671119719883688] [2025/04/04 13:01:56.771 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=30019] [step=post-process] [subtask-id=30034] [checksum="{cksum=2003671119719883688,size=222,kvs=6}"] [2025/04/04 13:01:56.771 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=30019] [step=post-process] [subtask-id=30034] [weight=30] [2025/04/04 13:01:56.771 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=30019] [step=post-process] [subtask-id=30034] [concurrency=15] [2025/04/04 13:01:56.774 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=416] [physicalTableID=416] [indexID=-1] [checksum=13563575747806423567] [totalKvs=4] [totalBytes=148] [2025/04/04 13:01:56.775 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 13:01:56.775 +00:00] [ERROR] [subtask_executor.go:103] ["post process failed"] [type=ImportInto] [task-id=30019] [step=post-process] [subtask-id=30034] [takeTime=3.716977ms] [error="[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 13563575747806423567 vs 2003671119719883688) (total_kvs: 4 vs 6) (total_bytes:148 vs 222)"] [stack="github.com/pingcap/tidb/pkg/disttask/importinto.postProcess.func1\n\tpkg/disttask/importinto/subtask_executor.go:103\ngithub.com/pingcap/tidb/pkg/disttask/importinto.postProcess\n\tpkg/disttask/importinto/subtask_executor.go:134\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*postProcessStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:553\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/04 13:01:56.775 +00:00] [ERROR] [task_executor.go:544] ["run subtask failed"] [type=ImportInto] [task-id=30019] [step=post-process] [subtask-id=30034] [takeTime=3.988872ms] [error="[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 13563575747806423567 vs 2003671119719883688) (total_kvs: 4 vs 6) (total_bytes:148 vs 222)"] [stack="github.com/pingcap/tidb/pkg/disttask/importinto.(*postProcessStepExecutor).RunSubtask.func1\n\tpkg/disttask/importinto/task_executor.go:544\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*postProcessStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:553\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/04 13:01:56.775 +00:00] [INFO] [task_executor.go:464] ["run subtask failed"] [task-id=30019] [task-type=ImportInto] [server-id=:4000] [subtaskID=30034] [step=post-process] [takeTime=4.237107ms] [error="[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 13563575747806423567 vs 2003671119719883688) (total_kvs: 4 vs 6) (total_bytes:148 vs 222)"] [errorVerbose="[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 13563575747806423567 vs 2003671119719883688) (total_kvs: 4 vs 6) (total_bytes:148 vs 222)\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/executor/importer.VerifyChecksum\n\tpkg/executor/importer/table_import.go:850\ngithub.com/pingcap/tidb/pkg/disttask/importinto.postProcess.func2\n\tpkg/disttask/importinto/subtask_executor.go:135\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).WithNewSession\n\tpkg/disttask/framework/storage/task_table.go:169\ngithub.com/pingcap/tidb/pkg/disttask/importinto.postProcess\n\tpkg/disttask/importinto/subtask_executor.go:134\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*postProcessStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:553\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:01:56.775 +00:00] [WARN] [task_executor.go:706] ["subtask failed"] [task-id=30019] [task-type=ImportInto] [server-id=:4000] [error="[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 13563575747806423567 vs 2003671119719883688) (total_kvs: 4 vs 6) (total_bytes:148 vs 222)"] [errorVerbose="[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 13563575747806423567 vs 2003671119719883688) (total_kvs: 4 vs 6) (total_bytes:148 vs 222)\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/executor/importer.VerifyChecksum\n\tpkg/executor/importer/table_import.go:850\ngithub.com/pingcap/tidb/pkg/disttask/importinto.postProcess.func2\n\tpkg/disttask/importinto/subtask_executor.go:135\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).WithNewSession\n\tpkg/disttask/framework/storage/task_table.go:169\ngithub.com/pingcap/tidb/pkg/disttask/importinto.postProcess\n\tpkg/disttask/importinto/subtask_executor.go:134\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*postProcessStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:553\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:01:56.781 +00:00] [ERROR] [task_executor.go:344] ["run subtask failed"] [task-id=30019] [task-type=ImportInto] [server-id=:4000] [error="[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 13563575747806423567 vs 2003671119719883688) (total_kvs: 4 vs 6) (total_bytes:148 vs 222)"] [errorVerbose="[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 13563575747806423567 vs 2003671119719883688) (total_kvs: 4 vs 6) (total_bytes:148 vs 222)\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/executor/importer.VerifyChecksum\n\tpkg/executor/importer/table_import.go:850\ngithub.com/pingcap/tidb/pkg/disttask/importinto.postProcess.func2\n\tpkg/disttask/importinto/subtask_executor.go:135\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).WithNewSession\n\tpkg/disttask/framework/storage/task_table.go:169\ngithub.com/pingcap/tidb/pkg/disttask/importinto.postProcess\n\tpkg/disttask/importinto/subtask_executor.go:134\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*postProcessStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:553\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:344\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/04 13:01:56.786 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 13:01:56.790 +00:00] [WARN] [scheduler.go:389] ["subtasks encounter errors"] [task-id=30019] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [subtask-errs="[\"{error=\\\"[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 13563575747806423567 vs 2003671119719883688) (total_kvs: 4 vs 6) (total_bytes:148 vs 222)\\\"}\"]"] [2025/04/04 13:01:56.812 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30019] [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=48.54753ms] [] [2025/04/04 13:01:56.812 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30019] [type=ImportInto] [2025/04/04 13:01:56.886 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30019] [step=post-process] [state=reverting] [error="[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 13563575747806423567 vs 2003671119719883688) (total_kvs: 4 vs 6) (total_bytes:148 vs 222)"] [2025/04/04 13:01:56.887 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=30019] [step=post-process] [mode=Normal] [2025/04/04 13:01:56.892 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=30019] [2025/04/04 13:01:56.981 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30019] [2025/04/04 13:01:56.986 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 13:01:56.986 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30019] [2025/04/04 13:01:57.007 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 13:01:57.178 +00:00] [ERROR] [handle.go:110] ["task reverted"] [task-id=30019] [error="[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 13563575747806423567 vs 2003671119719883688) (total_kvs: 4 vs 6) (total_bytes:148 vs 222)"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/handle.WaitTaskDoneOrPaused\n\tpkg/disttask/framework/handle/handle.go:110\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoExec).waitTask\n\tpkg/executor/import_into.go:233\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoExec).Next\n\tpkg/executor/import_into.go:137\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*recordSet).Next\n\tpkg/executor/adapter.go:172\ngithub.com/pingcap/tidb/pkg/session.GetRows4Test\n\tpkg/session/tidb.go:343\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).QueryToErr\n\tpkg/testkit/testkit.go:304\ntests/realtikvtest/importintotest/importintotest_test.(*mockGCSSuite).TestChecksumNotMatch\n\ttests/realtikvtest/importintotest/import_into_test.go:756\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690"] [2025/04/04 13:01:57.178 +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.979477732\n# Parse_time: 0.000146209\n# Compile_time: 0.000506028\n# Rewrite_time: 0.000171269\n# Optimize_time: 0.000051134\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('SfBIMAk1OV8yCTAJMAlOL0EJMAl0aW1lOjk3OC42bXMsIG9wZW46NzQxbnMsIGNsb3NlOjEuMcK1cywgbG9vcHM6MQlOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('YvBPCl4KDEltcG9ydEludG9fMjgBQAFSA04vQVovdGltZTo5NzguNm1zLCBvcGVuOjc0MW5zLCBjbG9zZToxLjHCtXMsIGxvb3BzOjFw//////8BAzQBeP///////////wEYAQ==')\n# Resource_group: default\nuse load_data;\nIMPORT INTO `load_data`.`t` FROM 'gs://test-multi-load/duplicate-pk-*.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1, __max_engine_size=_UTF8MB4'1';"] [2025/04/04 13:01:57.192 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:419, Type:truncate table, State:queueing, SchemaState:none, SchemaID:414, TableID:416, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:57.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:01:57.192 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:419, Type:truncate table, State:queueing, SchemaState:none, SchemaID:414, TableID:416, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:57.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table t;"] [2025/04/04 13:01:57.197 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=419] [conn=2] [job="ID:419, Type:truncate table, State:queueing, SchemaState:none, SchemaID:414, TableID:416, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:57.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:57.204 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 418, Table Name: t, Old Table ID: 416, Old Table Name: t)"] [2025/04/04 13:01:57.218 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=324] [neededSchemaVersion=325] ["elapsed time"=1.518932ms] [gotSchemaVersion=325] [phyTblIDs="[416,418]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 13:01:57.221 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=419] [version=325] [2025/04/04 13:01:57.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=325] ["take time"=7.907585ms] [job="ID:419, Type:truncate table, State:done, SchemaState:public, SchemaID:414, TableID:416, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:57.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:57.233 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=419] [tableIDs="[416]"] [comment="truncate table: table ID"] [2025/04/04 13:01:57.238 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=419] [jobType="truncate table"] [2025/04/04 13:01:57.239 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=419] [conn=2] [job="ID:419, Type:truncate table, State:synced, SchemaState:public, SchemaID:414, TableID:416, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:57.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:57.255 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=419] [2025/04/04 13:01:57.256 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=325] [cur_db=load_data] [sql="truncate table t;"] [user=root@%] [2025/04/04 13:01:57.261 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:01:57.308 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-multi-load/duplicate-pk-*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"__max_engine_size\":\"1\",\"checksum_table\":\"off\",\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/04 13:01:57.326 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30020] [task-id=30020] [data-size=64B] [thread-cnt=1] [global-sort=false] [2025/04/04 13:01:57.339 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30020] [2025/04/04 13:01:57.340 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=30020] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/04 13:01:57.442 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30020] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 13:01:57.443 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30020] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:01:57.444 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30020] [curr-step=init] [next-step=import] [2025/04/04 13:01:57.452 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:01:57.454 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 13:01:57.454 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=1] [after=1] [2025/04/04 13:01:57.455 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=2] [MaxChunkSize=268435456] [RegionsCount=2] [BatchSize=1] [cost=75.653µs] [2025/04/04 13:01:57.455 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=202.694µs] [] [2025/04/04 13:01:57.455 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30020] [curr-step=init] [next-step=import] [subtask-count=2] [2025/04/04 13:01:57.455 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30020] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=2] [2025/04/04 13:01:57.486 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30020] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 13:01:57.506 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30020] [step=import] [2025/04/04 13:01:57.507 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:01:57.514 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 13:01:57.514 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 13:01:57.515 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 13:01:57.515 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 13:01:57.515 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 13:01:57.515 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 13:01:57.515 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 13:01:57.515 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 13:01:57.515 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 13:01:57.516 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 13:01:57.527 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 13:01:57.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/04 13:01:57.529 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 13:01:57.529 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=30020] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 13:01:57.529 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=30020] [disk-quota=348.5GiB] [2025/04/04 13:01:57.529 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30020] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/04 13:01:57.536 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30020] [task-type=ImportInto] [server-id=:4000] [subtaskID=30035] [step=import] [2025/04/04 13:01:57.536 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30020] [step=import] [subtask-id=30035] [2025/04/04 13:01:57.540 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 13:01:57.543 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 13:01:57.543 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=418] [2025/04/04 13:01:57.548 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=30020] [mode=Import] [2025/04/04 13:01:57.566 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=30020] [2025/04/04 13:01:57.566 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=418] [key=duplicate-pk-01.csv:0] [2025/04/04 13:01:57.568 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=418] [key=duplicate-pk-01.csv:0] [readDur=939.242µs] [encodeDur=279.628µs] [checksum="{cksum=10667499774893801167,size=111,kvs=3}"] [deliverDur=269.396µs] [type=file] [takeTime=1.71104ms] [] [2025/04/04 13:01:57.568 +00:00] [WARN] [engine.go:1462] ["duplicated key found, skip write"] [category=ddl-ingest] [key=7480000000000001A25F728000000000000002] [2025/04/04 13:01:57.569 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=74] [kvs=3] [files=1] [sstFileSize=981] [file=/tmp/tidb/import-4000/30020/67ea3590-7c4f-5a31-ade6-de9a31136e82.sst/a1e9f857-a1c5-4279-92a0-7b8f63a4f022.sst] [firstKey=7480000000000001A25F728000000000000001] [lastKey=7480000000000001A25F728000000000000002] [2025/04/04 13:01:57.569 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=30020] [step=import] [engine-id=0] [2025/04/04 13:01:57.569 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=30020] [step=import] [engine-id=0] [2025/04/04 13:01:57.569 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 13:01:57.571 +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.67708ms] [] [2025/04/04 13:01:57.571 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [retryCnt=0] [2025/04/04 13:01:57.575 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 13:01:57.596 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] ["region ranges"=1] [count=3] [size=74] [2025/04/04 13:01:57.596 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 13:01:57.597 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001a25f728000000000000001] [endOfAllRanges=7480000000000001a25f728000000000000003] [startKeyOfFirstRegion=7480000000000001ffa25f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ffa25f728000000000ff0000030000000000fa] [2025/04/04 13:01:57.607 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] [size=74] [kvs=3] [importedSize=74] [importedCount=2] [2025/04/04 13:01:57.609 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [retryCnt=0] [takeTime=38.202341ms] [] [2025/04/04 13:01:57.609 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 13:01:57.610 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=919.093µs] [] [2025/04/04 13:01:57.610 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=30020] [step=import] [engine-id=0] [2025/04/04 13:01:57.610 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 13:01:57.611 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=1.349447ms] [] [2025/04/04 13:01:57.611 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [retryCnt=0] [2025/04/04 13:01:57.615 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 13:01:57.615 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [retryCnt=0] [takeTime=3.37139ms] [] [2025/04/04 13:01:57.615 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 13:01:57.616 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=815.576µs] [] [2025/04/04 13:01:57.616 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=30020] [step=import] [subtask-id=30035] [takeTime=79.517096ms] [] [2025/04/04 13:01:57.616 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30020] [task-type=ImportInto] [server-id=:4000] [subtaskID=30035] [step=import] [takeTime=79.662738ms] [] [2025/04/04 13:01:57.636 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30020] [task-type=ImportInto] [server-id=:4000] [subtaskID=30036] [step=import] [2025/04/04 13:01:57.636 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30020] [step=import] [subtask-id=30036] [2025/04/04 13:01:57.640 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:1] [engineUUID=790a6a8f-6378-5243-b426-00d5655f2c86] [2025/04/04 13:01:57.643 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-2] [engineUUID=01f37b49-4958-5126-821d-b51976443d4b] [2025/04/04 13:01:57.643 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=418] [2025/04/04 13:01:57.684 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=418] [key=duplicate-pk-02.csv:0] [2025/04/04 13:01:57.686 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=418] [key=duplicate-pk-02.csv:0] [readDur=861.952µs] [encodeDur=629.932µs] [checksum="{cksum=10359663164983237991,size=111,kvs=3}"] [deliverDur=25.587µs] [type=file] [takeTime=1.761726ms] [] [2025/04/04 13:01:57.686 +00:00] [WARN] [engine.go:1462] ["duplicated key found, skip write"] [category=ddl-ingest] [key=7480000000000001A25F728000000000000004] [2025/04/04 13:01:57.687 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=74] [kvs=3] [files=1] [sstFileSize=981] [file=/tmp/tidb/import-4000/30020/790a6a8f-6378-5243-b426-00d5655f2c86.sst/3fe01065-b54f-45ad-887b-2839f7046517.sst] [firstKey=7480000000000001A25F728000000000000004] [lastKey=7480000000000001A25F728000000000000006] [2025/04/04 13:01:57.687 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=30020] [step=import] [engine-id=1] [2025/04/04 13:01:57.687 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=30020] [step=import] [engine-id=1] [2025/04/04 13:01:57.687 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:1] [engineUUID=790a6a8f-6378-5243-b426-00d5655f2c86] [2025/04/04 13:01:57.689 +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.771261ms] [] [2025/04/04 13:01:57.689 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:1] [engineUUID=790a6a8f-6378-5243-b426-00d5655f2c86] [retryCnt=0] [2025/04/04 13:01:57.693 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 13:01:57.715 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=790a6a8f-6378-5243-b426-00d5655f2c86] ["region ranges"=1] [count=3] [size=74] [2025/04/04 13:01:57.715 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 13:01:57.717 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001a25f728000000000000004] [endOfAllRanges=7480000000000001a25f728000000000000007] [startKeyOfFirstRegion=7480000000000001ffa25f728000000000ff0000040000000000fa] [endKeyOfLastRegion=7480000000000001ffa25f728000000000ff0000070000000000fa] [2025/04/04 13:01:57.727 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=790a6a8f-6378-5243-b426-00d5655f2c86] [size=74] [kvs=3] [importedSize=74] [importedCount=2] [2025/04/04 13:01:57.728 +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=38.953611ms] [] [2025/04/04 13:01:57.728 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:1] [engineUUID=790a6a8f-6378-5243-b426-00d5655f2c86] [2025/04/04 13:01:57.729 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:1] [engineUUID=790a6a8f-6378-5243-b426-00d5655f2c86] [takeTime=964.823µs] [] [2025/04/04 13:01:57.729 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=30020] [step=import] [engine-id=1] [2025/04/04 13:01:57.729 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-2] [engineUUID=01f37b49-4958-5126-821d-b51976443d4b] [2025/04/04 13:01:57.731 +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.417254ms] [] [2025/04/04 13:01:57.731 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-2] [engineUUID=01f37b49-4958-5126-821d-b51976443d4b] [retryCnt=0] [2025/04/04 13:01:57.734 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=01f37b49-4958-5126-821d-b51976443d4b] [2025/04/04 13:01:57.734 +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.472746ms] [] [2025/04/04 13:01:57.734 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-2] [engineUUID=01f37b49-4958-5126-821d-b51976443d4b] [2025/04/04 13:01:57.735 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-2] [engineUUID=01f37b49-4958-5126-821d-b51976443d4b] [takeTime=706.42µs] [] [2025/04/04 13:01:57.735 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=30020] [step=import] [subtask-id=30036] [takeTime=98.690695ms] [] [2025/04/04 13:01:57.735 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30020] [task-type=ImportInto] [server-id=:4000] [subtaskID=30036] [step=import] [takeTime=98.834442ms] [] [2025/04/04 13:01:57.747 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30020] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 13:01:57.749 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30020] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:01:57.750 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30020] [curr-step=import] [next-step=post-process] [2025/04/04 13:01:57.750 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=30020] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 13:01:57.778 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=30020] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":4}"] [2025/04/04 13:01:57.780 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30020] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 13:01:57.780 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30020] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/04 13:01:57.798 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=30020] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 13:01:57.804 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30020] [step=import] [2025/04/04 13:01:57.808 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 13:01:57.808 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 13:01:57.808 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 13:01:57.808 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 13:01:57.808 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 13:01:57.808 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 13:01:57.808 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 13:01:57.808 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:01:57.808 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:01:57.808 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-19] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:01:57.808 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:01:57.808 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 13:01:57.810 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 13:01:57.810 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:01:57.810 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:01:57.810 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:01:57.810 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30020] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=280.538096ms] [] [2025/04/04 13:01:57.811 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30020] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/04 13:01:57.818 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30020] [task-type=ImportInto] [server-id=:4000] [subtaskID=30037] [step=post-process] [2025/04/04 13:01:57.818 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=30020] [step=post-process] [subtask-id=30037] [2025/04/04 13:01:57.818 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=30020] [step=post-process] [subtask-id=30037] [2025/04/04 13:01:57.818 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=30020] [step=post-process] [subtask-id=30037] [2025/04/04 13:01:57.818 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=30020] [step=post-process] [subtask-id=30037] [takeTime=1.775µs] [] [2025/04/04 13:01:57.818 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=30020] [step=post-process] [subtask-id=30037] [groupId=-1] [size=222] [kvs=6] [checksum=2003671119719883688] [2025/04/04 13:01:57.818 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=30020] [step=post-process] [subtask-id=30037] [takeTime=122.802µs] [] [2025/04/04 13:01:57.818 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=30020] [step=post-process] [subtask-id=30037] [takeTime=244.146µs] [] [2025/04/04 13:01:57.818 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30020] [task-type=ImportInto] [server-id=:4000] [subtaskID=30037] [step=post-process] [takeTime=360.517µs] [] [2025/04/04 13:01:57.846 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30020] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 13:01:57.846 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30020] [step=post-process] [state=running] [] [2025/04/04 13:01:57.849 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=30020] [2025/04/04 13:01:57.878 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30020] [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=67.054109ms] [] [2025/04/04 13:01:57.878 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30020] [type=ImportInto] [2025/04/04 13:01:57.941 +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.684910623\n# Parse_time: 0.000152934\n# Compile_time: 0.000478537\n# Rewrite_time: 0.000159901\n# Optimize_time: 0.000215298\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('SvBJMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY4NG1zLCBvcGVuOjIuMDbCtXMsIGNsb3NlOjEuMzLCtXMsIGxvb3BzOjIJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('ZfBSCmEKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWjB0aW1lOjY4NG1zLCBvcGVuOjIuMDbCtXMsIGNsb3NlOjEuMzLCtXMsIGxvb3BzOjJw//////8BAzQBeP///////////wEYAQ==')\n# Resource_group: default\nIMPORT INTO `load_data`.`t` FROM 'gs://test-multi-load/duplicate-pk-*.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1, checksum_table=_UTF8MB4'off', __max_engine_size=_UTF8MB4'1';"] [2025/04/04 13:01:57.942 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30020] [2025/04/04 13:01:57.947 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 13:01:57.947 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30020] [2025/04/04 13:01:57.956 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:421, Type:truncate table, State:queueing, SchemaState:none, SchemaID:414, TableID:418, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:57.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:01:57.956 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:421, Type:truncate table, State:queueing, SchemaState:none, SchemaID:414, TableID:418, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:57.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table t;"] [2025/04/04 13:01:57.961 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=421] [conn=2] [job="ID:421, Type:truncate table, State:queueing, SchemaState:none, SchemaID:414, TableID:418, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:57.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:57.968 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 13:01:57.968 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 420, Table Name: t, Old Table ID: 418, Old Table Name: t)"] [2025/04/04 13:01:57.983 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=325] [neededSchemaVersion=326] ["elapsed time"=1.478512ms] [gotSchemaVersion=326] [phyTblIDs="[418,420]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 13:01:57.986 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=421] [version=326] [2025/04/04 13:01:57.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=326] ["take time"=8.044403ms] [job="ID:421, Type:truncate table, State:done, SchemaState:public, SchemaID:414, TableID:418, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:57.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:57.997 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=421] [tableIDs="[418]"] [comment="truncate table: table ID"] [2025/04/04 13:01:58.001 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=421] [jobType="truncate table"] [2025/04/04 13:01:58.002 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=421] [conn=2] [job="ID:421, Type:truncate table, State:synced, SchemaState:public, SchemaID:414, TableID:418, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:57.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:58.018 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=421] [2025/04/04 13:01:58.019 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=326] [cur_db=load_data] [sql="truncate table t;"] [user=root@%] [2025/04/04 13:01:58.024 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:01:58.070 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-multi-load/duplicate-pk-*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"__max_engine_size\":\"1\",\"checksum_table\":\"optional\",\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/04 13:01:58.088 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30021] [task-id=30021] [data-size=64B] [thread-cnt=1] [global-sort=false] [2025/04/04 13:01:58.101 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30021] [2025/04/04 13:01:58.101 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=30021] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/04 13:01:58.204 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30021] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 13:01:58.206 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30021] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:01:58.207 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30021] [curr-step=init] [next-step=import] [2025/04/04 13:01:58.215 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:01:58.217 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 13:01:58.218 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=1] [after=1] [2025/04/04 13:01:58.218 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=2] [MaxChunkSize=268435456] [RegionsCount=2] [BatchSize=1] [cost=60.32µs] [2025/04/04 13:01:58.218 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=203.619µs] [] [2025/04/04 13:01:58.218 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30021] [curr-step=init] [next-step=import] [subtask-count=2] [2025/04/04 13:01:58.218 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30021] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=2] [2025/04/04 13:01:58.256 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30021] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 13:01:58.276 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30021] [step=import] [2025/04/04 13:01:58.276 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:01:58.284 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 13:01:58.284 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 13:01:58.285 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 13:01:58.285 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 13:01:58.285 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 13:01:58.285 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 13:01:58.285 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 13:01:58.285 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 13:01:58.285 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 13:01:58.286 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 13:01:58.298 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 13:01:58.300 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 13:01:58.300 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 13:01:58.300 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=30021] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 13:01:58.300 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=30021] [disk-quota=348.5GiB] [2025/04/04 13:01:58.300 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30021] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/04 13:01:58.309 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30021] [task-type=ImportInto] [server-id=:4000] [subtaskID=30038] [step=import] [2025/04/04 13:01:58.309 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30021] [step=import] [subtask-id=30038] [2025/04/04 13:01:58.311 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=30021] [mode=Import] [2025/04/04 13:01:58.313 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 13:01:58.316 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 13:01:58.316 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=420] [2025/04/04 13:01:58.331 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=30021] [2025/04/04 13:01:58.377 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=420] [key=duplicate-pk-01.csv:0] [2025/04/04 13:01:58.379 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=420] [key=duplicate-pk-01.csv:0] [readDur=943.818µs] [encodeDur=235.517µs] [checksum="{cksum=11177350093795902232,size=111,kvs=3}"] [deliverDur=22.912µs] [type=file] [takeTime=1.491ms] [] [2025/04/04 13:01:58.379 +00:00] [WARN] [engine.go:1462] ["duplicated key found, skip write"] [category=ddl-ingest] [key=7480000000000001A45F728000000000000002] [2025/04/04 13:01:58.380 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=74] [kvs=3] [files=1] [sstFileSize=981] [file=/tmp/tidb/import-4000/30021/67ea3590-7c4f-5a31-ade6-de9a31136e82.sst/75b6ee2a-adb5-46d3-a47d-cb78fdfb3904.sst] [firstKey=7480000000000001A45F728000000000000001] [lastKey=7480000000000001A45F728000000000000002] [2025/04/04 13:01:58.380 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=30021] [step=import] [engine-id=0] [2025/04/04 13:01:58.380 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=30021] [step=import] [engine-id=0] [2025/04/04 13:01:58.380 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 13:01:58.382 +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.494318ms] [] [2025/04/04 13:01:58.382 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [retryCnt=0] [2025/04/04 13:01:58.387 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 13:01:58.409 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] ["region ranges"=1] [count=3] [size=74] [2025/04/04 13:01:58.409 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 13:01:58.410 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001a45f728000000000000001] [endOfAllRanges=7480000000000001a45f728000000000000003] [startKeyOfFirstRegion=7480000000000001ffa45f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ffa45f728000000000ff0000030000000000fa] [2025/04/04 13:01:58.421 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] [size=74] [kvs=3] [importedSize=74] [importedCount=2] [2025/04/04 13:01:58.422 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [retryCnt=0] [takeTime=39.633251ms] [] [2025/04/04 13:01:58.422 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 13:01:58.423 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=983.697µs] [] [2025/04/04 13:01:58.423 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=30021] [step=import] [engine-id=0] [2025/04/04 13:01:58.423 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 13:01:58.425 +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.441201ms] [] [2025/04/04 13:01:58.425 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [retryCnt=0] [2025/04/04 13:01:58.428 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 13:01:58.428 +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.429562ms] [] [2025/04/04 13:01:58.428 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 13:01:58.429 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=810.28µs] [] [2025/04/04 13:01:58.429 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=30021] [step=import] [subtask-id=30038] [takeTime=120.669222ms] [] [2025/04/04 13:01:58.430 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30021] [task-type=ImportInto] [server-id=:4000] [subtaskID=30038] [step=import] [takeTime=121.413786ms] [] [2025/04/04 13:01:58.454 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30021] [task-type=ImportInto] [server-id=:4000] [subtaskID=30039] [step=import] [2025/04/04 13:01:58.454 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30021] [step=import] [subtask-id=30039] [2025/04/04 13:01:58.457 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:1] [engineUUID=790a6a8f-6378-5243-b426-00d5655f2c86] [2025/04/04 13:01:58.460 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-2] [engineUUID=01f37b49-4958-5126-821d-b51976443d4b] [2025/04/04 13:01:58.460 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=420] [2025/04/04 13:01:58.516 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=420] [key=duplicate-pk-02.csv:0] [2025/04/04 13:01:58.518 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=420] [key=duplicate-pk-02.csv:0] [readDur=943.524µs] [encodeDur=415.316µs] [checksum="{cksum=9282927036249055408,size=111,kvs=3}"] [deliverDur=30.973µs] [type=file] [takeTime=1.681745ms] [] [2025/04/04 13:01:58.519 +00:00] [WARN] [engine.go:1462] ["duplicated key found, skip write"] [category=ddl-ingest] [key=7480000000000001A45F728000000000000004] [2025/04/04 13:01:58.519 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=74] [kvs=3] [files=1] [sstFileSize=981] [file=/tmp/tidb/import-4000/30021/790a6a8f-6378-5243-b426-00d5655f2c86.sst/98529cfb-518c-4e2a-87f1-36c879164bfa.sst] [firstKey=7480000000000001A45F728000000000000004] [lastKey=7480000000000001A45F728000000000000006] [2025/04/04 13:01:58.519 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=30021] [step=import] [engine-id=1] [2025/04/04 13:01:58.520 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=30021] [step=import] [engine-id=1] [2025/04/04 13:01:58.520 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:1] [engineUUID=790a6a8f-6378-5243-b426-00d5655f2c86] [2025/04/04 13:01:58.522 +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.520664ms] [] [2025/04/04 13:01:58.522 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:1] [engineUUID=790a6a8f-6378-5243-b426-00d5655f2c86] [retryCnt=0] [2025/04/04 13:01:58.526 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 13:01:58.548 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=790a6a8f-6378-5243-b426-00d5655f2c86] ["region ranges"=1] [count=3] [size=74] [2025/04/04 13:01:58.548 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 13:01:58.550 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001a45f728000000000000004] [endOfAllRanges=7480000000000001a45f728000000000000007] [startKeyOfFirstRegion=7480000000000001ffa45f728000000000ff0000040000000000fa] [endKeyOfLastRegion=7480000000000001ffa45f728000000000ff0000070000000000fa] [2025/04/04 13:01:58.561 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=790a6a8f-6378-5243-b426-00d5655f2c86] [size=74] [kvs=3] [importedSize=74] [importedCount=2] [2025/04/04 13:01:58.563 +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.269806ms] [] [2025/04/04 13:01:58.563 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:1] [engineUUID=790a6a8f-6378-5243-b426-00d5655f2c86] [2025/04/04 13:01:58.564 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:1] [engineUUID=790a6a8f-6378-5243-b426-00d5655f2c86] [takeTime=1.114575ms] [] [2025/04/04 13:01:58.564 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=30021] [step=import] [engine-id=1] [2025/04/04 13:01:58.564 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-2] [engineUUID=01f37b49-4958-5126-821d-b51976443d4b] [2025/04/04 13:01:58.566 +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.580417ms] [] [2025/04/04 13:01:58.566 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-2] [engineUUID=01f37b49-4958-5126-821d-b51976443d4b] [retryCnt=0] [2025/04/04 13:01:58.570 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=01f37b49-4958-5126-821d-b51976443d4b] [2025/04/04 13:01:58.570 +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.95213ms] [] [2025/04/04 13:01:58.570 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-2] [engineUUID=01f37b49-4958-5126-821d-b51976443d4b] [2025/04/04 13:01:58.571 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-2] [engineUUID=01f37b49-4958-5126-821d-b51976443d4b] [takeTime=905.147µs] [] [2025/04/04 13:01:58.571 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=30021] [step=import] [subtask-id=30039] [takeTime=116.954779ms] [] [2025/04/04 13:01:58.571 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30021] [task-type=ImportInto] [server-id=:4000] [subtaskID=30039] [step=import] [takeTime=117.082462ms] [] [2025/04/04 13:01:58.609 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30021] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 13:01:58.610 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30021] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:01:58.611 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30021] [curr-step=import] [next-step=post-process] [2025/04/04 13:01:58.611 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=30021] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 13:01:58.640 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=30021] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":4}"] [2025/04/04 13:01:58.641 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30021] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 13:01:58.641 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30021] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/04 13:01:58.678 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=30021] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 13:01:58.685 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30021] [step=import] [2025/04/04 13:01:58.689 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 13:01:58.689 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 13:01:58.689 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 13:01:58.689 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 13:01:58.689 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 13:01:58.689 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 13:01:58.689 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 13:01:58.689 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:01:58.689 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:01:58.689 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:01:58.689 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-20] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:01:58.689 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 13:01:58.691 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 13:01:58.691 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:01:58.691 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:01:58.691 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:01:58.691 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30021] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=390.906813ms] [] [2025/04/04 13:01:58.693 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30021] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/04 13:01:58.700 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30021] [task-type=ImportInto] [server-id=:4000] [subtaskID=30040] [step=post-process] [2025/04/04 13:01:58.700 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=30021] [step=post-process] [subtask-id=30040] [2025/04/04 13:01:58.700 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=30021] [step=post-process] [subtask-id=30040] [2025/04/04 13:01:58.700 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=30021] [step=post-process] [subtask-id=30040] [2025/04/04 13:01:58.700 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=30021] [step=post-process] [subtask-id=30040] [takeTime=2.052µs] [] [2025/04/04 13:01:58.700 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=30021] [step=post-process] [subtask-id=30040] [groupId=-1] [size=222] [kvs=6] [checksum=2003671119719883688] [2025/04/04 13:01:58.700 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=30021] [step=post-process] [subtask-id=30040] [checksum="{cksum=2003671119719883688,size=222,kvs=6}"] [2025/04/04 13:01:58.700 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=30021] [step=post-process] [subtask-id=30040] [weight=30] [2025/04/04 13:01:58.700 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=30021] [step=post-process] [subtask-id=30040] [concurrency=15] [2025/04/04 13:01:58.702 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=420] [physicalTableID=420] [indexID=-1] [checksum=13563575747806423567] [totalKvs=4] [totalBytes=148] [2025/04/04 13:01:58.703 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 13:01:58.703 +00:00] [WARN] [table_import.go:856] ["verify checksum failed, but checksum is optional, will skip it"] [type=ImportInto] [task-id=30021] [step=post-process] [subtask-id=30040] [error="[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 13563575747806423567 vs 2003671119719883688) (total_kvs: 4 vs 6) (total_bytes:148 vs 222)"] [errorVerbose="[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 13563575747806423567 vs 2003671119719883688) (total_kvs: 4 vs 6) (total_bytes:148 vs 222)\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/executor/importer.VerifyChecksum\n\tpkg/executor/importer/table_import.go:850\ngithub.com/pingcap/tidb/pkg/disttask/importinto.postProcess.func2\n\tpkg/disttask/importinto/subtask_executor.go:135\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).WithNewSession\n\tpkg/disttask/framework/storage/task_table.go:169\ngithub.com/pingcap/tidb/pkg/disttask/importinto.postProcess\n\tpkg/disttask/importinto/subtask_executor.go:134\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*postProcessStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:553\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:01:58.703 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=30021] [step=post-process] [subtask-id=30040] [takeTime=2.841008ms] [] [2025/04/04 13:01:58.703 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=30021] [step=post-process] [subtask-id=30040] [takeTime=2.963198ms] [] [2025/04/04 13:01:58.703 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30021] [task-type=ImportInto] [server-id=:4000] [subtaskID=30040] [step=post-process] [takeTime=3.088071ms] [] [2025/04/04 13:01:58.712 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 13:01:58.809 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30021] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 13:01:58.809 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30021] [step=post-process] [state=running] [] [2025/04/04 13:01:58.812 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=30021] [2025/04/04 13:01:58.826 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30021] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=133.014644ms] [] [2025/04/04 13:01:58.826 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30021] [type=ImportInto] [2025/04/04 13:01:58.903 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30021] [2025/04/04 13:01:58.909 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 13:01:58.909 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30021] [2025/04/04 13:01:58.931 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 13:01:59.005 +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.98521791\n# Parse_time: 0.000139613\n# Compile_time: 0.000554694\n# Rewrite_time: 0.000197011\n# Optimize_time: 0.000240501\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4NC4ybXMsIG9wZW46NjgwbnMsIGNsb3NlOjkyMm5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk4NC4ybXMsIG9wZW46NjgwbnMsIGNsb3NlOjkyMm5zLCBsb29wczoycP////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.06s) === NAME TestImportInto === RUN TestImportInto/TestColumnsAndUserVars [2025/04/04 13:01:59.019 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:422, Type:drop schema, State:queueing, SchemaState:public, SchemaID:414, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:58.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="DROP DATABASE IF EXISTS load_data;"] [2025/04/04 13:01:59.019 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:422, Type:drop schema, State:queueing, SchemaState:public, SchemaID:414, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:58.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:01:59.024 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=422] [conn=2] [job="ID:422, Type:drop schema, State:queueing, SchemaState:public, SchemaID:414, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:58.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:59.039 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=326] [neededSchemaVersion=327] ["elapsed time"=180.746µs] [gotSchemaVersion=327] [phyTblIDs="[420]"] [actionTypes="[2]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 13:01:59.042 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=422] [version=327] [2025/04/04 13:01:59.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=327] ["take time"=7.162499ms] [job="ID:422, Type:drop schema, State:running, SchemaState:write only, SchemaID:414, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:58.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:59.053 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=422] [conn=2] [job="ID:422, Type:drop schema, State:running, SchemaState:write only, SchemaID:414, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:58.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:59.065 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=327] [neededSchemaVersion=328] ["elapsed time"=141.749µs] [gotSchemaVersion=328] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 13:01:59.068 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=422] [version=328] [2025/04/04 13:01:59.069 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=328] ["take time"=6.679571ms] [job="ID:422, Type:drop schema, State:running, SchemaState:delete only, SchemaID:414, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:58.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:59.077 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=422] [conn=2] [job="ID:422, Type:drop schema, State:running, SchemaState:delete only, SchemaID:414, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:58.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:59.082 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/04 13:01:59.091 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=328] [neededSchemaVersion=329] ["elapsed time"=137.834µs] [gotSchemaVersion=329] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 13:01:59.094 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=422] [version=329] [2025/04/04 13:01:59.096 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=329] ["take time"=6.90548ms] [job="ID:422, Type:drop schema, State:done, SchemaState:none, SchemaID:414, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:58.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:59.104 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=422] [tableIDs="[420]"] [comment="drop schema: table IDs"] [2025/04/04 13:01:59.108 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=422] [jobType="drop schema"] [2025/04/04 13:01:59.109 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=422] [conn=2] [job="ID:422, Type:drop schema, State:synced, SchemaState:none, SchemaID:414, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:58.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:59.124 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=422] [2025/04/04 13:01:59.124 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=329] [cur_db=] [sql="DROP DATABASE IF EXISTS load_data;"] [user=root@%] [2025/04/04 13:01:59.135 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:424, Type:create schema, State:queueing, SchemaState:none, SchemaID:423, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:59.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:01:59.135 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:424, Type:create schema, State:queueing, SchemaState:none, SchemaID:423, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:59.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE load_data;"] [2025/04/04 13:01:59.140 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=424] [conn=2] [job="ID:424, Type:create schema, State:queueing, SchemaState:none, SchemaID:423, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:59.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:59.152 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=329] [neededSchemaVersion=330] ["elapsed time"=629.345µs] [gotSchemaVersion=330] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 13:01:59.155 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=424] [version=330] [2025/04/04 13:01:59.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=330] ["take time"=7.144302ms] [job="ID:424, Type:create schema, State:done, SchemaState:public, SchemaID:423, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:59.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:59.166 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=424] [conn=2] [job="ID:424, Type:create schema, State:synced, SchemaState:public, SchemaID:423, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:59.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:59.175 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=424] [2025/04/04 13:01:59.175 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=330] [cur_db=] [sql="CREATE DATABASE load_data;"] [user=root@%] [2025/04/04 13:01:59.188 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:426, Type:create table, State:queueing, SchemaState:none, SchemaID:423, TableID:425, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:59.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:01:59.188 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:426, Type:create table, State:queueing, SchemaState:none, SchemaID:423, TableID:425, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:59.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE load_data.cols_and_vars (a INT, b INT, c int);"] [2025/04/04 13:01:59.193 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=426] [conn=2] [job="ID:426, Type:create table, State:queueing, SchemaState:none, SchemaID:423, TableID:425, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:59.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:59.197 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 425, Table Name: cols_and_vars)"] [2025/04/04 13:01:59.212 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=330] [neededSchemaVersion=331] ["elapsed time"=1.486582ms] [gotSchemaVersion=331] [phyTblIDs="[425]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 13:01:59.215 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=426] [version=331] [2025/04/04 13:01:59.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=331] ["take time"=8.119323ms] [job="ID:426, Type:create table, State:done, SchemaState:public, SchemaID:423, TableID:425, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:59.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:59.227 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=426] [conn=2] [job="ID:426, Type:create table, State:synced, SchemaState:public, SchemaID:423, TableID:425, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:59.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:59.238 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=426] [2025/04/04 13:01:59.238 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=331] [cur_db=] [sql="CREATE TABLE load_data.cols_and_vars (a INT, b INT, c int);"] [user=root@%] [2025/04/04 13:01:59.244 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:01:59.290 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"columns-and-vars\":\"(@`V1`, @`v2`, @`v3`)\",\"set-clause\":\"`a`=@`V1`, `b`=@`V2`*10, `c`=123\",\"file-location\":\"gs://test-load/cols_and_vars-*.tsv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"2\"}}"] [dist-task-enabled=true] [2025/04/04 13:01:59.310 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30022] [task-id=30022] [data-size=81B] [thread-cnt=2] [global-sort=false] [2025/04/04 13:01:59.324 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30022] [2025/04/04 13:01:59.325 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=30022] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=2] [2025/04/04 13:01:59.427 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30022] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 13:01:59.428 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30022] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:01:59.430 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30022] [curr-step=init] [next-step=import] [2025/04/04 13:01:59.438 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:01:59.440 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=cols_and_vars] [2025/04/04 13:01:59.440 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=cols_and_vars] [before=536870912000] [after=81] [2025/04/04 13:01:59.440 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=cols_and_vars] [filesCount=2] [MaxChunkSize=268435456] [RegionsCount=2] [BatchSize=81] [cost=79.181µs] [2025/04/04 13:01:59.440 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=cols_and_vars] [takeTime=183.248µs] [] [2025/04/04 13:01:59.440 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30022] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 13:01:59.440 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30022] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=2] [subtasks=1] [2025/04/04 13:01:59.476 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30022] [type=ImportInto] [concurrency=2] [remaining-slots=50] [2025/04/04 13:01:59.496 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30022] [step=import] [2025/04/04 13:01:59.496 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:01:59.504 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 13:01:59.504 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 13:01:59.504 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 13:01:59.504 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 13:01:59.504 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 13:01:59.504 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 13:01:59.504 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 13:01:59.505 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 13:01:59.505 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 13:01:59.505 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 13:01:59.516 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 13:01:59.518 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 13:01:59.518 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=cols_and_vars] [quota=374.2GB] [2025/04/04 13:01:59.518 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=30022] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 13:01:59.518 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30022] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=2, Mem=1.231GiB]"] [2025/04/04 13:01:59.518 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=cols_and_vars] [import-id=30022] [disk-quota=348.5GiB] [2025/04/04 13:01:59.526 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30022] [task-type=ImportInto] [server-id=:4000] [subtaskID=30041] [step=import] [2025/04/04 13:01:59.526 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30022] [step=import] [subtask-id=30041] [2025/04/04 13:01:59.529 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`cols_and_vars`:0] [engineUUID=af694e56-0929-5815-9e99-dfe7bdad9797] [2025/04/04 13:01:59.532 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`cols_and_vars`:-1] [engineUUID=c5aa228c-66c1-59bd-96a4-4ba391b5695d] [2025/04/04 13:01:59.532 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=425] [2025/04/04 13:01:59.532 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=425] [2025/04/04 13:01:59.533 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=30022] [mode=Import] [2025/04/04 13:01:59.547 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=425] [key=cols_and_vars-1.tsv:0] [2025/04/04 13:01:59.549 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=425] [key=cols_and_vars-1.tsv:0] [readDur=1.116775ms] [encodeDur=595.848µs] [checksum="{cksum=15523735398543567055,size=189,kvs=5}"] [deliverDur=263.482µs] [type=file] [takeTime=2.332ms] [] [2025/04/04 13:01:59.550 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=189] [kvs=5] [files=1] [sstFileSize=1022] [file=/tmp/tidb/import-4000/30022/af694e56-0929-5815-9e99-dfe7bdad9797.sst/d459937b-a588-4032-9d6b-8e79fbe281a0.sst] [firstKey=7480000000000001A95F728000000000000001] [lastKey=7480000000000001A95F728000000000000005] [2025/04/04 13:01:59.552 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=425] [key=cols_and_vars-2.tsv:0] [2025/04/04 13:01:59.554 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=425] [key=cols_and_vars-2.tsv:0] [readDur=877.699µs] [encodeDur=506.217µs] [checksum="{cksum=15251348621166951835,size=152,kvs=4}"] [deliverDur=270.273µs] [type=file] [takeTime=1.94215ms] [] [2025/04/04 13:01:59.555 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=152] [kvs=4] [files=1] [sstFileSize=1006] [file=/tmp/tidb/import-4000/30022/af694e56-0929-5815-9e99-dfe7bdad9797.sst/114b5125-cb24-486e-90d7-096f8d8dfe24.sst] [firstKey=7480000000000001A95F728000000000000010] [lastKey=7480000000000001A95F728000000000000013] [2025/04/04 13:01:59.555 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=30022] [step=import] [engine-id=0] [2025/04/04 13:01:59.555 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=30022] [step=import] [engine-id=0] [2025/04/04 13:01:59.555 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`cols_and_vars`:0] [engineUUID=af694e56-0929-5815-9e99-dfe7bdad9797] [2025/04/04 13:01:59.556 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=30022] [2025/04/04 13:01:59.557 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_data`.`cols_and_vars`:0] [engineUUID=af694e56-0929-5815-9e99-dfe7bdad9797] [takeTime=2.060422ms] [] [2025/04/04 13:01:59.557 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`cols_and_vars`:0] [engineUUID=af694e56-0929-5815-9e99-dfe7bdad9797] [retryCnt=0] [2025/04/04 13:01:59.562 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 13:01:59.583 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=af694e56-0929-5815-9e99-dfe7bdad9797] ["region ranges"=1] [count=9] [size=341] [2025/04/04 13:01:59.584 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 13:01:59.585 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001a95f728000000000000001] [endOfAllRanges=7480000000000001a95f728000000000000014] [startKeyOfFirstRegion=7480000000000001ffa95f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ffa95f728000000000ff0000140000000000fa] [2025/04/04 13:01:59.611 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=af694e56-0929-5815-9e99-dfe7bdad9797] [size=341] [kvs=9] [importedSize=341] [importedCount=9] [2025/04/04 13:01:59.613 +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=55.139737ms] [] [2025/04/04 13:01:59.613 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`cols_and_vars`:0] [engineUUID=af694e56-0929-5815-9e99-dfe7bdad9797] [2025/04/04 13:01:59.614 +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.012571ms] [] [2025/04/04 13:01:59.614 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=30022] [step=import] [engine-id=0] [2025/04/04 13:01:59.614 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`cols_and_vars`:-1] [engineUUID=c5aa228c-66c1-59bd-96a4-4ba391b5695d] [2025/04/04 13:01:59.615 +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.43011ms] [] [2025/04/04 13:01:59.615 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`cols_and_vars`:-1] [engineUUID=c5aa228c-66c1-59bd-96a4-4ba391b5695d] [retryCnt=0] [2025/04/04 13:01:59.619 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=c5aa228c-66c1-59bd-96a4-4ba391b5695d] [2025/04/04 13:01:59.619 +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.561541ms] [] [2025/04/04 13:01:59.619 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`cols_and_vars`:-1] [engineUUID=c5aa228c-66c1-59bd-96a4-4ba391b5695d] [2025/04/04 13:01:59.620 +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=861.653µs] [] [2025/04/04 13:01:59.620 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=30022] [step=import] [subtask-id=30041] [takeTime=94.359455ms] [] [2025/04/04 13:01:59.620 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30022] [task-type=ImportInto] [server-id=:4000] [subtaskID=30041] [step=import] [takeTime=94.502874ms] [] [2025/04/04 13:01:59.632 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30022] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 13:01:59.634 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30022] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:01:59.635 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30022] [curr-step=import] [next-step=post-process] [2025/04/04 13:01:59.635 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=30022] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 13:01:59.666 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=30022] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":9}"] [2025/04/04 13:01:59.667 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30022] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 13:01:59.667 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30022] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=2] [subtasks=1] [2025/04/04 13:01:59.702 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=30022] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 13:01:59.708 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30022] [step=import] [2025/04/04 13:01:59.711 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 13:01:59.711 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 13:01:59.711 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 13:01:59.711 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 13:01:59.711 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 13:01:59.711 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 13:01:59.711 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 13:01:59.711 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:01:59.711 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:01:59.711 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:01:59.711 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-21] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:01:59.711 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 13:01:59.714 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 13:01:59.714 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:01:59.714 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:01:59.714 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:01:59.714 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30022] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=2, Mem=1.231GiB]"] [takeTime=195.210997ms] [] [2025/04/04 13:01:59.715 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30022] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=2, Mem=1.231GiB]"] [2025/04/04 13:01:59.722 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30022] [task-type=ImportInto] [server-id=:4000] [subtaskID=30042] [step=post-process] [2025/04/04 13:01:59.722 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=30022] [step=post-process] [subtask-id=30042] [2025/04/04 13:01:59.722 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=30022] [step=post-process] [subtask-id=30042] [2025/04/04 13:01:59.722 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=30022] [step=post-process] [subtask-id=30042] [2025/04/04 13:01:59.728 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=30022] [step=post-process] [subtask-id=30042] [takeTime=5.256902ms] [] [2025/04/04 13:01:59.728 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=30022] [step=post-process] [subtask-id=30042] [groupId=-1] [size=341] [kvs=9] [checksum=344753918767797588] [2025/04/04 13:01:59.728 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=30022] [step=post-process] [subtask-id=30042] [checksum="{cksum=344753918767797588,size=341,kvs=9}"] [2025/04/04 13:01:59.728 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=30022] [step=post-process] [subtask-id=30042] [weight=30] [2025/04/04 13:01:59.728 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=30022] [step=post-process] [subtask-id=30042] [concurrency=15] [2025/04/04 13:01:59.730 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=425] [physicalTableID=425] [indexID=-1] [checksum=344753918767797588] [totalKvs=9] [totalBytes=341] [2025/04/04 13:01:59.730 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 13:01:59.730 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=30022] [step=post-process] [subtask-id=30042] [local="{cksum=344753918767797588,size=341,kvs=9}"] [2025/04/04 13:01:59.730 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=30022] [step=post-process] [subtask-id=30042] [takeTime=7.777678ms] [] [2025/04/04 13:01:59.730 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=30022] [step=post-process] [subtask-id=30042] [takeTime=7.912087ms] [] [2025/04/04 13:01:59.730 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30022] [task-type=ImportInto] [server-id=:4000] [subtaskID=30042] [step=post-process] [takeTime=8.041301ms] [] [2025/04/04 13:01:59.738 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 13:01:59.832 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30022] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 13:01:59.832 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30022] [step=post-process] [state=running] [] [2025/04/04 13:01:59.835 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=30022] [2025/04/04 13:01:59.849 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30022] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=2, Mem=1.231GiB]"] [takeTime=133.644819ms] [] [2025/04/04 13:01:59.849 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30022] [type=ImportInto] [2025/04/04 13:01:59.926 +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.686979515\n# Parse_time: 0.000221833\n# Compile_time: 0.00053059\n# Rewrite_time: 0.000164447\n# Optimize_time: 0.000235725\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY4Nm1zLCBvcGVuOjc3M25zLCBjbG9zZToxLjE2wrVzLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY4Nm1zLCBvcGVuOjc3M25zLCBjbG9zZToxLjE2wrVzLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\nIMPORT INTO `load_data`.`cols_and_vars` (@`V1`,@`v2`,@`v3`) SET `a`=@`V1`, `b`=@`V2`*10, `c`=123 FROM 'gs://test-load/cols_and_vars-*.tsv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=2;"] [2025/04/04 13:01:59.926 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30022] [2025/04/04 13:01:59.932 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 13:01:59.932 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30022] --- PASS: TestImportInto/TestColumnsAndUserVars (0.93s) === NAME TestImportInto === RUN TestImportInto/TestDeliverBytesRows [2025/04/04 13:01:59.953 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 13:01:59.954 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:427, Type:drop schema, State:queueing, SchemaState:public, SchemaID:423, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:59.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop database if exists load_data"] [2025/04/04 13:01:59.954 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:427, Type:drop schema, State:queueing, SchemaState:public, SchemaID:423, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:59.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:01:59.959 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=427] [conn=2] [job="ID:427, Type:drop schema, State:queueing, SchemaState:public, SchemaID:423, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:59.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:59.974 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=331] [neededSchemaVersion=332] ["elapsed time"=161.722µs] [gotSchemaVersion=332] [phyTblIDs="[425]"] [actionTypes="[2]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 13:01:59.978 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=427] [version=332] [2025/04/04 13:01:59.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=332] ["take time"=6.565641ms] [job="ID:427, Type:drop schema, State:running, SchemaState:write only, SchemaID:423, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:59.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:01:59.988 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=427] [conn=2] [job="ID:427, Type:drop schema, State:running, SchemaState:write only, SchemaID:423, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:59.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:00.000 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=332] [neededSchemaVersion=333] ["elapsed time"=143.289µs] [gotSchemaVersion=333] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 13:02:00.003 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=427] [version=333] [2025/04/04 13:02:00.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=333] ["take time"=6.912939ms] [job="ID:427, Type:drop schema, State:running, SchemaState:delete only, SchemaID:423, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:59.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:00.013 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=427] [conn=2] [job="ID:427, Type:drop schema, State:running, SchemaState:delete only, SchemaID:423, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:01:59.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:00.019 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/04 13:02:00.028 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=333] [neededSchemaVersion=334] ["elapsed time"=127.944µs] [gotSchemaVersion=334] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 13:02:00.032 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=427] [version=334] [2025/04/04 13:02:00.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=334] ["take time"=7.087546ms] [job="ID:427, Type:drop schema, State:done, SchemaState:none, SchemaID:423, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:59.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:00.042 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=427] [tableIDs="[425]"] [comment="drop schema: table IDs"] [2025/04/04 13:02:00.046 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=427] [jobType="drop schema"] [2025/04/04 13:02:00.047 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=427] [conn=2] [job="ID:427, Type:drop schema, State:synced, SchemaState:none, SchemaID:423, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:01:59.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:00.062 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=427] [2025/04/04 13:02:00.063 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=334] [cur_db=] [sql="drop database if exists load_data"] [user=root@%] [2025/04/04 13:02:00.074 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:429, Type:create schema, State:queueing, SchemaState:none, SchemaID:428, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:00.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database load_data"] [2025/04/04 13:02:00.074 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:429, Type:create schema, State:queueing, SchemaState:none, SchemaID:428, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:00.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:02:00.078 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=429] [conn=2] [job="ID:429, Type:create schema, State:queueing, SchemaState:none, SchemaID:428, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:00.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:00.092 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=334] [neededSchemaVersion=335] ["elapsed time"=673.68µs] [gotSchemaVersion=335] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 13:02:00.095 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=429] [version=335] [2025/04/04 13:02:00.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=335] ["take time"=7.581934ms] [job="ID:429, Type:create schema, State:done, SchemaState:public, SchemaID:428, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:00.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:00.107 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=429] [conn=2] [job="ID:429, Type:create schema, State:synced, SchemaState:public, SchemaID:428, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:00.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:00.116 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=429] [2025/04/04 13:02:00.116 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=335] [cur_db=] [sql="create database load_data"] [user=root@%] [2025/04/04 13:02:00.118 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=335] [cur_db=load_data] [sql="drop table if exists t;"] [user=root@%] [2025/04/04 13:02:00.131 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:431, Type:create table, State:queueing, SchemaState:none, SchemaID:428, TableID:430, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:00.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100), c int);"] [2025/04/04 13:02:00.131 +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:428, TableID:430, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:00.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:02:00.136 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=431] [conn=2] [job="ID:431, Type:create table, State:queueing, SchemaState:none, SchemaID:428, TableID:430, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:00.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:00.141 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 430, Table Name: t)"] [2025/04/04 13:02:00.156 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=335] [neededSchemaVersion=336] ["elapsed time"=1.691978ms] [gotSchemaVersion=336] [phyTblIDs="[430]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 13:02:00.160 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=431] [version=336] [2025/04/04 13:02: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=336] ["take time"=8.477779ms] [job="ID:431, Type:create table, State:done, SchemaState:public, SchemaID:428, TableID:430, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:00.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:00.172 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=431] [conn=2] [job="ID:431, Type:create table, State:synced, SchemaState:public, SchemaID:428, TableID:430, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:00.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:00.183 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=431] [2025/04/04 13:02:00.184 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=336] [cur_db=load_data] [sql="create table t (a bigint, b varchar(100), c int);"] [user=root@%] [2025/04/04 13:02:00.189 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:00.235 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-multi-load/min-deliver-bytes-rows.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/04 13:02:00.253 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30023] [task-id=30023] [data-size=98B] [thread-cnt=26] [global-sort=false] [2025/04/04 13:02:00.267 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30023] [2025/04/04 13:02:00.267 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=30023] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/04 13:02:00.370 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30023] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 13:02:00.371 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30023] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:02:00.372 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30023] [curr-step=init] [next-step=import] [2025/04/04 13:02:00.379 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:00.382 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 13:02:00.382 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=98] [2025/04/04 13:02:00.382 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=98] [cost=44.382µs] [2025/04/04 13:02:00.382 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=147.631µs] [] [2025/04/04 13:02:00.382 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30023] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 13:02:00.382 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30023] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/04 13:02:00.417 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30023] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 13:02:00.437 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30023] [step=import] [2025/04/04 13:02:00.437 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:00.446 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 13:02:00.446 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 13:02:00.446 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 13:02:00.446 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 13:02:00.447 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 13:02:00.447 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 13:02:00.447 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 13:02:00.447 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 13:02:00.448 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 13:02:00.448 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 13:02:00.460 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 13:02:00.462 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 13:02:00.462 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 13:02:00.462 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=30023] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 13:02:00.462 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=30023] [disk-quota=348.5GiB] [2025/04/04 13:02:00.462 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30023] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 13:02:00.470 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30023] [task-type=ImportInto] [server-id=:4000] [subtaskID=30043] [step=import] [2025/04/04 13:02:00.471 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30023] [step=import] [subtask-id=30043] [2025/04/04 13:02:00.474 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 13:02:00.476 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=30023] [mode=Import] [2025/04/04 13:02:00.477 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 13:02:00.478 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=430] [2025/04/04 13:02:00.491 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=430] [key=min-deliver-bytes-rows.csv:0] [2025/04/04 13:02:00.493 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=430] [key=min-deliver-bytes-rows.csv:0] [readDur=981.629µs] [encodeDur=452.654µs] [checksum="{cksum=4146132618935749931,size=369,kvs=9}"] [deliverDur=305.58µs] [type=file] [takeTime=2.190634ms] [] [2025/04/04 13:02:00.494 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=369] [kvs=9] [files=1] [sstFileSize=1094] [file=/tmp/tidb/import-4000/30023/67ea3590-7c4f-5a31-ade6-de9a31136e82.sst/4fb2c2a8-30ce-4008-8546-fe3678fcaf4b.sst] [firstKey=7480000000000001AE5F728000000000000001] [lastKey=7480000000000001AE5F728000000000000009] [2025/04/04 13:02:00.494 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=30023] [step=import] [engine-id=0] [2025/04/04 13:02:00.494 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=30023] [step=import] [engine-id=0] [2025/04/04 13:02:00.494 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 13:02:00.495 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=30023] [2025/04/04 13:02:00.496 +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.80893ms] [] [2025/04/04 13:02:00.496 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [retryCnt=0] [2025/04/04 13:02:00.500 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 13:02:00.522 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] ["region ranges"=1] [count=9] [size=369] [2025/04/04 13:02:00.522 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 13:02:00.524 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001ae5f728000000000000001] [endOfAllRanges=7480000000000001ae5f72800000000000000a] [startKeyOfFirstRegion=7480000000000001ffae5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ffae5f728000000000ff00000a0000000000fa] [2025/04/04 13:02:00.535 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] [size=369] [kvs=9] [importedSize=369] [importedCount=9] [2025/04/04 13:02:00.537 +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.738569ms] [] [2025/04/04 13:02:00.537 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 13:02:00.538 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=1.135061ms] [] [2025/04/04 13:02:00.538 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=30023] [step=import] [engine-id=0] [2025/04/04 13:02:00.538 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 13:02:00.540 +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.51637ms] [] [2025/04/04 13:02:00.540 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [retryCnt=0] [2025/04/04 13:02:00.543 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 13:02:00.543 +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.631453ms] [] [2025/04/04 13:02:00.543 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 13:02:00.544 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=833.094µs] [] [2025/04/04 13:02:00.544 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=30023] [step=import] [subtask-id=30043] [takeTime=73.781483ms] [] [2025/04/04 13:02:00.544 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30023] [task-type=ImportInto] [server-id=:4000] [subtaskID=30043] [step=import] [takeTime=73.954795ms] [] [2025/04/04 13:02:00.575 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30023] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 13:02:00.576 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30023] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:02:00.578 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30023] [curr-step=import] [next-step=post-process] [2025/04/04 13:02:00.578 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=30023] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 13:02:00.609 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=30023] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":9}"] [2025/04/04 13:02:00.610 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30023] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 13:02:00.611 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30023] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=26] [subtasks=1] [2025/04/04 13:02:00.633 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=30023] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 13:02:00.639 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30023] [step=import] [2025/04/04 13:02:00.642 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 13:02:00.642 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 13:02:00.642 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 13:02:00.642 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 13:02:00.642 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 13:02:00.642 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 13:02:00.642 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 13:02:00.642 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:02:00.642 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:02:00.642 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:02:00.642 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-22] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:02:00.643 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 13:02:00.645 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 13:02:00.645 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:02:00.645 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:02:00.645 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:02:00.645 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30023] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=182.967359ms] [] [2025/04/04 13:02:00.647 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30023] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 13:02:00.653 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30023] [task-type=ImportInto] [server-id=:4000] [subtaskID=30044] [step=post-process] [2025/04/04 13:02:00.654 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=30023] [step=post-process] [subtask-id=30044] [2025/04/04 13:02:00.654 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=30023] [step=post-process] [subtask-id=30044] [2025/04/04 13:02:00.654 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=30023] [step=post-process] [subtask-id=30044] [2025/04/04 13:02:00.659 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=30023] [step=post-process] [subtask-id=30044] [takeTime=5.512115ms] [] [2025/04/04 13:02:00.659 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=30023] [step=post-process] [subtask-id=30044] [groupId=-1] [size=369] [kvs=9] [checksum=4146132618935749931] [2025/04/04 13:02:00.659 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=30023] [step=post-process] [subtask-id=30044] [checksum="{cksum=4146132618935749931,size=369,kvs=9}"] [2025/04/04 13:02:00.659 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=30023] [step=post-process] [subtask-id=30044] [weight=30] [2025/04/04 13:02:00.659 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=30023] [step=post-process] [subtask-id=30044] [concurrency=15] [2025/04/04 13:02:00.661 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=430] [physicalTableID=430] [indexID=-1] [checksum=4146132618935749931] [totalKvs=9] [totalBytes=369] [2025/04/04 13:02:00.662 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 13:02:00.662 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=30023] [step=post-process] [subtask-id=30044] [local="{cksum=4146132618935749931,size=369,kvs=9}"] [2025/04/04 13:02:00.662 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=30023] [step=post-process] [subtask-id=30044] [takeTime=8.08331ms] [] [2025/04/04 13:02:00.662 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=30023] [step=post-process] [subtask-id=30044] [takeTime=8.230513ms] [] [2025/04/04 13:02:00.662 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30023] [task-type=ImportInto] [server-id=:4000] [subtaskID=30044] [step=post-process] [takeTime=8.351518ms] [] [2025/04/04 13:02:00.669 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 13:02:00.675 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30023] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 13:02:00.675 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30023] [step=post-process] [state=running] [] [2025/04/04 13:02:00.677 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=30023] [2025/04/04 13:02:00.709 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30023] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=62.647667ms] [] [2025/04/04 13:02:00.709 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30023] [type=ImportInto] [2025/04/04 13:02:00.770 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30023] [2025/04/04 13:02:00.776 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 13:02:00.776 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30023] [2025/04/04 13:02:00.798 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 13:02:00.871 +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.687006217\n# Parse_time: 0.00007833\n# Compile_time: 0.000497507\n# Rewrite_time: 0.00016486\n# Optimize_time: 0.000835112\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('SvBJMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY4Ni4ybXMsIG9wZW46NzQxbnMsIGNsb3NlOjEuMDLCtXMsIGxvb3BzOjIJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('ZfBSCmEKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWjB0aW1lOjY4Ni4ybXMsIG9wZW46NzQxbnMsIGNsb3NlOjEuMDLCtXMsIGxvb3BzOjJw//////8BAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.0000187\nuse load_data;\nIMPORT INTO `load_data`.`t` FROM 'gs://test-multi-load/min-deliver-bytes-rows.csv?endpoint=http://127.0.0.1:4443/storage/v1/';"] [2025/04/04 13:02:00.886 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:433, Type:truncate table, State:queueing, SchemaState:none, SchemaID:428, TableID:430, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:00.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:02:00.886 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:433, Type:truncate table, State:queueing, SchemaState:none, SchemaID:428, TableID:430, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:00.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table t"] [2025/04/04 13:02:00.891 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=433] [conn=2] [job="ID:433, Type:truncate table, State:queueing, SchemaState:none, SchemaID:428, TableID:430, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:00.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:00.899 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 432, Table Name: t, Old Table ID: 430, Old Table Name: t)"] [2025/04/04 13:02:00.915 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=336] [neededSchemaVersion=337] ["elapsed time"=1.777241ms] [gotSchemaVersion=337] [phyTblIDs="[430,432]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 13:02:00.919 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=433] [version=337] [2025/04/04 13:02:00.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=337] ["take time"=9.352379ms] [job="ID:433, Type:truncate table, State:done, SchemaState:public, SchemaID:428, TableID:430, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:00.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:00.932 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=433] [tableIDs="[430]"] [comment="truncate table: table ID"] [2025/04/04 13:02:00.936 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=433] [jobType="truncate table"] [2025/04/04 13:02:00.937 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=433] [conn=2] [job="ID:433, Type:truncate table, State:synced, SchemaState:public, SchemaID:428, TableID:430, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:00.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:00.955 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=433] [2025/04/04 13:02:00.956 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=337] [cur_db=load_data] [sql="truncate table t"] [user=root@%] [2025/04/04 13:02:00.962 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:01.007 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-multi-load/min-deliver-bytes-rows.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/04 13:02:01.026 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30024] [task-id=30024] [data-size=98B] [thread-cnt=26] [global-sort=false] [2025/04/04 13:02:01.041 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30024] [2025/04/04 13:02:01.041 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=30024] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/04 13:02:01.143 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30024] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 13:02:01.145 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30024] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:02:01.146 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30024] [curr-step=init] [next-step=import] [2025/04/04 13:02:01.153 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:01.156 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 13:02:01.156 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=98] [2025/04/04 13:02:01.156 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=98] [cost=41.03µs] [2025/04/04 13:02:01.156 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=147.248µs] [] [2025/04/04 13:02:01.157 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30024] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 13:02:01.157 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30024] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/04 13:02:01.197 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30024] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 13:02:01.217 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30024] [step=import] [2025/04/04 13:02:01.217 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:01.226 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 13:02:01.226 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 13:02:01.226 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 13:02:01.226 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 13:02:01.226 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 13:02:01.226 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 13:02:01.226 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 13:02:01.227 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 13:02:01.227 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 13:02:01.227 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 13:02:01.240 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 13:02:01.242 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 13:02:01.242 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 13:02:01.243 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=30024] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 13:02:01.243 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=30024] [disk-quota=348.5GiB] [2025/04/04 13:02:01.243 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30024] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 13:02:01.249 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=30024] [mode=Import] [2025/04/04 13:02:01.251 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30024] [task-type=ImportInto] [server-id=:4000] [subtaskID=30045] [step=import] [2025/04/04 13:02:01.251 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30024] [step=import] [subtask-id=30045] [2025/04/04 13:02:01.255 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 13:02:01.259 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 13:02:01.259 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=432] [2025/04/04 13:02:01.267 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=30024] [2025/04/04 13:02:01.274 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=432] [key=min-deliver-bytes-rows.csv:0] [2025/04/04 13:02:01.276 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=432] [key=min-deliver-bytes-rows.csv:0] [readDur=1.000625ms] [encodeDur=577.768µs] [checksum="{cksum=16221390857912093982,size=369,kvs=9}"] [deliverDur=286.042µs] [type=file] [takeTime=1.952236ms] [] [2025/04/04 13:02:01.277 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=369] [kvs=9] [files=1] [sstFileSize=1094] [file=/tmp/tidb/import-4000/30024/67ea3590-7c4f-5a31-ade6-de9a31136e82.sst/94d0562f-efd2-4d63-9c1e-29d4399bf217.sst] [firstKey=7480000000000001B05F728000000000000001] [lastKey=7480000000000001B05F728000000000000009] [2025/04/04 13:02:01.277 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=30024] [step=import] [engine-id=0] [2025/04/04 13:02:01.277 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=30024] [step=import] [engine-id=0] [2025/04/04 13:02:01.277 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 13:02:01.279 +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.000807ms] [] [2025/04/04 13:02:01.279 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [retryCnt=0] [2025/04/04 13:02:01.283 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 13:02:01.305 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] ["region ranges"=1] [count=9] [size=369] [2025/04/04 13:02:01.306 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 13:02:01.307 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001b05f728000000000000001] [endOfAllRanges=7480000000000001b05f72800000000000000a] [startKeyOfFirstRegion=7480000000000001ffb05f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ffb05f728000000000ff00000a0000000000fa] [2025/04/04 13:02:01.319 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] [size=369] [kvs=9] [importedSize=369] [importedCount=9] [2025/04/04 13:02:01.320 +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.288134ms] [] [2025/04/04 13:02:01.320 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 13:02:01.321 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=964.499µs] [] [2025/04/04 13:02:01.322 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=30024] [step=import] [engine-id=0] [2025/04/04 13:02:01.322 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 13:02:01.323 +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.449242ms] [] [2025/04/04 13:02:01.323 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [retryCnt=0] [2025/04/04 13:02:01.327 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 13:02:01.327 +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.614507ms] [] [2025/04/04 13:02:01.327 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 13:02:01.328 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=902.52µs] [] [2025/04/04 13:02:01.328 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=30024] [step=import] [subtask-id=30045] [takeTime=77.040852ms] [] [2025/04/04 13:02:01.328 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30024] [task-type=ImportInto] [server-id=:4000] [subtaskID=30045] [step=import] [takeTime=77.221955ms] [] [2025/04/04 13:02:01.348 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30024] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 13:02:01.349 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30024] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:02:01.351 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30024] [curr-step=import] [next-step=post-process] [2025/04/04 13:02:01.351 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=30024] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 13:02:01.381 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=30024] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":9}"] [2025/04/04 13:02:01.383 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30024] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 13:02:01.383 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30024] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=26] [subtasks=1] [2025/04/04 13:02:01.415 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=30024] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 13:02:01.421 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30024] [step=import] [2025/04/04 13:02:01.424 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 13:02:01.424 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 13:02:01.424 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 13:02:01.424 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 13:02:01.424 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 13:02:01.424 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 13:02:01.424 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:02:01.424 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 13:02:01.424 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:02:01.424 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-23] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:02:01.424 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:02:01.424 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 13:02:01.427 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 13:02:01.427 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:02:01.427 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:02:01.427 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:02:01.427 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30024] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=184.023105ms] [] [2025/04/04 13:02:01.428 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30024] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 13:02:01.435 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30024] [task-type=ImportInto] [server-id=:4000] [subtaskID=30046] [step=post-process] [2025/04/04 13:02:01.436 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=30024] [step=post-process] [subtask-id=30046] [2025/04/04 13:02:01.436 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=30024] [step=post-process] [subtask-id=30046] [2025/04/04 13:02:01.436 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=30024] [step=post-process] [subtask-id=30046] [2025/04/04 13:02:01.441 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=30024] [step=post-process] [subtask-id=30046] [takeTime=5.673612ms] [] [2025/04/04 13:02:01.441 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=30024] [step=post-process] [subtask-id=30046] [groupId=-1] [size=369] [kvs=9] [checksum=16221390857912093982] [2025/04/04 13:02:01.442 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=30024] [step=post-process] [subtask-id=30046] [checksum="{cksum=16221390857912093982,size=369,kvs=9}"] [2025/04/04 13:02:01.442 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=30024] [step=post-process] [subtask-id=30046] [weight=30] [2025/04/04 13:02:01.442 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=30024] [step=post-process] [subtask-id=30046] [concurrency=15] [2025/04/04 13:02:01.444 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=432] [physicalTableID=432] [indexID=-1] [checksum=16221390857912093982] [totalKvs=9] [totalBytes=369] [2025/04/04 13:02:01.444 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 13:02:01.444 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=30024] [step=post-process] [subtask-id=30046] [local="{cksum=16221390857912093982,size=369,kvs=9}"] [2025/04/04 13:02:01.444 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=30024] [step=post-process] [subtask-id=30046] [takeTime=8.444435ms] [] [2025/04/04 13:02:01.444 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=30024] [step=post-process] [subtask-id=30046] [takeTime=8.584503ms] [] [2025/04/04 13:02:01.444 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30024] [task-type=ImportInto] [server-id=:4000] [subtaskID=30046] [step=post-process] [takeTime=8.735223ms] [] [2025/04/04 13:02:01.453 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 13:02:01.549 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30024] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 13:02:01.549 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30024] [step=post-process] [state=running] [] [2025/04/04 13:02:01.552 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=30024] [2025/04/04 13:02:01.582 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30024] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=153.647168ms] [] [2025/04/04 13:02:01.582 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30024] [type=ImportInto] [2025/04/04 13:02:01.643 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30024] [2025/04/04 13:02:01.644 +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.687825435\n# Parse_time: 0.000074568\n# Compile_time: 0.000452436\n# Rewrite_time: 0.000145338\n# Optimize_time: 0.000282257\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('SfBIMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY4Ny4xbXMsIG9wZW46McK1cywgY2xvc2U6MS4zM8K1cywgbG9vcHM6MglOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('ZPBPCmAKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi90aW1lOjY4Ny4xbXMsIG9wZW46McK1cywgY2xvc2U6MS4zM8K1cywgbG9vcHM6MnD///8JAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.0000187\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.71s) === NAME TestImportInto === RUN TestImportInto/TestDetachedLoadParquet [2025/04/04 13:02:01.649 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 13:02:01.649 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30024] [2025/04/04 13:02:01.660 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:434, Type:drop schema, State:queueing, SchemaState:public, SchemaID:317, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:01.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:02:01.660 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:434, Type:drop schema, State:queueing, SchemaState:public, SchemaID:317, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:01.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="DROP DATABASE IF EXISTS load_csv;"] [2025/04/04 13:02:01.665 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=434] [conn=2] [job="ID:434, Type:drop schema, State:queueing, SchemaState:public, SchemaID:317, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:01.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:01.672 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 13:02:01.681 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=337] [neededSchemaVersion=338] ["elapsed time"=155.315µs] [gotSchemaVersion=338] [phyTblIDs="[319]"] [actionTypes="[2]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 13:02:01.685 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=434] [version=338] [2025/04/04 13:02:01.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=338] ["take time"=7.746308ms] [job="ID:434, Type:drop schema, State:running, SchemaState:write only, SchemaID:317, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:01.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:01.697 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=434] [conn=2] [job="ID:434, Type:drop schema, State:running, SchemaState:write only, SchemaID:317, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:01.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:01.710 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=338] [neededSchemaVersion=339] ["elapsed time"=128.25µs] [gotSchemaVersion=339] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 13:02:01.714 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=434] [version=339] [2025/04/04 13:02:01.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=339] ["take time"=7.350756ms] [job="ID:434, Type:drop schema, State:running, SchemaState:delete only, SchemaID:317, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:01.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:01.723 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=434] [conn=2] [job="ID:434, Type:drop schema, State:running, SchemaState:delete only, SchemaID:317, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:01.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:01.729 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/04 13:02:01.739 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=339] [neededSchemaVersion=340] ["elapsed time"=166.785µs] [gotSchemaVersion=340] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 13:02:01.743 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=434] [version=340] [2025/04/04 13:02:01.745 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=340] ["take time"=7.588785ms] [job="ID:434, Type:drop schema, State:done, SchemaState:none, SchemaID:317, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:01.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:01.754 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=434] [tableIDs="[319]"] [comment="drop schema: table IDs"] [2025/04/04 13:02:01.758 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=434] [jobType="drop schema"] [2025/04/04 13:02:01.759 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=434] [conn=2] [job="ID:434, Type:drop schema, State:synced, SchemaState:none, SchemaID:317, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:01.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:01.775 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=434] [2025/04/04 13:02:01.776 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=340] [cur_db=load_data] [sql="DROP DATABASE IF EXISTS load_csv;"] [user=root@%] [2025/04/04 13:02:01.787 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:436, Type:create schema, State:queueing, SchemaState:none, SchemaID:435, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:01.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:02:01.787 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:436, Type:create schema, State:queueing, SchemaState:none, SchemaID:435, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:01.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE load_csv;"] [2025/04/04 13:02:01.792 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=436] [conn=2] [job="ID:436, Type:create schema, State:queueing, SchemaState:none, SchemaID:435, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:01.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:01.806 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=340] [neededSchemaVersion=341] ["elapsed time"=713.447µs] [gotSchemaVersion=341] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 13:02:01.810 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=436] [version=341] [2025/04/04 13:02:01.811 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=341] ["take time"=8.211793ms] [job="ID:436, Type:create schema, State:done, SchemaState:public, SchemaID:435, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:01.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:01.822 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=436] [conn=2] [job="ID:436, Type:create schema, State:synced, SchemaState:public, SchemaID:435, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:01.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:01.832 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=436] [2025/04/04 13:02:01.832 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=341] [cur_db=load_data] [sql="CREATE DATABASE load_csv;"] [user=root@%] [2025/04/04 13:02:01.848 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:438, Type:create table, State:queueing, SchemaState:none, SchemaID:435, TableID:437, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:01.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:02:01.848 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:438, Type:create table, State:queueing, SchemaState:none, SchemaID:435, TableID:437, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:01.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t (id INT, val1 INT, val2 VARCHAR(20), d1 DECIMAL(10, 0), d2 DECIMAL(10, 2), d3 DECIMAL(8, 8),d4 DECIMAL(20, 0), d5 DECIMAL(36, 0), d6 DECIMAL(28, 8));"] [2025/04/04 13:02:01.855 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=438] [conn=2] [job="ID:438, Type:create table, State:queueing, SchemaState:none, SchemaID:435, TableID:437, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:01.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:01.861 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 437, Table Name: t)"] [2025/04/04 13:02:01.882 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=341] [neededSchemaVersion=342] ["elapsed time"=2.409666ms] [gotSchemaVersion=342] [phyTblIDs="[437]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 13:02:01.885 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=438] [version=342] [2025/04/04 13:02:01.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=342] ["take time"=9.905215ms] [job="ID:438, Type:create table, State:done, SchemaState:public, SchemaID:435, TableID:437, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:01.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:01.900 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=438] [conn=2] [job="ID:438, Type:create table, State:synced, SchemaState:public, SchemaID:435, TableID:437, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:01.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:01.914 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=438] [2025/04/04 13:02:01.915 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=342] [cur_db=load_csv] [sql="CREATE TABLE t (id INT, val1 INT, val2 VARCHAR(20), d1 DECIMAL(10, 0), d2 DECIMAL(10, 2), d3 DECIMAL(8, 8),d4 DECIMAL(20, 0), d5 DECIMAL(36, 0), d6 DECIMAL(28, 8));"] [user=root@%] [2025/04/04 13:02:01.963 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"/tmp/TestImportIntoTestDetachedLoadParquet112497473/001/test.parquet\",\"format\":\"parquet\"}"] [dist-task-enabled=true] [2025/04/04 13:02:01.963 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 13:02:01.963 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=2686] [2025/04/04 13:02:01.964 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=2686] [cost=563.916µs] [2025/04/04 13:02:01.964 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=674.404µs] [] [2025/04/04 13:02:01.988 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30025] [task-id=30025] [data-size=2.623KiB] [thread-cnt=8] [global-sort=false] [2025/04/04 13:02:02.003 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30025] [2025/04/04 13:02:02.004 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=30025] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/04 13:02:02.106 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30025] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 13:02:02.109 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30025] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:02:02.111 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30025] [curr-step=init] [next-step=import] [2025/04/04 13:02:02.120 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30025] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 13:02:02.120 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30025] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/04 13:02:02.158 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30025] [type=ImportInto] [concurrency=8] [remaining-slots=44] [2025/04/04 13:02:02.180 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30025] [step=import] [2025/04/04 13:02:02.187 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 13:02:02.187 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 13:02:02.188 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 13:02:02.188 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 13:02:02.188 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 13:02:02.188 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 13:02:02.188 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 13:02:02.188 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 13:02:02.189 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 13:02:02.189 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 13:02:02.202 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 13:02:02.204 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 13:02:02.204 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 13:02:02.205 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=30025] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 13:02:02.205 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=30025] [disk-quota=348.5GiB] [2025/04/04 13:02:02.205 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30025] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/04 13:02:02.213 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30025] [task-type=ImportInto] [server-id=:4000] [subtaskID=30047] [step=import] [2025/04/04 13:02:02.213 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30025] [step=import] [subtask-id=30047] [2025/04/04 13:02:02.214 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=30025] [mode=Import] [2025/04/04 13:02:02.217 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [2025/04/04 13:02:02.221 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/04 13:02:02.221 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=437] [2025/04/04 13:02:02.235 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=30025] [2025/04/04 13:02:02.239 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=437] [key=test.parquet:0] [2025/04/04 13:02:02.242 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=437] [key=test.parquet:0] [readDur=1.642826ms] [encodeDur=596.371µs] [checksum="{cksum=13966026291112241924,size=726,kvs=6}"] [deliverDur=235.374µs] [type=file] [takeTime=2.84104ms] [] [2025/04/04 13:02:02.243 +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/30025/1e7b3aaf-1931-5e54-8538-256fb8e461db.sst/bb674c07-ca14-48ed-a8c6-6499af9c0c3e.sst] [firstKey=7480000000000001B55F728000000000000001] [lastKey=7480000000000001B55F728000000000000006] [2025/04/04 13:02:02.243 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=30025] [step=import] [engine-id=0] [2025/04/04 13:02:02.243 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=30025] [step=import] [engine-id=0] [2025/04/04 13:02:02.243 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [2025/04/04 13:02:02.245 +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.139389ms] [] [2025/04/04 13:02:02.245 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [retryCnt=0] [2025/04/04 13:02:02.250 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 13:02:02.272 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=1e7b3aaf-1931-5e54-8538-256fb8e461db] ["region ranges"=1] [count=6] [size=726] [2025/04/04 13:02:02.272 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 13:02:02.274 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001b55f728000000000000001] [endOfAllRanges=7480000000000001b55f728000000000000007] [startKeyOfFirstRegion=7480000000000001ffb55f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ffb55f728000000000ff0000070000000000fa] [2025/04/04 13:02:02.285 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=1e7b3aaf-1931-5e54-8538-256fb8e461db] [size=726] [kvs=6] [importedSize=726] [importedCount=6] [2025/04/04 13:02:02.287 +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.552634ms] [] [2025/04/04 13:02:02.287 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [2025/04/04 13:02:02.288 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [takeTime=1.081156ms] [] [2025/04/04 13:02:02.288 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=30025] [step=import] [engine-id=0] [2025/04/04 13:02:02.288 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/04 13:02:02.290 +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.354098ms] [] [2025/04/04 13:02:02.290 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [retryCnt=0] [2025/04/04 13:02:02.293 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/04 13:02:02.293 +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.528977ms] [] [2025/04/04 13:02:02.293 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/04 13:02:02.294 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [takeTime=979.208µs] [] [2025/04/04 13:02:02.294 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=30025] [step=import] [subtask-id=30047] [takeTime=81.703335ms] [] [2025/04/04 13:02:02.295 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30025] [task-type=ImportInto] [server-id=:4000] [subtaskID=30047] [step=import] [takeTime=82.144876ms] [] [2025/04/04 13:02:02.311 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30025] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 13:02:02.314 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30025] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:02:02.316 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30025] [curr-step=import] [next-step=post-process] [2025/04/04 13:02:02.316 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=30025] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 13:02:02.346 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=30025] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":6}"] [2025/04/04 13:02:02.349 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30025] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 13:02:02.349 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30025] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/04 13:02:02.377 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=30025] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 13:02:02.384 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30025] [step=import] [2025/04/04 13:02:02.387 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 13:02:02.387 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 13:02:02.387 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 13:02:02.387 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 13:02:02.387 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 13:02:02.387 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 13:02:02.387 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 13:02:02.387 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-24] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:02:02.387 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:02:02.387 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:02:02.387 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:02:02.387 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 13:02:02.389 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 13:02:02.389 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:02:02.389 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:02:02.389 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:02:02.389 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30025] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [takeTime=184.259922ms] [] [2025/04/04 13:02:02.392 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30025] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/04 13:02:02.400 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30025] [task-type=ImportInto] [server-id=:4000] [subtaskID=30048] [step=post-process] [2025/04/04 13:02:02.400 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=30025] [step=post-process] [subtask-id=30048] [2025/04/04 13:02:02.400 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=30025] [step=post-process] [subtask-id=30048] [2025/04/04 13:02:02.400 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=30025] [step=post-process] [subtask-id=30048] [2025/04/04 13:02:02.405 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=30025] [step=post-process] [subtask-id=30048] [takeTime=5.524293ms] [] [2025/04/04 13:02:02.405 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=30025] [step=post-process] [subtask-id=30048] [groupId=-1] [size=726] [kvs=6] [checksum=13966026291112241924] [2025/04/04 13:02:02.405 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=30025] [step=post-process] [subtask-id=30048] [checksum="{cksum=13966026291112241924,size=726,kvs=6}"] [2025/04/04 13:02:02.406 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=30025] [step=post-process] [subtask-id=30048] [weight=30] [2025/04/04 13:02:02.406 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=30025] [step=post-process] [subtask-id=30048] [concurrency=15] [2025/04/04 13:02:02.407 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=437] [physicalTableID=437] [indexID=-1] [checksum=13966026291112241924] [totalKvs=6] [totalBytes=726] [2025/04/04 13:02:02.408 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 13:02:02.408 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=30025] [step=post-process] [subtask-id=30048] [local="{cksum=13966026291112241924,size=726,kvs=6}"] [2025/04/04 13:02:02.408 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=30025] [step=post-process] [subtask-id=30048] [takeTime=8.098524ms] [] [2025/04/04 13:02:02.408 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=30025] [step=post-process] [subtask-id=30048] [takeTime=8.234674ms] [] [2025/04/04 13:02:02.408 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30025] [task-type=ImportInto] [server-id=:4000] [subtaskID=30048] [step=post-process] [takeTime=8.359684ms] [] [2025/04/04 13:02:02.414 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 13:02:02.511 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30025] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 13:02:02.511 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30025] [step=post-process] [state=running] [] [2025/04/04 13:02:02.516 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=30025] [2025/04/04 13:02:02.541 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30025] [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=149.203303ms] [] [2025/04/04 13:02:02.541 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30025] [type=ImportInto] [2025/04/04 13:02:02.604 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# User@Host: root[root] @ localhost [localhost]\n# Conn_ID: 2\n# Query_time: 0.68845696\n# Parse_time: 0.000109816\n# Compile_time: 0.000546192\n# Rewrite_time: 0.000181875\n# Optimize_time: 0.000249978\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY4Ny41bXMsIG9wZW46NjY5bnMsIGNsb3NlOjk3NW5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY4Ny41bXMsIG9wZW46NjY5bnMsIGNsb3NlOjk3NW5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.0000187\nuse load_csv;\nIMPORT INTO `load_csv`.`t` FROM '/tmp/TestImportIntoTestDetachedLoadParquet112497473/001/test.parquet' FORMAT 'parquet';"] [2025/04/04 13:02:02.605 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30025] [2025/04/04 13:02:02.611 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 13:02:02.611 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30025] [2025/04/04 13:02:02.619 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:440, Type:truncate table, State:queueing, SchemaState:none, SchemaID:435, TableID:437, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:02.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:02:02.619 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:440, Type:truncate table, State:queueing, SchemaState:none, SchemaID:435, TableID:437, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:02.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="TRUNCATE TABLE t;"] [2025/04/04 13:02:02.624 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=440] [conn=2] [job="ID:440, Type:truncate table, State:queueing, SchemaState:none, SchemaID:435, TableID:437, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:02.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:02.632 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 13:02:02.633 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 439, Table Name: t, Old Table ID: 437, Old Table Name: t)"] [2025/04/04 13:02:02.636 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 13:02:02.656 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=342] [neededSchemaVersion=343] ["elapsed time"=2.370701ms] [gotSchemaVersion=343] [phyTblIDs="[437,439]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 13:02:02.659 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=440] [version=343] [2025/04/04 13:02: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=343] ["take time"=9.300253ms] [job="ID:440, Type:truncate table, State:done, SchemaState:public, SchemaID:435, TableID:437, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:02.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:02.672 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=440] [tableIDs="[437]"] [comment="truncate table: table ID"] [2025/04/04 13:02:02.677 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=440] [jobType="truncate table"] [2025/04/04 13:02:02.678 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=440] [conn=2] [job="ID:440, Type:truncate table, State:synced, SchemaState:public, SchemaID:435, TableID:437, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:02.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:02.699 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=440] [2025/04/04 13:02:02.699 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=343] [cur_db=load_csv] [sql="TRUNCATE TABLE t;"] [user=root@%] [2025/04/04 13:02:02.705 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:02.747 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load-parquet/p?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"parquet\",\"options\":{\"detached\":null}}"] [dist-task-enabled=true] [2025/04/04 13:02:02.769 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30026] [task-id=30026] [data-size=2.623KiB] [thread-cnt=26] [global-sort=false] [2025/04/04 13:02:02.783 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30026] [2025/04/04 13:02:02.783 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=30026] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/04 13:02:02.885 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30026] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 13:02:02.888 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30026] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:02:02.890 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30026] [curr-step=init] [next-step=import] [2025/04/04 13:02:02.898 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:02.901 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 13:02:02.901 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=2686] [2025/04/04 13:02:02.904 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=2686] [cost=3.522294ms] [2025/04/04 13:02:02.904 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=3.674274ms] [] [2025/04/04 13:02:02.905 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30026] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 13:02:02.905 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30026] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/04 13:02:02.947 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30026] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 13:02:02.967 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30026] [step=import] [2025/04/04 13:02:02.967 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:02.975 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 13:02:02.975 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 13:02:02.975 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 13:02:02.975 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 13:02:02.975 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 13:02:02.975 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 13:02:02.975 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 13:02:02.975 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 13:02:02.976 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 13:02:02.976 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 13:02:02.987 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 13:02:02.989 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 13:02:02.989 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 13:02:02.989 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=30026] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 13:02:02.989 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30026] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 13:02:02.989 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=30026] [disk-quota=348.5GiB] [2025/04/04 13:02:02.992 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=30026] [mode=Import] [2025/04/04 13:02:02.997 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30026] [task-type=ImportInto] [server-id=:4000] [subtaskID=30049] [step=import] [2025/04/04 13:02:02.997 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30026] [step=import] [subtask-id=30049] [2025/04/04 13:02:03.001 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [2025/04/04 13:02:03.004 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/04 13:02:03.004 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=439] [2025/04/04 13:02:03.010 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=30026] [2025/04/04 13:02:03.017 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=439] [key=p:0] [2025/04/04 13:02:03.020 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=439] [key=p:0] [readDur=1.281945ms] [encodeDur=674.946µs] [checksum="{cksum=13966026291112241924,size=726,kvs=6}"] [deliverDur=228.511µs] [type=file] [takeTime=2.430151ms] [] [2025/04/04 13:02:03.020 +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/30026/1e7b3aaf-1931-5e54-8538-256fb8e461db.sst/9c0e6dac-3628-4c73-ad12-adeb6e68ae26.sst] [firstKey=7480000000000001B75F728000000000000001] [lastKey=7480000000000001B75F728000000000000006] [2025/04/04 13:02:03.020 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=30026] [step=import] [engine-id=0] [2025/04/04 13:02:03.020 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=30026] [step=import] [engine-id=0] [2025/04/04 13:02:03.020 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [2025/04/04 13:02:03.022 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [takeTime=1.869383ms] [] [2025/04/04 13:02:03.022 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [retryCnt=0] [2025/04/04 13:02:03.026 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 13:02:03.048 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=1e7b3aaf-1931-5e54-8538-256fb8e461db] ["region ranges"=1] [count=6] [size=726] [2025/04/04 13:02:03.048 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 13:02:03.050 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001b75f728000000000000001] [endOfAllRanges=7480000000000001b75f728000000000000007] [startKeyOfFirstRegion=7480000000000001ffb75f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ffb75f728000000000ff0000070000000000fa] [2025/04/04 13:02:03.060 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=1e7b3aaf-1931-5e54-8538-256fb8e461db] [size=726] [kvs=6] [importedSize=726] [importedCount=6] [2025/04/04 13:02:03.062 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [retryCnt=0] [takeTime=39.342636ms] [] [2025/04/04 13:02:03.062 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [2025/04/04 13:02:03.063 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [takeTime=975.072µs] [] [2025/04/04 13:02:03.063 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=30026] [step=import] [engine-id=0] [2025/04/04 13:02:03.063 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/04 13:02:03.064 +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.336768ms] [] [2025/04/04 13:02:03.064 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [retryCnt=0] [2025/04/04 13:02:03.068 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/04 13:02:03.068 +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.39095ms] [] [2025/04/04 13:02:03.068 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/04 13:02:03.069 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [takeTime=773.948µs] [] [2025/04/04 13:02:03.069 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=30026] [step=import] [subtask-id=30049] [takeTime=71.641732ms] [] [2025/04/04 13:02:03.069 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30026] [task-type=ImportInto] [server-id=:4000] [subtaskID=30049] [step=import] [takeTime=71.940219ms] [] [2025/04/04 13:02:03.091 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30026] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 13:02:03.093 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30026] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:02:03.095 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30026] [curr-step=import] [next-step=post-process] [2025/04/04 13:02:03.095 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=30026] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 13:02:03.124 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=30026] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":6}"] [2025/04/04 13:02:03.127 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30026] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 13:02:03.127 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30026] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=26] [subtasks=1] [2025/04/04 13:02:03.150 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=30026] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 13:02:03.156 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30026] [step=import] [2025/04/04 13:02:03.159 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 13:02:03.159 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 13:02:03.159 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 13:02:03.159 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 13:02:03.159 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 13:02:03.159 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 13:02:03.159 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:02:03.159 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 13:02:03.159 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-25] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:02:03.159 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:02:03.159 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:02:03.159 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 13:02:03.161 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 13:02:03.161 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:02:03.161 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:02:03.161 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:02:03.161 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30026] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=171.969019ms] [] [2025/04/04 13:02:03.164 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30026] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 13:02:03.171 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30026] [task-type=ImportInto] [server-id=:4000] [subtaskID=30050] [step=post-process] [2025/04/04 13:02:03.171 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=30026] [step=post-process] [subtask-id=30050] [2025/04/04 13:02:03.171 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=30026] [step=post-process] [subtask-id=30050] [2025/04/04 13:02:03.171 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=30026] [step=post-process] [subtask-id=30050] [2025/04/04 13:02:03.177 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=30026] [step=post-process] [subtask-id=30050] [takeTime=5.799419ms] [] [2025/04/04 13:02:03.177 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=30026] [step=post-process] [subtask-id=30050] [groupId=-1] [size=726] [kvs=6] [checksum=13966026291112241924] [2025/04/04 13:02:03.177 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=30026] [step=post-process] [subtask-id=30050] [checksum="{cksum=13966026291112241924,size=726,kvs=6}"] [2025/04/04 13:02:03.177 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=30026] [step=post-process] [subtask-id=30050] [weight=30] [2025/04/04 13:02:03.177 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=30026] [step=post-process] [subtask-id=30050] [concurrency=15] [2025/04/04 13:02:03.179 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=439] [physicalTableID=439] [indexID=-1] [checksum=13966026291112241924] [totalKvs=6] [totalBytes=726] [2025/04/04 13:02:03.179 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 13:02:03.179 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=30026] [step=post-process] [subtask-id=30050] [local="{cksum=13966026291112241924,size=726,kvs=6}"] [2025/04/04 13:02:03.179 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=30026] [step=post-process] [subtask-id=30050] [takeTime=8.244291ms] [] [2025/04/04 13:02:03.179 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=30026] [step=post-process] [subtask-id=30050] [takeTime=8.397445ms] [] [2025/04/04 13:02:03.179 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30026] [task-type=ImportInto] [server-id=:4000] [subtaskID=30050] [step=post-process] [takeTime=8.564859ms] [] [2025/04/04 13:02:03.186 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 13:02:03.191 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30026] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 13:02:03.191 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30026] [step=post-process] [state=running] [] [2025/04/04 13:02:03.194 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=30026] [2025/04/04 13:02:03.223 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30026] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=59.352404ms] [] [2025/04/04 13:02:03.223 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30026] [type=ImportInto] [2025/04/04 13:02:03.286 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30026] [2025/04/04 13:02:03.292 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 13:02:03.292 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30026] [2025/04/04 13:02:03.317 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 13:02:03.794 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:442, Type:truncate table, State:queueing, SchemaState:none, SchemaID:435, TableID:439, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:03.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:02:03.794 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:442, Type:truncate table, State:queueing, SchemaState:none, SchemaID:435, TableID:439, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:03.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="TRUNCATE TABLE t;"] [2025/04/04 13:02:03.798 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=442] [conn=2] [job="ID:442, Type:truncate table, State:queueing, SchemaState:none, SchemaID:435, TableID:439, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:03.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:03.807 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 441, Table Name: t, Old Table ID: 439, Old Table Name: t)"] [2025/04/04 13:02:03.827 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=343] [neededSchemaVersion=344] ["elapsed time"=2.170833ms] [gotSchemaVersion=344] [phyTblIDs="[439,441]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 13:02:03.831 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=442] [version=344] [2025/04/04 13:02:03.832 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=344] ["take time"=9.019322ms] [job="ID:442, Type:truncate table, State:done, SchemaState:public, SchemaID:435, TableID:439, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:03.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:03.843 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=442] [tableIDs="[439]"] [comment="truncate table: table ID"] [2025/04/04 13:02:03.847 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=442] [jobType="truncate table"] [2025/04/04 13:02:03.848 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=442] [conn=2] [job="ID:442, Type:truncate table, State:synced, SchemaState:public, SchemaID:435, TableID:439, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:03.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:03.867 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=442] [2025/04/04 13:02:03.867 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=344] [cur_db=load_csv] [sql="TRUNCATE TABLE t;"] [user=root@%] --- PASS: TestImportInto/TestDetachedLoadParquet (2.22s) === NAME TestImportInto === RUN TestImportInto/TestDiskQuota [2025/04/04 13:02:03.878 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:443, Type:drop schema, State:queueing, SchemaState:public, SchemaID:214, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:03.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="DROP DATABASE IF EXISTS load_test_disk_quota;"] [2025/04/04 13:02:03.878 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:443, Type:drop schema, State:queueing, SchemaState:public, SchemaID:214, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:03.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:02:03.883 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=443] [conn=2] [job="ID:443, Type:drop schema, State:queueing, SchemaState:public, SchemaID:214, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:03.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:03.898 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=344] [neededSchemaVersion=345] ["elapsed time"=158.755µs] [gotSchemaVersion=345] [phyTblIDs="[216]"] [actionTypes="[2]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 13:02:03.902 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=443] [version=345] [2025/04/04 13:02:03.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=345] ["take time"=6.746419ms] [job="ID:443, Type:drop schema, State:running, SchemaState:write only, SchemaID:214, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:03.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:03.912 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=443] [conn=2] [job="ID:443, Type:drop schema, State:running, SchemaState:write only, SchemaID:214, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:03.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:03.924 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=345] [neededSchemaVersion=346] ["elapsed time"=128.397µs] [gotSchemaVersion=346] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 13:02:03.928 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=443] [version=346] [2025/04/04 13:02:03.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=346] ["take time"=6.759202ms] [job="ID:443, Type:drop schema, State:running, SchemaState:delete only, SchemaID:214, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:03.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:03.936 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=443] [conn=2] [job="ID:443, Type:drop schema, State:running, SchemaState:delete only, SchemaID:214, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:03.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:03.942 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/04 13:02:03.952 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=346] [neededSchemaVersion=347] ["elapsed time"=121.792µs] [gotSchemaVersion=347] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 13:02:03.955 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=443] [version=347] [2025/04/04 13:02:03.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=347] ["take time"=6.710027ms] [job="ID:443, Type:drop schema, State:done, SchemaState:none, SchemaID:214, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:03.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:03.965 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=443] [tableIDs="[216]"] [comment="drop schema: table IDs"] [2025/04/04 13:02:03.969 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=443] [jobType="drop schema"] [2025/04/04 13:02:03.970 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=443] [conn=2] [job="ID:443, Type:drop schema, State:synced, SchemaState:none, SchemaID:214, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:03.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:03.985 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=443] [2025/04/04 13:02:03.985 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=347] [cur_db=load_csv] [sql="DROP DATABASE IF EXISTS load_test_disk_quota;"] [user=root@%] [2025/04/04 13:02:03.997 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:445, Type:create schema, State:queueing, SchemaState:none, SchemaID:444, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:03.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:02:03.997 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:445, Type:create schema, State:queueing, SchemaState:none, SchemaID:444, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:03.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE load_test_disk_quota;"] [2025/04/04 13:02:04.002 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=445] [conn=2] [job="ID:445, Type:create schema, State:queueing, SchemaState:none, SchemaID:444, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:03.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:04.014 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=347] [neededSchemaVersion=348] ["elapsed time"=628.796µs] [gotSchemaVersion=348] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 13:02:04.017 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=445] [version=348] [2025/04/04 13:02:04.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=348] ["take time"=7.27949ms] [job="ID:445, Type:create schema, State:done, SchemaState:public, SchemaID:444, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:03.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:04.028 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=445] [conn=2] [job="ID:445, Type:create schema, State:synced, SchemaState:public, SchemaID:444, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:03.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:04.037 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=445] [2025/04/04 13:02:04.037 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=348] [cur_db=load_csv] [sql="CREATE DATABASE load_test_disk_quota;"] [user=root@%] [2025/04/04 13:02:04.049 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:447, Type:create table, State:queueing, SchemaState:none, SchemaID:444, TableID:446, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:03.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE load_test_disk_quota.t(a int, b int)"] [2025/04/04 13:02:04.049 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:447, Type:create table, State:queueing, SchemaState:none, SchemaID:444, TableID:446, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:03.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:02:04.054 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=447] [conn=2] [job="ID:447, Type:create table, State:queueing, SchemaState:none, SchemaID:444, TableID:446, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:03.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:04.059 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 446, Table Name: t)"] [2025/04/04 13:02:04.073 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=348] [neededSchemaVersion=349] ["elapsed time"=1.501687ms] [gotSchemaVersion=349] [phyTblIDs="[446]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 13:02:04.076 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=447] [version=349] [2025/04/04 13:02:04.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=349] ["take time"=8.165132ms] [job="ID:447, Type:create table, State:done, SchemaState:public, SchemaID:444, TableID:446, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:03.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:04.088 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=447] [conn=2] [job="ID:447, Type:create table, State:synced, SchemaState:public, SchemaID:444, TableID:446, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:03.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:04.098 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=447] [2025/04/04 13:02:04.099 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=349] [cur_db=load_csv] [sql="CREATE TABLE load_test_disk_quota.t(a int, b int)"] [user=root@%] [2025/04/04 13:02:04.133 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:04.174 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/diskquota-test.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"disk_quota\":\"1b\"}}"] [dist-task-enabled=true] [2025/04/04 13:02:04.192 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30027] [task-id=30027] [data-size=95.49KiB] [thread-cnt=26] [global-sort=false] [2025/04/04 13:02:04.204 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30027] [2025/04/04 13:02:04.204 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=30027] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/04 13:02:04.306 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30027] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 13:02:04.307 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30027] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:02:04.308 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30027] [curr-step=init] [next-step=import] [2025/04/04 13:02:04.316 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:04.318 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 13:02:04.318 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=97780] [2025/04/04 13:02:04.318 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=97780] [cost=47.062µs] [2025/04/04 13:02:04.318 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=140.356µs] [] [2025/04/04 13:02:04.318 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30027] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 13:02:04.318 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30027] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/04 13:02:04.345 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30027] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 13:02:04.364 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30027] [step=import] [2025/04/04 13:02:04.364 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:04.372 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 13:02:04.372 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 13:02:04.372 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 13:02:04.372 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 13:02:04.372 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 13:02:04.372 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 13:02:04.372 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 13:02:04.372 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 13:02:04.373 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 13:02:04.373 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 13:02:04.384 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 13:02:04.385 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 13:02:04.386 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=30027] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 13:02:04.386 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=30027] [disk-quota=1B] [2025/04/04 13:02:04.386 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30027] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 13:02:04.393 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30027] [task-type=ImportInto] [server-id=:4000] [subtaskID=30051] [step=import] [2025/04/04 13:02:04.393 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30027] [step=import] [subtask-id=30051] [2025/04/04 13:02:04.396 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_test_disk_quota`.`t`:0] [engineUUID=958a8637-d337-5bb1-a7f0-a440d652de89] [2025/04/04 13:02:04.399 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_test_disk_quota`.`t`:-1] [engineUUID=2412f538-0a8b-5aeb-ad25-2c75702b9b27] [2025/04/04 13:02:04.399 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=446] [2025/04/04 13:02:04.412 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=30027] [mode=Import] [2025/04/04 13:02:04.412 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=446] [key=diskquota-test.csv:0] [2025/04/04 13:02:04.434 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=30027] [2025/04/04 13:02:04.487 +00:00] [WARN] [table_import.go:568] ["disk quota exceeded"] [table=t] [import-id=30027] [diskSize=0] [memSize=35467] [quota=1] [largeEnginesCount=1] [inProgressLargeEnginesCount=0] [2025/04/04 13:02:04.494 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=98304] [kvs=2816] [files=1] [sstFileSize=29179] [file=/tmp/tidb/import-4000/30027/958a8637-d337-5bb1-a7f0-a440d652de89.sst/2222a2f1-b62c-4ec0-a88c-9ef5843400a1.sst] [firstKey=7480000000000001BE5F728000000000000001] [lastKey=7480000000000001BE5F728000000000000B00] [2025/04/04 13:02:04.496 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=] [engineUUID=958a8637-d337-5bb1-a7f0-a440d652de89] [retryCnt=0] [2025/04/04 13:02:04.500 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 13:02:04.522 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=958a8637-d337-5bb1-a7f0-a440d652de89] ["region ranges"=1] [count=2816] [size=98304] [2025/04/04 13:02:04.522 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 13:02:04.524 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001be5f728000000000000001] [endOfAllRanges=7480000000000001be5f728000000000000b01] [startKeyOfFirstRegion=7480000000000001ffbe5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ffbe5f728000000000ff000b010000000000fa] [2025/04/04 13:02:04.547 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=958a8637-d337-5bb1-a7f0-a440d652de89] [size=98304] [kvs=2816] [importedSize=98304] [importedCount=2816] [2025/04/04 13:02:04.548 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=] [engineUUID=958a8637-d337-5bb1-a7f0-a440d652de89] [retryCnt=0] [takeTime=52.174253ms] [] [2025/04/04 13:02:04.554 +00:00] [WARN] [table_import.go:568] ["disk quota exceeded"] [table=t] [import-id=30027] [diskSize=860] [memSize=66127] [quota=1] [largeEnginesCount=2] [inProgressLargeEnginesCount=0] [2025/04/04 13:02:04.560 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=98315] [kvs=2809] [files=1] [sstFileSize=28849] [file=/tmp/tidb/import-4000/30027/958a8637-d337-5bb1-a7f0-a440d652de89.sst/03942dfb-64a5-4bfc-8da9-968933b71465.sst] [firstKey=7480000000000001BE5F728000000000000B01] [lastKey=7480000000000001BE5F7280000000000015F9] [2025/04/04 13:02:04.563 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=] [engineUUID=2412f538-0a8b-5aeb-ad25-2c75702b9b27] [retryCnt=0] [2025/04/04 13:02:04.566 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2412f538-0a8b-5aeb-ad25-2c75702b9b27] [2025/04/04 13:02:04.566 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=] [engineUUID=2412f538-0a8b-5aeb-ad25-2c75702b9b27] [retryCnt=0] [takeTime=3.391685ms] [] [2025/04/04 13:02:04.570 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=] [engineUUID=958a8637-d337-5bb1-a7f0-a440d652de89] [retryCnt=0] [2025/04/04 13:02:04.574 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 13:02:04.595 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=958a8637-d337-5bb1-a7f0-a440d652de89] ["region ranges"=1] [count=2809] [size=98315] [2025/04/04 13:02:04.595 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 13:02:04.597 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001be5f728000000000000b01] [endOfAllRanges=7480000000000001be5f7280000000000015fa] [startKeyOfFirstRegion=7480000000000001ffbe5f728000000000ff000b010000000000fa] [endKeyOfLastRegion=7480000000000001ffbe5f728000000000ff0015fa0000000000fa] [2025/04/04 13:02:04.617 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=958a8637-d337-5bb1-a7f0-a440d652de89] [size=98315] [kvs=2809] [importedSize=196619] [importedCount=5625] [2025/04/04 13:02:04.619 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=] [engineUUID=958a8637-d337-5bb1-a7f0-a440d652de89] [retryCnt=0] [takeTime=48.945538ms] [] [2025/04/04 13:02:04.624 +00:00] [WARN] [table_import.go:568] ["disk quota exceeded"] [table=t] [import-id=30027] [diskSize=0] [memSize=147467] [quota=1] [largeEnginesCount=1] [inProgressLargeEnginesCount=0] [2025/04/04 13:02:04.630 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=98315] [kvs=2809] [files=1] [sstFileSize=29106] [file=/tmp/tidb/import-4000/30027/958a8637-d337-5bb1-a7f0-a440d652de89.sst/72ae44c8-7046-418a-b8af-c6bb3df42b57.sst] [firstKey=7480000000000001BE5F7280000000000015FA] [lastKey=7480000000000001BE5F7280000000000020F2] [2025/04/04 13:02:04.632 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=] [engineUUID=958a8637-d337-5bb1-a7f0-a440d652de89] [retryCnt=0] [2025/04/04 13:02:04.636 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 13:02:04.658 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=958a8637-d337-5bb1-a7f0-a440d652de89] ["region ranges"=1] [count=2809] [size=98315] [2025/04/04 13:02:04.658 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 13:02:04.660 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001be5f7280000000000015fa] [endOfAllRanges=7480000000000001be5f7280000000000020f3] [startKeyOfFirstRegion=7480000000000001ffbe5f728000000000ff0015fa0000000000fa] [endKeyOfLastRegion=7480000000000001ffbe5f728000000000ff0020f30000000000fa] [2025/04/04 13:02:04.685 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=958a8637-d337-5bb1-a7f0-a440d652de89] [size=98315] [kvs=2809] [importedSize=294934] [importedCount=8434] [2025/04/04 13:02:04.686 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=] [engineUUID=958a8637-d337-5bb1-a7f0-a440d652de89] [retryCnt=0] [takeTime=53.953254ms] [] [2025/04/04 13:02:04.692 +00:00] [WARN] [table_import.go:568] ["disk quota exceeded"] [table=t] [import-id=30027] [diskSize=860] [memSize=174872] [quota=1] [largeEnginesCount=2] [inProgressLargeEnginesCount=0] [2025/04/04 13:02:04.695 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=446] [key=diskquota-test.csv:0] [readDur=53.838209ms] [encodeDur=181.080068ms] [checksum="{cksum=13278823448959016481,size=349744,kvs=10000}"] [deliverDur=24.461338ms] [type=file] [takeTime=282.50872ms] [] [2025/04/04 13:02:04.695 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=54810] [kvs=1566] [files=1] [sstFileSize=16580] [file=/tmp/tidb/import-4000/30027/958a8637-d337-5bb1-a7f0-a440d652de89.sst/b7c3c8e9-21c3-4c15-b9cb-35575fb115c9.sst] [firstKey=7480000000000001BE5F7280000000000020F3] [lastKey=7480000000000001BE5F728000000000002710] [2025/04/04 13:02:04.695 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=30027] [step=import] [engine-id=0] [2025/04/04 13:02:04.695 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=30027] [step=import] [engine-id=0] [2025/04/04 13:02:04.695 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_test_disk_quota`.`t`:0] [engineUUID=958a8637-d337-5bb1-a7f0-a440d652de89] [2025/04/04 13:02:04.698 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=] [engineUUID=2412f538-0a8b-5aeb-ad25-2c75702b9b27] [retryCnt=0] [2025/04/04 13:02:04.698 +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=1.994698ms] [] [2025/04/04 13:02:04.698 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_test_disk_quota`.`t`:0] [engineUUID=958a8637-d337-5bb1-a7f0-a440d652de89] [retryCnt=0] [2025/04/04 13:02:04.701 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2412f538-0a8b-5aeb-ad25-2c75702b9b27] [2025/04/04 13:02:04.701 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=] [engineUUID=2412f538-0a8b-5aeb-ad25-2c75702b9b27] [retryCnt=0] [takeTime=3.885036ms] [] [2025/04/04 13:02:04.702 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 13:02:04.706 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=] [engineUUID=958a8637-d337-5bb1-a7f0-a440d652de89] [retryCnt=0] [2025/04/04 13:02:04.724 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=958a8637-d337-5bb1-a7f0-a440d652de89] ["region ranges"=1] [count=1566] [size=54810] [2025/04/04 13:02:04.724 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 13:02:04.725 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001be5f7280000000000020f3] [endOfAllRanges=7480000000000001be5f728000000000002711] [startKeyOfFirstRegion=7480000000000001ffbe5f728000000000ff0020f30000000000fa] [endKeyOfLastRegion=7480000000000001ffbe5f728000000000ff0027110000000000fa] [2025/04/04 13:02:04.742 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=958a8637-d337-5bb1-a7f0-a440d652de89] [size=54810] [kvs=1566] [importedSize=349744] [importedCount=10000] [2025/04/04 13:02:04.744 +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=45.940221ms] [] [2025/04/04 13:02:04.744 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_test_disk_quota`.`t`:0] [engineUUID=958a8637-d337-5bb1-a7f0-a440d652de89] [2025/04/04 13:02:04.744 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 13:02:04.765 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=958a8637-d337-5bb1-a7f0-a440d652de89] ["region ranges"=1] [count=1566] [size=54810] [2025/04/04 13:02:04.765 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 13:02:04.767 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001be5f7280000000000020f3] [endOfAllRanges=7480000000000001be5f728000000000002711] [startKeyOfFirstRegion=7480000000000001ffbe5f728000000000ff0020f30000000000fa] [endKeyOfLastRegion=7480000000000001ffbe5f728000000000ff0027110000000000fa] [2025/04/04 13:02:04.786 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=958a8637-d337-5bb1-a7f0-a440d652de89] [size=54810] [kvs=1566] [importedSize=404554] [importedCount=11566] [2025/04/04 13:02:04.787 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=] [engineUUID=958a8637-d337-5bb1-a7f0-a440d652de89] [retryCnt=0] [takeTime=81.324945ms] [] [2025/04/04 13:02:04.793 +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=48.833888ms] [] [2025/04/04 13:02:04.793 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=30027] [step=import] [engine-id=0] [2025/04/04 13:02:04.793 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_test_disk_quota`.`t`:-1] [engineUUID=2412f538-0a8b-5aeb-ad25-2c75702b9b27] [2025/04/04 13:02:04.795 +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.022945ms] [] [2025/04/04 13:02:04.795 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_test_disk_quota`.`t`:-1] [engineUUID=2412f538-0a8b-5aeb-ad25-2c75702b9b27] [retryCnt=0] [2025/04/04 13:02:04.796 +00:00] [WARN] [table_import.go:568] ["disk quota exceeded"] [table=t] [import-id=30027] [diskSize=860] [memSize=0] [quota=1] [largeEnginesCount=1] [inProgressLargeEnginesCount=0] [2025/04/04 13:02:04.796 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=] [engineUUID=2412f538-0a8b-5aeb-ad25-2c75702b9b27] [retryCnt=0] [2025/04/04 13:02:04.798 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2412f538-0a8b-5aeb-ad25-2c75702b9b27] [2025/04/04 13:02:04.798 +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=3.6168ms] [] [2025/04/04 13:02:04.798 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_test_disk_quota`.`t`:-1] [engineUUID=2412f538-0a8b-5aeb-ad25-2c75702b9b27] [2025/04/04 13:02:04.799 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=] [engineUUID=2412f538-0a8b-5aeb-ad25-2c75702b9b27] [retryCnt=0] [takeTime=3.339746ms] [] [2025/04/04 13:02:04.799 +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=860.128µs] [] [2025/04/04 13:02:04.799 +00:00] [WARN] [engine_mgr.go:426] ["could not find engine in cleanupEngine"] [category=ddl-ingest] [uuid=2412f538-0a8b-5aeb-ad25-2c75702b9b27] [2025/04/04 13:02:04.799 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=30027] [step=import] [subtask-id=30051] [takeTime=406.819933ms] [] [2025/04/04 13:02:04.800 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30027] [task-type=ImportInto] [server-id=:4000] [subtaskID=30051] [step=import] [takeTime=406.958658ms] [] [2025/04/04 13:02:04.812 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30027] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 13:02:04.813 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30027] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:02:04.814 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30027] [curr-step=import] [next-step=post-process] [2025/04/04 13:02:04.814 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=30027] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 13:02:04.842 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=30027] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":10000}"] [2025/04/04 13:02:04.844 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30027] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 13:02:04.844 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30027] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=26] [subtasks=1] [2025/04/04 13:02:04.866 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=30027] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 13:02:04.873 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30027] [step=import] [2025/04/04 13:02:04.881 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 13:02:04.881 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 13:02:04.881 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 13:02:04.881 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 13:02:04.881 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 13:02:04.881 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 13:02:04.881 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 13:02:04.881 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-26] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:02:04.881 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:02:04.881 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:02:04.881 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:02:04.881 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 13:02:04.883 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 13:02:04.883 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:02:04.883 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:02:04.883 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:02:04.883 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30027] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=497.749728ms] [] [2025/04/04 13:02:04.885 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30027] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 13:02:04.892 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30027] [task-type=ImportInto] [server-id=:4000] [subtaskID=30052] [step=post-process] [2025/04/04 13:02:04.892 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=30027] [step=post-process] [subtask-id=30052] [2025/04/04 13:02:04.892 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=30027] [step=post-process] [subtask-id=30052] [2025/04/04 13:02:04.892 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=30027] [step=post-process] [subtask-id=30052] [2025/04/04 13:02:04.898 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=30027] [step=post-process] [subtask-id=30052] [takeTime=5.433425ms] [] [2025/04/04 13:02:04.898 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=30027] [step=post-process] [subtask-id=30052] [groupId=-1] [size=349744] [kvs=10000] [checksum=13278823448959016481] [2025/04/04 13:02:04.898 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=30027] [step=post-process] [subtask-id=30052] [checksum="{cksum=13278823448959016481,size=349744,kvs=10000}"] [2025/04/04 13:02:04.898 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=30027] [step=post-process] [subtask-id=30052] [weight=30] [2025/04/04 13:02:04.898 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=30027] [step=post-process] [subtask-id=30052] [concurrency=15] [2025/04/04 13:02:04.903 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=446] [physicalTableID=446] [indexID=-1] [checksum=13278823448959016481] [totalKvs=10000] [totalBytes=349744] [2025/04/04 13:02:04.903 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 13:02:04.903 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=30027] [step=post-process] [subtask-id=30052] [local="{cksum=13278823448959016481,size=349744,kvs=10000}"] [2025/04/04 13:02:04.903 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=30027] [step=post-process] [subtask-id=30052] [takeTime=10.875289ms] [] [2025/04/04 13:02:04.903 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=30027] [step=post-process] [subtask-id=30052] [takeTime=11.011933ms] [] [2025/04/04 13:02:04.903 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30027] [task-type=ImportInto] [server-id=:4000] [subtaskID=30052] [step=post-process] [takeTime=11.455036ms] [] [2025/04/04 13:02:04.906 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 13:02:05.011 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30027] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 13:02:05.011 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30027] [step=post-process] [state=running] [] [2025/04/04 13:02:05.013 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=30027] [2025/04/04 13:02:05.041 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30027] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=156.820067ms] [] [2025/04/04 13:02:05.042 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30027] [type=ImportInto] [2025/04/04 13:02:05.106 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30027] [2025/04/04 13:02:05.110 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# User@Host: root[root] @ localhost [localhost]\n# Conn_ID: 2\n# Query_time: 0.982659126\n# Parse_time: 0.000104275\n# Compile_time: 0.000458586\n# Rewrite_time: 0.000138217\n# Optimize_time: 0.000285049\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('SvBJMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4MS44bXMsIG9wZW46NjU1bnMsIGNsb3NlOjEuMDHCtXMsIGxvb3BzOjIJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('ZfBSCmEKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWjB0aW1lOjk4MS44bXMsIG9wZW46NjU1bnMsIGNsb3NlOjEuMDHCtXMsIGxvb3BzOjJw//////8BAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.0000187\nIMPORT INTO `load_test_disk_quota`.`t` FROM 'gs://test-load/diskquota-test.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH disk_quota=_UTF8MB4'1b';"] [2025/04/04 13:02:05.112 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 13:02:05.112 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30027] --- PASS: TestImportInto/TestDiskQuota (1.25s) === NAME TestImportInto === RUN TestImportInto/TestGBK [2025/04/04 13:02:05.129 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:448, Type:drop schema, State:queueing, SchemaState:public, SchemaID:322, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:05.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:02:05.129 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:448, Type:drop schema, State:queueing, SchemaState:public, SchemaID:322, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:05.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="DROP DATABASE IF EXISTS load_charset;"] [2025/04/04 13:02:05.133 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 13:02:05.134 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=448] [conn=2] [job="ID:448, Type:drop schema, State:queueing, SchemaState:public, SchemaID:322, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:05.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:05.152 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=349] [neededSchemaVersion=350] ["elapsed time"=200.601µs] [gotSchemaVersion=350] [phyTblIDs="[324,328,330,332,334]"] [actionTypes="[2,2,2,2,2]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 13:02:05.155 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=448] [version=350] [2025/04/04 13:02:05.156 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=350] ["take time"=6.973707ms] [job="ID:448, Type:drop schema, State:running, SchemaState:write only, SchemaID:322, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:05.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:05.166 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=448] [conn=2] [job="ID:448, Type:drop schema, State:running, SchemaState:write only, SchemaID:322, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:05.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:05.178 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=350] [neededSchemaVersion=351] ["elapsed time"=151.493µs] [gotSchemaVersion=351] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 13:02:05.182 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=448] [version=351] [2025/04/04 13:02:05.183 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=351] ["take time"=7.213351ms] [job="ID:448, Type:drop schema, State:running, SchemaState:delete only, SchemaID:322, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:05.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:05.191 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=448] [conn=2] [job="ID:448, Type:drop schema, State:running, SchemaState:delete only, SchemaID:322, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:05.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:05.198 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/04 13:02:05.209 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=351] [neededSchemaVersion=352] ["elapsed time"=141.224µs] [gotSchemaVersion=352] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 13:02:05.212 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=448] [version=352] [2025/04/04 13:02:05.214 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=352] ["take time"=7.299281ms] [job="ID:448, Type:drop schema, State:done, SchemaState:none, SchemaID:322, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:05.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:05.223 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=448] [tableIDs="[324,328,330,332,334]"] [comment="drop schema: table IDs"] [2025/04/04 13:02:05.228 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=448] [jobType="drop schema"] [2025/04/04 13:02:05.229 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=448] [conn=2] [job="ID:448, Type:drop schema, State:synced, SchemaState:none, SchemaID:322, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:05.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:05.246 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=448] [2025/04/04 13:02:05.246 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=352] [cur_db=load_csv] [sql="DROP DATABASE IF EXISTS load_charset;"] [user=root@%] [2025/04/04 13:02:05.258 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:450, Type:create schema, State:queueing, SchemaState:none, SchemaID:449, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:05.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:02:05.258 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:450, Type:create schema, State:queueing, SchemaState:none, SchemaID:449, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:05.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE load_charset;"] [2025/04/04 13:02:05.263 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=450] [conn=2] [job="ID:450, Type:create schema, State:queueing, SchemaState:none, SchemaID:449, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:05.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:05.277 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=352] [neededSchemaVersion=353] ["elapsed time"=706.538µs] [gotSchemaVersion=353] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 13:02:05.280 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=450] [version=353] [2025/04/04 13:02:05.282 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=353] ["take time"=8.00925ms] [job="ID:450, Type:create schema, State:done, SchemaState:public, SchemaID:449, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:05.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:05.292 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=450] [conn=2] [job="ID:450, Type:create schema, State:synced, SchemaState:public, SchemaID:449, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:05.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:05.302 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=450] [2025/04/04 13:02:05.302 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=353] [cur_db=load_csv] [sql="CREATE DATABASE load_charset;"] [user=root@%] [2025/04/04 13:02:05.316 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:452, Type:create table, State:queueing, SchemaState:none, SchemaID:449, TableID:451, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:05.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:02:05.316 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:452, Type:create table, State:queueing, SchemaState:none, SchemaID:449, TableID:451, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:05.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE load_charset.gbk (\n\t\ti INT, j VARCHAR(255)\n\t\t) CHARACTER SET gbk;"] [2025/04/04 13:02:05.323 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=452] [conn=2] [job="ID:452, Type:create table, State:queueing, SchemaState:none, SchemaID:449, TableID:451, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:05.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:05.327 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 451, Table Name: gbk)"] [2025/04/04 13:02:05.342 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=353] [neededSchemaVersion=354] ["elapsed time"=1.587299ms] [gotSchemaVersion=354] [phyTblIDs="[451]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 13:02:05.345 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=452] [version=354] [2025/04/04 13:02:05.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=354] ["take time"=8.73613ms] [job="ID:452, Type:create table, State:done, SchemaState:public, SchemaID:449, TableID:451, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:05.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:05.360 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=452] [conn=2] [job="ID:452, Type:create table, State:synced, SchemaState:public, SchemaID:449, TableID:451, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:05.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:05.372 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=452] [2025/04/04 13:02:05.372 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=354] [cur_db=load_csv] [sql="CREATE TABLE load_charset.gbk (\n\t\ti INT, j VARCHAR(255)\n\t\t) CHARACTER SET gbk;"] [user=root@%] [2025/04/04 13:02:05.385 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:454, Type:create table, State:queueing, SchemaState:none, SchemaID:449, TableID:453, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:05.343 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:02:05.385 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:454, Type:create table, State:queueing, SchemaState:none, SchemaID:449, TableID:453, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:05.343 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE load_charset.utf8mb4 (\n\t\ti INT, j VARCHAR(255)\n\t\t) CHARACTER SET utf8mb4;"] [2025/04/04 13:02:05.391 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=454] [conn=2] [job="ID:454, Type:create table, State:queueing, SchemaState:none, SchemaID:449, TableID:453, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:05.343 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:05.396 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 453, Table Name: utf8mb4)"] [2025/04/04 13:02:05.411 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=354] [neededSchemaVersion=355] ["elapsed time"=1.628145ms] [gotSchemaVersion=355] [phyTblIDs="[453]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 13:02:05.415 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=454] [version=355] [2025/04/04 13:02:05.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=355] ["take time"=9.075498ms] [job="ID:454, Type:create table, State:done, SchemaState:public, SchemaID:449, TableID:453, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:05.343 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:05.428 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=454] [conn=2] [job="ID:454, Type:create table, State:synced, SchemaState:public, SchemaID:449, TableID:453, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:05.343 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:05.439 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=454] [2025/04/04 13:02:05.439 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=355] [cur_db=load_csv] [sql="CREATE TABLE load_charset.utf8mb4 (\n\t\ti INT, j VARCHAR(255)\n\t\t) CHARACTER SET utf8mb4;"] [user=root@%] [2025/04/04 13:02:05.446 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:05.496 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/gbk.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"character_set\":\"gbk\"}}"] [dist-task-enabled=true] [2025/04/04 13:02:05.515 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30028] [task-id=30028] [data-size=69B] [thread-cnt=26] [global-sort=false] [2025/04/04 13:02:05.530 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30028] [2025/04/04 13:02:05.530 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=30028] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/04 13:02:05.632 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30028] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 13:02:05.633 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30028] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:02:05.634 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30028] [curr-step=init] [next-step=import] [2025/04/04 13:02:05.642 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:05.644 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=gbk] [2025/04/04 13:02:05.644 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=gbk] [before=536870912000] [after=69] [2025/04/04 13:02:05.644 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=gbk] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=69] [cost=76.37µs] [2025/04/04 13:02:05.645 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=gbk] [takeTime=196.662µs] [] [2025/04/04 13:02:05.645 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30028] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 13:02:05.645 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30028] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/04 13:02:05.676 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30028] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 13:02:05.763 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=30028] [mode=Import] [2025/04/04 13:02:05.764 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30028] [step=import] [2025/04/04 13:02:05.764 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:05.773 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 13:02:05.773 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 13:02:05.774 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 13:02:05.774 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 13:02:05.774 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 13:02:05.774 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 13:02:05.774 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 13:02:05.774 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 13:02:05.775 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 13:02:05.775 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 13:02:05.783 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=30028] [2025/04/04 13:02:05.787 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 13:02:05.789 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 13:02:05.789 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=gbk] [quota=374.2GB] [2025/04/04 13:02:05.789 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=30028] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 13:02:05.789 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=gbk] [import-id=30028] [disk-quota=348.5GiB] [2025/04/04 13:02:05.789 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30028] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 13:02:05.797 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30028] [task-type=ImportInto] [server-id=:4000] [subtaskID=30053] [step=import] [2025/04/04 13:02:05.797 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30028] [step=import] [subtask-id=30053] [2025/04/04 13:02:05.801 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:0] [engineUUID=bde291e2-5685-5f69-92ea-f9e2ed68f368] [2025/04/04 13:02:05.805 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:-1] [engineUUID=2007fb28-9e9f-5c54-bfb7-f2a048e6ea16] [2025/04/04 13:02:05.805 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=451] [2025/04/04 13:02:05.828 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=451] [key=gbk.csv:0] [2025/04/04 13:02:05.830 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=451] [key=gbk.csv:0] [readDur=1.170978ms] [encodeDur=301.592µs] [checksum="{cksum=12169156294469719470,size=160,kvs=2}"] [deliverDur=260.993µs] [type=file] [takeTime=2.070449ms] [] [2025/04/04 13:02:05.830 +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/30028/bde291e2-5685-5f69-92ea-f9e2ed68f368.sst/9e47fc26-148f-4631-9e44-cc21c4d87e5c.sst] [firstKey=7480000000000001C35F728000000000000001] [lastKey=7480000000000001C35F728000000000000002] [2025/04/04 13:02:05.830 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=30028] [step=import] [engine-id=0] [2025/04/04 13:02:05.831 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=30028] [step=import] [engine-id=0] [2025/04/04 13:02:05.831 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:0] [engineUUID=bde291e2-5685-5f69-92ea-f9e2ed68f368] [2025/04/04 13:02:05.833 +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.078351ms] [] [2025/04/04 13:02:05.833 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:0] [engineUUID=bde291e2-5685-5f69-92ea-f9e2ed68f368] [retryCnt=0] [2025/04/04 13:02:05.837 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 13:02:05.859 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=bde291e2-5685-5f69-92ea-f9e2ed68f368] ["region ranges"=1] [count=2] [size=160] [2025/04/04 13:02:05.859 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 13:02:05.861 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001c35f728000000000000001] [endOfAllRanges=7480000000000001c35f728000000000000003] [startKeyOfFirstRegion=7480000000000001ffc35f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ffc35f728000000000ff0000030000000000fa] [2025/04/04 13:02:05.872 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=bde291e2-5685-5f69-92ea-f9e2ed68f368] [size=160] [kvs=2] [importedSize=160] [importedCount=2] [2025/04/04 13:02:05.874 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:0] [engineUUID=bde291e2-5685-5f69-92ea-f9e2ed68f368] [retryCnt=0] [takeTime=40.656683ms] [] [2025/04/04 13:02:05.874 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:0] [engineUUID=bde291e2-5685-5f69-92ea-f9e2ed68f368] [2025/04/04 13:02:05.875 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:0] [engineUUID=bde291e2-5685-5f69-92ea-f9e2ed68f368] [takeTime=979.777µs] [] [2025/04/04 13:02:05.875 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=30028] [step=import] [engine-id=0] [2025/04/04 13:02:05.875 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:-1] [engineUUID=2007fb28-9e9f-5c54-bfb7-f2a048e6ea16] [2025/04/04 13:02:05.876 +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.526249ms] [] [2025/04/04 13:02:05.876 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:-1] [engineUUID=2007fb28-9e9f-5c54-bfb7-f2a048e6ea16] [retryCnt=0] [2025/04/04 13:02:05.880 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2007fb28-9e9f-5c54-bfb7-f2a048e6ea16] [2025/04/04 13:02:05.880 +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.590609ms] [] [2025/04/04 13:02:05.880 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:-1] [engineUUID=2007fb28-9e9f-5c54-bfb7-f2a048e6ea16] [2025/04/04 13:02:05.881 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:-1] [engineUUID=2007fb28-9e9f-5c54-bfb7-f2a048e6ea16] [takeTime=1.039115ms] [] [2025/04/04 13:02:05.881 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=30028] [step=import] [subtask-id=30053] [takeTime=84.250878ms] [] [2025/04/04 13:02:05.881 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30028] [task-type=ImportInto] [server-id=:4000] [subtaskID=30053] [step=import] [takeTime=84.438799ms] [] [2025/04/04 13:02:05.937 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30028] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 13:02:05.938 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30028] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:02:05.939 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30028] [curr-step=import] [next-step=post-process] [2025/04/04 13:02:05.939 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=30028] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 13:02:05.968 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=30028] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/04 13:02:05.969 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30028] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 13:02:05.969 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30028] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=26] [subtasks=1] [2025/04/04 13:02:05.989 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=30028] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 13:02:05.996 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30028] [step=import] [2025/04/04 13:02:05.999 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 13:02:05.999 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 13:02:05.999 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 13:02:05.999 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 13:02:05.999 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 13:02:05.999 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 13:02:05.999 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 13:02:05.999 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:02:05.999 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:02:05.999 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-27] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:02:06.000 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:02:06.000 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 13:02:06.002 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 13:02:06.002 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:02:06.002 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:02:06.002 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:02:06.002 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30028] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=213.101315ms] [] [2025/04/04 13:02:06.003 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30028] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 13:02:06.011 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30028] [task-type=ImportInto] [server-id=:4000] [subtaskID=30054] [step=post-process] [2025/04/04 13:02:06.011 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=30028] [step=post-process] [subtask-id=30054] [2025/04/04 13:02:06.011 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=30028] [step=post-process] [subtask-id=30054] [2025/04/04 13:02:06.011 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=30028] [step=post-process] [subtask-id=30054] [2025/04/04 13:02:06.017 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=30028] [step=post-process] [subtask-id=30054] [takeTime=5.711103ms] [] [2025/04/04 13:02:06.017 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=30028] [step=post-process] [subtask-id=30054] [groupId=-1] [size=160] [kvs=2] [checksum=12169156294469719470] [2025/04/04 13:02:06.017 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=30028] [step=post-process] [subtask-id=30054] [checksum="{cksum=12169156294469719470,size=160,kvs=2}"] [2025/04/04 13:02:06.017 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=30028] [step=post-process] [subtask-id=30054] [weight=30] [2025/04/04 13:02:06.017 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=30028] [step=post-process] [subtask-id=30054] [concurrency=15] [2025/04/04 13:02:06.019 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=451] [physicalTableID=451] [indexID=-1] [checksum=12169156294469719470] [totalKvs=2] [totalBytes=160] [2025/04/04 13:02:06.019 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 13:02:06.019 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=30028] [step=post-process] [subtask-id=30054] [local="{cksum=12169156294469719470,size=160,kvs=2}"] [2025/04/04 13:02:06.019 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=30028] [step=post-process] [subtask-id=30054] [takeTime=8.318741ms] [] [2025/04/04 13:02:06.019 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=30028] [step=post-process] [subtask-id=30054] [takeTime=8.469766ms] [] [2025/04/04 13:02:06.019 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30028] [task-type=ImportInto] [server-id=:4000] [subtaskID=30054] [step=post-process] [takeTime=8.59439ms] [] [2025/04/04 13:02:06.031 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 13:02:06.038 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30028] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 13:02:06.038 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30028] [step=post-process] [state=running] [] [2025/04/04 13:02:06.040 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=30028] [2025/04/04 13:02:06.067 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30028] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=63.212977ms] [] [2025/04/04 13:02:06.067 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30028] [type=ImportInto] [2025/04/04 13:02:06.132 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30028] [2025/04/04 13:02:06.134 +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.693672762\n# Parse_time: 0.000096452\n# Compile_time: 0.000497635\n# Rewrite_time: 0.000152774\n# Optimize_time: 0.000626234\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY5Mi43bXMsIG9wZW46NjE3bnMsIGNsb3NlOjg4OG5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY5Mi43bXMsIG9wZW46NjE3bnMsIGNsb3NlOjg4OG5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.0000187\nIMPORT INTO `load_charset`.`gbk` FROM 'gs://test-load/gbk.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH character_set=_UTF8MB4'gbk';"] [2025/04/04 13:02:06.139 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 13:02:06.139 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30028] [2025/04/04 13:02:06.144 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:06.162 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 13:02:06.194 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/gbk.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"character_set\":\"gbk\"}}"] [dist-task-enabled=true] [2025/04/04 13:02:06.212 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30029] [task-id=30029] [data-size=69B] [thread-cnt=26] [global-sort=false] [2025/04/04 13:02:06.226 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30029] [2025/04/04 13:02:06.226 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=30029] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/04 13:02:06.329 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30029] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 13:02:06.330 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30029] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:02:06.331 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30029] [curr-step=init] [next-step=import] [2025/04/04 13:02:06.339 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:06.341 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=utf8mb4] [2025/04/04 13:02:06.341 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=utf8mb4] [before=536870912000] [after=69] [2025/04/04 13:02:06.341 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=utf8mb4] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=69] [cost=52.115µs] [2025/04/04 13:02:06.341 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=utf8mb4] [takeTime=139.546µs] [] [2025/04/04 13:02:06.341 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30029] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 13:02:06.341 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30029] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/04 13:02:06.377 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30029] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 13:02:06.399 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30029] [step=import] [2025/04/04 13:02:06.399 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:06.407 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 13:02:06.408 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 13:02:06.408 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 13:02:06.408 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 13:02:06.408 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 13:02:06.408 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 13:02:06.408 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 13:02:06.408 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 13:02:06.409 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 13:02:06.409 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 13:02:06.421 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 13:02:06.423 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 13:02:06.423 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=utf8mb4] [quota=374.2GB] [2025/04/04 13:02:06.423 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=30029] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 13:02:06.423 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=utf8mb4] [import-id=30029] [disk-quota=348.5GiB] [2025/04/04 13:02:06.423 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30029] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 13:02:06.431 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30029] [task-type=ImportInto] [server-id=:4000] [subtaskID=30055] [step=import] [2025/04/04 13:02:06.431 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30029] [step=import] [subtask-id=30055] [2025/04/04 13:02:06.434 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:0] [engineUUID=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [2025/04/04 13:02:06.435 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=30029] [mode=Import] [2025/04/04 13:02:06.438 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:-1] [engineUUID=e89504af-26b5-5340-ae2e-218c1dc24988] [2025/04/04 13:02:06.438 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=453] [2025/04/04 13:02:06.454 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=30029] [2025/04/04 13:02:06.458 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=453] [key=gbk.csv:0] [2025/04/04 13:02:06.460 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=453] [key=gbk.csv:0] [readDur=777.132µs] [encodeDur=263.111µs] [checksum="{cksum=12169156294469719470,size=160,kvs=2}"] [deliverDur=267.347µs] [type=file] [takeTime=1.60876ms] [] [2025/04/04 13:02:06.461 +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/30029/26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b.sst/9704041f-8b16-4de8-8967-0d90a5d1011e.sst] [firstKey=7480000000000001C55F728000000000000001] [lastKey=7480000000000001C55F728000000000000002] [2025/04/04 13:02:06.461 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=30029] [step=import] [engine-id=0] [2025/04/04 13:02:06.461 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=30029] [step=import] [engine-id=0] [2025/04/04 13:02:06.461 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:0] [engineUUID=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [2025/04/04 13:02:06.463 +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.011636ms] [] [2025/04/04 13:02:06.463 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:0] [engineUUID=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [retryCnt=0] [2025/04/04 13:02:06.467 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 13:02:06.489 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] ["region ranges"=1] [count=2] [size=160] [2025/04/04 13:02:06.489 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 13:02:06.491 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001c55f728000000000000001] [endOfAllRanges=7480000000000001c55f728000000000000003] [startKeyOfFirstRegion=7480000000000001ffc55f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ffc55f728000000000ff0000030000000000fa] [2025/04/04 13:02:06.502 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [size=160] [kvs=2] [importedSize=160] [importedCount=2] [2025/04/04 13:02:06.504 +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.770217ms] [] [2025/04/04 13:02:06.504 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:0] [engineUUID=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [2025/04/04 13:02:06.505 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:0] [engineUUID=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [takeTime=1.051409ms] [] [2025/04/04 13:02:06.505 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=30029] [step=import] [engine-id=0] [2025/04/04 13:02:06.505 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:-1] [engineUUID=e89504af-26b5-5340-ae2e-218c1dc24988] [2025/04/04 13:02:06.507 +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.583063ms] [] [2025/04/04 13:02:06.507 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:-1] [engineUUID=e89504af-26b5-5340-ae2e-218c1dc24988] [retryCnt=0] [2025/04/04 13:02:06.510 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=e89504af-26b5-5340-ae2e-218c1dc24988] [2025/04/04 13:02:06.510 +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.64718ms] [] [2025/04/04 13:02:06.511 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:-1] [engineUUID=e89504af-26b5-5340-ae2e-218c1dc24988] [2025/04/04 13:02:06.511 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:-1] [engineUUID=e89504af-26b5-5340-ae2e-218c1dc24988] [takeTime=872.01µs] [] [2025/04/04 13:02:06.512 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=30029] [step=import] [subtask-id=30055] [takeTime=80.779368ms] [] [2025/04/04 13:02:06.512 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30029] [task-type=ImportInto] [server-id=:4000] [subtaskID=30055] [step=import] [takeTime=81.580138ms] [] [2025/04/04 13:02:06.534 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30029] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 13:02:06.535 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30029] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:02:06.537 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30029] [curr-step=import] [next-step=post-process] [2025/04/04 13:02:06.537 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=30029] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 13:02:06.565 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=30029] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/04 13:02:06.566 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30029] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 13:02:06.566 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30029] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=26] [subtasks=1] [2025/04/04 13:02:06.595 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=30029] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 13:02:06.601 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30029] [step=import] [2025/04/04 13:02:06.604 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 13:02:06.604 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 13:02:06.604 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 13:02:06.604 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 13:02:06.604 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 13:02:06.604 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 13:02:06.604 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 13:02:06.604 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:02:06.604 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:02:06.604 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-28] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:02:06.605 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:02:06.605 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 13:02:06.607 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 13:02:06.607 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:02:06.607 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:02:06.607 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:02:06.607 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30029] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=183.721235ms] [] [2025/04/04 13:02:06.608 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30029] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 13:02:06.615 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30029] [task-type=ImportInto] [server-id=:4000] [subtaskID=30056] [step=post-process] [2025/04/04 13:02:06.615 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=30029] [step=post-process] [subtask-id=30056] [2025/04/04 13:02:06.616 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=30029] [step=post-process] [subtask-id=30056] [2025/04/04 13:02:06.616 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=30029] [step=post-process] [subtask-id=30056] [2025/04/04 13:02:06.621 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=30029] [step=post-process] [subtask-id=30056] [takeTime=5.636269ms] [] [2025/04/04 13:02:06.621 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=30029] [step=post-process] [subtask-id=30056] [groupId=-1] [size=160] [kvs=2] [checksum=12169156294469719470] [2025/04/04 13:02:06.621 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=30029] [step=post-process] [subtask-id=30056] [checksum="{cksum=12169156294469719470,size=160,kvs=2}"] [2025/04/04 13:02:06.622 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=30029] [step=post-process] [subtask-id=30056] [weight=30] [2025/04/04 13:02:06.622 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=30029] [step=post-process] [subtask-id=30056] [concurrency=15] [2025/04/04 13:02:06.623 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=453] [physicalTableID=453] [indexID=-1] [checksum=12169156294469719470] [totalKvs=2] [totalBytes=160] [2025/04/04 13:02:06.624 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 13:02:06.624 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=30029] [step=post-process] [subtask-id=30056] [local="{cksum=12169156294469719470,size=160,kvs=2}"] [2025/04/04 13:02:06.624 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=30029] [step=post-process] [subtask-id=30056] [takeTime=8.257438ms] [] [2025/04/04 13:02:06.624 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=30029] [step=post-process] [subtask-id=30056] [takeTime=8.407619ms] [] [2025/04/04 13:02:06.624 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30029] [task-type=ImportInto] [server-id=:4000] [subtaskID=30056] [step=post-process] [takeTime=8.536866ms] [] [2025/04/04 13:02:06.631 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 13:02:06.734 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30029] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 13:02:06.734 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30029] [step=post-process] [state=running] [] [2025/04/04 13:02:06.736 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=30029] [2025/04/04 13:02:06.761 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30029] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=152.884811ms] [] [2025/04/04 13:02:06.761 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30029] [type=ImportInto] [2025/04/04 13:02:06.829 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30029] [2025/04/04 13:02:06.830 +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.691569185\n# Parse_time: 0.000117084\n# Compile_time: 0.000540427\n# Rewrite_time: 0.000197103\n# Optimize_time: 0.000314035\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('SvBJMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY5MC42bXMsIG9wZW46Njk5bnMsIGNsb3NlOjEuMjTCtXMsIGxvb3BzOjIJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('ZfBSCmEKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWjB0aW1lOjY5MC42bXMsIG9wZW46Njk5bnMsIGNsb3NlOjEuMjTCtXMsIGxvb3BzOjJw//////8BAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.0000187\nIMPORT INTO `load_charset`.`utf8mb4` FROM 'gs://test-load/gbk.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH character_set=_UTF8MB4'gbk';"] [2025/04/04 13:02:06.835 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 13:02:06.835 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30029] [2025/04/04 13:02:06.845 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:456, Type:truncate table, State:queueing, SchemaState:none, SchemaID:449, TableID:451, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:06.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="TRUNCATE TABLE load_charset.gbk;"] [2025/04/04 13:02:06.846 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:456, Type:truncate table, State:queueing, SchemaState:none, SchemaID:449, TableID:451, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:06.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:02:06.853 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=456] [conn=2] [job="ID:456, Type:truncate table, State:queueing, SchemaState:none, SchemaID:449, TableID:451, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:06.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:06.856 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 13:02:06.867 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 455, Table Name: gbk, Old Table ID: 451, Old Table Name: gbk)"] [2025/04/04 13:02:06.882 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=355] [neededSchemaVersion=356] ["elapsed time"=1.507216ms] [gotSchemaVersion=356] [phyTblIDs="[451,455]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 13:02:06.885 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=456] [version=356] [2025/04/04 13:02:06.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=356] ["take time"=9.13266ms] [job="ID:456, Type:truncate table, State:done, SchemaState:public, SchemaID:449, TableID:451, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:06.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:06.899 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=456] [tableIDs="[451]"] [comment="truncate table: table ID"] [2025/04/04 13:02:06.903 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=456] [jobType="truncate table"] [2025/04/04 13:02:06.904 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=456] [conn=2] [job="ID:456, Type:truncate table, State:synced, SchemaState:public, SchemaID:449, TableID:451, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:06.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:06.923 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=456] [2025/04/04 13:02:06.923 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=356] [cur_db=load_csv] [sql="TRUNCATE TABLE load_charset.gbk;"] [user=root@%] [2025/04/04 13:02:06.930 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:06.977 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/utf8mb4.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"character_set\":\"utf8mb4\"}}"] [dist-task-enabled=true] [2025/04/04 13:02:06.996 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30030] [task-id=30030] [data-size=101B] [thread-cnt=26] [global-sort=false] [2025/04/04 13:02:07.012 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30030] [2025/04/04 13:02:07.012 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=30030] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/04 13:02:07.114 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30030] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 13:02:07.115 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30030] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:02:07.116 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30030] [curr-step=init] [next-step=import] [2025/04/04 13:02:07.123 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:07.126 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=gbk] [2025/04/04 13:02:07.126 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=gbk] [before=536870912000] [after=101] [2025/04/04 13:02:07.126 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=gbk] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=101] [cost=44.938µs] [2025/04/04 13:02:07.126 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=gbk] [takeTime=148.624µs] [] [2025/04/04 13:02:07.126 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30030] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 13:02:07.126 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30030] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/04 13:02:07.156 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30030] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 13:02:07.175 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30030] [step=import] [2025/04/04 13:02:07.175 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:07.184 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 13:02:07.184 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 13:02:07.184 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 13:02:07.185 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 13:02:07.185 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 13:02:07.185 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 13:02:07.185 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 13:02:07.185 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 13:02:07.185 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 13:02:07.186 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 13:02:07.198 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 13:02:07.200 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 13:02:07.200 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=gbk] [quota=374.2GB] [2025/04/04 13:02:07.200 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=30030] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 13:02:07.200 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=gbk] [import-id=30030] [disk-quota=348.5GiB] [2025/04/04 13:02:07.200 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30030] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 13:02:07.208 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30030] [task-type=ImportInto] [server-id=:4000] [subtaskID=30057] [step=import] [2025/04/04 13:02:07.208 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30030] [step=import] [subtask-id=30057] [2025/04/04 13:02:07.211 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:0] [engineUUID=bde291e2-5685-5f69-92ea-f9e2ed68f368] [2025/04/04 13:02:07.215 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:-1] [engineUUID=2007fb28-9e9f-5c54-bfb7-f2a048e6ea16] [2025/04/04 13:02:07.215 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=455] [2025/04/04 13:02:07.229 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=30030] [mode=Import] [2025/04/04 13:02:07.229 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=455] [key=utf8mb4.csv:0] [2025/04/04 13:02:07.231 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=455] [key=utf8mb4.csv:0] [readDur=912.568µs] [encodeDur=409.062µs] [checksum="{cksum=12169156294469719470,size=160,kvs=2}"] [deliverDur=310.103µs] [type=file] [takeTime=1.930921ms] [] [2025/04/04 13:02:07.232 +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/30030/bde291e2-5685-5f69-92ea-f9e2ed68f368.sst/c01a69d4-5f14-4de0-9da8-7fda44d9bbaf.sst] [firstKey=7480000000000001C75F728000000000000001] [lastKey=7480000000000001C75F728000000000000002] [2025/04/04 13:02:07.232 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=30030] [step=import] [engine-id=0] [2025/04/04 13:02:07.232 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=30030] [step=import] [engine-id=0] [2025/04/04 13:02:07.232 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:0] [engineUUID=bde291e2-5685-5f69-92ea-f9e2ed68f368] [2025/04/04 13:02:07.235 +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.627414ms] [] [2025/04/04 13:02:07.235 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:0] [engineUUID=bde291e2-5685-5f69-92ea-f9e2ed68f368] [retryCnt=0] [2025/04/04 13:02:07.239 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 13:02:07.248 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=30030] [2025/04/04 13:02:07.261 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=bde291e2-5685-5f69-92ea-f9e2ed68f368] ["region ranges"=1] [count=2] [size=160] [2025/04/04 13:02:07.261 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 13:02:07.262 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001c75f728000000000000001] [endOfAllRanges=7480000000000001c75f728000000000000003] [startKeyOfFirstRegion=7480000000000001ffc75f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ffc75f728000000000ff0000030000000000fa] [2025/04/04 13:02:07.274 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=bde291e2-5685-5f69-92ea-f9e2ed68f368] [size=160] [kvs=2] [importedSize=160] [importedCount=2] [2025/04/04 13:02:07.276 +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.047043ms] [] [2025/04/04 13:02:07.276 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:0] [engineUUID=bde291e2-5685-5f69-92ea-f9e2ed68f368] [2025/04/04 13:02:07.277 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:0] [engineUUID=bde291e2-5685-5f69-92ea-f9e2ed68f368] [takeTime=1.185488ms] [] [2025/04/04 13:02:07.277 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=30030] [step=import] [engine-id=0] [2025/04/04 13:02:07.277 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:-1] [engineUUID=2007fb28-9e9f-5c54-bfb7-f2a048e6ea16] [2025/04/04 13:02:07.279 +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.605763ms] [] [2025/04/04 13:02:07.279 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:-1] [engineUUID=2007fb28-9e9f-5c54-bfb7-f2a048e6ea16] [retryCnt=0] [2025/04/04 13:02:07.283 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2007fb28-9e9f-5c54-bfb7-f2a048e6ea16] [2025/04/04 13:02:07.283 +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.673063ms] [] [2025/04/04 13:02:07.283 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:-1] [engineUUID=2007fb28-9e9f-5c54-bfb7-f2a048e6ea16] [2025/04/04 13:02:07.284 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:-1] [engineUUID=2007fb28-9e9f-5c54-bfb7-f2a048e6ea16] [takeTime=1.025267ms] [] [2025/04/04 13:02:07.284 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=30030] [step=import] [subtask-id=30057] [takeTime=76.440171ms] [] [2025/04/04 13:02:07.284 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30030] [task-type=ImportInto] [server-id=:4000] [subtaskID=30057] [step=import] [takeTime=76.597764ms] [] [2025/04/04 13:02:07.320 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30030] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 13:02:07.321 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30030] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:02:07.322 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30030] [curr-step=import] [next-step=post-process] [2025/04/04 13:02:07.322 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=30030] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 13:02:07.354 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=30030] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/04 13:02:07.356 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30030] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 13:02:07.356 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30030] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=26] [subtasks=1] [2025/04/04 13:02:07.391 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=30030] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 13:02:07.398 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30030] [step=import] [2025/04/04 13:02:07.401 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 13:02:07.402 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 13:02:07.402 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 13:02:07.402 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 13:02:07.402 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 13:02:07.402 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 13:02:07.402 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 13:02:07.402 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:02:07.402 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:02:07.402 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-29] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:02:07.402 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:02:07.402 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 13:02:07.404 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 13:02:07.404 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:02:07.404 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:02:07.404 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:02:07.404 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30030] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=203.884173ms] [] [2025/04/04 13:02:07.405 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30030] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 13:02:07.413 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30030] [task-type=ImportInto] [server-id=:4000] [subtaskID=30058] [step=post-process] [2025/04/04 13:02:07.413 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=30030] [step=post-process] [subtask-id=30058] [2025/04/04 13:02:07.413 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=30030] [step=post-process] [subtask-id=30058] [2025/04/04 13:02:07.413 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=30030] [step=post-process] [subtask-id=30058] [2025/04/04 13:02:07.420 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=30030] [step=post-process] [subtask-id=30058] [takeTime=6.615251ms] [] [2025/04/04 13:02:07.420 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=30030] [step=post-process] [subtask-id=30058] [groupId=-1] [size=160] [kvs=2] [checksum=12169156294469719470] [2025/04/04 13:02:07.420 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=30030] [step=post-process] [subtask-id=30058] [checksum="{cksum=12169156294469719470,size=160,kvs=2}"] [2025/04/04 13:02:07.420 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=30030] [step=post-process] [subtask-id=30058] [weight=30] [2025/04/04 13:02:07.420 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=30030] [step=post-process] [subtask-id=30058] [concurrency=15] [2025/04/04 13:02:07.422 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=455] [physicalTableID=455] [indexID=-1] [checksum=12169156294469719470] [totalKvs=2] [totalBytes=160] [2025/04/04 13:02:07.422 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 13:02:07.422 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=30030] [step=post-process] [subtask-id=30058] [local="{cksum=12169156294469719470,size=160,kvs=2}"] [2025/04/04 13:02:07.422 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=30030] [step=post-process] [subtask-id=30058] [takeTime=9.210527ms] [] [2025/04/04 13:02:07.423 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=30030] [step=post-process] [subtask-id=30058] [takeTime=9.36531ms] [] [2025/04/04 13:02:07.423 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30030] [task-type=ImportInto] [server-id=:4000] [subtaskID=30058] [step=post-process] [takeTime=9.514387ms] [] [2025/04/04 13:02:07.432 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 13:02:07.519 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30030] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 13:02:07.519 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30030] [step=post-process] [state=running] [] [2025/04/04 13:02:07.522 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=30030] [2025/04/04 13:02:07.545 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30030] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=139.862617ms] [] [2025/04/04 13:02:07.545 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30030] [type=ImportInto] [2025/04/04 13:02:07.612 +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.68857706\n# Parse_time: 0.000100677\n# Compile_time: 0.000556525\n# Rewrite_time: 0.000164247\n# Optimize_time: 0.00023912\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY4Ny42bXMsIG9wZW46NzA5bnMsIGNsb3NlOjk2M25zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY4Ny42bXMsIG9wZW46NzA5bnMsIGNsb3NlOjk2M25zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.0000187\nIMPORT INTO `load_charset`.`gbk` FROM 'gs://test-load/utf8mb4.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH character_set=_UTF8MB4'utf8mb4';"] [2025/04/04 13:02:07.614 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30030] [2025/04/04 13:02:07.620 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 13:02:07.620 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30030] [2025/04/04 13:02:07.627 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:458, Type:truncate table, State:queueing, SchemaState:none, SchemaID:449, TableID:455, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:07.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="TRUNCATE TABLE load_charset.gbk;"] [2025/04/04 13:02:07.627 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:458, Type:truncate table, State:queueing, SchemaState:none, SchemaID:449, TableID:455, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:07.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:02:07.632 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=458] [conn=2] [job="ID:458, Type:truncate table, State:queueing, SchemaState:none, SchemaID:449, TableID:455, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:07.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:07.640 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 457, Table Name: gbk, Old Table ID: 455, Old Table Name: gbk)"] [2025/04/04 13:02:07.640 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 13:02:07.655 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=356] [neededSchemaVersion=357] ["elapsed time"=1.617274ms] [gotSchemaVersion=357] [phyTblIDs="[455,457]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 13:02:07.658 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=458] [version=357] [2025/04/04 13:02:07.660 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=357] ["take time"=8.785727ms] [job="ID:458, Type:truncate table, State:done, SchemaState:public, SchemaID:449, TableID:455, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:07.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:07.670 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=458] [tableIDs="[455]"] [comment="truncate table: table ID"] [2025/04/04 13:02:07.674 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=458] [jobType="truncate table"] [2025/04/04 13:02:07.675 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=458] [conn=2] [job="ID:458, Type:truncate table, State:synced, SchemaState:public, SchemaID:449, TableID:455, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:07.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:07.693 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=458] [2025/04/04 13:02:07.693 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=357] [cur_db=load_csv] [sql="TRUNCATE TABLE load_charset.gbk;"] [user=root@%] [2025/04/04 13:02:07.700 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:07.746 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/emoji.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"character_set\":\"utf8mb4\"}}"] [dist-task-enabled=true] [2025/04/04 13:02:07.766 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30031] [task-id=30031] [data-size=61B] [thread-cnt=26] [global-sort=false] [2025/04/04 13:02:07.780 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30031] [2025/04/04 13:02:07.780 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=30031] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/04 13:02:07.882 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30031] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 13:02:07.883 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30031] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:02:07.885 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30031] [curr-step=init] [next-step=import] [2025/04/04 13:02:07.892 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:07.894 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=gbk] [2025/04/04 13:02:07.894 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=gbk] [before=536870912000] [after=61] [2025/04/04 13:02:07.895 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=gbk] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=61] [cost=54.698µs] [2025/04/04 13:02:07.895 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=gbk] [takeTime=156.145µs] [] [2025/04/04 13:02:07.895 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30031] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 13:02:07.895 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30031] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/04 13:02:07.926 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30031] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 13:02:07.946 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30031] [step=import] [2025/04/04 13:02:07.946 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:07.954 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 13:02:07.954 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 13:02:07.955 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 13:02:07.955 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 13:02:07.955 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 13:02:07.955 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 13:02:07.955 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 13:02:07.955 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 13:02:07.955 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 13:02:07.956 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 13:02:07.967 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 13:02:07.969 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 13:02:07.969 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=gbk] [quota=374.2GB] [2025/04/04 13:02:07.969 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=30031] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 13:02:07.969 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=gbk] [import-id=30031] [disk-quota=348.5GiB] [2025/04/04 13:02:07.969 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30031] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 13:02:07.976 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30031] [task-type=ImportInto] [server-id=:4000] [subtaskID=30059] [step=import] [2025/04/04 13:02:07.976 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30031] [step=import] [subtask-id=30059] [2025/04/04 13:02:07.979 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:0] [engineUUID=bde291e2-5685-5f69-92ea-f9e2ed68f368] [2025/04/04 13:02:07.983 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:-1] [engineUUID=2007fb28-9e9f-5c54-bfb7-f2a048e6ea16] [2025/04/04 13:02:07.983 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=457] [2025/04/04 13:02:07.989 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=30031] [mode=Import] [2025/04/04 13:02:07.996 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=457] [key=emoji.csv:0] [2025/04/04 13:02:07.997 +00:00] [ERROR] [chunk_process.go:334] ["process chunk failed"] [type=ImportInto] [table-id=457] [key=emoji.csv:0] [takeTime=1.194295ms] [error="[Lightning:Restore:ErrEncodeKV]encode kv error in file emoji.csv:0 at offset 61: [table:1366]Incorrect string value '\\xF0\\x9F\\x98\\x80' for column 'j'"] [stack="github.com/pingcap/tidb/pkg/executor/importer.(*baseChunkProcessor).Process.func1\n\tpkg/executor/importer/chunk_process.go:334\ngithub.com/pingcap/tidb/pkg/executor/importer.(*baseChunkProcessor).Process\n\tpkg/executor/importer/chunk_process.go:354\ngithub.com/pingcap/tidb/pkg/executor/importer.ProcessChunkWithWriter\n\tpkg/executor/importer/engine_process.go:113\ngithub.com/pingcap/tidb/pkg/executor/importer.ProcessChunk\n\tpkg/executor/importer/engine_process.go:67\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importMinimalTaskExecutor).Run\n\tpkg/disttask/importinto/subtask_executor.go:66\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*chunkWorker).HandleTask\n\tpkg/disttask/importinto/encode_and_sort_operator.go:200\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).handleTaskWithRecover\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:149\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).runAWorker.func1\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:165\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:167"] [2025/04/04 13:02:07.997 +00:00] [ERROR] [task_executor.go:129] ["run subtask failed"] [type=ImportInto] [task-id=30031] [step=import] [subtask-id=30059] [takeTime=21.33548ms] [error="[Lightning:Restore:ErrEncodeKV]encode kv error in file emoji.csv:0 at offset 61: [table:1366]Incorrect string value '\\xF0\\x9F\\x98\\x80' for column 'j'"] [stack="github.com/pingcap/tidb/pkg/disttask/importinto.(*importStepExecutor).RunSubtask.func1\n\tpkg/disttask/importinto/task_executor.go:129\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:200\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/04 13:02:07.998 +00:00] [INFO] [task_executor.go:464] ["run subtask failed"] [task-id=30031] [task-type=ImportInto] [server-id=:4000] [subtaskID=30059] [step=import] [takeTime=21.887598ms] [error="[Lightning:Restore:ErrEncodeKV]encode kv error in file emoji.csv:0 at offset 61: [table:1366]Incorrect string value '\\xF0\\x9F\\x98\\x80' for column 'j'"] [errorVerbose="[Lightning:Restore:ErrEncodeKV]encode kv error in file emoji.csv:0 at offset 61: [table:1366]Incorrect string value '\\xF0\\x9F\\x98\\x80' for column 'j'\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/executor/importer.(*chunkEncoder).encodeLoop\n\tpkg/executor/importer/chunk_process.go:286\ngithub.com/pingcap/tidb/pkg/executor/importer.(*baseChunkProcessor).Process.func3\n\tpkg/executor/importer/chunk_process.go:346\ngithub.com/pingcap/tidb/pkg/executor/importer.(*baseChunkProcessor).Process.(*ErrorGroupWithRecover).Go.func5\n\tpkg/util/wait_group_wrapper.go:260\ngolang.org/x/sync/errgroup.(*Group).Go.func1\n\texternal/org_golang_x_sync/errgroup/errgroup.go:78\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:02:07.998 +00:00] [WARN] [task_executor.go:706] ["subtask failed"] [task-id=30031] [task-type=ImportInto] [server-id=:4000] [error="[Lightning:Restore:ErrEncodeKV]encode kv error in file emoji.csv:0 at offset 61: [table:1366]Incorrect string value '\\xF0\\x9F\\x98\\x80' for column 'j'"] [errorVerbose="[Lightning:Restore:ErrEncodeKV]encode kv error in file emoji.csv:0 at offset 61: [table:1366]Incorrect string value '\\xF0\\x9F\\x98\\x80' for column 'j'\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/executor/importer.(*chunkEncoder).encodeLoop\n\tpkg/executor/importer/chunk_process.go:286\ngithub.com/pingcap/tidb/pkg/executor/importer.(*baseChunkProcessor).Process.func3\n\tpkg/executor/importer/chunk_process.go:346\ngithub.com/pingcap/tidb/pkg/executor/importer.(*baseChunkProcessor).Process.(*ErrorGroupWithRecover).Go.func5\n\tpkg/util/wait_group_wrapper.go:260\ngolang.org/x/sync/errgroup.(*Group).Go.func1\n\texternal/org_golang_x_sync/errgroup/errgroup.go:78\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:02:08.004 +00:00] [ERROR] [task_executor.go:344] ["run subtask failed"] [task-id=30031] [task-type=ImportInto] [server-id=:4000] [error="[Lightning:Restore:ErrEncodeKV]encode kv error in file emoji.csv:0 at offset 61: [table:1366]Incorrect string value '\\xF0\\x9F\\x98\\x80' for column 'j'"] [errorVerbose="[Lightning:Restore:ErrEncodeKV]encode kv error in file emoji.csv:0 at offset 61: [table:1366]Incorrect string value '\\xF0\\x9F\\x98\\x80' for column 'j'\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/executor/importer.(*chunkEncoder).encodeLoop\n\tpkg/executor/importer/chunk_process.go:286\ngithub.com/pingcap/tidb/pkg/executor/importer.(*baseChunkProcessor).Process.func3\n\tpkg/executor/importer/chunk_process.go:346\ngithub.com/pingcap/tidb/pkg/executor/importer.(*baseChunkProcessor).Process.(*ErrorGroupWithRecover).Go.func5\n\tpkg/util/wait_group_wrapper.go:260\ngolang.org/x/sync/errgroup.(*Group).Go.func1\n\texternal/org_golang_x_sync/errgroup/errgroup.go:78\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:344\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/04 13:02:08.008 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=30031] [2025/04/04 13:02:08.092 +00:00] [WARN] [scheduler.go:389] ["subtasks encounter errors"] [task-id=30031] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [subtask-errs="[\"{error=\\\"[table:1366]Incorrect string value '\\\\\\\\xF0\\\\\\\\x9F\\\\\\\\x98\\\\\\\\x80' for column 'j'\\\"}\"]"] [2025/04/04 13:02:08.109 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30031] [step=import] [2025/04/04 13:02:08.113 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 13:02:08.113 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 13:02:08.113 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 13:02:08.113 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 13:02:08.113 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 13:02:08.113 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 13:02:08.113 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:02:08.113 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 13:02:08.113 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:02:08.113 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:02:08.113 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-30] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:02:08.113 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 13:02:08.115 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 13:02:08.115 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:02:08.115 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:02:08.115 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:02:08.115 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30031] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=146.278315ms] [] [2025/04/04 13:02:08.115 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30031] [type=ImportInto] [2025/04/04 13:02:08.188 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30031] [step=import] [state=reverting] [error="[table:1366]Incorrect string value '\\xF0\\x9F\\x98\\x80' for column 'j'"] [2025/04/04 13:02:08.189 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=30031] [step=import] [mode=Normal] [2025/04/04 13:02:08.203 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=30031] [2025/04/04 13:02:08.282 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30031] [2025/04/04 13:02:08.288 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 13:02:08.288 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30031] [2025/04/04 13:02:08.310 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 13:02:08.381 +00:00] [ERROR] [handle.go:110] ["task reverted"] [task-id=30031] [error="[table:1366]Incorrect string value '\\xF0\\x9F\\x98\\x80' for column 'j'"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/handle.WaitTaskDoneOrPaused\n\tpkg/disttask/framework/handle/handle.go:110\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoExec).waitTask\n\tpkg/executor/import_into.go:233\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoExec).Next\n\tpkg/executor/import_into.go:137\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*recordSet).Next\n\tpkg/executor/adapter.go:172\ngithub.com/pingcap/tidb/pkg/session.GetRows4Test\n\tpkg/session/tidb.go:343\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).QueryToErr\n\tpkg/testkit/testkit.go:304\ntests/realtikvtest/importintotest/importintotest_test.(*mockGCSSuite).TestGBK\n\ttests/realtikvtest/importintotest/import_into_test.go:591\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690"] [2025/04/04 13:02:08.382 +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.688274476\n# Parse_time: 0.000175648\n# Compile_time: 0.000733045\n# Rewrite_time: 0.000233182\n# Optimize_time: 0.000223552\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('SPBHMAk1OV8yCTAJMAlOL0EJMAl0aW1lOjY4N21zLCBvcGVuOjc5Nm5zLCBjbG9zZToxLjIxwrVzLCBsb29wczoxCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('YfBMCl0KDEltcG9ydEludG9fMjgBQAFSA04vQVoudGltZTo2ODdtcywgb3Blbjo3OTZucywgY2xvc2U6MS4yMcK1cywgbG9vcHM6MXD///8JAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.0000187\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.27s) === NAME TestImportInto === RUN TestImportInto/TestGeneratedColumnsAndTSVFile [2025/04/04 13:02:08.395 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:459, Type:drop schema, State:queueing, SchemaState:public, SchemaID:435, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:08.343 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:02:08.395 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:459, Type:drop schema, State:queueing, SchemaState:public, SchemaID:435, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:08.343 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="DROP DATABASE IF EXISTS load_csv;"] [2025/04/04 13:02:08.399 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=459] [conn=2] [job="ID:459, Type:drop schema, State:queueing, SchemaState:public, SchemaID:435, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:08.343 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:08.414 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=357] [neededSchemaVersion=358] ["elapsed time"=191.721µs] [gotSchemaVersion=358] [phyTblIDs="[441]"] [actionTypes="[2]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 13:02:08.418 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=459] [version=358] [2025/04/04 13:02:08.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=358] ["take time"=6.875815ms] [job="ID:459, Type:drop schema, State:running, SchemaState:write only, SchemaID:435, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:08.343 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:08.431 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=459] [conn=2] [job="ID:459, Type:drop schema, State:running, SchemaState:write only, SchemaID:435, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:08.343 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:08.444 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=358] [neededSchemaVersion=359] ["elapsed time"=154.286µs] [gotSchemaVersion=359] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 13:02:08.448 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=459] [version=359] [2025/04/04 13:02:08.449 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=359] ["take time"=7.802531ms] [job="ID:459, Type:drop schema, State:running, SchemaState:delete only, SchemaID:435, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:08.343 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:08.457 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=459] [conn=2] [job="ID:459, Type:drop schema, State:running, SchemaState:delete only, SchemaID:435, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:08.343 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:08.464 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/04 13:02:08.476 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=359] [neededSchemaVersion=360] ["elapsed time"=144.23µs] [gotSchemaVersion=360] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 13:02:08.480 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=459] [version=360] [2025/04/04 13:02:08.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=360] ["take time"=7.935314ms] [job="ID:459, Type:drop schema, State:done, SchemaState:none, SchemaID:435, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:08.343 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:08.490 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=459] [tableIDs="[441]"] [comment="drop schema: table IDs"] [2025/04/04 13:02:08.496 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=459] [jobType="drop schema"] [2025/04/04 13:02:08.497 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=459] [conn=2] [job="ID:459, Type:drop schema, State:synced, SchemaState:none, SchemaID:435, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:08.343 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:08.513 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=459] [2025/04/04 13:02:08.513 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=360] [cur_db=] [sql="DROP DATABASE IF EXISTS load_csv;"] [user=root@%] [2025/04/04 13:02:08.525 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:461, Type:create schema, State:queueing, SchemaState:none, SchemaID:460, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:08.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE load_csv;"] [2025/04/04 13:02:08.525 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:461, Type:create schema, State:queueing, SchemaState:none, SchemaID:460, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:08.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:02:08.531 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=461] [conn=2] [job="ID:461, Type:create schema, State:queueing, SchemaState:none, SchemaID:460, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:08.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:08.544 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=360] [neededSchemaVersion=361] ["elapsed time"=638.195µs] [gotSchemaVersion=361] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 13:02:08.547 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=461] [version=361] [2025/04/04 13:02:08.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=361] ["take time"=7.56895ms] [job="ID:461, Type:create schema, State:done, SchemaState:public, SchemaID:460, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:08.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:08.559 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=461] [conn=2] [job="ID:461, Type:create schema, State:synced, SchemaState:public, SchemaID:460, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:08.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:08.571 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=461] [2025/04/04 13:02:08.571 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=361] [cur_db=] [sql="CREATE DATABASE load_csv;"] [user=root@%] [2025/04/04 13:02:08.585 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:463, Type:create table, State:queueing, SchemaState:none, SchemaID:460, TableID:462, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:08.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:02:08.585 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:463, Type:create table, State:queueing, SchemaState:none, SchemaID:460, TableID:462, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:08.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE load_csv.t_gen1 (a int, b int generated ALWAYS AS (a+1));"] [2025/04/04 13:02:08.591 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=463] [conn=2] [job="ID:463, Type:create table, State:queueing, SchemaState:none, SchemaID:460, TableID:462, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:08.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:08.595 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 462, Table Name: t_gen1)"] [2025/04/04 13:02:08.610 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=361] [neededSchemaVersion=362] ["elapsed time"=1.555319ms] [gotSchemaVersion=362] [phyTblIDs="[462]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 13:02:08.613 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=463] [version=362] [2025/04/04 13:02:08.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=362] ["take time"=8.533884ms] [job="ID:463, Type:create table, State:done, SchemaState:public, SchemaID:460, TableID:462, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:08.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:08.626 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=463] [conn=2] [job="ID:463, Type:create table, State:synced, SchemaState:public, SchemaID:460, TableID:462, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:08.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:08.638 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=463] [2025/04/04 13:02:08.639 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=362] [cur_db=load_csv] [sql="CREATE TABLE load_csv.t_gen1 (a int, b int generated ALWAYS AS (a+1));"] [user=root@%] [2025/04/04 13:02:08.646 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:08.693 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gcs://test-bucket/generated_columns.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"fields_terminated_by\":\"\\t\"}}"] [dist-task-enabled=true] [2025/04/04 13:02:08.712 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30032] [task-id=30032] [data-size=7B] [thread-cnt=26] [global-sort=false] [2025/04/04 13:02:08.727 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30032] [2025/04/04 13:02:08.727 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=30032] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/04 13:02:08.829 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30032] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 13:02:08.830 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30032] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:02:08.831 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30032] [curr-step=init] [next-step=import] [2025/04/04 13:02:08.839 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:08.842 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t_gen1] [2025/04/04 13:02:08.842 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t_gen1] [before=536870912000] [after=7] [2025/04/04 13:02:08.843 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t_gen1] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=7] [cost=55.605µs] [2025/04/04 13:02:08.843 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t_gen1] [takeTime=166.41µs] [] [2025/04/04 13:02:08.843 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30032] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 13:02:08.843 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30032] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/04 13:02:08.877 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30032] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 13:02:08.897 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30032] [step=import] [2025/04/04 13:02:08.897 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:08.905 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 13:02:08.905 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 13:02:08.905 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 13:02:08.905 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 13:02:08.906 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 13:02:08.906 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 13:02:08.906 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 13:02:08.906 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 13:02:08.906 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 13:02:08.906 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 13:02:08.919 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 13:02:08.920 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 13:02:08.921 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t_gen1] [quota=374.2GB] [2025/04/04 13:02:08.921 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=30032] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 13:02:08.921 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t_gen1] [import-id=30032] [disk-quota=348.5GiB] [2025/04/04 13:02:08.921 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30032] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 13:02:08.929 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30032] [task-type=ImportInto] [server-id=:4000] [subtaskID=30060] [step=import] [2025/04/04 13:02:08.929 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30032] [step=import] [subtask-id=30060] [2025/04/04 13:02:08.932 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:0] [engineUUID=2338f157-c807-5664-9eae-1ae164d075d7] [2025/04/04 13:02:08.935 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=30032] [mode=Import] [2025/04/04 13:02:08.936 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:-1] [engineUUID=0063f486-3d5e-5c59-9865-8b1da5b97873] [2025/04/04 13:02:08.936 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=462] [2025/04/04 13:02:08.949 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=462] [key=generated_columns.csv:0] [2025/04/04 13:02:08.951 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=462] [key=generated_columns.csv:0] [readDur=1.142641ms] [encodeDur=439.563µs] [checksum="{cksum=6725679395568127565,size=58,kvs=2}"] [deliverDur=241µs] [type=file] [takeTime=2.08709ms] [] [2025/04/04 13:02:08.951 +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/30032/2338f157-c807-5664-9eae-1ae164d075d7.sst/b6d0de59-973a-49ab-b0bf-daf934fbafe3.sst] [firstKey=7480000000000001CE5F728000000000000001] [lastKey=7480000000000001CE5F728000000000000002] [2025/04/04 13:02:08.952 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=30032] [step=import] [engine-id=0] [2025/04/04 13:02:08.952 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=30032] [step=import] [engine-id=0] [2025/04/04 13:02:08.952 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:0] [engineUUID=2338f157-c807-5664-9eae-1ae164d075d7] [2025/04/04 13:02:08.954 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:0] [engineUUID=2338f157-c807-5664-9eae-1ae164d075d7] [takeTime=1.986313ms] [] [2025/04/04 13:02:08.954 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:0] [engineUUID=2338f157-c807-5664-9eae-1ae164d075d7] [retryCnt=0] [2025/04/04 13:02:08.954 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=30032] [2025/04/04 13:02:08.958 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 13:02:08.979 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=2338f157-c807-5664-9eae-1ae164d075d7] ["region ranges"=1] [count=2] [size=58] [2025/04/04 13:02:08.979 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 13:02:08.981 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001ce5f728000000000000001] [endOfAllRanges=7480000000000001ce5f728000000000000003] [startKeyOfFirstRegion=7480000000000001ffce5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ffce5f728000000000ff0000030000000000fa] [2025/04/04 13:02:08.992 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=2338f157-c807-5664-9eae-1ae164d075d7] [size=58] [kvs=2] [importedSize=58] [importedCount=2] [2025/04/04 13:02:08.994 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:0] [engineUUID=2338f157-c807-5664-9eae-1ae164d075d7] [retryCnt=0] [takeTime=40.650925ms] [] [2025/04/04 13:02:08.995 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:0] [engineUUID=2338f157-c807-5664-9eae-1ae164d075d7] [2025/04/04 13:02:08.996 +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.214036ms] [] [2025/04/04 13:02:08.996 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=30032] [step=import] [engine-id=0] [2025/04/04 13:02:08.996 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:-1] [engineUUID=0063f486-3d5e-5c59-9865-8b1da5b97873] [2025/04/04 13:02:08.998 +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.717264ms] [] [2025/04/04 13:02:08.998 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:-1] [engineUUID=0063f486-3d5e-5c59-9865-8b1da5b97873] [retryCnt=0] [2025/04/04 13:02:09.001 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=0063f486-3d5e-5c59-9865-8b1da5b97873] [2025/04/04 13:02:09.001 +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.516713ms] [] [2025/04/04 13:02:09.001 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:-1] [engineUUID=0063f486-3d5e-5c59-9865-8b1da5b97873] [2025/04/04 13:02:09.002 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:-1] [engineUUID=0063f486-3d5e-5c59-9865-8b1da5b97873] [takeTime=884.011µs] [] [2025/04/04 13:02:09.002 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=30032] [step=import] [subtask-id=30060] [takeTime=73.683915ms] [] [2025/04/04 13:02:09.003 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30032] [task-type=ImportInto] [server-id=:4000] [subtaskID=30060] [step=import] [takeTime=73.831587ms] [] [2025/04/04 13:02:09.035 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30032] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 13:02:09.036 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30032] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:02:09.037 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30032] [curr-step=import] [next-step=post-process] [2025/04/04 13:02:09.037 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=30032] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 13:02:09.067 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=30032] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/04 13:02:09.069 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30032] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 13:02:09.069 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30032] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=26] [subtasks=1] [2025/04/04 13:02:09.088 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=30032] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 13:02:09.095 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30032] [step=import] [2025/04/04 13:02:09.098 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 13:02:09.098 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 13:02:09.098 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 13:02:09.098 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 13:02:09.098 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 13:02:09.098 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 13:02:09.098 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 13:02:09.098 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:02:09.098 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:02:09.098 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:02:09.098 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-31] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:02:09.098 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 13:02:09.100 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 13:02:09.100 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:02:09.100 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:02:09.100 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:02:09.100 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30032] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=179.442293ms] [] [2025/04/04 13:02:09.101 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30032] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 13:02:09.109 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30032] [task-type=ImportInto] [server-id=:4000] [subtaskID=30061] [step=post-process] [2025/04/04 13:02:09.109 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=30032] [step=post-process] [subtask-id=30061] [2025/04/04 13:02:09.109 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=30032] [step=post-process] [subtask-id=30061] [2025/04/04 13:02:09.109 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=30032] [step=post-process] [subtask-id=30061] [2025/04/04 13:02:09.115 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=30032] [step=post-process] [subtask-id=30061] [takeTime=5.688355ms] [] [2025/04/04 13:02:09.115 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=30032] [step=post-process] [subtask-id=30061] [groupId=-1] [size=58] [kvs=2] [checksum=6725679395568127565] [2025/04/04 13:02:09.115 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=30032] [step=post-process] [subtask-id=30061] [checksum="{cksum=6725679395568127565,size=58,kvs=2}"] [2025/04/04 13:02:09.115 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=30032] [step=post-process] [subtask-id=30061] [weight=30] [2025/04/04 13:02:09.115 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=30032] [step=post-process] [subtask-id=30061] [concurrency=15] [2025/04/04 13:02:09.117 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=462] [physicalTableID=462] [indexID=-1] [checksum=6725679395568127565] [totalKvs=2] [totalBytes=58] [2025/04/04 13:02:09.117 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 13:02:09.117 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=30032] [step=post-process] [subtask-id=30061] [local="{cksum=6725679395568127565,size=58,kvs=2}"] [2025/04/04 13:02:09.117 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=30032] [step=post-process] [subtask-id=30061] [takeTime=8.208122ms] [] [2025/04/04 13:02:09.117 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=30032] [step=post-process] [subtask-id=30061] [takeTime=8.339865ms] [] [2025/04/04 13:02:09.117 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30032] [task-type=ImportInto] [server-id=:4000] [subtaskID=30061] [step=post-process] [takeTime=8.465881ms] [] [2025/04/04 13:02:09.127 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 13:02:09.134 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30032] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 13:02:09.135 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30032] [step=post-process] [state=running] [] [2025/04/04 13:02:09.137 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=30032] [2025/04/04 13:02:09.161 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30032] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=59.910058ms] [] [2025/04/04 13:02:09.162 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30032] [type=ImportInto] [2025/04/04 13:02:09.230 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30032] [2025/04/04 13:02:09.236 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 13:02:09.236 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30032] [2025/04/04 13:02:09.257 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 13:02:09.329 +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.689612082\n# Parse_time: 0.000101645\n# Compile_time: 0.000807293\n# Rewrite_time: 0.000458792\n# Optimize_time: 0.000223552\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('SvBJMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY4OC40bXMsIG9wZW46NjY1bnMsIGNsb3NlOjEuMDXCtXMsIGxvb3BzOjIJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('ZfBSCmEKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWjB0aW1lOjY4OC40bXMsIG9wZW46NjY1bnMsIGNsb3NlOjEuMDXCtXMsIGxvb3BzOjJw//////8BAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.0000187\nuse load_csv;\nIMPORT INTO `load_csv`.`t_gen1` FROM 'gcs://test-bucket/generated_columns.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH fields_terminated_by=_UTF8MB4' ';"] [2025/04/04 13:02:09.345 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:09.395 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"columns-and-vars\":\"(`a`)\",\"file-location\":\"gcs://test-bucket/generated_columns.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"fields_terminated_by\":\"\\t\"}}"] [dist-task-enabled=true] [2025/04/04 13:02:09.415 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30033] [task-id=30033] [data-size=7B] [thread-cnt=26] [global-sort=false] [2025/04/04 13:02:09.429 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30033] [2025/04/04 13:02:09.429 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=30033] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/04 13:02:09.531 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30033] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 13:02:09.532 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30033] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:02:09.533 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30033] [curr-step=init] [next-step=import] [2025/04/04 13:02:09.541 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:09.543 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t_gen1] [2025/04/04 13:02:09.543 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t_gen1] [before=536870912000] [after=7] [2025/04/04 13:02:09.544 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t_gen1] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=7] [cost=56.891µs] [2025/04/04 13:02:09.544 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t_gen1] [takeTime=170.317µs] [] [2025/04/04 13:02:09.544 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30033] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 13:02:09.544 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30033] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/04 13:02:09.576 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30033] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 13:02:09.596 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30033] [step=import] [2025/04/04 13:02:09.596 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:09.603 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 13:02:09.604 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 13:02:09.604 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 13:02:09.604 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 13:02:09.604 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 13:02:09.604 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 13:02:09.604 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 13:02:09.605 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 13:02:09.605 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 13:02:09.605 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 13:02:09.616 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 13:02:09.618 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 13:02:09.618 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t_gen1] [quota=374.2GB] [2025/04/04 13:02:09.618 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=30033] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 13:02:09.618 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t_gen1] [import-id=30033] [disk-quota=348.5GiB] [2025/04/04 13:02:09.618 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30033] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 13:02:09.625 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30033] [task-type=ImportInto] [server-id=:4000] [subtaskID=30062] [step=import] [2025/04/04 13:02:09.625 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30033] [step=import] [subtask-id=30062] [2025/04/04 13:02:09.629 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:0] [engineUUID=2338f157-c807-5664-9eae-1ae164d075d7] [2025/04/04 13:02:09.632 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:-1] [engineUUID=0063f486-3d5e-5c59-9865-8b1da5b97873] [2025/04/04 13:02:09.632 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=462] [2025/04/04 13:02:09.637 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=30033] [mode=Import] [2025/04/04 13:02:09.655 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=462] [key=generated_columns.csv:0] [2025/04/04 13:02:09.657 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=30033] [2025/04/04 13:02:09.657 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=462] [key=generated_columns.csv:0] [readDur=1.062129ms] [encodeDur=413.177µs] [checksum="{cksum=6725679395568127565,size=58,kvs=2}"] [deliverDur=197.28µs] [type=file] [takeTime=2.00709ms] [] [2025/04/04 13:02:09.658 +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/30033/2338f157-c807-5664-9eae-1ae164d075d7.sst/099af468-b7b6-4b54-935b-399ea75ba161.sst] [firstKey=7480000000000001CE5F728000000000000001] [lastKey=7480000000000001CE5F728000000000000002] [2025/04/04 13:02:09.658 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=30033] [step=import] [engine-id=0] [2025/04/04 13:02:09.658 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=30033] [step=import] [engine-id=0] [2025/04/04 13:02:09.658 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:0] [engineUUID=2338f157-c807-5664-9eae-1ae164d075d7] [2025/04/04 13:02:09.660 +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.182258ms] [] [2025/04/04 13:02:09.660 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:0] [engineUUID=2338f157-c807-5664-9eae-1ae164d075d7] [retryCnt=0] [2025/04/04 13:02:09.664 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 13:02:09.686 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=2338f157-c807-5664-9eae-1ae164d075d7] ["region ranges"=1] [count=2] [size=58] [2025/04/04 13:02:09.686 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 13:02:09.688 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001ce5f728000000000000001] [endOfAllRanges=7480000000000001ce5f728000000000000003] [startKeyOfFirstRegion=7480000000000001ffce5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ffce5f728000000000ff0000030000000000fa] [2025/04/04 13:02:09.705 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=2338f157-c807-5664-9eae-1ae164d075d7] [size=58] [kvs=2] [importedSize=58] [importedCount=2] [2025/04/04 13:02:09.706 +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.212843ms] [] [2025/04/04 13:02:09.707 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:0] [engineUUID=2338f157-c807-5664-9eae-1ae164d075d7] [2025/04/04 13:02:09.708 +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.180881ms] [] [2025/04/04 13:02:09.708 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=30033] [step=import] [engine-id=0] [2025/04/04 13:02:09.708 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:-1] [engineUUID=0063f486-3d5e-5c59-9865-8b1da5b97873] [2025/04/04 13:02:09.709 +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.497244ms] [] [2025/04/04 13:02:09.709 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:-1] [engineUUID=0063f486-3d5e-5c59-9865-8b1da5b97873] [retryCnt=0] [2025/04/04 13:02:09.713 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=0063f486-3d5e-5c59-9865-8b1da5b97873] [2025/04/04 13:02:09.713 +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.531601ms] [] [2025/04/04 13:02:09.713 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:-1] [engineUUID=0063f486-3d5e-5c59-9865-8b1da5b97873] [2025/04/04 13:02:09.714 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:-1] [engineUUID=0063f486-3d5e-5c59-9865-8b1da5b97873] [takeTime=997.76µs] [] [2025/04/04 13:02:09.714 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=30033] [step=import] [subtask-id=30062] [takeTime=89.015698ms] [] [2025/04/04 13:02:09.714 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30033] [task-type=ImportInto] [server-id=:4000] [subtaskID=30062] [step=import] [takeTime=89.155047ms] [] [2025/04/04 13:02:09.736 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30033] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 13:02:09.738 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30033] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:02:09.739 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30033] [curr-step=import] [next-step=post-process] [2025/04/04 13:02:09.739 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=30033] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 13:02:09.769 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=30033] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/04 13:02:09.770 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30033] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 13:02:09.770 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30033] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=26] [subtasks=1] [2025/04/04 13:02:09.798 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=30033] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 13:02:09.804 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30033] [step=import] [2025/04/04 13:02:09.807 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 13:02:09.807 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 13:02:09.807 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 13:02:09.807 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 13:02:09.807 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 13:02:09.807 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 13:02:09.807 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 13:02:09.807 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:02:09.807 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:02:09.807 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-32] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:02:09.807 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:02:09.807 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 13:02:09.809 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 13:02:09.809 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:02:09.809 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:02:09.810 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:02:09.810 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30033] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=191.190607ms] [] [2025/04/04 13:02:09.811 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30033] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 13:02:09.818 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30033] [task-type=ImportInto] [server-id=:4000] [subtaskID=30063] [step=post-process] [2025/04/04 13:02:09.818 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=30033] [step=post-process] [subtask-id=30063] [2025/04/04 13:02:09.818 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=30033] [step=post-process] [subtask-id=30063] [2025/04/04 13:02:09.818 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=30033] [step=post-process] [subtask-id=30063] [2025/04/04 13:02:09.822 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=30033] [step=post-process] [subtask-id=30063] [takeTime=3.556898ms] [] [2025/04/04 13:02:09.822 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=30033] [step=post-process] [subtask-id=30063] [groupId=-1] [size=58] [kvs=2] [checksum=6725679395568127565] [2025/04/04 13:02:09.822 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=30033] [step=post-process] [subtask-id=30063] [checksum="{cksum=6725679395568127565,size=58,kvs=2}"] [2025/04/04 13:02:09.822 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=30033] [step=post-process] [subtask-id=30063] [weight=30] [2025/04/04 13:02:09.822 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=30033] [step=post-process] [subtask-id=30063] [concurrency=15] [2025/04/04 13:02:09.824 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=462] [physicalTableID=462] [indexID=-1] [checksum=6725679395568127565] [totalKvs=2] [totalBytes=58] [2025/04/04 13:02:09.824 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 13:02:09.824 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=30033] [step=post-process] [subtask-id=30063] [local="{cksum=6725679395568127565,size=58,kvs=2}"] [2025/04/04 13:02:09.824 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=30033] [step=post-process] [subtask-id=30063] [takeTime=6.138841ms] [] [2025/04/04 13:02:09.824 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=30033] [step=post-process] [subtask-id=30063] [takeTime=6.282476ms] [] [2025/04/04 13:02:09.824 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30033] [task-type=ImportInto] [server-id=:4000] [subtaskID=30063] [step=post-process] [takeTime=6.418635ms] [] [2025/04/04 13:02:09.833 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 13:02:09.836 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30033] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 13:02:09.836 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30033] [step=post-process] [state=running] [] [2025/04/04 13:02:09.838 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=30033] [2025/04/04 13:02:09.851 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30033] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=40.442746ms] [] [2025/04/04 13:02:09.851 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30033] [type=ImportInto] [2025/04/04 13:02:09.931 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30033] [2025/04/04 13:02:09.936 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 13:02:09.937 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30033] [2025/04/04 13:02:09.958 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 13:02:10.031 +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.692924175\n# Parse_time: 0.000157164\n# Compile_time: 0.001028754\n# Rewrite_time: 0.000545826\n# Optimize_time: 0.000283862\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY5MS40bXMsIG9wZW46OTUwbnMsIGNsb3NlOjkxOW5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY5MS40bXMsIG9wZW46OTUwbnMsIGNsb3NlOjkxOW5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.0000187\nIMPORT INTO `load_csv`.`t_gen1` (`a`) FROM 'gcs://test-bucket/generated_columns.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH fields_terminated_by=_UTF8MB4' ';"] [2025/04/04 13:02:10.051 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:10.107 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"columns-and-vars\":\"(`a`, @`1`)\",\"file-location\":\"gcs://test-bucket/generated_columns.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"fields_terminated_by\":\"\\t\"}}"] [dist-task-enabled=true] [2025/04/04 13:02:10.128 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30034] [task-id=30034] [data-size=7B] [thread-cnt=26] [global-sort=false] [2025/04/04 13:02:10.144 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30034] [2025/04/04 13:02:10.144 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=30034] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/04 13:02:10.246 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30034] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 13:02:10.247 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30034] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:02:10.248 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30034] [curr-step=init] [next-step=import] [2025/04/04 13:02:10.256 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:10.259 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t_gen1] [2025/04/04 13:02:10.259 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t_gen1] [before=536870912000] [after=7] [2025/04/04 13:02:10.259 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t_gen1] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=7] [cost=54.122µs] [2025/04/04 13:02:10.259 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t_gen1] [takeTime=162.265µs] [] [2025/04/04 13:02:10.259 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30034] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 13:02:10.259 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30034] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/04 13:02:10.297 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30034] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 13:02:10.318 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30034] [step=import] [2025/04/04 13:02:10.318 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:10.326 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 13:02:10.327 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 13:02:10.327 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 13:02:10.327 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 13:02:10.327 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 13:02:10.327 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 13:02:10.327 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 13:02:10.327 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 13:02:10.328 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 13:02:10.328 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 13:02:10.341 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 13:02:10.343 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 13:02:10.343 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t_gen1] [quota=374.2GB] [2025/04/04 13:02:10.343 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=30034] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 13:02:10.343 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t_gen1] [import-id=30034] [disk-quota=348.5GiB] [2025/04/04 13:02:10.343 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30034] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 13:02:10.352 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30034] [task-type=ImportInto] [server-id=:4000] [subtaskID=30064] [step=import] [2025/04/04 13:02:10.352 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30034] [step=import] [subtask-id=30064] [2025/04/04 13:02:10.354 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=30034] [mode=Import] [2025/04/04 13:02:10.356 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:0] [engineUUID=2338f157-c807-5664-9eae-1ae164d075d7] [2025/04/04 13:02:10.360 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:-1] [engineUUID=0063f486-3d5e-5c59-9865-8b1da5b97873] [2025/04/04 13:02:10.360 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=462] [2025/04/04 13:02:10.376 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=462] [key=generated_columns.csv:0] [2025/04/04 13:02:10.378 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=30034] [2025/04/04 13:02:10.378 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=462] [key=generated_columns.csv:0] [readDur=926.065µs] [encodeDur=418.625µs] [checksum="{cksum=6725679395568127565,size=58,kvs=2}"] [deliverDur=252.115µs] [type=file] [takeTime=1.919454ms] [] [2025/04/04 13:02:10.379 +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/30034/2338f157-c807-5664-9eae-1ae164d075d7.sst/ea7591cc-d22d-4a4d-bced-91be61943d9b.sst] [firstKey=7480000000000001CE5F728000000000000001] [lastKey=7480000000000001CE5F728000000000000002] [2025/04/04 13:02:10.379 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=30034] [step=import] [engine-id=0] [2025/04/04 13:02:10.379 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=30034] [step=import] [engine-id=0] [2025/04/04 13:02:10.379 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:0] [engineUUID=2338f157-c807-5664-9eae-1ae164d075d7] [2025/04/04 13:02:10.381 +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.190901ms] [] [2025/04/04 13:02:10.381 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:0] [engineUUID=2338f157-c807-5664-9eae-1ae164d075d7] [retryCnt=0] [2025/04/04 13:02:10.385 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 13:02:10.407 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=2338f157-c807-5664-9eae-1ae164d075d7] ["region ranges"=1] [count=2] [size=58] [2025/04/04 13:02:10.407 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 13:02:10.409 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001ce5f728000000000000001] [endOfAllRanges=7480000000000001ce5f728000000000000003] [startKeyOfFirstRegion=7480000000000001ffce5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ffce5f728000000000ff0000030000000000fa] [2025/04/04 13:02:10.425 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=2338f157-c807-5664-9eae-1ae164d075d7] [size=58] [kvs=2] [importedSize=58] [importedCount=2] [2025/04/04 13:02:10.427 +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=45.160193ms] [] [2025/04/04 13:02:10.427 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:0] [engineUUID=2338f157-c807-5664-9eae-1ae164d075d7] [2025/04/04 13:02:10.428 +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.146277ms] [] [2025/04/04 13:02:10.428 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=30034] [step=import] [engine-id=0] [2025/04/04 13:02:10.428 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:-1] [engineUUID=0063f486-3d5e-5c59-9865-8b1da5b97873] [2025/04/04 13:02:10.429 +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.56036ms] [] [2025/04/04 13:02:10.430 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:-1] [engineUUID=0063f486-3d5e-5c59-9865-8b1da5b97873] [retryCnt=0] [2025/04/04 13:02:10.433 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=0063f486-3d5e-5c59-9865-8b1da5b97873] [2025/04/04 13:02:10.433 +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.591814ms] [] [2025/04/04 13:02:10.433 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:-1] [engineUUID=0063f486-3d5e-5c59-9865-8b1da5b97873] [2025/04/04 13:02:10.434 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:-1] [engineUUID=0063f486-3d5e-5c59-9865-8b1da5b97873] [takeTime=859.748µs] [] [2025/04/04 13:02:10.434 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=30034] [step=import] [subtask-id=30064] [takeTime=82.159103ms] [] [2025/04/04 13:02:10.435 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30034] [task-type=ImportInto] [server-id=:4000] [subtaskID=30064] [step=import] [takeTime=82.699513ms] [] [2025/04/04 13:02:10.452 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30034] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 13:02:10.453 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30034] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:02:10.454 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30034] [curr-step=import] [next-step=post-process] [2025/04/04 13:02:10.454 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=30034] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 13:02:10.484 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=30034] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/04 13:02:10.485 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30034] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 13:02:10.485 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30034] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=26] [subtasks=1] [2025/04/04 13:02:10.520 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=30034] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 13:02:10.526 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30034] [step=import] [2025/04/04 13:02:10.529 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 13:02:10.529 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 13:02:10.529 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 13:02:10.529 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 13:02:10.529 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 13:02:10.529 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 13:02:10.529 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 13:02:10.529 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:02:10.529 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:02:10.529 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:02:10.529 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 13:02:10.529 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-33] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:02:10.531 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 13:02:10.532 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:02:10.532 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:02:10.532 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:02:10.532 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30034] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=188.324856ms] [] [2025/04/04 13:02:10.533 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30034] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 13:02:10.540 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30034] [task-type=ImportInto] [server-id=:4000] [subtaskID=30065] [step=post-process] [2025/04/04 13:02:10.540 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=30034] [step=post-process] [subtask-id=30065] [2025/04/04 13:02:10.541 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=30034] [step=post-process] [subtask-id=30065] [2025/04/04 13:02:10.541 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=30034] [step=post-process] [subtask-id=30065] [2025/04/04 13:02:10.544 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=30034] [step=post-process] [subtask-id=30065] [takeTime=3.658919ms] [] [2025/04/04 13:02:10.544 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=30034] [step=post-process] [subtask-id=30065] [groupId=-1] [size=58] [kvs=2] [checksum=6725679395568127565] [2025/04/04 13:02:10.544 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=30034] [step=post-process] [subtask-id=30065] [checksum="{cksum=6725679395568127565,size=58,kvs=2}"] [2025/04/04 13:02:10.544 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=30034] [step=post-process] [subtask-id=30065] [weight=30] [2025/04/04 13:02:10.544 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=30034] [step=post-process] [subtask-id=30065] [concurrency=15] [2025/04/04 13:02:10.546 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=462] [physicalTableID=462] [indexID=-1] [checksum=6725679395568127565] [totalKvs=2] [totalBytes=58] [2025/04/04 13:02:10.547 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 13:02:10.547 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=30034] [step=post-process] [subtask-id=30065] [local="{cksum=6725679395568127565,size=58,kvs=2}"] [2025/04/04 13:02:10.547 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=30034] [step=post-process] [subtask-id=30065] [takeTime=6.391891ms] [] [2025/04/04 13:02:10.547 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=30034] [step=post-process] [subtask-id=30065] [takeTime=6.529727ms] [] [2025/04/04 13:02:10.547 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30034] [task-type=ImportInto] [server-id=:4000] [subtaskID=30065] [step=post-process] [takeTime=6.675677ms] [] [2025/04/04 13:02:10.557 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 13:02:10.651 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30034] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 13:02:10.651 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30034] [step=post-process] [state=running] [] [2025/04/04 13:02:10.653 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=30034] [2025/04/04 13:02:10.684 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30034] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=150.809066ms] [] [2025/04/04 13:02:10.684 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30034] [type=ImportInto] [2025/04/04 13:02:10.744 +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.705942883\n# Parse_time: 0.000176489\n# Compile_time: 0.000682029\n# Rewrite_time: 0.00033642\n# Optimize_time: 0.000241698\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('SvBJMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjcwNC44bXMsIG9wZW46NzIwbnMsIGNsb3NlOjEuMDbCtXMsIGxvb3BzOjIJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('ZfBSCmEKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWjB0aW1lOjcwNC44bXMsIG9wZW46NzIwbnMsIGNsb3NlOjEuMDbCtXMsIGxvb3BzOjJw//////8BAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.0000187\nIMPORT INTO `load_csv`.`t_gen1` (`a`,@`1`) FROM 'gcs://test-bucket/generated_columns.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH fields_terminated_by=_UTF8MB4' ';"] [2025/04/04 13:02:10.746 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30034] [2025/04/04 13:02:10.752 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 13:02:10.752 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30034] [2025/04/04 13:02:10.761 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:465, Type:create table, State:queueing, SchemaState:none, SchemaID:460, TableID:464, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:10.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:02:10.761 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:465, Type:create table, State:queueing, SchemaState:none, SchemaID:460, TableID:464, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:10.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t_gen2 (a int generated ALWAYS AS (b+1), b int);"] [2025/04/04 13:02:10.766 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=465] [conn=2] [job="ID:465, Type:create table, State:queueing, SchemaState:none, SchemaID:460, TableID:464, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:10.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:10.771 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 464, Table Name: t_gen2)"] [2025/04/04 13:02:10.774 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 13:02:10.787 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=362] [neededSchemaVersion=363] ["elapsed time"=1.669299ms] [gotSchemaVersion=363] [phyTblIDs="[464]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 13:02:10.790 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=465] [version=363] [2025/04/04 13:02:10.792 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=363] ["take time"=8.981082ms] [job="ID:465, Type:create table, State:done, SchemaState:public, SchemaID:460, TableID:464, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:10.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:10.802 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=465] [conn=2] [job="ID:465, Type:create table, State:synced, SchemaState:public, SchemaID:460, TableID:464, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:10.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:10.814 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=465] [2025/04/04 13:02:10.814 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=363] [cur_db=load_csv] [sql="create table t_gen2 (a int generated ALWAYS AS (b+1), b int);"] [user=root@%] [2025/04/04 13:02:10.820 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:10.866 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gcs://test-bucket/generated_columns.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"fields_terminated_by\":\"\\t\"}}"] [dist-task-enabled=true] [2025/04/04 13:02:10.883 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30035] [task-id=30035] [data-size=7B] [thread-cnt=26] [global-sort=false] [2025/04/04 13:02:10.897 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30035] [2025/04/04 13:02:10.897 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=30035] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/04 13:02:11.002 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30035] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 13:02:11.003 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30035] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:02:11.004 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30035] [curr-step=init] [next-step=import] [2025/04/04 13:02:11.013 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:11.015 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t_gen2] [2025/04/04 13:02:11.016 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t_gen2] [before=536870912000] [after=7] [2025/04/04 13:02:11.016 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t_gen2] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=7] [cost=45.783µs] [2025/04/04 13:02:11.016 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t_gen2] [takeTime=158.48µs] [] [2025/04/04 13:02:11.016 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30035] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 13:02:11.016 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30035] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/04 13:02:11.046 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30035] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 13:02:11.066 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30035] [step=import] [2025/04/04 13:02:11.066 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:11.074 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 13:02:11.074 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 13:02:11.074 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 13:02:11.074 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 13:02:11.074 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 13:02:11.075 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 13:02:11.075 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 13:02:11.075 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 13:02:11.075 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 13:02:11.075 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 13:02:11.087 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 13:02:11.089 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 13:02:11.089 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t_gen2] [quota=374.2GB] [2025/04/04 13:02:11.089 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=30035] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 13:02:11.089 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t_gen2] [import-id=30035] [disk-quota=348.5GiB] [2025/04/04 13:02:11.089 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30035] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 13:02:11.097 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30035] [task-type=ImportInto] [server-id=:4000] [subtaskID=30066] [step=import] [2025/04/04 13:02:11.097 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30035] [step=import] [subtask-id=30066] [2025/04/04 13:02:11.101 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:0] [engineUUID=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] [2025/04/04 13:02:11.104 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:-1] [engineUUID=af5132f3-132a-5b97-bec8-b012709d66fc] [2025/04/04 13:02:11.104 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=464] [2025/04/04 13:02:11.107 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=30035] [mode=Import] [2025/04/04 13:02:11.124 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=464] [key=generated_columns.csv:0] [2025/04/04 13:02:11.125 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=30035] [2025/04/04 13:02:11.127 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=464] [key=generated_columns.csv:0] [readDur=984.076µs] [encodeDur=1.455492ms] [checksum="{cksum=12236948213998824982,size=58,kvs=2}"] [deliverDur=196.856µs] [type=file] [takeTime=2.974736ms] [] [2025/04/04 13:02:11.128 +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/30035/2af2eecd-4648-5805-aaa5-feaf0c6afb0e.sst/78ba0361-edea-41bd-8d98-4b8b0d1b75c7.sst] [firstKey=7480000000000001D05F728000000000000001] [lastKey=7480000000000001D05F728000000000000002] [2025/04/04 13:02:11.128 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=30035] [step=import] [engine-id=0] [2025/04/04 13:02:11.128 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=30035] [step=import] [engine-id=0] [2025/04/04 13:02:11.128 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:0] [engineUUID=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] [2025/04/04 13:02:11.130 +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.306267ms] [] [2025/04/04 13:02:11.130 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:0] [engineUUID=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] [retryCnt=0] [2025/04/04 13:02:11.134 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 13:02:11.156 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] ["region ranges"=1] [count=2] [size=58] [2025/04/04 13:02:11.156 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 13:02:11.158 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001d05f728000000000000001] [endOfAllRanges=7480000000000001d05f728000000000000003] [startKeyOfFirstRegion=7480000000000001ffd05f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ffd05f728000000000ff0000030000000000fa] [2025/04/04 13:02:11.170 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] [size=58] [kvs=2] [importedSize=58] [importedCount=2] [2025/04/04 13:02:11.172 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:0] [engineUUID=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] [retryCnt=0] [takeTime=41.376504ms] [] [2025/04/04 13:02:11.172 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:0] [engineUUID=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] [2025/04/04 13:02:11.173 +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.029267ms] [] [2025/04/04 13:02:11.173 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=30035] [step=import] [engine-id=0] [2025/04/04 13:02:11.173 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:-1] [engineUUID=af5132f3-132a-5b97-bec8-b012709d66fc] [2025/04/04 13:02:11.175 +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.536154ms] [] [2025/04/04 13:02:11.175 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:-1] [engineUUID=af5132f3-132a-5b97-bec8-b012709d66fc] [retryCnt=0] [2025/04/04 13:02:11.178 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=af5132f3-132a-5b97-bec8-b012709d66fc] [2025/04/04 13:02:11.178 +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.560995ms] [] [2025/04/04 13:02:11.178 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:-1] [engineUUID=af5132f3-132a-5b97-bec8-b012709d66fc] [2025/04/04 13:02:11.179 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:-1] [engineUUID=af5132f3-132a-5b97-bec8-b012709d66fc] [takeTime=901.557µs] [] [2025/04/04 13:02:11.179 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=30035] [step=import] [subtask-id=30066] [takeTime=82.423745ms] [] [2025/04/04 13:02:11.179 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30035] [task-type=ImportInto] [server-id=:4000] [subtaskID=30066] [step=import] [takeTime=82.564835ms] [] [2025/04/04 13:02:11.204 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30035] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 13:02:11.205 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30035] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:02:11.206 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30035] [curr-step=import] [next-step=post-process] [2025/04/04 13:02:11.206 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=30035] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 13:02:11.234 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=30035] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/04 13:02:11.235 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30035] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 13:02:11.235 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30035] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=26] [subtasks=1] [2025/04/04 13:02:11.269 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=30035] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 13:02:11.275 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30035] [step=import] [2025/04/04 13:02:11.278 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 13:02:11.278 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 13:02:11.278 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 13:02:11.278 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 13:02:11.278 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 13:02:11.278 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 13:02:11.278 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 13:02:11.278 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:02:11.278 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:02:11.278 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-34] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:02:11.278 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:02:11.278 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 13:02:11.280 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 13:02:11.281 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:02:11.281 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:02:11.281 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:02:11.281 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30035] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=191.714669ms] [] [2025/04/04 13:02:11.282 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30035] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 13:02:11.289 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30035] [task-type=ImportInto] [server-id=:4000] [subtaskID=30067] [step=post-process] [2025/04/04 13:02:11.289 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=30035] [step=post-process] [subtask-id=30067] [2025/04/04 13:02:11.289 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=30035] [step=post-process] [subtask-id=30067] [2025/04/04 13:02:11.289 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=30035] [step=post-process] [subtask-id=30067] [2025/04/04 13:02:11.295 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=30035] [step=post-process] [subtask-id=30067] [takeTime=5.981098ms] [] [2025/04/04 13:02:11.295 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=30035] [step=post-process] [subtask-id=30067] [groupId=-1] [size=58] [kvs=2] [checksum=12236948213998824982] [2025/04/04 13:02:11.295 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=30035] [step=post-process] [subtask-id=30067] [checksum="{cksum=12236948213998824982,size=58,kvs=2}"] [2025/04/04 13:02:11.295 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=30035] [step=post-process] [subtask-id=30067] [weight=30] [2025/04/04 13:02:11.295 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=30035] [step=post-process] [subtask-id=30067] [concurrency=15] [2025/04/04 13:02:11.297 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=464] [physicalTableID=464] [indexID=-1] [checksum=12236948213998824982] [totalKvs=2] [totalBytes=58] [2025/04/04 13:02:11.297 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 13:02:11.298 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=30035] [step=post-process] [subtask-id=30067] [local="{cksum=12236948213998824982,size=58,kvs=2}"] [2025/04/04 13:02:11.298 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=30035] [step=post-process] [subtask-id=30067] [takeTime=8.422363ms] [] [2025/04/04 13:02:11.298 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=30035] [step=post-process] [subtask-id=30067] [takeTime=8.549943ms] [] [2025/04/04 13:02:11.298 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30035] [task-type=ImportInto] [server-id=:4000] [subtaskID=30067] [step=post-process] [takeTime=8.681743ms] [] [2025/04/04 13:02:11.304 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 13:02:11.404 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30035] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 13:02:11.405 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30035] [step=post-process] [state=running] [] [2025/04/04 13:02:11.407 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=30035] [2025/04/04 13:02:11.432 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30035] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=149.806391ms] [] [2025/04/04 13:02:11.432 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30035] [type=ImportInto] [2025/04/04 13:02:11.498 +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.684085601\n# Parse_time: 0.000125774\n# Compile_time: 0.000709298\n# Rewrite_time: 0.000336422\n# Optimize_time: 0.000263519\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY4M21zLCBvcGVuOjY5Nm5zLCBjbG9zZToxLjM3wrVzLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY4M21zLCBvcGVuOjY5Nm5zLCBjbG9zZToxLjM3wrVzLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.0000187\nIMPORT INTO `load_csv`.`t_gen2` FROM 'gcs://test-bucket/generated_columns.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH fields_terminated_by=_UTF8MB4' ';"] [2025/04/04 13:02:11.499 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30035] [2025/04/04 13:02:11.505 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 13:02:11.505 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30035] [2025/04/04 13:02:11.513 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:11.526 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 13:02:11.558 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"columns-and-vars\":\"(`b`)\",\"file-location\":\"gcs://test-bucket/generated_columns.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"fields_terminated_by\":\"\\t\"}}"] [dist-task-enabled=true] [2025/04/04 13:02:11.576 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30036] [task-id=30036] [data-size=7B] [thread-cnt=26] [global-sort=false] [2025/04/04 13:02:11.593 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30036] [2025/04/04 13:02:11.594 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=30036] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/04 13:02:11.696 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30036] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 13:02:11.698 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30036] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:02:11.699 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30036] [curr-step=init] [next-step=import] [2025/04/04 13:02:11.707 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:11.709 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t_gen2] [2025/04/04 13:02:11.710 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t_gen2] [before=536870912000] [after=7] [2025/04/04 13:02:11.710 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t_gen2] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=7] [cost=43.455µs] [2025/04/04 13:02:11.710 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t_gen2] [takeTime=135.971µs] [] [2025/04/04 13:02:11.710 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30036] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 13:02:11.710 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30036] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/04 13:02:11.749 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30036] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 13:02:11.769 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30036] [step=import] [2025/04/04 13:02:11.769 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:11.778 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 13:02:11.778 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 13:02:11.779 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 13:02:11.779 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 13:02:11.779 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 13:02:11.779 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 13:02:11.779 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 13:02:11.779 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 13:02:11.779 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 13:02:11.780 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 13:02:11.792 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 13:02:11.794 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 13:02:11.794 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t_gen2] [quota=374.2GB] [2025/04/04 13:02:11.794 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=30036] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 13:02:11.794 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30036] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 13:02:11.794 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t_gen2] [import-id=30036] [disk-quota=348.5GiB] [2025/04/04 13:02:11.802 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30036] [task-type=ImportInto] [server-id=:4000] [subtaskID=30068] [step=import] [2025/04/04 13:02:11.802 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30036] [step=import] [subtask-id=30068] [2025/04/04 13:02:11.803 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=30036] [mode=Import] [2025/04/04 13:02:11.806 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:0] [engineUUID=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] [2025/04/04 13:02:11.810 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:-1] [engineUUID=af5132f3-132a-5b97-bec8-b012709d66fc] [2025/04/04 13:02:11.810 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=464] [2025/04/04 13:02:11.820 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=30036] [2025/04/04 13:02:11.823 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=464] [key=generated_columns.csv:0] [2025/04/04 13:02:11.826 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=464] [key=generated_columns.csv:0] [readDur=910.856µs] [encodeDur=1.813947ms] [checksum="{cksum=6725679395568127565,size=58,kvs=2}"] [deliverDur=190.837µs] [type=file] [takeTime=3.199657ms] [] [2025/04/04 13:02:11.827 +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/30036/2af2eecd-4648-5805-aaa5-feaf0c6afb0e.sst/939cca6f-da42-4665-80ff-30056aff03e8.sst] [firstKey=7480000000000001D05F728000000000000001] [lastKey=7480000000000001D05F728000000000000002] [2025/04/04 13:02:11.827 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=30036] [step=import] [engine-id=0] [2025/04/04 13:02:11.827 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=30036] [step=import] [engine-id=0] [2025/04/04 13:02:11.827 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:0] [engineUUID=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] [2025/04/04 13:02:11.830 +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.282874ms] [] [2025/04/04 13:02:11.830 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:0] [engineUUID=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] [retryCnt=0] [2025/04/04 13:02:11.834 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 13:02:11.855 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] ["region ranges"=1] [count=2] [size=58] [2025/04/04 13:02:11.855 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 13:02:11.857 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001d05f728000000000000001] [endOfAllRanges=7480000000000001d05f728000000000000003] [startKeyOfFirstRegion=7480000000000001ffd05f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ffd05f728000000000ff0000030000000000fa] [2025/04/04 13:02:11.871 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] [size=58] [kvs=2] [importedSize=58] [importedCount=2] [2025/04/04 13:02:11.872 +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=42.734233ms] [] [2025/04/04 13:02:11.872 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:0] [engineUUID=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] [2025/04/04 13:02:11.874 +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.020379ms] [] [2025/04/04 13:02:11.874 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=30036] [step=import] [engine-id=0] [2025/04/04 13:02:11.874 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:-1] [engineUUID=af5132f3-132a-5b97-bec8-b012709d66fc] [2025/04/04 13:02:11.875 +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.421605ms] [] [2025/04/04 13:02:11.875 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:-1] [engineUUID=af5132f3-132a-5b97-bec8-b012709d66fc] [retryCnt=0] [2025/04/04 13:02:11.879 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=af5132f3-132a-5b97-bec8-b012709d66fc] [2025/04/04 13:02:11.879 +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.496871ms] [] [2025/04/04 13:02:11.879 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:-1] [engineUUID=af5132f3-132a-5b97-bec8-b012709d66fc] [2025/04/04 13:02:11.880 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:-1] [engineUUID=af5132f3-132a-5b97-bec8-b012709d66fc] [takeTime=900.607µs] [] [2025/04/04 13:02:11.880 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=30036] [step=import] [subtask-id=30068] [takeTime=77.956066ms] [] [2025/04/04 13:02:11.880 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30036] [task-type=ImportInto] [server-id=:4000] [subtaskID=30068] [step=import] [takeTime=78.100344ms] [] [2025/04/04 13:02:11.901 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30036] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 13:02:11.902 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30036] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:02:11.903 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30036] [curr-step=import] [next-step=post-process] [2025/04/04 13:02:11.903 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=30036] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 13:02:11.930 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=30036] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/04 13:02:11.931 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30036] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 13:02:11.931 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30036] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=26] [subtasks=1] [2025/04/04 13:02:11.960 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=30036] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 13:02:11.966 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30036] [step=import] [2025/04/04 13:02:11.969 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 13:02:11.969 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 13:02:11.969 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 13:02:11.969 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 13:02:11.969 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 13:02:11.969 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 13:02:11.969 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 13:02:11.970 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:02:11.970 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:02:11.969 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-35] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:02:11.970 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:02:11.970 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 13:02:11.972 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 13:02:11.972 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:02:11.972 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:02:11.972 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:02:11.972 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30036] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=178.169363ms] [] [2025/04/04 13:02:11.973 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30036] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 13:02:11.980 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30036] [task-type=ImportInto] [server-id=:4000] [subtaskID=30069] [step=post-process] [2025/04/04 13:02:11.980 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=30036] [step=post-process] [subtask-id=30069] [2025/04/04 13:02:11.980 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=30036] [step=post-process] [subtask-id=30069] [2025/04/04 13:02:11.980 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=30036] [step=post-process] [subtask-id=30069] [2025/04/04 13:02:11.984 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=30036] [step=post-process] [subtask-id=30069] [takeTime=3.477165ms] [] [2025/04/04 13:02:11.984 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=30036] [step=post-process] [subtask-id=30069] [groupId=-1] [size=58] [kvs=2] [checksum=6725679395568127565] [2025/04/04 13:02:11.984 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=30036] [step=post-process] [subtask-id=30069] [checksum="{cksum=6725679395568127565,size=58,kvs=2}"] [2025/04/04 13:02:11.984 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=30036] [step=post-process] [subtask-id=30069] [weight=30] [2025/04/04 13:02:11.984 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=30036] [step=post-process] [subtask-id=30069] [concurrency=15] [2025/04/04 13:02:11.986 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=464] [physicalTableID=464] [indexID=-1] [checksum=6725679395568127565] [totalKvs=2] [totalBytes=58] [2025/04/04 13:02:11.986 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 13:02:11.986 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=30036] [step=post-process] [subtask-id=30069] [local="{cksum=6725679395568127565,size=58,kvs=2}"] [2025/04/04 13:02:11.986 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=30036] [step=post-process] [subtask-id=30069] [takeTime=5.884867ms] [] [2025/04/04 13:02:11.986 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=30036] [step=post-process] [subtask-id=30069] [takeTime=6.00915ms] [] [2025/04/04 13:02:11.986 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30036] [task-type=ImportInto] [server-id=:4000] [subtaskID=30069] [step=post-process] [takeTime=6.118335ms] [] [2025/04/04 13:02:11.995 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 13:02:12.001 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30036] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 13:02:12.001 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30036] [step=post-process] [state=running] [] [2025/04/04 13:02:12.003 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=30036] [2025/04/04 13:02:12.031 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30036] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=58.163709ms] [] [2025/04/04 13:02:12.031 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30036] [type=ImportInto] [2025/04/04 13:02:12.096 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30036] [2025/04/04 13:02:12.102 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 13:02:12.102 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30036] [2025/04/04 13:02:12.123 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 13:02:12.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.684334745\n# Parse_time: 0.000126689\n# Compile_time: 0.000798893\n# Rewrite_time: 0.000412402\n# Optimize_time: 0.000237337\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('SvBJMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY4My4xbXMsIG9wZW46NjYzbnMsIGNsb3NlOjEuMDjCtXMsIGxvb3BzOjIJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('ZfBSCmEKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWjB0aW1lOjY4My4xbXMsIG9wZW46NjYzbnMsIGNsb3NlOjEuMDjCtXMsIGxvb3BzOjJw//////8BAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.0000187\nIMPORT INTO `load_csv`.`t_gen2` (`b`) FROM 'gcs://test-bucket/generated_columns.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH fields_terminated_by=_UTF8MB4' ';"] [2025/04/04 13:02:12.212 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:12.258 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"columns-and-vars\":\"(`a`)\",\"file-location\":\"gcs://test-bucket/generated_columns.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"fields_terminated_by\":\"\\t\"}}"] [dist-task-enabled=true] [2025/04/04 13:02:12.275 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30037] [task-id=30037] [data-size=7B] [thread-cnt=26] [global-sort=false] [2025/04/04 13:02:12.289 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30037] [2025/04/04 13:02:12.289 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=30037] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/04 13:02:12.391 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30037] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 13:02:12.393 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30037] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:02:12.394 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30037] [curr-step=init] [next-step=import] [2025/04/04 13:02:12.403 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:12.405 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t_gen2] [2025/04/04 13:02:12.405 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t_gen2] [before=536870912000] [after=7] [2025/04/04 13:02:12.405 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t_gen2] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=7] [cost=61.485µs] [2025/04/04 13:02:12.405 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t_gen2] [takeTime=159.574µs] [] [2025/04/04 13:02:12.405 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30037] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 13:02:12.405 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30037] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/04 13:02:12.436 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30037] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 13:02:12.455 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30037] [step=import] [2025/04/04 13:02:12.455 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:12.463 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 13:02:12.463 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 13:02:12.463 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 13:02:12.463 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 13:02:12.463 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 13:02:12.463 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 13:02:12.464 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 13:02:12.463 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 13:02:12.464 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 13:02:12.464 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 13:02:12.475 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 13:02:12.476 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 13:02:12.476 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t_gen2] [quota=374.2GB] [2025/04/04 13:02:12.476 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=30037] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 13:02:12.476 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t_gen2] [import-id=30037] [disk-quota=348.5GiB] [2025/04/04 13:02:12.476 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30037] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 13:02:12.483 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30037] [task-type=ImportInto] [server-id=:4000] [subtaskID=30070] [step=import] [2025/04/04 13:02:12.483 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30037] [step=import] [subtask-id=30070] [2025/04/04 13:02:12.486 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:0] [engineUUID=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] [2025/04/04 13:02:12.489 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:-1] [engineUUID=af5132f3-132a-5b97-bec8-b012709d66fc] [2025/04/04 13:02:12.490 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=464] [2025/04/04 13:02:12.497 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=30037] [mode=Import] [2025/04/04 13:02:12.503 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=464] [key=generated_columns.csv:0] [2025/04/04 13:02:12.506 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=464] [key=generated_columns.csv:0] [readDur=885.139µs] [encodeDur=1.479504ms] [checksum="{cksum=7435750759411199284,size=50,kvs=2}"] [deliverDur=238.384µs] [type=file] [takeTime=2.883113ms] [] [2025/04/04 13:02:12.507 +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/30037/2af2eecd-4648-5805-aaa5-feaf0c6afb0e.sst/b8c55ccd-b993-4e5c-ad23-b92352a05b9d.sst] [firstKey=7480000000000001D05F728000000000000001] [lastKey=7480000000000001D05F728000000000000002] [2025/04/04 13:02:12.507 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=30037] [step=import] [engine-id=0] [2025/04/04 13:02:12.507 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=30037] [step=import] [engine-id=0] [2025/04/04 13:02:12.507 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:0] [engineUUID=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] [2025/04/04 13:02:12.509 +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.894757ms] [] [2025/04/04 13:02:12.509 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:0] [engineUUID=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] [retryCnt=0] [2025/04/04 13:02:12.514 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 13:02:12.515 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=30037] [2025/04/04 13:02:12.535 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] ["region ranges"=1] [count=2] [size=50] [2025/04/04 13:02:12.535 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 13:02:12.537 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001d05f728000000000000001] [endOfAllRanges=7480000000000001d05f728000000000000003] [startKeyOfFirstRegion=7480000000000001ffd05f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ffd05f728000000000ff0000030000000000fa] [2025/04/04 13:02:12.550 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] [size=50] [kvs=2] [importedSize=50] [importedCount=2] [2025/04/04 13:02:12.552 +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=42.719386ms] [] [2025/04/04 13:02:12.552 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:0] [engineUUID=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] [2025/04/04 13:02:12.553 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:0] [engineUUID=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] [takeTime=972.898µs] [] [2025/04/04 13:02:12.553 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=30037] [step=import] [engine-id=0] [2025/04/04 13:02:12.553 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:-1] [engineUUID=af5132f3-132a-5b97-bec8-b012709d66fc] [2025/04/04 13:02:12.554 +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.60086ms] [] [2025/04/04 13:02:12.554 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:-1] [engineUUID=af5132f3-132a-5b97-bec8-b012709d66fc] [retryCnt=0] [2025/04/04 13:02:12.558 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=af5132f3-132a-5b97-bec8-b012709d66fc] [2025/04/04 13:02:12.558 +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.412622ms] [] [2025/04/04 13:02:12.558 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:-1] [engineUUID=af5132f3-132a-5b97-bec8-b012709d66fc] [2025/04/04 13:02:12.559 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:-1] [engineUUID=af5132f3-132a-5b97-bec8-b012709d66fc] [takeTime=868.571µs] [] [2025/04/04 13:02:12.559 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=30037] [step=import] [subtask-id=30070] [takeTime=75.825454ms] [] [2025/04/04 13:02:12.559 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30037] [task-type=ImportInto] [server-id=:4000] [subtaskID=30070] [step=import] [takeTime=75.952523ms] [] [2025/04/04 13:02:12.596 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30037] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 13:02:12.597 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30037] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:02:12.598 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30037] [curr-step=import] [next-step=post-process] [2025/04/04 13:02:12.598 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=30037] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 13:02:12.626 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=30037] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/04 13:02:12.627 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30037] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 13:02:12.627 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30037] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=26] [subtasks=1] [2025/04/04 13:02:12.655 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=30037] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 13:02:12.661 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30037] [step=import] [2025/04/04 13:02:12.664 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 13:02:12.664 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 13:02:12.664 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 13:02:12.664 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 13:02:12.664 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 13:02:12.664 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 13:02:12.664 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 13:02:12.664 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:02:12.664 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:02:12.664 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-36] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:02:12.664 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:02:12.664 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 13:02:12.666 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 13:02:12.666 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:02:12.666 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:02:12.666 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:02:12.666 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30037] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=189.905076ms] [] [2025/04/04 13:02:12.667 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30037] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 13:02:12.674 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30037] [task-type=ImportInto] [server-id=:4000] [subtaskID=30071] [step=post-process] [2025/04/04 13:02:12.674 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=30037] [step=post-process] [subtask-id=30071] [2025/04/04 13:02:12.674 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=30037] [step=post-process] [subtask-id=30071] [2025/04/04 13:02:12.674 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=30037] [step=post-process] [subtask-id=30071] [2025/04/04 13:02:12.677 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=30037] [step=post-process] [subtask-id=30071] [takeTime=3.042683ms] [] [2025/04/04 13:02:12.677 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=30037] [step=post-process] [subtask-id=30071] [groupId=-1] [size=50] [kvs=2] [checksum=7435750759411199284] [2025/04/04 13:02:12.677 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=30037] [step=post-process] [subtask-id=30071] [checksum="{cksum=7435750759411199284,size=50,kvs=2}"] [2025/04/04 13:02:12.677 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=30037] [step=post-process] [subtask-id=30071] [weight=30] [2025/04/04 13:02:12.677 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=30037] [step=post-process] [subtask-id=30071] [concurrency=15] [2025/04/04 13:02:12.679 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=464] [physicalTableID=464] [indexID=-1] [checksum=7435750759411199284] [totalKvs=2] [totalBytes=50] [2025/04/04 13:02:12.679 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 13:02:12.679 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=30037] [step=post-process] [subtask-id=30071] [local="{cksum=7435750759411199284,size=50,kvs=2}"] [2025/04/04 13:02:12.679 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=30037] [step=post-process] [subtask-id=30071] [takeTime=5.444659ms] [] [2025/04/04 13:02:12.679 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=30037] [step=post-process] [subtask-id=30071] [takeTime=5.57094ms] [] [2025/04/04 13:02:12.679 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30037] [task-type=ImportInto] [server-id=:4000] [subtaskID=30071] [step=post-process] [takeTime=5.692479ms] [] [2025/04/04 13:02:12.689 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 13:02:12.696 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30037] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 13:02:12.696 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30037] [step=post-process] [state=running] [] [2025/04/04 13:02:12.698 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=30037] [2025/04/04 13:02:12.723 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30037] [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.474391ms] [] [2025/04/04 13:02:12.723 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30037] [type=ImportInto] [2025/04/04 13:02:12.791 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30037] [2025/04/04 13:02:12.796 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 13:02:12.796 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30037] [2025/04/04 13:02:12.816 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 13:02:12.891 +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.691706214\n# Parse_time: 0.000102462\n# Compile_time: 0.000625376\n# Rewrite_time: 0.000316817\n# Optimize_time: 0.000337734\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('SvBJMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY5MC43bXMsIG9wZW46NzA4bnMsIGNsb3NlOjEuMDfCtXMsIGxvb3BzOjIJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('ZfBSCmEKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWjB0aW1lOjY5MC43bXMsIG9wZW46NzA4bnMsIGNsb3NlOjEuMDfCtXMsIGxvb3BzOjJw//////8BAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.0000187\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 (4.51s) === NAME TestImportInto === RUN TestImportInto/TestIgnoreNLines [2025/04/04 13:02:12.906 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:466, Type:drop schema, State:queueing, SchemaState:public, SchemaID:428, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:12.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:02:12.906 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:466, Type:drop schema, State:queueing, SchemaState:public, SchemaID:428, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:12.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop database if exists load_data"] [2025/04/04 13:02:12.911 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=466] [conn=2] [job="ID:466, Type:drop schema, State:queueing, SchemaState:public, SchemaID:428, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:12.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:12.926 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=363] [neededSchemaVersion=364] ["elapsed time"=145.824µs] [gotSchemaVersion=364] [phyTblIDs="[432]"] [actionTypes="[2]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 13:02:12.929 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=466] [version=364] [2025/04/04 13:02:12.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=364] ["take time"=6.515582ms] [job="ID:466, Type:drop schema, State:running, SchemaState:write only, SchemaID:428, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:12.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:12.939 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=466] [conn=2] [job="ID:466, Type:drop schema, State:running, SchemaState:write only, SchemaID:428, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:12.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:12.951 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=364] [neededSchemaVersion=365] ["elapsed time"=183.859µs] [gotSchemaVersion=365] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 13:02:12.955 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=466] [version=365] [2025/04/04 13:02:12.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=365] ["take time"=6.992906ms] [job="ID:466, Type:drop schema, State:running, SchemaState:delete only, SchemaID:428, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:12.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:12.964 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=466] [conn=2] [job="ID:466, Type:drop schema, State:running, SchemaState:delete only, SchemaID:428, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:12.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:12.970 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/04 13:02:12.979 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=365] [neededSchemaVersion=366] ["elapsed time"=136.774µs] [gotSchemaVersion=366] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 13:02:12.982 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=466] [version=366] [2025/04/04 13:02:12.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=366] ["take time"=6.399831ms] [job="ID:466, Type:drop schema, State:done, SchemaState:none, SchemaID:428, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:12.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:12.991 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=466] [tableIDs="[432]"] [comment="drop schema: table IDs"] [2025/04/04 13:02:12.995 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=466] [jobType="drop schema"] [2025/04/04 13:02:12.996 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=466] [conn=2] [job="ID:466, Type:drop schema, State:synced, SchemaState:none, SchemaID:428, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:12.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:13.011 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=466] [2025/04/04 13:02:13.012 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=366] [cur_db=load_csv] [sql="drop database if exists load_data"] [user=root@%] [2025/04/04 13:02:13.023 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:468, Type:create schema, State:queueing, SchemaState:none, SchemaID:467, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:12.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:02:13.023 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:468, Type:create schema, State:queueing, SchemaState:none, SchemaID:467, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:12.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database load_data"] [2025/04/04 13:02:13.028 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=468] [conn=2] [job="ID:468, Type:create schema, State:queueing, SchemaState:none, SchemaID:467, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:12.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:13.041 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=366] [neededSchemaVersion=367] ["elapsed time"=696.567µs] [gotSchemaVersion=367] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 13:02:13.043 +00:00] [INFO] [cache.go:406] ["GC compact old schema version"] ["current version"=367] ["oldest version"=1] [deleted=0] [total=840] [takes=346.826µs] [2025/04/04 13:02:13.044 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=468] [version=367] [2025/04/04 13:02:13.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=367] ["take time"=7.629321ms] [job="ID:468, Type:create schema, State:done, SchemaState:public, SchemaID:467, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:12.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:13.056 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=468] [conn=2] [job="ID:468, Type:create schema, State:synced, SchemaState:public, SchemaID:467, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:12.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:13.065 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=468] [2025/04/04 13:02:13.065 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=367] [cur_db=load_csv] [sql="create database load_data"] [user=root@%] [2025/04/04 13:02:13.067 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=367] [cur_db=load_data] [sql="drop table if exists t;"] [user=root@%] [2025/04/04 13:02:13.079 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:470, Type:create table, State:queueing, SchemaState:none, SchemaID:467, TableID:469, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:13.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:02:13.079 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:470, Type:create table, State:queueing, SchemaState:none, SchemaID:467, TableID:469, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:13.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100), c int);"] [2025/04/04 13:02:13.085 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=470] [conn=2] [job="ID:470, Type:create table, State:queueing, SchemaState:none, SchemaID:467, TableID:469, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:13.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:13.089 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 469, Table Name: t)"] [2025/04/04 13:02:13.104 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=367] [neededSchemaVersion=368] ["elapsed time"=1.575464ms] [gotSchemaVersion=368] [phyTblIDs="[469]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 13:02:13.107 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=470] [version=368] [2025/04/04 13:02:13.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=368] ["take time"=7.86845ms] [job="ID:470, Type:create table, State:done, SchemaState:public, SchemaID:467, TableID:469, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:13.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:13.119 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=470] [conn=2] [job="ID:470, Type:create table, State:synced, SchemaState:public, SchemaID:467, TableID:469, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:13.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:13.130 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=470] [2025/04/04 13:02:13.130 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=368] [cur_db=load_data] [sql="create table t (a bigint, b varchar(100), c int);"] [user=root@%] [2025/04/04 13:02:13.136 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:13.190 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-multi-load/skip-rows-*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/04 13:02:13.216 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30038] [task-id=30038] [data-size=97B] [thread-cnt=1] [global-sort=false] [2025/04/04 13:02:13.230 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30038] [2025/04/04 13:02:13.230 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=30038] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/04 13:02:13.332 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30038] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 13:02:13.333 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30038] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:02:13.334 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30038] [curr-step=init] [next-step=import] [2025/04/04 13:02:13.342 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:13.344 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 13:02:13.344 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=97] [2025/04/04 13:02:13.345 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=2] [MaxChunkSize=268435456] [RegionsCount=2] [BatchSize=97] [cost=74.105µs] [2025/04/04 13:02:13.345 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=212.28µs] [] [2025/04/04 13:02:13.345 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30038] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 13:02:13.345 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30038] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/04 13:02:13.376 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30038] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 13:02:13.395 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30038] [step=import] [2025/04/04 13:02:13.395 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:13.402 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 13:02:13.403 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 13:02:13.403 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 13:02:13.403 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 13:02:13.403 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 13:02:13.403 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 13:02:13.403 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 13:02:13.403 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 13:02:13.404 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 13:02:13.404 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 13:02:13.416 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 13:02:13.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/04 13:02:13.418 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 13:02:13.418 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=30038] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 13:02:13.418 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=30038] [disk-quota=348.5GiB] [2025/04/04 13:02:13.418 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30038] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/04 13:02:13.425 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30038] [task-type=ImportInto] [server-id=:4000] [subtaskID=30072] [step=import] [2025/04/04 13:02:13.425 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30038] [step=import] [subtask-id=30072] [2025/04/04 13:02:13.428 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 13:02:13.432 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 13:02:13.432 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=469] [2025/04/04 13:02:13.438 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=30038] [mode=Import] [2025/04/04 13:02:13.446 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=469] [key=skip-rows-1.csv:0] [2025/04/04 13:02:13.448 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=469] [key=skip-rows-1.csv:0] [readDur=906.313µs] [encodeDur=520.782µs] [checksum="{cksum=12736467198054628245,size=164,kvs=4}"] [deliverDur=209.552µs] [type=file] [takeTime=1.90161ms] [] [2025/04/04 13:02:13.449 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=469] [2025/04/04 13:02:13.449 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=164] [kvs=4] [files=1] [sstFileSize=1020] [file=/tmp/tidb/import-4000/30038/67ea3590-7c4f-5a31-ade6-de9a31136e82.sst/1cb01a24-5f3a-4454-8316-7c3a2376275c.sst] [firstKey=7480000000000001D55F728000000000000001] [lastKey=7480000000000001D55F728000000000000004] [2025/04/04 13:02:13.467 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=469] [key=skip-rows-2.csv:0] [2025/04/04 13:02:13.469 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=469] [key=skip-rows-2.csv:0] [readDur=976.543µs] [encodeDur=694.857µs] [checksum="{cksum=17933363558811472075,size=205,kvs=5}"] [deliverDur=303.439µs] [type=file] [takeTime=2.263281ms] [] [2025/04/04 13:02:13.470 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=205] [kvs=5] [files=1] [sstFileSize=1035] [file=/tmp/tidb/import-4000/30038/67ea3590-7c4f-5a31-ade6-de9a31136e82.sst/67d8a1b9-6677-4a71-92ed-339617497c90.sst] [firstKey=7480000000000001D55F72800000000000000F] [lastKey=7480000000000001D55F728000000000000013] [2025/04/04 13:02:13.470 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=30038] [step=import] [engine-id=0] [2025/04/04 13:02:13.470 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=30038] [step=import] [engine-id=0] [2025/04/04 13:02:13.470 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 13:02:13.473 +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.89134ms] [] [2025/04/04 13:02:13.473 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [retryCnt=0] [2025/04/04 13:02:13.476 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=30038] [2025/04/04 13:02:13.478 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 13:02:13.500 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] ["region ranges"=1] [count=9] [size=369] [2025/04/04 13:02:13.500 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 13:02:13.501 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001d55f728000000000000001] [endOfAllRanges=7480000000000001d55f728000000000000014] [startKeyOfFirstRegion=7480000000000001ffd55f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ffd55f728000000000ff0000140000000000fa] [2025/04/04 13:02:13.512 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] [size=369] [kvs=9] [importedSize=369] [importedCount=9] [2025/04/04 13:02:13.514 +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.323411ms] [] [2025/04/04 13:02:13.514 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 13:02:13.515 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=1.09175ms] [] [2025/04/04 13:02:13.515 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=30038] [step=import] [engine-id=0] [2025/04/04 13:02:13.515 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 13:02:13.516 +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.315215ms] [] [2025/04/04 13:02:13.516 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [retryCnt=0] [2025/04/04 13:02:13.520 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 13:02:13.520 +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.376497ms] [] [2025/04/04 13:02:13.520 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 13:02:13.521 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=860.088µs] [] [2025/04/04 13:02:13.521 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=30038] [step=import] [subtask-id=30072] [takeTime=96.032234ms] [] [2025/04/04 13:02:13.521 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30038] [task-type=ImportInto] [server-id=:4000] [subtaskID=30072] [step=import] [takeTime=96.182922ms] [] [2025/04/04 13:02:13.537 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30038] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 13:02:13.538 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30038] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:02:13.539 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30038] [curr-step=import] [next-step=post-process] [2025/04/04 13:02:13.539 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=30038] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 13:02:13.567 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=30038] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":9}"] [2025/04/04 13:02:13.569 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30038] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 13:02:13.569 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30038] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/04 13:02:13.696 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=30038] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 13:02:13.703 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30038] [step=import] [2025/04/04 13:02:13.706 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 13:02:13.707 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 13:02:13.707 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 13:02:13.707 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 13:02:13.707 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 13:02:13.707 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 13:02:13.707 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 13:02:13.707 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:02:13.707 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:02:13.707 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-37] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:02:13.707 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:02:13.707 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 13:02:13.710 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 13:02:13.711 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:02:13.711 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:02:13.711 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:02:13.711 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30038] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=292.882889ms] [] [2025/04/04 13:02:13.712 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30038] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/04 13:02:13.720 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30038] [task-type=ImportInto] [server-id=:4000] [subtaskID=30073] [step=post-process] [2025/04/04 13:02:13.720 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=30038] [step=post-process] [subtask-id=30073] [2025/04/04 13:02:13.720 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=30038] [step=post-process] [subtask-id=30073] [2025/04/04 13:02:13.720 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=30038] [step=post-process] [subtask-id=30073] [2025/04/04 13:02:13.728 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=30038] [step=post-process] [subtask-id=30073] [takeTime=7.898732ms] [] [2025/04/04 13:02:13.728 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=30038] [step=post-process] [subtask-id=30073] [groupId=-1] [size=369] [kvs=9] [checksum=5197468756184492894] [2025/04/04 13:02:13.728 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=30038] [step=post-process] [subtask-id=30073] [checksum="{cksum=5197468756184492894,size=369,kvs=9}"] [2025/04/04 13:02:13.728 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=30038] [step=post-process] [subtask-id=30073] [weight=30] [2025/04/04 13:02:13.728 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=30038] [step=post-process] [subtask-id=30073] [concurrency=15] [2025/04/04 13:02:13.730 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=469] [physicalTableID=469] [indexID=-1] [checksum=5197468756184492894] [totalKvs=9] [totalBytes=369] [2025/04/04 13:02:13.730 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 13:02:13.730 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=30038] [step=post-process] [subtask-id=30073] [local="{cksum=5197468756184492894,size=369,kvs=9}"] [2025/04/04 13:02:13.730 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=30038] [step=post-process] [subtask-id=30073] [takeTime=10.475567ms] [] [2025/04/04 13:02:13.730 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=30038] [step=post-process] [subtask-id=30073] [takeTime=10.699815ms] [] [2025/04/04 13:02:13.731 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30038] [task-type=ImportInto] [server-id=:4000] [subtaskID=30073] [step=post-process] [takeTime=11.796336ms] [] [2025/04/04 13:02:13.740 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 13:02:13.838 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30038] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 13:02:13.838 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30038] [step=post-process] [state=running] [] [2025/04/04 13:02:13.841 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=30038] [2025/04/04 13:02:13.872 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30038] [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=159.291755ms] [] [2025/04/04 13:02:13.872 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30038] [type=ImportInto] [2025/04/04 13:02:13.932 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30038] [2025/04/04 13:02:13.938 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 13:02:13.938 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30038] [2025/04/04 13:02:13.960 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 13:02:14.134 +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.002903626\n# Parse_time: 0.000089166\n# Compile_time: 0.000449639\n# Rewrite_time: 0.000149496\n# Optimize_time: 0.000240534\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('Q/BCMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjFzLCBvcGVuOjYxMW5zLCBjbG9zZTo2ODhucywgbG9vcHM6MglOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('XvBJCloKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWil0aW1lOjFzLCBvcGVuOjYxMW5zLCBjbG9zZTo2ODhucywgbG9vcHM6MnD///8JAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.0000187\nuse load_data;\nIMPORT INTO `load_data`.`t` FROM 'gs://test-multi-load/skip-rows-*.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1;"] [2025/04/04 13:02:14.149 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:472, Type:truncate table, State:queueing, SchemaState:none, SchemaID:467, TableID:469, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:14.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:02:14.149 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:472, Type:truncate table, State:queueing, SchemaState:none, SchemaID:467, TableID:469, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:14.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table t"] [2025/04/04 13:02:14.154 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=472] [conn=2] [job="ID:472, Type:truncate table, State:queueing, SchemaState:none, SchemaID:467, TableID:469, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:14.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:14.163 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 471, Table Name: t, Old Table ID: 469, Old Table Name: t)"] [2025/04/04 13:02:14.179 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=368] [neededSchemaVersion=369] ["elapsed time"=1.800975ms] [gotSchemaVersion=369] [phyTblIDs="[469,471]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 13:02:14.183 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=472] [version=369] [2025/04/04 13:02:14.185 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=369] ["take time"=9.437355ms] [job="ID:472, Type:truncate table, State:done, SchemaState:public, SchemaID:467, TableID:469, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:14.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:14.196 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=472] [tableIDs="[469]"] [comment="truncate table: table ID"] [2025/04/04 13:02:14.201 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=472] [jobType="truncate table"] [2025/04/04 13:02:14.202 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=472] [conn=2] [job="ID:472, Type:truncate table, State:synced, SchemaState:public, SchemaID:467, TableID:469, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:14.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:14.220 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=472] [2025/04/04 13:02:14.220 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=369] [cur_db=load_data] [sql="truncate table t"] [user=root@%] [2025/04/04 13:02:14.226 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:14.275 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-multi-load/skip-rows-*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"skip_rows\":\"1\",\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/04 13:02:14.293 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30039] [task-id=30039] [data-size=97B] [thread-cnt=1] [global-sort=false] [2025/04/04 13:02:14.310 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30039] [2025/04/04 13:02:14.310 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=30039] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/04 13:02:14.413 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30039] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 13:02:14.414 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30039] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:02:14.415 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30039] [curr-step=init] [next-step=import] [2025/04/04 13:02:14.423 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:14.425 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 13:02:14.425 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=97] [2025/04/04 13:02:14.425 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=2] [MaxChunkSize=268435456] [RegionsCount=2] [BatchSize=97] [cost=82.78µs] [2025/04/04 13:02:14.425 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=261.341µs] [] [2025/04/04 13:02:14.426 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30039] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 13:02:14.426 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30039] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/04 13:02:14.466 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30039] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 13:02:14.486 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30039] [step=import] [2025/04/04 13:02:14.486 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:14.494 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 13:02:14.494 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 13:02:14.495 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 13:02:14.495 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 13:02:14.495 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 13:02:14.495 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 13:02:14.495 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 13:02:14.495 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 13:02:14.495 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 13:02:14.496 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 13:02:14.507 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 13:02:14.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/04 13:02:14.509 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 13:02:14.509 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=30039] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 13:02:14.509 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30039] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/04 13:02:14.509 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=30039] [disk-quota=348.5GiB] [2025/04/04 13:02:14.517 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30039] [task-type=ImportInto] [server-id=:4000] [subtaskID=30074] [step=import] [2025/04/04 13:02:14.517 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30039] [step=import] [subtask-id=30074] [2025/04/04 13:02:14.521 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=30039] [mode=Import] [2025/04/04 13:02:14.521 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 13:02:14.525 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 13:02:14.525 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=471] [2025/04/04 13:02:14.539 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=471] [key=skip-rows-1.csv:0] [2025/04/04 13:02:14.541 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=471] [key=skip-rows-1.csv:0] [readDur=81.005µs] [encodeDur=1.354667ms] [checksum="{cksum=11047996763501817964,size=123,kvs=3}"] [deliverDur=201.062µs] [type=file] [takeTime=1.961039ms] [] [2025/04/04 13:02:14.542 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=471] [2025/04/04 13:02:14.542 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=123] [kvs=3] [files=1] [sstFileSize=1005] [file=/tmp/tidb/import-4000/30039/67ea3590-7c4f-5a31-ade6-de9a31136e82.sst/2895c8db-ba70-4cc3-b0ab-f45d7535eaf1.sst] [firstKey=7480000000000001D75F728000000000000001] [lastKey=7480000000000001D75F728000000000000003] [2025/04/04 13:02:14.543 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=30039] [2025/04/04 13:02:14.555 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=471] [key=skip-rows-2.csv:0] [2025/04/04 13:02:14.558 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=471] [key=skip-rows-2.csv:0] [readDur=94.952µs] [encodeDur=1.539297ms] [checksum="{cksum=5624564024173586417,size=164,kvs=4}"] [deliverDur=244.335µs] [type=file] [takeTime=2.135729ms] [] [2025/04/04 13:02:14.558 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=164] [kvs=4] [files=1] [sstFileSize=1020] [file=/tmp/tidb/import-4000/30039/67ea3590-7c4f-5a31-ade6-de9a31136e82.sst/4c64defb-1422-4c2b-bdf0-370aefa00cd7.sst] [firstKey=7480000000000001D75F72800000000000000F] [lastKey=7480000000000001D75F728000000000000012] [2025/04/04 13:02:14.558 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=30039] [step=import] [engine-id=0] [2025/04/04 13:02:14.558 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=30039] [step=import] [engine-id=0] [2025/04/04 13:02:14.558 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 13:02:14.560 +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.086971ms] [] [2025/04/04 13:02:14.561 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [retryCnt=0] [2025/04/04 13:02:14.565 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 13:02:14.587 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] ["region ranges"=1] [count=7] [size=287] [2025/04/04 13:02:14.587 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 13:02:14.589 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001d75f728000000000000001] [endOfAllRanges=7480000000000001d75f728000000000000013] [startKeyOfFirstRegion=7480000000000001ffd75f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ffd75f728000000000ff0000130000000000fa] [2025/04/04 13:02:14.600 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] [size=287] [kvs=7] [importedSize=287] [importedCount=7] [2025/04/04 13:02:14.602 +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.324793ms] [] [2025/04/04 13:02:14.602 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 13:02:14.603 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=1.117121ms] [] [2025/04/04 13:02:14.603 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=30039] [step=import] [engine-id=0] [2025/04/04 13:02:14.603 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 13:02:14.605 +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.528506ms] [] [2025/04/04 13:02:14.605 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [retryCnt=0] [2025/04/04 13:02:14.608 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 13:02:14.609 +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.554784ms] [] [2025/04/04 13:02:14.609 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 13:02:14.609 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=818.187µs] [] [2025/04/04 13:02:14.610 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=30039] [step=import] [subtask-id=30074] [takeTime=92.633455ms] [] [2025/04/04 13:02:14.610 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30039] [task-type=ImportInto] [server-id=:4000] [subtaskID=30074] [step=import] [takeTime=92.786674ms] [] [2025/04/04 13:02:14.632 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 13:02:14.718 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30039] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 13:02:14.719 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30039] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:02:14.720 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30039] [curr-step=import] [next-step=post-process] [2025/04/04 13:02:14.720 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=30039] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 13:02:14.749 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=30039] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":7}"] [2025/04/04 13:02:14.751 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30039] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 13:02:14.751 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30039] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/04 13:02:14.758 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=30039] [task-type=ImportInto] [server-id=:4000] [2025/04/04 13:02:14.758 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30039] [step=import] [2025/04/04 13:02:14.761 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 13:02:14.761 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 13:02:14.761 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 13:02:14.761 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 13:02:14.761 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 13:02:14.761 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 13:02:14.761 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 13:02:14.761 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:02:14.761 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:02:14.762 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:02:14.761 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-38] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:02:14.762 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 13:02:14.764 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 13:02:14.764 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:02:14.764 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:02:14.764 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:02:14.764 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30039] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=254.612754ms] [] [2025/04/04 13:02:14.764 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30039] [type=ImportInto] [2025/04/04 13:02:14.786 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30039] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 13:02:14.807 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30039] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/04 13:02:14.814 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30039] [task-type=ImportInto] [server-id=:4000] [subtaskID=30075] [step=post-process] [2025/04/04 13:02:14.814 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=30039] [step=post-process] [subtask-id=30075] [2025/04/04 13:02:14.814 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=30039] [step=post-process] [subtask-id=30075] [2025/04/04 13:02:14.814 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=30039] [step=post-process] [subtask-id=30075] [2025/04/04 13:02:14.820 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=30039] [step=post-process] [subtask-id=30075] [takeTime=5.854358ms] [] [2025/04/04 13:02:14.820 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=30039] [step=post-process] [subtask-id=30075] [groupId=-1] [size=287] [kvs=7] [checksum=15518324232801884061] [2025/04/04 13:02:14.820 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=30039] [step=post-process] [subtask-id=30075] [checksum="{cksum=15518324232801884061,size=287,kvs=7}"] [2025/04/04 13:02:14.820 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=30039] [step=post-process] [subtask-id=30075] [weight=30] [2025/04/04 13:02:14.820 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=30039] [step=post-process] [subtask-id=30075] [concurrency=15] [2025/04/04 13:02:14.822 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=471] [physicalTableID=471] [indexID=-1] [checksum=15518324232801884061] [totalKvs=7] [totalBytes=287] [2025/04/04 13:02:14.823 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 13:02:14.823 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=30039] [step=post-process] [subtask-id=30075] [local="{cksum=15518324232801884061,size=287,kvs=7}"] [2025/04/04 13:02:14.823 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=30039] [step=post-process] [subtask-id=30075] [takeTime=8.542777ms] [] [2025/04/04 13:02:14.823 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=30039] [step=post-process] [subtask-id=30075] [takeTime=8.681658ms] [] [2025/04/04 13:02:14.823 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30039] [task-type=ImportInto] [server-id=:4000] [subtaskID=30075] [step=post-process] [takeTime=8.816346ms] [] [2025/04/04 13:02:14.849 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 13:02:14.918 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30039] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 13:02:14.918 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30039] [step=post-process] [state=running] [] [2025/04/04 13:02:14.920 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=30039] [2025/04/04 13:02:14.945 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30039] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=138.178671ms] [] [2025/04/04 13:02:14.945 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30039] [type=ImportInto] [2025/04/04 13:02:15.012 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30039] [2025/04/04 13:02:15.018 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 13:02:15.018 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30039] [2025/04/04 13:02:15.040 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 13:02:15.210 +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.989770226\n# Parse_time: 0.000140851\n# Compile_time: 0.000516367\n# Rewrite_time: 0.000164881\n# Optimize_time: 0.000309113\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('SvBJMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4OC44bXMsIG9wZW46Njk3bnMsIGNsb3NlOjEuMDTCtXMsIGxvb3BzOjIJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('ZfBSCmEKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWjB0aW1lOjk4OC44bXMsIG9wZW46Njk3bnMsIGNsb3NlOjEuMDTCtXMsIGxvb3BzOjJw//////8BAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.0000187\nIMPORT INTO `load_data`.`t` FROM 'gs://test-multi-load/skip-rows-*.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1, skip_rows=1;"] [2025/04/04 13:02:15.226 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:474, Type:truncate table, State:queueing, SchemaState:none, SchemaID:467, TableID:471, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:15.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:02:15.226 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:474, Type:truncate table, State:queueing, SchemaState:none, SchemaID:467, TableID:471, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:15.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table t"] [2025/04/04 13:02:15.231 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=474] [conn=2] [job="ID:474, Type:truncate table, State:queueing, SchemaState:none, SchemaID:467, TableID:471, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:15.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:15.239 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 473, Table Name: t, Old Table ID: 471, Old Table Name: t)"] [2025/04/04 13:02:15.256 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=369] [neededSchemaVersion=370] ["elapsed time"=1.735352ms] [gotSchemaVersion=370] [phyTblIDs="[471,473]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 13:02:15.259 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=474] [version=370] [2025/04/04 13:02:15.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=370] ["take time"=8.9566ms] [job="ID:474, Type:truncate table, State:done, SchemaState:public, SchemaID:467, TableID:471, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:15.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:15.272 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=474] [tableIDs="[471]"] [comment="truncate table: table ID"] [2025/04/04 13:02:15.276 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=474] [jobType="truncate table"] [2025/04/04 13:02:15.277 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=474] [conn=2] [job="ID:474, Type:truncate table, State:synced, SchemaState:public, SchemaID:467, TableID:471, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:15.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:15.295 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=474] [2025/04/04 13:02:15.295 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=370] [cur_db=load_data] [sql="truncate table t"] [user=root@%] [2025/04/04 13:02:15.301 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:15.351 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-multi-load/skip-rows-*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"skip_rows\":\"3\",\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/04 13:02:15.372 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30040] [task-id=30040] [data-size=97B] [thread-cnt=1] [global-sort=false] [2025/04/04 13:02:15.388 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30040] [2025/04/04 13:02:15.388 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=30040] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/04 13:02:15.491 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30040] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 13:02:15.492 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30040] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:02:15.493 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30040] [curr-step=init] [next-step=import] [2025/04/04 13:02:15.501 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:15.504 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 13:02:15.504 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=97] [2025/04/04 13:02:15.504 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=2] [MaxChunkSize=268435456] [RegionsCount=2] [BatchSize=97] [cost=71.003µs] [2025/04/04 13:02:15.504 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=177.976µs] [] [2025/04/04 13:02:15.504 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30040] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 13:02:15.504 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30040] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/04 13:02:15.536 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30040] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 13:02:15.557 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30040] [step=import] [2025/04/04 13:02:15.557 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:15.565 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 13:02:15.565 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 13:02:15.570 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 13:02:15.570 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 13:02:15.570 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 13:02:15.570 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 13:02:15.570 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 13:02:15.571 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 13:02:15.571 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 13:02:15.571 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 13:02:15.585 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 13:02:15.587 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 13:02:15.587 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 13:02:15.587 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=30040] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 13:02:15.587 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=30040] [disk-quota=348.5GiB] [2025/04/04 13:02:15.587 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30040] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/04 13:02:15.596 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30040] [task-type=ImportInto] [server-id=:4000] [subtaskID=30076] [step=import] [2025/04/04 13:02:15.596 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30040] [step=import] [subtask-id=30076] [2025/04/04 13:02:15.600 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=30040] [mode=Import] [2025/04/04 13:02:15.600 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 13:02:15.604 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 13:02:15.604 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=473] [2025/04/04 13:02:15.619 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=30040] [2025/04/04 13:02:15.626 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=473] [key=skip-rows-1.csv:0] [2025/04/04 13:02:15.627 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=473] [key=skip-rows-1.csv:0] [readDur=63.394µs] [encodeDur=387.979µs] [checksum="{cksum=12318439420158801143,size=41,kvs=1}"] [deliverDur=222.971µs] [type=file] [takeTime=1.010899ms] [] [2025/04/04 13:02:15.628 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=473] [2025/04/04 13:02:15.628 +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/30040/67ea3590-7c4f-5a31-ade6-de9a31136e82.sst/21aaf720-6c9c-43b7-8141-492fc6f4e60b.sst] [firstKey=7480000000000001D95F728000000000000001] [lastKey=7480000000000001D95F728000000000000001] [2025/04/04 13:02:15.643 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=473] [key=skip-rows-2.csv:0] [2025/04/04 13:02:15.644 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=473] [key=skip-rows-2.csv:0] [readDur=90.711µs] [encodeDur=344.361µs] [checksum="{cksum=4333126819455252683,size=82,kvs=2}"] [deliverDur=361.401µs] [type=file] [takeTime=1.083548ms] [] [2025/04/04 13:02:15.645 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=82] [kvs=2] [files=1] [sstFileSize=990] [file=/tmp/tidb/import-4000/30040/67ea3590-7c4f-5a31-ade6-de9a31136e82.sst/6ff30ad6-089e-428f-a10b-d08c4b305d9e.sst] [firstKey=7480000000000001D95F72800000000000000F] [lastKey=7480000000000001D95F728000000000000010] [2025/04/04 13:02:15.645 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=30040] [step=import] [engine-id=0] [2025/04/04 13:02:15.645 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=30040] [step=import] [engine-id=0] [2025/04/04 13:02:15.645 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 13:02:15.647 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=2.240721ms] [] [2025/04/04 13:02:15.647 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [retryCnt=0] [2025/04/04 13:02:15.652 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 13:02:15.674 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] ["region ranges"=1] [count=3] [size=123] [2025/04/04 13:02:15.674 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 13:02:15.676 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001d95f728000000000000001] [endOfAllRanges=7480000000000001d95f728000000000000011] [startKeyOfFirstRegion=7480000000000001ffd95f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ffd95f728000000000ff0000110000000000fa] [2025/04/04 13:02:15.688 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] [size=123] [kvs=3] [importedSize=123] [importedCount=3] [2025/04/04 13:02:15.690 +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.441264ms] [] [2025/04/04 13:02:15.690 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 13:02:15.691 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=1.103402ms] [] [2025/04/04 13:02:15.691 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=30040] [step=import] [engine-id=0] [2025/04/04 13:02:15.691 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 13:02:15.693 +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.616224ms] [] [2025/04/04 13:02:15.693 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [retryCnt=0] [2025/04/04 13:02:15.697 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 13:02:15.697 +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.676156ms] [] [2025/04/04 13:02:15.697 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 13:02:15.698 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=912.691µs] [] [2025/04/04 13:02:15.698 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=30040] [step=import] [subtask-id=30076] [takeTime=101.927785ms] [] [2025/04/04 13:02:15.698 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30040] [task-type=ImportInto] [server-id=:4000] [subtaskID=30076] [step=import] [takeTime=102.231082ms] [] [2025/04/04 13:02:15.796 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30040] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 13:02:15.797 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30040] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:02:15.798 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30040] [curr-step=import] [next-step=post-process] [2025/04/04 13:02:15.798 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=30040] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 13:02:15.828 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=30040] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":3}"] [2025/04/04 13:02:15.830 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30040] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 13:02:15.830 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30040] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/04 13:02:15.855 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=30040] [task-type=ImportInto] [server-id=:4000] [2025/04/04 13:02:15.855 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30040] [step=import] [2025/04/04 13:02:15.858 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 13:02:15.858 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 13:02:15.858 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 13:02:15.858 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 13:02:15.858 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 13:02:15.858 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 13:02:15.858 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 13:02:15.858 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:02:15.858 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-39] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:02:15.858 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:02:15.858 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:02:15.858 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 13:02:15.860 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 13:02:15.861 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:02:15.861 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:02:15.861 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:02:15.861 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30040] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=273.533116ms] [] [2025/04/04 13:02:15.861 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30040] [type=ImportInto] [2025/04/04 13:02:15.868 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30040] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 13:02:15.889 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30040] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/04 13:02:15.897 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30040] [task-type=ImportInto] [server-id=:4000] [subtaskID=30077] [step=post-process] [2025/04/04 13:02:15.897 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=30040] [step=post-process] [subtask-id=30077] [2025/04/04 13:02:15.897 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=30040] [step=post-process] [subtask-id=30077] [2025/04/04 13:02:15.897 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=30040] [step=post-process] [subtask-id=30077] [2025/04/04 13:02:15.902 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=30040] [step=post-process] [subtask-id=30077] [takeTime=5.533754ms] [] [2025/04/04 13:02:15.902 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=30040] [step=post-process] [subtask-id=30077] [groupId=-1] [size=123] [kvs=3] [checksum=10867670241788480572] [2025/04/04 13:02:15.903 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=30040] [step=post-process] [subtask-id=30077] [checksum="{cksum=10867670241788480572,size=123,kvs=3}"] [2025/04/04 13:02:15.903 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=30040] [step=post-process] [subtask-id=30077] [weight=30] [2025/04/04 13:02:15.903 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=30040] [step=post-process] [subtask-id=30077] [concurrency=15] [2025/04/04 13:02:15.905 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=473] [physicalTableID=473] [indexID=-1] [checksum=10867670241788480572] [totalKvs=3] [totalBytes=123] [2025/04/04 13:02:15.905 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 13:02:15.905 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=30040] [step=post-process] [subtask-id=30077] [local="{cksum=10867670241788480572,size=123,kvs=3}"] [2025/04/04 13:02:15.905 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=30040] [step=post-process] [subtask-id=30077] [takeTime=8.408647ms] [] [2025/04/04 13:02:15.905 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=30040] [step=post-process] [subtask-id=30077] [takeTime=8.541952ms] [] [2025/04/04 13:02:15.905 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30040] [task-type=ImportInto] [server-id=:4000] [subtaskID=30077] [step=post-process] [takeTime=8.708341ms] [] [2025/04/04 13:02:15.932 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 13:02:15.996 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30040] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 13:02:15.996 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30040] [step=post-process] [state=running] [] [2025/04/04 13:02:15.998 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=30040] [2025/04/04 13:02:16.028 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30040] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=138.893385ms] [] [2025/04/04 13:02:16.028 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30040] [type=ImportInto] [2025/04/04 13:02:16.090 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30040] [2025/04/04 13:02:16.096 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 13:02:16.096 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30040] [2025/04/04 13:02:16.119 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 13:02:16.291 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# User@Host: root[root] @ localhost [localhost]\n# Conn_ID: 2\n# Query_time: 0.995365548\n# Parse_time: 0.000117882\n# Compile_time: 0.000503151\n# Rewrite_time: 0.000165869\n# Optimize_time: 0.000260009\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('SvBJMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5NC41bXMsIG9wZW46ODU1bnMsIGNsb3NlOjEuMDLCtXMsIGxvb3BzOjIJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('ZfBSCmEKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWjB0aW1lOjk5NC41bXMsIG9wZW46ODU1bnMsIGNsb3NlOjEuMDLCtXMsIGxvb3BzOjJw//////8BAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.0000187\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.40s) === NAME TestImportInto === RUN TestImportInto/TestImportIntoPrivilegePositiveCase [2025/04/04 13:02:16.307 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:475, Type:drop schema, State:queueing, SchemaState:public, SchemaID:342, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:16.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:02:16.307 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:475, Type:drop schema, State:queueing, SchemaState:public, SchemaID:342, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:16.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop database if exists import_into"] [2025/04/04 13:02:16.312 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=475] [conn=2] [job="ID:475, Type:drop schema, State:queueing, SchemaState:public, SchemaID:342, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:16.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:16.329 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=370] [neededSchemaVersion=371] ["elapsed time"=195.257µs] [gotSchemaVersion=371] [phyTblIDs="[397,398,399,400,401,402]"] [actionTypes="[2,2,2,2,2,2]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 13:02:16.332 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=475] [version=371] [2025/04/04 13:02:16.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=371] ["take time"=7.337726ms] [job="ID:475, Type:drop schema, State:running, SchemaState:write only, SchemaID:342, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:16.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:16.344 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=475] [conn=2] [job="ID:475, Type:drop schema, State:running, SchemaState:write only, SchemaID:342, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:16.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:16.359 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=371] [neededSchemaVersion=372] ["elapsed time"=177.66µs] [gotSchemaVersion=372] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 13:02:16.363 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=475] [version=372] [2025/04/04 13:02:16.365 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=372] ["take time"=8.336699ms] [job="ID:475, Type:drop schema, State:running, SchemaState:delete only, SchemaID:342, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:16.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:16.374 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=475] [conn=2] [job="ID:475, Type:drop schema, State:running, SchemaState:delete only, SchemaID:342, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:16.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:16.380 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/04 13:02:16.391 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=372] [neededSchemaVersion=373] ["elapsed time"=145.714µs] [gotSchemaVersion=373] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 13:02:16.394 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=475] [version=373] [2025/04/04 13:02:16.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=373] ["take time"=7.423584ms] [job="ID:475, Type:drop schema, State:done, SchemaState:none, SchemaID:342, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:16.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:16.404 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=475] [tableIDs="[397,398,399,400,401,402]"] [comment="drop schema: table IDs"] [2025/04/04 13:02:16.410 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=475] [jobType="drop schema"] [2025/04/04 13:02:16.412 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=475] [conn=2] [job="ID:475, Type:drop schema, State:synced, SchemaState:none, SchemaID:342, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:16.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:16.431 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=475] [2025/04/04 13:02:16.432 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=373] [cur_db=load_data] [sql="drop database if exists import_into"] [user=root@%] [2025/04/04 13:02:16.445 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:477, Type:create schema, State:queueing, SchemaState:none, SchemaID:476, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:16.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:02:16.445 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:477, Type:create schema, State:queueing, SchemaState:none, SchemaID:476, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:16.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database import_into"] [2025/04/04 13:02:16.452 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=477] [conn=2] [job="ID:477, Type:create schema, State:queueing, SchemaState:none, SchemaID:476, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:16.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:16.465 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=373] [neededSchemaVersion=374] ["elapsed time"=699.387µs] [gotSchemaVersion=374] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 13:02:16.469 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=477] [version=374] [2025/04/04 13:02:16.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.088275ms] [job="ID:477, Type:create schema, State:done, SchemaState:public, SchemaID:476, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:16.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:16.481 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=477] [conn=2] [job="ID:477, Type:create schema, State:synced, SchemaState:public, SchemaID:476, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:16.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:16.491 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=477] [2025/04/04 13:02:16.492 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=374] [cur_db=load_data] [sql="create database import_into"] [user=root@%] [2025/04/04 13:02:16.505 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:479, Type:create table, State:queueing, SchemaState:none, SchemaID:476, TableID:478, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:16.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:02:16.505 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:479, Type:create table, State:queueing, SchemaState:none, SchemaID:476, TableID:478, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:16.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100), c int);"] [2025/04/04 13:02:16.511 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=479] [conn=2] [job="ID:479, Type:create table, State:queueing, SchemaState:none, SchemaID:476, TableID:478, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:16.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:16.516 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 478, Table Name: t)"] [2025/04/04 13:02:16.531 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=374] [neededSchemaVersion=375] ["elapsed time"=1.695468ms] [gotSchemaVersion=375] [phyTblIDs="[478]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 13:02:16.535 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=479] [version=375] [2025/04/04 13:02:16.536 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=375] ["take time"=8.666842ms] [job="ID:479, Type:create table, State:done, SchemaState:public, SchemaID:476, TableID:478, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:16.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:16.548 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=479] [conn=2] [job="ID:479, Type:create table, State:synced, SchemaState:public, SchemaID:476, TableID:478, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:16.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:16.560 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=479] [2025/04/04 13:02:16.560 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=375] [cur_db=import_into] [sql="create table t (a bigint, b varchar(100), c int);"] [user=root@%] [2025/04/04 13:02:16.629 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=375] [cur_db=import_into] [sql="DROP USER IF EXISTS 'test_import_into'@'localhost';"] [user=root@%] [2025/04/04 13:02:16.669 +00:00] [INFO] [session.go:4118] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=375] ["secure text"="create user test_import_into@localhost"] [user=root@%] [2025/04/04 13:02:16.713 +00:00] [INFO] [session.go:4118] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=375] ["secure text"="GRANT SELECT on import_into.t to 'test_import_into'@'localhost'"] [user=root@%] [2025/04/04 13:02:16.753 +00:00] [INFO] [session.go:4118] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=375] ["secure text"="GRANT UPDATE on import_into.t to 'test_import_into'@'localhost'"] [user=root@%] [2025/04/04 13:02:16.793 +00:00] [INFO] [session.go:4118] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=375] ["secure text"="GRANT INSERT on import_into.t to 'test_import_into'@'localhost'"] [user=root@%] [2025/04/04 13:02:16.837 +00:00] [INFO] [session.go:4118] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=375] ["secure text"="GRANT DELETE on import_into.t to 'test_import_into'@'localhost'"] [user=root@%] [2025/04/04 13:02:16.876 +00:00] [INFO] [session.go:4118] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=375] ["secure text"="GRANT ALTER on import_into.t to 'test_import_into'@'localhost'"] [user=root@%] [2025/04/04 13:02:16.882 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:16.928 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://privilege-test/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/04 13:02:16.947 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30041] [task-id=30041] [data-size=21B] [thread-cnt=26] [global-sort=false] [2025/04/04 13:02:16.961 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30041] [2025/04/04 13:02:16.961 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=30041] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/04 13:02:17.063 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30041] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 13:02:17.065 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30041] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:02:17.066 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30041] [curr-step=init] [next-step=import] [2025/04/04 13:02:17.074 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:17.077 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 13:02:17.077 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=21] [2025/04/04 13:02:17.077 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=21] [cost=47.083µs] [2025/04/04 13:02:17.077 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=141.795µs] [] [2025/04/04 13:02:17.077 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30041] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 13:02:17.077 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30041] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/04 13:02:17.116 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30041] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 13:02:17.137 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30041] [step=import] [2025/04/04 13:02:17.137 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:17.145 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 13:02:17.145 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 13:02:17.145 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 13:02:17.146 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 13:02:17.146 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 13:02:17.146 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 13:02:17.146 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 13:02:17.146 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 13:02:17.146 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 13:02:17.147 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 13:02:17.159 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 13:02:17.161 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 13:02:17.161 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 13:02:17.161 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=30041] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 13:02:17.161 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=30041] [disk-quota=348.5GiB] [2025/04/04 13:02:17.161 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30041] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 13:02:17.168 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30041] [task-type=ImportInto] [server-id=:4000] [subtaskID=30078] [step=import] [2025/04/04 13:02:17.168 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30041] [step=import] [subtask-id=30078] [2025/04/04 13:02:17.171 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=30041] [mode=Import] [2025/04/04 13:02:17.172 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 13:02:17.176 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 13:02:17.176 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=478] [2025/04/04 13:02:17.190 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=30041] [2025/04/04 13:02:17.216 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=478] [key=db.tbl.001.csv:0] [2025/04/04 13:02:17.219 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=478] [key=db.tbl.001.csv:0] [readDur=892.688µs] [encodeDur=1.271146ms] [checksum="{cksum=1675147975136326378,size=82,kvs=2}"] [deliverDur=302.499µs] [type=file] [takeTime=2.781527ms] [] [2025/04/04 13:02:17.219 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=82] [kvs=2] [files=1] [sstFileSize=990] [file=/tmp/tidb/import-4000/30041/ab3834ca-0a02-50c6-81ad-d45c1915b7bb.sst/40a1d195-dcdd-4bf7-9844-26c7a49a3759.sst] [firstKey=7480000000000001DE5F728000000000000001] [lastKey=7480000000000001DE5F728000000000000002] [2025/04/04 13:02:17.219 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=30041] [step=import] [engine-id=0] [2025/04/04 13:02:17.219 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=30041] [step=import] [engine-id=0] [2025/04/04 13:02:17.220 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 13:02:17.222 +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.992438ms] [] [2025/04/04 13:02:17.222 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [2025/04/04 13:02:17.226 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 13:02:17.248 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] ["region ranges"=1] [count=2] [size=82] [2025/04/04 13:02:17.248 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 13:02:17.250 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001de5f728000000000000001] [endOfAllRanges=7480000000000001de5f728000000000000003] [startKeyOfFirstRegion=7480000000000001ffde5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ffde5f728000000000ff0000030000000000fa] [2025/04/04 13:02:17.263 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [size=82] [kvs=2] [importedSize=82] [importedCount=2] [2025/04/04 13:02:17.264 +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.674099ms] [] [2025/04/04 13:02:17.264 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 13:02:17.266 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.029997ms] [] [2025/04/04 13:02:17.266 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=30041] [step=import] [engine-id=0] [2025/04/04 13:02:17.266 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 13:02:17.267 +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.504031ms] [] [2025/04/04 13:02:17.267 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [2025/04/04 13:02:17.271 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 13:02:17.271 +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.592171ms] [] [2025/04/04 13:02:17.271 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 13:02:17.272 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=879.82µs] [] [2025/04/04 13:02:17.272 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=30041] [step=import] [subtask-id=30078] [takeTime=103.733691ms] [] [2025/04/04 13:02:17.272 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30041] [task-type=ImportInto] [server-id=:4000] [subtaskID=30078] [step=import] [takeTime=103.9072ms] [] [2025/04/04 13:02:17.369 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30041] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 13:02:17.370 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30041] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:02:17.371 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30041] [curr-step=import] [next-step=post-process] [2025/04/04 13:02:17.371 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=30041] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 13:02:17.404 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=30041] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/04 13:02:17.406 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30041] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 13:02:17.406 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30041] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=26] [subtasks=1] [2025/04/04 13:02:17.419 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=30041] [task-type=ImportInto] [server-id=:4000] [2025/04/04 13:02:17.419 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30041] [step=import] [2025/04/04 13:02:17.422 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 13:02:17.422 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 13:02:17.422 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 13:02:17.422 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 13:02:17.422 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 13:02:17.422 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 13:02:17.422 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 13:02:17.422 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:02:17.422 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:02:17.422 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-40] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:02:17.422 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:02:17.422 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 13:02:17.425 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 13:02:17.425 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:02:17.425 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:02:17.425 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:02:17.425 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30041] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=263.972993ms] [] [2025/04/04 13:02:17.425 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30041] [type=ImportInto] [2025/04/04 13:02:17.436 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30041] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 13:02:17.457 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30041] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 13:02:17.464 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30041] [task-type=ImportInto] [server-id=:4000] [subtaskID=30079] [step=post-process] [2025/04/04 13:02:17.464 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=30041] [step=post-process] [subtask-id=30079] [2025/04/04 13:02:17.464 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=30041] [step=post-process] [subtask-id=30079] [2025/04/04 13:02:17.464 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=30041] [step=post-process] [subtask-id=30079] [2025/04/04 13:02:17.470 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=30041] [step=post-process] [subtask-id=30079] [takeTime=5.862797ms] [] [2025/04/04 13:02:17.470 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=30041] [step=post-process] [subtask-id=30079] [groupId=-1] [size=82] [kvs=2] [checksum=1675147975136326378] [2025/04/04 13:02:17.470 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=30041] [step=post-process] [subtask-id=30079] [checksum="{cksum=1675147975136326378,size=82,kvs=2}"] [2025/04/04 13:02:17.470 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=30041] [step=post-process] [subtask-id=30079] [weight=30] [2025/04/04 13:02:17.470 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=30041] [step=post-process] [subtask-id=30079] [concurrency=15] [2025/04/04 13:02:17.472 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=478] [physicalTableID=478] [indexID=-1] [checksum=1675147975136326378] [totalKvs=2] [totalBytes=82] [2025/04/04 13:02:17.472 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 13:02:17.473 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=30041] [step=post-process] [subtask-id=30079] [local="{cksum=1675147975136326378,size=82,kvs=2}"] [2025/04/04 13:02:17.473 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=30041] [step=post-process] [subtask-id=30079] [takeTime=8.387031ms] [] [2025/04/04 13:02:17.473 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=30041] [step=post-process] [subtask-id=30079] [takeTime=8.513273ms] [] [2025/04/04 13:02:17.473 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30041] [task-type=ImportInto] [server-id=:4000] [subtaskID=30079] [step=post-process] [takeTime=8.645968ms] [] [2025/04/04 13:02:17.494 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 13:02:17.568 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30041] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 13:02:17.568 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30041] [step=post-process] [state=running] [] [2025/04/04 13:02:17.571 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=30041] [2025/04/04 13:02:17.589 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30041] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=132.554683ms] [] [2025/04/04 13:02:17.589 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30041] [type=ImportInto] [2025/04/04 13:02:17.664 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30041] [2025/04/04 13:02:17.670 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 13:02:17.670 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30041] [2025/04/04 13:02:17.692 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 13:02:17.863 +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.986358925\n# Parse_time: 0.000060219\n# Compile_time: 0.000444997\n# Rewrite_time: 0.000138802\n# Optimize_time: 0.000260609\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('SvBJMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4NS42bXMsIG9wZW46Njk5bnMsIGNsb3NlOjEuMDHCtXMsIGxvb3BzOjIJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('ZfBSCmEKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWjB0aW1lOjk4NS42bXMsIG9wZW46Njk5bnMsIGNsb3NlOjEuMDHCtXMsIGxvb3BzOjJw//////8BAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.0000187\nuse import_into;\nIMPORT INTO `import_into`.`t` FROM 'gs://privilege-test/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/';"] [2025/04/04 13:02:17.866 +00:00] [INFO] [sem.go:79] ["tidb-server is operating with security enhanced mode (SEM) enabled"] [2025/04/04 13:02:17.878 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:481, Type:truncate table, State:queueing, SchemaState:none, SchemaID:476, TableID:478, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:17.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:02:17.878 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:481, Type:truncate table, State:queueing, SchemaState:none, SchemaID:476, TableID:478, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:17.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table t"] [2025/04/04 13:02:17.883 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=481] [conn=2] [job="ID:481, Type:truncate table, State:queueing, SchemaState:none, SchemaID:476, TableID:478, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:17.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:17.890 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 480, Table Name: t, Old Table ID: 478, Old Table Name: t)"] [2025/04/04 13:02:17.905 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=375] [neededSchemaVersion=376] ["elapsed time"=1.582119ms] [gotSchemaVersion=376] [phyTblIDs="[478,480]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 13:02:17.908 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=481] [version=376] [2025/04/04 13:02:17.910 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=376] ["take time"=7.979348ms] [job="ID:481, Type:truncate table, State:done, SchemaState:public, SchemaID:476, TableID:478, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:17.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:17.920 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=481] [tableIDs="[478]"] [comment="truncate table: table ID"] [2025/04/04 13:02:17.925 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=481] [jobType="truncate table"] [2025/04/04 13:02:17.926 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=481] [conn=2] [job="ID:481, Type:truncate table, State:synced, SchemaState:public, SchemaID:476, TableID:478, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:17.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:17.942 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=481] [2025/04/04 13:02:17.943 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=376] [cur_db=import_into] [sql="truncate table t"] [user=root@%] [2025/04/04 13:02:17.948 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:17.995 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://privilege-test/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/04 13:02:18.015 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30042] [task-id=30042] [data-size=21B] [thread-cnt=26] [global-sort=false] [2025/04/04 13:02:18.031 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30042] [2025/04/04 13:02:18.031 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=30042] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/04 13:02:18.133 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30042] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 13:02:18.135 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30042] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:02:18.136 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30042] [curr-step=init] [next-step=import] [2025/04/04 13:02:18.144 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:18.146 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 13:02:18.146 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=21] [2025/04/04 13:02:18.146 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=21] [cost=54.353µs] [2025/04/04 13:02:18.147 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=162.44µs] [] [2025/04/04 13:02:18.147 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30042] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 13:02:18.147 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30042] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/04 13:02:18.186 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30042] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 13:02:18.206 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30042] [step=import] [2025/04/04 13:02:18.206 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:18.213 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 13:02:18.214 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 13:02:18.214 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 13:02:18.214 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 13:02:18.214 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 13:02:18.214 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 13:02:18.214 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 13:02:18.214 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 13:02:18.215 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 13:02:18.215 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 13:02:18.226 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 13:02:18.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/04 13:02:18.229 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 13:02:18.229 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=30042] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 13:02:18.230 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30042] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 13:02:18.230 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=30042] [disk-quota=348.5GiB] [2025/04/04 13:02:18.241 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30042] [task-type=ImportInto] [server-id=:4000] [subtaskID=30080] [step=import] [2025/04/04 13:02:18.241 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30042] [step=import] [subtask-id=30080] [2025/04/04 13:02:18.245 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=30042] [mode=Import] [2025/04/04 13:02:18.245 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 13:02:18.248 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 13:02:18.249 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=480] [2025/04/04 13:02:18.262 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=30042] [2025/04/04 13:02:18.282 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=480] [key=db.tbl.001.csv:0] [2025/04/04 13:02:18.284 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=480] [key=db.tbl.001.csv:0] [readDur=833.436µs] [encodeDur=590.663µs] [checksum="{cksum=1675147975136326378,size=82,kvs=2}"] [deliverDur=290.334µs] [type=file] [takeTime=1.988239ms] [] [2025/04/04 13:02:18.285 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=82] [kvs=2] [files=1] [sstFileSize=990] [file=/tmp/tidb/import-4000/30042/ab3834ca-0a02-50c6-81ad-d45c1915b7bb.sst/a693a3ca-4744-42ca-b225-f52e2b5bad0f.sst] [firstKey=7480000000000001E05F728000000000000001] [lastKey=7480000000000001E05F728000000000000002] [2025/04/04 13:02:18.285 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=30042] [step=import] [engine-id=0] [2025/04/04 13:02:18.285 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=30042] [step=import] [engine-id=0] [2025/04/04 13:02:18.285 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 13:02:18.287 +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.940801ms] [] [2025/04/04 13:02:18.287 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [2025/04/04 13:02:18.291 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 13:02:18.313 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] ["region ranges"=1] [count=2] [size=82] [2025/04/04 13:02:18.313 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 13:02:18.315 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001e05f728000000000000001] [endOfAllRanges=7480000000000001e05f728000000000000003] [startKeyOfFirstRegion=7480000000000001ffe05f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ffe05f728000000000ff0000030000000000fa] [2025/04/04 13:02:18.326 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [size=82] [kvs=2] [importedSize=82] [importedCount=2] [2025/04/04 13:02:18.327 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [takeTime=39.938899ms] [] [2025/04/04 13:02:18.327 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 13:02:18.328 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=928.918µs] [] [2025/04/04 13:02:18.328 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=30042] [step=import] [engine-id=0] [2025/04/04 13:02:18.328 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 13:02:18.330 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=1.500596ms] [] [2025/04/04 13:02:18.330 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [2025/04/04 13:02:18.333 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 13:02:18.334 +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.512981ms] [] [2025/04/04 13:02:18.334 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 13:02:18.334 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=815.031µs] [] [2025/04/04 13:02:18.335 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=30042] [step=import] [subtask-id=30080] [takeTime=93.478541ms] [] [2025/04/04 13:02:18.335 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30042] [task-type=ImportInto] [server-id=:4000] [subtaskID=30080] [step=import] [takeTime=93.615782ms] [] [2025/04/04 13:02:18.439 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30042] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 13:02:18.440 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30042] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:02:18.441 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30042] [curr-step=import] [next-step=post-process] [2025/04/04 13:02:18.441 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=30042] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 13:02:18.469 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=30042] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/04 13:02:18.471 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30042] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 13:02:18.471 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30042] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=26] [subtasks=1] [2025/04/04 13:02:18.477 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=30042] [task-type=ImportInto] [server-id=:4000] [2025/04/04 13:02:18.477 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30042] [step=import] [2025/04/04 13:02:18.480 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 13:02:18.480 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 13:02:18.480 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 13:02:18.480 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 13:02:18.480 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 13:02:18.480 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 13:02:18.480 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:02:18.480 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:02:18.480 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 13:02:18.480 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:02:18.480 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-41] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:02:18.480 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 13:02:18.482 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 13:02:18.482 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:02:18.482 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:02:18.482 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:02:18.482 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30042] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=252.284016ms] [] [2025/04/04 13:02:18.482 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30042] [type=ImportInto] [2025/04/04 13:02:18.505 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30042] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 13:02:18.525 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30042] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 13:02:18.531 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30042] [task-type=ImportInto] [server-id=:4000] [subtaskID=30081] [step=post-process] [2025/04/04 13:02:18.531 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=30042] [step=post-process] [subtask-id=30081] [2025/04/04 13:02:18.531 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=30042] [step=post-process] [subtask-id=30081] [2025/04/04 13:02:18.531 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=30042] [step=post-process] [subtask-id=30081] [2025/04/04 13:02:18.537 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=30042] [step=post-process] [subtask-id=30081] [takeTime=5.419927ms] [] [2025/04/04 13:02:18.537 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=30042] [step=post-process] [subtask-id=30081] [groupId=-1] [size=82] [kvs=2] [checksum=1675147975136326378] [2025/04/04 13:02:18.537 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=30042] [step=post-process] [subtask-id=30081] [checksum="{cksum=1675147975136326378,size=82,kvs=2}"] [2025/04/04 13:02:18.537 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=30042] [step=post-process] [subtask-id=30081] [weight=30] [2025/04/04 13:02:18.537 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=30042] [step=post-process] [subtask-id=30081] [concurrency=15] [2025/04/04 13:02:18.538 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=480] [physicalTableID=480] [indexID=-1] [checksum=1675147975136326378] [totalKvs=2] [totalBytes=82] [2025/04/04 13:02:18.539 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 13:02:18.539 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=30042] [step=post-process] [subtask-id=30081] [local="{cksum=1675147975136326378,size=82,kvs=2}"] [2025/04/04 13:02:18.539 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=30042] [step=post-process] [subtask-id=30081] [takeTime=7.742927ms] [] [2025/04/04 13:02:18.539 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=30042] [step=post-process] [subtask-id=30081] [takeTime=7.873657ms] [] [2025/04/04 13:02:18.539 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30042] [task-type=ImportInto] [server-id=:4000] [subtaskID=30081] [step=post-process] [takeTime=7.986009ms] [] [2025/04/04 13:02:18.564 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 13:02:18.638 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30042] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 13:02:18.638 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30042] [step=post-process] [state=running] [] [2025/04/04 13:02:18.640 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=30042] [2025/04/04 13:02:18.670 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30042] [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.346601ms] [] [2025/04/04 13:02:18.670 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30042] [type=ImportInto] [2025/04/04 13:02:18.734 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30042] [2025/04/04 13:02:18.739 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 13:02:18.739 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30042] [2025/04/04 13:02:18.760 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 13:02:18.929 +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.985946124\n# Parse_time: 0.000078125\n# Compile_time: 0.000493371\n# Rewrite_time: 0.000153864\n# Optimize_time: 0.000260135\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4NS4xbXMsIG9wZW46NjM5bnMsIGNsb3NlOjg5OG5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk4NS4xbXMsIG9wZW46NjM5bnMsIGNsb3NlOjg5OG5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.0000187\nIMPORT INTO `import_into`.`t` FROM 'gs://privilege-test/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/';"] [2025/04/04 13:02:18.932 +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/TestImportIntoTestImportIntoPrivilegePositiveCase151176457/001/file.csv'"] [2025/04/04 13:02:18.968 +00:00] [INFO] [session.go:4118] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=376] ["secure text"="GRANT FILE on *.* to 'test_import_into'@'localhost'"] [user=root@%] [2025/04/04 13:02:18.979 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:483, Type:truncate table, State:queueing, SchemaState:none, SchemaID:476, TableID:480, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:18.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table t"] [2025/04/04 13:02:18.979 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:483, Type:truncate table, State:queueing, SchemaState:none, SchemaID:476, TableID:480, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:18.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:02:18.984 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=483] [conn=2] [job="ID:483, Type:truncate table, State:queueing, SchemaState:none, SchemaID:476, TableID:480, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:18.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:18.991 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 482, Table Name: t, Old Table ID: 480, Old Table Name: t)"] [2025/04/04 13:02:19.005 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=376] [neededSchemaVersion=377] ["elapsed time"=1.480025ms] [gotSchemaVersion=377] [phyTblIDs="[480,482]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 13:02:19.008 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=483] [version=377] [2025/04/04 13:02:19.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=377] ["take time"=7.67092ms] [job="ID:483, Type:truncate table, State:done, SchemaState:public, SchemaID:476, TableID:480, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:18.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:19.020 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=483] [tableIDs="[480]"] [comment="truncate table: table ID"] [2025/04/04 13:02:19.024 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=483] [jobType="truncate table"] [2025/04/04 13:02:19.025 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=483] [conn=2] [job="ID:483, Type:truncate table, State:synced, SchemaState:public, SchemaID:476, TableID:480, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:18.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:19.041 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=483] [2025/04/04 13:02:19.041 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=377] [cur_db=import_into] [sql="truncate table t"] [user=root@%] [2025/04/04 13:02:19.082 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"/tmp/TestImportIntoTestImportIntoPrivilegePositiveCase151176457/001/file.csv\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/04 13:02:19.083 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 13:02:19.083 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=21] [2025/04/04 13:02:19.083 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=21] [cost=40.356µs] [2025/04/04 13:02:19.083 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=130.095µs] [] [2025/04/04 13:02:19.100 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30043] [task-id=30043] [data-size=21B] [thread-cnt=8] [global-sort=false] [2025/04/04 13:02:19.118 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30043] [2025/04/04 13:02:19.118 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=30043] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/04 13:02:19.220 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30043] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 13:02:19.221 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30043] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:02:19.222 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30043] [curr-step=init] [next-step=import] [2025/04/04 13:02:19.229 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30043] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 13:02:19.229 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30043] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/04 13:02:19.266 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30043] [type=ImportInto] [concurrency=8] [remaining-slots=44] [2025/04/04 13:02:19.286 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30043] [step=import] [2025/04/04 13:02:19.293 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 13:02:19.293 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 13:02:19.293 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 13:02:19.293 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 13:02:19.293 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 13:02:19.294 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 13:02:19.294 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 13:02:19.294 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 13:02:19.294 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 13:02:19.294 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 13:02:19.305 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 13:02:19.307 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 13:02:19.307 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 13:02:19.307 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=30043] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 13:02:19.307 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=30043] [disk-quota=348.5GiB] [2025/04/04 13:02:19.307 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30043] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/04 13:02:19.314 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30043] [task-type=ImportInto] [server-id=:4000] [subtaskID=30082] [step=import] [2025/04/04 13:02:19.314 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30043] [step=import] [subtask-id=30082] [2025/04/04 13:02:19.317 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 13:02:19.321 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 13:02:19.321 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=482] [2025/04/04 13:02:19.326 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=30043] [mode=Import] [2025/04/04 13:02:19.345 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=30043] [2025/04/04 13:02:19.352 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=482] [key=file.csv:0] [2025/04/04 13:02:19.354 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=482] [key=file.csv:0] [readDur=121.811µs] [encodeDur=1.617324ms] [checksum="{cksum=1675147975136326378,size=82,kvs=2}"] [deliverDur=272.833µs] [type=file] [takeTime=2.38355ms] [] [2025/04/04 13:02:19.355 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=82] [kvs=2] [files=1] [sstFileSize=990] [file=/tmp/tidb/import-4000/30043/ab3834ca-0a02-50c6-81ad-d45c1915b7bb.sst/5b36a22b-ded2-4b9e-a337-d2a0066830cd.sst] [firstKey=7480000000000001E25F728000000000000001] [lastKey=7480000000000001E25F728000000000000002] [2025/04/04 13:02:19.355 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=30043] [step=import] [engine-id=0] [2025/04/04 13:02:19.355 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=30043] [step=import] [engine-id=0] [2025/04/04 13:02:19.355 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 13:02:19.358 +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.024468ms] [] [2025/04/04 13:02:19.358 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [2025/04/04 13:02:19.362 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 13:02:19.383 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] ["region ranges"=1] [count=2] [size=82] [2025/04/04 13:02:19.383 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 13:02:19.385 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001e25f728000000000000001] [endOfAllRanges=7480000000000001e25f728000000000000003] [startKeyOfFirstRegion=7480000000000001ffe25f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ffe25f728000000000ff0000030000000000fa] [2025/04/04 13:02:19.396 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [size=82] [kvs=2] [importedSize=82] [importedCount=2] [2025/04/04 13:02:19.397 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [takeTime=39.680999ms] [] [2025/04/04 13:02:19.397 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/04 13:02:19.399 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.147596ms] [] [2025/04/04 13:02:19.399 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=30043] [step=import] [engine-id=0] [2025/04/04 13:02:19.399 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 13:02:19.400 +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.517475ms] [] [2025/04/04 13:02:19.400 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [2025/04/04 13:02:19.404 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 13:02:19.404 +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.728041ms] [] [2025/04/04 13:02:19.404 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/04 13:02:19.405 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=967.21µs] [] [2025/04/04 13:02:19.405 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=30043] [step=import] [subtask-id=30082] [takeTime=91.386054ms] [] [2025/04/04 13:02:19.406 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30043] [task-type=ImportInto] [server-id=:4000] [subtaskID=30082] [step=import] [takeTime=91.893907ms] [] [2025/04/04 13:02:19.426 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30043] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 13:02:19.427 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30043] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:02:19.428 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30043] [curr-step=import] [next-step=post-process] [2025/04/04 13:02:19.428 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=30043] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 13:02:19.458 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=30043] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/04 13:02:19.460 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30043] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 13:02:19.460 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30043] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/04 13:02:19.489 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=30043] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 13:02:19.496 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30043] [step=import] [2025/04/04 13:02:19.498 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 13:02:19.498 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 13:02:19.498 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 13:02:19.498 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 13:02:19.498 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 13:02:19.498 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 13:02:19.498 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 13:02:19.498 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:02:19.498 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-42] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:02:19.499 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:02:19.499 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:02:19.499 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 13:02:19.501 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 13:02:19.501 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:02:19.501 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:02:19.501 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:02:19.501 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30043] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [takeTime=193.557061ms] [] [2025/04/04 13:02:19.502 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30043] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/04 13:02:19.509 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30043] [task-type=ImportInto] [server-id=:4000] [subtaskID=30083] [step=post-process] [2025/04/04 13:02:19.509 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=30043] [step=post-process] [subtask-id=30083] [2025/04/04 13:02:19.509 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=30043] [step=post-process] [subtask-id=30083] [2025/04/04 13:02:19.509 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=30043] [step=post-process] [subtask-id=30083] [2025/04/04 13:02:19.515 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=30043] [step=post-process] [subtask-id=30083] [takeTime=5.685673ms] [] [2025/04/04 13:02:19.515 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=30043] [step=post-process] [subtask-id=30083] [groupId=-1] [size=82] [kvs=2] [checksum=1675147975136326378] [2025/04/04 13:02:19.515 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=30043] [step=post-process] [subtask-id=30083] [checksum="{cksum=1675147975136326378,size=82,kvs=2}"] [2025/04/04 13:02:19.515 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=30043] [step=post-process] [subtask-id=30083] [weight=30] [2025/04/04 13:02:19.515 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=30043] [step=post-process] [subtask-id=30083] [concurrency=15] [2025/04/04 13:02:19.517 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=482] [physicalTableID=482] [indexID=-1] [checksum=1675147975136326378] [totalKvs=2] [totalBytes=82] [2025/04/04 13:02:19.517 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 13:02:19.517 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=30043] [step=post-process] [subtask-id=30083] [local="{cksum=1675147975136326378,size=82,kvs=2}"] [2025/04/04 13:02:19.517 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=30043] [step=post-process] [subtask-id=30083] [takeTime=8.307825ms] [] [2025/04/04 13:02:19.517 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=30043] [step=post-process] [subtask-id=30083] [takeTime=8.444089ms] [] [2025/04/04 13:02:19.518 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30043] [task-type=ImportInto] [server-id=:4000] [subtaskID=30083] [step=post-process] [takeTime=8.578207ms] [] [2025/04/04 13:02:19.535 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 13:02:19.624 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30043] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 13:02:19.624 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30043] [step=post-process] [state=running] [] [2025/04/04 13:02:19.627 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=30043] [2025/04/04 13:02:19.651 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30043] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [takeTime=148.485995ms] [] [2025/04/04 13:02:19.651 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30043] [type=ImportInto] [2025/04/04 13:02:19.716 +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.674607587\n# Parse_time: 0.000063402\n# Compile_time: 0.000445347\n# Rewrite_time: 0.000140894\n# Optimize_time: 0.000216502\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY3My45bXMsIG9wZW46NjYxbnMsIGNsb3NlOjk1M25zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY3My45bXMsIG9wZW46NjYxbnMsIGNsb3NlOjk1M25zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.0000187\nIMPORT INTO `import_into`.`t` FROM '/tmp/TestImportIntoTestImportIntoPrivilegePositiveCase151176457/001/file.csv';"] --- PASS: TestImportInto/TestImportIntoPrivilegePositiveCase (3.43s) === NAME TestImportInto === RUN TestImportInto/TestImportIntoWithFK [2025/04/04 13:02:19.720 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30043] [2025/04/04 13:02:19.725 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 13:02:19.725 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30043] [2025/04/04 13:02:19.731 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:484, Type:drop schema, State:queueing, SchemaState:public, SchemaID:476, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:19.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop database if exists import_into"] [2025/04/04 13:02:19.731 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:484, Type:drop schema, State:queueing, SchemaState:public, SchemaID:476, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:19.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:02:19.736 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=484] [conn=2] [job="ID:484, Type:drop schema, State:queueing, SchemaState:public, SchemaID:476, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:19.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:19.747 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 13:02:19.751 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=377] [neededSchemaVersion=378] ["elapsed time"=152.136µs] [gotSchemaVersion=378] [phyTblIDs="[482]"] [actionTypes="[2]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 13:02:19.754 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=484] [version=378] [2025/04/04 13:02:19.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=378] ["take time"=6.685474ms] [job="ID:484, Type:drop schema, State:running, SchemaState:write only, SchemaID:476, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:19.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:19.764 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=484] [conn=2] [job="ID:484, Type:drop schema, State:running, SchemaState:write only, SchemaID:476, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:19.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:19.776 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=378] [neededSchemaVersion=379] ["elapsed time"=124.081µs] [gotSchemaVersion=379] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 13:02:19.779 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=484] [version=379] [2025/04/04 13:02:19.780 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=379] ["take time"=6.468826ms] [job="ID:484, Type:drop schema, State:running, SchemaState:delete only, SchemaID:476, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:19.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:19.789 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=484] [conn=2] [job="ID:484, Type:drop schema, State:running, SchemaState:delete only, SchemaID:476, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:19.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:19.794 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/04 13:02:19.804 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=379] [neededSchemaVersion=380] ["elapsed time"=131.178µs] [gotSchemaVersion=380] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 13:02:19.807 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=484] [version=380] [2025/04/04 13:02:19.809 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=380] ["take time"=6.717262ms] [job="ID:484, Type:drop schema, State:done, SchemaState:none, SchemaID:476, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:19.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:19.817 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=484] [tableIDs="[482]"] [comment="drop schema: table IDs"] [2025/04/04 13:02:19.822 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=484] [jobType="drop schema"] [2025/04/04 13:02:19.822 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=484] [conn=2] [job="ID:484, Type:drop schema, State:synced, SchemaState:none, SchemaID:476, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:19.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:19.838 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=484] [2025/04/04 13:02:19.839 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=380] [cur_db=] [sql="drop database if exists import_into"] [user=root@%] [2025/04/04 13:02:19.849 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:486, Type:create schema, State:queueing, SchemaState:none, SchemaID:485, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:19.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database import_into"] [2025/04/04 13:02:19.849 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:486, Type:create schema, State:queueing, SchemaState:none, SchemaID:485, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:19.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:02:19.854 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=486] [conn=2] [job="ID:486, Type:create schema, State:queueing, SchemaState:none, SchemaID:485, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:19.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:19.866 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=380] [neededSchemaVersion=381] ["elapsed time"=674.51µs] [gotSchemaVersion=381] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 13:02:19.869 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=486] [version=381] [2025/04/04 13:02:19.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=381] ["take time"=7.33457ms] [job="ID:486, Type:create schema, State:done, SchemaState:public, SchemaID:485, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:19.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:19.881 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=486] [conn=2] [job="ID:486, Type:create schema, State:synced, SchemaState:public, SchemaID:485, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:19.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:19.892 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=486] [2025/04/04 13:02:19.892 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=381] [cur_db=] [sql="create database import_into"] [user=root@%] [2025/04/04 13:02:19.905 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:488, Type:create table, State:queueing, SchemaState:none, SchemaID:485, TableID:487, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:19.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:02:19.905 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:488, Type:create table, State:queueing, SchemaState:none, SchemaID:485, TableID:487, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:19.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table parent (id int primary key);"] [2025/04/04 13:02:19.910 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=488] [conn=2] [job="ID:488, Type:create table, State:queueing, SchemaState:none, SchemaID:485, TableID:487, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:19.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:19.915 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 487, Table Name: parent)"] [2025/04/04 13:02:19.928 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=381] [neededSchemaVersion=382] ["elapsed time"=1.386681ms] [gotSchemaVersion=382] [phyTblIDs="[487]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 13:02:19.931 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=488] [version=382] [2025/04/04 13:02:19.932 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=382] ["take time"=8.105173ms] [job="ID:488, Type:create table, State:done, SchemaState:public, SchemaID:485, TableID:487, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:19.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:19.943 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=488] [conn=2] [job="ID:488, Type:create table, State:synced, SchemaState:public, SchemaID:485, TableID:487, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:19.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:19.953 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=488] [2025/04/04 13:02:19.954 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=382] [cur_db=import_into] [sql="create table parent (id int primary key);"] [user=root@%] [2025/04/04 13:02:19.966 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:490, Type:create table, State:queueing, SchemaState:none, SchemaID:485, TableID:489, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:19.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:02:19.966 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:490, Type:create table, State:queueing, SchemaState:none, SchemaID:485, TableID:489, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:19.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table child (id int primary key, fk int, foreign key (fk) references parent(id));"] [2025/04/04 13:02:19.972 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=490] [conn=2] [job="ID:490, Type:create table, State:queueing, SchemaState:none, SchemaID:485, TableID:489, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:19.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:19.989 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=382] [neededSchemaVersion=383] ["elapsed time"=1.975154ms] [gotSchemaVersion=383] [phyTblIDs="[489]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 13:02:19.992 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=490] [version=383] [2025/04/04 13:02:19.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=383] ["take time"=9.688853ms] [job="ID:490, Type:create table, State:running, SchemaState:delete only, SchemaID:485, TableID:489, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:19.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:20.004 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=490] [conn=2] [job="ID:490, Type:create table, State:running, SchemaState:delete only, SchemaID:485, TableID:489, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:19.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:20.008 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 489, Table Name: child)"] [2025/04/04 13:02:20.023 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=383] [neededSchemaVersion=384] ["elapsed time"=1.713818ms] [gotSchemaVersion=384] [phyTblIDs="[489]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 13:02:20.026 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=490] [version=384] [2025/04/04 13:02:20.028 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=384] ["take time"=8.538467ms] [job="ID:490, Type:create table, State:done, SchemaState:public, SchemaID:485, TableID:489, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:19.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:20.037 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=490] [conn=2] [job="ID:490, Type:create table, State:synced, SchemaState:public, SchemaID:485, TableID:489, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:19.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:20.049 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=490] [2025/04/04 13:02:20.049 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=384] [cur_db=import_into] [sql="create table child (id int primary key, fk int, foreign key (fk) references parent(id));"] [user=root@%] [2025/04/04 13:02:20.056 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:20.102 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://foreign-key-test/child.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/04 13:02:20.122 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30044] [task-id=30044] [data-size=8B] [thread-cnt=26] [global-sort=false] [2025/04/04 13:02:20.137 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30044] [2025/04/04 13:02:20.137 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=30044] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/04 13:02:20.239 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30044] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 13:02:20.240 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30044] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:02:20.242 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30044] [curr-step=init] [next-step=import] [2025/04/04 13:02:20.250 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:20.252 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=child] [2025/04/04 13:02:20.252 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=child] [before=536870912000] [after=8] [2025/04/04 13:02:20.252 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=child] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=8] [cost=43.637µs] [2025/04/04 13:02:20.252 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=child] [takeTime=145.851µs] [] [2025/04/04 13:02:20.252 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30044] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 13:02:20.252 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30044] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/04 13:02:20.285 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30044] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/04 13:02:20.305 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30044] [step=import] [2025/04/04 13:02:20.305 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:20.313 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 13:02:20.313 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 13:02:20.313 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 13:02:20.313 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 13:02:20.314 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 13:02:20.314 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 13:02:20.314 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 13:02:20.314 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 13:02:20.314 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 13:02:20.314 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 13:02:20.326 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 13:02:20.328 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 13:02:20.328 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=child] [quota=374.2GB] [2025/04/04 13:02:20.328 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=child] [import-id=30044] [disk-quota=348.5GiB] [2025/04/04 13:02:20.328 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=30044] [step=import] [data-buf-limit=236.3MiB] [per-index-buf-limit=78.77MiB] [index-buf-block-size=16MiB] [2025/04/04 13:02:20.328 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30044] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 13:02:20.335 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30044] [task-type=ImportInto] [server-id=:4000] [subtaskID=30084] [step=import] [2025/04/04 13:02:20.335 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30044] [step=import] [subtask-id=30084] [2025/04/04 13:02:20.338 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`child`:0] [engineUUID=6cb30ba2-e19b-5956-98c4-24bd955c910a] [2025/04/04 13:02:20.341 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`child`:-1] [engineUUID=09ee1db8-6b03-5a28-8f53-b1dfdaea150d] [2025/04/04 13:02:20.342 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=489] [2025/04/04 13:02:20.347 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=30044] [mode=Import] [2025/04/04 13:02:20.365 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=30044] [2025/04/04 13:02:20.519 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=489] [key=child.csv:0] [2025/04/04 13:02:20.521 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=489] [key=child.csv:0] [readDur=968.405µs] [encodeDur=372.564µs] [checksum="{cksum=13443790654808714275,size=134,kvs=4}"] [deliverDur=163.75µs] [type=file] [takeTime=1.771845ms] [] [2025/04/04 13:02:20.522 +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/30044/6cb30ba2-e19b-5956-98c4-24bd955c910a.sst/cdbeba07-fccd-4678-b556-b35276f9a688.sst] [firstKey=7480000000000001E95F728000000000000001] [lastKey=7480000000000001E95F728000000000000002] [2025/04/04 13:02:20.522 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=30044] [step=import] [engine-id=0] [2025/04/04 13:02:20.522 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=30044] [step=import] [engine-id=0] [2025/04/04 13:02:20.522 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`child`:0] [engineUUID=6cb30ba2-e19b-5956-98c4-24bd955c910a] [2025/04/04 13:02:20.524 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`import_into`.`child`:0] [engineUUID=6cb30ba2-e19b-5956-98c4-24bd955c910a] [takeTime=1.816161ms] [] [2025/04/04 13:02:20.524 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`child`:0] [engineUUID=6cb30ba2-e19b-5956-98c4-24bd955c910a] [retryCnt=0] [2025/04/04 13:02:20.528 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 13:02:20.550 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=6cb30ba2-e19b-5956-98c4-24bd955c910a] ["region ranges"=1] [count=2] [size=58] [2025/04/04 13:02:20.551 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 13:02:20.552 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001e95f728000000000000001] [endOfAllRanges=7480000000000001e95f728000000000000003] [startKeyOfFirstRegion=7480000000000001ffe95f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ffe95f728000000000ff0000030000000000fa] [2025/04/04 13:02:20.563 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=6cb30ba2-e19b-5956-98c4-24bd955c910a] [size=58] [kvs=2] [importedSize=58] [importedCount=2] [2025/04/04 13:02:20.564 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`import_into`.`child`:0] [engineUUID=6cb30ba2-e19b-5956-98c4-24bd955c910a] [retryCnt=0] [takeTime=39.846299ms] [] [2025/04/04 13:02:20.564 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`child`:0] [engineUUID=6cb30ba2-e19b-5956-98c4-24bd955c910a] [2025/04/04 13:02:20.565 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`child`:0] [engineUUID=6cb30ba2-e19b-5956-98c4-24bd955c910a] [takeTime=989.565µs] [] [2025/04/04 13:02:20.565 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=30044] [step=import] [engine-id=0] [2025/04/04 13:02:20.565 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`child`:-1] [engineUUID=09ee1db8-6b03-5a28-8f53-b1dfdaea150d] [2025/04/04 13:02:20.566 +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/30044/09ee1db8-6b03-5a28-8f53-b1dfdaea150d.sst/c630319d-be46-4bd2-9539-f52602274996.sst] [firstKey=7480000000000001E95F698000000000000001038000000000000001038000000000000001] [lastKey=7480000000000001E95F698000000000000001038000000000000002038000000000000002] [2025/04/04 13:02:20.568 +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.174769ms] [] [2025/04/04 13:02:20.568 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`child`:-1] [engineUUID=09ee1db8-6b03-5a28-8f53-b1dfdaea150d] [retryCnt=0] [2025/04/04 13:02:20.572 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 13:02:20.593 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=09ee1db8-6b03-5a28-8f53-b1dfdaea150d] ["region ranges"=1] [count=2] [size=76] [2025/04/04 13:02:20.593 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 13:02:20.595 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001e95f698000000000000001038000000000000001038000000000000001] [endOfAllRanges=7480000000000001e95f69800000000000000103800000000000000203800000000000000200] [startKeyOfFirstRegion=7480000000000001ffe95f698000000000ff0000010380000000ff0000000103800000ff0000000001000000fc] [endKeyOfLastRegion=7480000000000001ffe95f698000000000ff0000010380000000ff0000000203800000ff0000000002000000fd] [2025/04/04 13:02:20.605 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=09ee1db8-6b03-5a28-8f53-b1dfdaea150d] [size=76] [kvs=2] [importedSize=76] [importedCount=2] [2025/04/04 13:02:20.606 +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=38.636782ms] [] [2025/04/04 13:02:20.606 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`child`:-1] [engineUUID=09ee1db8-6b03-5a28-8f53-b1dfdaea150d] [2025/04/04 13:02:20.607 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`child`:-1] [engineUUID=09ee1db8-6b03-5a28-8f53-b1dfdaea150d] [takeTime=992.527µs] [] [2025/04/04 13:02:20.608 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=30044] [step=import] [subtask-id=30084] [takeTime=272.564596ms] [] [2025/04/04 13:02:20.608 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30044] [task-type=ImportInto] [server-id=:4000] [subtaskID=30084] [step=import] [takeTime=272.706777ms] [] [2025/04/04 13:02:20.644 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30044] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 13:02:20.645 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30044] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:02:20.647 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30044] [curr-step=import] [next-step=post-process] [2025/04/04 13:02:20.647 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=30044] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 13:02:20.674 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=30044] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/04 13:02:20.676 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30044] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 13:02:20.676 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30044] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=26] [subtasks=1] [2025/04/04 13:02:20.692 +00:00] [INFO] [slots.go:207] ["update slot capacity"] [old=52] [new=16] [2025/04/04 13:02:20.704 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=30044] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 13:02:20.710 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30044] [step=import] [2025/04/04 13:02:20.714 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 13:02:20.714 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 13:02:20.714 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 13:02:20.714 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 13:02:20.714 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 13:02:20.714 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 13:02:20.714 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 13:02:20.714 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:02:20.714 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:02:20.714 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-43] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:02:20.714 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:02:20.714 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 13:02:20.716 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 13:02:20.716 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:02:20.716 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:02:20.716 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:02:20.716 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30044] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=388.499584ms] [] [2025/04/04 13:02:20.718 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30044] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/04 13:02:20.725 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30044] [task-type=ImportInto] [server-id=:4000] [subtaskID=30085] [step=post-process] [2025/04/04 13:02:20.725 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=30044] [step=post-process] [subtask-id=30085] [2025/04/04 13:02:20.725 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=30044] [step=post-process] [subtask-id=30085] [2025/04/04 13:02:20.725 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=30044] [step=post-process] [subtask-id=30085] [2025/04/04 13:02:20.725 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=30044] [step=post-process] [subtask-id=30085] [takeTime=1.76µs] [] [2025/04/04 13:02:20.726 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=30044] [step=post-process] [subtask-id=30085] [groupId=1] [size=76] [kvs=2] [checksum=16701486629303771758] [2025/04/04 13:02:20.726 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=30044] [step=post-process] [subtask-id=30085] [groupId=-1] [size=58] [kvs=2] [checksum=6725679395568127565] [2025/04/04 13:02:20.726 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=30044] [step=post-process] [subtask-id=30085] [checksum="{cksum=13443790654808714275,size=134,kvs=4}"] [2025/04/04 13:02:20.726 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=30044] [step=post-process] [subtask-id=30085] [weight=30] [2025/04/04 13:02:20.726 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=30044] [step=post-process] [subtask-id=30085] [concurrency=15] [2025/04/04 13:02:20.731 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=489] [physicalTableID=489] [indexID=-1] [checksum=6725679395568127565] [totalKvs=2] [totalBytes=58] [2025/04/04 13:02:20.732 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=489] [physicalTableID=489] [indexID=1] [checksum=16701486629303771758] [totalKvs=2] [totalBytes=76] [2025/04/04 13:02:20.732 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 13:02:20.732 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=30044] [step=post-process] [subtask-id=30085] [local="{cksum=13443790654808714275,size=134,kvs=4}"] [2025/04/04 13:02:20.732 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=30044] [step=post-process] [subtask-id=30085] [takeTime=6.819274ms] [] [2025/04/04 13:02:20.732 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=30044] [step=post-process] [subtask-id=30085] [takeTime=6.967454ms] [] [2025/04/04 13:02:20.732 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30044] [task-type=ImportInto] [server-id=:4000] [subtaskID=30085] [step=post-process] [takeTime=7.108454ms] [] [2025/04/04 13:02:20.743 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 13:02:20.745 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30044] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 13:02:20.745 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30044] [step=post-process] [state=running] [] [2025/04/04 13:02:20.748 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=30044] [2025/04/04 13:02:20.776 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30044] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=58.14817ms] [] [2025/04/04 13:02:20.776 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30044] [type=ImportInto] [2025/04/04 13:02:20.839 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30044] [2025/04/04 13:02:20.844 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 13:02:20.844 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30044] [2025/04/04 13:02:20.865 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 13:02:21.037 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# User@Host: root[root] @ localhost [localhost]\n# Conn_ID: 2\n# Query_time: 0.98739752\n# Parse_time: 0.000114933\n# Compile_time: 0.000561827\n# Rewrite_time: 0.000202845\n# Optimize_time: 0.000227713\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4Ni40bXMsIG9wZW46NzIwbnMsIGNsb3NlOjkxNW5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk4Ni40bXMsIG9wZW46NzIwbnMsIGNsb3NlOjkxNW5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.0000187\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.32s) === NAME TestImportInto === RUN TestImportInto/TestImportMode [2025/04/04 13:02:21.052 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:491, Type:drop schema, State:queueing, SchemaState:public, SchemaID:467, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:21.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="DROP DATABASE IF EXISTS load_data;"] [2025/04/04 13:02:21.052 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:491, Type:drop schema, State:queueing, SchemaState:public, SchemaID:467, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:21.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:02:21.057 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=491] [conn=2] [job="ID:491, Type:drop schema, State:queueing, SchemaState:public, SchemaID:467, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:21.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:21.071 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=384] [neededSchemaVersion=385] ["elapsed time"=150.583µs] [gotSchemaVersion=385] [phyTblIDs="[473]"] [actionTypes="[2]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 13:02:21.074 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=491] [version=385] [2025/04/04 13:02:21.076 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=385] ["take time"=6.567294ms] [job="ID:491, Type:drop schema, State:running, SchemaState:write only, SchemaID:467, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:21.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:21.085 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=491] [conn=2] [job="ID:491, Type:drop schema, State:running, SchemaState:write only, SchemaID:467, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:21.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:21.100 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=385] [neededSchemaVersion=386] ["elapsed time"=126.086µs] [gotSchemaVersion=386] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 13:02:21.104 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=491] [version=386] [2025/04/04 13:02:21.105 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=386] ["take time"=7.159124ms] [job="ID:491, Type:drop schema, State:running, SchemaState:delete only, SchemaID:467, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:21.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:21.113 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=491] [conn=2] [job="ID:491, Type:drop schema, State:running, SchemaState:delete only, SchemaID:467, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:21.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:21.119 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/04 13:02:21.128 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=386] [neededSchemaVersion=387] ["elapsed time"=141.92µs] [gotSchemaVersion=387] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 13:02:21.132 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=491] [version=387] [2025/04/04 13:02:21.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=387] ["take time"=6.552686ms] [job="ID:491, Type:drop schema, State:done, SchemaState:none, SchemaID:467, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:21.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:21.141 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=491] [tableIDs="[473]"] [comment="drop schema: table IDs"] [2025/04/04 13:02:21.145 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=491] [jobType="drop schema"] [2025/04/04 13:02:21.146 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=491] [conn=2] [job="ID:491, Type:drop schema, State:synced, SchemaState:none, SchemaID:467, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:21.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:21.160 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=491] [2025/04/04 13:02:21.161 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=387] [cur_db=import_into] [sql="DROP DATABASE IF EXISTS load_data;"] [user=root@%] [2025/04/04 13:02:21.171 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:493, Type:create schema, State:queueing, SchemaState:none, SchemaID:492, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:21.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:02:21.171 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:493, Type:create schema, State:queueing, SchemaState:none, SchemaID:492, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:21.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE load_data;"] [2025/04/04 13:02:21.176 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=493] [conn=2] [job="ID:493, Type:create schema, State:queueing, SchemaState:none, SchemaID:492, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:21.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:21.188 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=387] [neededSchemaVersion=388] ["elapsed time"=621.099µs] [gotSchemaVersion=388] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 13:02:21.192 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=493] [version=388] [2025/04/04 13:02:21.193 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=388] ["take time"=7.132142ms] [job="ID:493, Type:create schema, State:done, SchemaState:public, SchemaID:492, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:21.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:21.203 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=493] [conn=2] [job="ID:493, Type:create schema, State:synced, SchemaState:public, SchemaID:492, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:21.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:21.212 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=493] [2025/04/04 13:02:21.212 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=388] [cur_db=import_into] [sql="CREATE DATABASE load_data;"] [user=root@%] [2025/04/04 13:02:21.224 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:495, Type:create table, State:queueing, SchemaState:none, SchemaID:492, TableID:494, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:21.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:02:21.224 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:495, Type:create table, State:queueing, SchemaState:none, SchemaID:492, TableID:494, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:21.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE load_data.import_mode (a INT, b INT, c int);"] [2025/04/04 13:02:21.229 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=495] [conn=2] [job="ID:495, Type:create table, State:queueing, SchemaState:none, SchemaID:492, TableID:494, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:21.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:21.233 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 494, Table Name: import_mode)"] [2025/04/04 13:02:21.248 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=388] [neededSchemaVersion=389] ["elapsed time"=1.601613ms] [gotSchemaVersion=389] [phyTblIDs="[494]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 13:02:21.251 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=495] [version=389] [2025/04/04 13:02:21.253 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=389] ["take time"=8.249279ms] [job="ID:495, Type:create table, State:done, SchemaState:public, SchemaID:492, TableID:494, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:21.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:21.263 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=495] [conn=2] [job="ID:495, Type:create table, State:synced, SchemaState:public, SchemaID:492, TableID:494, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:21.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:21.274 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=495] [2025/04/04 13:02:21.274 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=389] [cur_db=import_into] [sql="CREATE TABLE load_data.import_mode (a INT, b INT, c int);"] [user=root@%] [2025/04/04 13:02:21.280 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:21.333 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/import_mode-*.tsv?access-key=xxxxxx\\u0026endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F\\u0026secret-access-key=xxxxxx\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/04 13:02:21.354 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30045] [task-id=30045] [data-size=8B] [thread-cnt=8] [global-sort=false] [2025/04/04 13:02:21.368 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30045] [2025/04/04 13:02:21.368 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=30045] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/04 13:02:21.470 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30045] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 13:02:21.472 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30045] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:02:21.473 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30045] [curr-step=init] [next-step=import] [2025/04/04 13:02:21.480 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:21.483 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=import_mode] [2025/04/04 13:02:21.483 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=import_mode] [before=536870912000] [after=8] [2025/04/04 13:02:21.483 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=import_mode] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=8] [cost=42.358µs] [2025/04/04 13:02:21.483 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=import_mode] [takeTime=139.75µs] [] [2025/04/04 13:02:21.483 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30045] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 13:02:21.483 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30045] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/04 13:02:21.517 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30045] [type=ImportInto] [concurrency=8] [remaining-slots=44] [2025/04/04 13:02:21.537 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30045] [step=import] [2025/04/04 13:02:21.537 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:21.545 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 13:02:21.545 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 13:02:21.545 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 13:02:21.545 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 13:02:21.546 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 13:02:21.546 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 13:02:21.546 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 13:02:21.546 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 13:02:21.546 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 13:02:21.546 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 13:02:21.559 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 13:02:21.561 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 13:02:21.561 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=import_mode] [quota=374.2GB] [2025/04/04 13:02:21.561 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=30045] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 13:02:21.561 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30045] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/04 13:02:21.561 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=import_mode] [import-id=30045] [disk-quota=348.5GiB] [2025/04/04 13:02:21.568 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30045] [task-type=ImportInto] [server-id=:4000] [subtaskID=30086] [step=import] [2025/04/04 13:02:21.568 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30045] [step=import] [subtask-id=30086] [2025/04/04 13:02:21.572 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [2025/04/04 13:02:21.575 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [2025/04/04 13:02:21.575 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=494] [2025/04/04 13:02:21.577 +00:00] [INFO] [import_into_test.go:850] [ToImportMode] [2025/04/04 13:02:21.583 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=30045] [2025/04/04 13:02:21.589 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=494] [key=import_mode-1.tsv:0] [2025/04/04 13:02:21.591 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=494] [key=import_mode-1.tsv:0] [readDur=1.038365ms] [encodeDur=203.735µs] [checksum="{cksum=2532290907690997753,size=37,kvs=1}"] [deliverDur=345.047µs] [type=file] [takeTime=1.97295ms] [] [2025/04/04 13:02:21.592 +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/30045/1ccc2128-36af-5780-96ac-757ded6634c4.sst/9a8c0fd8-5f3c-43cb-acd9-78124ab43523.sst] [firstKey=7480000000000001EE5F728000000000000001] [lastKey=7480000000000001EE5F728000000000000001] [2025/04/04 13:02:21.592 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=30045] [step=import] [engine-id=0] [2025/04/04 13:02:21.592 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=30045] [step=import] [engine-id=0] [2025/04/04 13:02:21.592 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [2025/04/04 13:02:21.595 +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.504072ms] [] [2025/04/04 13:02:21.595 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [retryCnt=0] [2025/04/04 13:02:21.599 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 13:02:21.680 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=1ccc2128-36af-5780-96ac-757ded6634c4] ["region ranges"=1] [count=1] [size=37] [2025/04/04 13:02:21.681 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 13:02:21.684 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001ee5f728000000000000001] [endOfAllRanges=7480000000000001ee5f728000000000000002] [startKeyOfFirstRegion=7480000000000001ffee5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ffee5f728000000000ff0000020000000000fa] [2025/04/04 13:02:21.698 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=1ccc2128-36af-5780-96ac-757ded6634c4] [size=37] [kvs=1] [importedSize=37] [importedCount=1] [2025/04/04 13:02:21.700 +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=105.056374ms] [] [2025/04/04 13:02:21.700 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [2025/04/04 13:02:21.701 +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.20171ms] [] [2025/04/04 13:02:21.701 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=30045] [step=import] [engine-id=0] [2025/04/04 13:02:21.701 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [2025/04/04 13:02:21.703 +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.710774ms] [] [2025/04/04 13:02:21.703 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [retryCnt=0] [2025/04/04 13:02:21.707 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=86c1a897-a1cd-5c05-8035-3b378e34349a] [2025/04/04 13:02:21.707 +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.775712ms] [] [2025/04/04 13:02:21.707 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [2025/04/04 13:02:21.708 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [takeTime=948.925µs] [] [2025/04/04 13:02:21.708 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=30045] [step=import] [subtask-id=30086] [takeTime=140.331086ms] [] [2025/04/04 13:02:21.708 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30045] [task-type=ImportInto] [server-id=:4000] [subtaskID=30086] [step=import] [takeTime=140.50486ms] [] [2025/04/04 13:02:21.775 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30045] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 13:02:21.777 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30045] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:02:21.778 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30045] [curr-step=import] [next-step=post-process] [2025/04/04 13:02:21.778 +00:00] [INFO] [import_into_test.go:855] [ToNormalMode] [2025/04/04 13:02:21.794 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=30045] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":1}"] [2025/04/04 13:02:21.796 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30045] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 13:02:21.796 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30045] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/04 13:02:21.831 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=30045] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 13:02:21.837 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30045] [step=import] [2025/04/04 13:02:21.841 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 13:02:21.841 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 13:02:21.841 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 13:02:21.841 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 13:02:21.841 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 13:02:21.841 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:02:21.841 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 13:02:21.841 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 13:02:21.841 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:02:21.841 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-44] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:02:21.841 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:02:21.841 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 13:02:21.844 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 13:02:21.844 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:02:21.844 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:02:21.844 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:02:21.844 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30045] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [takeTime=283.152501ms] [] [2025/04/04 13:02:21.845 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30045] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/04 13:02:21.853 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30045] [task-type=ImportInto] [server-id=:4000] [subtaskID=30087] [step=post-process] [2025/04/04 13:02:21.853 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=30045] [step=post-process] [subtask-id=30087] [2025/04/04 13:02:21.853 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=30045] [step=post-process] [subtask-id=30087] [2025/04/04 13:02:21.853 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=30045] [step=post-process] [subtask-id=30087] [2025/04/04 13:02:21.859 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=30045] [step=post-process] [subtask-id=30087] [takeTime=5.841867ms] [] [2025/04/04 13:02:21.859 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=30045] [step=post-process] [subtask-id=30087] [groupId=-1] [size=37] [kvs=1] [checksum=2532290907690997753] [2025/04/04 13:02:21.859 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=30045] [step=post-process] [subtask-id=30087] [checksum="{cksum=2532290907690997753,size=37,kvs=1}"] [2025/04/04 13:02:21.859 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=30045] [step=post-process] [subtask-id=30087] [weight=30] [2025/04/04 13:02:21.859 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=30045] [step=post-process] [subtask-id=30087] [concurrency=15] [2025/04/04 13:02:21.861 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=494] [physicalTableID=494] [indexID=-1] [checksum=2532290907690997753] [totalKvs=1] [totalBytes=37] [2025/04/04 13:02:21.861 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 13:02:21.861 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=30045] [step=post-process] [subtask-id=30087] [local="{cksum=2532290907690997753,size=37,kvs=1}"] [2025/04/04 13:02:21.862 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=30045] [step=post-process] [subtask-id=30087] [takeTime=8.571085ms] [] [2025/04/04 13:02:21.862 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=30045] [step=post-process] [subtask-id=30087] [takeTime=8.719395ms] [] [2025/04/04 13:02:21.862 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30045] [task-type=ImportInto] [server-id=:4000] [subtaskID=30087] [step=post-process] [takeTime=8.850418ms] [] [2025/04/04 13:02:21.876 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30045] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 13:02:21.876 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30045] [step=post-process] [state=running] [] [2025/04/04 13:02:21.878 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=30045] [2025/04/04 13:02:21.881 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 13:02:21.907 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30045] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [takeTime=61.408047ms] [] [2025/04/04 13:02:21.907 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30045] [type=ImportInto] [2025/04/04 13:02:21.970 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30045] [2025/04/04 13:02:21.972 +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.696884895\n# Parse_time: 0.000087181\n# Compile_time: 0.000457353\n# Rewrite_time: 0.000166568\n# Optimize_time: 0.000285212\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('RvBFMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY5Nm1zLCBvcGVuOjY4OW5zLCBjbG9zZTo5NDRucywgbG9vcHM6MglOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('YfBMCl0KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWix0aW1lOjY5Nm1zLCBvcGVuOjY4OW5zLCBjbG9zZTo5NDRucywgbG9vcHM6MnD///8JAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.0000187\nIMPORT INTO `load_data`.`import_mode` FROM 'gs://test-load/import_mode-*.tsv?access-key=xxxxxx&endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F&secret-access-key=xxxxxx';"] [2025/04/04 13:02:21.976 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 13:02:21.976 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30045] [2025/04/04 13:02:21.999 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 13:02:22.023 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:497, Type:truncate table, State:queueing, SchemaState:none, SchemaID:492, TableID:494, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:21.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:02:22.023 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:497, Type:truncate table, State:queueing, SchemaState:none, SchemaID:492, TableID:494, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:21.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table load_data.import_mode;"] [2025/04/04 13:02:22.029 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=497] [conn=2] [job="ID:497, Type:truncate table, State:queueing, SchemaState:none, SchemaID:492, TableID:494, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:21.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:22.037 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 496, Table Name: import_mode, Old Table ID: 494, Old Table Name: import_mode)"] [2025/04/04 13:02:22.053 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=389] [neededSchemaVersion=390] ["elapsed time"=1.745706ms] [gotSchemaVersion=390] [phyTblIDs="[494,496]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 13:02:22.057 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=497] [version=390] [2025/04/04 13:02:22.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=390] ["take time"=9.74714ms] [job="ID:497, Type:truncate table, State:done, SchemaState:public, SchemaID:492, TableID:494, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:21.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:22.070 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=497] [tableIDs="[494]"] [comment="truncate table: table ID"] [2025/04/04 13:02:22.075 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=497] [jobType="truncate table"] [2025/04/04 13:02:22.076 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=497] [conn=2] [job="ID:497, Type:truncate table, State:synced, SchemaState:public, SchemaID:492, TableID:494, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:21.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:22.095 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=497] [2025/04/04 13:02:22.096 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=390] [cur_db=import_into] [sql="truncate table load_data.import_mode;"] [user=root@%] [2025/04/04 13:02:22.102 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:22.150 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/import_mode-*.tsv?endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/04 13:02:22.169 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30046] [task-id=30046] [data-size=8B] [thread-cnt=8] [global-sort=false] [2025/04/04 13:02:22.183 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30046] [2025/04/04 13:02:22.183 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=30046] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/04 13:02:22.285 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30046] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 13:02:22.287 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30046] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:02:22.288 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30046] [curr-step=init] [next-step=import] [2025/04/04 13:02:22.296 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:22.298 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=import_mode] [2025/04/04 13:02:22.298 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=import_mode] [before=536870912000] [after=8] [2025/04/04 13:02:22.298 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=import_mode] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=8] [cost=59.178µs] [2025/04/04 13:02:22.298 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=import_mode] [takeTime=193.695µs] [] [2025/04/04 13:02:22.299 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30046] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 13:02:22.299 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30046] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/04 13:02:22.336 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30046] [type=ImportInto] [concurrency=8] [remaining-slots=44] [2025/04/04 13:02:22.358 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30046] [step=import] [2025/04/04 13:02:22.358 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:22.366 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 13:02:22.366 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 13:02:22.367 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 13:02:22.367 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 13:02:22.367 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 13:02:22.367 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 13:02:22.367 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 13:02:22.367 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 13:02:22.367 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 13:02:22.368 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 13:02:22.379 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 13:02:22.381 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 13:02:22.381 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=import_mode] [quota=374.2GB] [2025/04/04 13:02:22.381 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=30046] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 13:02:22.381 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=import_mode] [import-id=30046] [disk-quota=348.5GiB] [2025/04/04 13:02:22.381 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30046] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/04 13:02:22.389 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30046] [task-type=ImportInto] [server-id=:4000] [subtaskID=30088] [step=import] [2025/04/04 13:02:22.389 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30046] [step=import] [subtask-id=30088] [2025/04/04 13:02:22.393 +00:00] [INFO] [import_into_test.go:850] [ToImportMode] [2025/04/04 13:02:22.393 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [2025/04/04 13:02:22.397 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [2025/04/04 13:02:22.397 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=496] [2025/04/04 13:02:22.398 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=30046] [2025/04/04 13:02:22.410 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=496] [key=import_mode-1.tsv:0] [2025/04/04 13:02:22.412 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=496] [key=import_mode-1.tsv:0] [readDur=994.335µs] [encodeDur=387.698µs] [checksum="{cksum=1183892299932015986,size=37,kvs=1}"] [deliverDur=266.491µs] [type=file] [takeTime=1.920464ms] [] [2025/04/04 13:02:22.413 +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/30046/1ccc2128-36af-5780-96ac-757ded6634c4.sst/45eb0e99-42fe-4989-9270-1d614b407b74.sst] [firstKey=7480000000000001F05F728000000000000001] [lastKey=7480000000000001F05F728000000000000001] [2025/04/04 13:02:22.413 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=30046] [step=import] [engine-id=0] [2025/04/04 13:02:22.413 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=30046] [step=import] [engine-id=0] [2025/04/04 13:02:22.413 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [2025/04/04 13:02:22.415 +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.014244ms] [] [2025/04/04 13:02:22.415 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [retryCnt=0] [2025/04/04 13:02:22.420 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 13:02:22.441 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=1ccc2128-36af-5780-96ac-757ded6634c4] ["region ranges"=1] [count=1] [size=37] [2025/04/04 13:02:22.441 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 13:02:22.442 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001f05f728000000000000001] [endOfAllRanges=7480000000000001f05f728000000000000002] [startKeyOfFirstRegion=7480000000000001fff05f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001fff05f728000000000ff0000020000000000fa] [2025/04/04 13:02:22.453 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=1ccc2128-36af-5780-96ac-757ded6634c4] [size=37] [kvs=1] [importedSize=37] [importedCount=1] [2025/04/04 13:02:22.455 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [retryCnt=0] [takeTime=39.351677ms] [] [2025/04/04 13:02:22.455 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [2025/04/04 13:02:22.456 +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.059367ms] [] [2025/04/04 13:02:22.456 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=30046] [step=import] [engine-id=0] [2025/04/04 13:02:22.456 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [2025/04/04 13:02:22.458 +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.545067ms] [] [2025/04/04 13:02:22.458 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [retryCnt=0] [2025/04/04 13:02:22.461 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=86c1a897-a1cd-5c05-8035-3b378e34349a] [2025/04/04 13:02:22.461 +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.62121ms] [] [2025/04/04 13:02:22.462 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [2025/04/04 13:02:22.463 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [takeTime=949.706µs] [] [2025/04/04 13:02:22.463 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=30046] [step=import] [subtask-id=30088] [takeTime=73.588005ms] [] [2025/04/04 13:02:22.463 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30046] [task-type=ImportInto] [server-id=:4000] [subtaskID=30088] [step=import] [takeTime=73.744845ms] [] [2025/04/04 13:02:22.491 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30046] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 13:02:22.492 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30046] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:02:22.494 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30046] [curr-step=import] [next-step=post-process] [2025/04/04 13:02:22.494 +00:00] [INFO] [import_into_test.go:855] [ToNormalMode] [2025/04/04 13:02:22.511 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=30046] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":1}"] [2025/04/04 13:02:22.512 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30046] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 13:02:22.513 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30046] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/04 13:02:22.546 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=30046] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 13:02:22.553 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30046] [step=import] [2025/04/04 13:02:22.556 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 13:02:22.556 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 13:02:22.556 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 13:02:22.556 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 13:02:22.556 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 13:02:22.556 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 13:02:22.556 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:02:22.556 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 13:02:22.556 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-45] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:02:22.556 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:02:22.556 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:02:22.556 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 13:02:22.558 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 13:02:22.558 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:02:22.558 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:02:22.558 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:02:22.558 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30046] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [takeTime=176.841395ms] [] [2025/04/04 13:02:22.560 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30046] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/04 13:02:22.567 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30046] [task-type=ImportInto] [server-id=:4000] [subtaskID=30089] [step=post-process] [2025/04/04 13:02:22.567 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=30046] [step=post-process] [subtask-id=30089] [2025/04/04 13:02:26.632 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 13:02:27.568 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=30046] [step=post-process] [subtask-id=30089] [2025/04/04 13:02:27.568 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=30046] [step=post-process] [subtask-id=30089] [2025/04/04 13:02:27.574 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=30046] [step=post-process] [subtask-id=30089] [takeTime=6.088216ms] [] [2025/04/04 13:02:27.574 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=30046] [step=post-process] [subtask-id=30089] [groupId=-1] [size=37] [kvs=1] [checksum=1183892299932015986] [2025/04/04 13:02:27.574 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=30046] [step=post-process] [subtask-id=30089] [checksum="{cksum=1183892299932015986,size=37,kvs=1}"] [2025/04/04 13:02:27.575 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=30046] [step=post-process] [subtask-id=30089] [weight=30] [2025/04/04 13:02:27.575 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=30046] [step=post-process] [subtask-id=30089] [concurrency=15] [2025/04/04 13:02:27.576 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=496] [physicalTableID=496] [indexID=-1] [checksum=1183892299932015986] [totalKvs=1] [totalBytes=37] [2025/04/04 13:02:27.577 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 13:02:27.577 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=30046] [step=post-process] [subtask-id=30089] [local="{cksum=1183892299932015986,size=37,kvs=1}"] [2025/04/04 13:02:27.577 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=30046] [step=post-process] [subtask-id=30089] [takeTime=8.564586ms] [] [2025/04/04 13:02:27.577 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=30046] [step=post-process] [subtask-id=30089] [takeTime=5.009610246s] [] [2025/04/04 13:02:27.577 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30046] [task-type=ImportInto] [server-id=:4000] [subtaskID=30089] [step=post-process] [takeTime=5.009765689s] [] [2025/04/04 13:02:27.590 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30046] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 13:02:27.590 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30046] [step=post-process] [state=running] [] [2025/04/04 13:02:27.593 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=30046] [2025/04/04 13:02:27.594 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 13:02:27.622 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30046] [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=5.062074562s] [] [2025/04/04 13:02:27.622 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30046] [type=ImportInto] [2025/04/04 13:02:27.686 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30046] [2025/04/04 13:02:27.693 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 13:02:27.693 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30046] [2025/04/04 13:02:27.715 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 13:02:27.886 +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.789918768\n# Parse_time: 0.000080924\n# Compile_time: 0.000479885\n# Rewrite_time: 0.000154779\n# Optimize_time: 0.000265835\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjUuNzlzLCBvcGVuOjcxNm5zLCBjbG9zZToxLjAzwrVzLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjUuNzlzLCBvcGVuOjcxNm5zLCBjbG9zZToxLjAzwrVzLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.0000187\nIMPORT INTO `load_data`.`import_mode` FROM 'gs://test-load/import_mode-*.tsv?endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F';"] [2025/04/04 13:02:27.901 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:499, Type:truncate table, State:queueing, SchemaState:none, SchemaID:492, TableID:496, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:27.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table load_data.import_mode;"] [2025/04/04 13:02:27.901 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:499, Type:truncate table, State:queueing, SchemaState:none, SchemaID:492, TableID:496, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:27.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:02:27.907 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=499] [conn=2] [job="ID:499, Type:truncate table, State:queueing, SchemaState:none, SchemaID:492, TableID:496, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:27.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:27.915 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 498, Table Name: import_mode, Old Table ID: 496, Old Table Name: import_mode)"] [2025/04/04 13:02:27.931 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=390] [neededSchemaVersion=391] ["elapsed time"=1.640557ms] [gotSchemaVersion=391] [phyTblIDs="[496,498]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 13:02:27.934 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=499] [version=391] [2025/04/04 13:02:27.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=391] ["take time"=8.869373ms] [job="ID:499, Type:truncate table, State:done, SchemaState:public, SchemaID:492, TableID:496, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:27.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:27.946 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=499] [tableIDs="[496]"] [comment="truncate table: table ID"] [2025/04/04 13:02:27.951 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=499] [jobType="truncate table"] [2025/04/04 13:02:27.951 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=499] [conn=2] [job="ID:499, Type:truncate table, State:synced, SchemaState:public, SchemaID:492, TableID:496, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:27.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:27.969 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=499] [2025/04/04 13:02:27.969 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=391] [cur_db=import_into] [sql="truncate table load_data.import_mode;"] [user=root@%] [2025/04/04 13:02:27.980 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:501, Type:truncate table, State:queueing, SchemaState:none, SchemaID:492, TableID:498, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:27.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:02:27.980 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:501, Type:truncate table, State:queueing, SchemaState:none, SchemaID:492, TableID:498, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:27.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table load_data.import_mode;"] [2025/04/04 13:02:27.986 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=501] [conn=2] [job="ID:501, Type:truncate table, State:queueing, SchemaState:none, SchemaID:492, TableID:498, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:27.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:27.993 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 500, Table Name: import_mode, Old Table ID: 498, Old Table Name: import_mode)"] [2025/04/04 13:02:28.009 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=391] [neededSchemaVersion=392] ["elapsed time"=1.738837ms] [gotSchemaVersion=392] [phyTblIDs="[498,500]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 13:02:28.012 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=501] [version=392] [2025/04/04 13:02:28.014 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=392] ["take time"=8.971873ms] [job="ID:501, Type:truncate table, State:done, SchemaState:public, SchemaID:492, TableID:498, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:27.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:28.024 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=501] [tableIDs="[498]"] [comment="truncate table: table ID"] [2025/04/04 13:02:28.029 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=501] [jobType="truncate table"] [2025/04/04 13:02:28.030 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=501] [conn=2] [job="ID:501, Type:truncate table, State:synced, SchemaState:public, SchemaID:492, TableID:498, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:27.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:28.047 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=501] [2025/04/04 13:02:28.047 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=392] [cur_db=import_into] [sql="truncate table load_data.import_mode;"] [user=root@%] [2025/04/04 13:02:28.053 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:28.108 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/import_mode-*.tsv?endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F\",\"format\":\"csv\",\"options\":{\"disable_tikv_import_mode\":null}}"] [dist-task-enabled=true] [2025/04/04 13:02:28.127 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30047] [task-id=30047] [data-size=8B] [thread-cnt=8] [global-sort=false] [2025/04/04 13:02:28.142 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30047] [2025/04/04 13:02:28.142 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=30047] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/04 13:02:28.245 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30047] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 13:02:28.246 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30047] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:02:28.247 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30047] [curr-step=init] [next-step=import] [2025/04/04 13:02:28.255 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:28.257 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=import_mode] [2025/04/04 13:02:28.257 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=import_mode] [before=536870912000] [after=8] [2025/04/04 13:02:28.258 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=import_mode] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=8] [cost=55.003µs] [2025/04/04 13:02:28.258 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=import_mode] [takeTime=153.009µs] [] [2025/04/04 13:02:28.258 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30047] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 13:02:28.258 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30047] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/04 13:02:28.297 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30047] [type=ImportInto] [concurrency=8] [remaining-slots=44] [2025/04/04 13:02:28.317 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30047] [step=import] [2025/04/04 13:02:28.318 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:28.325 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 13:02:28.326 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 13:02:28.326 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 13:02:28.326 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 13:02:28.326 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 13:02:28.326 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 13:02:28.326 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 13:02:28.326 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 13:02:28.327 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 13:02:28.327 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 13:02:28.339 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 13:02:28.341 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 13:02:28.341 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=import_mode] [quota=374.2GB] [2025/04/04 13:02:28.341 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=30047] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 13:02:28.341 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=import_mode] [import-id=30047] [disk-quota=348.5GiB] [2025/04/04 13:02:28.341 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30047] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/04 13:02:28.349 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30047] [task-type=ImportInto] [server-id=:4000] [subtaskID=30090] [step=import] [2025/04/04 13:02:28.349 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30047] [step=import] [subtask-id=30090] [2025/04/04 13:02:28.354 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [2025/04/04 13:02:28.358 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [2025/04/04 13:02:28.358 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=500] [2025/04/04 13:02:28.360 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=30047] [2025/04/04 13:02:28.392 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=500] [key=import_mode-1.tsv:0] [2025/04/04 13:02:28.394 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=500] [key=import_mode-1.tsv:0] [readDur=1.169496ms] [encodeDur=259.501µs] [checksum="{cksum=1906240774449384424,size=37,kvs=1}"] [deliverDur=336.974µs] [type=file] [takeTime=2.176988ms] [] [2025/04/04 13:02:28.395 +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/30047/1ccc2128-36af-5780-96ac-757ded6634c4.sst/9e35e63f-6ea8-4715-8071-d7abbf53ab88.sst] [firstKey=7480000000000001F45F728000000000000001] [lastKey=7480000000000001F45F728000000000000001] [2025/04/04 13:02:28.395 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=30047] [step=import] [engine-id=0] [2025/04/04 13:02:28.395 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=30047] [step=import] [engine-id=0] [2025/04/04 13:02:28.395 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [2025/04/04 13:02:28.397 +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.156478ms] [] [2025/04/04 13:02:28.397 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [retryCnt=0] [2025/04/04 13:02:28.402 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 13:02:28.424 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=1ccc2128-36af-5780-96ac-757ded6634c4] ["region ranges"=1] [count=1] [size=37] [2025/04/04 13:02:28.424 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 13:02:28.425 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001f45f728000000000000001] [endOfAllRanges=7480000000000001f45f728000000000000002] [startKeyOfFirstRegion=7480000000000001fff45f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001fff45f728000000000ff0000020000000000fa] [2025/04/04 13:02:28.437 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=1ccc2128-36af-5780-96ac-757ded6634c4] [size=37] [kvs=1] [importedSize=37] [importedCount=1] [2025/04/04 13:02:28.439 +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.160446ms] [] [2025/04/04 13:02:28.439 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [2025/04/04 13:02:28.440 +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.00733ms] [] [2025/04/04 13:02:28.440 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=30047] [step=import] [engine-id=0] [2025/04/04 13:02:28.440 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [2025/04/04 13:02:28.442 +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.988111ms] [] [2025/04/04 13:02:28.442 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [retryCnt=0] [2025/04/04 13:02:28.445 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=86c1a897-a1cd-5c05-8035-3b378e34349a] [2025/04/04 13:02:28.446 +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.460457ms] [] [2025/04/04 13:02:28.446 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [2025/04/04 13:02:28.447 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [takeTime=883.785µs] [] [2025/04/04 13:02:28.447 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=30047] [step=import] [subtask-id=30090] [takeTime=97.531204ms] [] [2025/04/04 13:02:28.447 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30047] [task-type=ImportInto] [server-id=:4000] [subtaskID=30090] [step=import] [takeTime=97.796989ms] [] [2025/04/04 13:02:28.549 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30047] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 13:02:28.550 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30047] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:02:28.551 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30047] [curr-step=import] [next-step=post-process] [2025/04/04 13:02:28.567 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=30047] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":1}"] [2025/04/04 13:02:28.569 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30047] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 13:02:28.569 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30047] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/04 13:02:28.590 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=30047] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 13:02:28.597 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30047] [step=import] [2025/04/04 13:02:28.600 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 13:02:28.600 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 13:02:28.600 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 13:02:28.600 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 13:02:28.600 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:02:28.600 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 13:02:28.600 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 13:02:28.600 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 13:02:28.600 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-46] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:02:28.600 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:02:28.600 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:02:28.601 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 13:02:28.603 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 13:02:28.603 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:02:28.603 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:02:28.603 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:02:28.603 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30047] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [takeTime=261.877346ms] [] [2025/04/04 13:02:28.605 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30047] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/04 13:02:28.612 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30047] [task-type=ImportInto] [server-id=:4000] [subtaskID=30091] [step=post-process] [2025/04/04 13:02:28.612 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=30047] [step=post-process] [subtask-id=30091] [2025/04/04 13:02:28.612 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=30047] [step=post-process] [subtask-id=30091] [2025/04/04 13:02:28.612 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=30047] [step=post-process] [subtask-id=30091] [2025/04/04 13:02:28.618 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=30047] [step=post-process] [subtask-id=30091] [takeTime=5.654032ms] [] [2025/04/04 13:02:28.618 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=30047] [step=post-process] [subtask-id=30091] [groupId=-1] [size=37] [kvs=1] [checksum=1906240774449384424] [2025/04/04 13:02:28.618 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=30047] [step=post-process] [subtask-id=30091] [checksum="{cksum=1906240774449384424,size=37,kvs=1}"] [2025/04/04 13:02:28.618 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=30047] [step=post-process] [subtask-id=30091] [weight=30] [2025/04/04 13:02:28.618 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=30047] [step=post-process] [subtask-id=30091] [concurrency=15] [2025/04/04 13:02:28.620 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=500] [physicalTableID=500] [indexID=-1] [checksum=1906240774449384424] [totalKvs=1] [totalBytes=37] [2025/04/04 13:02:28.620 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 13:02:28.620 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=30047] [step=post-process] [subtask-id=30091] [local="{cksum=1906240774449384424,size=37,kvs=1}"] [2025/04/04 13:02:28.621 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=30047] [step=post-process] [subtask-id=30091] [takeTime=8.260001ms] [] [2025/04/04 13:02:28.621 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=30047] [step=post-process] [subtask-id=30091] [takeTime=8.415078ms] [] [2025/04/04 13:02:28.621 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30047] [task-type=ImportInto] [server-id=:4000] [subtaskID=30091] [step=post-process] [takeTime=8.556671ms] [] [2025/04/04 13:02:28.641 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 13:02:28.651 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30047] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 13:02:28.651 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30047] [step=post-process] [state=running] [] [2025/04/04 13:02:28.653 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=30047] [2025/04/04 13:02:28.667 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30047] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [takeTime=62.014341ms] [] [2025/04/04 13:02:28.667 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30047] [type=ImportInto] [2025/04/04 13:02:28.743 +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.69576522\n# Parse_time: 0.000114923\n# Compile_time: 0.00051178\n# Rewrite_time: 0.000158156\n# Optimize_time: 0.00027089\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('SvBJMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY5NC45bXMsIG9wZW46NzI3bnMsIGNsb3NlOjEuMDPCtXMsIGxvb3BzOjIJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('ZfBSCmEKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWjB0aW1lOjY5NC45bXMsIG9wZW46NzI3bnMsIGNsb3NlOjEuMDPCtXMsIGxvb3BzOjJw//////8BAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.0000187\nIMPORT INTO `load_data`.`import_mode` FROM 'gs://test-load/import_mode-*.tsv?endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F' WITH disable_tikv_import_mode;"] [2025/04/04 13:02:28.744 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30047] [2025/04/04 13:02:28.749 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 13:02:28.749 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30047] [2025/04/04 13:02:28.760 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:503, Type:truncate table, State:queueing, SchemaState:none, SchemaID:492, TableID:500, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:28.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:02:28.760 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:503, Type:truncate table, State:queueing, SchemaState:none, SchemaID:492, TableID:500, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:28.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table load_data.import_mode;"] [2025/04/04 13:02:28.765 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=503] [conn=2] [job="ID:503, Type:truncate table, State:queueing, SchemaState:none, SchemaID:492, TableID:500, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:28.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:28.772 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 13:02:28.773 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 502, Table Name: import_mode, Old Table ID: 500, Old Table Name: import_mode)"] [2025/04/04 13:02:28.789 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=392] [neededSchemaVersion=393] ["elapsed time"=1.737251ms] [gotSchemaVersion=393] [phyTblIDs="[500,502]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 13:02:28.793 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=503] [version=393] [2025/04/04 13:02:28.795 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=393] ["take time"=9.468066ms] [job="ID:503, Type:truncate table, State:done, SchemaState:public, SchemaID:492, TableID:500, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:28.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:28.806 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=503] [tableIDs="[500]"] [comment="truncate table: table ID"] [2025/04/04 13:02:28.810 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=503] [jobType="truncate table"] [2025/04/04 13:02:28.811 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=503] [conn=2] [job="ID:503, Type:truncate table, State:synced, SchemaState:public, SchemaID:492, TableID:500, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:28.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:28.828 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=503] [2025/04/04 13:02:28.828 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=393] [cur_db=import_into] [sql="truncate table load_data.import_mode;"] [user=root@%] [2025/04/04 13:02:28.840 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:505, Type:truncate table, State:queueing, SchemaState:none, SchemaID:492, TableID:502, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:28.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table load_data.import_mode;"] [2025/04/04 13:02:28.840 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:505, Type:truncate table, State:queueing, SchemaState:none, SchemaID:492, TableID:502, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:28.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:02:28.845 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=505] [conn=2] [job="ID:505, Type:truncate table, State:queueing, SchemaState:none, SchemaID:492, TableID:502, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:28.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:28.852 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 504, Table Name: import_mode, Old Table ID: 502, Old Table Name: import_mode)"] [2025/04/04 13:02:28.868 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=393] [neededSchemaVersion=394] ["elapsed time"=1.623864ms] [gotSchemaVersion=394] [phyTblIDs="[502,504]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 13:02:28.871 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=505] [version=394] [2025/04/04 13:02:28.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=394] ["take time"=8.183708ms] [job="ID:505, Type:truncate table, State:done, SchemaState:public, SchemaID:492, TableID:502, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:28.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:28.883 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=505] [tableIDs="[502]"] [comment="truncate table: table ID"] [2025/04/04 13:02:28.887 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=505] [jobType="truncate table"] [2025/04/04 13:02:28.888 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=505] [conn=2] [job="ID:505, Type:truncate table, State:synced, SchemaState:public, SchemaID:492, TableID:502, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:28.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:28.906 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=505] [2025/04/04 13:02:28.906 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=394] [cur_db=import_into] [sql="truncate table load_data.import_mode;"] [user=root@%] [2025/04/04 13:02:28.912 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:28.927 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/import_mode-*.tsv?endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/04 13:02:28.946 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30048] [task-id=30048] [data-size=8B] [thread-cnt=8] [global-sort=false] [2025/04/04 13:02:28.961 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30048] [2025/04/04 13:02:28.962 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=30048] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/04 13:02:29.064 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30048] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 13:02:29.065 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30048] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:02:29.066 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30048] [curr-step=init] [next-step=import] [2025/04/04 13:02:29.074 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:29.076 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=import_mode] [2025/04/04 13:02:29.076 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=import_mode] [before=536870912000] [after=8] [2025/04/04 13:02:29.076 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=import_mode] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=8] [cost=47.465µs] [2025/04/04 13:02:29.076 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=import_mode] [takeTime=140.541µs] [] [2025/04/04 13:02:29.076 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30048] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 13:02:29.077 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30048] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/04 13:02:29.117 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30048] [type=ImportInto] [concurrency=8] [remaining-slots=44] [2025/04/04 13:02:29.138 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30048] [step=import] [2025/04/04 13:02:29.138 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:29.146 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 13:02:29.146 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 13:02:29.146 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 13:02:29.147 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 13:02:29.147 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 13:02:29.147 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 13:02:29.147 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 13:02:29.147 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 13:02:29.147 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 13:02:29.148 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 13:02:29.160 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 13:02:29.161 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 13:02:29.161 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=import_mode] [quota=374.2GB] [2025/04/04 13:02:29.161 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=30048] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 13:02:29.161 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=import_mode] [import-id=30048] [disk-quota=348.5GiB] [2025/04/04 13:02:29.161 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30048] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/04 13:02:29.169 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30048] [task-type=ImportInto] [server-id=:4000] [subtaskID=30092] [step=import] [2025/04/04 13:02:29.169 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30048] [step=import] [subtask-id=30092] [2025/04/04 13:02:29.173 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [2025/04/04 13:02:29.176 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [2025/04/04 13:02:29.176 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=504] [2025/04/04 13:02:29.177 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=30048] [2025/04/04 13:02:29.216 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=504] [key=import_mode-1.tsv:0] [2025/04/04 13:02:29.218 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=504] [key=import_mode-1.tsv:0] [readDur=855.936µs] [encodeDur=219.49µs] [checksum="{cksum=313756151371673670,size=37,kvs=1}"] [deliverDur=264.177µs] [type=file] [takeTime=1.591724ms] [] [2025/04/04 13:02:29.219 +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/30048/1ccc2128-36af-5780-96ac-757ded6634c4.sst/1cd832cc-bd7d-453f-9645-2645cc5dc5e4.sst] [firstKey=7480000000000001F85F728000000000000001] [lastKey=7480000000000001F85F728000000000000001] [2025/04/04 13:02:29.219 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=30048] [step=import] [engine-id=0] [2025/04/04 13:02:29.219 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=30048] [step=import] [engine-id=0] [2025/04/04 13:02:29.219 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [2025/04/04 13:02:29.221 +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.992001ms] [] [2025/04/04 13:02:29.221 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [retryCnt=0] [2025/04/04 13:02:29.225 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 13:02:29.247 +00:00] [INFO] [local.go:1354] ["switch import mode of ranges"] [category=ddl-ingest] [startKey=7480000000000001f85f728000000000000001] [endKey=7480000000000001f85f728000000000000002] [2025/04/04 13:02:29.247 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=1ccc2128-36af-5780-96ac-757ded6634c4] ["region ranges"=1] [count=1] [size=37] [2025/04/04 13:02:29.247 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [category=ddl-ingest] [mode=Import] [2025/04/04 13:02:29.247 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 13:02:29.249 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001f85f728000000000000001] [endOfAllRanges=7480000000000001f85f728000000000000002] [startKeyOfFirstRegion=7480000000000001fff85f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001fff85f728000000000ff0000020000000000fa] [2025/04/04 13:02:29.261 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=1ccc2128-36af-5780-96ac-757ded6634c4] [size=37] [kvs=1] [importedSize=37] [importedCount=1] [2025/04/04 13:02:29.262 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [category=ddl-ingest] [mode=Normal] [2025/04/04 13:02:29.276 +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=54.455933ms] [] [2025/04/04 13:02:29.276 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [2025/04/04 13:02:29.277 +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.097471ms] [] [2025/04/04 13:02:29.277 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=30048] [step=import] [engine-id=0] [2025/04/04 13:02:29.277 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [2025/04/04 13:02:29.279 +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.590187ms] [] [2025/04/04 13:02:29.279 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [retryCnt=0] [2025/04/04 13:02:29.283 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=86c1a897-a1cd-5c05-8035-3b378e34349a] [2025/04/04 13:02:29.283 +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=4.465628ms] [] [2025/04/04 13:02:29.283 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [2025/04/04 13:02:29.284 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [takeTime=830.681µs] [] [2025/04/04 13:02:29.284 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=30048] [step=import] [subtask-id=30092] [takeTime=115.125953ms] [] [2025/04/04 13:02:29.284 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30048] [task-type=ImportInto] [server-id=:4000] [subtaskID=30092] [step=import] [takeTime=115.280924ms] [] [2025/04/04 13:02:29.370 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30048] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 13:02:29.372 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30048] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:02:29.374 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30048] [curr-step=import] [next-step=post-process] [2025/04/04 13:02:29.393 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=30048] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":1}"] [2025/04/04 13:02:29.395 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30048] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 13:02:29.395 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30048] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/04 13:02:29.431 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=30048] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 13:02:29.439 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30048] [step=import] [2025/04/04 13:02:29.442 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 13:02:29.442 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 13:02:29.442 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 13:02:29.442 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 13:02:29.442 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 13:02:29.442 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:02:29.442 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 13:02:29.442 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 13:02:29.443 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:02:29.443 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:02:29.443 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 13:02:29.442 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-47] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:02:29.445 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 13:02:29.445 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:02:29.445 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:02:29.446 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:02:29.446 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30048] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [takeTime=284.040031ms] [] [2025/04/04 13:02:29.447 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30048] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/04 13:02:29.456 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30048] [task-type=ImportInto] [server-id=:4000] [subtaskID=30093] [step=post-process] [2025/04/04 13:02:29.456 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=30048] [step=post-process] [subtask-id=30093] [2025/04/04 13:02:29.456 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=30048] [step=post-process] [subtask-id=30093] [2025/04/04 13:02:29.456 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=30048] [step=post-process] [subtask-id=30093] [2025/04/04 13:02:29.463 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=30048] [step=post-process] [subtask-id=30093] [takeTime=6.76569ms] [] [2025/04/04 13:02:29.463 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=30048] [step=post-process] [subtask-id=30093] [groupId=-1] [size=37] [kvs=1] [checksum=313756151371673670] [2025/04/04 13:02:29.463 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=30048] [step=post-process] [subtask-id=30093] [checksum="{cksum=313756151371673670,size=37,kvs=1}"] [2025/04/04 13:02:29.463 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=30048] [step=post-process] [subtask-id=30093] [weight=30] [2025/04/04 13:02:29.463 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=30048] [step=post-process] [subtask-id=30093] [concurrency=15] [2025/04/04 13:02:29.466 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=504] [physicalTableID=504] [indexID=-1] [checksum=313756151371673670] [totalKvs=1] [totalBytes=37] [2025/04/04 13:02:29.467 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 13:02:29.467 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=30048] [step=post-process] [subtask-id=30093] [local="{cksum=313756151371673670,size=37,kvs=1}"] [2025/04/04 13:02:29.467 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=30048] [step=post-process] [subtask-id=30093] [takeTime=11.053929ms] [] [2025/04/04 13:02:29.467 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=30048] [step=post-process] [subtask-id=30093] [takeTime=11.193939ms] [] [2025/04/04 13:02:29.467 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30048] [task-type=ImportInto] [server-id=:4000] [subtaskID=30093] [step=post-process] [takeTime=11.706965ms] [] [2025/04/04 13:02:29.480 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 13:02:29.569 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30048] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 13:02:29.569 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30048] [step=post-process] [state=running] [] [2025/04/04 13:02:29.572 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=30048] [2025/04/04 13:02:29.587 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30048] [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=139.904818ms] [] [2025/04/04 13:02:29.587 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30048] [type=ImportInto] [2025/04/04 13:02:29.664 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30048] [2025/04/04 13:02:29.670 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 13:02:29.670 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30048] [2025/04/04 13:02:29.692 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 13:02:29.865 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# User@Host: root[root] @ localhost [localhost]\n# Conn_ID: 2\n# Query_time: 0.958189365\n# Parse_time: 0.000073492\n# Compile_time: 0.000462805\n# Rewrite_time: 0.000143617\n# Optimize_time: 0.000252154\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('SvBJMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk1Ny40bXMsIG9wZW46NzI4bnMsIGNsb3NlOjEuMTPCtXMsIGxvb3BzOjIJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('ZfBSCmEKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWjB0aW1lOjk1Ny40bXMsIG9wZW46NzI4bnMsIGNsb3NlOjEuMTPCtXMsIGxvb3BzOjJw//////8BAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.0000187\nIMPORT INTO `load_data`.`import_mode` FROM 'gs://test-load/import_mode-*.tsv?endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F';"] [2025/04/04 13:02:30.009 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:507, Type:truncate table, State:queueing, SchemaState:none, SchemaID:492, TableID:504, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:29.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:02:30.009 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:507, Type:truncate table, State:queueing, SchemaState:none, SchemaID:492, TableID:504, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:29.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table load_data.import_mode;"] [2025/04/04 13:02:30.015 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=507] [conn=2] [job="ID:507, Type:truncate table, State:queueing, SchemaState:none, SchemaID:492, TableID:504, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:29.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:30.023 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 506, Table Name: import_mode, Old Table ID: 504, Old Table Name: import_mode)"] [2025/04/04 13:02:30.040 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=394] [neededSchemaVersion=395] ["elapsed time"=1.628903ms] [gotSchemaVersion=395] [phyTblIDs="[504,506]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 13:02:30.044 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=507] [version=395] [2025/04/04 13:02:30.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=395] ["take time"=9.632931ms] [job="ID:507, Type:truncate table, State:done, SchemaState:public, SchemaID:492, TableID:504, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:29.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:30.057 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=507] [tableIDs="[504]"] [comment="truncate table: table ID"] [2025/04/04 13:02:30.062 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=507] [jobType="truncate table"] [2025/04/04 13:02:30.063 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=507] [conn=2] [job="ID:507, Type:truncate table, State:synced, SchemaState:public, SchemaID:492, TableID:504, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:29.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:30.081 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=507] [2025/04/04 13:02:30.081 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=395] [cur_db=import_into] [sql="truncate table load_data.import_mode;"] [user=root@%] [2025/04/04 13:02:30.088 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:30.137 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/import_mode-*.tsv?access-key=xxxxxx\\u0026endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F\\u0026secret-access-key=xxxxxx\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/04 13:02:30.156 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30049] [task-id=30049] [data-size=8B] [thread-cnt=8] [global-sort=false] [2025/04/04 13:02:30.171 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30049] [2025/04/04 13:02:30.171 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=30049] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/04 13:02:30.273 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30049] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 13:02:30.274 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30049] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:02:30.276 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30049] [curr-step=init] [next-step=import] [2025/04/04 13:02:30.284 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:30.286 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=import_mode] [2025/04/04 13:02:30.286 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=import_mode] [before=536870912000] [after=8] [2025/04/04 13:02:30.286 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=import_mode] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=8] [cost=66.625µs] [2025/04/04 13:02:30.287 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=import_mode] [takeTime=183.827µs] [] [2025/04/04 13:02:30.287 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30049] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 13:02:30.287 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30049] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/04 13:02:30.326 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30049] [type=ImportInto] [concurrency=8] [remaining-slots=44] [2025/04/04 13:02:30.345 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30049] [step=import] [2025/04/04 13:02:30.346 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:30.354 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 13:02:30.354 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 13:02:30.355 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 13:02:30.355 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 13:02:30.355 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 13:02:30.355 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 13:02:30.355 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 13:02:30.355 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 13:02:30.355 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 13:02:30.356 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 13:02:30.368 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 13:02:30.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/04 13:02:30.370 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=import_mode] [quota=374.2GB] [2025/04/04 13:02:30.370 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=30049] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 13:02:30.370 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=import_mode] [import-id=30049] [disk-quota=348.5GiB] [2025/04/04 13:02:30.371 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30049] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/04 13:02:30.378 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30049] [task-type=ImportInto] [server-id=:4000] [subtaskID=30094] [step=import] [2025/04/04 13:02:30.378 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30049] [step=import] [subtask-id=30094] [2025/04/04 13:02:30.382 +00:00] [INFO] [import_into_test.go:850] [ToImportMode] [2025/04/04 13:02:30.382 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [2025/04/04 13:02:30.386 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [2025/04/04 13:02:30.386 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=506] [2025/04/04 13:02:30.387 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=30049] [2025/04/04 13:02:32.361 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/04 13:02:33.386 +00:00] [ERROR] [task_executor.go:129] ["run subtask failed"] [type=ImportInto] [task-id=30049] [step=import] [subtask-id=30094] [takeTime=3.007874004s] [error="occur an error when sort chunk"] [stack="github.com/pingcap/tidb/pkg/disttask/importinto.(*importStepExecutor).RunSubtask.func1\n\tpkg/disttask/importinto/task_executor.go:129\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:200\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/04 13:02:33.386 +00:00] [INFO] [task_executor.go:464] ["run subtask failed"] [task-id=30049] [task-type=ImportInto] [server-id=:4000] [subtaskID=30094] [step=import] [takeTime=3.008191803s] [error="occur an error when sort chunk"] [errorVerbose="occur an error when sort chunk\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importMinimalTaskExecutor).Run\n\tpkg/disttask/importinto/subtask_executor.go:59\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*chunkWorker).HandleTask\n\tpkg/disttask/importinto/encode_and_sort_operator.go:200\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).handleTaskWithRecover\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:149\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).runAWorker.func1\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:165\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:167\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:02:33.387 +00:00] [WARN] [task_executor.go:706] ["subtask failed"] [task-id=30049] [task-type=ImportInto] [server-id=:4000] [error="occur an error when sort chunk"] [errorVerbose="occur an error when sort chunk\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importMinimalTaskExecutor).Run\n\tpkg/disttask/importinto/subtask_executor.go:59\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*chunkWorker).HandleTask\n\tpkg/disttask/importinto/encode_and_sort_operator.go:200\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).handleTaskWithRecover\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:149\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).runAWorker.func1\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:165\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:167\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:02:33.393 +00:00] [ERROR] [task_executor.go:344] ["run subtask failed"] [task-id=30049] [task-type=ImportInto] [server-id=:4000] [error="occur an error when sort chunk"] [errorVerbose="occur an error when sort chunk\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importMinimalTaskExecutor).Run\n\tpkg/disttask/importinto/subtask_executor.go:59\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*chunkWorker).HandleTask\n\tpkg/disttask/importinto/encode_and_sort_operator.go:200\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).handleTaskWithRecover\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:149\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).runAWorker.func1\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:165\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:167\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:344\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/04 13:02:33.482 +00:00] [WARN] [scheduler.go:389] ["subtasks encounter errors"] [task-id=30049] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [subtask-errs="[\"{error=\\\"[0]occur an error when sort chunk\\\"}\"]"] [2025/04/04 13:02:33.496 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30049] [step=import] [2025/04/04 13:02:33.500 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 13:02:33.500 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 13:02:33.500 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 13:02:33.500 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 13:02:33.500 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 13:02:33.500 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 13:02:33.500 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-48] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:02:33.500 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 13:02:33.500 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:02:33.500 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:02:33.500 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:02:33.500 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 13:02:33.502 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 13:02:33.502 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:02:33.503 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:02:33.503 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:02:33.503 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30049] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [takeTime=3.132040547s] [] [2025/04/04 13:02:33.503 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30049] [type=ImportInto] [2025/04/04 13:02:33.579 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30049] [step=import] [state=reverting] [error="[0]occur an error when sort chunk"] [2025/04/04 13:02:33.580 +00:00] [INFO] [import_into_test.go:855] [ToNormalMode] [2025/04/04 13:02:33.581 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=30049] [2025/04/04 13:02:33.673 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30049] [2025/04/04 13:02:33.680 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 13:02:33.680 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30049] [2025/04/04 13:02:33.702 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 13:02:33.771 +00:00] [ERROR] [handle.go:110] ["task reverted"] [task-id=30049] [error="[0]occur an error when sort chunk"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/handle.WaitTaskDoneOrPaused\n\tpkg/disttask/framework/handle/handle.go:110\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoExec).waitTask\n\tpkg/executor/import_into.go:233\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoExec).Next\n\tpkg/executor/import_into.go:137\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*recordSet).Next\n\tpkg/executor/adapter.go:172\ngithub.com/pingcap/tidb/pkg/session.GetRows4Test\n\tpkg/session/tidb.go:343\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).QueryToErr\n\tpkg/testkit/testkit.go:304\ntests/realtikvtest/importintotest/importintotest_test.(*mockGCSSuite).TestImportMode\n\ttests/realtikvtest/importintotest/import_into_test.go:937\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690"] [2025/04/04 13:02:33.772 +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.689613774\n# Parse_time: 0.000089332\n# Compile_time: 0.000455808\n# Rewrite_time: 0.000148049\n# Optimize_time: 0.000271031\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('RvBFMAk1OV8yCTAJMAlOL0EJMAl0aW1lOjMuNjlzLCBvcGVuOjczMm5zLCBjbG9zZTo5MDBucywgbG9vcHM6MQlOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('X/BMClsKDEltcG9ydEludG9fMjgBQAFSA04vQVosdGltZTozLjY5cywgb3Blbjo3MzJucywgY2xvc2U6OTAwbnMsIGxvb3BzOjFw//////8BAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.0000187\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.74s) === NAME TestImportInto === RUN TestImportInto/TestInputCountMisMatchAndDefault [2025/04/04 13:02:33.795 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:508, Type:drop schema, State:queueing, SchemaState:public, SchemaID:492, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:33.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:02:33.795 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:508, Type:drop schema, State:queueing, SchemaState:public, SchemaID:492, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:33.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop database if exists load_data"] [2025/04/04 13:02:33.803 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=508] [conn=2] [job="ID:508, Type:drop schema, State:queueing, SchemaState:public, SchemaID:492, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:33.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:33.819 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=395] [neededSchemaVersion=396] ["elapsed time"=176.032µs] [gotSchemaVersion=396] [phyTblIDs="[506]"] [actionTypes="[2]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 13:02:33.822 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=508] [version=396] [2025/04/04 13:02:33.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=396] ["take time"=7.140077ms] [job="ID:508, Type:drop schema, State:running, SchemaState:write only, SchemaID:492, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:33.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:33.833 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=508] [conn=2] [job="ID:508, Type:drop schema, State:running, SchemaState:write only, SchemaID:492, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:33.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:33.846 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=396] [neededSchemaVersion=397] ["elapsed time"=139.136µs] [gotSchemaVersion=397] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 13:02:33.849 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=508] [version=397] [2025/04/04 13:02:33.851 +00:00] [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"=6.991219ms] [job="ID:508, Type:drop schema, State:running, SchemaState:delete only, SchemaID:492, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:33.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:33.858 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=508] [conn=2] [job="ID:508, Type:drop schema, State:running, SchemaState:delete only, SchemaID:492, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:33.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:33.864 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/04 13:02:33.873 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=397] [neededSchemaVersion=398] ["elapsed time"=142.232µs] [gotSchemaVersion=398] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 13:02:33.877 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=508] [version=398] [2025/04/04 13:02:33.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=398] ["take time"=7.050858ms] [job="ID:508, Type:drop schema, State:done, SchemaState:none, SchemaID:492, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:33.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:33.887 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=508] [tableIDs="[506]"] [comment="drop schema: table IDs"] [2025/04/04 13:02:33.891 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=508] [jobType="drop schema"] [2025/04/04 13:02:33.892 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=508] [conn=2] [job="ID:508, Type:drop schema, State:synced, SchemaState:none, SchemaID:492, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:33.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:33.908 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=508] [2025/04/04 13:02:33.908 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=398] [cur_db=import_into] [sql="drop database if exists load_data"] [user=root@%] [2025/04/04 13:02:33.922 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:510, Type:create schema, State:queueing, SchemaState:none, SchemaID:509, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:33.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:02:33.922 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:510, Type:create schema, State:queueing, SchemaState:none, SchemaID:509, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:33.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database load_data"] [2025/04/04 13:02:33.928 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=510] [conn=2] [job="ID:510, Type:create schema, State:queueing, SchemaState:none, SchemaID:509, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:33.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:33.941 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=398] [neededSchemaVersion=399] ["elapsed time"=709.873µs] [gotSchemaVersion=399] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 13:02:33.944 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=510] [version=399] [2025/04/04 13:02:33.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=399] ["take time"=7.622532ms] [job="ID:510, Type:create schema, State:done, SchemaState:public, SchemaID:509, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:33.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:33.956 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=510] [conn=2] [job="ID:510, Type:create schema, State:synced, SchemaState:public, SchemaID:509, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:33.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:33.965 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=510] [2025/04/04 13:02:33.966 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=399] [cur_db=import_into] [sql="create database load_data"] [user=root@%] [2025/04/04 13:02:33.967 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=399] [cur_db=load_data] [sql="drop table if exists t;"] [user=root@%] [2025/04/04 13:02:33.979 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:512, Type:create table, State:queueing, SchemaState:none, SchemaID:509, TableID:511, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:33.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:02:33.979 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:512, Type:create table, State:queueing, SchemaState:none, SchemaID:509, TableID:511, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:33.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100), c int);"] [2025/04/04 13:02:33.984 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=512] [conn=2] [job="ID:512, Type:create table, State:queueing, SchemaState:none, SchemaID:509, TableID:511, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:33.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:33.989 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 511, Table Name: t)"] [2025/04/04 13:02:34.004 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=399] [neededSchemaVersion=400] ["elapsed time"=1.530582ms] [gotSchemaVersion=400] [phyTblIDs="[511]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 13:02:34.007 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=512] [version=400] [2025/04/04 13:02:34.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=400] ["take time"=8.083992ms] [job="ID:512, Type:create table, State:done, SchemaState:public, SchemaID:509, TableID:511, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:33.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:34.019 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=512] [conn=2] [job="ID:512, Type:create table, State:synced, SchemaState:public, SchemaID:509, TableID:511, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:33.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:34.029 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=512] [2025/04/04 13:02:34.030 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=400] [cur_db=load_data] [sql="create table t (a bigint, b varchar(100), c int);"] [user=root@%] [2025/04/04 13:02:34.035 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:34.086 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-multi-load/input-cnt-mismatch.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/04 13:02:34.106 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30050] [task-id=30050] [data-size=24B] [thread-cnt=8] [global-sort=false] [2025/04/04 13:02:34.121 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30050] [2025/04/04 13:02:34.121 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=30050] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/04 13:02:34.223 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30050] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 13:02:34.224 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30050] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:02:34.226 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30050] [curr-step=init] [next-step=import] [2025/04/04 13:02:34.233 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:34.241 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 13:02:34.241 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=24] [2025/04/04 13:02:34.241 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=24] [cost=48.247µs] [2025/04/04 13:02:34.241 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=135.989µs] [] [2025/04/04 13:02:34.241 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30050] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 13:02:34.241 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30050] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/04 13:02:34.277 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30050] [type=ImportInto] [concurrency=8] [remaining-slots=44] [2025/04/04 13:02:34.298 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30050] [step=import] [2025/04/04 13:02:34.298 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:34.306 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 13:02:34.307 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 13:02:34.307 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 13:02:34.307 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 13:02:34.307 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 13:02:34.307 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 13:02:34.307 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 13:02:34.307 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 13:02:34.308 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 13:02:34.308 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 13:02:34.320 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 13:02:34.322 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 13:02:34.322 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 13:02:34.322 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=30050] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 13:02:34.322 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=30050] [disk-quota=348.5GiB] [2025/04/04 13:02:34.322 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30050] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/04 13:02:34.330 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=30050] [mode=Import] [2025/04/04 13:02:34.333 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30050] [task-type=ImportInto] [server-id=:4000] [subtaskID=30095] [step=import] [2025/04/04 13:02:34.333 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30050] [step=import] [subtask-id=30095] [2025/04/04 13:02:34.337 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 13:02:34.341 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 13:02:34.341 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=511] [2025/04/04 13:02:34.348 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=30050] [2025/04/04 13:02:34.354 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=511] [key=input-cnt-mismatch.csv:0] [2025/04/04 13:02:34.357 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=511] [key=input-cnt-mismatch.csv:0] [readDur=1.133752ms] [encodeDur=299.509µs] [checksum="{cksum=1692122232078702762,size=78,kvs=2}"] [deliverDur=302.964µs] [type=file] [takeTime=2.041796ms] [] [2025/04/04 13:02:34.357 +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/30050/67ea3590-7c4f-5a31-ade6-de9a31136e82.sst/5c351c44-b37c-45ce-b9ad-5f0219a4fb8c.sst] [firstKey=7480000000000001FF5F728000000000000001] [lastKey=7480000000000001FF5F728000000000000002] [2025/04/04 13:02:34.357 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=30050] [step=import] [engine-id=0] [2025/04/04 13:02:34.357 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=30050] [step=import] [engine-id=0] [2025/04/04 13:02:34.358 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 13:02:34.360 +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.096133ms] [] [2025/04/04 13:02:34.360 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [retryCnt=0] [2025/04/04 13:02:34.365 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 13:02:34.386 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] ["region ranges"=1] [count=2] [size=78] [2025/04/04 13:02:34.386 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 13:02:34.388 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001ff5f728000000000000001] [endOfAllRanges=7480000000000001ff5f728000000000000003] [startKeyOfFirstRegion=7480000000000001ffff5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ffff5f728000000000ff0000030000000000fa] [2025/04/04 13:02:34.400 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] [size=78] [kvs=2] [importedSize=78] [importedCount=2] [2025/04/04 13:02:34.401 +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.311896ms] [] [2025/04/04 13:02:34.401 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 13:02:34.402 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=1.06839ms] [] [2025/04/04 13:02:34.402 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=30050] [step=import] [engine-id=0] [2025/04/04 13:02:34.402 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 13:02:34.404 +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.458111ms] [] [2025/04/04 13:02:34.404 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [retryCnt=0] [2025/04/04 13:02:34.407 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 13:02:34.408 +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.613069ms] [] [2025/04/04 13:02:34.408 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 13:02:34.409 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=891.75µs] [] [2025/04/04 13:02:34.409 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=30050] [step=import] [subtask-id=30095] [takeTime=75.767485ms] [] [2025/04/04 13:02:34.409 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30050] [task-type=ImportInto] [server-id=:4000] [subtaskID=30095] [step=import] [takeTime=75.915623ms] [] [2025/04/04 13:02:34.428 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30050] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 13:02:34.429 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30050] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:02:34.430 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30050] [curr-step=import] [next-step=post-process] [2025/04/04 13:02:34.430 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=30050] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 13:02:34.460 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=30050] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/04 13:02:34.461 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30050] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 13:02:34.461 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30050] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/04 13:02:34.491 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=30050] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 13:02:34.498 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30050] [step=import] [2025/04/04 13:02:34.500 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 13:02:34.501 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 13:02:34.501 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 13:02:34.501 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 13:02:34.501 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 13:02:34.501 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 13:02:34.501 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:02:34.501 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 13:02:34.501 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:02:34.501 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-49] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:02:34.501 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:02:34.501 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 13:02:34.503 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 13:02:34.503 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:02:34.503 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:02:34.503 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:02:34.503 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30050] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [takeTime=180.926881ms] [] [2025/04/04 13:02:34.505 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30050] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/04 13:02:34.512 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30050] [task-type=ImportInto] [server-id=:4000] [subtaskID=30096] [step=post-process] [2025/04/04 13:02:34.512 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=30050] [step=post-process] [subtask-id=30096] [2025/04/04 13:02:34.512 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=30050] [step=post-process] [subtask-id=30096] [2025/04/04 13:02:34.512 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=30050] [step=post-process] [subtask-id=30096] [2025/04/04 13:02:34.518 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=30050] [step=post-process] [subtask-id=30096] [takeTime=6.216842ms] [] [2025/04/04 13:02:34.518 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=30050] [step=post-process] [subtask-id=30096] [groupId=-1] [size=78] [kvs=2] [checksum=1692122232078702762] [2025/04/04 13:02:34.518 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=30050] [step=post-process] [subtask-id=30096] [checksum="{cksum=1692122232078702762,size=78,kvs=2}"] [2025/04/04 13:02:34.518 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=30050] [step=post-process] [subtask-id=30096] [weight=30] [2025/04/04 13:02:34.518 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=30050] [step=post-process] [subtask-id=30096] [concurrency=15] [2025/04/04 13:02:34.520 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=511] [physicalTableID=511] [indexID=-1] [checksum=1692122232078702762] [totalKvs=2] [totalBytes=78] [2025/04/04 13:02:34.521 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 13:02:34.521 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=30050] [step=post-process] [subtask-id=30096] [local="{cksum=1692122232078702762,size=78,kvs=2}"] [2025/04/04 13:02:34.521 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=30050] [step=post-process] [subtask-id=30096] [takeTime=8.893245ms] [] [2025/04/04 13:02:34.521 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=30050] [step=post-process] [subtask-id=30096] [takeTime=9.035593ms] [] [2025/04/04 13:02:34.521 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30050] [task-type=ImportInto] [server-id=:4000] [subtaskID=30096] [step=post-process] [takeTime=9.163712ms] [] [2025/04/04 13:02:34.545 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 13:02:34.629 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30050] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 13:02:34.629 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30050] [step=post-process] [state=running] [] [2025/04/04 13:02:34.632 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=30050] [2025/04/04 13:02:34.647 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30050] [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=142.299208ms] [] [2025/04/04 13:02:34.647 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30050] [type=ImportInto] [2025/04/04 13:02:34.722 +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.691670317\n# Parse_time: 0.000067562\n# Compile_time: 0.000448813\n# Rewrite_time: 0.000155461\n# Optimize_time: 0.000271031\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY5MC45bXMsIG9wZW46NjUybnMsIGNsb3NlOjg4MG5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY5MC45bXMsIG9wZW46NjUybnMsIGNsb3NlOjg4MG5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.0000187\nuse load_data;\nIMPORT INTO `load_data`.`t` FROM 'gs://test-multi-load/input-cnt-mismatch.csv?endpoint=http://127.0.0.1:4443/storage/v1/';"] [2025/04/04 13:02:34.723 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30050] [2025/04/04 13:02:34.729 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 13:02:34.729 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30050] [2025/04/04 13:02:34.738 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:513, Type:drop table, State:queueing, SchemaState:public, SchemaID:509, TableID:511, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:34.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:02:34.738 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:513, Type:drop table, State:queueing, SchemaState:public, SchemaID:509, TableID:511, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:34.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/04 13:02:34.743 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=513] [conn=2] [job="ID:513, Type:drop table, State:queueing, SchemaState:public, SchemaID:509, TableID:511, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:34.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:34.752 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 13:02:34.759 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=400] [neededSchemaVersion=401] ["elapsed time"=2.121231ms] [gotSchemaVersion=401] [phyTblIDs="[511]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 13:02:34.762 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=513] [version=401] [2025/04/04 13:02:34.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=401] ["take time"=8.814871ms] [job="ID:513, Type:drop table, State:running, SchemaState:write only, SchemaID:509, TableID:511, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:34.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:34.773 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=513] [conn=2] [job="ID:513, Type:drop table, State:running, SchemaState:write only, SchemaID:509, TableID:511, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:34.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:34.788 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=401] [neededSchemaVersion=402] ["elapsed time"=2.166463ms] [gotSchemaVersion=402] [phyTblIDs="[511]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 13:02:34.792 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=513] [version=402] [2025/04/04 13:02:34.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=402] ["take time"=9.3907ms] [job="ID:513, Type:drop table, State:running, SchemaState:delete only, SchemaID:509, TableID:511, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:34.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:34.803 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=513] [conn=2] [job="ID:513, Type:drop table, State:running, SchemaState:delete only, SchemaID:509, TableID:511, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:34.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:34.810 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 511, Old Table Name: t)"] [2025/04/04 13:02:34.824 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=402] [neededSchemaVersion=403] ["elapsed time"=1.041558ms] [gotSchemaVersion=403] [phyTblIDs="[511]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 13:02:34.827 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=513] [version=403] [2025/04/04 13:02:34.829 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=403] ["take time"=8.287074ms] [job="ID:513, Type:drop table, State:done, SchemaState:none, SchemaID:509, TableID:511, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:34.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:34.838 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=513] [tableIDs="[511]"] [comment="drop table: table ID"] [2025/04/04 13:02:34.843 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=513] [jobType="drop table"] [2025/04/04 13:02:34.844 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=513] [conn=2] [job="ID:513, Type:drop table, State:synced, SchemaState:none, SchemaID:509, TableID:511, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:34.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:34.862 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=513] [2025/04/04 13:02:34.862 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=403] [cur_db=load_data] [sql="drop table if exists t;"] [user=root@%] [2025/04/04 13:02:34.875 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:515, Type:create table, State:queueing, SchemaState:none, SchemaID:509, TableID:514, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:34.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:02:34.875 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:515, Type:create table, State:queueing, SchemaState:none, SchemaID:509, TableID:514, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:34.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100), c int default 100);"] [2025/04/04 13:02:34.881 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=515] [conn=2] [job="ID:515, Type:create table, State:queueing, SchemaState:none, SchemaID:509, TableID:514, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:34.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:34.886 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 514, Table Name: t)"] [2025/04/04 13:02:34.903 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=403] [neededSchemaVersion=404] ["elapsed time"=1.796221ms] [gotSchemaVersion=404] [phyTblIDs="[514]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 13:02:34.907 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=515] [version=404] [2025/04/04 13:02:34.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=404] ["take time"=8.938911ms] [job="ID:515, Type:create table, State:done, SchemaState:public, SchemaID:509, TableID:514, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:34.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:34.920 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=515] [conn=2] [job="ID:515, Type:create table, State:synced, SchemaState:public, SchemaID:509, TableID:514, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:34.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:34.931 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=515] [2025/04/04 13:02:34.931 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=404] [cur_db=load_data] [sql="create table t (a bigint, b varchar(100), c int default 100);"] [user=root@%] [2025/04/04 13:02:34.937 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:34.993 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-multi-load/input-cnt-mismatch.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/04 13:02:35.014 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30051] [task-id=30051] [data-size=24B] [thread-cnt=8] [global-sort=false] [2025/04/04 13:02:35.029 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30051] [2025/04/04 13:02:35.029 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=30051] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/04 13:02:35.131 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30051] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 13:02:35.132 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30051] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:02:35.133 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30051] [curr-step=init] [next-step=import] [2025/04/04 13:02:35.141 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:35.143 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 13:02:35.144 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=24] [2025/04/04 13:02:35.144 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=24] [cost=88.428µs] [2025/04/04 13:02:35.144 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=202.831µs] [] [2025/04/04 13:02:35.144 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30051] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 13:02:35.144 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30051] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/04 13:02:35.177 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30051] [type=ImportInto] [concurrency=8] [remaining-slots=44] [2025/04/04 13:02:35.197 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30051] [step=import] [2025/04/04 13:02:35.197 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:35.205 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 13:02:35.205 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 13:02:35.205 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 13:02:35.205 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 13:02:35.205 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 13:02:35.205 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 13:02:35.205 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 13:02:35.206 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 13:02:35.206 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 13:02:35.206 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 13:02:35.218 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 13:02:35.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/04 13:02:35.220 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 13:02:35.220 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=30051] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 13:02:35.220 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30051] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/04 13:02:35.220 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=30051] [disk-quota=348.5GiB] [2025/04/04 13:02:35.227 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30051] [task-type=ImportInto] [server-id=:4000] [subtaskID=30097] [step=import] [2025/04/04 13:02:35.227 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30051] [step=import] [subtask-id=30097] [2025/04/04 13:02:35.230 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 13:02:35.234 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 13:02:35.234 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=514] [2025/04/04 13:02:35.237 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=30051] [mode=Import] [2025/04/04 13:02:35.249 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=514] [key=input-cnt-mismatch.csv:0] [2025/04/04 13:02:35.252 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=514] [key=input-cnt-mismatch.csv:0] [readDur=1.161042ms] [encodeDur=934.199µs] [checksum="{cksum=9523289418136626923,size=79,kvs=2}"] [deliverDur=290.59µs] [type=file] [takeTime=2.762108ms] [] [2025/04/04 13:02:35.252 +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/30051/67ea3590-7c4f-5a31-ade6-de9a31136e82.sst/4f14d271-c1bf-441f-a01a-a80fdd550ffa.sst] [firstKey=7480000000000002025F728000000000000001] [lastKey=7480000000000002025F728000000000000002] [2025/04/04 13:02:35.253 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=30051] [step=import] [engine-id=0] [2025/04/04 13:02:35.253 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=30051] [step=import] [engine-id=0] [2025/04/04 13:02:35.253 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 13:02:35.255 +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.949849ms] [] [2025/04/04 13:02:35.255 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [retryCnt=0] [2025/04/04 13:02:35.256 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=30051] [2025/04/04 13:02:35.259 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 13:02:35.280 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] ["region ranges"=1] [count=2] [size=79] [2025/04/04 13:02:35.281 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 13:02:35.282 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000002025f728000000000000001] [endOfAllRanges=7480000000000002025f728000000000000003] [startKeyOfFirstRegion=7480000000000002ff025f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000002ff025f728000000000ff0000030000000000fa] [2025/04/04 13:02:35.293 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] [size=79] [kvs=2] [importedSize=79] [importedCount=2] [2025/04/04 13:02:35.294 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [retryCnt=0] [takeTime=39.548763ms] [] [2025/04/04 13:02:35.294 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 13:02:35.296 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=1.108641ms] [] [2025/04/04 13:02:35.296 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=30051] [step=import] [engine-id=0] [2025/04/04 13:02:35.296 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 13:02:35.297 +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.397476ms] [] [2025/04/04 13:02:35.297 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [retryCnt=0] [2025/04/04 13:02:35.301 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 13:02:35.301 +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.481197ms] [] [2025/04/04 13:02:35.301 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 13:02:35.302 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=933.513µs] [] [2025/04/04 13:02:35.302 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=30051] [step=import] [subtask-id=30097] [takeTime=74.944332ms] [] [2025/04/04 13:02:35.302 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30051] [task-type=ImportInto] [server-id=:4000] [subtaskID=30097] [step=import] [takeTime=75.083567ms] [] [2025/04/04 13:02:35.336 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30051] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 13:02:35.338 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30051] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:02:35.339 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30051] [curr-step=import] [next-step=post-process] [2025/04/04 13:02:35.339 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=30051] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 13:02:35.369 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=30051] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/04 13:02:35.371 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30051] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 13:02:35.371 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30051] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/04 13:02:35.405 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=30051] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 13:02:35.411 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30051] [step=import] [2025/04/04 13:02:35.414 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 13:02:35.414 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 13:02:35.414 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 13:02:35.414 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 13:02:35.414 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 13:02:35.414 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 13:02:35.414 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 13:02:35.414 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:02:35.414 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-50] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:02:35.414 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:02:35.414 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:02:35.415 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 13:02:35.417 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 13:02:35.417 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:02:35.417 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:02:35.417 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:02:35.417 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30051] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [takeTime=197.288442ms] [] [2025/04/04 13:02:35.418 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30051] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/04 13:02:35.426 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30051] [task-type=ImportInto] [server-id=:4000] [subtaskID=30098] [step=post-process] [2025/04/04 13:02:35.426 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=30051] [step=post-process] [subtask-id=30098] [2025/04/04 13:02:35.426 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=30051] [step=post-process] [subtask-id=30098] [2025/04/04 13:02:35.426 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=30051] [step=post-process] [subtask-id=30098] [2025/04/04 13:02:35.432 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=30051] [step=post-process] [subtask-id=30098] [takeTime=6.171513ms] [] [2025/04/04 13:02:35.432 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=30051] [step=post-process] [subtask-id=30098] [groupId=-1] [size=79] [kvs=2] [checksum=9523289418136626923] [2025/04/04 13:02:35.432 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=30051] [step=post-process] [subtask-id=30098] [checksum="{cksum=9523289418136626923,size=79,kvs=2}"] [2025/04/04 13:02:35.432 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=30051] [step=post-process] [subtask-id=30098] [weight=30] [2025/04/04 13:02:35.432 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=30051] [step=post-process] [subtask-id=30098] [concurrency=15] [2025/04/04 13:02:35.434 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=514] [physicalTableID=514] [indexID=-1] [checksum=9523289418136626923] [totalKvs=2] [totalBytes=79] [2025/04/04 13:02:35.434 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 13:02:35.434 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=30051] [step=post-process] [subtask-id=30098] [local="{cksum=9523289418136626923,size=79,kvs=2}"] [2025/04/04 13:02:35.434 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=30051] [step=post-process] [subtask-id=30098] [takeTime=8.662887ms] [] [2025/04/04 13:02:35.435 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=30051] [step=post-process] [subtask-id=30098] [takeTime=8.812206ms] [] [2025/04/04 13:02:35.435 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30051] [task-type=ImportInto] [server-id=:4000] [subtaskID=30098] [step=post-process] [takeTime=8.941604ms] [] [2025/04/04 13:02:35.455 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 13:02:35.536 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30051] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 13:02:35.536 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30051] [step=post-process] [state=running] [] [2025/04/04 13:02:35.539 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=30051] [2025/04/04 13:02:35.552 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30051] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [takeTime=134.09338ms] [] [2025/04/04 13:02:35.553 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30051] [type=ImportInto] [2025/04/04 13:02:35.630 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# User@Host: root[root] @ localhost [localhost]\n# Conn_ID: 2\n# Query_time: 0.698210219\n# Parse_time: 0.00007554\n# Compile_time: 0.000430091\n# Rewrite_time: 0.000148009\n# Optimize_time: 0.000234627\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY5Ny40bXMsIG9wZW46NjUxbnMsIGNsb3NlOjkzOG5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY5Ny40bXMsIG9wZW46NjUxbnMsIGNsb3NlOjkzOG5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.0000187\nIMPORT INTO `load_data`.`t` FROM 'gs://test-multi-load/input-cnt-mismatch.csv?endpoint=http://127.0.0.1:4443/storage/v1/';"] [2025/04/04 13:02:35.631 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30051] [2025/04/04 13:02:35.639 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 13:02:35.639 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30051] [2025/04/04 13:02:35.647 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:516, Type:drop table, State:queueing, SchemaState:public, SchemaID:509, TableID:514, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:35.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:02:35.647 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:516, Type:drop table, State:queueing, SchemaState:public, SchemaID:509, TableID:514, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:35.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/04 13:02:35.654 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=516] [conn=2] [job="ID:516, Type:drop table, State:queueing, SchemaState:public, SchemaID:509, TableID:514, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:35.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:35.665 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 13:02:35.671 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=404] [neededSchemaVersion=405] ["elapsed time"=2.16199ms] [gotSchemaVersion=405] [phyTblIDs="[514]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 13:02:35.675 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=516] [version=405] [2025/04/04 13:02:35.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=405] ["take time"=9.679393ms] [job="ID:516, Type:drop table, State:running, SchemaState:write only, SchemaID:509, TableID:514, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:35.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:35.686 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=516] [conn=2] [job="ID:516, Type:drop table, State:running, SchemaState:write only, SchemaID:509, TableID:514, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:35.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:35.704 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=405] [neededSchemaVersion=406] ["elapsed time"=2.120843ms] [gotSchemaVersion=406] [phyTblIDs="[514]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 13:02:35.708 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=516] [version=406] [2025/04/04 13:02:35.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=406] ["take time"=9.497212ms] [job="ID:516, Type:drop table, State:running, SchemaState:delete only, SchemaID:509, TableID:514, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:35.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:35.717 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=516] [conn=2] [job="ID:516, Type:drop table, State:running, SchemaState:delete only, SchemaID:509, TableID:514, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:35.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:35.723 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 514, Old Table Name: t)"] [2025/04/04 13:02:35.736 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=406] [neededSchemaVersion=407] ["elapsed time"=1.071182ms] [gotSchemaVersion=407] [phyTblIDs="[514]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/04 13:02:35.740 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=516] [version=407] [2025/04/04 13:02:35.741 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=407] ["take time"=7.820701ms] [job="ID:516, Type:drop table, State:done, SchemaState:none, SchemaID:509, TableID:514, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:35.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:35.750 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=516] [tableIDs="[514]"] [comment="drop table: table ID"] [2025/04/04 13:02:35.755 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=516] [jobType="drop table"] [2025/04/04 13:02:35.756 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=516] [conn=2] [job="ID:516, Type:drop table, State:synced, SchemaState:none, SchemaID:509, TableID:514, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:35.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:35.772 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=516] [2025/04/04 13:02:35.773 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=407] [cur_db=load_data] [sql="drop table if exists t;"] [user=root@%] [2025/04/04 13:02:35.785 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:518, Type:create table, State:queueing, SchemaState:none, SchemaID:509, TableID:517, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:35.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:02:35.785 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:518, Type:create table, State:queueing, SchemaState:none, SchemaID:509, TableID:517, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:35.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100), c int);"] [2025/04/04 13:02:35.790 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=518] [conn=2] [job="ID:518, Type:create table, State:queueing, SchemaState:none, SchemaID:509, TableID:517, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:35.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:35.795 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 517, Table Name: t)"] [2025/04/04 13:02:35.810 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=407] [neededSchemaVersion=408] ["elapsed time"=1.707512ms] [gotSchemaVersion=408] [phyTblIDs="[517]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 13:02:35.814 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=518] [version=408] [2025/04/04 13:02:35.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=408] ["take time"=8.828219ms] [job="ID:518, Type:create table, State:done, SchemaState:public, SchemaID:509, TableID:517, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:35.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:35.826 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=518] [conn=2] [job="ID:518, Type:create table, State:synced, SchemaState:public, SchemaID:509, TableID:517, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:35.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:35.837 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=518] [2025/04/04 13:02:35.838 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=408] [cur_db=load_data] [sql="create table t (a bigint, b varchar(100), c int);"] [user=root@%] [2025/04/04 13:02:35.844 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:35.894 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"columns-and-vars\":\"(`a`, `b`, @`1`)\",\"set-clause\":\"`c`=COALESCE(@`1`, 100)\",\"file-location\":\"gs://test-multi-load/input-cnt-mismatch.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/04 13:02:35.912 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30052] [task-id=30052] [data-size=24B] [thread-cnt=8] [global-sort=false] [2025/04/04 13:02:35.925 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30052] [2025/04/04 13:02:35.925 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=30052] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/04 13:02:36.027 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30052] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 13:02:36.028 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30052] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:02:36.030 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30052] [curr-step=init] [next-step=import] [2025/04/04 13:02:36.037 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:36.040 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 13:02:36.040 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=24] [2025/04/04 13:02:36.040 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=24] [cost=59.846µs] [2025/04/04 13:02:36.040 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=171.52µs] [] [2025/04/04 13:02:36.040 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30052] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 13:02:36.040 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30052] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/04 13:02:36.077 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30052] [type=ImportInto] [concurrency=8] [remaining-slots=44] [2025/04/04 13:02:36.097 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30052] [step=import] [2025/04/04 13:02:36.097 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:36.105 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 13:02:36.105 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 13:02:36.106 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 13:02:36.106 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 13:02:36.106 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 13:02:36.106 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 13:02:36.106 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 13:02:36.106 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 13:02:36.107 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 13:02:36.107 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 13:02:36.119 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 13:02:36.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/04 13:02:36.121 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 13:02:36.121 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=30052] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 13:02:36.121 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=30052] [disk-quota=348.5GiB] [2025/04/04 13:02:36.121 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30052] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/04 13:02:36.128 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30052] [task-type=ImportInto] [server-id=:4000] [subtaskID=30099] [step=import] [2025/04/04 13:02:36.128 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30052] [step=import] [subtask-id=30099] [2025/04/04 13:02:36.132 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 13:02:36.134 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=30052] [mode=Import] [2025/04/04 13:02:36.136 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 13:02:36.136 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=517] [2025/04/04 13:02:36.152 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=30052] [2025/04/04 13:02:36.176 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=517] [key=input-cnt-mismatch.csv:0] [2025/04/04 13:02:36.179 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=517] [key=input-cnt-mismatch.csv:0] [readDur=989.963µs] [encodeDur=1.051783ms] [checksum="{cksum=4856294282864387256,size=82,kvs=2}"] [deliverDur=177.852µs] [type=file] [takeTime=2.519723ms] [] [2025/04/04 13:02:36.180 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=82] [kvs=2] [files=1] [sstFileSize=990] [file=/tmp/tidb/import-4000/30052/67ea3590-7c4f-5a31-ade6-de9a31136e82.sst/649e4870-0512-43d3-9551-21e2dbd442bd.sst] [firstKey=7480000000000002055F728000000000000001] [lastKey=7480000000000002055F728000000000000002] [2025/04/04 13:02:36.180 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=30052] [step=import] [engine-id=0] [2025/04/04 13:02:36.180 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=30052] [step=import] [engine-id=0] [2025/04/04 13:02:36.180 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 13:02:36.182 +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.366532ms] [] [2025/04/04 13:02:36.182 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [retryCnt=0] [2025/04/04 13:02:36.186 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 13:02:36.208 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] ["region ranges"=1] [count=2] [size=82] [2025/04/04 13:02:36.208 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 13:02:36.210 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000002055f728000000000000001] [endOfAllRanges=7480000000000002055f728000000000000003] [startKeyOfFirstRegion=7480000000000002ff055f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000002ff055f728000000000ff0000030000000000fa] [2025/04/04 13:02:36.222 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] [size=82] [kvs=2] [importedSize=82] [importedCount=2] [2025/04/04 13:02:36.224 +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.369636ms] [] [2025/04/04 13:02:36.224 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 13:02:36.225 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=1.089422ms] [] [2025/04/04 13:02:36.225 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=30052] [step=import] [engine-id=0] [2025/04/04 13:02:36.225 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 13:02:36.226 +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.462996ms] [] [2025/04/04 13:02:36.226 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [retryCnt=0] [2025/04/04 13:02:36.230 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 13:02:36.230 +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.680362ms] [] [2025/04/04 13:02:36.230 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 13:02:36.231 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=957.793µs] [] [2025/04/04 13:02:36.231 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=30052] [step=import] [subtask-id=30099] [takeTime=103.40278ms] [] [2025/04/04 13:02:36.232 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30052] [task-type=ImportInto] [server-id=:4000] [subtaskID=30099] [step=import] [takeTime=103.611416ms] [] [2025/04/04 13:02:36.333 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30052] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 13:02:36.334 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30052] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:02:36.335 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30052] [curr-step=import] [next-step=post-process] [2025/04/04 13:02:36.335 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=30052] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 13:02:36.365 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=30052] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/04 13:02:36.366 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30052] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 13:02:36.366 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30052] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/04 13:02:36.373 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=30052] [task-type=ImportInto] [server-id=:4000] [2025/04/04 13:02:36.373 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30052] [step=import] [2025/04/04 13:02:36.376 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 13:02:36.376 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 13:02:36.376 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 13:02:36.376 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 13:02:36.376 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 13:02:36.376 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 13:02:36.376 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 13:02:36.376 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:02:36.376 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-51] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:02:36.376 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:02:36.376 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:02:36.376 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 13:02:36.378 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 13:02:36.379 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:02:36.379 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:02:36.379 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:02:36.379 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30052] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [takeTime=257.885698ms] [] [2025/04/04 13:02:36.379 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30052] [type=ImportInto] [2025/04/04 13:02:36.397 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30052] [type=ImportInto] [concurrency=8] [remaining-slots=44] [2025/04/04 13:02:36.416 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30052] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/04 13:02:36.423 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30052] [task-type=ImportInto] [server-id=:4000] [subtaskID=30100] [step=post-process] [2025/04/04 13:02:36.423 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=30052] [step=post-process] [subtask-id=30100] [2025/04/04 13:02:36.423 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=30052] [step=post-process] [subtask-id=30100] [2025/04/04 13:02:36.423 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=30052] [step=post-process] [subtask-id=30100] [2025/04/04 13:02:36.429 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=30052] [step=post-process] [subtask-id=30100] [takeTime=5.992638ms] [] [2025/04/04 13:02:36.429 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=30052] [step=post-process] [subtask-id=30100] [groupId=-1] [size=82] [kvs=2] [checksum=4856294282864387256] [2025/04/04 13:02:36.429 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=30052] [step=post-process] [subtask-id=30100] [checksum="{cksum=4856294282864387256,size=82,kvs=2}"] [2025/04/04 13:02:36.429 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=30052] [step=post-process] [subtask-id=30100] [weight=30] [2025/04/04 13:02:36.429 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=30052] [step=post-process] [subtask-id=30100] [concurrency=15] [2025/04/04 13:02:36.432 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=517] [physicalTableID=517] [indexID=-1] [checksum=4856294282864387256] [totalKvs=2] [totalBytes=82] [2025/04/04 13:02:36.432 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 13:02:36.432 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=30052] [step=post-process] [subtask-id=30100] [local="{cksum=4856294282864387256,size=82,kvs=2}"] [2025/04/04 13:02:36.432 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=30052] [step=post-process] [subtask-id=30100] [takeTime=9.260476ms] [] [2025/04/04 13:02:36.432 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=30052] [step=post-process] [subtask-id=30100] [takeTime=9.404122ms] [] [2025/04/04 13:02:36.433 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30052] [task-type=ImportInto] [server-id=:4000] [subtaskID=30100] [step=post-process] [takeTime=9.593887ms] [] [2025/04/04 13:02:36.454 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 13:02:36.533 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30052] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 13:02:36.533 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30052] [step=post-process] [state=running] [] [2025/04/04 13:02:36.535 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=30052] [2025/04/04 13:02:36.548 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30052] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [takeTime=132.560232ms] [] [2025/04/04 13:02:36.549 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30052] [type=ImportInto] [2025/04/04 13:02:36.628 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30052] [2025/04/04 13:02:36.633 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 13:02:36.633 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30052] [2025/04/04 13:02:36.654 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 13:02:36.828 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# User@Host: root[root] @ localhost [localhost]\n# Conn_ID: 2\n# Query_time: 0.989747389\n# Parse_time: 0.000224739\n# Compile_time: 0.000497977\n# Rewrite_time: 0.000152786\n# Optimize_time: 0.000398788\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4OC43bXMsIG9wZW46NzA3bnMsIGNsb3NlOjkxMm5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk4OC43bXMsIG9wZW46NzA3bnMsIGNsb3NlOjkxMm5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.0000187\nIMPORT INTO `load_data`.`t` (`a`,`b`,@`1`) SET `c`=COALESCE(@`1`, 100) FROM 'gs://test-multi-load/input-cnt-mismatch.csv?endpoint=http://127.0.0.1:4443/storage/v1/';"] --- PASS: TestImportInto/TestInputCountMisMatchAndDefault (3.05s) === NAME TestImportInto === RUN TestImportInto/TestInputNull [2025/04/04 13:02:36.843 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:519, Type:drop schema, State:queueing, SchemaState:public, SchemaID:509, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:36.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:02:36.843 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:519, Type:drop schema, State:queueing, SchemaState:public, SchemaID:509, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:36.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop database if exists load_data"] [2025/04/04 13:02:36.848 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=519] [conn=2] [job="ID:519, Type:drop schema, State:queueing, SchemaState:public, SchemaID:509, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:36.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:36.863 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=408] [neededSchemaVersion=409] ["elapsed time"=149.189µs] [gotSchemaVersion=409] [phyTblIDs="[517]"] [actionTypes="[2]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 13:02:36.866 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=519] [version=409] [2025/04/04 13:02:36.868 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=409] ["take time"=7.147284ms] [job="ID:519, Type:drop schema, State:running, SchemaState:write only, SchemaID:509, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:36.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:36.876 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=519] [conn=2] [job="ID:519, Type:drop schema, State:running, SchemaState:write only, SchemaID:509, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:36.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:36.888 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=409] [neededSchemaVersion=410] ["elapsed time"=133.015µs] [gotSchemaVersion=410] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 13:02:36.891 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=519] [version=410] [2025/04/04 13:02:36.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=410] ["take time"=6.27711ms] [job="ID:519, Type:drop schema, State:running, SchemaState:delete only, SchemaID:509, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:36.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:36.900 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=519] [conn=2] [job="ID:519, Type:drop schema, State:running, SchemaState:delete only, SchemaID:509, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:36.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:36.905 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/04 13:02:36.915 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=410] [neededSchemaVersion=411] ["elapsed time"=129.895µs] [gotSchemaVersion=411] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 13:02:36.918 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=519] [version=411] [2025/04/04 13:02:36.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=411] ["take time"=6.710287ms] [job="ID:519, Type:drop schema, State:done, SchemaState:none, SchemaID:509, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:36.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:36.927 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=519] [tableIDs="[517]"] [comment="drop schema: table IDs"] [2025/04/04 13:02:36.931 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=519] [jobType="drop schema"] [2025/04/04 13:02:36.932 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=519] [conn=2] [job="ID:519, Type:drop schema, State:synced, SchemaState:none, SchemaID:509, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:36.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:36.947 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=519] [2025/04/04 13:02:36.948 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=411] [cur_db=] [sql="drop database if exists load_data"] [user=root@%] [2025/04/04 13:02:36.959 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:521, Type:create schema, State:queueing, SchemaState:none, SchemaID:520, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:36.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database load_data"] [2025/04/04 13:02:36.959 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:521, Type:create schema, State:queueing, SchemaState:none, SchemaID:520, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:36.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:02:36.964 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=521] [conn=2] [job="ID:521, Type:create schema, State:queueing, SchemaState:none, SchemaID:520, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:36.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:36.977 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=411] [neededSchemaVersion=412] ["elapsed time"=641.022µs] [gotSchemaVersion=412] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 13:02:36.981 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=521] [version=412] [2025/04/04 13:02:36.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=412] ["take time"=7.328126ms] [job="ID:521, Type:create schema, State:done, SchemaState:public, SchemaID:520, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:36.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:36.992 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=521] [conn=2] [job="ID:521, Type:create schema, State:synced, SchemaState:public, SchemaID:520, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:36.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:37.001 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=521] [2025/04/04 13:02:37.001 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=412] [cur_db=] [sql="create database load_data"] [user=root@%] [2025/04/04 13:02:37.003 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=412] [cur_db=load_data] [sql="drop table if exists t;"] [user=root@%] [2025/04/04 13:02:37.015 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:523, Type:create table, State:queueing, SchemaState:none, SchemaID:520, TableID:522, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:36.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:02:37.015 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:523, Type:create table, State:queueing, SchemaState:none, SchemaID:520, TableID:522, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:36.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100), c int);"] [2025/04/04 13:02:37.020 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=523] [conn=2] [job="ID:523, Type:create table, State:queueing, SchemaState:none, SchemaID:520, TableID:522, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:36.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:37.024 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 522, Table Name: t)"] [2025/04/04 13:02:37.038 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=412] [neededSchemaVersion=413] ["elapsed time"=1.567799ms] [gotSchemaVersion=413] [phyTblIDs="[522]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 13:02:37.041 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=523] [version=413] [2025/04/04 13:02:37.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=413] ["take time"=7.864999ms] [job="ID:523, Type:create table, State:done, SchemaState:public, SchemaID:520, TableID:522, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:36.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:37.053 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=523] [conn=2] [job="ID:523, Type:create table, State:synced, SchemaState:public, SchemaID:520, TableID:522, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:36.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:37.063 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=523] [2025/04/04 13:02:37.064 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=413] [cur_db=load_data] [sql="create table t (a bigint, b varchar(100), c int);"] [user=root@%] [2025/04/04 13:02:37.069 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:37.117 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-multi-load/nil-input.tsv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"fields_terminated_by\":\"\\t\"}}"] [dist-task-enabled=true] [2025/04/04 13:02:37.136 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30053] [task-id=30053] [data-size=18B] [thread-cnt=8] [global-sort=false] [2025/04/04 13:02:37.150 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30053] [2025/04/04 13:02:37.150 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=30053] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/04 13:02:37.252 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30053] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 13:02:37.253 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30053] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:02:37.255 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30053] [curr-step=init] [next-step=import] [2025/04/04 13:02:37.261 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:37.264 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 13:02:37.264 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=18] [2025/04/04 13:02:37.264 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=18] [cost=42.239µs] [2025/04/04 13:02:37.264 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=147.17µs] [] [2025/04/04 13:02:37.264 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30053] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 13:02:37.264 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30053] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/04 13:02:37.295 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30053] [type=ImportInto] [concurrency=8] [remaining-slots=44] [2025/04/04 13:02:37.314 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30053] [step=import] [2025/04/04 13:02:37.314 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:37.321 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 13:02:37.321 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 13:02:37.322 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 13:02:37.322 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 13:02:37.322 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 13:02:37.322 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 13:02:37.322 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 13:02:37.322 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 13:02:37.322 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 13:02:37.323 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 13:02:37.333 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 13:02:37.335 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 13:02:37.335 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 13:02:37.335 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=30053] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 13:02:37.335 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=30053] [disk-quota=348.5GiB] [2025/04/04 13:02:37.335 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30053] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/04 13:02:37.343 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30053] [task-type=ImportInto] [server-id=:4000] [subtaskID=30101] [step=import] [2025/04/04 13:02:37.343 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30053] [step=import] [subtask-id=30101] [2025/04/04 13:02:37.346 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 13:02:37.350 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 13:02:37.350 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=522] [2025/04/04 13:02:37.370 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=30053] [mode=Import] [2025/04/04 13:02:37.388 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=30053] [2025/04/04 13:02:37.395 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=522] [key=nil-input.tsv:0] [2025/04/04 13:02:37.397 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=522] [key=nil-input.tsv:0] [readDur=966.991µs] [encodeDur=529.552µs] [checksum="{cksum=1903073446521380159,size=74,kvs=2}"] [deliverDur=212.796µs] [type=file] [takeTime=1.936324ms] [] [2025/04/04 13:02:37.398 +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/30053/67ea3590-7c4f-5a31-ade6-de9a31136e82.sst/2cb477d8-3cac-4c9b-835f-a424563c6439.sst] [firstKey=74800000000000020A5F728000000000000001] [lastKey=74800000000000020A5F728000000000000002] [2025/04/04 13:02:37.398 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=30053] [step=import] [engine-id=0] [2025/04/04 13:02:37.398 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=30053] [step=import] [engine-id=0] [2025/04/04 13:02:37.398 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 13:02:37.400 +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.074409ms] [] [2025/04/04 13:02:37.400 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [retryCnt=0] [2025/04/04 13:02:37.404 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 13:02:37.426 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] ["region ranges"=1] [count=2] [size=74] [2025/04/04 13:02:37.426 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 13:02:37.427 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000020a5f728000000000000001] [endOfAllRanges=74800000000000020a5f728000000000000003] [startKeyOfFirstRegion=7480000000000002ff0a5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000002ff0a5f728000000000ff0000030000000000fa] [2025/04/04 13:02:37.438 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] [size=74] [kvs=2] [importedSize=74] [importedCount=2] [2025/04/04 13:02:37.440 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [retryCnt=0] [takeTime=39.942625ms] [] [2025/04/04 13:02:37.440 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 13:02:37.441 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=1.272839ms] [] [2025/04/04 13:02:37.441 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=30053] [step=import] [engine-id=0] [2025/04/04 13:02:37.442 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 13:02:37.443 +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.893002ms] [] [2025/04/04 13:02:37.444 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [retryCnt=0] [2025/04/04 13:02:37.447 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 13:02:37.447 +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.420701ms] [] [2025/04/04 13:02:37.447 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 13:02:37.448 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=811.896µs] [] [2025/04/04 13:02:37.448 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=30053] [step=import] [subtask-id=30101] [takeTime=104.963935ms] [] [2025/04/04 13:02:37.448 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30053] [task-type=ImportInto] [server-id=:4000] [subtaskID=30101] [step=import] [takeTime=105.105624ms] [] [2025/04/04 13:02:37.557 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30053] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 13:02:37.558 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30053] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:02:37.559 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30053] [curr-step=import] [next-step=post-process] [2025/04/04 13:02:37.559 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=30053] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 13:02:37.588 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=30053] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/04 13:02:37.590 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30053] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 13:02:37.590 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30053] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/04 13:02:37.590 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=30053] [task-type=ImportInto] [server-id=:4000] [2025/04/04 13:02:37.591 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30053] [step=import] [2025/04/04 13:02:37.593 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 13:02:37.593 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 13:02:37.593 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 13:02:37.593 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 13:02:37.593 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 13:02:37.593 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 13:02:37.593 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 13:02:37.593 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:02:37.593 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:02:37.593 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-52] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:02:37.593 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:02:37.593 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 13:02:37.595 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 13:02:37.595 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:02:37.595 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:02:37.595 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:02:37.596 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30053] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [takeTime=260.057598ms] [] [2025/04/04 13:02:37.596 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30053] [type=ImportInto] [2025/04/04 13:02:37.625 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30053] [type=ImportInto] [concurrency=8] [remaining-slots=44] [2025/04/04 13:02:37.644 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30053] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/04 13:02:37.651 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30053] [task-type=ImportInto] [server-id=:4000] [subtaskID=30102] [step=post-process] [2025/04/04 13:02:37.651 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=30053] [step=post-process] [subtask-id=30102] [2025/04/04 13:02:37.651 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=30053] [step=post-process] [subtask-id=30102] [2025/04/04 13:02:37.651 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=30053] [step=post-process] [subtask-id=30102] [2025/04/04 13:02:37.656 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=30053] [step=post-process] [subtask-id=30102] [takeTime=5.505972ms] [] [2025/04/04 13:02:37.656 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=30053] [step=post-process] [subtask-id=30102] [groupId=-1] [size=74] [kvs=2] [checksum=1903073446521380159] [2025/04/04 13:02:37.656 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=30053] [step=post-process] [subtask-id=30102] [checksum="{cksum=1903073446521380159,size=74,kvs=2}"] [2025/04/04 13:02:37.656 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=30053] [step=post-process] [subtask-id=30102] [weight=30] [2025/04/04 13:02:37.656 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=30053] [step=post-process] [subtask-id=30102] [concurrency=15] [2025/04/04 13:02:37.658 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=522] [physicalTableID=522] [indexID=-1] [checksum=1903073446521380159] [totalKvs=2] [totalBytes=74] [2025/04/04 13:02:37.658 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 13:02:37.658 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=30053] [step=post-process] [subtask-id=30102] [local="{cksum=1903073446521380159,size=74,kvs=2}"] [2025/04/04 13:02:37.659 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=30053] [step=post-process] [subtask-id=30102] [takeTime=7.806054ms] [] [2025/04/04 13:02:37.659 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=30053] [step=post-process] [subtask-id=30102] [takeTime=7.942455ms] [] [2025/04/04 13:02:37.659 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30053] [task-type=ImportInto] [server-id=:4000] [subtaskID=30102] [step=post-process] [takeTime=8.056814ms] [] [2025/04/04 13:02:37.684 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 13:02:37.756 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30053] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 13:02:37.757 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30053] [step=post-process] [state=running] [] [2025/04/04 13:02:37.759 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=30053] [2025/04/04 13:02:37.772 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30053] [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=128.419868ms] [] [2025/04/04 13:02:37.773 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30053] [type=ImportInto] [2025/04/04 13:02:37.853 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30053] [2025/04/04 13:02:37.858 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 13:02:37.858 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30053] [2025/04/04 13:02:37.879 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 13:02:38.052 +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.98843003\n# Parse_time: 0.000090479\n# Compile_time: 0.000433712\n# Rewrite_time: 0.000143784\n# Optimize_time: 0.000252945\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4Ny43bXMsIG9wZW46NjUzbnMsIGNsb3NlOjg4NW5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk4Ny43bXMsIG9wZW46NjUzbnMsIGNsb3NlOjg4NW5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.0000187\nuse load_data;\nIMPORT INTO `load_data`.`t` FROM 'gs://test-multi-load/nil-input.tsv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH fields_terminated_by=_UTF8MB4' ';"] [2025/04/04 13:02:38.066 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:525, Type:truncate table, State:queueing, SchemaState:none, SchemaID:520, TableID:522, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:38.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:02:38.066 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:525, Type:truncate table, State:queueing, SchemaState:none, SchemaID:520, TableID:522, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:38.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table t"] [2025/04/04 13:02:38.071 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=525] [conn=2] [job="ID:525, Type:truncate table, State:queueing, SchemaState:none, SchemaID:520, TableID:522, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:38.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:38.078 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 524, Table Name: t, Old Table ID: 522, Old Table Name: t)"] [2025/04/04 13:02:38.093 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=413] [neededSchemaVersion=414] ["elapsed time"=1.550525ms] [gotSchemaVersion=414] [phyTblIDs="[522,524]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 13:02:38.097 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=525] [version=414] [2025/04/04 13:02:38.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=414] ["take time"=8.610851ms] [job="ID:525, Type:truncate table, State:done, SchemaState:public, SchemaID:520, TableID:522, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:38.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:38.108 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=525] [tableIDs="[522]"] [comment="truncate table: table ID"] [2025/04/04 13:02:38.213 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=525] [jobType="truncate table"] [2025/04/04 13:02:38.215 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=525] [conn=2] [job="ID:525, Type:truncate table, State:synced, SchemaState:public, SchemaID:520, TableID:522, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:38.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:38.233 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=525] [2025/04/04 13:02:38.233 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=414] [cur_db=load_data] [sql="truncate table t"] [user=root@%] [2025/04/04 13:02:38.240 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:38.286 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"columns-and-vars\":\"(`a`, @`1`, `c`)\",\"set-clause\":\"`b`=COALESCE(@`1`, _UTF8MB4'def')\",\"file-location\":\"gs://test-multi-load/nil-input.tsv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"fields_terminated_by\":\"\\t\"}}"] [dist-task-enabled=true] [2025/04/04 13:02:38.305 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30054] [task-id=30054] [data-size=18B] [thread-cnt=8] [global-sort=false] [2025/04/04 13:02:38.319 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30054] [2025/04/04 13:02:38.319 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=30054] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/04 13:02:38.421 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30054] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 13:02:38.423 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30054] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:02:38.424 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30054] [curr-step=init] [next-step=import] [2025/04/04 13:02:38.432 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:38.435 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 13:02:38.435 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=18] [2025/04/04 13:02:38.435 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=18] [cost=47.503µs] [2025/04/04 13:02:38.435 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=150.296µs] [] [2025/04/04 13:02:38.435 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30054] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 13:02:38.435 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30054] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/04 13:02:38.466 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30054] [type=ImportInto] [concurrency=8] [remaining-slots=44] [2025/04/04 13:02:38.486 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30054] [step=import] [2025/04/04 13:02:38.486 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:38.493 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 13:02:38.493 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 13:02:38.494 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 13:02:38.494 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 13:02:38.494 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 13:02:38.494 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 13:02:38.494 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 13:02:38.494 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 13:02:38.495 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 13:02:38.495 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 13:02:38.506 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 13:02:38.507 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 13:02:38.508 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 13:02:38.508 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=30054] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 13:02:38.508 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=30054] [disk-quota=348.5GiB] [2025/04/04 13:02:38.508 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30054] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/04 13:02:38.515 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30054] [task-type=ImportInto] [server-id=:4000] [subtaskID=30103] [step=import] [2025/04/04 13:02:38.515 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30054] [step=import] [subtask-id=30103] [2025/04/04 13:02:38.518 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 13:02:38.522 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 13:02:38.522 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=524] [2025/04/04 13:02:38.528 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=30054] [mode=Import] [2025/04/04 13:02:38.535 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=524] [key=nil-input.tsv:0] [2025/04/04 13:02:38.538 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=524] [key=nil-input.tsv:0] [readDur=964.624µs] [encodeDur=684.559µs] [checksum="{cksum=11166165585934156114,size=80,kvs=2}"] [deliverDur=229.018µs] [type=file] [takeTime=2.174166ms] [] [2025/04/04 13:02:38.538 +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/30054/67ea3590-7c4f-5a31-ade6-de9a31136e82.sst/7b7d0fa1-1249-47aa-bca4-9c54eb59db56.sst] [firstKey=74800000000000020C5F728000000000000001] [lastKey=74800000000000020C5F728000000000000002] [2025/04/04 13:02:38.538 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=30054] [step=import] [engine-id=0] [2025/04/04 13:02:38.538 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=30054] [step=import] [engine-id=0] [2025/04/04 13:02:38.538 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 13:02:38.541 +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.197654ms] [] [2025/04/04 13:02:38.541 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [retryCnt=0] [2025/04/04 13:02:38.546 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 13:02:38.547 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=30054] [2025/04/04 13:02:38.568 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] ["region ranges"=1] [count=2] [size=80] [2025/04/04 13:02:38.568 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 13:02:38.569 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000020c5f728000000000000001] [endOfAllRanges=74800000000000020c5f728000000000000003] [startKeyOfFirstRegion=7480000000000002ff0c5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000002ff0c5f728000000000ff0000030000000000fa] [2025/04/04 13:02:38.580 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] [size=80] [kvs=2] [importedSize=80] [importedCount=2] [2025/04/04 13:02:38.582 +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.863374ms] [] [2025/04/04 13:02:38.582 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 13:02:38.583 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=1.192238ms] [] [2025/04/04 13:02:38.583 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=30054] [step=import] [engine-id=0] [2025/04/04 13:02:38.583 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 13:02:38.585 +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.488364ms] [] [2025/04/04 13:02:38.585 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [retryCnt=0] [2025/04/04 13:02:38.588 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 13:02:38.588 +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.462074ms] [] [2025/04/04 13:02:38.588 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 13:02:38.589 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=902.563µs] [] [2025/04/04 13:02:38.589 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=30054] [step=import] [subtask-id=30103] [takeTime=74.547968ms] [] [2025/04/04 13:02:38.589 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30054] [task-type=ImportInto] [server-id=:4000] [subtaskID=30103] [step=import] [takeTime=74.67921ms] [] [2025/04/04 13:02:38.626 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30054] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 13:02:38.627 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30054] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:02:38.629 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30054] [curr-step=import] [next-step=post-process] [2025/04/04 13:02:38.629 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=30054] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 13:02:38.632 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 13:02:38.659 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=30054] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/04 13:02:38.661 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30054] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 13:02:38.661 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30054] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/04 13:02:38.693 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=30054] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 13:02:38.700 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30054] [step=import] [2025/04/04 13:02:38.703 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 13:02:38.703 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 13:02:38.703 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 13:02:38.703 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 13:02:38.703 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 13:02:38.703 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 13:02:38.703 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 13:02:38.703 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:02:38.703 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:02:38.703 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:02:38.703 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 13:02:38.703 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-53] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:02:38.705 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 13:02:38.705 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:02:38.705 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:02:38.705 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:02:38.705 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30054] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [takeTime=197.585447ms] [] [2025/04/04 13:02:38.707 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30054] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/04 13:02:38.714 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30054] [task-type=ImportInto] [server-id=:4000] [subtaskID=30104] [step=post-process] [2025/04/04 13:02:38.714 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=30054] [step=post-process] [subtask-id=30104] [2025/04/04 13:02:38.714 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=30054] [step=post-process] [subtask-id=30104] [2025/04/04 13:02:38.714 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=30054] [step=post-process] [subtask-id=30104] [2025/04/04 13:02:38.720 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=30054] [step=post-process] [subtask-id=30104] [takeTime=5.593631ms] [] [2025/04/04 13:02:38.720 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=30054] [step=post-process] [subtask-id=30104] [groupId=-1] [size=80] [kvs=2] [checksum=11166165585934156114] [2025/04/04 13:02:38.720 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=30054] [step=post-process] [subtask-id=30104] [checksum="{cksum=11166165585934156114,size=80,kvs=2}"] [2025/04/04 13:02:38.720 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=30054] [step=post-process] [subtask-id=30104] [weight=30] [2025/04/04 13:02:38.720 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=30054] [step=post-process] [subtask-id=30104] [concurrency=15] [2025/04/04 13:02:38.722 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=524] [physicalTableID=524] [indexID=-1] [checksum=11166165585934156114] [totalKvs=2] [totalBytes=80] [2025/04/04 13:02:38.722 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 13:02:38.722 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=30054] [step=post-process] [subtask-id=30104] [local="{cksum=11166165585934156114,size=80,kvs=2}"] [2025/04/04 13:02:38.722 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=30054] [step=post-process] [subtask-id=30104] [takeTime=8.163258ms] [] [2025/04/04 13:02:38.722 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=30054] [step=post-process] [subtask-id=30104] [takeTime=8.31347ms] [] [2025/04/04 13:02:38.722 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30054] [task-type=ImportInto] [server-id=:4000] [subtaskID=30104] [step=post-process] [takeTime=8.455537ms] [] [2025/04/04 13:02:38.749 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 13:02:38.827 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30054] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 13:02:38.828 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30054] [step=post-process] [state=running] [] [2025/04/04 13:02:38.830 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=30054] [2025/04/04 13:02:38.859 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30054] [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=151.746433ms] [] [2025/04/04 13:02:38.859 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30054] [type=ImportInto] [2025/04/04 13:02:38.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.686792543\n# Parse_time: 0.000165744\n# Compile_time: 0.000585964\n# Rewrite_time: 0.000191983\n# Optimize_time: 0.000240629\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY4NS44bXMsIG9wZW46NjQ3bnMsIGNsb3NlOjg5NG5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY4NS44bXMsIG9wZW46NjQ3bnMsIGNsb3NlOjg5NG5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.0000187\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' ';"] [2025/04/04 13:02:38.921 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30054] --- PASS: TestImportInto/TestInputNull (2.09s) === NAME TestImportInto === RUN TestImportInto/TestJobFailWhenDispatchSubtask [2025/04/04 13:02:38.927 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 13:02:38.927 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30054] [2025/04/04 13:02:38.935 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:526, Type:drop schema, State:queueing, SchemaState:public, SchemaID:295, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:38.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:02:38.935 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:526, Type:drop schema, State:queueing, SchemaState:public, SchemaID:295, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:38.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop database if exists fail_job_after_import"] [2025/04/04 13:02:38.943 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=526] [conn=2] [job="ID:526, Type:drop schema, State:queueing, SchemaState:public, SchemaID:295, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:38.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:38.953 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 13:02:38.959 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=414] [neededSchemaVersion=415] ["elapsed time"=201.296µs] [gotSchemaVersion=415] [phyTblIDs="[297]"] [actionTypes="[2]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 13:02:38.962 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=526] [version=415] [2025/04/04 13:02:38.963 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=415] ["take time"=6.941484ms] [job="ID:526, Type:drop schema, State:running, SchemaState:write only, SchemaID:295, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:38.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:38.972 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=526] [conn=2] [job="ID:526, Type:drop schema, State:running, SchemaState:write only, SchemaID:295, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:38.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:38.984 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=415] [neededSchemaVersion=416] ["elapsed time"=136.501µs] [gotSchemaVersion=416] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 13:02:38.988 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=526] [version=416] [2025/04/04 13:02:38.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=416] ["take time"=6.866767ms] [job="ID:526, Type:drop schema, State:running, SchemaState:delete only, SchemaID:295, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:38.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:38.997 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=526] [conn=2] [job="ID:526, Type:drop schema, State:running, SchemaState:delete only, SchemaID:295, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:38.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:39.002 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/04 13:02:39.012 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=416] [neededSchemaVersion=417] ["elapsed time"=138.844µs] [gotSchemaVersion=417] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 13:02:39.015 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=526] [version=417] [2025/04/04 13:02:39.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=417] ["take time"=6.612608ms] [job="ID:526, Type:drop schema, State:done, SchemaState:none, SchemaID:295, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:38.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:39.024 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=526] [tableIDs="[297]"] [comment="drop schema: table IDs"] [2025/04/04 13:02:39.029 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=526] [jobType="drop schema"] [2025/04/04 13:02:39.030 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=526] [conn=2] [job="ID:526, Type:drop schema, State:synced, SchemaState:none, SchemaID:295, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:38.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:39.045 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=526] [2025/04/04 13:02:39.046 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=417] [cur_db=load_data] [sql="drop database if exists fail_job_after_import"] [user=root@%] [2025/04/04 13:02:39.057 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:528, Type:create schema, State:queueing, SchemaState:none, SchemaID:527, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:39.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database fail_job_after_import"] [2025/04/04 13:02:39.057 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:528, Type:create schema, State:queueing, SchemaState:none, SchemaID:527, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:39.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:02:39.062 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=528] [conn=2] [job="ID:528, Type:create schema, State:queueing, SchemaState:none, SchemaID:527, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:39.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:39.074 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=417] [neededSchemaVersion=418] ["elapsed time"=656.867µs] [gotSchemaVersion=418] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 13:02:39.077 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=528] [version=418] [2025/04/04 13:02:39.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=418] ["take time"=7.320581ms] [job="ID:528, Type:create schema, State:done, SchemaState:public, SchemaID:527, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:39.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:39.088 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=528] [conn=2] [job="ID:528, Type:create schema, State:synced, SchemaState:public, SchemaID:527, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:39.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:39.097 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=528] [2025/04/04 13:02:39.098 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=418] [cur_db=load_data] [sql="create database fail_job_after_import"] [user=root@%] [2025/04/04 13:02:39.110 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:530, Type:create table, State:queueing, SchemaState:none, SchemaID:527, TableID:529, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:39.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:02:39.110 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:530, Type:create table, State:queueing, SchemaState:none, SchemaID:527, TableID:529, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:39.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t1 (i INT PRIMARY KEY);"] [2025/04/04 13:02:39.116 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=530] [conn=2] [job="ID:530, Type:create table, State:queueing, SchemaState:none, SchemaID:527, TableID:529, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:39.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:39.120 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 529, Table Name: t1)"] [2025/04/04 13:02:39.133 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=418] [neededSchemaVersion=419] ["elapsed time"=1.508699ms] [gotSchemaVersion=419] [phyTblIDs="[529]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 13:02:39.136 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=530] [version=419] [2025/04/04 13:02:39.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=419] ["take time"=7.754812ms] [job="ID:530, Type:create table, State:done, SchemaState:public, SchemaID:527, TableID:529, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:39.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:39.149 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=530] [conn=2] [job="ID:530, Type:create table, State:synced, SchemaState:public, SchemaID:527, TableID:529, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:39.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:39.160 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=530] [2025/04/04 13:02:39.160 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=419] [cur_db=fail_job_after_import] [sql="CREATE TABLE t1 (i INT PRIMARY KEY);"] [user=root@%] [2025/04/04 13:02:39.167 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:39.221 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://fail_job_after_import/t.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/04 13:02:39.240 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30055] [task-id=30055] [data-size=3B] [thread-cnt=8] [global-sort=false] [2025/04/04 13:02:39.255 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30055] [2025/04/04 13:02:39.255 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=30055] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/04 13:02:39.358 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30055] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 13:02:39.359 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30055] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:02:39.360 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30055] [curr-step=init] [next-step=import] [2025/04/04 13:02:39.367 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:39.370 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t1] [2025/04/04 13:02:39.370 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t1] [before=536870912000] [after=3] [2025/04/04 13:02:39.370 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t1] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=3] [cost=45.983µs] [2025/04/04 13:02:39.370 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t1] [takeTime=138.312µs] [] [2025/04/04 13:02:39.370 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30055] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 13:02:39.370 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30055] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/04 13:02:39.406 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30055] [type=ImportInto] [concurrency=8] [remaining-slots=44] [2025/04/04 13:02:39.426 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30055] [step=import] [2025/04/04 13:02:39.426 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:39.434 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 13:02:39.435 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 13:02:39.435 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 13:02:39.435 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 13:02:39.435 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 13:02:39.435 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 13:02:39.435 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 13:02:39.435 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 13:02:39.436 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 13:02:39.436 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 13:02:39.449 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 13:02:39.451 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 13:02:39.451 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t1] [quota=374.2GB] [2025/04/04 13:02:39.451 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=30055] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 13:02:39.451 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30055] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/04 13:02:39.451 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t1] [import-id=30055] [disk-quota=348.5GiB] [2025/04/04 13:02:39.459 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30055] [task-type=ImportInto] [server-id=:4000] [subtaskID=30105] [step=import] [2025/04/04 13:02:39.459 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30055] [step=import] [subtask-id=30105] [2025/04/04 13:02:39.464 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=30055] [mode=Import] [2025/04/04 13:02:39.464 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`fail_job_after_import`.`t1`:0] [engineUUID=3c229875-a87b-5dfa-aef9-0ffcec4d91ae] [2025/04/04 13:02:39.468 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`fail_job_after_import`.`t1`:-1] [engineUUID=d169a211-a2c0-545c-894b-6412e8ed0fb5] [2025/04/04 13:02:39.469 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=529] [2025/04/04 13:02:39.484 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=30055] [2025/04/04 13:02:39.533 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=529] [key=t.csv:0] [2025/04/04 13:02:39.535 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=529] [key=t.csv:0] [readDur=992.287µs] [encodeDur=217.655µs] [checksum="{cksum=7435750759411199284,size=50,kvs=2}"] [deliverDur=389.388µs] [type=file] [takeTime=1.956381ms] [] [2025/04/04 13:02:39.536 +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/30055/3c229875-a87b-5dfa-aef9-0ffcec4d91ae.sst/082ba2a0-6ab6-4525-85a0-26a3b977df1a.sst] [firstKey=7480000000000002115F728000000000000001] [lastKey=7480000000000002115F728000000000000002] [2025/04/04 13:02:39.536 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=30055] [step=import] [engine-id=0] [2025/04/04 13:02:39.536 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=30055] [step=import] [engine-id=0] [2025/04/04 13:02:39.536 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`fail_job_after_import`.`t1`:0] [engineUUID=3c229875-a87b-5dfa-aef9-0ffcec4d91ae] [2025/04/04 13:02:39.538 +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.023029ms] [] [2025/04/04 13:02:39.538 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`fail_job_after_import`.`t1`:0] [engineUUID=3c229875-a87b-5dfa-aef9-0ffcec4d91ae] [retryCnt=0] [2025/04/04 13:02:39.542 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 13:02:39.564 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=3c229875-a87b-5dfa-aef9-0ffcec4d91ae] ["region ranges"=1] [count=2] [size=50] [2025/04/04 13:02:39.564 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 13:02:39.566 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000002115f728000000000000001] [endOfAllRanges=7480000000000002115f728000000000000003] [startKeyOfFirstRegion=7480000000000002ff115f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000002ff115f728000000000ff0000030000000000fa] [2025/04/04 13:02:39.577 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=3c229875-a87b-5dfa-aef9-0ffcec4d91ae] [size=50] [kvs=2] [importedSize=50] [importedCount=2] [2025/04/04 13:02:39.578 +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.135279ms] [] [2025/04/04 13:02:39.578 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`fail_job_after_import`.`t1`:0] [engineUUID=3c229875-a87b-5dfa-aef9-0ffcec4d91ae] [2025/04/04 13:02:39.579 +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.033931ms] [] [2025/04/04 13:02:39.579 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=30055] [step=import] [engine-id=0] [2025/04/04 13:02:39.579 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`fail_job_after_import`.`t1`:-1] [engineUUID=d169a211-a2c0-545c-894b-6412e8ed0fb5] [2025/04/04 13:02:39.581 +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.483455ms] [] [2025/04/04 13:02:39.581 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`fail_job_after_import`.`t1`:-1] [engineUUID=d169a211-a2c0-545c-894b-6412e8ed0fb5] [retryCnt=0] [2025/04/04 13:02:39.584 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=d169a211-a2c0-545c-894b-6412e8ed0fb5] [2025/04/04 13:02:39.584 +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.488788ms] [] [2025/04/04 13:02:39.585 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`fail_job_after_import`.`t1`:-1] [engineUUID=d169a211-a2c0-545c-894b-6412e8ed0fb5] [2025/04/04 13:02:39.585 +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=837.421µs] [] [2025/04/04 13:02:39.586 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=30055] [step=import] [subtask-id=30105] [takeTime=126.041218ms] [] [2025/04/04 13:02:39.586 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30055] [task-type=ImportInto] [server-id=:4000] [subtaskID=30105] [step=import] [takeTime=126.239545ms] [] [2025/04/04 13:02:39.662 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30055] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 13:02:39.663 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30055] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:02:39.663 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30055] [curr-step=import] [next-step=post-process] [2025/04/04 13:02:39.663 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=30055] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 13:02:39.682 +00:00] [WARN] [scheduler.go:486] ["generate part of subtasks failed"] [task-id=30055] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [error="injected error after ImportStepImport"] [errorVerbose="injected error after ImportStepImport\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importScheduler).OnNextSubtasksBatch\n\tpkg/disttask/importinto/scheduler.go:324\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).switch2NextStep\n\tpkg/disttask/framework/scheduler/scheduler.go:484\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).onRunning\n\tpkg/disttask/framework/scheduler/scheduler.go:394\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).scheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:247\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).ScheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:121\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*Manager).startScheduler.func1\n\tpkg/disttask/framework/scheduler/scheduler_manager.go:357\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:02:39.682 +00:00] [WARN] [scheduler.go:571] ["generate plan failed"] [task-id=30055] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [error="injected error after ImportStepImport"] [errorVerbose="injected error after ImportStepImport\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importScheduler).OnNextSubtasksBatch\n\tpkg/disttask/importinto/scheduler.go:324\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).switch2NextStep\n\tpkg/disttask/framework/scheduler/scheduler.go:484\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).onRunning\n\tpkg/disttask/framework/scheduler/scheduler.go:394\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).scheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:247\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).ScheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:121\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*Manager).startScheduler.func1\n\tpkg/disttask/framework/scheduler/scheduler_manager.go:357\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [state=running] [2025/04/04 13:02:39.704 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30055] [step=import] [2025/04/04 13:02:39.707 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 13:02:39.707 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 13:02:39.707 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 13:02:39.707 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 13:02:39.707 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 13:02:39.707 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 13:02:39.707 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 13:02:39.707 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:02:39.707 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:02:39.707 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-54] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:02:39.707 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:02:39.707 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 13:02:39.709 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 13:02:39.709 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:02:39.709 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:02:39.709 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:02:39.710 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30055] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [takeTime=258.186815ms] [] [2025/04/04 13:02:39.710 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30055] [type=ImportInto] [2025/04/04 13:02:39.762 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30055] [step=import] [state=reverting] [error="injected error after ImportStepImport"] [errorVerbose="injected error after ImportStepImport\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importScheduler).OnNextSubtasksBatch\n\tpkg/disttask/importinto/scheduler.go:324\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).switch2NextStep\n\tpkg/disttask/framework/scheduler/scheduler.go:484\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).onRunning\n\tpkg/disttask/framework/scheduler/scheduler.go:394\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).scheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:247\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).ScheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:121\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*Manager).startScheduler.func1\n\tpkg/disttask/framework/scheduler/scheduler_manager.go:357\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:02:39.763 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=30055] [step=import] [mode=Normal] [2025/04/04 13:02:39.768 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=30055] [2025/04/04 13:02:39.854 +00:00] [ERROR] [handle.go:110] ["task reverted"] [task-id=30055] [error="[0]injected error after ImportStepImport"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/handle.WaitTaskDoneOrPaused\n\tpkg/disttask/framework/handle/handle.go:110\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoExec).waitTask\n\tpkg/executor/import_into.go:233\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoExec).Next\n\tpkg/executor/import_into.go:137\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*recordSet).Next\n\tpkg/executor/adapter.go:172\ngithub.com/pingcap/tidb/pkg/session.GetRows4Test\n\tpkg/session/tidb.go:343\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).QueryToErr\n\tpkg/testkit/testkit.go:304\ntests/realtikvtest/importintotest/importintotest_test.(*mockGCSSuite).TestJobFailWhenDispatchSubtask\n\ttests/realtikvtest/importintotest/job_test.go:599\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690"] [2025/04/04 13:02:39.855 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# User@Host: root[root] @ localhost [localhost]\n# Conn_ID: 2\n# Query_time: 0.693471534\n# Parse_time: 0.00007296\n# Compile_time: 0.000426657\n# Rewrite_time: 0.000138242\n# Optimize_time: 0.00025559\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('SvBJMAk1OV8yCTAJMAlOL0EJMAl0aW1lOjY5Mi43bXMsIG9wZW46NzAybnMsIGNsb3NlOjEuMTjCtXMsIGxvb3BzOjEJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjgBQAFSA04vQVowdGltZTo2OTIuN21zLCBvcGVuOjcwMm5zLCBjbG9zZToxLjE4wrVzLCBsb29wczoxcP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.0000187\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/04 13:02:39.857 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30055] --- PASS: TestImportInto/TestJobFailWhenDispatchSubtask (0.93s) === NAME TestImportInto === RUN TestImportInto/TestKillBeforeFinish [2025/04/04 13:02:39.863 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 13:02:39.863 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30055] [2025/04/04 13:02:39.882 +00:00] [INFO] [prewrite.go:473] ["prewrite encounters lock. More locks belonging to the same transaction may be omitted"] [session=2] [txnID=457119304212283404] [lock="key: 7480000000000000525f698000000000000001017265766572746564ff0000000000000000f7038000000000007567, primary: 7480000000000000525f698000000000000001017265766572746564ff0000000000000000f7038000000000007567, txnStartTS: 457119304212283401, lockForUpdateTS:0, minCommitTs:457119304212283402, ttl: 3014, type: Del, UseAsyncCommit: false, txnSize: 6"] [policy=NoResolvePolicy] [2025/04/04 13:02:39.883 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 13:02:39.883 +00:00] [WARN] [session.go:810] [sql] [label=general] [error="[kv:9007]Write conflict, txnStartTS=457119304212283404, conflictStartTS=457119304212283401, conflictCommitTS=0, key={tableID=82, tableName=mysql.tidb_global_task, indexID=1, indexValues={reverted, 30055, }}, originalKey=7480000000000000525f698000000000000001017265766572746564ff0000000000000000f7038000000000007567, primary=[]byte(nil), originalPrimaryKey=, reason=Optimistic [try again later]"] [txn="Txn{state=invalid}"] [2025/04/04 13:02:39.884 +00:00] [WARN] [session.go:1112] [retrying] [schemaVersion=419] [retryCnt=0] [queryNum=0] [sql="delete from mysql.tidb_global_task"] [2025/04/04 13:02:39.886 +00:00] [WARN] [session.go:1135] ["transaction association"] ["retrying txnStartTS"=457119304212283409] ["original txnStartTS"=457119304212283404] [2025/04/04 13:02:39.902 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:531, Type:drop schema, State:queueing, SchemaState:public, SchemaID:299, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:39.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:02:39.902 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:531, Type:drop schema, State:queueing, SchemaState:public, SchemaID:299, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:39.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="DROP DATABASE IF EXISTS kill_job;"] [2025/04/04 13:02:39.907 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=531] [conn=2] [job="ID:531, Type:drop schema, State:queueing, SchemaState:public, SchemaID:299, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:39.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:39.921 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=419] [neededSchemaVersion=420] ["elapsed time"=197.837µs] [gotSchemaVersion=420] [phyTblIDs="[301]"] [actionTypes="[2]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 13:02:39.925 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=531] [version=420] [2025/04/04 13:02:39.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=420] ["take time"=6.684235ms] [job="ID:531, Type:drop schema, State:running, SchemaState:write only, SchemaID:299, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:39.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:39.935 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=531] [conn=2] [job="ID:531, Type:drop schema, State:running, SchemaState:write only, SchemaID:299, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:39.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:39.947 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=420] [neededSchemaVersion=421] ["elapsed time"=141.339µs] [gotSchemaVersion=421] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 13:02:39.950 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=531] [version=421] [2025/04/04 13:02:39.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=421] ["take time"=6.736264ms] [job="ID:531, Type:drop schema, State:running, SchemaState:delete only, SchemaID:299, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:39.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:39.959 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=531] [conn=2] [job="ID:531, Type:drop schema, State:running, SchemaState:delete only, SchemaID:299, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:39.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:39.964 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/04 13:02:39.973 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=421] [neededSchemaVersion=422] ["elapsed time"=133.142µs] [gotSchemaVersion=422] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 13:02:39.977 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=531] [version=422] [2025/04/04 13:02:39.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=422] ["take time"=7.070751ms] [job="ID:531, Type:drop schema, State:done, SchemaState:none, SchemaID:299, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:39.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:39.987 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=531] [tableIDs="[301]"] [comment="drop schema: table IDs"] [2025/04/04 13:02:39.991 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=531] [jobType="drop schema"] [2025/04/04 13:02:39.993 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=531] [conn=2] [job="ID:531, Type:drop schema, State:synced, SchemaState:none, SchemaID:299, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:39.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:40.008 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=531] [2025/04/04 13:02:40.008 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=422] [cur_db=fail_job_after_import] [sql="DROP DATABASE IF EXISTS kill_job;"] [user=root@%] [2025/04/04 13:02:40.019 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:533, Type:create schema, State:queueing, SchemaState:none, SchemaID:532, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:39.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:02:40.019 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:533, Type:create schema, State:queueing, SchemaState:none, SchemaID:532, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:39.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE kill_job;"] [2025/04/04 13:02:40.024 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=533] [conn=2] [job="ID:533, Type:create schema, State:queueing, SchemaState:none, SchemaID:532, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:39.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:40.037 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=422] [neededSchemaVersion=423] ["elapsed time"=644.164µs] [gotSchemaVersion=423] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 13:02:40.040 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=533] [version=423] [2025/04/04 13:02:40.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=423] ["take time"=6.999932ms] [job="ID:533, Type:create schema, State:done, SchemaState:public, SchemaID:532, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:39.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:40.051 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=533] [conn=2] [job="ID:533, Type:create schema, State:synced, SchemaState:public, SchemaID:532, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:39.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:40.060 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=533] [2025/04/04 13:02:40.061 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=423] [cur_db=fail_job_after_import] [sql="CREATE DATABASE kill_job;"] [user=root@%] [2025/04/04 13:02:40.073 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:535, Type:create table, State:queueing, SchemaState:none, SchemaID:532, TableID:534, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:40.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE kill_job.t (a INT, b INT, c int);"] [2025/04/04 13:02:40.073 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:535, Type:create table, State:queueing, SchemaState:none, SchemaID:532, TableID:534, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:40.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:02:40.079 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=535] [conn=2] [job="ID:535, Type:create table, State:queueing, SchemaState:none, SchemaID:532, TableID:534, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:40.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:40.083 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 534, Table Name: t)"] [2025/04/04 13:02:40.098 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=423] [neededSchemaVersion=424] ["elapsed time"=1.57835ms] [gotSchemaVersion=424] [phyTblIDs="[534]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 13:02:40.101 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=535] [version=424] [2025/04/04 13:02:40.103 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=424] ["take time"=8.14888ms] [job="ID:535, Type:create table, State:done, SchemaState:public, SchemaID:532, TableID:534, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:40.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:40.114 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=535] [conn=2] [job="ID:535, Type:create table, State:synced, SchemaState:public, SchemaID:532, TableID:534, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:40.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:40.125 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=535] [2025/04/04 13:02:40.126 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=424] [cur_db=fail_job_after_import] [sql="CREATE TABLE kill_job.t (a INT, b INT, c int);"] [user=root@%] [2025/04/04 13:02:40.132 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:40.177 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/t-*.tsv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/04 13:02:40.196 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30056] [task-id=30056] [data-size=8B] [thread-cnt=8] [global-sort=false] [2025/04/04 13:02:40.212 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30056] [2025/04/04 13:02:40.212 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=30056] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/04 13:02:40.315 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30056] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 13:02:40.317 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30056] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:02:40.319 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30056] [curr-step=init] [next-step=import] [2025/04/04 13:02:40.326 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:40.329 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 13:02:40.329 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=8] [2025/04/04 13:02:40.329 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=8] [cost=45.368µs] [2025/04/04 13:02:40.329 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=142.767µs] [] [2025/04/04 13:02:40.329 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30056] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 13:02:40.329 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30056] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/04 13:02:40.367 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30056] [type=ImportInto] [concurrency=8] [remaining-slots=44] [2025/04/04 13:02:40.387 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30056] [step=import] [2025/04/04 13:02:40.387 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:40.394 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 13:02:40.394 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 13:02:40.395 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 13:02:40.395 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 13:02:40.395 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 13:02:40.395 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 13:02:40.395 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 13:02:40.395 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 13:02:40.395 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 13:02:40.396 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 13:02:40.407 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 13:02:40.408 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 13:02:40.408 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 13:02:40.408 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=30056] [disk-quota=348.5GiB] [2025/04/04 13:02:40.408 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=30056] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 13:02:40.409 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30056] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/04 13:02:40.416 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30056] [task-type=ImportInto] [server-id=:4000] [subtaskID=30106] [step=import] [2025/04/04 13:02:40.416 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30056] [step=import] [subtask-id=30106] [2025/04/04 13:02:40.419 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`kill_job`.`t`:0] [engineUUID=64636ef9-3fe4-5434-ae74-7ab09274a71e] [2025/04/04 13:02:40.421 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=30056] [mode=Import] [2025/04/04 13:02:40.423 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`kill_job`.`t`:-1] [engineUUID=0c319952-7a9c-59e9-a73e-2a53414030fd] [2025/04/04 13:02:40.423 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=534] [2025/04/04 13:02:40.439 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=30056] [2025/04/04 13:02:40.465 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=534] [key=t-1.tsv:0] [2025/04/04 13:02:40.466 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=534] [key=t-1.tsv:0] [readDur=910.143µs] [encodeDur=210.347µs] [checksum="{cksum=5298072158569606072,size=37,kvs=1}"] [deliverDur=274.216µs] [type=file] [takeTime=1.675712ms] [] [2025/04/04 13:02:40.467 +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/30056/64636ef9-3fe4-5434-ae74-7ab09274a71e.sst/f96b7b17-6bce-4ffd-9a90-5915e19b6051.sst] [firstKey=7480000000000002165F728000000000000001] [lastKey=7480000000000002165F728000000000000001] [2025/04/04 13:02:40.467 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=30056] [step=import] [engine-id=0] [2025/04/04 13:02:40.467 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=30056] [step=import] [engine-id=0] [2025/04/04 13:02:40.467 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`kill_job`.`t`:0] [engineUUID=64636ef9-3fe4-5434-ae74-7ab09274a71e] [2025/04/04 13:02:40.469 +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.047883ms] [] [2025/04/04 13:02:40.469 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`kill_job`.`t`:0] [engineUUID=64636ef9-3fe4-5434-ae74-7ab09274a71e] [retryCnt=0] [2025/04/04 13:02:40.473 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 13:02:40.494 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=64636ef9-3fe4-5434-ae74-7ab09274a71e] ["region ranges"=1] [count=1] [size=37] [2025/04/04 13:02:40.495 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 13:02:40.496 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000002165f728000000000000001] [endOfAllRanges=7480000000000002165f728000000000000002] [startKeyOfFirstRegion=7480000000000002ff165f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000002ff165f728000000000ff0000020000000000fa] [2025/04/04 13:02:40.507 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=64636ef9-3fe4-5434-ae74-7ab09274a71e] [size=37] [kvs=1] [importedSize=37] [importedCount=1] [2025/04/04 13:02:40.509 +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=39.287179ms] [] [2025/04/04 13:02:40.509 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`kill_job`.`t`:0] [engineUUID=64636ef9-3fe4-5434-ae74-7ab09274a71e] [2025/04/04 13:02:40.510 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`kill_job`.`t`:0] [engineUUID=64636ef9-3fe4-5434-ae74-7ab09274a71e] [takeTime=971.612µs] [] [2025/04/04 13:02:40.510 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=30056] [step=import] [engine-id=0] [2025/04/04 13:02:40.510 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`kill_job`.`t`:-1] [engineUUID=0c319952-7a9c-59e9-a73e-2a53414030fd] [2025/04/04 13:02:40.511 +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.512836ms] [] [2025/04/04 13:02:40.511 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`kill_job`.`t`:-1] [engineUUID=0c319952-7a9c-59e9-a73e-2a53414030fd] [retryCnt=0] [2025/04/04 13:02:40.514 +00:00] [INFO] [scheduler.go:152] ["task state/step changed by user or other scheduler"] [task-id=30056] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [old-state=running] [new-state=cancelling] [old-step=import] [new-step=import] [2025/04/04 13:02:40.515 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=0c319952-7a9c-59e9-a73e-2a53414030fd] [2025/04/04 13:02:40.515 +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.509675ms] [] [2025/04/04 13:02:40.515 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`kill_job`.`t`:-1] [engineUUID=0c319952-7a9c-59e9-a73e-2a53414030fd] [2025/04/04 13:02:40.516 +00:00] [INFO] [scheduler.go:269] ["on cancelling state"] [task-id=30056] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=cancelling] [step=import] [2025/04/04 13:02:40.516 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`kill_job`.`t`:-1] [engineUUID=0c319952-7a9c-59e9-a73e-2a53414030fd] [takeTime=840.183µs] [] [2025/04/04 13:02:40.516 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=30056] [step=import] [subtask-id=30106] [takeTime=100.324051ms] [] [2025/04/04 13:02:40.517 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30056] [task-type=ImportInto] [server-id=:4000] [subtaskID=30106] [step=import] [takeTime=101.421801ms] [] [2025/04/04 13:02:40.525 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30056] [step=import] [2025/04/04 13:02:40.528 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 13:02:40.528 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 13:02:40.528 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 13:02:40.528 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 13:02:40.528 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 13:02:40.528 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 13:02:40.528 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 13:02:40.528 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:02:40.528 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-55] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:02:40.528 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:02:40.528 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:02:40.528 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 13:02:40.530 +00:00] [INFO] [manager.go:235] [onCanceledTasks] [server-id=:4000] [task-id=30056] [2025/04/04 13:02:40.530 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 13:02:40.530 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:02:40.530 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:02:40.530 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:02:40.530 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30056] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [takeTime=121.706123ms] [] [2025/04/04 13:02:40.530 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30056] [type=ImportInto] [2025/04/04 13:02:40.621 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30056] [step=import] [state=reverting] [error="cancelled by user"] [errorVerbose="cancelled by user\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).onCancelling\n\tpkg/disttask/framework/scheduler/scheduler.go:272\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).scheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:199\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).ScheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:121\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*Manager).startScheduler.func1\n\tpkg/disttask/framework/scheduler/scheduler_manager.go:357\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:02:40.622 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=30056] [step=import] [mode=Normal] [2025/04/04 13:02:40.636 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=30056] [2025/04/04 13:02:40.715 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30056] [2025/04/04 13:02:40.721 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 13:02:40.721 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30056] [2025/04/04 13:02:40.742 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 13:02:40.754 +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.628001565\n# Parse_time: 0.00028124\n# Compile_time: 0.000411264\n# Rewrite_time: 0.000132656\n# Optimize_time: 0.000039689\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('SPBHMAk1OV8yCTAJMAlOL0EJMAl0aW1lOjYyNy4xbXMsIG9wZW46NjQ5bnMsIGNsb3NlOjg4NG5zLCBsb29wczoxCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('YfBMCl0KDEltcG9ydEludG9fMjgBQAFSA04vQVoudGltZTo2MjcuMW1zLCBvcGVuOjY0OW5zLCBjbG9zZTo4ODRucywgbG9vcHM6MXD///8JAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.0000187\nIMPORT INTO `kill_job`.`t` FROM 'gs://test-load/t-*.tsv?endpoint=http://127.0.0.1:4443/storage/v1/';"] --- PASS: TestImportInto/TestKillBeforeFinish (1.91s) === NAME TestImportInto === RUN TestImportInto/TestLoadSQLDump [2025/04/04 13:02:41.778 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:536, Type:drop schema, State:queueing, SchemaState:public, SchemaID:460, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:41.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:02:41.778 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:536, Type:drop schema, State:queueing, SchemaState:public, SchemaID:460, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:41.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="DROP DATABASE IF EXISTS load_csv;"] [2025/04/04 13:02:41.783 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=536] [conn=2] [job="ID:536, Type:drop schema, State:queueing, SchemaState:public, SchemaID:460, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:41.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:41.798 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=424] [neededSchemaVersion=425] ["elapsed time"=175.227µs] [gotSchemaVersion=425] [phyTblIDs="[462,464]"] [actionTypes="[2,2]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 13:02:41.802 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=536] [version=425] [2025/04/04 13:02:41.803 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=425] ["take time"=7.157953ms] [job="ID:536, Type:drop schema, State:running, SchemaState:write only, SchemaID:460, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:41.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:41.812 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=536] [conn=2] [job="ID:536, Type:drop schema, State:running, SchemaState:write only, SchemaID:460, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:41.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:41.824 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=425] [neededSchemaVersion=426] ["elapsed time"=140.255µs] [gotSchemaVersion=426] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 13:02:41.828 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=536] [version=426] [2025/04/04 13:02:41.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=426] ["take time"=6.705574ms] [job="ID:536, Type:drop schema, State:running, SchemaState:delete only, SchemaID:460, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:41.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:41.836 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=536] [conn=2] [job="ID:536, Type:drop schema, State:running, SchemaState:delete only, SchemaID:460, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:41.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:41.842 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/04 13:02:41.851 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=426] [neededSchemaVersion=427] ["elapsed time"=148.963µs] [gotSchemaVersion=427] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 13:02:41.855 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=536] [version=427] [2025/04/04 13:02:41.856 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=427] ["take time"=6.550734ms] [job="ID:536, Type:drop schema, State:done, SchemaState:none, SchemaID:460, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:41.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:41.864 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=536] [tableIDs="[462,464]"] [comment="drop schema: table IDs"] [2025/04/04 13:02:41.869 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=536] [jobType="drop schema"] [2025/04/04 13:02:41.870 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=536] [conn=2] [job="ID:536, Type:drop schema, State:synced, SchemaState:none, SchemaID:460, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:41.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:41.884 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=536] [2025/04/04 13:02:41.885 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=427] [cur_db=fail_job_after_import] [sql="DROP DATABASE IF EXISTS load_csv;"] [user=root@%] [2025/04/04 13:02:41.896 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:538, Type:create schema, State:queueing, SchemaState:none, SchemaID:537, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:41.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:02:41.896 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:538, Type:create schema, State:queueing, SchemaState:none, SchemaID:537, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:41.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE load_csv;"] [2025/04/04 13:02:41.902 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=538] [conn=2] [job="ID:538, Type:create schema, State:queueing, SchemaState:none, SchemaID:537, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:41.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:41.914 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=427] [neededSchemaVersion=428] ["elapsed time"=704.03µs] [gotSchemaVersion=428] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 13:02:41.919 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=538] [version=428] [2025/04/04 13:02:41.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=428] ["take time"=8.3711ms] [job="ID:538, Type:create schema, State:done, SchemaState:public, SchemaID:537, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:41.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:41.930 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=538] [conn=2] [job="ID:538, Type:create schema, State:synced, SchemaState:public, SchemaID:537, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:41.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:41.938 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=538] [2025/04/04 13:02:41.939 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=428] [cur_db=fail_job_after_import] [sql="CREATE DATABASE load_csv;"] [user=root@%] [2025/04/04 13:02:41.951 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:540, Type:create table, State:queueing, SchemaState:none, SchemaID:537, TableID:539, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:41.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:02:41.951 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:540, Type:create table, State:queueing, SchemaState:none, SchemaID:537, TableID:539, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:41.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE load_csv.t (id INT, c VARCHAR(20));"] [2025/04/04 13:02:41.956 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=540] [conn=2] [job="ID:540, Type:create table, State:queueing, SchemaState:none, SchemaID:537, TableID:539, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:41.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:41.961 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 539, Table Name: t)"] [2025/04/04 13:02:41.974 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=428] [neededSchemaVersion=429] ["elapsed time"=1.444575ms] [gotSchemaVersion=429] [phyTblIDs="[539]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 13:02:41.978 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=540] [version=429] [2025/04/04 13:02:41.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=429] ["take time"=8.047817ms] [job="ID:540, Type:create table, State:done, SchemaState:public, SchemaID:537, TableID:539, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:41.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:41.989 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=540] [conn=2] [job="ID:540, Type:create table, State:synced, SchemaState:public, SchemaID:537, TableID:539, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:41.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:42.000 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=540] [2025/04/04 13:02:42.000 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=429] [cur_db=fail_job_after_import] [sql="CREATE TABLE load_csv.t (id INT, c VARCHAR(20));"] [user=root@%] [2025/04/04 13:02:42.006 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:42.051 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load-parquet/p?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"sql\"}"] [dist-task-enabled=true] [2025/04/04 13:02:42.069 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30057] [task-id=30057] [data-size=42B] [thread-cnt=8] [global-sort=false] [2025/04/04 13:02:42.084 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30057] [2025/04/04 13:02:42.085 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=30057] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/04 13:02:42.187 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30057] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 13:02:42.188 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30057] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:02:42.189 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30057] [curr-step=init] [next-step=import] [2025/04/04 13:02:42.196 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:42.199 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 13:02:42.199 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=42] [2025/04/04 13:02:42.199 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=42] [cost=51.137µs] [2025/04/04 13:02:42.199 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=146.648µs] [] [2025/04/04 13:02:42.199 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30057] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 13:02:42.199 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30057] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/04 13:02:42.236 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30057] [type=ImportInto] [concurrency=8] [remaining-slots=44] [2025/04/04 13:02:42.255 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30057] [step=import] [2025/04/04 13:02:42.256 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:42.264 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 13:02:42.264 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 13:02:42.264 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 13:02:42.264 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 13:02:42.264 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 13:02:42.264 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 13:02:42.264 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 13:02:42.265 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 13:02:42.265 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 13:02:42.265 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 13:02:42.277 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 13:02:42.278 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 13:02:42.279 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 13:02:42.279 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=30057] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 13:02:42.279 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30057] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/04 13:02:42.279 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=30057] [disk-quota=348.5GiB] [2025/04/04 13:02:42.286 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30057] [task-type=ImportInto] [server-id=:4000] [subtaskID=30107] [step=import] [2025/04/04 13:02:42.286 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30057] [step=import] [subtask-id=30107] [2025/04/04 13:02:42.290 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [2025/04/04 13:02:42.293 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=30057] [mode=Import] [2025/04/04 13:02:42.295 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/04 13:02:42.295 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=539] [2025/04/04 13:02:42.298 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=539] [key=p:0] [2025/04/04 13:02:42.300 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=539] [key=p:0] [readDur=988.902µs] [encodeDur=550.128µs] [checksum="{cksum=4095868306028115111,size=66,kvs=2}"] [deliverDur=242.41µs] [type=file] [takeTime=1.986339ms] [] [2025/04/04 13:02:42.301 +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/30057/1e7b3aaf-1931-5e54-8538-256fb8e461db.sst/3a20cbc8-5273-4111-a5e8-746898f97fcb.sst] [firstKey=74800000000000021B5F728000000000000001] [lastKey=74800000000000021B5F728000000000000002] [2025/04/04 13:02:42.301 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=30057] [step=import] [engine-id=0] [2025/04/04 13:02:42.301 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=30057] [step=import] [engine-id=0] [2025/04/04 13:02:42.301 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [2025/04/04 13:02:42.303 +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.396622ms] [] [2025/04/04 13:02:42.303 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [retryCnt=0] [2025/04/04 13:02:42.308 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 13:02:42.311 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=30057] [2025/04/04 13:02:42.330 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=1e7b3aaf-1931-5e54-8538-256fb8e461db] ["region ranges"=1] [count=2] [size=66] [2025/04/04 13:02:42.330 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 13:02:42.332 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000021b5f728000000000000001] [endOfAllRanges=74800000000000021b5f728000000000000003] [startKeyOfFirstRegion=7480000000000002ff1b5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000002ff1b5f728000000000ff0000030000000000fa] [2025/04/04 13:02:42.344 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=1e7b3aaf-1931-5e54-8538-256fb8e461db] [size=66] [kvs=2] [importedSize=66] [importedCount=2] [2025/04/04 13:02:42.346 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [retryCnt=0] [takeTime=42.382591ms] [] [2025/04/04 13:02:42.346 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [2025/04/04 13:02:42.347 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [takeTime=1.050384ms] [] [2025/04/04 13:02:42.347 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=30057] [step=import] [engine-id=0] [2025/04/04 13:02:42.347 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/04 13:02:42.349 +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.658197ms] [] [2025/04/04 13:02:42.349 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [retryCnt=0] [2025/04/04 13:02:42.353 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/04 13:02:42.353 +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.366916ms] [] [2025/04/04 13:02:42.353 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/04 13:02:42.354 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [takeTime=984.155µs] [] [2025/04/04 13:02:42.354 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=30057] [step=import] [subtask-id=30107] [takeTime=68.314162ms] [] [2025/04/04 13:02:42.354 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30057] [task-type=ImportInto] [server-id=:4000] [subtaskID=30107] [step=import] [takeTime=68.487708ms] [] [2025/04/04 13:02:42.393 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30057] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 13:02:42.395 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30057] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:02:42.396 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30057] [curr-step=import] [next-step=post-process] [2025/04/04 13:02:42.396 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=30057] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 13:02:42.425 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=30057] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/04 13:02:42.426 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30057] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 13:02:42.427 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30057] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/04 13:02:42.462 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=30057] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 13:02:42.469 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30057] [step=import] [2025/04/04 13:02:42.472 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 13:02:42.472 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 13:02:42.472 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 13:02:42.472 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 13:02:42.472 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 13:02:42.472 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 13:02:42.472 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:02:42.472 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 13:02:42.472 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-56] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:02:42.472 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:02:42.472 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:02:42.472 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 13:02:42.474 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 13:02:42.474 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:02:42.474 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:02:42.474 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:02:42.474 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30057] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [takeTime=195.219972ms] [] [2025/04/04 13:02:42.475 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30057] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/04 13:02:42.482 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30057] [task-type=ImportInto] [server-id=:4000] [subtaskID=30108] [step=post-process] [2025/04/04 13:02:42.482 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=30057] [step=post-process] [subtask-id=30108] [2025/04/04 13:02:42.482 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=30057] [step=post-process] [subtask-id=30108] [2025/04/04 13:02:42.483 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=30057] [step=post-process] [subtask-id=30108] [2025/04/04 13:02:42.488 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=30057] [step=post-process] [subtask-id=30108] [takeTime=5.67592ms] [] [2025/04/04 13:02:42.488 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=30057] [step=post-process] [subtask-id=30108] [groupId=-1] [size=66] [kvs=2] [checksum=4095868306028115111] [2025/04/04 13:02:42.488 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=30057] [step=post-process] [subtask-id=30108] [checksum="{cksum=4095868306028115111,size=66,kvs=2}"] [2025/04/04 13:02:42.488 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=30057] [step=post-process] [subtask-id=30108] [weight=30] [2025/04/04 13:02:42.488 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=30057] [step=post-process] [subtask-id=30108] [concurrency=15] [2025/04/04 13:02:42.490 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=539] [physicalTableID=539] [indexID=-1] [checksum=4095868306028115111] [totalKvs=2] [totalBytes=66] [2025/04/04 13:02:42.491 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 13:02:42.491 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=30057] [step=post-process] [subtask-id=30108] [local="{cksum=4095868306028115111,size=66,kvs=2}"] [2025/04/04 13:02:42.491 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=30057] [step=post-process] [subtask-id=30108] [takeTime=8.245587ms] [] [2025/04/04 13:02:42.491 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=30057] [step=post-process] [subtask-id=30108] [takeTime=8.389167ms] [] [2025/04/04 13:02:42.491 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30057] [task-type=ImportInto] [server-id=:4000] [subtaskID=30108] [step=post-process] [takeTime=8.532945ms] [] [2025/04/04 13:02:42.517 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 13:02:42.592 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30057] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 13:02:42.593 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30057] [step=post-process] [state=running] [] [2025/04/04 13:02:42.595 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=30057] [2025/04/04 13:02:42.611 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30057] [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=135.465486ms] [] [2025/04/04 13:02:42.611 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30057] [type=ImportInto] [2025/04/04 13:02:42.688 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30057] [2025/04/04 13:02:42.690 +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.68937831\n# Parse_time: 0.000100235\n# Compile_time: 0.000454768\n# Rewrite_time: 0.00013889\n# Optimize_time: 0.000041944\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('SvBJMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY4OC42bXMsIG9wZW46OTczbnMsIGNsb3NlOjEuMDHCtXMsIGxvb3BzOjIJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('ZfBSCmEKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWjB0aW1lOjY4OC42bXMsIG9wZW46OTczbnMsIGNsb3NlOjEuMDHCtXMsIGxvb3BzOjJw//////8BAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.0000187\nIMPORT INTO `load_csv`.`t` FROM 'gs://test-load-parquet/p?endpoint=http://127.0.0.1:4443/storage/v1/' FORMAT 'SQL';"] [2025/04/04 13:02:42.695 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 13:02:42.695 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30057] [2025/04/04 13:02:42.706 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:542, Type:truncate table, State:queueing, SchemaState:none, SchemaID:537, TableID:539, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:42.694 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:02:42.706 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:542, Type:truncate table, State:queueing, SchemaState:none, SchemaID:537, TableID:539, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:42.694 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="TRUNCATE TABLE load_csv.t;"] [2025/04/04 13:02:42.712 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=542] [conn=2] [job="ID:542, Type:truncate table, State:queueing, SchemaState:none, SchemaID:537, TableID:539, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:42.694 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:42.716 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 13:02:42.720 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 541, Table Name: t, Old Table ID: 539, Old Table Name: t)"] [2025/04/04 13:02:42.735 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=429] [neededSchemaVersion=430] ["elapsed time"=1.446597ms] [gotSchemaVersion=430] [phyTblIDs="[539,541]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 13:02:42.738 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=542] [version=430] [2025/04/04 13:02:42.739 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=430] ["take time"=8.078821ms] [job="ID:542, Type:truncate table, State:done, SchemaState:public, SchemaID:537, TableID:539, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:42.694 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:42.749 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=542] [tableIDs="[539]"] [comment="truncate table: table ID"] [2025/04/04 13:02:42.753 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=542] [jobType="truncate table"] [2025/04/04 13:02:42.754 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=542] [conn=2] [job="ID:542, Type:truncate table, State:synced, SchemaState:public, SchemaID:537, TableID:539, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:42.694 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:42.770 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=542] [2025/04/04 13:02:42.771 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=430] [cur_db=fail_job_after_import] [sql="TRUNCATE TABLE load_csv.t;"] [user=root@%] [2025/04/04 13:02:42.816 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"/tmp/TestImportIntoTestLoadSQLDump1403161746/001/test.sql\",\"format\":\"sql\"}"] [dist-task-enabled=true] [2025/04/04 13:02:42.816 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 13:02:42.816 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=42] [2025/04/04 13:02:42.816 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=42] [cost=60.438µs] [2025/04/04 13:02:42.816 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=221.889µs] [] [2025/04/04 13:02:42.835 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30058] [task-id=30058] [data-size=42B] [thread-cnt=8] [global-sort=false] [2025/04/04 13:02:42.849 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30058] [2025/04/04 13:02:42.849 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=30058] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/04 13:02:42.951 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30058] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 13:02:42.953 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30058] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:02:42.954 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30058] [curr-step=init] [next-step=import] [2025/04/04 13:02:42.961 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30058] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 13:02:42.961 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30058] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/04 13:02:42.996 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30058] [type=ImportInto] [concurrency=8] [remaining-slots=44] [2025/04/04 13:02:43.016 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30058] [step=import] [2025/04/04 13:02:43.022 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 13:02:43.022 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 13:02:43.023 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 13:02:43.023 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 13:02:43.023 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 13:02:43.023 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 13:02:43.023 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 13:02:43.023 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 13:02:43.023 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 13:02:43.024 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 13:02:43.034 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 13:02:43.036 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 13:02:43.036 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 13:02:43.036 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=30058] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 13:02:43.036 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=30058] [disk-quota=348.5GiB] [2025/04/04 13:02:43.036 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30058] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/04 13:02:43.043 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30058] [task-type=ImportInto] [server-id=:4000] [subtaskID=30109] [step=import] [2025/04/04 13:02:43.043 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30058] [step=import] [subtask-id=30109] [2025/04/04 13:02:43.047 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [2025/04/04 13:02:43.050 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/04 13:02:43.050 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=541] [2025/04/04 13:02:43.058 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=30058] [mode=Import] [2025/04/04 13:02:43.075 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=30058] [2025/04/04 13:02:43.082 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=541] [key=test.sql:0] [2025/04/04 13:02:43.083 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=541] [key=test.sql:0] [readDur=58.895µs] [encodeDur=548.505µs] [checksum="{cksum=4095868306028115111,size=66,kvs=2}"] [deliverDur=264.059µs] [type=file] [takeTime=1.16534ms] [] [2025/04/04 13:02:43.084 +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/30058/1e7b3aaf-1931-5e54-8538-256fb8e461db.sst/22b92955-56c8-4c53-b027-7901d428ffbe.sst] [firstKey=74800000000000021D5F728000000000000001] [lastKey=74800000000000021D5F728000000000000002] [2025/04/04 13:02:43.084 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=30058] [step=import] [engine-id=0] [2025/04/04 13:02:43.084 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=30058] [step=import] [engine-id=0] [2025/04/04 13:02:43.084 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [2025/04/04 13:02:43.086 +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.059942ms] [] [2025/04/04 13:02:43.086 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [retryCnt=0] [2025/04/04 13:02:43.090 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 13:02:43.111 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=1e7b3aaf-1931-5e54-8538-256fb8e461db] ["region ranges"=1] [count=2] [size=66] [2025/04/04 13:02:43.111 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 13:02:43.113 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000021d5f728000000000000001] [endOfAllRanges=74800000000000021d5f728000000000000003] [startKeyOfFirstRegion=7480000000000002ff1d5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000002ff1d5f728000000000ff0000030000000000fa] [2025/04/04 13:02:43.124 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=1e7b3aaf-1931-5e54-8538-256fb8e461db] [size=66] [kvs=2] [importedSize=66] [importedCount=2] [2025/04/04 13:02:43.125 +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=38.887195ms] [] [2025/04/04 13:02:43.125 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [2025/04/04 13:02:43.126 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [takeTime=980.413µs] [] [2025/04/04 13:02:43.126 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=30058] [step=import] [engine-id=0] [2025/04/04 13:02:43.126 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/04 13:02:43.128 +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.537296ms] [] [2025/04/04 13:02:43.128 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [retryCnt=0] [2025/04/04 13:02:43.131 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/04 13:02:43.131 +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.478509ms] [] [2025/04/04 13:02:43.131 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/04 13:02:43.132 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [takeTime=887.108µs] [] [2025/04/04 13:02:43.132 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=30058] [step=import] [subtask-id=30109] [takeTime=88.853401ms] [] [2025/04/04 13:02:43.132 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30058] [task-type=ImportInto] [server-id=:4000] [subtaskID=30109] [step=import] [takeTime=88.990327ms] [] [2025/04/04 13:02:43.158 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30058] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 13:02:43.159 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30058] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:02:43.160 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30058] [curr-step=import] [next-step=post-process] [2025/04/04 13:02:43.160 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=30058] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 13:02:43.190 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=30058] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/04 13:02:43.192 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30058] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 13:02:43.192 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30058] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/04 13:02:43.224 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=30058] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 13:02:43.231 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30058] [step=import] [2025/04/04 13:02:43.233 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 13:02:43.233 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 13:02:43.233 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 13:02:43.233 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 13:02:43.233 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 13:02:43.233 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 13:02:43.233 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 13:02:43.233 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:02:43.233 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-57] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:02:43.234 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:02:43.234 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:02:43.234 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 13:02:43.236 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 13:02:43.236 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:02:43.236 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:02:43.236 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:02:43.236 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30058] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [takeTime=199.305434ms] [] [2025/04/04 13:02:43.237 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30058] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/04 13:02:43.244 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30058] [task-type=ImportInto] [server-id=:4000] [subtaskID=30110] [step=post-process] [2025/04/04 13:02:43.244 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=30058] [step=post-process] [subtask-id=30110] [2025/04/04 13:02:43.244 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=30058] [step=post-process] [subtask-id=30110] [2025/04/04 13:02:43.244 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=30058] [step=post-process] [subtask-id=30110] [2025/04/04 13:02:43.250 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=30058] [step=post-process] [subtask-id=30110] [takeTime=5.686089ms] [] [2025/04/04 13:02:43.250 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=30058] [step=post-process] [subtask-id=30110] [groupId=-1] [size=66] [kvs=2] [checksum=4095868306028115111] [2025/04/04 13:02:43.250 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=30058] [step=post-process] [subtask-id=30110] [checksum="{cksum=4095868306028115111,size=66,kvs=2}"] [2025/04/04 13:02:43.250 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=30058] [step=post-process] [subtask-id=30110] [weight=30] [2025/04/04 13:02:43.250 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=30058] [step=post-process] [subtask-id=30110] [concurrency=15] [2025/04/04 13:02:43.252 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=541] [physicalTableID=541] [indexID=-1] [checksum=4095868306028115111] [totalKvs=2] [totalBytes=66] [2025/04/04 13:02:43.252 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 13:02:43.252 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=30058] [step=post-process] [subtask-id=30110] [local="{cksum=4095868306028115111,size=66,kvs=2}"] [2025/04/04 13:02:43.252 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=30058] [step=post-process] [subtask-id=30110] [takeTime=8.307001ms] [] [2025/04/04 13:02:43.252 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=30058] [step=post-process] [subtask-id=30110] [takeTime=8.443939ms] [] [2025/04/04 13:02:43.252 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30058] [task-type=ImportInto] [server-id=:4000] [subtaskID=30110] [step=post-process] [takeTime=8.586737ms] [] [2025/04/04 13:02:43.279 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 13:02:43.359 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30058] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 13:02:43.359 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30058] [step=post-process] [state=running] [] [2025/04/04 13:02:43.361 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=30058] [2025/04/04 13:02:43.387 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30058] [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=150.473993ms] [] [2025/04/04 13:02:43.388 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30058] [type=ImportInto] [2025/04/04 13:02:43.451 +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.680237326\n# Parse_time: 0.000073213\n# Compile_time: 0.000493882\n# Rewrite_time: 0.00017671\n# Optimize_time: 0.000265733\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY3OS40bXMsIG9wZW46NzE1bnMsIGNsb3NlOjkyOW5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY3OS40bXMsIG9wZW46NzE1bnMsIGNsb3NlOjkyOW5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.0000187\nIMPORT INTO `load_csv`.`t` FROM '/tmp/TestImportIntoTestLoadSQLDump1403161746/001/test.sql' FORMAT 'SQL';"] [2025/04/04 13:02:43.451 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30058] --- PASS: TestImportInto/TestLoadSQLDump (1.69s) === NAME TestImportInto === RUN TestImportInto/TestMaxWriteSpeed [2025/04/04 13:02:43.457 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 13:02:43.457 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30058] [2025/04/04 13:02:43.466 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:543, Type:drop schema, State:queueing, SchemaState:public, SchemaID:310, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:43.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:02:43.466 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:543, Type:drop schema, State:queueing, SchemaState:public, SchemaID:310, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:43.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="DROP DATABASE IF EXISTS load_test_write_speed;"] [2025/04/04 13:02:43.471 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=543] [conn=2] [job="ID:543, Type:drop schema, State:queueing, SchemaState:public, SchemaID:310, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:43.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:43.478 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 13:02:43.487 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=430] [neededSchemaVersion=431] ["elapsed time"=153.222µs] [gotSchemaVersion=431] [phyTblIDs="[314]"] [actionTypes="[2]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 13:02:43.490 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=543] [version=431] [2025/04/04 13:02:43.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=431] ["take time"=7.113981ms] [job="ID:543, Type:drop schema, State:running, SchemaState:write only, SchemaID:310, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:43.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:43.501 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=543] [conn=2] [job="ID:543, Type:drop schema, State:running, SchemaState:write only, SchemaID:310, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:43.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:43.513 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=431] [neededSchemaVersion=432] ["elapsed time"=133.398µs] [gotSchemaVersion=432] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 13:02:43.516 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=543] [version=432] [2025/04/04 13:02:43.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=432] ["take time"=6.571458ms] [job="ID:543, Type:drop schema, State:running, SchemaState:delete only, SchemaID:310, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:43.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:43.525 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=543] [conn=2] [job="ID:543, Type:drop schema, State:running, SchemaState:delete only, SchemaID:310, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:43.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:43.530 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/04 13:02:43.540 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=432] [neededSchemaVersion=433] ["elapsed time"=146.853µs] [gotSchemaVersion=433] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 13:02:43.543 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=543] [version=433] [2025/04/04 13:02:43.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=433] ["take time"=7.132779ms] [job="ID:543, Type:drop schema, State:done, SchemaState:none, SchemaID:310, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:43.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:43.554 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=543] [tableIDs="[314]"] [comment="drop schema: table IDs"] [2025/04/04 13:02:43.558 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=543] [jobType="drop schema"] [2025/04/04 13:02:43.559 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=543] [conn=2] [job="ID:543, Type:drop schema, State:synced, SchemaState:none, SchemaID:310, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:43.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:43.574 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=543] [2025/04/04 13:02:43.574 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=433] [cur_db=fail_job_after_import] [sql="DROP DATABASE IF EXISTS load_test_write_speed;"] [user=root@%] [2025/04/04 13:02:43.585 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:545, Type:create schema, State:queueing, SchemaState:none, SchemaID:544, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:43.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:02:43.585 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:545, Type:create schema, State:queueing, SchemaState:none, SchemaID:544, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:43.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE load_test_write_speed;"] [2025/04/04 13:02:43.591 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=545] [conn=2] [job="ID:545, Type:create schema, State:queueing, SchemaState:none, SchemaID:544, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:43.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:43.604 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=433] [neededSchemaVersion=434] ["elapsed time"=629.548µs] [gotSchemaVersion=434] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 13:02:43.607 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=545] [version=434] [2025/04/04 13:02:43.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=434] ["take time"=7.313172ms] [job="ID:545, Type:create schema, State:done, SchemaState:public, SchemaID:544, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:43.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:43.619 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=545] [conn=2] [job="ID:545, Type:create schema, State:synced, SchemaState:public, SchemaID:544, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:43.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:43.628 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=545] [2025/04/04 13:02:43.628 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=434] [cur_db=fail_job_after_import] [sql="CREATE DATABASE load_test_write_speed;"] [user=root@%] [2025/04/04 13:02:43.640 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:547, Type:create table, State:queueing, SchemaState:none, SchemaID:544, TableID:546, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:43.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE load_test_write_speed.t(a int, b int)"] [2025/04/04 13:02:43.640 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:547, Type:create table, State:queueing, SchemaState:none, SchemaID:544, TableID:546, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:43.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:02:43.646 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=547] [conn=2] [job="ID:547, Type:create table, State:queueing, SchemaState:none, SchemaID:544, TableID:546, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:43.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:43.650 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 546, Table Name: t)"] [2025/04/04 13:02:43.664 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=434] [neededSchemaVersion=435] ["elapsed time"=1.400098ms] [gotSchemaVersion=435] [phyTblIDs="[546]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 13:02:43.668 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=547] [version=435] [2025/04/04 13:02:43.669 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=435] ["take time"=7.921317ms] [job="ID:547, Type:create table, State:done, SchemaState:public, SchemaID:544, TableID:546, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:43.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:43.680 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=547] [conn=2] [job="ID:547, Type:create table, State:synced, SchemaState:public, SchemaID:544, TableID:546, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:43.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:43.691 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=547] [2025/04/04 13:02:43.691 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=435] [cur_db=fail_job_after_import] [sql="CREATE TABLE load_test_write_speed.t(a int, b int)"] [user=root@%] [2025/04/04 13:02:43.700 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:43.743 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/speed-test.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/04 13:02:43.760 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30059] [task-id=30059] [data-size=7.598KiB] [thread-cnt=8] [global-sort=false] [2025/04/04 13:02:43.773 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30059] [2025/04/04 13:02:43.774 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=30059] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/04 13:02:43.876 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30059] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 13:02:43.877 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30059] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:02:43.878 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30059] [curr-step=init] [next-step=import] [2025/04/04 13:02:43.885 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:43.888 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 13:02:43.888 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=7780] [2025/04/04 13:02:43.888 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=7780] [cost=51.44µs] [2025/04/04 13:02:43.888 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=143.192µs] [] [2025/04/04 13:02:43.888 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30059] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 13:02:43.888 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30059] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/04 13:02:43.926 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30059] [type=ImportInto] [concurrency=8] [remaining-slots=44] [2025/04/04 13:02:43.945 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30059] [step=import] [2025/04/04 13:02:43.946 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:43.953 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 13:02:43.953 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 13:02:43.953 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 13:02:43.954 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 13:02:43.954 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 13:02:43.954 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 13:02:43.954 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 13:02:43.954 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 13:02:43.954 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 13:02:43.955 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 13:02:43.966 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 13:02:43.968 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 13:02:43.968 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 13:02:43.968 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=30059] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 13:02:43.968 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=30059] [disk-quota=348.5GiB] [2025/04/04 13:02:43.968 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30059] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/04 13:02:43.975 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30059] [task-type=ImportInto] [server-id=:4000] [subtaskID=30111] [step=import] [2025/04/04 13:02:43.976 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30059] [step=import] [subtask-id=30111] [2025/04/04 13:02:43.980 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_test_write_speed`.`t`:0] [engineUUID=9b4a6271-0aef-5059-a34e-0bbb1ee21829] [2025/04/04 13:02:43.982 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=30059] [mode=Import] [2025/04/04 13:02:43.983 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_test_write_speed`.`t`:-1] [engineUUID=44c71187-930f-542d-8bfe-d13dfaf0891c] [2025/04/04 13:02:43.983 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=546] [2025/04/04 13:02:44.001 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=30059] [2025/04/04 13:02:44.017 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=546] [key=speed-test.csv:0] [2025/04/04 13:02:44.044 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=546] [key=speed-test.csv:0] [readDur=5.733894ms] [encodeDur=16.304967ms] [checksum="{cksum=16176383463214450733,size=34744,kvs=1000}"] [deliverDur=2.68978ms] [type=file] [takeTime=26.514989ms] [] [2025/04/04 13:02:44.044 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=34744] [kvs=1000] [files=1] [sstFileSize=11223] [file=/tmp/tidb/import-4000/30059/9b4a6271-0aef-5059-a34e-0bbb1ee21829.sst/5c4a3d53-aa40-41e2-95ab-1724d35f2703.sst] [firstKey=7480000000000002225F728000000000000001] [lastKey=7480000000000002225F7280000000000003E8] [2025/04/04 13:02:44.044 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=30059] [step=import] [engine-id=0] [2025/04/04 13:02:44.044 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=30059] [step=import] [engine-id=0] [2025/04/04 13:02:44.044 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_test_write_speed`.`t`:0] [engineUUID=9b4a6271-0aef-5059-a34e-0bbb1ee21829] [2025/04/04 13:02:44.047 +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.342389ms] [] [2025/04/04 13:02:44.047 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_test_write_speed`.`t`:0] [engineUUID=9b4a6271-0aef-5059-a34e-0bbb1ee21829] [retryCnt=0] [2025/04/04 13:02:44.051 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 13:02:44.073 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=9b4a6271-0aef-5059-a34e-0bbb1ee21829] ["region ranges"=1] [count=1000] [size=34744] [2025/04/04 13:02:44.073 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 13:02:44.074 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000002225f728000000000000001] [endOfAllRanges=7480000000000002225f7280000000000003e9] [startKeyOfFirstRegion=7480000000000002ff225f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000002ff225f728000000000ff0003e90000000000fa] [2025/04/04 13:02:44.090 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=9b4a6271-0aef-5059-a34e-0bbb1ee21829] [size=34744] [kvs=1000] [importedSize=34744] [importedCount=1000] [2025/04/04 13:02:44.092 +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=44.762935ms] [] [2025/04/04 13:02:44.092 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_test_write_speed`.`t`:0] [engineUUID=9b4a6271-0aef-5059-a34e-0bbb1ee21829] [2025/04/04 13:02:44.093 +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.150439ms] [] [2025/04/04 13:02:44.093 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=30059] [step=import] [engine-id=0] [2025/04/04 13:02:44.093 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_test_write_speed`.`t`:-1] [engineUUID=44c71187-930f-542d-8bfe-d13dfaf0891c] [2025/04/04 13:02:44.095 +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.944738ms] [] [2025/04/04 13:02:44.095 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_test_write_speed`.`t`:-1] [engineUUID=44c71187-930f-542d-8bfe-d13dfaf0891c] [retryCnt=0] [2025/04/04 13:02:44.099 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=44c71187-930f-542d-8bfe-d13dfaf0891c] [2025/04/04 13:02:44.099 +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.57747ms] [] [2025/04/04 13:02:44.099 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_test_write_speed`.`t`:-1] [engineUUID=44c71187-930f-542d-8bfe-d13dfaf0891c] [2025/04/04 13:02:44.100 +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=887.238µs] [] [2025/04/04 13:02:44.100 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=30059] [step=import] [subtask-id=30111] [takeTime=124.298868ms] [] [2025/04/04 13:02:44.100 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30059] [task-type=ImportInto] [server-id=:4000] [subtaskID=30111] [step=import] [takeTime=124.475842ms] [] [2025/04/04 13:02:44.181 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30059] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 13:02:44.182 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30059] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:02:44.183 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30059] [curr-step=import] [next-step=post-process] [2025/04/04 13:02:44.183 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=30059] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 13:02:44.211 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=30059] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":1000}"] [2025/04/04 13:02:44.212 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30059] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 13:02:44.212 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30059] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/04 13:02:44.234 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=30059] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 13:02:44.240 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30059] [step=import] [2025/04/04 13:02:44.243 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 13:02:44.243 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 13:02:44.243 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 13:02:44.243 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 13:02:44.243 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 13:02:44.243 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 13:02:44.243 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-58] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:02:44.243 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 13:02:44.243 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:02:44.243 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:02:44.243 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:02:44.243 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 13:02:44.245 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 13:02:44.245 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:02:44.245 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:02:44.245 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:02:44.245 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30059] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [takeTime=276.597199ms] [] [2025/04/04 13:02:44.246 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30059] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/04 13:02:44.253 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30059] [task-type=ImportInto] [server-id=:4000] [subtaskID=30112] [step=post-process] [2025/04/04 13:02:44.253 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=30059] [step=post-process] [subtask-id=30112] [2025/04/04 13:02:44.253 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=30059] [step=post-process] [subtask-id=30112] [2025/04/04 13:02:44.253 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=30059] [step=post-process] [subtask-id=30112] [2025/04/04 13:02:44.259 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=30059] [step=post-process] [subtask-id=30112] [takeTime=5.516785ms] [] [2025/04/04 13:02:44.259 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=30059] [step=post-process] [subtask-id=30112] [groupId=-1] [size=34744] [kvs=1000] [checksum=16176383463214450733] [2025/04/04 13:02:44.259 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=30059] [step=post-process] [subtask-id=30112] [checksum="{cksum=16176383463214450733,size=34744,kvs=1000}"] [2025/04/04 13:02:44.259 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=30059] [step=post-process] [subtask-id=30112] [weight=30] [2025/04/04 13:02:44.259 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=30059] [step=post-process] [subtask-id=30112] [concurrency=15] [2025/04/04 13:02:44.261 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=546] [physicalTableID=546] [indexID=-1] [checksum=16176383463214450733] [totalKvs=1000] [totalBytes=34744] [2025/04/04 13:02:44.261 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 13:02:44.262 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=30059] [step=post-process] [subtask-id=30112] [local="{cksum=16176383463214450733,size=34744,kvs=1000}"] [2025/04/04 13:02:44.262 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=30059] [step=post-process] [subtask-id=30112] [takeTime=8.451201ms] [] [2025/04/04 13:02:44.262 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=30059] [step=post-process] [subtask-id=30112] [takeTime=8.585556ms] [] [2025/04/04 13:02:44.262 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30059] [task-type=ImportInto] [server-id=:4000] [subtaskID=30112] [step=post-process] [takeTime=8.714387ms] [] [2025/04/04 13:02:44.281 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30059] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 13:02:44.281 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30059] [step=post-process] [state=running] [] [2025/04/04 13:02:44.283 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=30059] [2025/04/04 13:02:44.284 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 13:02:44.307 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30059] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [takeTime=60.502613ms] [] [2025/04/04 13:02:44.307 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30059] [type=ImportInto] [2025/04/04 13:02:44.375 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30059] [2025/04/04 13:02:44.376 +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.680830144\n# Parse_time: 0.000077278\n# Compile_time: 0.000465733\n# Rewrite_time: 0.000144055\n# Optimize_time: 0.000225794\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('RvBFMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY4MG1zLCBvcGVuOjYxMG5zLCBjbG9zZTo5MzRucywgbG9vcHM6MglOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('YfBMCl0KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWix0aW1lOjY4MG1zLCBvcGVuOjYxMG5zLCBjbG9zZTo5MzRucywgbG9vcHM6MnD///8JAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.0000187\nIMPORT INTO `load_test_write_speed`.`t` FROM 'gs://test-load/speed-test.csv?endpoint=http://127.0.0.1:4443/storage/v1/';"] [2025/04/04 13:02:44.381 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 13:02:44.381 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30059] [2025/04/04 13:02:44.393 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:549, Type:truncate table, State:queueing, SchemaState:none, SchemaID:544, TableID:546, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:44.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:02:44.393 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:549, Type:truncate table, State:queueing, SchemaState:none, SchemaID:544, TableID:546, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:44.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="TRUNCATE TABLE load_test_write_speed.t;"] [2025/04/04 13:02:44.399 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=549] [conn=2] [job="ID:549, Type:truncate table, State:queueing, SchemaState:none, SchemaID:544, TableID:546, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:44.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:44.403 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 13:02:44.406 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 548, Table Name: t, Old Table ID: 546, Old Table Name: t)"] [2025/04/04 13:02:44.421 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=435] [neededSchemaVersion=436] ["elapsed time"=1.581085ms] [gotSchemaVersion=436] [phyTblIDs="[546,548]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 13:02:44.424 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=549] [version=436] [2025/04/04 13:02:44.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=436] ["take time"=8.898691ms] [job="ID:549, Type:truncate table, State:done, SchemaState:public, SchemaID:544, TableID:546, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:44.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:44.436 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=549] [tableIDs="[546]"] [comment="truncate table: table ID"] [2025/04/04 13:02:44.440 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=549] [jobType="truncate table"] [2025/04/04 13:02:44.441 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=549] [conn=2] [job="ID:549, Type:truncate table, State:synced, SchemaState:public, SchemaID:544, TableID:546, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:44.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:44.457 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=549] [2025/04/04 13:02:44.458 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=436] [cur_db=fail_job_after_import] [sql="TRUNCATE TABLE load_test_write_speed.t;"] [user=root@%] [2025/04/04 13:02:44.463 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:44.506 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/speed-test.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"max_write_speed\":\"6000\"}}"] [dist-task-enabled=true] [2025/04/04 13:02:44.524 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30060] [task-id=30060] [data-size=7.598KiB] [thread-cnt=8] [global-sort=false] [2025/04/04 13:02:44.538 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30060] [2025/04/04 13:02:44.538 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=30060] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/04 13:02:44.640 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30060] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 13:02:44.641 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30060] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:02:44.642 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30060] [curr-step=init] [next-step=import] [2025/04/04 13:02:44.649 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:44.652 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 13:02:44.652 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=7780] [2025/04/04 13:02:44.652 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=7780] [cost=44.613µs] [2025/04/04 13:02:44.652 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=141.512µs] [] [2025/04/04 13:02:44.652 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30060] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 13:02:44.652 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30060] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/04 13:02:44.685 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30060] [type=ImportInto] [concurrency=8] [remaining-slots=44] [2025/04/04 13:02:44.704 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30060] [step=import] [2025/04/04 13:02:44.704 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:44.712 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 13:02:44.712 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 13:02:44.712 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 13:02:44.712 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 13:02:44.713 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 13:02:44.713 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 13:02:44.713 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 13:02:44.713 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 13:02:44.713 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 13:02:44.713 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 13:02:44.724 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 13:02:44.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/04 13:02:44.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/04 13:02:44.726 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=30060] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 13:02:44.726 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30060] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/04 13:02:44.726 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=30060] [disk-quota=348.5GiB] [2025/04/04 13:02:44.733 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30060] [task-type=ImportInto] [server-id=:4000] [subtaskID=30113] [step=import] [2025/04/04 13:02:44.733 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30060] [step=import] [subtask-id=30113] [2025/04/04 13:02:44.736 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_test_write_speed`.`t`:0] [engineUUID=9b4a6271-0aef-5059-a34e-0bbb1ee21829] [2025/04/04 13:02:44.739 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_test_write_speed`.`t`:-1] [engineUUID=44c71187-930f-542d-8bfe-d13dfaf0891c] [2025/04/04 13:02:44.739 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=548] [2025/04/04 13:02:44.746 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=30060] [mode=Import] [2025/04/04 13:02:44.765 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=30060] [2025/04/04 13:02:44.797 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=548] [key=speed-test.csv:0] [2025/04/04 13:02:44.824 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=548] [key=speed-test.csv:0] [readDur=5.708343ms] [encodeDur=16.765972ms] [checksum="{cksum=16176383463214450733,size=34744,kvs=1000}"] [deliverDur=2.45141ms] [type=file] [takeTime=26.712866ms] [] [2025/04/04 13:02:44.825 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=34744] [kvs=1000] [files=1] [sstFileSize=11223] [file=/tmp/tidb/import-4000/30060/9b4a6271-0aef-5059-a34e-0bbb1ee21829.sst/2d2b4356-264d-4267-a5d5-cb30ef2016ae.sst] [firstKey=7480000000000002245F728000000000000001] [lastKey=7480000000000002245F7280000000000003E8] [2025/04/04 13:02:44.825 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=30060] [step=import] [engine-id=0] [2025/04/04 13:02:44.825 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=30060] [step=import] [engine-id=0] [2025/04/04 13:02:44.825 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_test_write_speed`.`t`:0] [engineUUID=9b4a6271-0aef-5059-a34e-0bbb1ee21829] [2025/04/04 13:02:44.827 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_test_write_speed`.`t`:0] [engineUUID=9b4a6271-0aef-5059-a34e-0bbb1ee21829] [takeTime=1.989452ms] [] [2025/04/04 13:02:44.827 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_test_write_speed`.`t`:0] [engineUUID=9b4a6271-0aef-5059-a34e-0bbb1ee21829] [retryCnt=0] [2025/04/04 13:02:44.831 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 13:02:44.853 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=9b4a6271-0aef-5059-a34e-0bbb1ee21829] ["region ranges"=1] [count=1000] [size=34744] [2025/04/04 13:02:44.854 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 13:02:44.855 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000002245f728000000000000001] [endOfAllRanges=7480000000000002245f7280000000000003e9] [startKeyOfFirstRegion=7480000000000002ff245f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000002ff245f728000000000ff0003e90000000000fa] [2025/04/04 13:02:46.717 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/04 13:02:50.633 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 13:02:54.429 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=9b4a6271-0aef-5059-a34e-0bbb1ee21829] [size=34744] [kvs=1000] [importedSize=34744] [importedCount=1000] [2025/04/04 13:02:54.431 +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.603531583s] [] [2025/04/04 13:02:54.431 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_test_write_speed`.`t`:0] [engineUUID=9b4a6271-0aef-5059-a34e-0bbb1ee21829] [2025/04/04 13:02:54.432 +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.104647ms] [] [2025/04/04 13:02:54.432 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=30060] [step=import] [engine-id=0] [2025/04/04 13:02:54.432 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_test_write_speed`.`t`:-1] [engineUUID=44c71187-930f-542d-8bfe-d13dfaf0891c] [2025/04/04 13:02:54.434 +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.717648ms] [] [2025/04/04 13:02:54.434 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_test_write_speed`.`t`:-1] [engineUUID=44c71187-930f-542d-8bfe-d13dfaf0891c] [retryCnt=0] [2025/04/04 13:02:54.438 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=44c71187-930f-542d-8bfe-d13dfaf0891c] [2025/04/04 13:02:54.438 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_test_write_speed`.`t`:-1] [engineUUID=44c71187-930f-542d-8bfe-d13dfaf0891c] [retryCnt=0] [takeTime=4.643194ms] [] [2025/04/04 13:02:54.439 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_test_write_speed`.`t`:-1] [engineUUID=44c71187-930f-542d-8bfe-d13dfaf0891c] [2025/04/04 13:02:54.440 +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.119µs] [] [2025/04/04 13:02:54.440 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=30060] [step=import] [subtask-id=30113] [takeTime=9.706937258s] [] [2025/04/04 13:02:54.440 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30060] [task-type=ImportInto] [server-id=:4000] [subtaskID=30113] [step=import] [takeTime=9.70710369s] [] [2025/04/04 13:02:54.545 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30060] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 13:02:54.546 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30060] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:02:54.547 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30060] [curr-step=import] [next-step=post-process] [2025/04/04 13:02:54.547 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=30060] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 13:02:54.576 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=30060] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":1000}"] [2025/04/04 13:02:54.577 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30060] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 13:02:54.577 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30060] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/04 13:02:54.582 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=30060] [task-type=ImportInto] [server-id=:4000] [2025/04/04 13:02:54.582 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30060] [step=import] [2025/04/04 13:02:54.584 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 13:02:54.584 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 13:02:54.584 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 13:02:54.584 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 13:02:54.584 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 13:02:54.584 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 13:02:54.585 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 13:02:54.585 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:02:54.585 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:02:54.585 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-59] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:02:54.585 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:02:54.585 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 13:02:54.587 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 13:02:54.587 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:02:54.587 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:02:54.587 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:02:54.587 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30060] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [takeTime=9.861276358s] [] [2025/04/04 13:02:54.587 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30060] [type=ImportInto] [2025/04/04 13:02:54.697 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30060] [type=ImportInto] [concurrency=8] [remaining-slots=44] [2025/04/04 13:02:54.717 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30060] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/04 13:02:54.724 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30060] [task-type=ImportInto] [server-id=:4000] [subtaskID=30114] [step=post-process] [2025/04/04 13:02:54.724 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=30060] [step=post-process] [subtask-id=30114] [2025/04/04 13:02:54.724 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=30060] [step=post-process] [subtask-id=30114] [2025/04/04 13:02:54.724 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=30060] [step=post-process] [subtask-id=30114] [2025/04/04 13:02:54.730 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=30060] [step=post-process] [subtask-id=30114] [takeTime=5.721937ms] [] [2025/04/04 13:02:54.730 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=30060] [step=post-process] [subtask-id=30114] [groupId=-1] [size=34744] [kvs=1000] [checksum=16176383463214450733] [2025/04/04 13:02:54.730 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=30060] [step=post-process] [subtask-id=30114] [checksum="{cksum=16176383463214450733,size=34744,kvs=1000}"] [2025/04/04 13:02:54.730 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=30060] [step=post-process] [subtask-id=30114] [weight=30] [2025/04/04 13:02:54.730 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=30060] [step=post-process] [subtask-id=30114] [concurrency=15] [2025/04/04 13:02:54.733 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=548] [physicalTableID=548] [indexID=-1] [checksum=16176383463214450733] [totalKvs=1000] [totalBytes=34744] [2025/04/04 13:02:54.733 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 13:02:54.733 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=30060] [step=post-process] [subtask-id=30114] [local="{cksum=16176383463214450733,size=34744,kvs=1000}"] [2025/04/04 13:02:54.733 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=30060] [step=post-process] [subtask-id=30114] [takeTime=9.047514ms] [] [2025/04/04 13:02:54.733 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=30060] [step=post-process] [subtask-id=30114] [takeTime=9.233136ms] [] [2025/04/04 13:02:54.733 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30060] [task-type=ImportInto] [server-id=:4000] [subtaskID=30114] [step=post-process] [takeTime=9.372692ms] [] [2025/04/04 13:02:54.746 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30060] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 13:02:54.746 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30060] [step=post-process] [state=running] [] [2025/04/04 13:02:54.748 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=30060] [2025/04/04 13:02:54.754 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 13:02:54.777 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30060] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [takeTime=60.238193ms] [] [2025/04/04 13:02:54.777 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30060] [type=ImportInto] [2025/04/04 13:02:54.840 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30060] [2025/04/04 13:02:54.845 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 13:02:54.845 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30060] [2025/04/04 13:02:54.867 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 13:02:55.040 +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.582271463\n# Parse_time: 0.000101128\n# Compile_time: 0.000434208\n# Rewrite_time: 0.000137412\n# Optimize_time: 0.0005204\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('RvBFMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjEwLjZzLCBvcGVuOjc2M25zLCBjbG9zZTo3OTRucywgbG9vcHM6MglOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('YfBMCl0KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWix0aW1lOjEwLjZzLCBvcGVuOjc2M25zLCBjbG9zZTo3OTRucywgbG9vcHM6MnD///8JAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.0000187\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.59s) === NAME TestImportInto === RUN TestImportInto/TestMultiValueIndex [2025/04/04 13:02:55.058 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:550, Type:drop schema, State:queueing, SchemaState:public, SchemaID:537, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:55.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="DROP DATABASE IF EXISTS load_csv;"] [2025/04/04 13:02:55.058 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:550, Type:drop schema, State:queueing, SchemaState:public, SchemaID:537, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:55.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:02:55.063 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=550] [conn=2] [job="ID:550, Type:drop schema, State:queueing, SchemaState:public, SchemaID:537, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:55.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:55.078 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=436] [neededSchemaVersion=437] ["elapsed time"=198.358µs] [gotSchemaVersion=437] [phyTblIDs="[541]"] [actionTypes="[2]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 13:02:55.082 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=550] [version=437] [2025/04/04 13:02:55.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=437] ["take time"=7.356073ms] [job="ID:550, Type:drop schema, State:running, SchemaState:write only, SchemaID:537, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:55.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:55.092 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=550] [conn=2] [job="ID:550, Type:drop schema, State:running, SchemaState:write only, SchemaID:537, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:55.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:55.105 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=437] [neededSchemaVersion=438] ["elapsed time"=132.922µs] [gotSchemaVersion=438] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 13:02:55.109 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=550] [version=438] [2025/04/04 13:02:55.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=438] ["take time"=7.444786ms] [job="ID:550, Type:drop schema, State:running, SchemaState:delete only, SchemaID:537, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:55.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:55.118 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=550] [conn=2] [job="ID:550, Type:drop schema, State:running, SchemaState:delete only, SchemaID:537, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:55.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:55.123 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/04 13:02:55.132 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=438] [neededSchemaVersion=439] ["elapsed time"=150.129µs] [gotSchemaVersion=439] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 13:02:55.135 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=550] [version=439] [2025/04/04 13:02:55.137 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=439] ["take time"=5.508561ms] [job="ID:550, Type:drop schema, State:done, SchemaState:none, SchemaID:537, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:55.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:55.146 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=550] [tableIDs="[541]"] [comment="drop schema: table IDs"] [2025/04/04 13:02:55.150 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=550] [jobType="drop schema"] [2025/04/04 13:02:55.151 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=550] [conn=2] [job="ID:550, Type:drop schema, State:synced, SchemaState:none, SchemaID:537, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:55.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:55.166 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=550] [2025/04/04 13:02:55.167 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=439] [cur_db=fail_job_after_import] [sql="DROP DATABASE IF EXISTS load_csv;"] [user=root@%] [2025/04/04 13:02:55.177 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:552, Type:create schema, State:queueing, SchemaState:none, SchemaID:551, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:55.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE load_csv;"] [2025/04/04 13:02:55.178 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:552, Type:create schema, State:queueing, SchemaState:none, SchemaID:551, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:55.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:02:55.183 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=552] [conn=2] [job="ID:552, Type:create schema, State:queueing, SchemaState:none, SchemaID:551, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:55.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:55.196 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=439] [neededSchemaVersion=440] ["elapsed time"=673.127µs] [gotSchemaVersion=440] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 13:02:55.200 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=552] [version=440] [2025/04/04 13:02:55.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=440] ["take time"=7.736711ms] [job="ID:552, Type:create schema, State:done, SchemaState:public, SchemaID:551, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:55.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:55.211 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=552] [conn=2] [job="ID:552, Type:create schema, State:synced, SchemaState:public, SchemaID:551, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:55.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:55.221 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=552] [2025/04/04 13:02:55.221 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=440] [cur_db=fail_job_after_import] [sql="CREATE DATABASE load_csv;"] [user=root@%] [2025/04/04 13:02:55.234 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:554, Type:create table, State:queueing, SchemaState:none, SchemaID:551, TableID:553, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:55.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE load_csv.t (\n\t\ti INT, j JSON,\n\t\tKEY idx ((cast(j as signed array)))\n\t\t);"] [2025/04/04 13:02:55.234 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:554, Type:create table, State:queueing, SchemaState:none, SchemaID:551, TableID:553, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:55.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:02:55.240 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=554] [conn=2] [job="ID:554, Type:create table, State:queueing, SchemaState:none, SchemaID:551, TableID:553, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:55.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:55.244 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 553, Table Name: t)"] [2025/04/04 13:02:55.260 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=440] [neededSchemaVersion=441] ["elapsed time"=1.755436ms] [gotSchemaVersion=441] [phyTblIDs="[553]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 13:02:55.263 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=554] [version=441] [2025/04/04 13:02:55.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=441] ["take time"=8.120508ms] [job="ID:554, Type:create table, State:done, SchemaState:public, SchemaID:551, TableID:553, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:55.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:55.275 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=554] [conn=2] [job="ID:554, Type:create table, State:synced, SchemaState:public, SchemaID:551, TableID:553, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:55.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:55.286 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=554] [2025/04/04 13:02:55.286 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=441] [cur_db=fail_job_after_import] [sql="CREATE TABLE load_csv.t (\n\t\ti INT, j JSON,\n\t\tKEY idx ((cast(j as signed array)))\n\t\t);"] [user=root@%] [2025/04/04 13:02:55.293 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:55.337 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load-csv/1.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"skip_rows\":\"1\"}}"] [dist-task-enabled=true] [2025/04/04 13:02:55.358 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30061] [task-id=30061] [data-size=27B] [thread-cnt=8] [global-sort=false] [2025/04/04 13:02:55.373 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30061] [2025/04/04 13:02:55.373 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=30061] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/04 13:02:55.475 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30061] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 13:02:55.476 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30061] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:02:55.478 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30061] [curr-step=init] [next-step=import] [2025/04/04 13:02:55.486 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:55.488 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 13:02:55.488 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=27] [2025/04/04 13:02:55.488 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=27] [cost=43.705µs] [2025/04/04 13:02:55.488 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=135.478µs] [] [2025/04/04 13:02:55.488 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30061] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 13:02:55.488 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30061] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/04 13:02:55.526 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30061] [type=ImportInto] [concurrency=8] [remaining-slots=44] [2025/04/04 13:02:55.545 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30061] [step=import] [2025/04/04 13:02:55.546 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:55.553 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 13:02:55.553 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 13:02:55.554 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 13:02:55.554 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 13:02:55.554 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 13:02:55.554 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 13:02:55.554 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 13:02:55.554 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 13:02:55.555 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 13:02:55.555 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 13:02:55.567 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 13:02:55.569 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 13:02:55.569 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 13:02:55.569 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=30061] [step=import] [data-buf-limit=236.3MiB] [per-index-buf-limit=78.77MiB] [index-buf-block-size=16MiB] [2025/04/04 13:02:55.569 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=30061] [disk-quota=348.5GiB] [2025/04/04 13:02:55.569 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30061] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/04 13:02:55.576 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30061] [task-type=ImportInto] [server-id=:4000] [subtaskID=30115] [step=import] [2025/04/04 13:02:55.576 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30061] [step=import] [subtask-id=30115] [2025/04/04 13:02:55.580 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [2025/04/04 13:02:55.581 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=30061] [mode=Import] [2025/04/04 13:02:55.583 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/04 13:02:55.584 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=553] [2025/04/04 13:02:55.610 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=30061] [2025/04/04 13:02:55.618 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=553] [key=1.csv:0] [2025/04/04 13:02:55.619 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=553] [key=1.csv:0] [readDur=76.407µs] [encodeDur=646.624µs] [checksum="{cksum=759382885805277567,size=388,kvs=8}"] [deliverDur=439.725µs] [type=file] [takeTime=1.473836ms] [] [2025/04/04 13:02:55.620 +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/30061/1e7b3aaf-1931-5e54-8538-256fb8e461db.sst/ec8babf8-1311-4f78-bf1b-e96536c4f6dc.sst] [firstKey=7480000000000002295F728000000000000001] [lastKey=7480000000000002295F728000000000000002] [2025/04/04 13:02:55.620 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=30061] [step=import] [engine-id=0] [2025/04/04 13:02:55.621 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=30061] [step=import] [engine-id=0] [2025/04/04 13:02:55.621 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [2025/04/04 13:02:55.623 +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.130534ms] [] [2025/04/04 13:02:55.623 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [retryCnt=0] [2025/04/04 13:02:55.627 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 13:02:55.649 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=1e7b3aaf-1931-5e54-8538-256fb8e461db] ["region ranges"=1] [count=2] [size=160] [2025/04/04 13:02:55.649 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 13:02:55.651 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000002295f728000000000000001] [endOfAllRanges=7480000000000002295f728000000000000003] [startKeyOfFirstRegion=7480000000000002ff295f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000002ff295f728000000000ff0000030000000000fa] [2025/04/04 13:02:55.661 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=1e7b3aaf-1931-5e54-8538-256fb8e461db] [size=160] [kvs=2] [importedSize=160] [importedCount=2] [2025/04/04 13:02:55.663 +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.096353ms] [] [2025/04/04 13:02:55.663 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [2025/04/04 13:02:55.664 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [takeTime=1.101198ms] [] [2025/04/04 13:02:55.664 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=30061] [step=import] [engine-id=0] [2025/04/04 13:02:55.664 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/04 13:02:55.664 +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/30061/922fc444-c86f-5359-8d65-4e59ab5cb948.sst/b3ba2a76-cf89-4cb4-8da7-ef75d93a8208.sst] [firstKey=7480000000000002295F698000000000000001038000000000000001038000000000000001] [lastKey=7480000000000002295F698000000000000001038000000000000004038000000000000002] [2025/04/04 13:02:55.667 +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.600274ms] [] [2025/04/04 13:02:55.667 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [retryCnt=0] [2025/04/04 13:02:55.671 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 13:02:55.692 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=922fc444-c86f-5359-8d65-4e59ab5cb948] ["region ranges"=1] [count=6] [size=228] [2025/04/04 13:02:55.693 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 13:02:55.694 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000002295f698000000000000001038000000000000001038000000000000001] [endOfAllRanges=7480000000000002295f69800000000000000103800000000000000403800000000000000200] [startKeyOfFirstRegion=7480000000000002ff295f698000000000ff0000010380000000ff0000000103800000ff0000000001000000fc] [endKeyOfLastRegion=7480000000000002ff295f698000000000ff0000010380000000ff0000000403800000ff0000000002000000fd] [2025/04/04 13:02:55.705 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=922fc444-c86f-5359-8d65-4e59ab5cb948] [size=228] [kvs=6] [importedSize=228] [importedCount=6] [2025/04/04 13:02:55.707 +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=39.822582ms] [] [2025/04/04 13:02:55.707 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/04 13:02:55.708 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [takeTime=964.183µs] [] [2025/04/04 13:02:55.708 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=30061] [step=import] [subtask-id=30115] [takeTime=131.939681ms] [] [2025/04/04 13:02:55.708 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30061] [task-type=ImportInto] [server-id=:4000] [subtaskID=30115] [step=import] [takeTime=132.18505ms] [] [2025/04/04 13:02:55.781 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30061] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 13:02:55.782 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30061] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:02:55.783 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30061] [curr-step=import] [next-step=post-process] [2025/04/04 13:02:55.783 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=30061] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 13:02:55.812 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=30061] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/04 13:02:55.814 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30061] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 13:02:55.814 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30061] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/04 13:02:55.851 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=30061] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 13:02:55.857 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30061] [step=import] [2025/04/04 13:02:55.861 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 13:02:55.861 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 13:02:55.861 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 13:02:55.861 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 13:02:55.861 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 13:02:55.861 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 13:02:55.861 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 13:02:55.861 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:02:55.861 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-60] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:02:55.861 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:02:55.861 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:02:55.861 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 13:02:55.863 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 13:02:55.864 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:02:55.864 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:02:55.864 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:02:55.864 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30061] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [takeTime=294.711287ms] [] [2025/04/04 13:02:55.865 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30061] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/04 13:02:55.872 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30061] [task-type=ImportInto] [server-id=:4000] [subtaskID=30116] [step=post-process] [2025/04/04 13:02:55.873 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=30061] [step=post-process] [subtask-id=30116] [2025/04/04 13:02:55.873 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=30061] [step=post-process] [subtask-id=30116] [2025/04/04 13:02:55.873 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=30061] [step=post-process] [subtask-id=30116] [2025/04/04 13:02:55.878 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=30061] [step=post-process] [subtask-id=30116] [takeTime=5.66169ms] [] [2025/04/04 13:02:55.878 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=30061] [step=post-process] [subtask-id=30116] [groupId=-1] [size=160] [kvs=2] [checksum=15615775900203205091] [2025/04/04 13:02:55.878 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=30061] [step=post-process] [subtask-id=30116] [groupId=1] [size=228] [kvs=6] [checksum=15150038536865480860] [2025/04/04 13:02:55.879 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=30061] [step=post-process] [subtask-id=30116] [checksum="{cksum=759382885805277567,size=388,kvs=8}"] [2025/04/04 13:02:55.879 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=30061] [step=post-process] [subtask-id=30116] [weight=30] [2025/04/04 13:02:55.879 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=30061] [step=post-process] [subtask-id=30116] [concurrency=15] [2025/04/04 13:02:55.884 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=553] [physicalTableID=553] [indexID=-1] [checksum=15615775900203205091] [totalKvs=2] [totalBytes=160] [2025/04/04 13:02:55.885 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=553] [physicalTableID=553] [indexID=1] [checksum=15150038536865480860] [totalKvs=6] [totalBytes=228] [2025/04/04 13:02:55.886 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 13:02:55.886 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=30061] [step=post-process] [subtask-id=30116] [local="{cksum=759382885805277567,size=388,kvs=8}"] [2025/04/04 13:02:55.886 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=30061] [step=post-process] [subtask-id=30116] [takeTime=13.090678ms] [] [2025/04/04 13:02:55.886 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=30061] [step=post-process] [subtask-id=30116] [takeTime=13.248489ms] [] [2025/04/04 13:02:55.886 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30061] [task-type=ImportInto] [server-id=:4000] [subtaskID=30116] [step=post-process] [takeTime=13.3961ms] [] [2025/04/04 13:02:55.914 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 13:02:55.979 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30061] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 13:02:55.980 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30061] [step=post-process] [state=running] [] [2025/04/04 13:02:55.982 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=30061] [2025/04/04 13:02:56.007 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30061] [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=141.437505ms] [] [2025/04/04 13:02:56.007 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30061] [type=ImportInto] [2025/04/04 13:02:56.076 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30061] [2025/04/04 13:02:56.082 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 13:02:56.082 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30061] [2025/04/04 13:02:56.105 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 13:02:56.274 +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.987273166\n# Parse_time: 0.000145085\n# Compile_time: 0.000689377\n# Rewrite_time: 0.000381259\n# Optimize_time: 0.000504221\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4Ni4ybXMsIG9wZW46NjQ2bnMsIGNsb3NlOjg2N25zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk4Ni4ybXMsIG9wZW46NjQ2bnMsIGNsb3NlOjg2N25zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.0000187\nIMPORT INTO `load_csv`.`t` FROM 'gs://test-load-csv/1.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH skip_rows=1;"] --- PASS: TestImportInto/TestMultiValueIndex (1.23s) === NAME TestImportInto === RUN TestImportInto/TestOtherCharset [2025/04/04 13:02:56.289 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:555, Type:drop schema, State:queueing, SchemaState:public, SchemaID:449, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:56.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="DROP DATABASE IF EXISTS load_charset;"] [2025/04/04 13:02:56.289 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:555, Type:drop schema, State:queueing, SchemaState:public, SchemaID:449, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:56.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:02:56.295 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=555] [conn=2] [job="ID:555, Type:drop schema, State:queueing, SchemaState:public, SchemaID:449, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:56.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:56.310 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=441] [neededSchemaVersion=442] ["elapsed time"=156.647µs] [gotSchemaVersion=442] [phyTblIDs="[453,457]"] [actionTypes="[2,2]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 13:02:56.314 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=555] [version=442] [2025/04/04 13:02:56.315 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=442] ["take time"=7.085305ms] [job="ID:555, Type:drop schema, State:running, SchemaState:write only, SchemaID:449, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:56.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:56.325 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=555] [conn=2] [job="ID:555, Type:drop schema, State:running, SchemaState:write only, SchemaID:449, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:56.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:56.337 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=442] [neededSchemaVersion=443] ["elapsed time"=136.41µs] [gotSchemaVersion=443] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 13:02:56.340 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=555] [version=443] [2025/04/04 13:02:56.342 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=443] ["take time"=7.08275ms] [job="ID:555, Type:drop schema, State:running, SchemaState:delete only, SchemaID:449, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:56.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:56.351 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=555] [conn=2] [job="ID:555, Type:drop schema, State:running, SchemaState:delete only, SchemaID:449, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:56.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:56.357 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/04 13:02:56.367 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=443] [neededSchemaVersion=444] ["elapsed time"=134.311µs] [gotSchemaVersion=444] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 13:02:56.371 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=555] [version=444] [2025/04/04 13:02:56.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=444] ["take time"=7.200666ms] [job="ID:555, Type:drop schema, State:done, SchemaState:none, SchemaID:449, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:56.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:56.381 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=555] [tableIDs="[453,457]"] [comment="drop schema: table IDs"] [2025/04/04 13:02:56.386 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=555] [jobType="drop schema"] [2025/04/04 13:02:56.387 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=555] [conn=2] [job="ID:555, Type:drop schema, State:synced, SchemaState:none, SchemaID:449, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:56.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:56.403 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=555] [2025/04/04 13:02:56.403 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=444] [cur_db=fail_job_after_import] [sql="DROP DATABASE IF EXISTS load_charset;"] [user=root@%] [2025/04/04 13:02:56.414 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:557, Type:create schema, State:queueing, SchemaState:none, SchemaID:556, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:56.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE load_charset;"] [2025/04/04 13:02:56.414 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:557, Type:create schema, State:queueing, SchemaState:none, SchemaID:556, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:56.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:02:56.420 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=557] [conn=2] [job="ID:557, Type:create schema, State:queueing, SchemaState:none, SchemaID:556, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:56.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:56.432 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=444] [neededSchemaVersion=445] ["elapsed time"=651.998µs] [gotSchemaVersion=445] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 13:02:56.436 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=557] [version=445] [2025/04/04 13:02:56.437 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=445] ["take time"=7.166422ms] [job="ID:557, Type:create schema, State:done, SchemaState:public, SchemaID:556, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:56.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:56.447 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=557] [conn=2] [job="ID:557, Type:create schema, State:synced, SchemaState:public, SchemaID:556, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:56.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:56.457 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=557] [2025/04/04 13:02:56.457 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=445] [cur_db=fail_job_after_import] [sql="CREATE DATABASE load_charset;"] [user=root@%] [2025/04/04 13:02:56.470 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:559, Type:create table, State:queueing, SchemaState:none, SchemaID:556, TableID:558, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:56.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:02:56.470 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:559, Type:create table, State:queueing, SchemaState:none, SchemaID:556, TableID:558, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:56.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE load_charset.utf8 (\n\t\ti INT, j VARCHAR(255)\n\t\t) CHARACTER SET utf8;"] [2025/04/04 13:02:56.475 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=559] [conn=2] [job="ID:559, Type:create table, State:queueing, SchemaState:none, SchemaID:556, TableID:558, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:56.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:56.479 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 558, Table Name: utf8)"] [2025/04/04 13:02:56.493 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=445] [neededSchemaVersion=446] ["elapsed time"=1.596121ms] [gotSchemaVersion=446] [phyTblIDs="[558]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 13:02:56.496 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=559] [version=446] [2025/04/04 13:02:56.498 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=446] ["take time"=8.611431ms] [job="ID:559, Type:create table, State:done, SchemaState:public, SchemaID:556, TableID:558, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:56.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:56.509 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=559] [conn=2] [job="ID:559, Type:create table, State:synced, SchemaState:public, SchemaID:556, TableID:558, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:56.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:56.520 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=559] [2025/04/04 13:02:56.520 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=446] [cur_db=fail_job_after_import] [sql="CREATE TABLE load_charset.utf8 (\n\t\ti INT, j VARCHAR(255)\n\t\t) CHARACTER SET utf8;"] [user=root@%] [2025/04/04 13:02:56.533 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:561, Type:create table, State:queueing, SchemaState:none, SchemaID:556, TableID:560, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:56.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE load_charset.utf8mb4 (\n\t\ti INT, j VARCHAR(255)\n\t\t) CHARACTER SET utf8mb4;"] [2025/04/04 13:02:56.533 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:561, Type:create table, State:queueing, SchemaState:none, SchemaID:556, TableID:560, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:56.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:02:56.539 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=561] [conn=2] [job="ID:561, Type:create table, State:queueing, SchemaState:none, SchemaID:556, TableID:560, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:56.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:56.543 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 560, Table Name: utf8mb4)"] [2025/04/04 13:02:56.557 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=446] [neededSchemaVersion=447] ["elapsed time"=1.478117ms] [gotSchemaVersion=447] [phyTblIDs="[560]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 13:02:56.560 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=561] [version=447] [2025/04/04 13:02:56.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=447] ["take time"=8.5195ms] [job="ID:561, Type:create table, State:done, SchemaState:public, SchemaID:556, TableID:560, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:56.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:56.572 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=561] [conn=2] [job="ID:561, Type:create table, State:synced, SchemaState:public, SchemaID:556, TableID:560, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:56.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:56.583 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=561] [2025/04/04 13:02:56.583 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=447] [cur_db=fail_job_after_import] [sql="CREATE TABLE load_charset.utf8mb4 (\n\t\ti INT, j VARCHAR(255)\n\t\t) CHARACTER SET utf8mb4;"] [user=root@%] [2025/04/04 13:02:56.590 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:56.634 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/utf8.tsv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"character_set\":\"utf8\"}}"] [dist-task-enabled=true] [2025/04/04 13:02:56.652 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30062] [task-id=30062] [data-size=29B] [thread-cnt=8] [global-sort=false] [2025/04/04 13:02:56.666 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30062] [2025/04/04 13:02:56.667 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=30062] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/04 13:02:56.769 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30062] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 13:02:56.770 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30062] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:02:56.771 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30062] [curr-step=init] [next-step=import] [2025/04/04 13:02:56.778 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:56.781 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=utf8] [2025/04/04 13:02:56.781 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=utf8] [before=536870912000] [after=29] [2025/04/04 13:02:56.781 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=utf8] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=29] [cost=49.145µs] [2025/04/04 13:02:56.781 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=utf8] [takeTime=140.79µs] [] [2025/04/04 13:02:56.781 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30062] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 13:02:56.781 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30062] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/04 13:02:56.816 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30062] [type=ImportInto] [concurrency=8] [remaining-slots=44] [2025/04/04 13:02:56.835 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30062] [step=import] [2025/04/04 13:02:56.836 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:56.843 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 13:02:56.844 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 13:02:56.844 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 13:02:56.844 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 13:02:56.844 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 13:02:56.844 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 13:02:56.844 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 13:02:56.844 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 13:02:56.845 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 13:02:56.845 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 13:02:56.857 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 13:02:56.859 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 13:02:56.859 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=utf8] [quota=374.2GB] [2025/04/04 13:02:56.859 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=30062] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 13:02:56.859 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=utf8] [import-id=30062] [disk-quota=348.5GiB] [2025/04/04 13:02:56.859 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30062] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/04 13:02:56.866 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30062] [task-type=ImportInto] [server-id=:4000] [subtaskID=30117] [step=import] [2025/04/04 13:02:56.866 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30062] [step=import] [subtask-id=30117] [2025/04/04 13:02:56.869 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8`:0] [engineUUID=11721d0c-587e-542e-9623-9a54305cb4a0] [2025/04/04 13:02:56.873 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8`:-1] [engineUUID=540acf73-6ec3-5b55-85b2-3744f849f236] [2025/04/04 13:02:56.873 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=558] [2025/04/04 13:02:56.874 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=30062] [mode=Import] [2025/04/04 13:02:56.896 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=30062] [2025/04/04 13:02:56.913 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=558] [key=utf8.tsv:0] [2025/04/04 13:02:56.915 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=558] [key=utf8.tsv:0] [readDur=904.993µs] [encodeDur=246.484µs] [checksum="{cksum=13472460632354338593,size=88,kvs=2}"] [deliverDur=270.973µs] [type=file] [takeTime=1.720977ms] [] [2025/04/04 13:02:56.915 +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/30062/11721d0c-587e-542e-9623-9a54305cb4a0.sst/befc9a79-709b-418f-a093-7c5f5c0ad89b.sst] [firstKey=74800000000000022E5F728000000000000001] [lastKey=74800000000000022E5F728000000000000002] [2025/04/04 13:02:56.915 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=30062] [step=import] [engine-id=0] [2025/04/04 13:02:56.915 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=30062] [step=import] [engine-id=0] [2025/04/04 13:02:56.915 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8`:0] [engineUUID=11721d0c-587e-542e-9623-9a54305cb4a0] [2025/04/04 13:02:56.917 +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.08816ms] [] [2025/04/04 13:02:56.918 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8`:0] [engineUUID=11721d0c-587e-542e-9623-9a54305cb4a0] [retryCnt=0] [2025/04/04 13:02:56.922 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 13:02:56.943 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=11721d0c-587e-542e-9623-9a54305cb4a0] ["region ranges"=1] [count=2] [size=88] [2025/04/04 13:02:56.943 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 13:02:56.945 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000022e5f728000000000000001] [endOfAllRanges=74800000000000022e5f728000000000000003] [startKeyOfFirstRegion=7480000000000002ff2e5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000002ff2e5f728000000000ff0000030000000000fa] [2025/04/04 13:02:56.955 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=11721d0c-587e-542e-9623-9a54305cb4a0] [size=88] [kvs=2] [importedSize=88] [importedCount=2] [2025/04/04 13:02:56.957 +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=39.114005ms] [] [2025/04/04 13:02:56.957 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8`:0] [engineUUID=11721d0c-587e-542e-9623-9a54305cb4a0] [2025/04/04 13:02:56.958 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8`:0] [engineUUID=11721d0c-587e-542e-9623-9a54305cb4a0] [takeTime=1.012716ms] [] [2025/04/04 13:02:56.958 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=30062] [step=import] [engine-id=0] [2025/04/04 13:02:56.958 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8`:-1] [engineUUID=540acf73-6ec3-5b55-85b2-3744f849f236] [2025/04/04 13:02:56.959 +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.483503ms] [] [2025/04/04 13:02:56.960 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8`:-1] [engineUUID=540acf73-6ec3-5b55-85b2-3744f849f236] [retryCnt=0] [2025/04/04 13:02:56.963 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=540acf73-6ec3-5b55-85b2-3744f849f236] [2025/04/04 13:02:56.963 +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.451304ms] [] [2025/04/04 13:02:56.963 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8`:-1] [engineUUID=540acf73-6ec3-5b55-85b2-3744f849f236] [2025/04/04 13:02:56.964 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8`:-1] [engineUUID=540acf73-6ec3-5b55-85b2-3744f849f236] [takeTime=792.264µs] [] [2025/04/04 13:02:56.964 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=30062] [step=import] [subtask-id=30117] [takeTime=98.065638ms] [] [2025/04/04 13:02:56.964 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30062] [task-type=ImportInto] [server-id=:4000] [subtaskID=30117] [step=import] [takeTime=98.213461ms] [] [2025/04/04 13:02:57.074 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30062] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 13:02:57.075 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30062] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:02:57.076 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30062] [curr-step=import] [next-step=post-process] [2025/04/04 13:02:57.076 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=30062] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 13:02:57.105 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=30062] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/04 13:02:57.107 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30062] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 13:02:57.107 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30062] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/04 13:02:57.108 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=30062] [task-type=ImportInto] [server-id=:4000] [2025/04/04 13:02:57.108 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30062] [step=import] [2025/04/04 13:02:57.111 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 13:02:57.111 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 13:02:57.111 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 13:02:57.111 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 13:02:57.111 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 13:02:57.111 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 13:02:57.111 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 13:02:57.111 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:02:57.111 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-61] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:02:57.111 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:02:57.111 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:02:57.111 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 13:02:57.114 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 13:02:57.114 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:02:57.114 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:02:57.114 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:02:57.114 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30062] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [takeTime=254.966623ms] [] [2025/04/04 13:02:57.114 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30062] [type=ImportInto] [2025/04/04 13:02:57.136 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30062] [type=ImportInto] [concurrency=8] [remaining-slots=44] [2025/04/04 13:02:57.156 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30062] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/04 13:02:57.164 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30062] [task-type=ImportInto] [server-id=:4000] [subtaskID=30118] [step=post-process] [2025/04/04 13:02:57.164 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=30062] [step=post-process] [subtask-id=30118] [2025/04/04 13:02:57.164 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=30062] [step=post-process] [subtask-id=30118] [2025/04/04 13:02:57.164 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=30062] [step=post-process] [subtask-id=30118] [2025/04/04 13:02:57.170 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=30062] [step=post-process] [subtask-id=30118] [takeTime=5.674075ms] [] [2025/04/04 13:02:57.170 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=30062] [step=post-process] [subtask-id=30118] [groupId=-1] [size=88] [kvs=2] [checksum=13472460632354338593] [2025/04/04 13:02:57.170 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=30062] [step=post-process] [subtask-id=30118] [checksum="{cksum=13472460632354338593,size=88,kvs=2}"] [2025/04/04 13:02:57.170 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=30062] [step=post-process] [subtask-id=30118] [weight=30] [2025/04/04 13:02:57.170 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=30062] [step=post-process] [subtask-id=30118] [concurrency=15] [2025/04/04 13:02:57.172 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=558] [physicalTableID=558] [indexID=-1] [checksum=13472460632354338593] [totalKvs=2] [totalBytes=88] [2025/04/04 13:02:57.172 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 13:02:57.172 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=30062] [step=post-process] [subtask-id=30118] [local="{cksum=13472460632354338593,size=88,kvs=2}"] [2025/04/04 13:02:57.172 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=30062] [step=post-process] [subtask-id=30118] [takeTime=8.464931ms] [] [2025/04/04 13:02:57.172 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=30062] [step=post-process] [subtask-id=30118] [takeTime=8.598694ms] [] [2025/04/04 13:02:57.172 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30062] [task-type=ImportInto] [server-id=:4000] [subtaskID=30118] [step=post-process] [takeTime=8.731984ms] [] [2025/04/04 13:02:57.197 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 13:02:57.275 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30062] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 13:02:57.275 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30062] [step=post-process] [state=running] [] [2025/04/04 13:02:57.277 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=30062] [2025/04/04 13:02:57.293 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30062] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [takeTime=136.554462ms] [] [2025/04/04 13:02:57.293 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30062] [type=ImportInto] [2025/04/04 13:02:57.369 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30062] [2025/04/04 13:02:57.375 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 13:02:57.375 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30062] [2025/04/04 13:02:57.396 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 13:02:57.568 +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.984783501\n# Parse_time: 0.000111895\n# Compile_time: 0.000559452\n# Rewrite_time: 0.000183444\n# Optimize_time: 0.000290255\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('SvBJMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4My44bXMsIG9wZW46ODIzbnMsIGNsb3NlOjEuMDTCtXMsIGxvb3BzOjIJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('ZfBSCmEKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWjB0aW1lOjk4My44bXMsIG9wZW46ODIzbnMsIGNsb3NlOjEuMDTCtXMsIGxvb3BzOjJw//////8BAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.0000187\nIMPORT INTO `load_charset`.`utf8` FROM 'gs://test-load/utf8.tsv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH character_set=_UTF8MB4'utf8';"] [2025/04/04 13:02:57.577 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:57.625 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/utf8.tsv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"character_set\":\"utf8\"}}"] [dist-task-enabled=true] [2025/04/04 13:02:57.643 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30063] [task-id=30063] [data-size=29B] [thread-cnt=8] [global-sort=false] [2025/04/04 13:02:57.657 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30063] [2025/04/04 13:02:57.657 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=30063] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/04 13:02:57.759 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30063] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 13:02:57.760 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30063] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:02:57.761 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30063] [curr-step=init] [next-step=import] [2025/04/04 13:02:57.768 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:57.770 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=utf8mb4] [2025/04/04 13:02:57.770 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=utf8mb4] [before=536870912000] [after=29] [2025/04/04 13:02:57.770 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=utf8mb4] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=29] [cost=46.247µs] [2025/04/04 13:02:57.770 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=utf8mb4] [takeTime=131.118µs] [] [2025/04/04 13:02:57.770 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30063] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 13:02:57.770 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30063] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/04 13:02:57.805 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30063] [type=ImportInto] [concurrency=8] [remaining-slots=44] [2025/04/04 13:02:57.825 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30063] [step=import] [2025/04/04 13:02:57.825 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:57.832 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 13:02:57.832 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 13:02:57.833 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 13:02:57.833 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 13:02:57.833 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 13:02:57.833 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 13:02:57.833 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 13:02:57.833 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 13:02:57.834 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 13:02:57.834 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 13:02:57.845 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 13:02:57.847 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 13:02:57.847 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=utf8mb4] [quota=374.2GB] [2025/04/04 13:02:57.847 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=30063] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 13:02:57.847 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=utf8mb4] [import-id=30063] [disk-quota=348.5GiB] [2025/04/04 13:02:57.847 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30063] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/04 13:02:57.854 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30063] [task-type=ImportInto] [server-id=:4000] [subtaskID=30119] [step=import] [2025/04/04 13:02:57.854 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30063] [step=import] [subtask-id=30119] [2025/04/04 13:02:57.858 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:0] [engineUUID=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [2025/04/04 13:02:57.861 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:-1] [engineUUID=e89504af-26b5-5340-ae2e-218c1dc24988] [2025/04/04 13:02:57.861 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=560] [2025/04/04 13:02:57.865 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=30063] [mode=Import] [2025/04/04 13:02:57.884 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=30063] [2025/04/04 13:02:57.900 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=560] [key=utf8.tsv:0] [2025/04/04 13:02:57.902 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=560] [key=utf8.tsv:0] [readDur=861.526µs] [encodeDur=443.805µs] [checksum="{cksum=13472460632354338593,size=88,kvs=2}"] [deliverDur=263.152µs] [type=file] [takeTime=1.847026ms] [] [2025/04/04 13:02:57.903 +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/30063/26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b.sst/bded8615-8c36-45ec-a4d7-2d4598e464e4.sst] [firstKey=7480000000000002305F728000000000000001] [lastKey=7480000000000002305F728000000000000002] [2025/04/04 13:02:57.903 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=30063] [step=import] [engine-id=0] [2025/04/04 13:02:57.903 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=30063] [step=import] [engine-id=0] [2025/04/04 13:02:57.903 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:0] [engineUUID=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [2025/04/04 13:02:57.905 +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.826453ms] [] [2025/04/04 13:02:57.905 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:0] [engineUUID=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [retryCnt=0] [2025/04/04 13:02:57.909 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 13:02:57.931 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] ["region ranges"=1] [count=2] [size=88] [2025/04/04 13:02:57.931 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 13:02:57.933 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000002305f728000000000000001] [endOfAllRanges=7480000000000002305f728000000000000003] [startKeyOfFirstRegion=7480000000000002ff305f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000002ff305f728000000000ff0000030000000000fa] [2025/04/04 13:02:57.944 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [size=88] [kvs=2] [importedSize=88] [importedCount=2] [2025/04/04 13:02:57.945 +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=39.719299ms] [] [2025/04/04 13:02:57.945 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:0] [engineUUID=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [2025/04/04 13:02:57.946 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:0] [engineUUID=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [takeTime=1.256729ms] [] [2025/04/04 13:02:57.947 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=30063] [step=import] [engine-id=0] [2025/04/04 13:02:57.947 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:-1] [engineUUID=e89504af-26b5-5340-ae2e-218c1dc24988] [2025/04/04 13:02:57.948 +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.632439ms] [] [2025/04/04 13:02:57.948 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:-1] [engineUUID=e89504af-26b5-5340-ae2e-218c1dc24988] [retryCnt=0] [2025/04/04 13:02:57.952 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=e89504af-26b5-5340-ae2e-218c1dc24988] [2025/04/04 13:02:57.952 +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.842576ms] [] [2025/04/04 13:02:57.952 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:-1] [engineUUID=e89504af-26b5-5340-ae2e-218c1dc24988] [2025/04/04 13:02:57.953 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:-1] [engineUUID=e89504af-26b5-5340-ae2e-218c1dc24988] [takeTime=965.032µs] [] [2025/04/04 13:02:57.953 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=30063] [step=import] [subtask-id=30119] [takeTime=99.228715ms] [] [2025/04/04 13:02:57.954 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30063] [task-type=ImportInto] [server-id=:4000] [subtaskID=30119] [step=import] [takeTime=99.382205ms] [] [2025/04/04 13:02:58.064 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30063] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 13:02:58.065 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30063] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:02:58.066 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30063] [curr-step=import] [next-step=post-process] [2025/04/04 13:02:58.066 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=30063] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 13:02:58.099 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=30063] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/04 13:02:58.100 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30063] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 13:02:58.101 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30063] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/04 13:02:58.101 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=30063] [task-type=ImportInto] [server-id=:4000] [2025/04/04 13:02:58.101 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30063] [step=import] [2025/04/04 13:02:58.104 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 13:02:58.104 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 13:02:58.104 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 13:02:58.104 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 13:02:58.104 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 13:02:58.104 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 13:02:58.104 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 13:02:58.104 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:02:58.104 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:02:58.104 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-62] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:02:58.104 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:02:58.104 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 13:02:58.107 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 13:02:58.107 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:02:58.107 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:02:58.107 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:02:58.107 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30063] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [takeTime=259.684274ms] [] [2025/04/04 13:02:58.107 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30063] [type=ImportInto] [2025/04/04 13:02:58.136 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30063] [type=ImportInto] [concurrency=8] [remaining-slots=44] [2025/04/04 13:02:58.156 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30063] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/04 13:02:58.163 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30063] [task-type=ImportInto] [server-id=:4000] [subtaskID=30120] [step=post-process] [2025/04/04 13:02:58.163 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=30063] [step=post-process] [subtask-id=30120] [2025/04/04 13:02:58.163 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=30063] [step=post-process] [subtask-id=30120] [2025/04/04 13:02:58.163 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=30063] [step=post-process] [subtask-id=30120] [2025/04/04 13:02:58.169 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=30063] [step=post-process] [subtask-id=30120] [takeTime=5.742852ms] [] [2025/04/04 13:02:58.169 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=30063] [step=post-process] [subtask-id=30120] [groupId=-1] [size=88] [kvs=2] [checksum=13472460632354338593] [2025/04/04 13:02:58.169 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=30063] [step=post-process] [subtask-id=30120] [checksum="{cksum=13472460632354338593,size=88,kvs=2}"] [2025/04/04 13:02:58.169 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=30063] [step=post-process] [subtask-id=30120] [weight=30] [2025/04/04 13:02:58.169 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=30063] [step=post-process] [subtask-id=30120] [concurrency=15] [2025/04/04 13:02:58.171 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=560] [physicalTableID=560] [indexID=-1] [checksum=13472460632354338593] [totalKvs=2] [totalBytes=88] [2025/04/04 13:02:58.171 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 13:02:58.171 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=30063] [step=post-process] [subtask-id=30120] [local="{cksum=13472460632354338593,size=88,kvs=2}"] [2025/04/04 13:02:58.171 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=30063] [step=post-process] [subtask-id=30120] [takeTime=8.225635ms] [] [2025/04/04 13:02:58.171 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=30063] [step=post-process] [subtask-id=30120] [takeTime=8.363306ms] [] [2025/04/04 13:02:58.171 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30063] [task-type=ImportInto] [server-id=:4000] [subtaskID=30120] [step=post-process] [takeTime=8.521416ms] [] [2025/04/04 13:02:58.198 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 13:02:58.263 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30063] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 13:02:58.264 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30063] [step=post-process] [state=running] [] [2025/04/04 13:02:58.266 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=30063] [2025/04/04 13:02:58.290 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30063] [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=133.841304ms] [] [2025/04/04 13:02:58.290 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30063] [type=ImportInto] [2025/04/04 13:02:58.359 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30063] [2025/04/04 13:02:58.365 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 13:02:58.365 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30063] [2025/04/04 13:02:58.386 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 13:02:58.559 +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.986548903\n# Parse_time: 0.000126724\n# Compile_time: 0.000541116\n# Rewrite_time: 0.000215785\n# Optimize_time: 0.000227672\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('SvBJMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4NS42bXMsIG9wZW46NjAzbnMsIGNsb3NlOjEuMDPCtXMsIGxvb3BzOjIJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('ZfBSCmEKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWjB0aW1lOjk4NS42bXMsIG9wZW46NjAzbnMsIGNsb3NlOjEuMDPCtXMsIGxvb3BzOjJw//////8BAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.0000187\nIMPORT INTO `load_charset`.`utf8mb4` FROM 'gs://test-load/utf8.tsv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH character_set=_UTF8MB4'utf8';"] [2025/04/04 13:02:58.575 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:563, Type:create table, State:queueing, SchemaState:none, SchemaID:556, TableID:562, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:58.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE load_charset.latin1 (\n\t\ti INT, j VARCHAR(255)\n\t\t) CHARACTER SET latin1;"] [2025/04/04 13:02:58.575 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:563, Type:create table, State:queueing, SchemaState:none, SchemaID:556, TableID:562, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:58.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:02:58.580 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=563] [conn=2] [job="ID:563, Type:create table, State:queueing, SchemaState:none, SchemaID:556, TableID:562, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:58.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:58.585 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 562, Table Name: latin1)"] [2025/04/04 13:02:58.599 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=447] [neededSchemaVersion=448] ["elapsed time"=1.526737ms] [gotSchemaVersion=448] [phyTblIDs="[562]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 13:02:58.602 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=563] [version=448] [2025/04/04 13:02:58.604 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=448] ["take time"=8.22364ms] [job="ID:563, Type:create table, State:done, SchemaState:public, SchemaID:556, TableID:562, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:58.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:58.614 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=563] [conn=2] [job="ID:563, Type:create table, State:synced, SchemaState:public, SchemaID:556, TableID:562, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:58.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:58.625 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=563] [2025/04/04 13:02:58.625 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=448] [cur_db=fail_job_after_import] [sql="CREATE TABLE load_charset.latin1 (\n\t\ti INT, j VARCHAR(255)\n\t\t) CHARACTER SET latin1;"] [user=root@%] [2025/04/04 13:02:58.631 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:58.676 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/latin1.tsv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"character_set\":\"latin1\"}}"] [dist-task-enabled=true] [2025/04/04 13:02:58.694 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30064] [task-id=30064] [data-size=13B] [thread-cnt=8] [global-sort=false] [2025/04/04 13:02:58.710 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30064] [2025/04/04 13:02:58.710 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=30064] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/04 13:02:58.813 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30064] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 13:02:58.814 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30064] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:02:58.815 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30064] [curr-step=init] [next-step=import] [2025/04/04 13:02:58.822 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:58.824 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=latin1] [2025/04/04 13:02:58.825 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=latin1] [before=536870912000] [after=13] [2025/04/04 13:02:58.825 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=latin1] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=13] [cost=45.57µs] [2025/04/04 13:02:58.825 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=latin1] [takeTime=144.682µs] [] [2025/04/04 13:02:58.825 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30064] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 13:02:58.825 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30064] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/04 13:02:58.856 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30064] [type=ImportInto] [concurrency=8] [remaining-slots=44] [2025/04/04 13:02:58.875 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30064] [step=import] [2025/04/04 13:02:58.875 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:58.883 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 13:02:58.883 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 13:02:58.884 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 13:02:58.884 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 13:02:58.884 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 13:02:58.884 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 13:02:58.884 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 13:02:58.884 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 13:02:58.884 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 13:02:58.884 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 13:02:58.896 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 13:02:58.898 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 13:02:58.898 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=latin1] [quota=374.2GB] [2025/04/04 13:02:58.898 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=30064] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 13:02:58.898 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=latin1] [import-id=30064] [disk-quota=348.5GiB] [2025/04/04 13:02:58.898 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30064] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/04 13:02:58.905 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30064] [task-type=ImportInto] [server-id=:4000] [subtaskID=30121] [step=import] [2025/04/04 13:02:58.905 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30064] [step=import] [subtask-id=30121] [2025/04/04 13:02:58.908 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`latin1`:0] [engineUUID=ece7d91b-221a-5440-8076-d026d7718798] [2025/04/04 13:02:58.912 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`latin1`:-1] [engineUUID=1774e91d-7263-56a9-bdea-f7aa1943b8e4] [2025/04/04 13:02:58.912 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=562] [2025/04/04 13:02:58.918 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=30064] [mode=Import] [2025/04/04 13:02:58.940 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=30064] [2025/04/04 13:02:58.951 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=562] [key=latin1.tsv:0] [2025/04/04 13:02:58.953 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=562] [key=latin1.tsv:0] [readDur=876.964µs] [encodeDur=265.086µs] [checksum="{cksum=14563297713045002223,size=84,kvs=2}"] [deliverDur=225.98µs] [type=file] [takeTime=1.661106ms] [] [2025/04/04 13:02:58.954 +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/30064/ece7d91b-221a-5440-8076-d026d7718798.sst/449baf78-3288-4013-85c5-3f7fc8c506fb.sst] [firstKey=7480000000000002325F728000000000000001] [lastKey=7480000000000002325F728000000000000002] [2025/04/04 13:02:58.954 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=30064] [step=import] [engine-id=0] [2025/04/04 13:02:58.954 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=30064] [step=import] [engine-id=0] [2025/04/04 13:02:58.954 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_charset`.`latin1`:0] [engineUUID=ece7d91b-221a-5440-8076-d026d7718798] [2025/04/04 13:02:58.956 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_charset`.`latin1`:0] [engineUUID=ece7d91b-221a-5440-8076-d026d7718798] [takeTime=1.828985ms] [] [2025/04/04 13:02:58.956 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_charset`.`latin1`:0] [engineUUID=ece7d91b-221a-5440-8076-d026d7718798] [retryCnt=0] [2025/04/04 13:02:58.960 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 13:02:58.982 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ece7d91b-221a-5440-8076-d026d7718798] ["region ranges"=1] [count=2] [size=84] [2025/04/04 13:02:58.983 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 13:02:58.984 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000002325f728000000000000001] [endOfAllRanges=7480000000000002325f728000000000000003] [startKeyOfFirstRegion=7480000000000002ff325f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000002ff325f728000000000ff0000030000000000fa] [2025/04/04 13:02:58.995 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ece7d91b-221a-5440-8076-d026d7718798] [size=84] [kvs=2] [importedSize=84] [importedCount=2] [2025/04/04 13:02:58.996 +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=39.844857ms] [] [2025/04/04 13:02:58.996 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`latin1`:0] [engineUUID=ece7d91b-221a-5440-8076-d026d7718798] [2025/04/04 13:02:58.997 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`latin1`:0] [engineUUID=ece7d91b-221a-5440-8076-d026d7718798] [takeTime=1.010945ms] [] [2025/04/04 13:02:58.997 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=30064] [step=import] [engine-id=0] [2025/04/04 13:02:58.997 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_charset`.`latin1`:-1] [engineUUID=1774e91d-7263-56a9-bdea-f7aa1943b8e4] [2025/04/04 13:02:58.999 +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.412992ms] [] [2025/04/04 13:02:58.999 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_charset`.`latin1`:-1] [engineUUID=1774e91d-7263-56a9-bdea-f7aa1943b8e4] [retryCnt=0] [2025/04/04 13:02:59.002 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=1774e91d-7263-56a9-bdea-f7aa1943b8e4] [2025/04/04 13:02:59.002 +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.562447ms] [] [2025/04/04 13:02:59.002 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`latin1`:-1] [engineUUID=1774e91d-7263-56a9-bdea-f7aa1943b8e4] [2025/04/04 13:02:59.003 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`latin1`:-1] [engineUUID=1774e91d-7263-56a9-bdea-f7aa1943b8e4] [takeTime=987.47µs] [] [2025/04/04 13:02:59.004 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=30064] [step=import] [subtask-id=30121] [takeTime=98.632438ms] [] [2025/04/04 13:02:59.004 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30064] [task-type=ImportInto] [server-id=:4000] [subtaskID=30121] [step=import] [takeTime=98.807221ms] [] [2025/04/04 13:02:59.018 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30064] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 13:02:59.019 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30064] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:02:59.020 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30064] [curr-step=import] [next-step=post-process] [2025/04/04 13:02:59.020 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=30064] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 13:02:59.049 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=30064] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/04 13:02:59.050 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30064] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 13:02:59.050 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30064] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/04 13:02:59.069 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=30064] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 13:02:59.076 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30064] [step=import] [2025/04/04 13:02:59.078 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 13:02:59.078 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 13:02:59.078 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 13:02:59.078 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 13:02:59.078 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 13:02:59.079 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 13:02:59.079 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:02:59.079 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 13:02:59.079 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:02:59.079 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:02:59.079 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 13:02:59.079 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-63] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:02:59.081 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 13:02:59.081 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:02:59.081 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:02:59.081 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:02:59.081 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30064] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [takeTime=182.833331ms] [] [2025/04/04 13:02:59.082 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30064] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/04 13:02:59.089 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30064] [task-type=ImportInto] [server-id=:4000] [subtaskID=30122] [step=post-process] [2025/04/04 13:02:59.089 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=30064] [step=post-process] [subtask-id=30122] [2025/04/04 13:02:59.089 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=30064] [step=post-process] [subtask-id=30122] [2025/04/04 13:02:59.089 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=30064] [step=post-process] [subtask-id=30122] [2025/04/04 13:02:59.095 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=30064] [step=post-process] [subtask-id=30122] [takeTime=5.896498ms] [] [2025/04/04 13:02:59.095 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=30064] [step=post-process] [subtask-id=30122] [groupId=-1] [size=84] [kvs=2] [checksum=14563297713045002223] [2025/04/04 13:02:59.095 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=30064] [step=post-process] [subtask-id=30122] [checksum="{cksum=14563297713045002223,size=84,kvs=2}"] [2025/04/04 13:02:59.095 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=30064] [step=post-process] [subtask-id=30122] [weight=30] [2025/04/04 13:02:59.095 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=30064] [step=post-process] [subtask-id=30122] [concurrency=15] [2025/04/04 13:02:59.097 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=562] [physicalTableID=562] [indexID=-1] [checksum=14563297713045002223] [totalKvs=2] [totalBytes=84] [2025/04/04 13:02:59.097 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 13:02:59.097 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=30064] [step=post-process] [subtask-id=30122] [local="{cksum=14563297713045002223,size=84,kvs=2}"] [2025/04/04 13:02:59.098 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=30064] [step=post-process] [subtask-id=30122] [takeTime=8.582843ms] [] [2025/04/04 13:02:59.098 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=30064] [step=post-process] [subtask-id=30122] [takeTime=8.718331ms] [] [2025/04/04 13:02:59.098 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30064] [task-type=ImportInto] [server-id=:4000] [subtaskID=30122] [step=post-process] [takeTime=8.865789ms] [] [2025/04/04 13:02:59.117 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30064] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 13:02:59.117 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30064] [step=post-process] [state=running] [] [2025/04/04 13:02:59.119 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=30064] [2025/04/04 13:02:59.122 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 13:02:59.142 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30064] [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=59.832374ms] [] [2025/04/04 13:02:59.142 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30064] [type=ImportInto] [2025/04/04 13:02:59.212 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30064] [2025/04/04 13:02:59.218 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 13:02:59.218 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30064] [2025/04/04 13:02:59.239 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 13:02:59.311 +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.685060475\n# Parse_time: 0.000086937\n# Compile_time: 0.000459361\n# Rewrite_time: 0.000153607\n# Optimize_time: 0.000223812\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY4NC4zbXMsIG9wZW46NjkxbnMsIGNsb3NlOjk2Nm5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY4NC4zbXMsIG9wZW46NjkxbnMsIGNsb3NlOjk2Nm5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.0000187\nIMPORT INTO `load_charset`.`latin1` FROM 'gs://test-load/latin1.tsv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH character_set=_UTF8MB4'latin1';"] [2025/04/04 13:02:59.325 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:565, Type:truncate table, State:queueing, SchemaState:none, SchemaID:556, TableID:560, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:59.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:02:59.325 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:565, Type:truncate table, State:queueing, SchemaState:none, SchemaID:556, TableID:560, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:59.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="TRUNCATE TABLE load_charset.utf8mb4;"] [2025/04/04 13:02:59.331 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=565] [conn=2] [job="ID:565, Type:truncate table, State:queueing, SchemaState:none, SchemaID:556, TableID:560, RowCount:0, ArgLen:0, start time: 2025-04-04 13:02:59.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:59.339 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 564, Table Name: utf8mb4, Old Table ID: 560, Old Table Name: utf8mb4)"] [2025/04/04 13:02:59.354 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=448] [neededSchemaVersion=449] ["elapsed time"=1.76116ms] [gotSchemaVersion=449] [phyTblIDs="[560,564]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 13:02:59.358 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=565] [version=449] [2025/04/04 13:02:59.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=449] ["take time"=9.678594ms] [job="ID:565, Type:truncate table, State:done, SchemaState:public, SchemaID:556, TableID:560, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:59.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:59.370 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=565] [tableIDs="[560]"] [comment="truncate table: table ID"] [2025/04/04 13:02:59.374 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=565] [jobType="truncate table"] [2025/04/04 13:02:59.375 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=565] [conn=2] [job="ID:565, Type:truncate table, State:synced, SchemaState:public, SchemaID:556, TableID:560, RowCount:0, ArgLen:1, start time: 2025-04-04 13:02:59.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:02:59.393 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=565] [2025/04/04 13:02:59.393 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=449] [cur_db=fail_job_after_import] [sql="TRUNCATE TABLE load_charset.utf8mb4;"] [user=root@%] [2025/04/04 13:02:59.399 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:59.448 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/latin1.tsv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"character_set\":\"latin1\"}}"] [dist-task-enabled=true] [2025/04/04 13:02:59.466 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30065] [task-id=30065] [data-size=13B] [thread-cnt=8] [global-sort=false] [2025/04/04 13:02:59.480 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30065] [2025/04/04 13:02:59.480 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=30065] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/04 13:02:59.583 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30065] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 13:02:59.584 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30065] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:02:59.585 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30065] [curr-step=init] [next-step=import] [2025/04/04 13:02:59.592 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:59.594 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=utf8mb4] [2025/04/04 13:02:59.595 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=utf8mb4] [before=536870912000] [after=13] [2025/04/04 13:02:59.595 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=utf8mb4] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=13] [cost=62.765µs] [2025/04/04 13:02:59.595 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=utf8mb4] [takeTime=160.427µs] [] [2025/04/04 13:02:59.595 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30065] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 13:02:59.595 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30065] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/04 13:02:59.626 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30065] [type=ImportInto] [concurrency=8] [remaining-slots=44] [2025/04/04 13:02:59.647 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30065] [step=import] [2025/04/04 13:02:59.647 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:02:59.655 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 13:02:59.656 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 13:02:59.656 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 13:02:59.656 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 13:02:59.656 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 13:02:59.656 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 13:02:59.656 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 13:02:59.656 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 13:02:59.657 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 13:02:59.657 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 13:02:59.668 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 13:02:59.670 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 13:02:59.670 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=utf8mb4] [quota=374.2GB] [2025/04/04 13:02:59.670 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=30065] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 13:02:59.670 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30065] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/04 13:02:59.670 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=utf8mb4] [import-id=30065] [disk-quota=348.5GiB] [2025/04/04 13:02:59.678 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30065] [task-type=ImportInto] [server-id=:4000] [subtaskID=30123] [step=import] [2025/04/04 13:02:59.678 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30065] [step=import] [subtask-id=30123] [2025/04/04 13:02:59.682 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:0] [engineUUID=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [2025/04/04 13:02:59.685 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:-1] [engineUUID=e89504af-26b5-5340-ae2e-218c1dc24988] [2025/04/04 13:02:59.685 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=564] [2025/04/04 13:02:59.688 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=30065] [mode=Import] [2025/04/04 13:02:59.707 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=30065] [2025/04/04 13:02:59.725 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=564] [key=latin1.tsv:0] [2025/04/04 13:02:59.727 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=564] [key=latin1.tsv:0] [readDur=928.145µs] [encodeDur=406.88µs] [checksum="{cksum=13059510685319569754,size=84,kvs=2}"] [deliverDur=231.009µs] [type=file] [takeTime=1.799254ms] [] [2025/04/04 13:02:59.728 +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/30065/26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b.sst/cab85a85-0c10-47d1-856f-5b0886167b84.sst] [firstKey=7480000000000002345F728000000000000001] [lastKey=7480000000000002345F728000000000000002] [2025/04/04 13:02:59.728 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=30065] [step=import] [engine-id=0] [2025/04/04 13:02:59.728 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=30065] [step=import] [engine-id=0] [2025/04/04 13:02:59.728 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:0] [engineUUID=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [2025/04/04 13:02:59.730 +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.959589ms] [] [2025/04/04 13:02:59.730 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:0] [engineUUID=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [retryCnt=0] [2025/04/04 13:02:59.734 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 13:02:59.756 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] ["region ranges"=1] [count=2] [size=84] [2025/04/04 13:02:59.757 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 13:02:59.758 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000002345f728000000000000001] [endOfAllRanges=7480000000000002345f728000000000000003] [startKeyOfFirstRegion=7480000000000002ff345f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000002ff345f728000000000ff0000030000000000fa] [2025/04/04 13:02:59.769 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [size=84] [kvs=2] [importedSize=84] [importedCount=2] [2025/04/04 13:02:59.770 +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=39.846877ms] [] [2025/04/04 13:02:59.770 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:0] [engineUUID=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [2025/04/04 13:02:59.771 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:0] [engineUUID=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [takeTime=1.058831ms] [] [2025/04/04 13:02:59.771 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=30065] [step=import] [engine-id=0] [2025/04/04 13:02:59.772 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:-1] [engineUUID=e89504af-26b5-5340-ae2e-218c1dc24988] [2025/04/04 13:02:59.773 +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.421409ms] [] [2025/04/04 13:02:59.773 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:-1] [engineUUID=e89504af-26b5-5340-ae2e-218c1dc24988] [retryCnt=0] [2025/04/04 13:02:59.777 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=e89504af-26b5-5340-ae2e-218c1dc24988] [2025/04/04 13:02:59.777 +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.516595ms] [] [2025/04/04 13:02:59.777 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:-1] [engineUUID=e89504af-26b5-5340-ae2e-218c1dc24988] [2025/04/04 13:02:59.777 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:-1] [engineUUID=e89504af-26b5-5340-ae2e-218c1dc24988] [takeTime=807.271µs] [] [2025/04/04 13:02:59.778 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=30065] [step=import] [subtask-id=30123] [takeTime=99.687625ms] [] [2025/04/04 13:02:59.778 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30065] [task-type=ImportInto] [server-id=:4000] [subtaskID=30123] [step=import] [takeTime=99.837769ms] [] [2025/04/04 13:02:59.887 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30065] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 13:02:59.888 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30065] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:02:59.889 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30065] [curr-step=import] [next-step=post-process] [2025/04/04 13:02:59.889 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=30065] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 13:02:59.922 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=30065] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/04 13:02:59.924 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30065] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 13:02:59.924 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30065] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/04 13:02:59.926 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=30065] [task-type=ImportInto] [server-id=:4000] [2025/04/04 13:02:59.926 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30065] [step=import] [2025/04/04 13:02:59.929 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 13:02:59.929 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 13:02:59.929 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 13:02:59.929 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 13:02:59.929 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 13:02:59.929 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 13:02:59.930 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 13:02:59.930 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:02:59.930 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:02:59.930 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-64] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:02:59.930 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:02:59.930 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 13:02:59.932 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 13:02:59.932 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:02:59.932 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:02:59.932 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:02:59.932 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30065] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [takeTime=261.585494ms] [] [2025/04/04 13:02:59.932 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30065] [type=ImportInto] [2025/04/04 13:02:59.956 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30065] [type=ImportInto] [concurrency=8] [remaining-slots=44] [2025/04/04 13:02:59.975 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30065] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/04 13:02:59.981 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30065] [task-type=ImportInto] [server-id=:4000] [subtaskID=30124] [step=post-process] [2025/04/04 13:02:59.981 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=30065] [step=post-process] [subtask-id=30124] [2025/04/04 13:02:59.982 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=30065] [step=post-process] [subtask-id=30124] [2025/04/04 13:02:59.982 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=30065] [step=post-process] [subtask-id=30124] [2025/04/04 13:02:59.988 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=30065] [step=post-process] [subtask-id=30124] [takeTime=6.100384ms] [] [2025/04/04 13:02:59.988 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=30065] [step=post-process] [subtask-id=30124] [groupId=-1] [size=84] [kvs=2] [checksum=13059510685319569754] [2025/04/04 13:02:59.988 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=30065] [step=post-process] [subtask-id=30124] [checksum="{cksum=13059510685319569754,size=84,kvs=2}"] [2025/04/04 13:02:59.988 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=30065] [step=post-process] [subtask-id=30124] [weight=30] [2025/04/04 13:02:59.988 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=30065] [step=post-process] [subtask-id=30124] [concurrency=15] [2025/04/04 13:02:59.990 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=564] [physicalTableID=564] [indexID=-1] [checksum=13059510685319569754] [totalKvs=2] [totalBytes=84] [2025/04/04 13:02:59.990 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 13:02:59.990 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=30065] [step=post-process] [subtask-id=30124] [local="{cksum=13059510685319569754,size=84,kvs=2}"] [2025/04/04 13:02:59.990 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=30065] [step=post-process] [subtask-id=30124] [takeTime=8.58857ms] [] [2025/04/04 13:02:59.990 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=30065] [step=post-process] [subtask-id=30124] [takeTime=8.782135ms] [] [2025/04/04 13:02:59.990 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30065] [task-type=ImportInto] [server-id=:4000] [subtaskID=30124] [step=post-process] [takeTime=8.945679ms] [] [2025/04/04 13:03:00.016 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 13:03:00.088 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30065] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 13:03:00.088 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30065] [step=post-process] [state=running] [] [2025/04/04 13:03:00.090 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=30065] [2025/04/04 13:03:00.104 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30065] [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=129.75048ms] [] [2025/04/04 13:03:00.105 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30065] [type=ImportInto] [2025/04/04 13:03:00.182 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30065] [2025/04/04 13:03:00.188 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 13:03:00.188 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30065] [2025/04/04 13:03:00.207 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 13:03:00.381 +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.987974308\n# Parse_time: 0.000097862\n# Compile_time: 0.000481183\n# Rewrite_time: 0.000158294\n# Optimize_time: 0.000258333\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4Ni44bXMsIG9wZW46ODkybnMsIGNsb3NlOjk2Mm5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk4Ni44bXMsIG9wZW46ODkybnMsIGNsb3NlOjk2Mm5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.0000187\nIMPORT INTO `load_charset`.`utf8mb4` FROM 'gs://test-load/latin1.tsv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH character_set=_UTF8MB4'latin1';"] [2025/04/04 13:03:00.396 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:567, Type:create table, State:queueing, SchemaState:none, SchemaID:556, TableID:566, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:00.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:03:00.396 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:567, Type:create table, State:queueing, SchemaState:none, SchemaID:556, TableID:566, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:00.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE load_charset.ascii (\n\t\tj VARCHAR(255)\n\t\t) CHARACTER SET ascii;"] [2025/04/04 13:03:00.401 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=567] [conn=2] [job="ID:567, Type:create table, State:queueing, SchemaState:none, SchemaID:556, TableID:566, RowCount:0, ArgLen:0, start time: 2025-04-04 13:03:00.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:00.406 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 566, Table Name: ascii)"] [2025/04/04 13:03:00.419 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=449] [neededSchemaVersion=450] ["elapsed time"=1.332478ms] [gotSchemaVersion=450] [phyTblIDs="[566]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 13:03:00.422 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=567] [version=450] [2025/04/04 13:03:00.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=450] ["take time"=8.2782ms] [job="ID:567, Type:create table, State:done, SchemaState:public, SchemaID:556, TableID:566, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:00.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:00.434 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=567] [conn=2] [job="ID:567, Type:create table, State:synced, SchemaState:public, SchemaID:556, TableID:566, RowCount:0, ArgLen:0, start time: 2025-04-04 13:03:00.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:00.446 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=567] [2025/04/04 13:03:00.447 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=450] [cur_db=fail_job_after_import] [sql="CREATE TABLE load_charset.ascii (\n\t\tj VARCHAR(255)\n\t\t) CHARACTER SET ascii;"] [user=root@%] [2025/04/04 13:03:00.460 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:569, Type:create table, State:queueing, SchemaState:none, SchemaID:556, TableID:568, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:00.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE load_charset.binary (\n\t\tj VARCHAR(255)\n\t\t) CHARACTER SET binary;"] [2025/04/04 13:03:00.460 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:569, Type:create table, State:queueing, SchemaState:none, SchemaID:556, TableID:568, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:00.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:03:00.466 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=569] [conn=2] [job="ID:569, Type:create table, State:queueing, SchemaState:none, SchemaID:556, TableID:568, RowCount:0, ArgLen:0, start time: 2025-04-04 13:03:00.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:00.471 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 568, Table Name: binary)"] [2025/04/04 13:03:00.486 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=450] [neededSchemaVersion=451] ["elapsed time"=1.769582ms] [gotSchemaVersion=451] [phyTblIDs="[568]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 13:03:00.489 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=569] [version=451] [2025/04/04 13:03:00.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=451] ["take time"=9.392634ms] [job="ID:569, Type:create table, State:done, SchemaState:public, SchemaID:556, TableID:568, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:00.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:00.502 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=569] [conn=2] [job="ID:569, Type:create table, State:synced, SchemaState:public, SchemaID:556, TableID:568, RowCount:0, ArgLen:0, start time: 2025-04-04 13:03:00.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:00.513 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=569] [2025/04/04 13:03:00.513 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=451] [cur_db=fail_job_after_import] [sql="CREATE TABLE load_charset.binary (\n\t\tj VARCHAR(255)\n\t\t) CHARACTER SET binary;"] [user=root@%] [2025/04/04 13:03:00.520 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:03:00.566 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/ascii.tsv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"character_set\":\"ascii\"}}"] [dist-task-enabled=true] [2025/04/04 13:03:00.583 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30066] [task-id=30066] [data-size=8B] [thread-cnt=8] [global-sort=false] [2025/04/04 13:03:00.598 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30066] [2025/04/04 13:03:00.598 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=30066] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/04 13:03:00.700 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30066] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 13:03:00.701 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30066] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:03:00.702 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30066] [curr-step=init] [next-step=import] [2025/04/04 13:03:00.709 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:03:00.712 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=ascii] [2025/04/04 13:03:00.712 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=ascii] [before=536870912000] [after=8] [2025/04/04 13:03:00.712 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=ascii] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=8] [cost=47.224µs] [2025/04/04 13:03:00.712 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=ascii] [takeTime=132.535µs] [] [2025/04/04 13:03:00.712 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30066] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 13:03:00.712 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30066] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/04 13:03:00.747 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30066] [type=ImportInto] [concurrency=8] [remaining-slots=44] [2025/04/04 13:03:00.766 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30066] [step=import] [2025/04/04 13:03:00.767 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:03:00.774 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 13:03:00.775 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 13:03:00.775 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 13:03:00.775 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 13:03:00.775 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 13:03:00.775 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 13:03:00.775 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 13:03:00.775 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 13:03:00.776 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 13:03:00.776 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 13:03:00.788 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 13:03:00.790 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 13:03:00.790 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=ascii] [quota=374.2GB] [2025/04/04 13:03:00.790 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=30066] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 13:03:00.790 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30066] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/04 13:03:00.790 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=ascii] [import-id=30066] [disk-quota=348.5GiB] [2025/04/04 13:03:00.798 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30066] [task-type=ImportInto] [server-id=:4000] [subtaskID=30125] [step=import] [2025/04/04 13:03:00.798 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30066] [step=import] [subtask-id=30125] [2025/04/04 13:03:00.802 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`ascii`:0] [engineUUID=61de7867-b9cf-5cd3-9fcf-c962f48b2a45] [2025/04/04 13:03:00.805 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`ascii`:-1] [engineUUID=1d3da499-4436-588e-b459-bd258b3acd6f] [2025/04/04 13:03:00.805 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=566] [2025/04/04 13:03:00.812 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=30066] [mode=Import] [2025/04/04 13:03:00.836 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=30066] [2025/04/04 13:03:00.849 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=566] [key=ascii.tsv:0] [2025/04/04 13:03:00.851 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=566] [key=ascii.tsv:0] [readDur=1.024565ms] [encodeDur=331.209µs] [checksum="{cksum=15945581673395202591,size=36,kvs=1}"] [deliverDur=251.56µs] [type=file] [takeTime=1.842545ms] [] [2025/04/04 13:03:00.851 +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/30066/61de7867-b9cf-5cd3-9fcf-c962f48b2a45.sst/55b92bff-f7c3-470f-8bf3-10ba188f7584.sst] [firstKey=7480000000000002365F728000000000000001] [lastKey=7480000000000002365F728000000000000001] [2025/04/04 13:03:00.852 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=30066] [step=import] [engine-id=0] [2025/04/04 13:03:00.852 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=30066] [step=import] [engine-id=0] [2025/04/04 13:03:00.852 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_charset`.`ascii`:0] [engineUUID=61de7867-b9cf-5cd3-9fcf-c962f48b2a45] [2025/04/04 13:03:00.854 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_charset`.`ascii`:0] [engineUUID=61de7867-b9cf-5cd3-9fcf-c962f48b2a45] [takeTime=2.025821ms] [] [2025/04/04 13:03:00.854 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_charset`.`ascii`:0] [engineUUID=61de7867-b9cf-5cd3-9fcf-c962f48b2a45] [retryCnt=0] [2025/04/04 13:03:00.858 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 13:03:00.879 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=61de7867-b9cf-5cd3-9fcf-c962f48b2a45] ["region ranges"=1] [count=1] [size=36] [2025/04/04 13:03:00.879 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 13:03:00.881 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000002365f728000000000000001] [endOfAllRanges=7480000000000002365f728000000000000002] [startKeyOfFirstRegion=7480000000000002ff365f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000002ff365f728000000000ff0000020000000000fa] [2025/04/04 13:03:00.892 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=61de7867-b9cf-5cd3-9fcf-c962f48b2a45] [size=36] [kvs=1] [importedSize=36] [importedCount=1] [2025/04/04 13:03:00.894 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_charset`.`ascii`:0] [engineUUID=61de7867-b9cf-5cd3-9fcf-c962f48b2a45] [retryCnt=0] [takeTime=39.840418ms] [] [2025/04/04 13:03:00.894 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`ascii`:0] [engineUUID=61de7867-b9cf-5cd3-9fcf-c962f48b2a45] [2025/04/04 13:03:00.895 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`ascii`:0] [engineUUID=61de7867-b9cf-5cd3-9fcf-c962f48b2a45] [takeTime=1.310954ms] [] [2025/04/04 13:03:00.895 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=30066] [step=import] [engine-id=0] [2025/04/04 13:03:00.895 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_charset`.`ascii`:-1] [engineUUID=1d3da499-4436-588e-b459-bd258b3acd6f] [2025/04/04 13:03:00.897 +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.397286ms] [] [2025/04/04 13:03:00.897 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_charset`.`ascii`:-1] [engineUUID=1d3da499-4436-588e-b459-bd258b3acd6f] [retryCnt=0] [2025/04/04 13:03:00.901 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=1d3da499-4436-588e-b459-bd258b3acd6f] [2025/04/04 13:03:00.901 +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.855616ms] [] [2025/04/04 13:03:00.901 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`ascii`:-1] [engineUUID=1d3da499-4436-588e-b459-bd258b3acd6f] [2025/04/04 13:03:00.902 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`ascii`:-1] [engineUUID=1d3da499-4436-588e-b459-bd258b3acd6f] [takeTime=1.061359ms] [] [2025/04/04 13:03:00.902 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=30066] [step=import] [subtask-id=30125] [takeTime=103.984183ms] [] [2025/04/04 13:03:00.902 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30066] [task-type=ImportInto] [server-id=:4000] [subtaskID=30125] [step=import] [takeTime=104.143693ms] [] [2025/04/04 13:03:01.006 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30066] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 13:03:01.007 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30066] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:03:01.008 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30066] [curr-step=import] [next-step=post-process] [2025/04/04 13:03:01.008 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=30066] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 13:03:01.037 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=30066] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":1}"] [2025/04/04 13:03:01.038 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30066] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 13:03:01.038 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30066] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/04 13:03:01.042 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=30066] [task-type=ImportInto] [server-id=:4000] [2025/04/04 13:03:01.043 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30066] [step=import] [2025/04/04 13:03:01.045 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 13:03:01.045 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 13:03:01.045 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 13:03:01.045 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 13:03:01.045 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 13:03:01.045 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 13:03:01.046 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:03:01.046 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 13:03:01.046 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-65] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:03:01.046 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:03:01.046 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:03:01.046 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 13:03:01.048 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 13:03:01.048 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:03:01.048 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:03:01.048 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:03:01.048 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30066] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [takeTime=257.733665ms] [] [2025/04/04 13:03:01.048 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30066] [type=ImportInto] [2025/04/04 13:03:01.066 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30066] [type=ImportInto] [concurrency=8] [remaining-slots=44] [2025/04/04 13:03:01.085 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30066] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/04 13:03:01.092 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30066] [task-type=ImportInto] [server-id=:4000] [subtaskID=30126] [step=post-process] [2025/04/04 13:03:01.092 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=30066] [step=post-process] [subtask-id=30126] [2025/04/04 13:03:01.092 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=30066] [step=post-process] [subtask-id=30126] [2025/04/04 13:03:01.092 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=30066] [step=post-process] [subtask-id=30126] [2025/04/04 13:03:01.098 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=30066] [step=post-process] [subtask-id=30126] [takeTime=5.755371ms] [] [2025/04/04 13:03:01.098 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=30066] [step=post-process] [subtask-id=30126] [groupId=-1] [size=36] [kvs=1] [checksum=15945581673395202591] [2025/04/04 13:03:01.098 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=30066] [step=post-process] [subtask-id=30126] [checksum="{cksum=15945581673395202591,size=36,kvs=1}"] [2025/04/04 13:03:01.098 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=30066] [step=post-process] [subtask-id=30126] [weight=30] [2025/04/04 13:03:01.098 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=30066] [step=post-process] [subtask-id=30126] [concurrency=15] [2025/04/04 13:03:01.100 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=566] [physicalTableID=566] [indexID=-1] [checksum=15945581673395202591] [totalKvs=1] [totalBytes=36] [2025/04/04 13:03:01.100 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 13:03:01.100 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=30066] [step=post-process] [subtask-id=30126] [local="{cksum=15945581673395202591,size=36,kvs=1}"] [2025/04/04 13:03:01.100 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=30066] [step=post-process] [subtask-id=30126] [takeTime=8.25068ms] [] [2025/04/04 13:03:01.100 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=30066] [step=post-process] [subtask-id=30126] [takeTime=8.380558ms] [] [2025/04/04 13:03:01.100 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30066] [task-type=ImportInto] [server-id=:4000] [subtaskID=30126] [step=post-process] [takeTime=8.507285ms] [] [2025/04/04 13:03:01.126 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 13:03:01.205 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30066] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 13:03:01.205 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30066] [step=post-process] [state=running] [] [2025/04/04 13:03:01.207 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=30066] [2025/04/04 13:03:01.232 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30066] [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=146.765263ms] [] [2025/04/04 13:03:01.232 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30066] [type=ImportInto] [2025/04/04 13:03:01.300 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30066] [2025/04/04 13:03:01.305 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 13:03:01.305 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30066] [2025/04/04 13:03:01.324 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 13:03:01.500 +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.986303275\n# Parse_time: 0.000110567\n# Compile_time: 0.00048265\n# Rewrite_time: 0.000145352\n# Optimize_time: 0.000237397\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('SvBJMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4NS41bXMsIG9wZW46NzIwbnMsIGNsb3NlOjEuNTTCtXMsIGxvb3BzOjIJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('ZfBSCmEKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWjB0aW1lOjk4NS41bXMsIG9wZW46NzIwbnMsIGNsb3NlOjEuNTTCtXMsIGxvb3BzOjJw//////8BAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.0000187\nIMPORT INTO `load_charset`.`ascii` FROM 'gs://test-load/ascii.tsv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH character_set=_UTF8MB4'ascii';"] [2025/04/04 13:03:01.509 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:03:01.552 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/ascii.tsv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"character_set\":\"binary\"}}"] [dist-task-enabled=true] [2025/04/04 13:03:01.568 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30067] [task-id=30067] [data-size=8B] [thread-cnt=8] [global-sort=false] [2025/04/04 13:03:01.581 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30067] [2025/04/04 13:03:01.581 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=30067] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/04 13:03:01.683 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30067] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 13:03:01.684 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30067] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:03:01.685 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30067] [curr-step=init] [next-step=import] [2025/04/04 13:03:01.692 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:03:01.695 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=binary] [2025/04/04 13:03:01.695 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=binary] [before=536870912000] [after=8] [2025/04/04 13:03:01.695 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=binary] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=8] [cost=61.602µs] [2025/04/04 13:03:01.695 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=binary] [takeTime=190.668µs] [] [2025/04/04 13:03:01.695 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30067] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 13:03:01.695 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30067] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/04 13:03:01.726 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30067] [type=ImportInto] [concurrency=8] [remaining-slots=44] [2025/04/04 13:03:01.745 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30067] [step=import] [2025/04/04 13:03:01.746 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:03:01.754 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 13:03:01.754 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 13:03:01.754 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 13:03:01.754 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 13:03:01.754 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 13:03:01.754 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 13:03:01.754 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 13:03:01.755 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 13:03:01.755 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 13:03:01.755 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 13:03:01.768 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 13:03:01.769 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 13:03:01.769 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=binary] [quota=374.2GB] [2025/04/04 13:03:01.770 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=30067] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 13:03:01.770 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=binary] [import-id=30067] [disk-quota=348.5GiB] [2025/04/04 13:03:01.770 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30067] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/04 13:03:01.777 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30067] [task-type=ImportInto] [server-id=:4000] [subtaskID=30127] [step=import] [2025/04/04 13:03:01.777 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30067] [step=import] [subtask-id=30127] [2025/04/04 13:03:01.781 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`binary`:0] [engineUUID=e8c1bd97-5d12-591a-8a3b-5cf4944c05d0] [2025/04/04 13:03:01.785 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`binary`:-1] [engineUUID=c21efbc9-e882-5dfc-a7f3-0ea273c2903c] [2025/04/04 13:03:01.785 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=568] [2025/04/04 13:03:01.792 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=30067] [mode=Import] [2025/04/04 13:03:01.811 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=30067] [2025/04/04 13:03:01.824 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=568] [key=ascii.tsv:0] [2025/04/04 13:03:01.826 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=568] [key=ascii.tsv:0] [readDur=1.00941ms] [encodeDur=644.448µs] [checksum="{cksum=7241624621950173888,size=36,kvs=1}"] [deliverDur=185.624µs] [type=file] [takeTime=2.089687ms] [] [2025/04/04 13:03:01.826 +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/30067/e8c1bd97-5d12-591a-8a3b-5cf4944c05d0.sst/0717c835-0b74-46a9-9c35-63dbb4878b23.sst] [firstKey=7480000000000002385F728000000000000001] [lastKey=7480000000000002385F728000000000000001] [2025/04/04 13:03:01.827 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=30067] [step=import] [engine-id=0] [2025/04/04 13:03:01.827 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=30067] [step=import] [engine-id=0] [2025/04/04 13:03:01.827 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_charset`.`binary`:0] [engineUUID=e8c1bd97-5d12-591a-8a3b-5cf4944c05d0] [2025/04/04 13:03:01.829 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_charset`.`binary`:0] [engineUUID=e8c1bd97-5d12-591a-8a3b-5cf4944c05d0] [takeTime=1.982524ms] [] [2025/04/04 13:03:01.829 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_charset`.`binary`:0] [engineUUID=e8c1bd97-5d12-591a-8a3b-5cf4944c05d0] [retryCnt=0] [2025/04/04 13:03:01.833 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 13:03:01.854 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=e8c1bd97-5d12-591a-8a3b-5cf4944c05d0] ["region ranges"=1] [count=1] [size=36] [2025/04/04 13:03:01.854 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 13:03:01.856 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000002385f728000000000000001] [endOfAllRanges=7480000000000002385f728000000000000002] [startKeyOfFirstRegion=7480000000000002ff385f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000002ff385f728000000000ff0000020000000000fa] [2025/04/04 13:03:01.867 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=e8c1bd97-5d12-591a-8a3b-5cf4944c05d0] [size=36] [kvs=1] [importedSize=36] [importedCount=1] [2025/04/04 13:03:01.868 +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=39.536297ms] [] [2025/04/04 13:03:01.868 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`binary`:0] [engineUUID=e8c1bd97-5d12-591a-8a3b-5cf4944c05d0] [2025/04/04 13:03:01.869 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`binary`:0] [engineUUID=e8c1bd97-5d12-591a-8a3b-5cf4944c05d0] [takeTime=1.053708ms] [] [2025/04/04 13:03:01.869 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=30067] [step=import] [engine-id=0] [2025/04/04 13:03:01.870 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_charset`.`binary`:-1] [engineUUID=c21efbc9-e882-5dfc-a7f3-0ea273c2903c] [2025/04/04 13:03:01.871 +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.325782ms] [] [2025/04/04 13:03:01.871 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_charset`.`binary`:-1] [engineUUID=c21efbc9-e882-5dfc-a7f3-0ea273c2903c] [retryCnt=0] [2025/04/04 13:03:01.874 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=c21efbc9-e882-5dfc-a7f3-0ea273c2903c] [2025/04/04 13:03:01.874 +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.421128ms] [] [2025/04/04 13:03:01.874 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`binary`:-1] [engineUUID=c21efbc9-e882-5dfc-a7f3-0ea273c2903c] [2025/04/04 13:03:01.875 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`binary`:-1] [engineUUID=c21efbc9-e882-5dfc-a7f3-0ea273c2903c] [takeTime=796.011µs] [] [2025/04/04 13:03:01.875 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=30067] [step=import] [subtask-id=30127] [takeTime=97.998511ms] [] [2025/04/04 13:03:01.876 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30067] [task-type=ImportInto] [server-id=:4000] [subtaskID=30127] [step=import] [takeTime=98.162557ms] [] [2025/04/04 13:03:01.888 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30067] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 13:03:01.890 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30067] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:03:01.891 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30067] [curr-step=import] [next-step=post-process] [2025/04/04 13:03:01.891 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=30067] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 13:03:01.927 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=30067] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":1}"] [2025/04/04 13:03:01.928 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30067] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 13:03:01.928 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30067] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/04 13:03:01.958 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=30067] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 13:03:01.965 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30067] [step=import] [2025/04/04 13:03:01.968 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 13:03:01.968 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 13:03:01.968 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 13:03:01.968 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 13:03:01.968 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 13:03:01.968 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 13:03:01.968 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 13:03:01.968 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-66] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:03:01.968 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:03:01.968 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:03:01.968 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:03:01.968 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 13:03:01.971 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 13:03:01.971 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:03:01.971 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:03:01.971 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:03:01.971 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30067] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [takeTime=201.024185ms] [] [2025/04/04 13:03:01.972 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30067] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/04 13:03:01.980 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30067] [task-type=ImportInto] [server-id=:4000] [subtaskID=30128] [step=post-process] [2025/04/04 13:03:01.980 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=30067] [step=post-process] [subtask-id=30128] [2025/04/04 13:03:01.980 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=30067] [step=post-process] [subtask-id=30128] [2025/04/04 13:03:01.980 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=30067] [step=post-process] [subtask-id=30128] [2025/04/04 13:03:01.986 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=30067] [step=post-process] [subtask-id=30128] [takeTime=6.019047ms] [] [2025/04/04 13:03:01.986 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=30067] [step=post-process] [subtask-id=30128] [groupId=-1] [size=36] [kvs=1] [checksum=7241624621950173888] [2025/04/04 13:03:01.986 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=30067] [step=post-process] [subtask-id=30128] [checksum="{cksum=7241624621950173888,size=36,kvs=1}"] [2025/04/04 13:03:01.986 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=30067] [step=post-process] [subtask-id=30128] [weight=30] [2025/04/04 13:03:01.986 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=30067] [step=post-process] [subtask-id=30128] [concurrency=15] [2025/04/04 13:03:01.988 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=568] [physicalTableID=568] [indexID=-1] [checksum=7241624621950173888] [totalKvs=1] [totalBytes=36] [2025/04/04 13:03:01.988 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 13:03:01.988 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=30067] [step=post-process] [subtask-id=30128] [local="{cksum=7241624621950173888,size=36,kvs=1}"] [2025/04/04 13:03:01.988 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=30067] [step=post-process] [subtask-id=30128] [takeTime=8.643979ms] [] [2025/04/04 13:03:01.988 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=30067] [step=post-process] [subtask-id=30128] [takeTime=8.791058ms] [] [2025/04/04 13:03:01.989 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30067] [task-type=ImportInto] [server-id=:4000] [subtaskID=30128] [step=post-process] [takeTime=8.933686ms] [] [2025/04/04 13:03:02.014 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 13:03:02.088 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30067] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 13:03:02.088 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30067] [step=post-process] [state=running] [] [2025/04/04 13:03:02.091 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=30067] [2025/04/04 13:03:02.109 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30067] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [takeTime=136.664725ms] [] [2025/04/04 13:03:02.109 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30067] [type=ImportInto] [2025/04/04 13:03:02.183 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30067] [2025/04/04 13:03:02.184 +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.679965118\n# Parse_time: 0.000100516\n# Compile_time: 0.000456406\n# Rewrite_time: 0.000150311\n# Optimize_time: 0.000218301\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('SvBJMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY3OS4xbXMsIG9wZW46NjcxbnMsIGNsb3NlOjEuMTLCtXMsIGxvb3BzOjIJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('ZfBSCmEKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWjB0aW1lOjY3OS4xbXMsIG9wZW46NjcxbnMsIGNsb3NlOjEuMTLCtXMsIGxvb3BzOjJw//////8BAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.0000187\nIMPORT INTO `load_charset`.`binary` FROM 'gs://test-load/ascii.tsv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH character_set=_UTF8MB4'binary';"] --- PASS: TestImportInto/TestOtherCharset (5.91s) === NAME TestImportInto === RUN TestImportInto/TestPreCheckCDCPiTRTasks [2025/04/04 13:03:02.188 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 13:03:02.189 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30067] [2025/04/04 13:03:02.200 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:570, Type:drop schema, State:queueing, SchemaState:public, SchemaID:520, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:02.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:03:02.200 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:570, Type:drop schema, State:queueing, SchemaState:public, SchemaID:520, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:02.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop database if exists load_data"] [2025/04/04 13:03:02.205 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=570] [conn=2] [job="ID:570, Type:drop schema, State:queueing, SchemaState:public, SchemaID:520, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:03:02.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:02.211 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 13:03:02.222 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=451] [neededSchemaVersion=452] ["elapsed time"=156.438µs] [gotSchemaVersion=452] [phyTblIDs="[524]"] [actionTypes="[2]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 13:03:02.225 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=570] [version=452] [2025/04/04 13:03:02.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=452] ["take time"=7.225734ms] [job="ID:570, Type:drop schema, State:running, SchemaState:write only, SchemaID:520, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:02.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:02.236 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=570] [conn=2] [job="ID:570, Type:drop schema, State:running, SchemaState:write only, SchemaID:520, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:03:02.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:02.247 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=452] [neededSchemaVersion=453] ["elapsed time"=129.314µs] [gotSchemaVersion=453] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 13:03:02.251 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=570] [version=453] [2025/04/04 13:03:02.252 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=453] ["take time"=6.599825ms] [job="ID:570, Type:drop schema, State:running, SchemaState:delete only, SchemaID:520, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:03:02.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:02.260 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=570] [conn=2] [job="ID:570, Type:drop schema, State:running, SchemaState:delete only, SchemaID:520, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:03:02.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:02.265 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/04 13:03:02.274 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=453] [neededSchemaVersion=454] ["elapsed time"=135.934µs] [gotSchemaVersion=454] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 13:03:02.278 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=570] [version=454] [2025/04/04 13:03:02.279 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=454] ["take time"=6.680376ms] [job="ID:570, Type:drop schema, State:done, SchemaState:none, SchemaID:520, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:02.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:02.287 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=570] [tableIDs="[524]"] [comment="drop schema: table IDs"] [2025/04/04 13:03:02.291 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=570] [jobType="drop schema"] [2025/04/04 13:03:02.292 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=570] [conn=2] [job="ID:570, Type:drop schema, State:synced, SchemaState:none, SchemaID:520, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:02.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:02.306 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=570] [2025/04/04 13:03:02.306 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=454] [cur_db=fail_job_after_import] [sql="drop database if exists load_data"] [user=root@%] [2025/04/04 13:03:02.317 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:572, Type:create schema, State:queueing, SchemaState:none, SchemaID:571, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:02.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:03:02.317 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:572, Type:create schema, State:queueing, SchemaState:none, SchemaID:571, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:02.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database load_data"] [2025/04/04 13:03:02.321 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=572] [conn=2] [job="ID:572, Type:create schema, State:queueing, SchemaState:none, SchemaID:571, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:03:02.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:02.333 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=454] [neededSchemaVersion=455] ["elapsed time"=622.84µs] [gotSchemaVersion=455] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 13:03:02.336 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=572] [version=455] [2025/04/04 13:03:02.338 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=455] ["take time"=6.853238ms] [job="ID:572, Type:create schema, State:done, SchemaState:public, SchemaID:571, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:02.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:02.347 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=572] [conn=2] [job="ID:572, Type:create schema, State:synced, SchemaState:public, SchemaID:571, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:03:02.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:02.357 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=572] [2025/04/04 13:03:02.358 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=455] [cur_db=fail_job_after_import] [sql="create database load_data"] [user=root@%] [2025/04/04 13:03:02.360 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=455] [cur_db=load_data] [sql="drop table if exists t;"] [user=root@%] [2025/04/04 13:03:02.373 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:574, Type:create table, State:queueing, SchemaState:none, SchemaID:571, TableID:573, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:02.343 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:03:02.373 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:574, Type:create table, State:queueing, SchemaState:none, SchemaID:571, TableID:573, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:02.343 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint primary key, b varchar(100), c int);"] [2025/04/04 13:03:02.378 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=574] [conn=2] [job="ID:574, Type:create table, State:queueing, SchemaState:none, SchemaID:571, TableID:573, RowCount:0, ArgLen:0, start time: 2025-04-04 13:03:02.343 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:02.383 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 573, Table Name: t)"] [2025/04/04 13:03:02.398 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=455] [neededSchemaVersion=456] ["elapsed time"=1.523517ms] [gotSchemaVersion=456] [phyTblIDs="[573]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 13:03:02.402 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=574] [version=456] [2025/04/04 13:03:02.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=456] ["take time"=8.212769ms] [job="ID:574, Type:create table, State:done, SchemaState:public, SchemaID:571, TableID:573, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:02.343 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:02.414 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=574] [conn=2] [job="ID:574, Type:create table, State:synced, SchemaState:public, SchemaID:571, TableID:573, RowCount:0, ArgLen:0, start time: 2025-04-04 13:03:02.343 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:02.425 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=574] [2025/04/04 13:03:02.425 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=456] [cur_db=load_data] [sql="create table t (a bigint primary key, b varchar(100), c int);"] [user=root@%] [2025/04/04 13:03:02.438 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:576, Type:create table, State:queueing, SchemaState:none, SchemaID:571, TableID:575, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:02.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table dst (a bigint primary key, b varchar(100), c int);"] [2025/04/04 13:03:02.438 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:576, Type:create table, State:queueing, SchemaState:none, SchemaID:571, TableID:575, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:02.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:03:02.443 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=576] [conn=2] [job="ID:576, Type:create table, State:queueing, SchemaState:none, SchemaID:571, TableID:575, RowCount:0, ArgLen:0, start time: 2025-04-04 13:03:02.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:02.448 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 575, Table Name: dst)"] [2025/04/04 13:03:02.462 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=456] [neededSchemaVersion=457] ["elapsed time"=1.482381ms] [gotSchemaVersion=457] [phyTblIDs="[575]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 13:03:02.465 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=576] [version=457] [2025/04/04 13:03:02.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=457] ["take time"=8.147008ms] [job="ID:576, Type:create table, State:done, SchemaState:public, SchemaID:571, TableID:575, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:02.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:02.477 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=576] [conn=2] [job="ID:576, Type:create table, State:synced, SchemaState:public, SchemaID:571, TableID:575, RowCount:0, ArgLen:0, start time: 2025-04-04 13:03:02.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:02.487 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=576] [2025/04/04 13:03:02.488 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=457] [cur_db=load_data] [sql="create table dst (a bigint primary key, b varchar(100), c int);"] [user=root@%] [2025/04/04 13:03:02.493 +00:00] [INFO] [advancer.go:392] ["Meet task event"] [category="log backup advancer"] [event=Add(dummy-task)] [2025/04/04 13:03:02.493 +00:00] [INFO] [db.go:135] ["inc log backup task"] [count=1] [2025/04/04 13:03:02.495 +00:00] [INFO] [advancer.go:430] ["get global checkpoint"] [checkpoint=0] [2025/04/04 13:03:02.496 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:03:02.498 +00:00] [INFO] [advancer.go:436] ["added event"] [task="name:\"dummy-task\" "] [ranges={}] [current-checkpoint=18446744073709551615] [2025/04/04 13:03:02.499 +00:00] [INFO] [advancer.go:392] ["Meet task event"] [category="log backup advancer"] [event=Pause(dummy-task)] [2025/04/04 13:03:02.500 +00:00] [INFO] [advancer.go:392] ["Meet task event"] [category="log backup advancer"] [event=Pause(dummy-task)] [2025/04/04 13:03:02.501 +00:00] [INFO] [advancer.go:392] ["Meet task event"] [category="log backup advancer"] [event=Pause(dummy-task)] [2025/04/04 13:03:02.513 +00:00] [ERROR] [precheck_test.go:103] [error] [error="[executor:8173]PreCheck failed: found PiTR log streaming task(s): [dummy-task],"] [stack="tests/realtikvtest/importintotest/importintotest_test.(*mockGCSSuite).TestPreCheckCDCPiTRTasks\n\ttests/realtikvtest/importintotest/precheck_test.go:103\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690"] [2025/04/04 13:03:02.518 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:03:02.558 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://precheck-cdc-pitr/file.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"disable_precheck\":null}}"] [dist-task-enabled=true] [2025/04/04 13:03:02.577 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30068] [task-id=30068] [data-size=10B] [thread-cnt=8] [global-sort=false] [2025/04/04 13:03:02.591 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30068] [2025/04/04 13:03:02.592 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=30068] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/04 13:03:02.632 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 13:03:02.693 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30068] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 13:03:02.695 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30068] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:03:02.696 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30068] [curr-step=init] [next-step=import] [2025/04/04 13:03:02.703 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:03:02.705 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/04 13:03:02.705 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=10] [2025/04/04 13:03:02.705 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=10] [cost=51.884µs] [2025/04/04 13:03:02.706 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=144.599µs] [] [2025/04/04 13:03:02.706 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30068] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 13:03:02.706 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30068] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/04 13:03:02.735 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30068] [type=ImportInto] [concurrency=8] [remaining-slots=44] [2025/04/04 13:03:02.754 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30068] [step=import] [2025/04/04 13:03:02.754 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:03:02.762 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 13:03:02.762 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 13:03:02.762 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 13:03:02.762 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 13:03:02.762 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 13:03:02.762 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 13:03:02.762 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 13:03:02.762 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 13:03:02.763 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 13:03:02.763 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 13:03:02.774 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 13:03:02.775 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 13:03:02.775 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/04 13:03:02.775 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=30068] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 13:03:02.775 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=30068] [disk-quota=348.5GiB] [2025/04/04 13:03:02.775 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30068] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/04 13:03:02.782 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30068] [task-type=ImportInto] [server-id=:4000] [subtaskID=30129] [step=import] [2025/04/04 13:03:02.782 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30068] [step=import] [subtask-id=30129] [2025/04/04 13:03:02.786 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 13:03:02.788 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 13:03:02.789 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=573] [2025/04/04 13:03:02.802 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=30068] [mode=Import] [2025/04/04 13:03:02.812 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=573] [key=file.csv:0] [2025/04/04 13:03:02.813 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=573] [key=file.csv:0] [readDur=810.573µs] [encodeDur=341.88µs] [checksum="{cksum=2674548127580455452,size=37,kvs=1}"] [deliverDur=159.547µs] [type=file] [takeTime=1.581073ms] [] [2025/04/04 13:03:02.814 +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/30068/67ea3590-7c4f-5a31-ade6-de9a31136e82.sst/6dfa6a8c-cace-49b0-9751-77d5e815459b.sst] [firstKey=74800000000000023D5F728000000000000001] [lastKey=74800000000000023D5F728000000000000001] [2025/04/04 13:03:02.814 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=30068] [step=import] [engine-id=0] [2025/04/04 13:03:02.814 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=30068] [step=import] [engine-id=0] [2025/04/04 13:03:02.814 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 13:03:02.816 +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.928192ms] [] [2025/04/04 13:03:02.816 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [retryCnt=0] [2025/04/04 13:03:02.820 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=30068] [2025/04/04 13:03:02.820 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 13:03:02.921 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] ["region ranges"=1] [count=1] [size=37] [2025/04/04 13:03:02.922 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 13:03:02.924 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000023d5f728000000000000001] [endOfAllRanges=74800000000000023d5f728000000000000002] [startKeyOfFirstRegion=7480000000000002ff3d5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000002ff3d5f728000000000ff0000020000000000fa] [2025/04/04 13:03:02.937 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] [size=37] [kvs=1] [importedSize=37] [importedCount=1] [2025/04/04 13:03:02.939 +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=122.204498ms] [] [2025/04/04 13:03:02.939 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/04 13:03:02.940 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=1.160445ms] [] [2025/04/04 13:03:02.940 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=30068] [step=import] [engine-id=0] [2025/04/04 13:03:02.940 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 13:03:02.942 +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.727376ms] [] [2025/04/04 13:03:02.942 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [retryCnt=0] [2025/04/04 13:03:02.946 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 13:03:02.946 +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.774019ms] [] [2025/04/04 13:03:02.946 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/04 13:03:02.947 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=880.193µs] [] [2025/04/04 13:03:02.947 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=30068] [step=import] [subtask-id=30129] [takeTime=164.694264ms] [] [2025/04/04 13:03:02.947 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30068] [task-type=ImportInto] [server-id=:4000] [subtaskID=30129] [step=import] [takeTime=164.843102ms] [] [2025/04/04 13:03:02.999 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30068] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 13:03:03.001 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30068] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:03:03.002 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30068] [curr-step=import] [next-step=post-process] [2025/04/04 13:03:03.002 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=30068] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 13:03:03.031 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=30068] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":1}"] [2025/04/04 13:03:03.033 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30068] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 13:03:03.033 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30068] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/04 13:03:03.068 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=30068] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 13:03:03.074 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30068] [step=import] [2025/04/04 13:03:03.077 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 13:03:03.077 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 13:03:03.077 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 13:03:03.077 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 13:03:03.077 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 13:03:03.077 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 13:03:03.077 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:03:03.077 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 13:03:03.077 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-67] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:03:03.077 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:03:03.077 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:03:03.077 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 13:03:03.080 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 13:03:03.080 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:03:03.080 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:03:03.080 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:03:03.080 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30068] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [takeTime=304.483414ms] [] [2025/04/04 13:03:03.081 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30068] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/04 13:03:03.088 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30068] [task-type=ImportInto] [server-id=:4000] [subtaskID=30130] [step=post-process] [2025/04/04 13:03:03.088 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=30068] [step=post-process] [subtask-id=30130] [2025/04/04 13:03:03.088 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=30068] [step=post-process] [subtask-id=30130] [2025/04/04 13:03:03.088 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=30068] [step=post-process] [subtask-id=30130] [2025/04/04 13:03:03.088 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=30068] [step=post-process] [subtask-id=30130] [takeTime=1.85µs] [] [2025/04/04 13:03:03.088 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=30068] [step=post-process] [subtask-id=30130] [groupId=-1] [size=37] [kvs=1] [checksum=2674548127580455452] [2025/04/04 13:03:03.088 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=30068] [step=post-process] [subtask-id=30130] [checksum="{cksum=2674548127580455452,size=37,kvs=1}"] [2025/04/04 13:03:03.089 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=30068] [step=post-process] [subtask-id=30130] [weight=30] [2025/04/04 13:03:03.089 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=30068] [step=post-process] [subtask-id=30130] [concurrency=15] [2025/04/04 13:03:03.090 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=573] [physicalTableID=573] [indexID=-1] [checksum=2674548127580455452] [totalKvs=1] [totalBytes=37] [2025/04/04 13:03:03.091 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 13:03:03.091 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=30068] [step=post-process] [subtask-id=30130] [local="{cksum=2674548127580455452,size=37,kvs=1}"] [2025/04/04 13:03:03.091 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=30068] [step=post-process] [subtask-id=30130] [takeTime=2.515677ms] [] [2025/04/04 13:03:03.091 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=30068] [step=post-process] [subtask-id=30130] [takeTime=2.656258ms] [] [2025/04/04 13:03:03.091 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30068] [task-type=ImportInto] [server-id=:4000] [subtaskID=30130] [step=post-process] [takeTime=2.788784ms] [] [2025/04/04 13:03:03.115 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 13:03:03.199 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30068] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 13:03:03.199 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30068] [step=post-process] [state=running] [] [2025/04/04 13:03:03.201 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=30068] [2025/04/04 13:03:03.226 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30068] [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=145.045598ms] [] [2025/04/04 13:03:03.226 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30068] [type=ImportInto] [2025/04/04 13:03:03.294 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30068] [2025/04/04 13:03:03.300 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 13:03:03.300 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30068] [2025/04/04 13:03:03.321 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 13:03:03.494 +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.980695582\n# Parse_time: 0.000089614\n# Compile_time: 0.000462539\n# Rewrite_time: 0.00013815\n# Optimize_time: 0.000237668\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk3OS44bXMsIG9wZW46Njg4bnMsIGNsb3NlOjkzMW5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk3OS44bXMsIG9wZW46Njg4bnMsIGNsb3NlOjkzMW5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.0000187\nuse load_data;\nIMPORT INTO `load_data`.`t` FROM 'gs://precheck-cdc-pitr/file.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH disable_precheck;"] [2025/04/04 13:03:03.507 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/04 13:03:03.508 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=457] [error="[executor:8173]PreCheck failed: found PiTR log streaming task(s): [dummy-task],"] [session="{\n \"currDBName\": \"load_data\",\n \"id\": 2,\n \"status\": 2,\n \"strictMode\": false,\n \"user\": {\n \"Username\": \"root\",\n \"Hostname\": \"localhost\",\n \"CurrentUser\": false,\n \"AuthUsername\": \"root\",\n \"AuthHostname\": \"%\",\n \"AuthPlugin\": \"\"\n }\n}"] [2025/04/04 13:03:03.508 +00:00] [ERROR] [precheck_test.go:112] [error] [error="[executor:8173]PreCheck failed: found PiTR log streaming task(s): [dummy-task],"] [errorVerbose="[executor:8173]PreCheck failed: found PiTR log streaming task(s): [dummy-task],\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:443\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ntests/realtikvtest/importintotest/importintotest_test.(*mockGCSSuite).TestPreCheckCDCPiTRTasks\n\ttests/realtikvtest/importintotest/precheck_test.go:111\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="tests/realtikvtest/importintotest/importintotest_test.(*mockGCSSuite).TestPreCheckCDCPiTRTasks\n\ttests/realtikvtest/importintotest/precheck_test.go:112\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690"] [2025/04/04 13:03:03.544 +00:00] [INFO] [import_into.go:266] ["importing data from select statement"] [import-id=104ffdb5-883f-4a4e-bda2-726e3604c226] [concurrency=2] [target-table=`load_data`.`dst`] [target-table-id=575] [2025/04/04 13:03:03.550 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 13:03:03.550 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 13:03:03.551 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 13:03:03.551 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 13:03:03.551 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 13:03:03.551 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 13:03:03.551 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 13:03:03.551 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 13:03:03.552 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 13:03:03.552 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 13:03:03.563 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 13:03:03.564 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 13:03:03.564 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=dst] [quota=374.2GB] [2025/04/04 13:03:03.568 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`dst`:1] [engineUUID=aae7ed10-3950-5c5f-b1f6-563a3ef43f6a] [2025/04/04 13:03:03.571 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`dst`:-1] [engineUUID=95cbf67f-8845-5ed1-ab67-d03ce00676ee] [2025/04/04 13:03:03.582 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=104ffdb5-883f-4a4e-bda2-726e3604c226] [key=import-from-select] [2025/04/04 13:03:03.583 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=104ffdb5-883f-4a4e-bda2-726e3604c226] [key=import-from-select] [readDur=9.597µs] [encodeDur=395.992µs] [checksum="{cksum=2310572318520846673,size=37,kvs=1}"] [deliverDur=173.908µs] [type=query] [takeTime=886.416µs] [] [2025/04/04 13:03:03.584 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=104ffdb5-883f-4a4e-bda2-726e3604c226] [key=import-from-select] [2025/04/04 13:03:03.584 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=104ffdb5-883f-4a4e-bda2-726e3604c226] [key=import-from-select] [readDur=0s] [encodeDur=0s] [checksum="{cksum=0,size=0,kvs=0}"] [deliverDur=0s] [type=query] [takeTime=93.482µs] [] [2025/04/04 13:03:03.584 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`dst`:1] [engineUUID=aae7ed10-3950-5c5f-b1f6-563a3ef43f6a] [2025/04/04 13:03:03.584 +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/104ffdb5-883f-4a4e-bda2-726e3604c226/aae7ed10-3950-5c5f-b1f6-563a3ef43f6a.sst/0d53c0a9-bd80-4b77-98a3-f92b9f172be7.sst] [firstKey=74800000000000023F5F728000000000000001] [lastKey=74800000000000023F5F728000000000000001] [2025/04/04 13:03:03.587 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_data`.`dst`:1] [engineUUID=aae7ed10-3950-5c5f-b1f6-563a3ef43f6a] [takeTime=2.722077ms] [] [2025/04/04 13:03:03.587 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`dst`:1] [engineUUID=aae7ed10-3950-5c5f-b1f6-563a3ef43f6a] [retryCnt=0] [2025/04/04 13:03:03.591 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 13:03:03.613 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=aae7ed10-3950-5c5f-b1f6-563a3ef43f6a] ["region ranges"=1] [count=1] [size=37] [2025/04/04 13:03:03.613 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 13:03:03.615 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000023f5f728000000000000001] [endOfAllRanges=74800000000000023f5f728000000000000002] [startKeyOfFirstRegion=7480000000000002ff3f5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000002ff3f5f728000000000ff0000020000000000fa] [2025/04/04 13:03:03.625 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=aae7ed10-3950-5c5f-b1f6-563a3ef43f6a] [size=37] [kvs=1] [importedSize=37] [importedCount=1] [2025/04/04 13:03:03.627 +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.354041ms] [] [2025/04/04 13:03:03.627 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`dst`:-1] [engineUUID=95cbf67f-8845-5ed1-ab67-d03ce00676ee] [2025/04/04 13:03:03.628 +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.482944ms] [] [2025/04/04 13:03:03.628 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`dst`:-1] [engineUUID=95cbf67f-8845-5ed1-ab67-d03ce00676ee] [retryCnt=0] [2025/04/04 13:03:03.632 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=95cbf67f-8845-5ed1-ab67-d03ce00676ee] [2025/04/04 13:03:03.632 +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.585102ms] [] [2025/04/04 13:03:03.632 +00:00] [INFO] [table_import.go:761] ["post process start"] [table=dst] [import-id=104ffdb5-883f-4a4e-bda2-726e3604c226] [checksum="{\"id=-1\"=\"{cksum=2310572318520846673,size=37,kvs=1}\"}"] [2025/04/04 13:03:03.632 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [table=dst] [import-id=104ffdb5-883f-4a4e-bda2-726e3604c226] [2025/04/04 13:03:03.632 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [table=dst] [import-id=104ffdb5-883f-4a4e-bda2-726e3604c226] [takeTime=2.262µs] [] [2025/04/04 13:03:03.632 +00:00] [INFO] [table_import.go:835] ["local checksum"] [table=dst] [import-id=104ffdb5-883f-4a4e-bda2-726e3604c226] [checksum="{cksum=2310572318520846673,size=37,kvs=1}"] [2025/04/04 13:03:03.632 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [table=dst] [import-id=104ffdb5-883f-4a4e-bda2-726e3604c226] [weight=30] [2025/04/04 13:03:03.632 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [table=dst] [import-id=104ffdb5-883f-4a4e-bda2-726e3604c226] [concurrency=15] [2025/04/04 13:03:03.634 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=575] [physicalTableID=575] [indexID=-1] [checksum=2310572318520846673] [totalKvs=1] [totalBytes=37] [2025/04/04 13:03:03.634 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 13:03:03.634 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [table=dst] [import-id=104ffdb5-883f-4a4e-bda2-726e3604c226] [local="{cksum=2310572318520846673,size=37,kvs=1}"] [2025/04/04 13:03:03.635 +00:00] [INFO] [table_import.go:763] ["post process completed"] [table=dst] [import-id=104ffdb5-883f-4a4e-bda2-726e3604c226] [checksum="{\"id=-1\"=\"{cksum=2310572318520846673,size=37,kvs=1}\"}"] [takeTime=2.475732ms] [] [2025/04/04 13:03:03.635 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`dst`:1] [engineUUID=aae7ed10-3950-5c5f-b1f6-563a3ef43f6a] [2025/04/04 13:03:03.635 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_data`.`dst`:1] [engineUUID=aae7ed10-3950-5c5f-b1f6-563a3ef43f6a] [takeTime=5.809µs] [] [2025/04/04 13:03:03.635 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`dst`:1] [engineUUID=aae7ed10-3950-5c5f-b1f6-563a3ef43f6a] [2025/04/04 13:03:03.636 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`dst`:1] [engineUUID=aae7ed10-3950-5c5f-b1f6-563a3ef43f6a] [takeTime=875.084µs] [] [2025/04/04 13:03:03.636 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`dst`:-1] [engineUUID=95cbf67f-8845-5ed1-ab67-d03ce00676ee] [2025/04/04 13:03:03.636 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_data`.`dst`:-1] [engineUUID=95cbf67f-8845-5ed1-ab67-d03ce00676ee] [takeTime=5.673µs] [] [2025/04/04 13:03:03.636 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`dst`:-1] [engineUUID=95cbf67f-8845-5ed1-ab67-d03ce00676ee] [2025/04/04 13:03:03.637 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`dst`:-1] [engineUUID=95cbf67f-8845-5ed1-ab67-d03ce00676ee] [takeTime=832.813µs] [] [2025/04/04 13:03:03.640 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 13:03:03.640 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 13:03:03.640 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 13:03:03.640 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 13:03:03.640 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 13:03:03.640 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 13:03:03.640 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 13:03:03.640 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:03:03.640 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-68] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:03:03.640 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:03:03.640 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:03:03.640 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 13:03:03.642 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 13:03:03.642 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:03:03.642 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:03:03.642 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:03:03.648 +00:00] [INFO] [advancer.go:392] ["Meet task event"] [category="log backup advancer"] [event=Del(dummy-task)] [2025/04/04 13:03:03.648 +00:00] [INFO] [db.go:141] ["dec log backup task"] [count=0] [2025/04/04 13:03:03.648 +00:00] [INFO] [flush_subscriber.go:108] [Clearing.] [category="log backup flush subscriber"] [timeout=1m0s] [2025/04/04 13:03:03.661 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:578, Type:truncate table, State:queueing, SchemaState:none, SchemaID:571, TableID:573, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:03.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table t"] [2025/04/04 13:03:03.661 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:578, Type:truncate table, State:queueing, SchemaState:none, SchemaID:571, TableID:573, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:03.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:03:03.666 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=578] [conn=2] [job="ID:578, Type:truncate table, State:queueing, SchemaState:none, SchemaID:571, TableID:573, RowCount:0, ArgLen:0, start time: 2025-04-04 13:03:03.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:03.674 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 577, Table Name: t, Old Table ID: 573, Old Table Name: t)"] [2025/04/04 13:03:03.689 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=457] [neededSchemaVersion=458] ["elapsed time"=1.899801ms] [gotSchemaVersion=458] [phyTblIDs="[573,577]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 13:03:03.693 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=578] [version=458] [2025/04/04 13:03:03.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=458] ["take time"=10.018775ms] [job="ID:578, Type:truncate table, State:done, SchemaState:public, SchemaID:571, TableID:573, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:03.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:03.706 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=578] [tableIDs="[573]"] [comment="truncate table: table ID"] [2025/04/04 13:03:03.710 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=578] [jobType="truncate table"] [2025/04/04 13:03:03.711 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=578] [conn=2] [job="ID:578, Type:truncate table, State:synced, SchemaState:public, SchemaID:571, TableID:573, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:03.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:03.728 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=578] [2025/04/04 13:03:03.729 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=458] [cur_db=load_data] [sql="truncate table t"] [user=root@%] [2025/04/04 13:03:03.734 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:03:03.750 +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.57s) === NAME TestImportInto === RUN TestImportInto/TestPreCheckTableNotEmpty [2025/04/04 13:03:03.765 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:579, Type:drop schema, State:queueing, SchemaState:public, SchemaID:571, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:03.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:03:03.765 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:579, Type:drop schema, State:queueing, SchemaState:public, SchemaID:571, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:03.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop database if exists load_data"] [2025/04/04 13:03:03.770 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=579] [conn=2] [job="ID:579, Type:drop schema, State:queueing, SchemaState:public, SchemaID:571, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:03:03.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:03.785 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=458] [neededSchemaVersion=459] ["elapsed time"=182.921µs] [gotSchemaVersion=459] [phyTblIDs="[575,577]"] [actionTypes="[2,2]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 13:03:03.789 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=579] [version=459] [2025/04/04 13:03:03.790 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=459] ["take time"=7.051363ms] [job="ID:579, Type:drop schema, State:running, SchemaState:write only, SchemaID:571, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:03.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:03.800 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=579] [conn=2] [job="ID:579, Type:drop schema, State:running, SchemaState:write only, SchemaID:571, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:03:03.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:03.812 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=459] [neededSchemaVersion=460] ["elapsed time"=154.122µs] [gotSchemaVersion=460] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 13:03:03.816 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=579] [version=460] [2025/04/04 13:03:03.818 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=460] ["take time"=7.278626ms] [job="ID:579, Type:drop schema, State:running, SchemaState:delete only, SchemaID:571, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:03:03.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:03.826 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=579] [conn=2] [job="ID:579, Type:drop schema, State:running, SchemaState:delete only, SchemaID:571, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:03:03.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:03.831 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/04 13:03:03.841 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=460] [neededSchemaVersion=461] ["elapsed time"=130.078µs] [gotSchemaVersion=461] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 13:03:03.845 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=579] [version=461] [2025/04/04 13:03:03.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=461] ["take time"=7.395266ms] [job="ID:579, Type:drop schema, State:done, SchemaState:none, SchemaID:571, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:03.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:03.856 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=579] [tableIDs="[575,577]"] [comment="drop schema: table IDs"] [2025/04/04 13:03:03.860 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=579] [jobType="drop schema"] [2025/04/04 13:03:03.861 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=579] [conn=2] [job="ID:579, Type:drop schema, State:synced, SchemaState:none, SchemaID:571, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:03.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:03.878 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=579] [2025/04/04 13:03:03.878 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=461] [cur_db=] [sql="drop database if exists load_data"] [user=root@%] [2025/04/04 13:03:03.890 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:581, Type:create schema, State:queueing, SchemaState:none, SchemaID:580, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:03.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database load_data"] [2025/04/04 13:03:03.890 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:581, Type:create schema, State:queueing, SchemaState:none, SchemaID:580, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:03.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:03:03.896 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=581] [conn=2] [job="ID:581, Type:create schema, State:queueing, SchemaState:none, SchemaID:580, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:03:03.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:03.909 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=461] [neededSchemaVersion=462] ["elapsed time"=704.35µs] [gotSchemaVersion=462] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 13:03:03.913 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=581] [version=462] [2025/04/04 13:03:03.914 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=462] ["take time"=7.917695ms] [job="ID:581, Type:create schema, State:done, SchemaState:public, SchemaID:580, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:03.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:03.924 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=581] [conn=2] [job="ID:581, Type:create schema, State:synced, SchemaState:public, SchemaID:580, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:03:03.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:03.933 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=581] [2025/04/04 13:03:03.934 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=462] [cur_db=] [sql="create database load_data"] [user=root@%] [2025/04/04 13:03:03.936 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=462] [cur_db=load_data] [sql="drop table if exists t;"] [user=root@%] [2025/04/04 13:03:03.949 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:583, Type:create table, State:queueing, SchemaState:none, SchemaID:580, TableID:582, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:03.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:03:03.949 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:583, Type:create table, State:queueing, SchemaState:none, SchemaID:580, TableID:582, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:03.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint primary key, b varchar(100), c int);"] [2025/04/04 13:03:03.955 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=583] [conn=2] [job="ID:583, Type:create table, State:queueing, SchemaState:none, SchemaID:580, TableID:582, RowCount:0, ArgLen:0, start time: 2025-04-04 13:03:03.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:03.960 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 582, Table Name: t)"] [2025/04/04 13:03:03.975 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=462] [neededSchemaVersion=463] ["elapsed time"=1.616591ms] [gotSchemaVersion=463] [phyTblIDs="[582]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 13:03:03.978 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=583] [version=463] [2025/04/04 13:03:03.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=463] ["take time"=8.413534ms] [job="ID:583, Type:create table, State:done, SchemaState:public, SchemaID:580, TableID:582, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:03.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:03.991 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=583] [conn=2] [job="ID:583, Type:create table, State:synced, SchemaState:public, SchemaID:580, TableID:582, RowCount:0, ArgLen:0, start time: 2025-04-04 13:03:03.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:04.003 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=583] [2025/04/04 13:03:04.003 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=463] [cur_db=load_data] [sql="create table t (a bigint primary key, b varchar(100), c int);"] [user=root@%] [2025/04/04 13:03:04.006 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119310543060998] [2025/04/04 13:03:04.014 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] --- PASS: TestImportInto/TestPreCheckTableNotEmpty (0.27s) === NAME TestImportInto === RUN TestImportInto/TestPreCheckTotalFileSize0 [2025/04/04 13:03:04.037 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:584, Type:drop schema, State:queueing, SchemaState:public, SchemaID:580, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:03.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:03:04.037 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:584, Type:drop schema, State:queueing, SchemaState:public, SchemaID:580, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:03.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop database if exists load_data"] [2025/04/04 13:03:04.042 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=584] [conn=2] [job="ID:584, Type:drop schema, State:queueing, SchemaState:public, SchemaID:580, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:03:03.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:04.057 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=463] [neededSchemaVersion=464] ["elapsed time"=172.097µs] [gotSchemaVersion=464] [phyTblIDs="[582]"] [actionTypes="[2]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 13:03:04.061 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=584] [version=464] [2025/04/04 13:03:04.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=464] ["take time"=7.149747ms] [job="ID:584, Type:drop schema, State:running, SchemaState:write only, SchemaID:580, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:03.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:04.072 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=584] [conn=2] [job="ID:584, Type:drop schema, State:running, SchemaState:write only, SchemaID:580, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:03:03.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:04.085 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=464] [neededSchemaVersion=465] ["elapsed time"=149.591µs] [gotSchemaVersion=465] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 13:03:04.088 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=584] [version=465] [2025/04/04 13:03:04.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=465] ["take time"=7.193952ms] [job="ID:584, Type:drop schema, State:running, SchemaState:delete only, SchemaID:580, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:03:03.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:04.098 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=584] [conn=2] [job="ID:584, Type:drop schema, State:running, SchemaState:delete only, SchemaID:580, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:03:03.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:04.103 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/04 13:03:04.113 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=465] [neededSchemaVersion=466] ["elapsed time"=153.627µs] [gotSchemaVersion=466] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 13:03:04.116 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=584] [version=466] [2025/04/04 13:03:04.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=466] ["take time"=6.783231ms] [job="ID:584, Type:drop schema, State:done, SchemaState:none, SchemaID:580, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:03.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:04.126 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=584] [tableIDs="[582]"] [comment="drop schema: table IDs"] [2025/04/04 13:03:04.131 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=584] [jobType="drop schema"] [2025/04/04 13:03:04.132 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=584] [conn=2] [job="ID:584, Type:drop schema, State:synced, SchemaState:none, SchemaID:580, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:03.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:04.148 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=584] [2025/04/04 13:03:04.148 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=466] [cur_db=] [sql="drop database if exists load_data"] [user=root@%] [2025/04/04 13:03:04.159 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:586, Type:create schema, State:queueing, SchemaState:none, SchemaID:585, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:04.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:03:04.159 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:586, Type:create schema, State:queueing, SchemaState:none, SchemaID:585, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:04.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database load_data"] [2025/04/04 13:03:04.164 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=586] [conn=2] [job="ID:586, Type:create schema, State:queueing, SchemaState:none, SchemaID:585, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:03:04.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:04.178 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=466] [neededSchemaVersion=467] ["elapsed time"=722.574µs] [gotSchemaVersion=467] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 13:03:04.181 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=586] [version=467] [2025/04/04 13:03:04.183 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=467] ["take time"=7.54415ms] [job="ID:586, Type:create schema, State:done, SchemaState:public, SchemaID:585, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:04.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:04.193 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=586] [conn=2] [job="ID:586, Type:create schema, State:synced, SchemaState:public, SchemaID:585, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:03:04.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:04.203 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=586] [2025/04/04 13:03:04.204 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=467] [cur_db=] [sql="create database load_data"] [user=root@%] [2025/04/04 13:03:04.206 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=467] [cur_db=load_data] [sql="drop table if exists t;"] [user=root@%] [2025/04/04 13:03:04.218 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:588, Type:create table, State:queueing, SchemaState:none, SchemaID:585, TableID:587, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:04.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:03:04.218 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:588, Type:create table, State:queueing, SchemaState:none, SchemaID:585, TableID:587, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:04.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint primary key, b varchar(100), c int);"] [2025/04/04 13:03:04.223 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=588] [conn=2] [job="ID:588, Type:create table, State:queueing, SchemaState:none, SchemaID:585, TableID:587, RowCount:0, ArgLen:0, start time: 2025-04-04 13:03:04.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:04.228 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 587, Table Name: t)"] [2025/04/04 13:03:04.243 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=467] [neededSchemaVersion=468] ["elapsed time"=1.664631ms] [gotSchemaVersion=468] [phyTblIDs="[587]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 13:03:04.247 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=588] [version=468] [2025/04/04 13:03:04.249 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=468] ["take time"=9.224007ms] [job="ID:588, Type:create table, State:done, SchemaState:public, SchemaID:585, TableID:587, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:04.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:04.260 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=588] [conn=2] [job="ID:588, Type:create table, State:synced, SchemaState:public, SchemaID:585, TableID:587, RowCount:0, ArgLen:0, start time: 2025-04-04 13:03:04.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:04.272 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=588] [2025/04/04 13:03:04.272 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=468] [cur_db=load_data] [sql="create table t (a bigint primary key, b varchar(100), c int);"] [user=root@%] [2025/04/04 13:03:04.274 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457119310608597006] [2025/04/04 13:03:04.282 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:03:04.296 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] --- PASS: TestImportInto/TestPreCheckTotalFileSize0 (0.28s) === NAME TestImportInto === RUN TestImportInto/TestRegisterTask [2025/04/04 13:03:04.316 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:589, Type:drop schema, State:queueing, SchemaState:public, SchemaID:585, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:04.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:03:04.316 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:589, Type:drop schema, State:queueing, SchemaState:public, SchemaID:585, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:04.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="DROP DATABASE IF EXISTS load_data;"] [2025/04/04 13:03:04.322 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=589] [conn=2] [job="ID:589, Type:drop schema, State:queueing, SchemaState:public, SchemaID:585, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:03:04.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:04.336 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=468] [neededSchemaVersion=469] ["elapsed time"=152.05µs] [gotSchemaVersion=469] [phyTblIDs="[587]"] [actionTypes="[2]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 13:03:04.340 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=589] [version=469] [2025/04/04 13:03:04.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=469] ["take time"=7.314936ms] [job="ID:589, Type:drop schema, State:running, SchemaState:write only, SchemaID:585, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:04.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:04.352 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=589] [conn=2] [job="ID:589, Type:drop schema, State:running, SchemaState:write only, SchemaID:585, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:03:04.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:04.366 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=469] [neededSchemaVersion=470] ["elapsed time"=153.433µs] [gotSchemaVersion=470] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 13:03:04.370 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=589] [version=470] [2025/04/04 13:03: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=470] ["take time"=7.575202ms] [job="ID:589, Type:drop schema, State:running, SchemaState:delete only, SchemaID:585, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:03:04.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:04.380 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=589] [conn=2] [job="ID:589, Type:drop schema, State:running, SchemaState:delete only, SchemaID:585, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:03:04.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:04.385 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/04 13:03:04.395 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=470] [neededSchemaVersion=471] ["elapsed time"=140.077µs] [gotSchemaVersion=471] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 13:03:04.399 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=589] [version=471] [2025/04/04 13:03:04.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=471] ["take time"=7.078996ms] [job="ID:589, Type:drop schema, State:done, SchemaState:none, SchemaID:585, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:04.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:04.408 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=589] [tableIDs="[587]"] [comment="drop schema: table IDs"] [2025/04/04 13:03:04.413 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=589] [jobType="drop schema"] [2025/04/04 13:03:04.414 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=589] [conn=2] [job="ID:589, Type:drop schema, State:synced, SchemaState:none, SchemaID:585, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:04.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:04.431 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=589] [2025/04/04 13:03:04.432 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=471] [cur_db=] [sql="DROP DATABASE IF EXISTS load_data;"] [user=root@%] [2025/04/04 13:03:04.446 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:591, Type:create schema, State:queueing, SchemaState:none, SchemaID:590, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:04.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:03:04.446 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:591, Type:create schema, State:queueing, SchemaState:none, SchemaID:590, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:04.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE load_data;"] [2025/04/04 13:03:04.456 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=591] [conn=2] [job="ID:591, Type:create schema, State:queueing, SchemaState:none, SchemaID:590, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:03:04.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:04.471 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=471] [neededSchemaVersion=472] ["elapsed time"=680.133µs] [gotSchemaVersion=472] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 13:03:04.474 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=591] [version=472] [2025/04/04 13:03:04.476 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=472] ["take time"=7.83196ms] [job="ID:591, Type:create schema, State:done, SchemaState:public, SchemaID:590, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:04.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:04.487 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=591] [conn=2] [job="ID:591, Type:create schema, State:synced, SchemaState:public, SchemaID:590, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:03:04.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:04.500 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=591] [2025/04/04 13:03:04.501 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=472] [cur_db=] [sql="CREATE DATABASE load_data;"] [user=root@%] [2025/04/04 13:03:04.514 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:593, Type:create table, State:queueing, SchemaState:none, SchemaID:590, TableID:592, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:04.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:03:04.514 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:593, Type:create table, State:queueing, SchemaState:none, SchemaID:590, TableID:592, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:04.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE load_data.register_task (a INT, b INT, c int);"] [2025/04/04 13:03:04.520 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=593] [conn=2] [job="ID:593, Type:create table, State:queueing, SchemaState:none, SchemaID:590, TableID:592, RowCount:0, ArgLen:0, start time: 2025-04-04 13:03:04.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:04.525 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 592, Table Name: register_task)"] [2025/04/04 13:03:04.540 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=472] [neededSchemaVersion=473] ["elapsed time"=1.573062ms] [gotSchemaVersion=473] [phyTblIDs="[592]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 13:03:04.544 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=593] [version=473] [2025/04/04 13:03:04.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=473] ["take time"=8.901043ms] [job="ID:593, Type:create table, State:done, SchemaState:public, SchemaID:590, TableID:592, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:04.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:04.559 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=593] [conn=2] [job="ID:593, Type:create table, State:synced, SchemaState:public, SchemaID:590, TableID:592, RowCount:0, ArgLen:0, start time: 2025-04-04 13:03:04.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:04.572 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=593] [2025/04/04 13:03:04.572 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=473] [cur_db=] [sql="CREATE TABLE load_data.register_task (a INT, b INT, c int);"] [user=root@%] [2025/04/04 13:03:04.579 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:03:04.631 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/register_task-*.tsv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/04 13:03:04.651 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30069] [task-id=30069] [data-size=8B] [thread-cnt=8] [global-sort=false] [2025/04/04 13:03:04.666 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30069] [2025/04/04 13:03:04.666 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=30069] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/04 13:03:04.769 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30069] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 13:03:04.770 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30069] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:03:04.771 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30069] [curr-step=init] [next-step=import] [2025/04/04 13:03:04.779 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:03:04.781 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=register_task] [2025/04/04 13:03:04.781 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=register_task] [before=536870912000] [after=8] [2025/04/04 13:03:04.782 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=register_task] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=8] [cost=74.872µs] [2025/04/04 13:03:04.782 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=register_task] [takeTime=215.825µs] [] [2025/04/04 13:03:04.782 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30069] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 13:03:04.782 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30069] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/04 13:03:04.818 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30069] [type=ImportInto] [concurrency=8] [remaining-slots=44] [2025/04/04 13:03:04.838 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30069] [step=import] [2025/04/04 13:03:04.838 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:03:04.846 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 13:03:04.846 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 13:03:04.847 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 13:03:04.847 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 13:03:04.847 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 13:03:04.847 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 13:03:04.847 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 13:03:04.847 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 13:03:04.847 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 13:03:04.848 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 13:03:04.860 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 13:03:04.861 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 13:03:04.861 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=register_task] [quota=374.2GB] [2025/04/04 13:03:04.862 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=30069] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 13:03:04.862 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=register_task] [import-id=30069] [disk-quota=348.5GiB] [2025/04/04 13:03:04.862 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30069] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/04 13:03:04.869 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30069] [task-type=ImportInto] [server-id=:4000] [subtaskID=30131] [step=import] [2025/04/04 13:03:04.869 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30069] [step=import] [subtask-id=30131] [2025/04/04 13:03:04.873 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`register_task`:0] [engineUUID=51a7a24d-77bd-5aff-aeb3-117ab334dd31] [2025/04/04 13:03:04.875 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=30069] [mode=Import] [2025/04/04 13:03:04.876 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`register_task`:-1] [engineUUID=098f296f-4ab3-5292-9ccf-55f0a7a4e5d8] [2025/04/04 13:03:04.876 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=592] [2025/04/04 13:03:04.890 +00:00] [INFO] [import_into_test.go:951] ["register task"] [task_id=30069] [2025/04/04 13:03:04.890 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=30069] [2025/04/04 13:03:04.892 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=592] [key=register_task-1.tsv:0] [2025/04/04 13:03:04.894 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=592] [key=register_task-1.tsv:0] [readDur=1.02637ms] [encodeDur=340.289µs] [checksum="{cksum=16660139917818478543,size=37,kvs=1}"] [deliverDur=200.928µs] [type=file] [takeTime=1.880335ms] [] [2025/04/04 13:03:04.895 +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/30069/51a7a24d-77bd-5aff-aeb3-117ab334dd31.sst/3211e341-ef30-4e60-8def-5585f41f7c85.sst] [firstKey=7480000000000002505F728000000000000001] [lastKey=7480000000000002505F728000000000000001] [2025/04/04 13:03:04.895 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=30069] [step=import] [engine-id=0] [2025/04/04 13:03:04.895 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=30069] [step=import] [engine-id=0] [2025/04/04 13:03:04.895 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`register_task`:0] [engineUUID=51a7a24d-77bd-5aff-aeb3-117ab334dd31] [2025/04/04 13:03:04.897 +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.956827ms] [] [2025/04/04 13:03:04.897 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`register_task`:0] [engineUUID=51a7a24d-77bd-5aff-aeb3-117ab334dd31] [retryCnt=0] [2025/04/04 13:03:04.901 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 13:03:04.922 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=51a7a24d-77bd-5aff-aeb3-117ab334dd31] ["region ranges"=1] [count=1] [size=37] [2025/04/04 13:03:04.922 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 13:03:04.924 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000002505f728000000000000001] [endOfAllRanges=7480000000000002505f728000000000000002] [startKeyOfFirstRegion=7480000000000002ff505f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000002ff505f728000000000ff0000020000000000fa] [2025/04/04 13:03:04.934 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=51a7a24d-77bd-5aff-aeb3-117ab334dd31] [size=37] [kvs=1] [importedSize=37] [importedCount=1] [2025/04/04 13:03:04.936 +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.096171ms] [] [2025/04/04 13:03:04.936 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`register_task`:0] [engineUUID=51a7a24d-77bd-5aff-aeb3-117ab334dd31] [2025/04/04 13:03:04.937 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`register_task`:0] [engineUUID=51a7a24d-77bd-5aff-aeb3-117ab334dd31] [takeTime=963.23µs] [] [2025/04/04 13:03:04.937 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=30069] [step=import] [engine-id=0] [2025/04/04 13:03:04.937 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`register_task`:-1] [engineUUID=098f296f-4ab3-5292-9ccf-55f0a7a4e5d8] [2025/04/04 13:03:04.939 +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.45394ms] [] [2025/04/04 13:03:04.939 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`register_task`:-1] [engineUUID=098f296f-4ab3-5292-9ccf-55f0a7a4e5d8] [retryCnt=0] [2025/04/04 13:03:04.942 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=098f296f-4ab3-5292-9ccf-55f0a7a4e5d8] [2025/04/04 13:03:04.942 +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.48161ms] [] [2025/04/04 13:03:04.942 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`register_task`:-1] [engineUUID=098f296f-4ab3-5292-9ccf-55f0a7a4e5d8] [2025/04/04 13:03:04.943 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`register_task`:-1] [engineUUID=098f296f-4ab3-5292-9ccf-55f0a7a4e5d8] [takeTime=948.743µs] [] [2025/04/04 13:03:04.943 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=30069] [step=import] [subtask-id=30131] [takeTime=74.47598ms] [] [2025/04/04 13:03:04.944 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30069] [task-type=ImportInto] [server-id=:4000] [subtaskID=30131] [step=import] [takeTime=74.612056ms] [] [2025/04/04 13:03:04.973 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30069] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 13:03:04.975 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30069] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:03:04.976 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30069] [curr-step=import] [next-step=post-process] [2025/04/04 13:03:04.976 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=30069] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 13:03:05.010 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=30069] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":1}"] [2025/04/04 13:03:05.011 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30069] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 13:03:05.012 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30069] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/04 13:03:05.046 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=30069] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 13:03:05.052 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30069] [step=import] [2025/04/04 13:03:05.055 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 13:03:05.055 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 13:03:05.055 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 13:03:05.055 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 13:03:05.055 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 13:03:05.055 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:03:05.055 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 13:03:05.055 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 13:03:05.055 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-69] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:03:05.055 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:03:05.056 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:03:05.056 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 13:03:05.058 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 13:03:05.058 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:03:05.058 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:03:05.058 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:03:05.058 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30069] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [takeTime=196.67421ms] [] [2025/04/04 13:03:05.060 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30069] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/04 13:03:05.068 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30069] [task-type=ImportInto] [server-id=:4000] [subtaskID=30132] [step=post-process] [2025/04/04 13:03:05.068 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=30069] [step=post-process] [subtask-id=30132] [2025/04/04 13:03:05.069 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=30069] [step=post-process] [subtask-id=30132] [2025/04/04 13:03:05.069 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=30069] [step=post-process] [subtask-id=30132] [2025/04/04 13:03:05.075 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=30069] [step=post-process] [subtask-id=30132] [takeTime=6.221153ms] [] [2025/04/04 13:03:05.075 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=30069] [step=post-process] [subtask-id=30132] [groupId=-1] [size=37] [kvs=1] [checksum=16660139917818478543] [2025/04/04 13:03:05.075 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=30069] [step=post-process] [subtask-id=30132] [checksum="{cksum=16660139917818478543,size=37,kvs=1}"] [2025/04/04 13:03:05.075 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=30069] [step=post-process] [subtask-id=30132] [weight=30] [2025/04/04 13:03:05.075 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=30069] [step=post-process] [subtask-id=30132] [concurrency=15] [2025/04/04 13:03:05.077 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=592] [physicalTableID=592] [indexID=-1] [checksum=16660139917818478543] [totalKvs=1] [totalBytes=37] [2025/04/04 13:03:05.077 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 13:03:05.077 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=30069] [step=post-process] [subtask-id=30132] [local="{cksum=16660139917818478543,size=37,kvs=1}"] [2025/04/04 13:03:05.077 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=30069] [step=post-process] [subtask-id=30132] [takeTime=8.808214ms] [] [2025/04/04 13:03:05.077 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=30069] [step=post-process] [subtask-id=30132] [takeTime=8.994676ms] [] [2025/04/04 13:03:05.078 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30069] [task-type=ImportInto] [server-id=:4000] [subtaskID=30132] [step=post-process] [takeTime=9.181815ms] [] [2025/04/04 13:03:05.104 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 13:03:05.174 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30069] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 13:03:05.174 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30069] [step=post-process] [state=running] [] [2025/04/04 13:03:05.175 +00:00] [INFO] [import_into_test.go:956] ["unregister task"] [task_id=30069] [2025/04/04 13:03:05.175 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=30069] [2025/04/04 13:03:05.196 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30069] [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=135.862814ms] [] [2025/04/04 13:03:05.196 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30069] [type=ImportInto] [2025/04/04 13:03:05.268 +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.695094121\n# Parse_time: 0.000083159\n# Compile_time: 0.000513114\n# Rewrite_time: 0.000179327\n# Optimize_time: 0.000248187\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('TPBLMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY5NC4ybXMsIG9wZW46MS42NsK1cywgY2xvc2U6MS4yMcK1cywgbG9vcHM6MglOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('Z/BDCmMKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWjJ0aW1lOjY5NC4ybXMsIG9wZW46MS42NsK1cywgY2xvc2U6MS4yMcIBDyBsb29wczoycP8RATQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.0000187\nuse ;\nIMPORT INTO `load_data`.`register_task` FROM 'gs://test-load/register_task-*.tsv?endpoint=http://127.0.0.1:4443/storage/v1/';"] [2025/04/04 13:03:05.268 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30069] [2025/04/04 13:03:05.276 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 13:03:05.276 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30069] [2025/04/04 13:03:05.284 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:595, Type:truncate table, State:queueing, SchemaState:none, SchemaID:590, TableID:592, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:05.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:03:05.284 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:595, Type:truncate table, State:queueing, SchemaState:none, SchemaID:590, TableID:592, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:05.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table load_data.register_task;"] [2025/04/04 13:03:05.289 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=595] [conn=2] [job="ID:595, Type:truncate table, State:queueing, SchemaState:none, SchemaID:590, TableID:592, RowCount:0, ArgLen:0, start time: 2025-04-04 13:03:05.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:05.297 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 594, Table Name: register_task, Old Table ID: 592, Old Table Name: register_task)"] [2025/04/04 13:03:05.300 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 13:03:05.314 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=473] [neededSchemaVersion=474] ["elapsed time"=1.611358ms] [gotSchemaVersion=474] [phyTblIDs="[592,594]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 13:03:05.317 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=595] [version=474] [2025/04/04 13:03:05.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=474] ["take time"=8.6858ms] [job="ID:595, Type:truncate table, State:done, SchemaState:public, SchemaID:590, TableID:592, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:05.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:05.329 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=595] [tableIDs="[592]"] [comment="truncate table: table ID"] [2025/04/04 13:03:05.333 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=595] [jobType="truncate table"] [2025/04/04 13:03:05.334 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=595] [conn=2] [job="ID:595, Type:truncate table, State:synced, SchemaState:public, SchemaID:590, TableID:592, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:05.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:05.351 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=595] [2025/04/04 13:03:05.352 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=474] [cur_db=] [sql="truncate table load_data.register_task;"] [user=root@%] [2025/04/04 13:03:05.359 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:03:05.410 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/register_task-*.tsv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/04 13:03:05.429 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30070] [task-id=30070] [data-size=8B] [thread-cnt=8] [global-sort=false] [2025/04/04 13:03:05.443 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30070] [2025/04/04 13:03:05.443 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=30070] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/04 13:03:05.545 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30070] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 13:03:05.546 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30070] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:03:05.547 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30070] [curr-step=init] [next-step=import] [2025/04/04 13:03:05.555 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:03:05.558 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=register_task] [2025/04/04 13:03:05.558 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=register_task] [before=536870912000] [after=8] [2025/04/04 13:03:05.558 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=register_task] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=8] [cost=54.36µs] [2025/04/04 13:03:05.558 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=register_task] [takeTime=151.591µs] [] [2025/04/04 13:03:05.558 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30070] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 13:03:05.558 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30070] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/04 13:03:05.597 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30070] [type=ImportInto] [concurrency=8] [remaining-slots=44] [2025/04/04 13:03:05.617 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30070] [step=import] [2025/04/04 13:03:05.617 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:03:05.624 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 13:03:05.624 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 13:03:05.625 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 13:03:05.625 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 13:03:05.625 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 13:03:05.625 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 13:03:05.625 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 13:03:05.625 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 13:03:05.626 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 13:03:05.626 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 13:03:05.638 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 13:03:05.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/04 13:03:05.640 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=register_task] [quota=374.2GB] [2025/04/04 13:03:05.640 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=30070] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 13:03:05.640 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=register_task] [import-id=30070] [disk-quota=348.5GiB] [2025/04/04 13:03:05.640 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30070] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/04 13:03:05.647 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30070] [task-type=ImportInto] [server-id=:4000] [subtaskID=30133] [step=import] [2025/04/04 13:03:05.647 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30070] [step=import] [subtask-id=30133] [2025/04/04 13:03:05.651 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`register_task`:0] [engineUUID=51a7a24d-77bd-5aff-aeb3-117ab334dd31] [2025/04/04 13:03:05.652 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=30070] [mode=Import] [2025/04/04 13:03:05.655 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`register_task`:-1] [engineUUID=098f296f-4ab3-5292-9ccf-55f0a7a4e5d8] [2025/04/04 13:03:05.655 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=594] [2025/04/04 13:03:05.671 +00:00] [INFO] [import_into_test.go:951] ["register task"] [task_id=30070] [2025/04/04 13:03:05.671 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=30070] [2025/04/04 13:03:07.630 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/04 13:03:08.656 +00:00] [ERROR] [task_executor.go:129] ["run subtask failed"] [type=ImportInto] [task-id=30070] [step=import] [subtask-id=30133] [takeTime=3.008750781s] [error="occur an error when sort chunk"] [stack="github.com/pingcap/tidb/pkg/disttask/importinto.(*importStepExecutor).RunSubtask.func1\n\tpkg/disttask/importinto/task_executor.go:129\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:200\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/04 13:03:08.656 +00:00] [INFO] [task_executor.go:464] ["run subtask failed"] [task-id=30070] [task-type=ImportInto] [server-id=:4000] [subtaskID=30133] [step=import] [takeTime=3.009033033s] [error="occur an error when sort chunk"] [errorVerbose="occur an error when sort chunk\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importMinimalTaskExecutor).Run\n\tpkg/disttask/importinto/subtask_executor.go:59\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*chunkWorker).HandleTask\n\tpkg/disttask/importinto/encode_and_sort_operator.go:200\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).handleTaskWithRecover\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:149\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).runAWorker.func1\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:165\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:167\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:03:08.657 +00:00] [WARN] [task_executor.go:706] ["subtask failed"] [task-id=30070] [task-type=ImportInto] [server-id=:4000] [error="occur an error when sort chunk"] [errorVerbose="occur an error when sort chunk\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importMinimalTaskExecutor).Run\n\tpkg/disttask/importinto/subtask_executor.go:59\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*chunkWorker).HandleTask\n\tpkg/disttask/importinto/encode_and_sort_operator.go:200\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).handleTaskWithRecover\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:149\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).runAWorker.func1\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:165\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:167\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:03:08.663 +00:00] [ERROR] [task_executor.go:344] ["run subtask failed"] [task-id=30070] [task-type=ImportInto] [server-id=:4000] [error="occur an error when sort chunk"] [errorVerbose="occur an error when sort chunk\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importMinimalTaskExecutor).Run\n\tpkg/disttask/importinto/subtask_executor.go:59\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*chunkWorker).HandleTask\n\tpkg/disttask/importinto/encode_and_sort_operator.go:200\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).handleTaskWithRecover\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:149\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).runAWorker.func1\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:165\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:167\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:344\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/04 13:03:08.759 +00:00] [WARN] [scheduler.go:389] ["subtasks encounter errors"] [task-id=30070] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [subtask-errs="[\"{error=\\\"[0]occur an error when sort chunk\\\"}\"]"] [2025/04/04 13:03:08.770 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30070] [step=import] [2025/04/04 13:03:08.773 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 13:03:08.773 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 13:03:08.773 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 13:03:08.773 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 13:03:08.773 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 13:03:08.773 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 13:03:08.773 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 13:03:08.773 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:03:08.773 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-70] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:03:08.773 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:03:08.773 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:03:08.773 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 13:03:08.775 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 13:03:08.775 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:03:08.775 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:03:08.775 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:03:08.776 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30070] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [takeTime=3.135643477s] [] [2025/04/04 13:03:08.776 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30070] [type=ImportInto] [2025/04/04 13:03:08.850 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30070] [step=import] [state=reverting] [error="[0]occur an error when sort chunk"] [2025/04/04 13:03:08.851 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=30070] [step=import] [mode=Normal] [2025/04/04 13:03:08.864 +00:00] [INFO] [import_into_test.go:956] ["unregister task"] [task_id=30070] [2025/04/04 13:03:08.864 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=30070] [2025/04/04 13:03:08.945 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30070] [2025/04/04 13:03:08.951 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 13:03:08.951 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30070] [2025/04/04 13:03:08.971 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 13:03:09.042 +00:00] [ERROR] [handle.go:110] ["task reverted"] [task-id=30070] [error="[0]occur an error when sort chunk"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/handle.WaitTaskDoneOrPaused\n\tpkg/disttask/framework/handle/handle.go:110\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoExec).waitTask\n\tpkg/executor/import_into.go:233\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoExec).Next\n\tpkg/executor/import_into.go:137\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*recordSet).Next\n\tpkg/executor/adapter.go:172\ngithub.com/pingcap/tidb/pkg/session.GetRows4Test\n\tpkg/session/tidb.go:343\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).QueryToErr\n\tpkg/testkit/testkit.go:304\ntests/realtikvtest/importintotest/importintotest_test.(*mockGCSSuite).TestRegisterTask\n\ttests/realtikvtest/importintotest/import_into_test.go:994\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690"] [2025/04/04 13:03:09.042 +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.689819124\n# Parse_time: 0.000075931\n# Compile_time: 0.00049511\n# Rewrite_time: 0.000163699\n# Optimize_time: 0.000264554\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('RvBFMAk1OV8yCTAJMAlOL0EJMAl0aW1lOjMuNjlzLCBvcGVuOjgxMm5zLCBjbG9zZTo5NjNucywgbG9vcHM6MQlOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('X/BMClsKDEltcG9ydEludG9fMjgBQAFSA04vQVosdGltZTozLjY5cywgb3Blbjo4MTJucywgY2xvc2U6OTYzbnMsIGxvb3BzOjFw//////8BAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.0000187\nIMPORT INTO `load_data`.`register_task` FROM 'gs://test-load/register_task-*.tsv?endpoint=http://127.0.0.1:4443/storage/v1/';"] [2025/04/04 13:03:09.051 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:03:09.095 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/register_task-*.tsv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/04 13:03:09.112 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30071] [task-id=30071] [data-size=8B] [thread-cnt=8] [global-sort=false] [2025/04/04 13:03:09.126 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30071] [2025/04/04 13:03:09.126 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=30071] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/04 13:03:09.228 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30071] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 13:03:09.229 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30071] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:03:09.230 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30071] [curr-step=init] [next-step=import] [2025/04/04 13:03:09.237 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:03:09.239 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=register_task] [2025/04/04 13:03:09.239 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=register_task] [before=536870912000] [after=8] [2025/04/04 13:03:09.240 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=register_task] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=8] [cost=53.711µs] [2025/04/04 13:03:09.240 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=register_task] [takeTime=153.706µs] [] [2025/04/04 13:03:09.240 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30071] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 13:03:09.240 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30071] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/04 13:03:09.275 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30071] [type=ImportInto] [concurrency=8] [remaining-slots=44] [2025/04/04 13:03:09.294 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30071] [step=import] [2025/04/04 13:03:09.294 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:03:09.301 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 13:03:09.302 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 13:03:09.302 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 13:03:09.302 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 13:03:09.302 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 13:03:09.302 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 13:03:09.302 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 13:03:09.302 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 13:03:09.303 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 13:03:09.303 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 13:03:09.314 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 13:03:09.316 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 13:03:09.316 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=register_task] [quota=374.2GB] [2025/04/04 13:03:09.316 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=30071] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 13:03:09.316 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=register_task] [import-id=30071] [disk-quota=348.5GiB] [2025/04/04 13:03:09.316 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30071] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/04 13:03:09.323 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30071] [task-type=ImportInto] [server-id=:4000] [subtaskID=30134] [step=import] [2025/04/04 13:03:09.323 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30071] [step=import] [subtask-id=30134] [2025/04/04 13:03:09.327 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`register_task`:0] [engineUUID=51a7a24d-77bd-5aff-aeb3-117ab334dd31] [2025/04/04 13:03:09.330 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`register_task`:-1] [engineUUID=098f296f-4ab3-5292-9ccf-55f0a7a4e5d8] [2025/04/04 13:03:09.330 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=594] testkit.go:123: RefreshSession rand seed: 1743771789330632782 [2025/04/04 13:03:09.334 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=30071] [mode=Import] [2025/04/04 13:03:09.337 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:03:09.352 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=30071] [2025/04/04 13:03:09.661 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=594] [key=register_task-1.tsv:0] [2025/04/04 13:03:09.663 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=594] [key=register_task-1.tsv:0] [readDur=899.221µs] [encodeDur=495.756µs] [checksum="{cksum=16301235072553948290,size=37,kvs=1}"] [deliverDur=277.42µs] [type=file] [takeTime=1.879803ms] [] [2025/04/04 13:03:09.664 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=37] [kvs=1] [files=1] [sstFileSize=935] [file=/tmp/tidb/import-4000/30071/51a7a24d-77bd-5aff-aeb3-117ab334dd31.sst/44d90591-728d-487f-90d8-f54cbacc7297.sst] [firstKey=7480000000000002525F728000000000000001] [lastKey=7480000000000002525F728000000000000001] [2025/04/04 13:03:09.664 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=30071] [step=import] [engine-id=0] [2025/04/04 13:03:09.664 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=30071] [step=import] [engine-id=0] [2025/04/04 13:03:09.664 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`register_task`:0] [engineUUID=51a7a24d-77bd-5aff-aeb3-117ab334dd31] [2025/04/04 13:03:09.666 +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.885087ms] [] [2025/04/04 13:03:09.666 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`register_task`:0] [engineUUID=51a7a24d-77bd-5aff-aeb3-117ab334dd31] [retryCnt=0] [2025/04/04 13:03:09.671 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 13:03:09.692 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=51a7a24d-77bd-5aff-aeb3-117ab334dd31] ["region ranges"=1] [count=1] [size=37] [2025/04/04 13:03:09.692 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 13:03:09.694 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000002525f728000000000000001] [endOfAllRanges=7480000000000002525f728000000000000002] [startKeyOfFirstRegion=7480000000000002ff525f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000002ff525f728000000000ff0000020000000000fa] [2025/04/04 13:03:09.704 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=51a7a24d-77bd-5aff-aeb3-117ab334dd31] [size=37] [kvs=1] [importedSize=37] [importedCount=1] [2025/04/04 13:03:09.706 +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.635533ms] [] [2025/04/04 13:03:09.706 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`register_task`:0] [engineUUID=51a7a24d-77bd-5aff-aeb3-117ab334dd31] [2025/04/04 13:03:09.707 +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.153195ms] [] [2025/04/04 13:03:09.707 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=30071] [step=import] [engine-id=0] [2025/04/04 13:03:09.707 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`register_task`:-1] [engineUUID=098f296f-4ab3-5292-9ccf-55f0a7a4e5d8] [2025/04/04 13:03:09.709 +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.477633ms] [] [2025/04/04 13:03:09.709 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`register_task`:-1] [engineUUID=098f296f-4ab3-5292-9ccf-55f0a7a4e5d8] [retryCnt=0] [2025/04/04 13:03:09.712 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=098f296f-4ab3-5292-9ccf-55f0a7a4e5d8] [2025/04/04 13:03:09.713 +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.538208ms] [] [2025/04/04 13:03:09.713 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`register_task`:-1] [engineUUID=098f296f-4ab3-5292-9ccf-55f0a7a4e5d8] [2025/04/04 13:03:09.714 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`register_task`:-1] [engineUUID=098f296f-4ab3-5292-9ccf-55f0a7a4e5d8] [takeTime=884.18µs] [] [2025/04/04 13:03:09.714 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=30071] [step=import] [subtask-id=30134] [takeTime=390.764467ms] [] [2025/04/04 13:03:09.714 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30071] [task-type=ImportInto] [server-id=:4000] [subtaskID=30134] [step=import] [takeTime=391.338208ms] [] [2025/04/04 13:03:09.734 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30071] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 13:03:09.735 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30071] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:03:09.736 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30071] [curr-step=import] [next-step=post-process] [2025/04/04 13:03:09.736 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=30071] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 13:03:09.764 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=30071] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":1}"] [2025/04/04 13:03:09.766 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30071] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 13:03:09.766 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30071] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/04 13:03:09.798 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=30071] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 13:03:09.804 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30071] [step=import] [2025/04/04 13:03:09.807 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 13:03:09.807 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 13:03:09.807 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 13:03:09.807 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 13:03:09.807 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 13:03:09.807 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 13:03:09.807 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 13:03:09.807 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-71] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:03:09.807 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:03:09.807 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:03:09.807 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:03:09.807 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 13:03:09.810 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 13:03:09.810 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:03:09.810 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:03:09.810 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:03:09.810 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30071] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [takeTime=493.650554ms] [] [2025/04/04 13:03:09.811 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30071] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/04 13:03:09.818 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30071] [task-type=ImportInto] [server-id=:4000] [subtaskID=30135] [step=post-process] [2025/04/04 13:03:09.818 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=30071] [step=post-process] [subtask-id=30135] [2025/04/04 13:03:09.818 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=30071] [step=post-process] [subtask-id=30135] [2025/04/04 13:03:09.818 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=30071] [step=post-process] [subtask-id=30135] [2025/04/04 13:03:09.823 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=30071] [step=post-process] [subtask-id=30135] [takeTime=5.315167ms] [] [2025/04/04 13:03:09.824 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=30071] [step=post-process] [subtask-id=30135] [groupId=-1] [size=37] [kvs=1] [checksum=16301235072553948290] [2025/04/04 13:03:09.824 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=30071] [step=post-process] [subtask-id=30135] [checksum="{cksum=16301235072553948290,size=37,kvs=1}"] [2025/04/04 13:03:09.824 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=30071] [step=post-process] [subtask-id=30135] [weight=30] [2025/04/04 13:03:09.824 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=30071] [step=post-process] [subtask-id=30135] [concurrency=15] [2025/04/04 13:03:09.826 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=594] [physicalTableID=594] [indexID=-1] [checksum=16301235072553948290] [totalKvs=1] [totalBytes=37] [2025/04/04 13:03:09.826 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 13:03:09.826 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=30071] [step=post-process] [subtask-id=30135] [local="{cksum=16301235072553948290,size=37,kvs=1}"] [2025/04/04 13:03:09.826 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=30071] [step=post-process] [subtask-id=30135] [takeTime=7.956499ms] [] [2025/04/04 13:03:09.826 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=30071] [step=post-process] [subtask-id=30135] [takeTime=8.08715ms] [] [2025/04/04 13:03:09.826 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30071] [task-type=ImportInto] [server-id=:4000] [subtaskID=30135] [step=post-process] [takeTime=8.215797ms] [] [2025/04/04 13:03:09.852 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 13:03:09.934 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30071] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 13:03:09.934 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30071] [step=post-process] [state=running] [] [2025/04/04 13:03:09.936 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=30071] [2025/04/04 13:03:09.962 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30071] [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=150.833354ms] [] [2025/04/04 13:03:09.962 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30071] [type=ImportInto] [2025/04/04 13:03:10.028 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30071] [2025/04/04 13:03:10.029 +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.984085768\n# Parse_time: 0.000409295\n# Compile_time: 0.000631821\n# Rewrite_time: 0.000192145\n# Optimize_time: 0.000264554\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4Mi44bXMsIG9wZW46ODA3bnMsIGNsb3NlOjk0Mm5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk4Mi44bXMsIG9wZW46ODA3bnMsIGNsb3NlOjk0Mm5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.0000187\nIMPORT INTO `load_data`.`register_task` FROM 'gs://test-load/register_task-*.tsv?endpoint=http://127.0.0.1:4443/storage/v1/';"] --- PASS: TestImportInto/TestRegisterTask (5.73s) === NAME TestImportInto === RUN TestImportInto/TestSameBehaviourDetachedOrNot [2025/04/04 13:03:10.034 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 13:03:10.034 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30071] [2025/04/04 13:03:10.035 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=474] [cur_db=] [sql="DROP DATABASE IF EXISTS test_detached;"] [user=root@%] [2025/04/04 13:03:10.047 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:597, Type:create schema, State:queueing, SchemaState:none, SchemaID:596, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:09.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:03:10.047 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:597, Type:create schema, State:queueing, SchemaState:none, SchemaID:596, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:09.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE test_detached;"] [2025/04/04 13:03:10.052 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=597] [conn=2] [job="ID:597, Type:create schema, State:queueing, SchemaState:none, SchemaID:596, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:03:09.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:10.055 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 13:03:10.065 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=474] [neededSchemaVersion=475] ["elapsed time"=673.411µs] [gotSchemaVersion=475] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 13:03:10.069 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=597] [version=475] [2025/04/04 13:03:10.070 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=475] ["take time"=7.657832ms] [job="ID:597, Type:create schema, State:done, SchemaState:public, SchemaID:596, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:09.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:10.080 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=597] [conn=2] [job="ID:597, Type:create schema, State:synced, SchemaState:public, SchemaID:596, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:03:09.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:10.088 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=597] [2025/04/04 13:03:10.089 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=475] [cur_db=] [sql="CREATE DATABASE test_detached;"] [user=root@%] [2025/04/04 13:03:10.102 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:599, Type:create table, State:queueing, SchemaState:none, SchemaID:596, TableID:598, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:10.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:03:10.102 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:599, Type:create table, State:queueing, SchemaState:none, SchemaID:596, TableID:598, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:10.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE test_detached.t1 (dt DATETIME, ts TIMESTAMP);"] [2025/04/04 13:03:10.107 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=599] [conn=2] [job="ID:599, Type:create table, State:queueing, SchemaState:none, SchemaID:596, TableID:598, RowCount:0, ArgLen:0, start time: 2025-04-04 13:03:10.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:10.111 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 598, Table Name: t1)"] [2025/04/04 13:03:10.126 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=475] [neededSchemaVersion=476] ["elapsed time"=1.423172ms] [gotSchemaVersion=476] [phyTblIDs="[598]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 13:03:10.129 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=599] [version=476] [2025/04/04 13:03:10.131 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=476] ["take time"=8.2915ms] [job="ID:599, Type:create table, State:done, SchemaState:public, SchemaID:596, TableID:598, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:10.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:10.142 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=599] [conn=2] [job="ID:599, Type:create table, State:synced, SchemaState:public, SchemaID:596, TableID:598, RowCount:0, ArgLen:0, start time: 2025-04-04 13:03:10.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:10.153 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=599] [2025/04/04 13:03:10.153 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=476] [cur_db=] [sql="CREATE TABLE test_detached.t1 (dt DATETIME, ts TIMESTAMP);"] [user=root@%] [2025/04/04 13:03:10.165 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:601, Type:create table, State:queueing, SchemaState:none, SchemaID:596, TableID:600, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:10.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:03:10.165 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:601, Type:create table, State:queueing, SchemaState:none, SchemaID:596, TableID:600, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:10.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE test_detached.t2 (dt DATETIME, ts TIMESTAMP);"] [2025/04/04 13:03:10.170 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=601] [conn=2] [job="ID:601, Type:create table, State:queueing, SchemaState:none, SchemaID:596, TableID:600, RowCount:0, ArgLen:0, start time: 2025-04-04 13:03:10.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:10.174 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 600, Table Name: t2)"] [2025/04/04 13:03:10.188 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=476] [neededSchemaVersion=477] ["elapsed time"=1.518479ms] [gotSchemaVersion=477] [phyTblIDs="[600]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 13:03:10.192 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=601] [version=477] [2025/04/04 13:03:10.193 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=477] ["take time"=7.972963ms] [job="ID:601, Type:create table, State:done, SchemaState:public, SchemaID:596, TableID:600, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:10.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:10.204 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=601] [conn=2] [job="ID:601, Type:create table, State:synced, SchemaState:public, SchemaID:596, TableID:600, RowCount:0, ArgLen:0, start time: 2025-04-04 13:03:10.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:10.215 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=601] [2025/04/04 13:03:10.215 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=477] [cur_db=] [sql="CREATE TABLE test_detached.t2 (dt DATETIME, ts TIMESTAMP);"] [user=root@%] [2025/04/04 13:03:10.221 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:03:10.268 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-detached/1.txt?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/04 13:03:10.285 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30072] [task-id=30072] [data-size=39B] [thread-cnt=1] [global-sort=false] [2025/04/04 13:03:10.300 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30072] [2025/04/04 13:03:10.300 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=30072] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/04 13:03:10.403 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30072] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 13:03:10.404 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30072] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:03:10.405 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30072] [curr-step=init] [next-step=import] [2025/04/04 13:03:10.413 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:03:10.415 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t1] [2025/04/04 13:03:10.415 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t1] [before=536870912000] [after=39] [2025/04/04 13:03:10.415 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t1] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=39] [cost=45.805µs] [2025/04/04 13:03:10.415 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t1] [takeTime=150.603µs] [] [2025/04/04 13:03:10.415 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30072] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 13:03:10.415 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30072] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/04 13:03:10.446 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30072] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 13:03:10.466 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30072] [step=import] [2025/04/04 13:03:10.466 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:03:10.474 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 13:03:10.474 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 13:03:10.474 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 13:03:10.474 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 13:03:10.474 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 13:03:10.474 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 13:03:10.474 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 13:03:10.474 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 13:03:10.475 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 13:03:10.475 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 13:03:10.487 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 13:03:10.489 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 13:03:10.489 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t1] [quota=374.2GB] [2025/04/04 13:03:10.489 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=30072] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 13:03:10.489 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30072] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/04 13:03:10.489 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t1] [import-id=30072] [disk-quota=348.5GiB] [2025/04/04 13:03:10.496 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30072] [task-type=ImportInto] [server-id=:4000] [subtaskID=30136] [step=import] [2025/04/04 13:03:10.496 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30072] [step=import] [subtask-id=30136] [2025/04/04 13:03:10.500 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:0] [engineUUID=3ae7f001-78df-5ff2-91c4-d73c344f65c1] [2025/04/04 13:03:10.503 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:-1] [engineUUID=236fca0d-9ac9-528c-a14d-cb65c9505a78] [2025/04/04 13:03:10.503 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=598] [2025/04/04 13:03:10.509 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=30072] [mode=Import] [2025/04/04 13:03:10.517 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=598] [key=1.txt:0] [2025/04/04 13:03:10.519 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=598] [key=1.txt:0] [readDur=835.112µs] [encodeDur=533.876µs] [checksum="{cksum=14486680160911596574,size=47,kvs=1}"] [deliverDur=172.073µs] [type=file] [takeTime=1.843664ms] [] [2025/04/04 13:03:10.520 +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/30072/3ae7f001-78df-5ff2-91c4-d73c344f65c1.sst/c2a75ea2-de78-4106-85d5-87fc65b742ad.sst] [firstKey=7480000000000002565F728000000000000001] [lastKey=7480000000000002565F728000000000000001] [2025/04/04 13:03:10.520 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=30072] [step=import] [engine-id=0] [2025/04/04 13:03:10.520 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=30072] [step=import] [engine-id=0] [2025/04/04 13:03:10.520 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:0] [engineUUID=3ae7f001-78df-5ff2-91c4-d73c344f65c1] [2025/04/04 13:03:10.522 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:0] [engineUUID=3ae7f001-78df-5ff2-91c4-d73c344f65c1] [takeTime=1.978307ms] [] [2025/04/04 13:03:10.522 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:0] [engineUUID=3ae7f001-78df-5ff2-91c4-d73c344f65c1] [retryCnt=0] [2025/04/04 13:03:10.526 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 13:03:10.528 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=30072] [2025/04/04 13:03:10.548 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=3ae7f001-78df-5ff2-91c4-d73c344f65c1] ["region ranges"=1] [count=1] [size=47] [2025/04/04 13:03:10.548 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 13:03:10.549 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000002565f728000000000000001] [endOfAllRanges=7480000000000002565f728000000000000002] [startKeyOfFirstRegion=7480000000000002ff565f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000002ff565f728000000000ff0000020000000000fa] [2025/04/04 13:03:10.560 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=3ae7f001-78df-5ff2-91c4-d73c344f65c1] [size=47] [kvs=1] [importedSize=47] [importedCount=1] [2025/04/04 13:03:10.562 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:0] [engineUUID=3ae7f001-78df-5ff2-91c4-d73c344f65c1] [retryCnt=0] [takeTime=40.2061ms] [] [2025/04/04 13:03:10.562 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:0] [engineUUID=3ae7f001-78df-5ff2-91c4-d73c344f65c1] [2025/04/04 13:03:10.563 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:0] [engineUUID=3ae7f001-78df-5ff2-91c4-d73c344f65c1] [takeTime=1.068587ms] [] [2025/04/04 13:03:10.563 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=30072] [step=import] [engine-id=0] [2025/04/04 13:03:10.563 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:-1] [engineUUID=236fca0d-9ac9-528c-a14d-cb65c9505a78] [2025/04/04 13:03:10.565 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:-1] [engineUUID=236fca0d-9ac9-528c-a14d-cb65c9505a78] [takeTime=1.470092ms] [] [2025/04/04 13:03:10.565 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:-1] [engineUUID=236fca0d-9ac9-528c-a14d-cb65c9505a78] [retryCnt=0] [2025/04/04 13:03:10.569 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=236fca0d-9ac9-528c-a14d-cb65c9505a78] [2025/04/04 13:03:10.569 +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.647663ms] [] [2025/04/04 13:03:10.569 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:-1] [engineUUID=236fca0d-9ac9-528c-a14d-cb65c9505a78] [2025/04/04 13:03:10.570 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:-1] [engineUUID=236fca0d-9ac9-528c-a14d-cb65c9505a78] [takeTime=880.752µs] [] [2025/04/04 13:03:10.570 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=30072] [step=import] [subtask-id=30136] [takeTime=73.45898ms] [] [2025/04/04 13:03:10.570 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30072] [task-type=ImportInto] [server-id=:4000] [subtaskID=30136] [step=import] [takeTime=73.605877ms] [] [2025/04/04 13:03:10.607 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30072] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 13:03:10.608 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30072] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:03:10.609 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30072] [curr-step=import] [next-step=post-process] [2025/04/04 13:03:10.609 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=30072] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 13:03:10.642 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=30072] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":1}"] [2025/04/04 13:03:10.643 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30072] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 13:03:10.643 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30072] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/04 13:03:10.669 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=30072] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 13:03:10.675 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30072] [step=import] [2025/04/04 13:03:10.678 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 13:03:10.678 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 13:03:10.678 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 13:03:10.678 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 13:03:10.678 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 13:03:10.678 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 13:03:10.678 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:03:10.678 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 13:03:10.678 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:03:10.678 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-72] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:03:10.678 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:03:10.678 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 13:03:10.680 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 13:03:10.680 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:03:10.680 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:03:10.681 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:03:10.681 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30072] [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.573653ms] [] [2025/04/04 13:03:10.682 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30072] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/04 13:03:10.689 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30072] [task-type=ImportInto] [server-id=:4000] [subtaskID=30137] [step=post-process] [2025/04/04 13:03:10.689 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=30072] [step=post-process] [subtask-id=30137] [2025/04/04 13:03:10.689 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=30072] [step=post-process] [subtask-id=30137] [2025/04/04 13:03:10.689 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=30072] [step=post-process] [subtask-id=30137] [2025/04/04 13:03:10.696 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=30072] [step=post-process] [subtask-id=30137] [takeTime=6.946887ms] [] [2025/04/04 13:03:10.696 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=30072] [step=post-process] [subtask-id=30137] [groupId=-1] [size=47] [kvs=1] [checksum=14486680160911596574] [2025/04/04 13:03:10.696 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=30072] [step=post-process] [subtask-id=30137] [checksum="{cksum=14486680160911596574,size=47,kvs=1}"] [2025/04/04 13:03:10.798 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=30072] [step=post-process] [subtask-id=30137] [weight=30] [2025/04/04 13:03:10.798 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=30072] [step=post-process] [subtask-id=30137] [concurrency=15] [2025/04/04 13:03:10.802 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=598] [physicalTableID=598] [indexID=-1] [checksum=14486680160911596574] [totalKvs=1] [totalBytes=47] [2025/04/04 13:03:10.803 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 13:03:10.803 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=30072] [step=post-process] [subtask-id=30137] [local="{cksum=14486680160911596574,size=47,kvs=1}"] [2025/04/04 13:03:10.803 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=30072] [step=post-process] [subtask-id=30137] [takeTime=114.229783ms] [] [2025/04/04 13:03:10.803 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=30072] [step=post-process] [subtask-id=30137] [takeTime=114.363974ms] [] [2025/04/04 13:03:10.804 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30072] [task-type=ImportInto] [server-id=:4000] [subtaskID=30137] [step=post-process] [takeTime=114.908415ms] [] [2025/04/04 13:03:10.813 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 13:03:10.815 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30072] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 13:03:10.816 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30072] [step=post-process] [state=running] [] [2025/04/04 13:03:10.819 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=30072] [2025/04/04 13:03:10.852 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30072] [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=169.782672ms] [] [2025/04/04 13:03:10.852 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30072] [type=ImportInto] [2025/04/04 13:03:10.902 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30072] [2025/04/04 13:03:10.902 +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.686500791\n# Parse_time: 0.00009293\n# Compile_time: 0.000428973\n# Rewrite_time: 0.000132477\n# Optimize_time: 0.000225384\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY4NS43bXMsIG9wZW46Njg5bnMsIGNsb3NlOjc5MW5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY4NS43bXMsIG9wZW46Njg5bnMsIGNsb3NlOjc5MW5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.0000187\nIMPORT INTO `test_detached`.`t1` FROM 'gs://test-detached/1.txt?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1;"] [2025/04/04 13:03:10.908 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 13:03:10.908 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30072] [2025/04/04 13:03:10.910 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:03:10.931 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 13:03:10.959 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-detached/1.txt?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"detached\":null,\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/04 13:03:10.977 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30073] [task-id=30073] [data-size=39B] [thread-cnt=1] [global-sort=false] [2025/04/04 13:03:10.991 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30073] [2025/04/04 13:03:10.991 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=30073] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/04 13:03:11.095 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30073] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 13:03:11.096 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30073] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:03:11.097 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30073] [curr-step=init] [next-step=import] [2025/04/04 13:03:11.104 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:03:11.106 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t2] [2025/04/04 13:03:11.106 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t2] [before=536870912000] [after=39] [2025/04/04 13:03:11.106 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t2] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=39] [cost=50.379µs] [2025/04/04 13:03:11.107 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t2] [takeTime=166.937µs] [] [2025/04/04 13:03:11.107 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30073] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 13:03:11.107 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30073] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/04 13:03:11.137 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30073] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 13:03:11.156 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30073] [step=import] [2025/04/04 13:03:11.157 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:03:11.164 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 13:03:11.164 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 13:03:11.165 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 13:03:11.165 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 13:03:11.165 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 13:03:11.165 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 13:03:11.165 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 13:03:11.165 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 13:03:11.166 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 13:03:11.166 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 13:03:11.179 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 13:03:11.181 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 13:03:11.181 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t2] [quota=374.2GB] [2025/04/04 13:03:11.181 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=30073] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 13:03:11.181 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t2] [import-id=30073] [disk-quota=348.5GiB] [2025/04/04 13:03:11.181 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30073] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/04 13:03:11.189 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30073] [task-type=ImportInto] [server-id=:4000] [subtaskID=30138] [step=import] [2025/04/04 13:03:11.189 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30073] [step=import] [subtask-id=30138] [2025/04/04 13:03:11.192 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:0] [engineUUID=ad22e41c-f30a-50a8-9086-89d3ea93a06e] [2025/04/04 13:03:11.196 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:-1] [engineUUID=964427c2-81fe-5e20-9cf8-2220d41449c0] [2025/04/04 13:03:11.196 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=600] [2025/04/04 13:03:11.201 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=30073] [mode=Import] [2025/04/04 13:03:11.219 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=30073] [2025/04/04 13:03:11.240 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=600] [key=1.txt:0] [2025/04/04 13:03:11.242 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=600] [key=1.txt:0] [readDur=972.967µs] [encodeDur=534.732µs] [checksum="{cksum=2679153509929526040,size=47,kvs=1}"] [deliverDur=261.755µs] [type=file] [takeTime=2.064332ms] [] [2025/04/04 13:03:11.243 +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/30073/ad22e41c-f30a-50a8-9086-89d3ea93a06e.sst/7adf3f85-c6bb-4512-ad93-1d5ba2c47f92.sst] [firstKey=7480000000000002585F728000000000000001] [lastKey=7480000000000002585F728000000000000001] [2025/04/04 13:03:11.243 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=30073] [step=import] [engine-id=0] [2025/04/04 13:03:11.243 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=30073] [step=import] [engine-id=0] [2025/04/04 13:03:11.243 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:0] [engineUUID=ad22e41c-f30a-50a8-9086-89d3ea93a06e] [2025/04/04 13:03:11.245 +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.170801ms] [] [2025/04/04 13:03:11.245 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:0] [engineUUID=ad22e41c-f30a-50a8-9086-89d3ea93a06e] [retryCnt=0] [2025/04/04 13:03:11.250 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 13:03:11.271 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ad22e41c-f30a-50a8-9086-89d3ea93a06e] ["region ranges"=1] [count=1] [size=47] [2025/04/04 13:03:11.271 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 13:03:11.273 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000002585f728000000000000001] [endOfAllRanges=7480000000000002585f728000000000000002] [startKeyOfFirstRegion=7480000000000002ff585f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000002ff585f728000000000ff0000020000000000fa] [2025/04/04 13:03:11.285 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ad22e41c-f30a-50a8-9086-89d3ea93a06e] [size=47] [kvs=1] [importedSize=47] [importedCount=1] [2025/04/04 13:03:11.287 +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.552739ms] [] [2025/04/04 13:03:11.287 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:0] [engineUUID=ad22e41c-f30a-50a8-9086-89d3ea93a06e] [2025/04/04 13:03:11.288 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:0] [engineUUID=ad22e41c-f30a-50a8-9086-89d3ea93a06e] [takeTime=1.073594ms] [] [2025/04/04 13:03:11.288 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=30073] [step=import] [engine-id=0] [2025/04/04 13:03:11.288 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:-1] [engineUUID=964427c2-81fe-5e20-9cf8-2220d41449c0] [2025/04/04 13:03:11.290 +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.51948ms] [] [2025/04/04 13:03:11.290 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:-1] [engineUUID=964427c2-81fe-5e20-9cf8-2220d41449c0] [retryCnt=0] [2025/04/04 13:03:11.294 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=964427c2-81fe-5e20-9cf8-2220d41449c0] [2025/04/04 13:03:11.294 +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.651545ms] [] [2025/04/04 13:03:11.294 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:-1] [engineUUID=964427c2-81fe-5e20-9cf8-2220d41449c0] [2025/04/04 13:03:11.295 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:-1] [engineUUID=964427c2-81fe-5e20-9cf8-2220d41449c0] [takeTime=1.177516ms] [] [2025/04/04 13:03:11.295 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=30073] [step=import] [subtask-id=30138] [takeTime=106.478389ms] [] [2025/04/04 13:03:11.295 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30073] [task-type=ImportInto] [server-id=:4000] [subtaskID=30138] [step=import] [takeTime=106.652821ms] [] [2025/04/04 13:03:11.400 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30073] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 13:03:11.402 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30073] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:03:11.402 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30073] [curr-step=import] [next-step=post-process] [2025/04/04 13:03:11.403 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=30073] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 13:03:11.433 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=30073] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":1}"] [2025/04/04 13:03:11.434 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30073] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 13:03:11.434 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30073] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/04 13:03:11.442 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=30073] [task-type=ImportInto] [server-id=:4000] [2025/04/04 13:03:11.442 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30073] [step=import] [2025/04/04 13:03:11.445 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 13:03:11.445 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 13:03:11.445 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 13:03:11.445 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 13:03:11.445 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 13:03:11.445 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 13:03:11.445 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 13:03:11.445 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:03:11.445 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:03:11.445 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-73] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:03:11.446 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:03:11.446 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 13:03:11.448 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 13:03:11.448 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:03:11.448 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:03:11.448 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:03:11.448 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30073] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=266.978316ms] [] [2025/04/04 13:03:11.448 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30073] [type=ImportInto] [2025/04/04 13:03:11.467 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30073] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 13:03:11.488 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30073] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/04 13:03:11.495 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30073] [task-type=ImportInto] [server-id=:4000] [subtaskID=30139] [step=post-process] [2025/04/04 13:03:11.495 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=30073] [step=post-process] [subtask-id=30139] [2025/04/04 13:03:11.495 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=30073] [step=post-process] [subtask-id=30139] [2025/04/04 13:03:11.495 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=30073] [step=post-process] [subtask-id=30139] [2025/04/04 13:03:11.503 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=30073] [step=post-process] [subtask-id=30139] [takeTime=7.715619ms] [] [2025/04/04 13:03:11.503 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=30073] [step=post-process] [subtask-id=30139] [groupId=-1] [size=47] [kvs=1] [checksum=2679153509929526040] [2025/04/04 13:03:11.503 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=30073] [step=post-process] [subtask-id=30139] [checksum="{cksum=2679153509929526040,size=47,kvs=1}"] [2025/04/04 13:03:11.503 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=30073] [step=post-process] [subtask-id=30139] [weight=30] [2025/04/04 13:03:11.504 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=30073] [step=post-process] [subtask-id=30139] [concurrency=15] [2025/04/04 13:03:11.506 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=600] [physicalTableID=600] [indexID=-1] [checksum=2679153509929526040] [totalKvs=1] [totalBytes=47] [2025/04/04 13:03:11.507 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 13:03:11.507 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=30073] [step=post-process] [subtask-id=30139] [local="{cksum=2679153509929526040,size=47,kvs=1}"] [2025/04/04 13:03:11.507 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=30073] [step=post-process] [subtask-id=30139] [takeTime=11.408014ms] [] [2025/04/04 13:03:11.507 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=30073] [step=post-process] [subtask-id=30139] [takeTime=11.581673ms] [] [2025/04/04 13:03:11.507 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30073] [task-type=ImportInto] [server-id=:4000] [subtaskID=30139] [step=post-process] [takeTime=12.114053ms] [] [2025/04/04 13:03:11.538 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 13:03:11.600 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30073] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 13:03:11.600 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30073] [step=post-process] [state=running] [] [2025/04/04 13:03:11.602 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=30073] [2025/04/04 13:03:11.632 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30073] [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.414884ms] [] [2025/04/04 13:03:11.632 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30073] [type=ImportInto] [2025/04/04 13:03:11.694 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30073] [2025/04/04 13:03:11.700 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 13:03:11.700 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30073] [2025/04/04 13:03:11.721 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 13:03:12.008 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:602, Type:drop schema, State:queueing, SchemaState:public, SchemaID:596, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:11.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:03:12.008 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:602, Type:drop schema, State:queueing, SchemaState:public, SchemaID:596, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:11.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="DROP DATABASE IF EXISTS test_detached;"] [2025/04/04 13:03:12.013 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=602] [conn=2] [job="ID:602, Type:drop schema, State:queueing, SchemaState:public, SchemaID:596, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:03:11.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:12.029 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=477] [neededSchemaVersion=478] ["elapsed time"=195.443µs] [gotSchemaVersion=478] [phyTblIDs="[598,600]"] [actionTypes="[2,2]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 13:03:12.033 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=602] [version=478] [2025/04/04 13:03:12.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=478] ["take time"=7.506059ms] [job="ID:602, Type:drop schema, State:running, SchemaState:write only, SchemaID:596, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:11.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:12.044 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=602] [conn=2] [job="ID:602, Type:drop schema, State:running, SchemaState:write only, SchemaID:596, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:03:11.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:12.058 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=478] [neededSchemaVersion=479] ["elapsed time"=140.063µs] [gotSchemaVersion=479] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 13:03:12.062 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=602] [version=479] [2025/04/04 13:03:12.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=479] ["take time"=7.73588ms] [job="ID:602, Type:drop schema, State:running, SchemaState:delete only, SchemaID:596, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:03:11.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:12.072 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=602] [conn=2] [job="ID:602, Type:drop schema, State:running, SchemaState:delete only, SchemaID:596, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:03:11.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:12.077 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/04 13:03:12.088 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=479] [neededSchemaVersion=480] ["elapsed time"=141.376µs] [gotSchemaVersion=480] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 13:03:12.091 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=602] [version=480] [2025/04/04 13:03:12.093 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=480] ["take time"=7.543023ms] [job="ID:602, Type:drop schema, State:done, SchemaState:none, SchemaID:596, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:11.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:12.101 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=602] [tableIDs="[598,600]"] [comment="drop schema: table IDs"] [2025/04/04 13:03:12.106 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=602] [jobType="drop schema"] [2025/04/04 13:03:12.107 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=602] [conn=2] [job="ID:602, Type:drop schema, State:synced, SchemaState:none, SchemaID:596, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:11.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:12.123 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=602] [2025/04/04 13:03:12.123 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=480] [cur_db=] [sql="DROP DATABASE IF EXISTS test_detached;"] [user=root@%] [2025/04/04 13:03:12.136 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:604, Type:create schema, State:queueing, SchemaState:none, SchemaID:603, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:12.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE test_detached;"] [2025/04/04 13:03:12.136 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:604, Type:create schema, State:queueing, SchemaState:none, SchemaID:603, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:12.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:03:12.141 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=604] [conn=2] [job="ID:604, Type:create schema, State:queueing, SchemaState:none, SchemaID:603, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:03:12.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:12.155 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=480] [neededSchemaVersion=481] ["elapsed time"=744.349µs] [gotSchemaVersion=481] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 13:03:12.159 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=604] [version=481] [2025/04/04 13:03:12.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=481] ["take time"=7.66394ms] [job="ID:604, Type:create schema, State:done, SchemaState:public, SchemaID:603, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:12.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:12.171 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=604] [conn=2] [job="ID:604, Type:create schema, State:synced, SchemaState:public, SchemaID:603, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:03:12.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:12.182 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=604] [2025/04/04 13:03:12.182 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=481] [cur_db=] [sql="CREATE DATABASE test_detached;"] [user=root@%] [2025/04/04 13:03:12.195 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:606, Type:create table, State:queueing, SchemaState:none, SchemaID:603, TableID:605, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:12.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:03:12.195 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:606, Type:create table, State:queueing, SchemaState:none, SchemaID:603, TableID:605, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:12.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE test_detached.t1 (c INT NOT NULL, c2 TINYINT);"] [2025/04/04 13:03:12.202 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=606] [conn=2] [job="ID:606, Type:create table, State:queueing, SchemaState:none, SchemaID:603, TableID:605, RowCount:0, ArgLen:0, start time: 2025-04-04 13:03:12.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:12.207 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 605, Table Name: t1)"] [2025/04/04 13:03:12.221 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=481] [neededSchemaVersion=482] ["elapsed time"=1.553876ms] [gotSchemaVersion=482] [phyTblIDs="[605]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 13:03:12.225 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=606] [version=482] [2025/04/04 13:03:12.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=482] ["take time"=9.081387ms] [job="ID:606, Type:create table, State:done, SchemaState:public, SchemaID:603, TableID:605, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:12.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:12.237 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=606] [conn=2] [job="ID:606, Type:create table, State:synced, SchemaState:public, SchemaID:603, TableID:605, RowCount:0, ArgLen:0, start time: 2025-04-04 13:03:12.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:12.249 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=606] [2025/04/04 13:03:12.249 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=482] [cur_db=] [sql="CREATE TABLE test_detached.t1 (c INT NOT NULL, c2 TINYINT);"] [user=root@%] [2025/04/04 13:03:12.261 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:608, Type:create table, State:queueing, SchemaState:none, SchemaID:603, TableID:607, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:12.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:03:12.261 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:608, Type:create table, State:queueing, SchemaState:none, SchemaID:603, TableID:607, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:12.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE test_detached.t2 (c INT NOT NULL, c2 TINYINT);"] [2025/04/04 13:03:12.267 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=608] [conn=2] [job="ID:608, Type:create table, State:queueing, SchemaState:none, SchemaID:603, TableID:607, RowCount:0, ArgLen:0, start time: 2025-04-04 13:03:12.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:12.271 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 607, Table Name: t2)"] [2025/04/04 13:03:12.285 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=482] [neededSchemaVersion=483] ["elapsed time"=1.406033ms] [gotSchemaVersion=483] [phyTblIDs="[607]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 13:03:12.289 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=608] [version=483] [2025/04/04 13:03:12.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=483] ["take time"=8.445449ms] [job="ID:608, Type:create table, State:done, SchemaState:public, SchemaID:603, TableID:607, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:12.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:12.301 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=608] [conn=2] [job="ID:608, Type:create table, State:synced, SchemaState:public, SchemaID:603, TableID:607, RowCount:0, ArgLen:0, start time: 2025-04-04 13:03:12.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:12.312 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=608] [2025/04/04 13:03:12.313 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=483] [cur_db=] [sql="CREATE TABLE test_detached.t2 (c INT NOT NULL, c2 TINYINT);"] [user=root@%] [2025/04/04 13:03:12.319 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:03:12.374 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-detached/1.txt?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/04 13:03:12.394 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30074] [task-id=30074] [data-size=5B] [thread-cnt=1] [global-sort=false] [2025/04/04 13:03:12.411 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30074] [2025/04/04 13:03:12.411 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=30074] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/04 13:03:12.514 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30074] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 13:03:12.515 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30074] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:03:12.516 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30074] [curr-step=init] [next-step=import] [2025/04/04 13:03:12.523 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:03:12.526 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t1] [2025/04/04 13:03:12.526 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t1] [before=536870912000] [after=5] [2025/04/04 13:03:12.526 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t1] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=5] [cost=44.22µs] [2025/04/04 13:03:12.526 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t1] [takeTime=142.216µs] [] [2025/04/04 13:03:12.526 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30074] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 13:03:12.526 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30074] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/04 13:03:12.566 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30074] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 13:03:12.586 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30074] [step=import] [2025/04/04 13:03:12.586 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:03:12.594 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 13:03:12.594 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 13:03:12.595 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 13:03:12.595 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 13:03:12.595 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 13:03:12.595 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 13:03:12.595 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 13:03:12.595 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 13:03:12.596 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 13:03:12.596 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 13:03:12.608 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 13:03:12.610 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 13:03:12.610 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t1] [quota=374.2GB] [2025/04/04 13:03:12.610 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=30074] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 13:03:12.610 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t1] [import-id=30074] [disk-quota=348.5GiB] [2025/04/04 13:03:12.610 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30074] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/04 13:03:12.618 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30074] [task-type=ImportInto] [server-id=:4000] [subtaskID=30140] [step=import] [2025/04/04 13:03:12.618 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30074] [step=import] [subtask-id=30140] [2025/04/04 13:03:12.622 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=30074] [mode=Import] [2025/04/04 13:03:12.622 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:0] [engineUUID=3ae7f001-78df-5ff2-91c4-d73c344f65c1] [2025/04/04 13:03:12.626 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:-1] [engineUUID=236fca0d-9ac9-528c-a14d-cb65c9505a78] [2025/04/04 13:03:12.626 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=605] [2025/04/04 13:03:12.640 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=30074] [2025/04/04 13:03:12.647 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=605] [key=1.txt:0] [2025/04/04 13:03:12.649 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=605] [key=1.txt:0] [readDur=867.802µs] [encodeDur=328.683µs] [checksum="{cksum=11390325761430903242,size=33,kvs=1}"] [deliverDur=270.335µs] [type=file] [takeTime=1.84909ms] [] [2025/04/04 13:03:12.649 +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/30074/3ae7f001-78df-5ff2-91c4-d73c344f65c1.sst/1d6f8799-9835-4579-bcbe-f3a57841bfe9.sst] [firstKey=74800000000000025D5F728000000000000001] [lastKey=74800000000000025D5F728000000000000001] [2025/04/04 13:03:12.650 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=30074] [step=import] [engine-id=0] [2025/04/04 13:03:12.650 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=30074] [step=import] [engine-id=0] [2025/04/04 13:03:12.650 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:0] [engineUUID=3ae7f001-78df-5ff2-91c4-d73c344f65c1] [2025/04/04 13:03:12.653 +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.959422ms] [] [2025/04/04 13:03:12.653 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:0] [engineUUID=3ae7f001-78df-5ff2-91c4-d73c344f65c1] [retryCnt=0] [2025/04/04 13:03:12.657 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 13:03:12.679 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=3ae7f001-78df-5ff2-91c4-d73c344f65c1] ["region ranges"=1] [count=1] [size=33] [2025/04/04 13:03:12.679 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 13:03:12.680 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000025d5f728000000000000001] [endOfAllRanges=74800000000000025d5f728000000000000002] [startKeyOfFirstRegion=7480000000000002ff5d5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000002ff5d5f728000000000ff0000020000000000fa] [2025/04/04 13:03:12.692 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=3ae7f001-78df-5ff2-91c4-d73c344f65c1] [size=33] [kvs=1] [importedSize=33] [importedCount=1] [2025/04/04 13:03:12.694 +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.242433ms] [] [2025/04/04 13:03:12.694 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:0] [engineUUID=3ae7f001-78df-5ff2-91c4-d73c344f65c1] [2025/04/04 13:03:12.695 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:0] [engineUUID=3ae7f001-78df-5ff2-91c4-d73c344f65c1] [takeTime=1.073821ms] [] [2025/04/04 13:03:12.695 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=30074] [step=import] [engine-id=0] [2025/04/04 13:03:12.695 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:-1] [engineUUID=236fca0d-9ac9-528c-a14d-cb65c9505a78] [2025/04/04 13:03:12.697 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:-1] [engineUUID=236fca0d-9ac9-528c-a14d-cb65c9505a78] [takeTime=1.558478ms] [] [2025/04/04 13:03:12.697 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:-1] [engineUUID=236fca0d-9ac9-528c-a14d-cb65c9505a78] [retryCnt=0] [2025/04/04 13:03:12.701 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=236fca0d-9ac9-528c-a14d-cb65c9505a78] [2025/04/04 13:03:12.701 +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.783272ms] [] [2025/04/04 13:03:12.701 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:-1] [engineUUID=236fca0d-9ac9-528c-a14d-cb65c9505a78] [2025/04/04 13:03:12.702 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:-1] [engineUUID=236fca0d-9ac9-528c-a14d-cb65c9505a78] [takeTime=974.802µs] [] [2025/04/04 13:03:12.702 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=30074] [step=import] [subtask-id=30140] [takeTime=84.112874ms] [] [2025/04/04 13:03:12.702 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30074] [task-type=ImportInto] [server-id=:4000] [subtaskID=30140] [step=import] [takeTime=84.25923ms] [] [2025/04/04 13:03:12.719 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30074] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 13:03:12.720 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30074] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:03:12.721 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30074] [curr-step=import] [next-step=post-process] [2025/04/04 13:03:12.721 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=30074] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 13:03:12.751 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=30074] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":1}"] [2025/04/04 13:03:12.752 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30074] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 13:03:12.752 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30074] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/04 13:03:12.790 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=30074] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 13:03:12.797 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30074] [step=import] [2025/04/04 13:03:12.799 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 13:03:12.799 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 13:03:12.799 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 13:03:12.799 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 13:03:12.799 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 13:03:12.799 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 13:03:12.799 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 13:03:12.799 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:03:12.799 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-74] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:03:12.800 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:03:12.800 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:03:12.800 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 13:03:12.802 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 13:03:12.802 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:03:12.802 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:03:12.802 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:03:12.802 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30074] [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.58969ms] [] [2025/04/04 13:03:12.803 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30074] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/04 13:03:12.811 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30074] [task-type=ImportInto] [server-id=:4000] [subtaskID=30141] [step=post-process] [2025/04/04 13:03:12.811 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=30074] [step=post-process] [subtask-id=30141] [2025/04/04 13:03:12.811 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=30074] [step=post-process] [subtask-id=30141] [2025/04/04 13:03:12.811 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=30074] [step=post-process] [subtask-id=30141] [2025/04/04 13:03:12.817 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=30074] [step=post-process] [subtask-id=30141] [takeTime=5.811513ms] [] [2025/04/04 13:03:12.817 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=30074] [step=post-process] [subtask-id=30141] [groupId=-1] [size=33] [kvs=1] [checksum=11390325761430903242] [2025/04/04 13:03:12.817 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=30074] [step=post-process] [subtask-id=30141] [checksum="{cksum=11390325761430903242,size=33,kvs=1}"] [2025/04/04 13:03:12.817 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=30074] [step=post-process] [subtask-id=30141] [weight=30] [2025/04/04 13:03:12.817 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=30074] [step=post-process] [subtask-id=30141] [concurrency=15] [2025/04/04 13:03:12.819 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=605] [physicalTableID=605] [indexID=-1] [checksum=11390325761430903242] [totalKvs=1] [totalBytes=33] [2025/04/04 13:03:12.819 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 13:03:12.819 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=30074] [step=post-process] [subtask-id=30141] [local="{cksum=11390325761430903242,size=33,kvs=1}"] [2025/04/04 13:03:12.819 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=30074] [step=post-process] [subtask-id=30141] [takeTime=8.507908ms] [] [2025/04/04 13:03:12.820 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=30074] [step=post-process] [subtask-id=30141] [takeTime=8.656758ms] [] [2025/04/04 13:03:12.820 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30074] [task-type=ImportInto] [server-id=:4000] [subtaskID=30141] [step=post-process] [takeTime=8.796577ms] [] [2025/04/04 13:03:12.855 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 13:03:12.919 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30074] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 13:03:12.919 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30074] [step=post-process] [state=running] [] [2025/04/04 13:03:12.922 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=30074] [2025/04/04 13:03:12.938 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30074] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=134.413359ms] [] [2025/04/04 13:03:12.938 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30074] [type=ImportInto] [2025/04/04 13:03:13.011 +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.697646044\n# Parse_time: 0.000101026\n# Compile_time: 0.000473661\n# Rewrite_time: 0.000159534\n# Optimize_time: 0.000256998\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('SfBIMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY5Ni44bXMsIG9wZW46NzM2bnMsIGNsb3NlOjEuMcK1cywgbG9vcHM6MglOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('ZPBPCmAKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi90aW1lOjY5Ni44bXMsIG9wZW46NzM2bnMsIGNsb3NlOjEuMcK1cywgbG9vcHM6MnD///8JAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.0000187\nIMPORT INTO `test_detached`.`t1` FROM 'gs://test-detached/1.txt?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1;"] [2025/04/04 13:03:13.014 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30074] [2025/04/04 13:03:13.017 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:03:13.020 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 13:03:13.020 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30074] [2025/04/04 13:03:13.044 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 13:03:13.069 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-detached/1.txt?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"detached\":null,\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/04 13:03:13.088 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30075] [task-id=30075] [data-size=5B] [thread-cnt=1] [global-sort=false] [2025/04/04 13:03:13.103 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30075] [2025/04/04 13:03:13.103 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=30075] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/04 13:03:13.205 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30075] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 13:03:13.206 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30075] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:03:13.207 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30075] [curr-step=init] [next-step=import] [2025/04/04 13:03:13.215 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:03:13.217 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t2] [2025/04/04 13:03:13.217 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t2] [before=536870912000] [after=5] [2025/04/04 13:03:13.217 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t2] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=5] [cost=53.457µs] [2025/04/04 13:03:13.217 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t2] [takeTime=161.104µs] [] [2025/04/04 13:03:13.217 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30075] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 13:03:13.217 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30075] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/04 13:03:13.247 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30075] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 13:03:13.266 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30075] [step=import] [2025/04/04 13:03:13.266 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:03:13.275 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 13:03:13.275 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 13:03:13.275 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 13:03:13.275 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 13:03:13.275 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 13:03:13.275 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 13:03:13.275 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 13:03:13.276 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 13:03:13.276 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 13:03:13.276 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 13:03:13.288 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 13:03:13.290 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 13:03:13.290 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t2] [quota=374.2GB] [2025/04/04 13:03:13.290 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=30075] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 13:03:13.290 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t2] [import-id=30075] [disk-quota=348.5GiB] [2025/04/04 13:03:13.290 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30075] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/04 13:03:13.298 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30075] [task-type=ImportInto] [server-id=:4000] [subtaskID=30142] [step=import] [2025/04/04 13:03:13.298 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30075] [step=import] [subtask-id=30142] [2025/04/04 13:03:13.302 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:0] [engineUUID=ad22e41c-f30a-50a8-9086-89d3ea93a06e] [2025/04/04 13:03:13.305 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:-1] [engineUUID=964427c2-81fe-5e20-9cf8-2220d41449c0] [2025/04/04 13:03:13.305 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=607] [2025/04/04 13:03:13.312 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=30075] [mode=Import] [2025/04/04 13:03:13.328 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=607] [key=1.txt:0] [2025/04/04 13:03:13.330 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=607] [key=1.txt:0] [readDur=893.332µs] [encodeDur=311.022µs] [checksum="{cksum=6393563341007059231,size=33,kvs=1}"] [deliverDur=202.397µs] [type=file] [takeTime=1.784948ms] [] [2025/04/04 13:03:13.330 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=30075] [2025/04/04 13:03:13.330 +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/30075/ad22e41c-f30a-50a8-9086-89d3ea93a06e.sst/51823b41-1eb2-4a05-ad40-23b45bec7e66.sst] [firstKey=74800000000000025F5F728000000000000001] [lastKey=74800000000000025F5F728000000000000001] [2025/04/04 13:03:13.330 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=30075] [step=import] [engine-id=0] [2025/04/04 13:03:13.331 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=30075] [step=import] [engine-id=0] [2025/04/04 13:03:13.331 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:0] [engineUUID=ad22e41c-f30a-50a8-9086-89d3ea93a06e] [2025/04/04 13:03:13.333 +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.247808ms] [] [2025/04/04 13:03:13.333 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:0] [engineUUID=ad22e41c-f30a-50a8-9086-89d3ea93a06e] [retryCnt=0] [2025/04/04 13:03:13.337 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 13:03:13.359 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ad22e41c-f30a-50a8-9086-89d3ea93a06e] ["region ranges"=1] [count=1] [size=33] [2025/04/04 13:03:13.359 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 13:03:13.360 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000025f5f728000000000000001] [endOfAllRanges=74800000000000025f5f728000000000000002] [startKeyOfFirstRegion=7480000000000002ff5f5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000002ff5f5f728000000000ff0000020000000000fa] [2025/04/04 13:03:13.372 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ad22e41c-f30a-50a8-9086-89d3ea93a06e] [size=33] [kvs=1] [importedSize=33] [importedCount=1] [2025/04/04 13:03:13.373 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:0] [engineUUID=ad22e41c-f30a-50a8-9086-89d3ea93a06e] [retryCnt=0] [takeTime=40.479138ms] [] [2025/04/04 13:03:13.374 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:0] [engineUUID=ad22e41c-f30a-50a8-9086-89d3ea93a06e] [2025/04/04 13:03:13.375 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:0] [engineUUID=ad22e41c-f30a-50a8-9086-89d3ea93a06e] [takeTime=1.081085ms] [] [2025/04/04 13:03:13.375 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=30075] [step=import] [engine-id=0] [2025/04/04 13:03:13.375 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:-1] [engineUUID=964427c2-81fe-5e20-9cf8-2220d41449c0] [2025/04/04 13:03:13.376 +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.535502ms] [] [2025/04/04 13:03:13.376 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:-1] [engineUUID=964427c2-81fe-5e20-9cf8-2220d41449c0] [retryCnt=0] [2025/04/04 13:03:13.380 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=964427c2-81fe-5e20-9cf8-2220d41449c0] [2025/04/04 13:03:13.380 +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.770175ms] [] [2025/04/04 13:03:13.380 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:-1] [engineUUID=964427c2-81fe-5e20-9cf8-2220d41449c0] [2025/04/04 13:03:13.381 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:-1] [engineUUID=964427c2-81fe-5e20-9cf8-2220d41449c0] [takeTime=969.19µs] [] [2025/04/04 13:03:13.381 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=30075] [step=import] [subtask-id=30142] [takeTime=83.478508ms] [] [2025/04/04 13:03:13.382 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30075] [task-type=ImportInto] [server-id=:4000] [subtaskID=30142] [step=import] [takeTime=83.661061ms] [] [2025/04/04 13:03:13.410 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30075] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 13:03:13.411 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30075] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:03:13.412 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30075] [curr-step=import] [next-step=post-process] [2025/04/04 13:03:13.412 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=30075] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 13:03:13.442 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=30075] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":1}"] [2025/04/04 13:03:13.444 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30075] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 13:03:13.444 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30075] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/04 13:03:13.467 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=30075] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 13:03:13.473 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30075] [step=import] [2025/04/04 13:03:13.476 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 13:03:13.476 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 13:03:13.476 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 13:03:13.476 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 13:03:13.476 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 13:03:13.476 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 13:03:13.476 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 13:03:13.476 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:03:13.476 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:03:13.476 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:03:13.476 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-75] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:03:13.477 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 13:03:13.479 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 13:03:13.479 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:03:13.479 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:03:13.479 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:03:13.479 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30075] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=188.567013ms] [] [2025/04/04 13:03:13.480 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30075] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/04 13:03:13.487 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30075] [task-type=ImportInto] [server-id=:4000] [subtaskID=30143] [step=post-process] [2025/04/04 13:03:13.487 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=30075] [step=post-process] [subtask-id=30143] [2025/04/04 13:03:13.488 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=30075] [step=post-process] [subtask-id=30143] [2025/04/04 13:03:13.488 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=30075] [step=post-process] [subtask-id=30143] [2025/04/04 13:03:13.493 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=30075] [step=post-process] [subtask-id=30143] [takeTime=5.566587ms] [] [2025/04/04 13:03:13.493 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=30075] [step=post-process] [subtask-id=30143] [groupId=-1] [size=33] [kvs=1] [checksum=6393563341007059231] [2025/04/04 13:03:13.493 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=30075] [step=post-process] [subtask-id=30143] [checksum="{cksum=6393563341007059231,size=33,kvs=1}"] [2025/04/04 13:03:13.493 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=30075] [step=post-process] [subtask-id=30143] [weight=30] [2025/04/04 13:03:13.493 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=30075] [step=post-process] [subtask-id=30143] [concurrency=15] [2025/04/04 13:03:13.496 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=607] [physicalTableID=607] [indexID=-1] [checksum=6393563341007059231] [totalKvs=1] [totalBytes=33] [2025/04/04 13:03:13.497 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 13:03:13.497 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=30075] [step=post-process] [subtask-id=30143] [local="{cksum=6393563341007059231,size=33,kvs=1}"] [2025/04/04 13:03:13.497 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=30075] [step=post-process] [subtask-id=30143] [takeTime=9.175944ms] [] [2025/04/04 13:03:13.497 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=30075] [step=post-process] [subtask-id=30143] [takeTime=9.346364ms] [] [2025/04/04 13:03:13.497 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30075] [task-type=ImportInto] [server-id=:4000] [subtaskID=30143] [step=post-process] [takeTime=9.512804ms] [] [2025/04/04 13:03:13.510 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30075] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 13:03:13.510 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30075] [step=post-process] [state=running] [] [2025/04/04 13:03:13.512 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=30075] [2025/04/04 13:03:13.520 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 13:03:13.527 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30075] [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=46.480007ms] [] [2025/04/04 13:03:13.527 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30075] [type=ImportInto] [2025/04/04 13:03:13.606 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30075] [2025/04/04 13:03:13.612 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 13:03:13.612 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30075] [2025/04/04 13:03:13.633 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] --- PASS: TestImportInto/TestSameBehaviourDetachedOrNot (4.07s) === NAME TestImportInto === RUN TestImportInto/TestShowDetachedJob [2025/04/04 13:03:14.106 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=483] [cur_db=] [sql="drop database if exists show_detached_job"] [user=root@%] [2025/04/04 13:03:14.118 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:610, Type:create schema, State:queueing, SchemaState:none, SchemaID:609, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:14.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:03:14.118 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:610, Type:create schema, State:queueing, SchemaState:none, SchemaID:609, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:14.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database show_detached_job"] [2025/04/04 13:03:14.123 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=610] [conn=2] [job="ID:610, Type:create schema, State:queueing, SchemaState:none, SchemaID:609, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:03:14.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:14.138 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=483] [neededSchemaVersion=484] ["elapsed time"=675.62µs] [gotSchemaVersion=484] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 13:03:14.141 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=610] [version=484] [2025/04/04 13:03:14.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=484] ["take time"=9.249644ms] [job="ID:610, Type:create schema, State:done, SchemaState:public, SchemaID:609, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:14.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:14.153 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=610] [conn=2] [job="ID:610, Type:create schema, State:synced, SchemaState:public, SchemaID:609, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:03:14.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:14.163 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=610] [2025/04/04 13:03:14.164 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=484] [cur_db=] [sql="create database show_detached_job"] [user=root@%] [2025/04/04 13:03:14.177 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:612, Type:create table, State:queueing, SchemaState:none, SchemaID:609, TableID:611, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:14.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:03:14.177 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:612, Type:create table, State:queueing, SchemaState:none, SchemaID:609, TableID:611, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:14.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t1 (i INT PRIMARY KEY);"] [2025/04/04 13:03:14.182 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=612] [conn=2] [job="ID:612, Type:create table, State:queueing, SchemaState:none, SchemaID:609, TableID:611, RowCount:0, ArgLen:0, start time: 2025-04-04 13:03:14.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:14.187 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 611, Table Name: t1)"] [2025/04/04 13:03:14.201 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=484] [neededSchemaVersion=485] ["elapsed time"=1.45792ms] [gotSchemaVersion=485] [phyTblIDs="[611]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 13:03:14.204 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=612] [version=485] [2025/04/04 13:03:14.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=485] ["take time"=8.800998ms] [job="ID:612, Type:create table, State:done, SchemaState:public, SchemaID:609, TableID:611, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:14.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:14.217 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=612] [conn=2] [job="ID:612, Type:create table, State:synced, SchemaState:public, SchemaID:609, TableID:611, RowCount:0, ArgLen:0, start time: 2025-04-04 13:03:14.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:14.227 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=612] [2025/04/04 13:03:14.227 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=485] [cur_db=show_detached_job] [sql="CREATE TABLE t1 (i INT PRIMARY KEY);"] [user=root@%] [2025/04/04 13:03:14.241 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:614, Type:create table, State:queueing, SchemaState:none, SchemaID:609, TableID:613, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:14.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:03:14.241 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:614, Type:create table, State:queueing, SchemaState:none, SchemaID:609, TableID:613, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:14.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t2 (i INT PRIMARY KEY);"] [2025/04/04 13:03:14.247 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=614] [conn=2] [job="ID:614, Type:create table, State:queueing, SchemaState:none, SchemaID:609, TableID:613, RowCount:0, ArgLen:0, start time: 2025-04-04 13:03:14.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:14.252 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 613, Table Name: t2)"] [2025/04/04 13:03:14.266 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=485] [neededSchemaVersion=486] ["elapsed time"=1.421688ms] [gotSchemaVersion=486] [phyTblIDs="[613]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 13:03:14.270 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=614] [version=486] [2025/04/04 13:03:14.272 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=486] ["take time"=8.771739ms] [job="ID:614, Type:create table, State:done, SchemaState:public, SchemaID:609, TableID:613, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:14.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:14.282 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=614] [conn=2] [job="ID:614, Type:create table, State:synced, SchemaState:public, SchemaID:609, TableID:613, RowCount:0, ArgLen:0, start time: 2025-04-04 13:03:14.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:14.295 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=614] [2025/04/04 13:03:14.296 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=486] [cur_db=show_detached_job] [sql="CREATE TABLE t2 (i INT PRIMARY KEY);"] [user=root@%] [2025/04/04 13:03:14.310 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:616, Type:create table, State:queueing, SchemaState:none, SchemaID:609, TableID:615, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:14.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:03:14.310 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:616, Type:create table, State:queueing, SchemaState:none, SchemaID:609, TableID:615, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:14.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t3 (i INT PRIMARY KEY);"] [2025/04/04 13:03:14.315 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=616] [conn=2] [job="ID:616, Type:create table, State:queueing, SchemaState:none, SchemaID:609, TableID:615, RowCount:0, ArgLen:0, start time: 2025-04-04 13:03:14.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:14.320 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 615, Table Name: t3)"] [2025/04/04 13:03:14.339 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=486] [neededSchemaVersion=487] ["elapsed time"=5.910893ms] [gotSchemaVersion=487] [phyTblIDs="[615]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 13:03:14.343 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=616] [version=487] [2025/04/04 13:03:14.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=487] ["take time"=13.85876ms] [job="ID:616, Type:create table, State:done, SchemaState:public, SchemaID:609, TableID:615, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:14.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:14.357 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=616] [conn=2] [job="ID:616, Type:create table, State:synced, SchemaState:public, SchemaID:609, TableID:615, RowCount:0, ArgLen:0, start time: 2025-04-04 13:03:14.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:14.369 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=616] [2025/04/04 13:03:14.369 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=487] [cur_db=show_detached_job] [sql="CREATE TABLE t3 (i INT PRIMARY KEY);"] [user=root@%] [2025/04/04 13:03:14.376 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:03:14.426 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-show-detached-job/t.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"detached\":null}}"] [dist-task-enabled=true] [2025/04/04 13:03:14.444 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30076] [task-id=30076] [data-size=3B] [thread-cnt=8] [global-sort=false] [2025/04/04 13:03:14.459 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30076] [2025/04/04 13:03:14.459 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=30076] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/04 13:03:14.562 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30076] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 13:03:14.563 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30076] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:03:14.563 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30076] [curr-step=init] [next-step=import] [2025/04/04 13:03:14.571 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:03:14.574 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t1] [2025/04/04 13:03:14.574 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t1] [before=536870912000] [after=3] [2025/04/04 13:03:14.574 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t1] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=3] [cost=79.946µs] [2025/04/04 13:03:14.574 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t1] [takeTime=224.669µs] [] [2025/04/04 13:03:14.574 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30076] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 13:03:14.574 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30076] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/04 13:03:14.607 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30076] [type=ImportInto] [concurrency=8] [remaining-slots=44] [2025/04/04 13:03:14.628 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30076] [step=import] [2025/04/04 13:03:14.628 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:03:14.632 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/04 13:03:14.636 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 13:03:14.636 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 13:03:14.637 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 13:03:14.637 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 13:03:14.637 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 13:03:14.637 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 13:03:14.637 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 13:03:14.638 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 13:03:14.638 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 13:03:14.638 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 13:03:14.650 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 13:03:14.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/04 13:03:14.652 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t1] [quota=374.2GB] [2025/04/04 13:03:14.652 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=30076] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 13:03:14.652 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t1] [import-id=30076] [disk-quota=348.5GiB] [2025/04/04 13:03:14.653 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30076] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/04 13:03:14.660 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30076] [task-type=ImportInto] [server-id=:4000] [subtaskID=30144] [step=import] [2025/04/04 13:03:14.660 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30076] [step=import] [subtask-id=30144] [2025/04/04 13:03:14.664 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`show_detached_job`.`t1`:0] [engineUUID=4c8e15fc-755f-59dd-958d-7cda1975f957] [2025/04/04 13:03:14.668 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`show_detached_job`.`t1`:-1] [engineUUID=38e1d7a7-2ea1-56c0-bcef-2900d2787215] [2025/04/04 13:03:14.668 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=611] [2025/04/04 13:03:14.668 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=30076] [mode=Import] [2025/04/04 13:03:14.702 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=30076] [2025/04/04 13:03:14.704 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=611] [key=t.csv:0] [2025/04/04 13:03:14.706 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=611] [key=t.csv:0] [readDur=1.076683ms] [encodeDur=357.059µs] [checksum="{cksum=7435750759411199284,size=50,kvs=2}"] [deliverDur=266.51µs] [type=file] [takeTime=1.954168ms] [] [2025/04/04 13:03:14.707 +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/30076/4c8e15fc-755f-59dd-958d-7cda1975f957.sst/3eca65a5-6465-4549-97c1-1bec6f5c03ed.sst] [firstKey=7480000000000002635F728000000000000001] [lastKey=7480000000000002635F728000000000000002] [2025/04/04 13:03:14.707 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=30076] [step=import] [engine-id=0] [2025/04/04 13:03:14.707 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=30076] [step=import] [engine-id=0] [2025/04/04 13:03:14.707 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`show_detached_job`.`t1`:0] [engineUUID=4c8e15fc-755f-59dd-958d-7cda1975f957] [2025/04/04 13:03:14.709 +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.180248ms] [] [2025/04/04 13:03:14.709 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`show_detached_job`.`t1`:0] [engineUUID=4c8e15fc-755f-59dd-958d-7cda1975f957] [retryCnt=0] [2025/04/04 13:03:14.713 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 13:03:14.735 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=4c8e15fc-755f-59dd-958d-7cda1975f957] ["region ranges"=1] [count=2] [size=50] [2025/04/04 13:03:14.735 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 13:03:14.737 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000002635f728000000000000001] [endOfAllRanges=7480000000000002635f728000000000000003] [startKeyOfFirstRegion=7480000000000002ff635f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000002ff635f728000000000ff0000030000000000fa] [2025/04/04 13:03:14.748 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=4c8e15fc-755f-59dd-958d-7cda1975f957] [size=50] [kvs=2] [importedSize=50] [importedCount=2] [2025/04/04 13:03:14.749 +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=39.886792ms] [] [2025/04/04 13:03:14.749 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`show_detached_job`.`t1`:0] [engineUUID=4c8e15fc-755f-59dd-958d-7cda1975f957] [2025/04/04 13:03:14.750 +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.0055ms] [] [2025/04/04 13:03:14.750 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=30076] [step=import] [engine-id=0] [2025/04/04 13:03:14.750 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`show_detached_job`.`t1`:-1] [engineUUID=38e1d7a7-2ea1-56c0-bcef-2900d2787215] [2025/04/04 13:03:14.752 +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.339004ms] [] [2025/04/04 13:03:14.752 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`show_detached_job`.`t1`:-1] [engineUUID=38e1d7a7-2ea1-56c0-bcef-2900d2787215] [retryCnt=0] [2025/04/04 13:03:14.755 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=38e1d7a7-2ea1-56c0-bcef-2900d2787215] [2025/04/04 13:03:14.755 +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.640946ms] [] [2025/04/04 13:03:14.755 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`show_detached_job`.`t1`:-1] [engineUUID=38e1d7a7-2ea1-56c0-bcef-2900d2787215] [2025/04/04 13:03:14.756 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`show_detached_job`.`t1`:-1] [engineUUID=38e1d7a7-2ea1-56c0-bcef-2900d2787215] [takeTime=1.050542ms] [] [2025/04/04 13:03:14.757 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=30076] [step=import] [subtask-id=30144] [takeTime=96.431405ms] [] [2025/04/04 13:03:14.757 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30076] [task-type=ImportInto] [server-id=:4000] [subtaskID=30144] [step=import] [takeTime=96.602316ms] [] [2025/04/04 13:03:14.767 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30076] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 13:03:14.768 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30076] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:03:14.769 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30076] [curr-step=import] [next-step=post-process] [2025/04/04 13:03:14.769 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=30076] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 13:03:14.798 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=30076] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/04 13:03:14.799 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30076] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 13:03:14.799 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30076] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/04 13:03:14.821 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=30076] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 13:03:14.827 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30076] [step=import] [2025/04/04 13:03:14.830 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 13:03:14.830 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 13:03:14.830 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 13:03:14.830 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 13:03:14.830 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 13:03:14.830 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 13:03:14.830 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 13:03:14.830 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:03:14.830 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:03:14.830 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-76] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:03:14.830 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:03:14.830 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 13:03:14.833 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 13:03:14.833 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:03:14.833 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:03:14.833 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:03:14.833 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30076] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [takeTime=180.258902ms] [] [2025/04/04 13:03:14.834 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30076] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/04 13:03:14.841 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30076] [task-type=ImportInto] [server-id=:4000] [subtaskID=30145] [step=post-process] [2025/04/04 13:03:14.841 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=30076] [step=post-process] [subtask-id=30145] [2025/04/04 13:03:14.841 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=30076] [step=post-process] [subtask-id=30145] [2025/04/04 13:03:14.841 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=30076] [step=post-process] [subtask-id=30145] [2025/04/04 13:03:14.841 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=30076] [step=post-process] [subtask-id=30145] [takeTime=2.536µs] [] [2025/04/04 13:03:14.841 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=30076] [step=post-process] [subtask-id=30145] [groupId=-1] [size=50] [kvs=2] [checksum=7435750759411199284] [2025/04/04 13:03:14.841 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=30076] [step=post-process] [subtask-id=30145] [checksum="{cksum=7435750759411199284,size=50,kvs=2}"] [2025/04/04 13:03:14.841 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=30076] [step=post-process] [subtask-id=30145] [weight=30] [2025/04/04 13:03:14.841 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=30076] [step=post-process] [subtask-id=30145] [concurrency=15] [2025/04/04 13:03:14.843 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=611] [physicalTableID=611] [indexID=-1] [checksum=7435750759411199284] [totalKvs=2] [totalBytes=50] [2025/04/04 13:03:14.843 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 13:03:14.843 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=30076] [step=post-process] [subtask-id=30145] [local="{cksum=7435750759411199284,size=50,kvs=2}"] [2025/04/04 13:03:14.843 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=30076] [step=post-process] [subtask-id=30145] [takeTime=2.631604ms] [] [2025/04/04 13:03:14.843 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=30076] [step=post-process] [subtask-id=30145] [takeTime=2.774128ms] [] [2025/04/04 13:03:14.844 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30076] [task-type=ImportInto] [server-id=:4000] [subtaskID=30145] [step=post-process] [takeTime=2.896678ms] [] [2025/04/04 13:03:14.867 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30076] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 13:03:14.867 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30076] [step=post-process] [state=running] [] [2025/04/04 13:03:14.868 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 13:03:14.869 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=30076] [2025/04/04 13:03:14.889 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30076] [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=55.162193ms] [] [2025/04/04 13:03:14.889 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30076] [type=ImportInto] [2025/04/04 13:03:14.961 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30076] [2025/04/04 13:03:14.962 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:03:14.967 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 13:03:14.968 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30076] [2025/04/04 13:03:14.987 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 13:03:15.007 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-show-detached-job/t2.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"detached\":null}}"] [dist-task-enabled=true] [2025/04/04 13:03:15.023 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30077] [task-id=30077] [data-size=3B] [thread-cnt=8] [global-sort=false] [2025/04/04 13:03:15.037 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30077] [2025/04/04 13:03:15.038 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=30077] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/04 13:03:15.139 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30077] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 13:03:15.140 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30077] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:03:15.141 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30077] [curr-step=init] [next-step=import] [2025/04/04 13:03:15.148 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:03:15.151 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t2] [2025/04/04 13:03:15.151 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t2] [before=536870912000] [after=3] [2025/04/04 13:03:15.151 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t2] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=3] [cost=45.086µs] [2025/04/04 13:03:15.151 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t2] [takeTime=134.413µs] [] [2025/04/04 13:03:15.151 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30077] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 13:03:15.151 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30077] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/04 13:03:15.186 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30077] [type=ImportInto] [concurrency=8] [remaining-slots=44] [2025/04/04 13:03:15.206 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30077] [step=import] [2025/04/04 13:03:15.206 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:03:15.213 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 13:03:15.213 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 13:03:15.214 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 13:03:15.214 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 13:03:15.214 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 13:03:15.214 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 13:03:15.214 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 13:03:15.214 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 13:03:15.215 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 13:03:15.215 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 13:03:15.227 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 13:03:15.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/04 13:03:15.229 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t2] [quota=374.2GB] [2025/04/04 13:03:15.229 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=30077] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 13:03:15.229 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t2] [import-id=30077] [disk-quota=348.5GiB] [2025/04/04 13:03:15.229 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30077] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/04 13:03:15.236 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30077] [task-type=ImportInto] [server-id=:4000] [subtaskID=30146] [step=import] [2025/04/04 13:03:15.236 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30077] [step=import] [subtask-id=30146] [2025/04/04 13:03:15.239 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`show_detached_job`.`t2`:0] [engineUUID=385b6216-6ebc-5909-bf6e-7976f99624d0] [2025/04/04 13:03:15.243 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`show_detached_job`.`t2`:-1] [engineUUID=e217af54-bdcc-5600-bbdb-9279f0f79710] [2025/04/04 13:03:15.243 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=613] [2025/04/04 13:03:15.246 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=30077] [mode=Import] [2025/04/04 13:03:15.264 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=30077] [2025/04/04 13:03:15.293 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=613] [key=t2.csv:0] [2025/04/04 13:03:15.297 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=613] [key=t2.csv:0] [readDur=1.213875ms] [encodeDur=1.780131ms] [checksum="{cksum=0,size=50,kvs=2}"] [deliverDur=541.722µs] [type=file] [takeTime=3.769131ms] [] [2025/04/04 13:03:15.297 +00:00] [WARN] [engine.go:1462] ["duplicated key found, skip write"] [category=ddl-ingest] [key=7480000000000002655F728000000000000001] [2025/04/04 13:03:15.298 +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/30077/385b6216-6ebc-5909-bf6e-7976f99624d0.sst/8485c4ac-48dd-4c4c-a0ec-a05acdfd0a90.sst] [firstKey=7480000000000002655F728000000000000001] [lastKey=7480000000000002655F728000000000000001] [2025/04/04 13:03:15.298 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=30077] [step=import] [engine-id=0] [2025/04/04 13:03:15.298 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=30077] [step=import] [engine-id=0] [2025/04/04 13:03:15.298 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`show_detached_job`.`t2`:0] [engineUUID=385b6216-6ebc-5909-bf6e-7976f99624d0] [2025/04/04 13:03:15.300 +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=1.800502ms] [] [2025/04/04 13:03:15.300 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`show_detached_job`.`t2`:0] [engineUUID=385b6216-6ebc-5909-bf6e-7976f99624d0] [retryCnt=0] [2025/04/04 13:03:15.304 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 13:03:15.325 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=385b6216-6ebc-5909-bf6e-7976f99624d0] ["region ranges"=1] [count=2] [size=25] [2025/04/04 13:03:15.326 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 13:03:15.327 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000002655f728000000000000001] [endOfAllRanges=7480000000000002655f728000000000000002] [startKeyOfFirstRegion=7480000000000002ff655f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000002ff655f728000000000ff0000020000000000fa] [2025/04/04 13:03:15.338 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=385b6216-6ebc-5909-bf6e-7976f99624d0] [size=25] [kvs=2] [importedSize=25] [importedCount=1] [2025/04/04 13:03:15.340 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`show_detached_job`.`t2`:0] [engineUUID=385b6216-6ebc-5909-bf6e-7976f99624d0] [retryCnt=0] [takeTime=39.475513ms] [] [2025/04/04 13:03:15.340 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`show_detached_job`.`t2`:0] [engineUUID=385b6216-6ebc-5909-bf6e-7976f99624d0] [2025/04/04 13:03:15.341 +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.083987ms] [] [2025/04/04 13:03:15.341 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=30077] [step=import] [engine-id=0] [2025/04/04 13:03:15.341 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`show_detached_job`.`t2`:-1] [engineUUID=e217af54-bdcc-5600-bbdb-9279f0f79710] [2025/04/04 13:03:15.343 +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.813775ms] [] [2025/04/04 13:03:15.343 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`show_detached_job`.`t2`:-1] [engineUUID=e217af54-bdcc-5600-bbdb-9279f0f79710] [retryCnt=0] [2025/04/04 13:03:15.346 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=e217af54-bdcc-5600-bbdb-9279f0f79710] [2025/04/04 13:03:15.346 +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.387945ms] [] [2025/04/04 13:03:15.346 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`show_detached_job`.`t2`:-1] [engineUUID=e217af54-bdcc-5600-bbdb-9279f0f79710] [2025/04/04 13:03:15.347 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`show_detached_job`.`t2`:-1] [engineUUID=e217af54-bdcc-5600-bbdb-9279f0f79710] [takeTime=974.444µs] [] [2025/04/04 13:03:15.348 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=30077] [step=import] [subtask-id=30146] [takeTime=111.514144ms] [] [2025/04/04 13:03:15.348 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30077] [task-type=ImportInto] [server-id=:4000] [subtaskID=30146] [step=import] [takeTime=111.996935ms] [] [2025/04/04 13:03:15.444 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30077] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 13:03:15.445 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30077] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:03:15.446 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30077] [curr-step=import] [next-step=post-process] [2025/04/04 13:03:15.446 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=30077] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 13:03:15.474 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=30077] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":1}"] [2025/04/04 13:03:15.475 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30077] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 13:03:15.475 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30077] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/04 13:03:15.492 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=30077] [task-type=ImportInto] [server-id=:4000] [2025/04/04 13:03:15.492 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30077] [step=import] [2025/04/04 13:03:15.495 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 13:03:15.495 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 13:03:15.495 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 13:03:15.495 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 13:03:15.495 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 13:03:15.495 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 13:03:15.495 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 13:03:15.495 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:03:15.495 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:03:15.495 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-77] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:03:15.495 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:03:15.495 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 13:03:15.497 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 13:03:15.497 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:03:15.497 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:03:15.497 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:03:15.497 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30077] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [takeTime=268.199993ms] [] [2025/04/04 13:03:15.497 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30077] [type=ImportInto] [2025/04/04 13:03:15.506 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30077] [type=ImportInto] [concurrency=8] [remaining-slots=44] [2025/04/04 13:03:15.527 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30077] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/04 13:03:15.534 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30077] [task-type=ImportInto] [server-id=:4000] [subtaskID=30147] [step=post-process] [2025/04/04 13:03:15.534 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=30077] [step=post-process] [subtask-id=30147] [2025/04/04 13:03:15.534 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=30077] [step=post-process] [subtask-id=30147] [2025/04/04 13:03:15.534 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=30077] [step=post-process] [subtask-id=30147] [2025/04/04 13:03:15.534 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=30077] [step=post-process] [subtask-id=30147] [takeTime=1.914µs] [] [2025/04/04 13:03:15.534 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=30077] [step=post-process] [subtask-id=30147] [groupId=-1] [size=50] [kvs=2] [checksum=0] [2025/04/04 13:03:15.534 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=30077] [step=post-process] [subtask-id=30147] [checksum="{cksum=0,size=50,kvs=2}"] [2025/04/04 13:03:15.534 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=30077] [step=post-process] [subtask-id=30147] [weight=30] [2025/04/04 13:03:15.534 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=30077] [step=post-process] [subtask-id=30147] [concurrency=15] [2025/04/04 13:03:15.536 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=613] [physicalTableID=613] [indexID=-1] [checksum=942351410902369593] [totalKvs=1] [totalBytes=25] [2025/04/04 13:03:15.536 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 13:03:15.536 +00:00] [ERROR] [subtask_executor.go:103] ["post process failed"] [type=ImportInto] [task-id=30077] [step=post-process] [subtask-id=30147] [takeTime=2.405702ms] [error="[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 942351410902369593 vs 0) (total_kvs: 1 vs 2) (total_bytes:25 vs 50)"] [stack="github.com/pingcap/tidb/pkg/disttask/importinto.postProcess.func1\n\tpkg/disttask/importinto/subtask_executor.go:103\ngithub.com/pingcap/tidb/pkg/disttask/importinto.postProcess\n\tpkg/disttask/importinto/subtask_executor.go:134\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*postProcessStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:553\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/04 13:03:15.536 +00:00] [ERROR] [task_executor.go:544] ["run subtask failed"] [type=ImportInto] [task-id=30077] [step=post-process] [subtask-id=30147] [takeTime=2.665073ms] [error="[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 942351410902369593 vs 0) (total_kvs: 1 vs 2) (total_bytes:25 vs 50)"] [stack="github.com/pingcap/tidb/pkg/disttask/importinto.(*postProcessStepExecutor).RunSubtask.func1\n\tpkg/disttask/importinto/task_executor.go:544\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*postProcessStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:553\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/04 13:03:15.537 +00:00] [INFO] [task_executor.go:464] ["run subtask failed"] [task-id=30077] [task-type=ImportInto] [server-id=:4000] [subtaskID=30147] [step=post-process] [takeTime=2.919872ms] [error="[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 942351410902369593 vs 0) (total_kvs: 1 vs 2) (total_bytes:25 vs 50)"] [errorVerbose="[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 942351410902369593 vs 0) (total_kvs: 1 vs 2) (total_bytes:25 vs 50)\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/executor/importer.VerifyChecksum\n\tpkg/executor/importer/table_import.go:850\ngithub.com/pingcap/tidb/pkg/disttask/importinto.postProcess.func2\n\tpkg/disttask/importinto/subtask_executor.go:135\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).WithNewSession\n\tpkg/disttask/framework/storage/task_table.go:169\ngithub.com/pingcap/tidb/pkg/disttask/importinto.postProcess\n\tpkg/disttask/importinto/subtask_executor.go:134\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*postProcessStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:553\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:03:15.537 +00:00] [WARN] [task_executor.go:706] ["subtask failed"] [task-id=30077] [task-type=ImportInto] [server-id=:4000] [error="[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 942351410902369593 vs 0) (total_kvs: 1 vs 2) (total_bytes:25 vs 50)"] [errorVerbose="[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 942351410902369593 vs 0) (total_kvs: 1 vs 2) (total_bytes:25 vs 50)\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/executor/importer.VerifyChecksum\n\tpkg/executor/importer/table_import.go:850\ngithub.com/pingcap/tidb/pkg/disttask/importinto.postProcess.func2\n\tpkg/disttask/importinto/subtask_executor.go:135\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).WithNewSession\n\tpkg/disttask/framework/storage/task_table.go:169\ngithub.com/pingcap/tidb/pkg/disttask/importinto.postProcess\n\tpkg/disttask/importinto/subtask_executor.go:134\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*postProcessStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:553\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:03:15.543 +00:00] [ERROR] [task_executor.go:344] ["run subtask failed"] [task-id=30077] [task-type=ImportInto] [server-id=:4000] [error="[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 942351410902369593 vs 0) (total_kvs: 1 vs 2) (total_bytes:25 vs 50)"] [errorVerbose="[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 942351410902369593 vs 0) (total_kvs: 1 vs 2) (total_bytes:25 vs 50)\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/executor/importer.VerifyChecksum\n\tpkg/executor/importer/table_import.go:850\ngithub.com/pingcap/tidb/pkg/disttask/importinto.postProcess.func2\n\tpkg/disttask/importinto/subtask_executor.go:135\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).WithNewSession\n\tpkg/disttask/framework/storage/task_table.go:169\ngithub.com/pingcap/tidb/pkg/disttask/importinto.postProcess\n\tpkg/disttask/importinto/subtask_executor.go:134\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*postProcessStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:553\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:344\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/04 13:03:15.556 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 13:03:15.650 +00:00] [WARN] [scheduler.go:389] ["subtasks encounter errors"] [task-id=30077] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [subtask-errs="[\"{error=\\\"[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 942351410902369593 vs 0) (total_kvs: 1 vs 2) (total_bytes:25 vs 50)\\\"}\"]"] [2025/04/04 13:03:15.664 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30077] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [takeTime=137.511824ms] [] [2025/04/04 13:03:15.664 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30077] [type=ImportInto] [2025/04/04 13:03:15.744 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30077] [step=post-process] [state=reverting] [error="[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 942351410902369593 vs 0) (total_kvs: 1 vs 2) (total_bytes:25 vs 50)"] [2025/04/04 13:03:15.745 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=30077] [step=post-process] [mode=Normal] [2025/04/04 13:03:15.751 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=30077] [2025/04/04 13:03:15.840 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30077] [2025/04/04 13:03:15.845 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 13:03:15.845 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30077] [2025/04/04 13:03:15.867 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 13:03:16.036 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:03:16.082 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-show-detached-job/t.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"detached\":null}}"] [dist-task-enabled=true] [2025/04/04 13:03:16.100 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30078] [task-id=30078] [data-size=3B] [thread-cnt=8] [global-sort=false] [2025/04/04 13:03:16.113 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30078] [2025/04/04 13:03:16.113 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=30078] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/04 13:03:16.216 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30078] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 13:03:16.217 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30078] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:03:16.217 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30078] [curr-step=init] [next-step=import] [2025/04/04 13:03:16.225 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:03:16.227 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t3] [2025/04/04 13:03:16.227 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t3] [before=536870912000] [after=3] [2025/04/04 13:03:16.227 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t3] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=3] [cost=44.008µs] [2025/04/04 13:03:16.227 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t3] [takeTime=141.826µs] [] [2025/04/04 13:03:16.227 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30078] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 13:03:16.227 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30078] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/04 13:03:16.255 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30078] [type=ImportInto] [concurrency=8] [remaining-slots=44] [2025/04/04 13:03:16.275 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30078] [step=import] [2025/04/04 13:03:16.275 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:03:16.282 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 13:03:16.282 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 13:03:16.283 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 13:03:16.283 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 13:03:16.283 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 13:03:16.283 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 13:03:16.283 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 13:03:16.283 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 13:03:16.283 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 13:03:16.283 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 13:03:16.295 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 13:03:16.297 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 13:03:16.297 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t3] [quota=374.2GB] [2025/04/04 13:03:16.297 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=30078] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 13:03:16.297 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t3] [import-id=30078] [disk-quota=348.5GiB] [2025/04/04 13:03:16.297 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30078] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/04 13:03:16.304 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30078] [task-type=ImportInto] [server-id=:4000] [subtaskID=30148] [step=import] [2025/04/04 13:03:16.304 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30078] [step=import] [subtask-id=30148] [2025/04/04 13:03:16.307 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`show_detached_job`.`t3`:0] [engineUUID=1b1505a5-6ea7-513e-afb3-0c56d5f7e5e5] [2025/04/04 13:03:16.310 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`show_detached_job`.`t3`:-1] [engineUUID=61501221-9c0e-5dca-a32f-31aa40df2be4] [2025/04/04 13:03:16.310 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=615] [2025/04/04 13:03:16.310 +00:00] [ERROR] [task_executor.go:129] ["run subtask failed"] [type=ImportInto] [task-id=30078] [step=import] [subtask-id=30148] [takeTime=6.462101ms] [error="occur an error when sort chunk"] [stack="github.com/pingcap/tidb/pkg/disttask/importinto.(*importStepExecutor).RunSubtask.func1\n\tpkg/disttask/importinto/task_executor.go:129\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:200\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/04 13:03:16.310 +00:00] [INFO] [task_executor.go:464] ["run subtask failed"] [task-id=30078] [task-type=ImportInto] [server-id=:4000] [subtaskID=30148] [step=import] [takeTime=6.717495ms] [error="occur an error when sort chunk"] [errorVerbose="occur an error when sort chunk\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importMinimalTaskExecutor).Run\n\tpkg/disttask/importinto/subtask_executor.go:59\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*chunkWorker).HandleTask\n\tpkg/disttask/importinto/encode_and_sort_operator.go:200\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).handleTaskWithRecover\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:149\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).runAWorker.func1\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:165\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:167\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:03:16.311 +00:00] [WARN] [task_executor.go:706] ["subtask failed"] [task-id=30078] [task-type=ImportInto] [server-id=:4000] [error="occur an error when sort chunk"] [errorVerbose="occur an error when sort chunk\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importMinimalTaskExecutor).Run\n\tpkg/disttask/importinto/subtask_executor.go:59\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*chunkWorker).HandleTask\n\tpkg/disttask/importinto/encode_and_sort_operator.go:200\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).handleTaskWithRecover\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:149\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).runAWorker.func1\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:165\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:167\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:03:16.317 +00:00] [ERROR] [task_executor.go:344] ["run subtask failed"] [task-id=30078] [task-type=ImportInto] [server-id=:4000] [error="occur an error when sort chunk"] [errorVerbose="occur an error when sort chunk\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importMinimalTaskExecutor).Run\n\tpkg/disttask/importinto/subtask_executor.go:59\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*chunkWorker).HandleTask\n\tpkg/disttask/importinto/encode_and_sort_operator.go:200\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).handleTaskWithRecover\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:149\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).runAWorker.func1\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:165\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:167\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:344\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/04 13:03:16.324 +00:00] [WARN] [scheduler.go:389] ["subtasks encounter errors"] [task-id=30078] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [subtask-errs="[\"{error=\\\"[0]occur an error when sort chunk\\\"}\"]"] [2025/04/04 13:03:16.346 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30078] [step=import] [2025/04/04 13:03:16.350 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 13:03:16.350 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 13:03:16.350 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 13:03:16.350 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 13:03:16.350 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 13:03:16.350 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 13:03:16.350 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:03:16.350 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 13:03:16.350 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-78] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:03:16.350 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:03:16.350 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:03:16.350 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 13:03:16.352 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 13:03:16.352 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:03:16.352 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:03:16.352 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:03:16.353 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30078] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [takeTime=55.586734ms] [] [2025/04/04 13:03:16.353 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30078] [type=ImportInto] [2025/04/04 13:03:16.421 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30078] [step=import] [state=reverting] [error="[0]occur an error when sort chunk"] [2025/04/04 13:03:16.423 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=30078] [step=import] [mode=Normal] [2025/04/04 13:03:16.516 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30078] [2025/04/04 13:03:16.521 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 13:03:16.521 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30078] [2025/04/04 13:03:16.541 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] --- PASS: TestImportInto/TestShowDetachedJob (2.50s) === NAME TestImportInto === RUN TestImportInto/TestShowJob [2025/04/04 13:03:16.618 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=487] [cur_db=show_detached_job] [sql="drop database if exists test_show_job"] [user=root@%] [2025/04/04 13:03:16.630 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:618, Type:create schema, State:queueing, SchemaState:none, SchemaID:617, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:16.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:03:16.630 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:618, Type:create schema, State:queueing, SchemaState:none, SchemaID:617, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:16.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database test_show_job"] [2025/04/04 13:03:16.635 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=618] [conn=2] [job="ID:618, Type:create schema, State:queueing, SchemaState:none, SchemaID:617, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:03:16.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:16.648 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=487] [neededSchemaVersion=488] ["elapsed time"=703.883µs] [gotSchemaVersion=488] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 13:03:16.651 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=618] [version=488] [2025/04/04 13:03:16.653 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=488] ["take time"=7.490166ms] [job="ID:618, Type:create schema, State:done, SchemaState:public, SchemaID:617, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:16.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:16.662 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=618] [conn=2] [job="ID:618, Type:create schema, State:synced, SchemaState:public, SchemaID:617, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:03:16.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:16.672 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=618] [2025/04/04 13:03:16.672 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=488] [cur_db=show_detached_job] [sql="create database test_show_job"] [user=root@%] [2025/04/04 13:03:16.685 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:620, Type:create table, State:queueing, SchemaState:none, SchemaID:617, TableID:619, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:16.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t1 (i INT PRIMARY KEY);"] [2025/04/04 13:03:16.685 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:620, Type:create table, State:queueing, SchemaState:none, SchemaID:617, TableID:619, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:16.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:03:16.690 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=620] [conn=2] [job="ID:620, Type:create table, State:queueing, SchemaState:none, SchemaID:617, TableID:619, RowCount:0, ArgLen:0, start time: 2025-04-04 13:03:16.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:16.695 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 619, Table Name: t1)"] [2025/04/04 13:03:16.708 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=488] [neededSchemaVersion=489] ["elapsed time"=1.383275ms] [gotSchemaVersion=489] [phyTblIDs="[619]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 13:03:16.711 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=620] [version=489] [2025/04/04 13:03:16.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=489] ["take time"=8.368133ms] [job="ID:620, Type:create table, State:done, SchemaState:public, SchemaID:617, TableID:619, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:16.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:16.723 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=620] [conn=2] [job="ID:620, Type:create table, State:synced, SchemaState:public, SchemaID:617, TableID:619, RowCount:0, ArgLen:0, start time: 2025-04-04 13:03:16.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:16.733 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=620] [2025/04/04 13:03:16.734 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=489] [cur_db=test_show_job] [sql="CREATE TABLE t1 (i INT PRIMARY KEY);"] [user=root@%] [2025/04/04 13:03:16.745 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:622, Type:create table, State:queueing, SchemaState:none, SchemaID:617, TableID:621, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:16.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:03:16.745 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:622, Type:create table, State:queueing, SchemaState:none, SchemaID:617, TableID:621, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:16.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t2 (i INT PRIMARY KEY);"] [2025/04/04 13:03:16.752 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=622] [conn=2] [job="ID:622, Type:create table, State:queueing, SchemaState:none, SchemaID:617, TableID:621, RowCount:0, ArgLen:0, start time: 2025-04-04 13:03:16.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:16.756 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 621, Table Name: t2)"] [2025/04/04 13:03:16.770 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=489] [neededSchemaVersion=490] ["elapsed time"=1.368763ms] [gotSchemaVersion=490] [phyTblIDs="[621]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 13:03:16.773 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=622] [version=490] [2025/04/04 13:03:16.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=490] ["take time"=8.049101ms] [job="ID:622, Type:create table, State:done, SchemaState:public, SchemaID:617, TableID:621, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:16.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:16.784 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=622] [conn=2] [job="ID:622, Type:create table, State:synced, SchemaState:public, SchemaID:617, TableID:621, RowCount:0, ArgLen:0, start time: 2025-04-04 13:03:16.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:16.795 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=622] [2025/04/04 13:03:16.795 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=490] [cur_db=test_show_job] [sql="CREATE TABLE t2 (i INT PRIMARY KEY);"] [user=root@%] [2025/04/04 13:03:16.807 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:624, Type:create table, State:queueing, SchemaState:none, SchemaID:617, TableID:623, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:16.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:03:16.807 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:624, Type:create table, State:queueing, SchemaState:none, SchemaID:617, TableID:623, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:16.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t3 (i INT PRIMARY KEY);"] [2025/04/04 13:03:16.812 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=624] [conn=2] [job="ID:624, Type:create table, State:queueing, SchemaState:none, SchemaID:617, TableID:623, RowCount:0, ArgLen:0, start time: 2025-04-04 13:03:16.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:16.816 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 623, Table Name: t3)"] [2025/04/04 13:03:16.829 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=490] [neededSchemaVersion=491] ["elapsed time"=1.399262ms] [gotSchemaVersion=491] [phyTblIDs="[623]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 13:03:16.833 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=624] [version=491] [2025/04/04 13:03:16.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=491] ["take time"=8.46741ms] [job="ID:624, Type:create table, State:done, SchemaState:public, SchemaID:617, TableID:623, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:16.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:16.845 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=624] [conn=2] [job="ID:624, Type:create table, State:synced, SchemaState:public, SchemaID:617, TableID:623, RowCount:0, ArgLen:0, start time: 2025-04-04 13:03:16.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:16.855 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=624] [2025/04/04 13:03:16.856 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=491] [cur_db=test_show_job] [sql="CREATE TABLE t3 (i INT PRIMARY KEY);"] [user=root@%] [2025/04/04 13:03:16.912 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=491] [cur_db=test_show_job] [sql="DROP USER IF EXISTS 'test_show_job1'@'localhost';"] [user=root@%] [2025/04/04 13:03:16.948 +00:00] [INFO] [session.go:4118] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=491] ["secure text"="create user test_show_job1@localhost"] [user=root@%] [2025/04/04 13:03:16.990 +00:00] [INFO] [session.go:4118] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=491] ["secure text"="GRANT SELECT,UPDATE,INSERT,DELETE,ALTER on test_show_job.* to 'test_show_job1'@'localhost'"] [user=root@%] [2025/04/04 13:03:17.045 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=491] [cur_db=test_show_job] [sql="DROP USER IF EXISTS 'test_show_job2'@'localhost';"] [user=root@%] [2025/04/04 13:03:17.080 +00:00] [INFO] [session.go:4118] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=491] ["secure text"="create user test_show_job2@localhost"] [user=root@%] [2025/04/04 13:03:17.125 +00:00] [INFO] [session.go:4118] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=491] ["secure text"="GRANT SELECT,UPDATE,INSERT,DELETE,ALTER on test_show_job.* to 'test_show_job2'@'localhost'"] [user=root@%] [2025/04/04 13:03:17.133 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:03:17.179 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-show-job/t.csv?access-key=xxxxxx\\u0026endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F\\u0026secret-access-key=xxxxxx\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/04 13:03:17.196 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30079] [task-id=30079] [data-size=3B] [thread-cnt=8] [global-sort=false] [2025/04/04 13:03:17.212 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30079] [2025/04/04 13:03:17.212 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=30079] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/04 13:03:17.315 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30079] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 13:03:17.315 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30079] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:03:17.316 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30079] [curr-step=init] [next-step=import] [2025/04/04 13:03:17.323 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:03:17.325 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t1] [2025/04/04 13:03:17.326 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t1] [before=536870912000] [after=3] [2025/04/04 13:03:17.326 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t1] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=3] [cost=43.541µs] [2025/04/04 13:03:17.326 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t1] [takeTime=142.081µs] [] [2025/04/04 13:03:17.326 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30079] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 13:03:17.326 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30079] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/04 13:03:17.356 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30079] [type=ImportInto] [concurrency=8] [remaining-slots=44] [2025/04/04 13:03:17.375 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30079] [step=import] [2025/04/04 13:03:17.376 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:03:17.384 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 13:03:17.384 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 13:03:17.384 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 13:03:17.384 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 13:03:17.384 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 13:03:17.384 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 13:03:17.384 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 13:03:17.385 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 13:03:17.385 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 13:03:17.385 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 13:03:17.399 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 13:03:17.401 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 13:03:17.401 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t1] [quota=374.2GB] [2025/04/04 13:03:17.401 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=30079] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 13:03:17.401 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t1] [import-id=30079] [disk-quota=348.5GiB] [2025/04/04 13:03:17.401 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30079] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/04 13:03:17.409 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30079] [task-type=ImportInto] [server-id=:4000] [subtaskID=30149] [step=import] [2025/04/04 13:03:17.409 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30079] [step=import] [subtask-id=30149] [2025/04/04 13:03:17.414 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`test_show_job`.`t1`:0] [engineUUID=14a064c0-6566-52c4-87f4-e5885586fbff] [2025/04/04 13:03:17.417 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`test_show_job`.`t1`:-1] [engineUUID=5da1c55c-c599-568c-8a3f-c54dc2a6d064] [2025/04/04 13:03:17.417 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=619] [2025/04/04 13:03:17.423 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=30079] [mode=Import] [2025/04/04 13:03:17.443 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=30079] [2025/04/04 13:03:17.496 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=619] [key=t.csv:0] [2025/04/04 13:03:17.498 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=619] [key=t.csv:0] [readDur=890.173µs] [encodeDur=492.742µs] [checksum="{cksum=7435750759411199284,size=50,kvs=2}"] [deliverDur=448.41µs] [type=file] [takeTime=2.174853ms] [] [2025/04/04 13:03:17.499 +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/30079/14a064c0-6566-52c4-87f4-e5885586fbff.sst/09099977-5a1a-4d13-b9f0-287dff1ba1f0.sst] [firstKey=74800000000000026B5F728000000000000001] [lastKey=74800000000000026B5F728000000000000002] [2025/04/04 13:03:17.499 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=30079] [step=import] [engine-id=0] [2025/04/04 13:03:17.499 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=30079] [step=import] [engine-id=0] [2025/04/04 13:03:17.499 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`test_show_job`.`t1`:0] [engineUUID=14a064c0-6566-52c4-87f4-e5885586fbff] [2025/04/04 13:03:17.501 +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.029241ms] [] [2025/04/04 13:03:17.501 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`test_show_job`.`t1`:0] [engineUUID=14a064c0-6566-52c4-87f4-e5885586fbff] [retryCnt=0] [2025/04/04 13:03:17.506 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 13:03:17.527 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=14a064c0-6566-52c4-87f4-e5885586fbff] ["region ranges"=1] [count=2] [size=50] [2025/04/04 13:03:17.527 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 13:03:17.529 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000026b5f728000000000000001] [endOfAllRanges=74800000000000026b5f728000000000000003] [startKeyOfFirstRegion=7480000000000002ff6b5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000002ff6b5f728000000000ff0000030000000000fa] [2025/04/04 13:03:17.540 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=14a064c0-6566-52c4-87f4-e5885586fbff] [size=50] [kvs=2] [importedSize=50] [importedCount=2] [2025/04/04 13:03:17.543 +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=41.305862ms] [] [2025/04/04 13:03:17.543 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`test_show_job`.`t1`:0] [engineUUID=14a064c0-6566-52c4-87f4-e5885586fbff] [2025/04/04 13:03:17.544 +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.180837ms] [] [2025/04/04 13:03:17.544 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=30079] [step=import] [engine-id=0] [2025/04/04 13:03:17.544 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`test_show_job`.`t1`:-1] [engineUUID=5da1c55c-c599-568c-8a3f-c54dc2a6d064] [2025/04/04 13:03:17.546 +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.762021ms] [] [2025/04/04 13:03:17.546 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`test_show_job`.`t1`:-1] [engineUUID=5da1c55c-c599-568c-8a3f-c54dc2a6d064] [retryCnt=0] [2025/04/04 13:03:17.550 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=5da1c55c-c599-568c-8a3f-c54dc2a6d064] [2025/04/04 13:03:17.550 +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=4.066295ms] [] [2025/04/04 13:03:17.550 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`test_show_job`.`t1`:-1] [engineUUID=5da1c55c-c599-568c-8a3f-c54dc2a6d064] [2025/04/04 13:03:17.551 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`test_show_job`.`t1`:-1] [engineUUID=5da1c55c-c599-568c-8a3f-c54dc2a6d064] [takeTime=978.83µs] [] [2025/04/04 13:03:17.551 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=30079] [step=import] [subtask-id=30149] [takeTime=142.341676ms] [] [2025/04/04 13:03:17.551 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30079] [task-type=ImportInto] [server-id=:4000] [subtaskID=30149] [step=import] [takeTime=142.547473ms] [] [2025/04/04 13:03:17.621 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30079] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 13:03:17.622 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30079] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:03:17.623 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30079] [curr-step=import] [next-step=post-process] [2025/04/04 13:03:17.623 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=30079] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 13:03:17.658 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=30079] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/04 13:03:17.659 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30079] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 13:03:17.659 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30079] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/04 13:03:17.698 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=30079] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 13:03:17.705 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30079] [step=import] [2025/04/04 13:03:17.708 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 13:03:17.708 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 13:03:17.708 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 13:03:17.708 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 13:03:17.708 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 13:03:17.708 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 13:03:17.708 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 13:03:17.708 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:03:17.708 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:03:17.708 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-79] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:03:17.708 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:03:17.708 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 13:03:17.711 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 13:03:17.711 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:03:17.711 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:03:17.711 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:03:17.711 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30079] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [takeTime=309.911812ms] [] [2025/04/04 13:03:17.712 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30079] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/04 13:03:17.720 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30079] [task-type=ImportInto] [server-id=:4000] [subtaskID=30150] [step=post-process] [2025/04/04 13:03:17.720 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=30079] [step=post-process] [subtask-id=30150] [2025/04/04 13:03:17.720 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=30079] [step=post-process] [subtask-id=30150] [2025/04/04 13:03:17.720 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=30079] [step=post-process] [subtask-id=30150] [2025/04/04 13:03:17.721 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=30079] [step=post-process] [subtask-id=30150] [takeTime=1.925µs] [] [2025/04/04 13:03:17.721 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=30079] [step=post-process] [subtask-id=30150] [groupId=-1] [size=50] [kvs=2] [checksum=7435750759411199284] [2025/04/04 13:03:17.721 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=30079] [step=post-process] [subtask-id=30150] [checksum="{cksum=7435750759411199284,size=50,kvs=2}"] [2025/04/04 13:03:17.721 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=30079] [step=post-process] [subtask-id=30150] [weight=30] [2025/04/04 13:03:17.721 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=30079] [step=post-process] [subtask-id=30150] [concurrency=15] [2025/04/04 13:03:17.723 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=619] [physicalTableID=619] [indexID=-1] [checksum=7435750759411199284] [totalKvs=2] [totalBytes=50] [2025/04/04 13:03:17.723 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 13:03:17.723 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=30079] [step=post-process] [subtask-id=30150] [local="{cksum=7435750759411199284,size=50,kvs=2}"] [2025/04/04 13:03:17.723 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=30079] [step=post-process] [subtask-id=30150] [takeTime=2.60684ms] [] [2025/04/04 13:03:17.723 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=30079] [step=post-process] [subtask-id=30150] [takeTime=2.750063ms] [] [2025/04/04 13:03:17.723 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30079] [task-type=ImportInto] [server-id=:4000] [subtaskID=30150] [step=post-process] [takeTime=2.898378ms] [] [2025/04/04 13:03:17.755 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 13:03:17.821 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30079] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 13:03:17.821 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30079] [step=post-process] [state=running] [] [2025/04/04 13:03:17.823 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=30079] [2025/04/04 13:03:17.846 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30079] [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=133.717497ms] [] [2025/04/04 13:03:17.846 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30079] [type=ImportInto] [2025/04/04 13:03:17.914 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30079] [2025/04/04 13:03:17.921 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 13:03:17.921 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30079] [2025/04/04 13:03:17.942 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 13:03:18.114 +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.986393103\n# Parse_time: 0.000084084\n# Compile_time: 0.000454664\n# Rewrite_time: 0.000134539\n# Optimize_time: 0.000047077\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('SvBJMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4NS42bXMsIG9wZW46NzI2bnMsIGNsb3NlOjEuMjTCtXMsIGxvb3BzOjIJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('ZfBSCmEKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWjB0aW1lOjk4NS42bXMsIG9wZW46NzI2bnMsIGNsb3NlOjEuMjTCtXMsIGxvb3BzOjJw//////8BAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.0000187\nuse test_show_job;\nIMPORT INTO `test_show_job`.`t1` FROM 'gs://test-show-job/t.csv?access-key=xxxxxx&endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F&secret-access-key=xxxxxx';"] [2025/04/04 13:03:18.126 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:03:18.179 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-show-job/t.csv?endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/04 13:03:18.196 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30080] [task-id=30080] [data-size=3B] [thread-cnt=8] [global-sort=false] [2025/04/04 13:03:18.212 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30080] [2025/04/04 13:03:18.212 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=30080] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/04 13:03:18.315 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30080] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 13:03:18.316 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30080] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:03:18.316 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30080] [curr-step=init] [next-step=import] [2025/04/04 13:03:18.324 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:03:18.326 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t2] [2025/04/04 13:03:18.327 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t2] [before=536870912000] [after=3] [2025/04/04 13:03:18.327 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t2] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=3] [cost=46.822µs] [2025/04/04 13:03:18.327 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t2] [takeTime=149.44µs] [] [2025/04/04 13:03:18.327 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30080] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 13:03:18.327 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30080] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/04 13:03:18.359 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30080] [type=ImportInto] [concurrency=8] [remaining-slots=44] [2025/04/04 13:03:18.380 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30080] [step=import] [2025/04/04 13:03:18.380 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:03:18.388 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 13:03:18.388 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 13:03:18.388 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 13:03:18.389 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 13:03:18.389 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 13:03:18.389 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 13:03:18.389 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 13:03:18.389 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 13:03:18.389 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 13:03:18.389 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 13:03:18.402 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 13:03:18.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/04 13:03:18.403 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t2] [quota=374.2GB] [2025/04/04 13:03:18.404 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=30080] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 13:03:18.404 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t2] [import-id=30080] [disk-quota=348.5GiB] [2025/04/04 13:03:18.404 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30080] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/04 13:03:18.411 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30080] [task-type=ImportInto] [server-id=:4000] [subtaskID=30151] [step=import] [2025/04/04 13:03:18.411 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30080] [step=import] [subtask-id=30151] [2025/04/04 13:03:18.415 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`test_show_job`.`t2`:0] [engineUUID=e31f885e-858e-52f9-8c22-abc4981608ce] [2025/04/04 13:03:18.418 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`test_show_job`.`t2`:-1] [engineUUID=5351dc1f-6e44-5275-b96f-39fd5c794418] [2025/04/04 13:03:18.418 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=621] [2025/04/04 13:03:18.420 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=30080] [mode=Import] [2025/04/04 13:03:18.440 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=30080] [2025/04/04 13:03:18.498 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=621] [key=t.csv:0] [2025/04/04 13:03:18.500 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=621] [key=t.csv:0] [readDur=859.912µs] [encodeDur=488.826µs] [checksum="{cksum=7435750759411199284,size=50,kvs=2}"] [deliverDur=413.098µs] [type=file] [takeTime=2.041476ms] [] [2025/04/04 13:03:18.501 +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/30080/e31f885e-858e-52f9-8c22-abc4981608ce.sst/34f1a9de-382f-42ac-acae-2247e79290c9.sst] [firstKey=74800000000000026D5F728000000000000001] [lastKey=74800000000000026D5F728000000000000002] [2025/04/04 13:03:18.502 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=30080] [step=import] [engine-id=0] [2025/04/04 13:03:18.502 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=30080] [step=import] [engine-id=0] [2025/04/04 13:03:18.502 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`test_show_job`.`t2`:0] [engineUUID=e31f885e-858e-52f9-8c22-abc4981608ce] [2025/04/04 13:03:18.504 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`test_show_job`.`t2`:0] [engineUUID=e31f885e-858e-52f9-8c22-abc4981608ce] [takeTime=1.892789ms] [] [2025/04/04 13:03:18.504 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`test_show_job`.`t2`:0] [engineUUID=e31f885e-858e-52f9-8c22-abc4981608ce] [retryCnt=0] [2025/04/04 13:03:18.508 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 13:03:18.531 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=e31f885e-858e-52f9-8c22-abc4981608ce] ["region ranges"=1] [count=2] [size=50] [2025/04/04 13:03:18.531 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 13:03:18.532 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000026d5f728000000000000001] [endOfAllRanges=74800000000000026d5f728000000000000003] [startKeyOfFirstRegion=7480000000000002ff6d5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000002ff6d5f728000000000ff0000030000000000fa] [2025/04/04 13:03:18.543 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=e31f885e-858e-52f9-8c22-abc4981608ce] [size=50] [kvs=2] [importedSize=50] [importedCount=2] [2025/04/04 13:03:18.545 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`test_show_job`.`t2`:0] [engineUUID=e31f885e-858e-52f9-8c22-abc4981608ce] [retryCnt=0] [takeTime=41.508656ms] [] [2025/04/04 13:03:18.545 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`test_show_job`.`t2`:0] [engineUUID=e31f885e-858e-52f9-8c22-abc4981608ce] [2025/04/04 13:03:18.546 +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.017725ms] [] [2025/04/04 13:03:18.546 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=30080] [step=import] [engine-id=0] [2025/04/04 13:03:18.546 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`test_show_job`.`t2`:-1] [engineUUID=5351dc1f-6e44-5275-b96f-39fd5c794418] [2025/04/04 13:03:18.548 +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.394151ms] [] [2025/04/04 13:03:18.548 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`test_show_job`.`t2`:-1] [engineUUID=5351dc1f-6e44-5275-b96f-39fd5c794418] [retryCnt=0] [2025/04/04 13:03:18.551 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=5351dc1f-6e44-5275-b96f-39fd5c794418] [2025/04/04 13:03:18.552 +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.503695ms] [] [2025/04/04 13:03:18.552 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`test_show_job`.`t2`:-1] [engineUUID=5351dc1f-6e44-5275-b96f-39fd5c794418] [2025/04/04 13:03:18.552 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`test_show_job`.`t2`:-1] [engineUUID=5351dc1f-6e44-5275-b96f-39fd5c794418] [takeTime=814.314µs] [] [2025/04/04 13:03:18.553 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=30080] [step=import] [subtask-id=30151] [takeTime=141.411718ms] [] [2025/04/04 13:03:18.553 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30080] [task-type=ImportInto] [server-id=:4000] [subtaskID=30151] [step=import] [takeTime=141.945431ms] [] [2025/04/04 13:03:18.620 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30080] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 13:03:18.620 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30080] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:03:18.621 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30080] [curr-step=import] [next-step=post-process] [2025/04/04 13:03:18.621 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=30080] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 13:03:18.650 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=30080] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/04 13:03:18.651 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30080] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 13:03:18.651 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30080] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/04 13:03:18.670 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=30080] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 13:03:18.677 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30080] [step=import] [2025/04/04 13:03:18.680 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 13:03:18.680 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 13:03:18.680 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 13:03:18.680 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 13:03:18.680 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 13:03:18.680 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 13:03:18.680 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:03:18.680 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:03:18.680 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-80] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:03:18.680 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:03:18.680 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 13:03:18.680 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 13:03:18.682 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 13:03:18.682 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:03:18.682 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:03:18.682 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:03:18.682 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30080] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [takeTime=278.623816ms] [] [2025/04/04 13:03:18.683 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30080] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/04 13:03:18.690 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30080] [task-type=ImportInto] [server-id=:4000] [subtaskID=30152] [step=post-process] [2025/04/04 13:03:18.690 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=30080] [step=post-process] [subtask-id=30152] [2025/04/04 13:03:18.690 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=30080] [step=post-process] [subtask-id=30152] [2025/04/04 13:03:18.691 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=30080] [step=post-process] [subtask-id=30152] [2025/04/04 13:03:18.691 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=30080] [step=post-process] [subtask-id=30152] [takeTime=2.362µs] [] [2025/04/04 13:03:18.691 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=30080] [step=post-process] [subtask-id=30152] [groupId=-1] [size=50] [kvs=2] [checksum=7435750759411199284] [2025/04/04 13:03:18.691 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=30080] [step=post-process] [subtask-id=30152] [checksum="{cksum=7435750759411199284,size=50,kvs=2}"] [2025/04/04 13:03:18.691 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=30080] [step=post-process] [subtask-id=30152] [weight=30] [2025/04/04 13:03:18.691 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=30080] [step=post-process] [subtask-id=30152] [concurrency=15] [2025/04/04 13:03:18.693 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=621] [physicalTableID=621] [indexID=-1] [checksum=7435750759411199284] [totalKvs=2] [totalBytes=50] [2025/04/04 13:03:18.693 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 13:03:18.693 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=30080] [step=post-process] [subtask-id=30152] [local="{cksum=7435750759411199284,size=50,kvs=2}"] [2025/04/04 13:03:18.693 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=30080] [step=post-process] [subtask-id=30152] [takeTime=2.664082ms] [] [2025/04/04 13:03:18.693 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=30080] [step=post-process] [subtask-id=30152] [takeTime=2.830807ms] [] [2025/04/04 13:03:18.693 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30080] [task-type=ImportInto] [server-id=:4000] [subtaskID=30152] [step=post-process] [takeTime=3.002065ms] [] [2025/04/04 13:03:18.713 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 13:03:18.720 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30080] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 13:03:18.720 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30080] [step=post-process] [state=running] [] [2025/04/04 13:03:18.722 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=30080] [2025/04/04 13:03:18.739 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30080] [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=55.97517ms] [] [2025/04/04 13:03:18.739 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30080] [type=ImportInto] [2025/04/04 13:03:18.812 +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.691125214\n# Parse_time: 0.000062207\n# Compile_time: 0.000436139\n# Rewrite_time: 0.000137103\n# Optimize_time: 0.000036881\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY5MC40bXMsIG9wZW46NzcybnMsIGNsb3NlOjk1OW5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY5MC40bXMsIG9wZW46NzcybnMsIGNsb3NlOjk1OW5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.0000187\nIMPORT INTO `test_show_job`.`t2` FROM 'gs://test-show-job/t.csv?endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F';"] [2025/04/04 13:03:18.814 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30080] [2025/04/04 13:03:18.820 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 13:03:18.820 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30080] [2025/04/04 13:03:18.840 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 13:03:18.868 +00:00] [INFO] [session.go:4118] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=491] ["secure text"="GRANT SUPER on *.* to 'test_show_job2'@'localhost'"] [user=root@%] testkit.go:123: RefreshSession rand seed: 1743771798873345658 [2025/04/04 13:03:18.887 +00:00] [INFO] [set.go:172] ["set global var"] [conn=4] [name=tidb_schema_cache_size] [val=0] [2025/04/04 13:03:18.893 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:03:18.939 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-show-job/t*.csv?access-key=xxxxxx\\u0026endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F\\u0026secret-access-key=xxxxxx\",\"format\":\"csv\",\"options\":{\"__max_engine_size\":\"1\",\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/04 13:03:18.956 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30081] [task-id=30081] [data-size=6B] [thread-cnt=1] [global-sort=false] [2025/04/04 13:03:18.969 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30081] [2025/04/04 13:03:18.969 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=30081] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/04 13:03:19.094 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30081] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 13:03:19.095 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30081] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:03:19.096 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30081] [curr-step=init] [next-step=import] [2025/04/04 13:03:19.104 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:03:19.107 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t3] [2025/04/04 13:03:19.108 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t3] [before=1] [after=1] [2025/04/04 13:03:19.108 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t3] [filesCount=2] [MaxChunkSize=268435456] [RegionsCount=2] [BatchSize=1] [cost=100.665µs] [2025/04/04 13:03:19.108 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t3] [takeTime=257.114µs] [] [2025/04/04 13:03:19.108 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30081] [curr-step=init] [next-step=import] [subtask-count=2] [2025/04/04 13:03:19.108 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30081] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=2] [2025/04/04 13:03:19.146 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30081] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/04 13:03:19.165 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30081] [step=import] [2025/04/04 13:03:19.166 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:03:19.173 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 13:03:19.173 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 13:03:19.174 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 13:03:19.174 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 13:03:19.174 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 13:03:19.174 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 13:03:19.174 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 13:03:19.174 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 13:03:19.175 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 13:03:19.175 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 13:03:19.178 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=30081] [mode=Import] [2025/04/04 13:03:19.187 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 13:03:19.188 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 13:03:19.188 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t3] [quota=374.2GB] [2025/04/04 13:03:19.188 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=30081] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 13:03:19.188 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30081] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/04 13:03:19.188 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t3] [import-id=30081] [disk-quota=348.5GiB] [2025/04/04 13:03:19.196 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30081] [task-type=ImportInto] [server-id=:4000] [subtaskID=30153] [step=import] [2025/04/04 13:03:19.196 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30081] [step=import] [subtask-id=30153] [2025/04/04 13:03:19.197 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=30081] [2025/04/04 13:03:19.200 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`test_show_job`.`t3`:0] [engineUUID=e21dc392-0c66-5341-82f7-424a895bc139] [2025/04/04 13:03:19.204 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`test_show_job`.`t3`:-1] [engineUUID=7c9eb6eb-07de-5197-8ee5-9111ca7fb945] [2025/04/04 13:03:19.204 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=623] [2025/04/04 13:03:19.278 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=623] [key=t.csv:0] [2025/04/04 13:03:19.280 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=623] [key=t.csv:0] [readDur=963.187µs] [encodeDur=134.519µs] [checksum="{cksum=7435750759411199284,size=50,kvs=2}"] [deliverDur=161.193µs] [type=file] [takeTime=1.632145ms] [] [2025/04/04 13:03:19.281 +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/30081/e21dc392-0c66-5341-82f7-424a895bc139.sst/60311bff-43b3-4813-a6ce-1cb7e87024fa.sst] [firstKey=74800000000000026F5F728000000000000001] [lastKey=74800000000000026F5F728000000000000002] [2025/04/04 13:03:19.281 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=30081] [step=import] [engine-id=0] [2025/04/04 13:03:19.281 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=30081] [step=import] [engine-id=0] [2025/04/04 13:03:19.281 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`test_show_job`.`t3`:0] [engineUUID=e21dc392-0c66-5341-82f7-424a895bc139] [2025/04/04 13:03:19.283 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`test_show_job`.`t3`:0] [engineUUID=e21dc392-0c66-5341-82f7-424a895bc139] [takeTime=2.068554ms] [] [2025/04/04 13:03:19.283 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`test_show_job`.`t3`:0] [engineUUID=e21dc392-0c66-5341-82f7-424a895bc139] [retryCnt=0] [2025/04/04 13:03:19.287 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 13:03:19.309 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=e21dc392-0c66-5341-82f7-424a895bc139] ["region ranges"=1] [count=2] [size=50] [2025/04/04 13:03:19.309 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 13:03:19.310 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000026f5f728000000000000001] [endOfAllRanges=74800000000000026f5f728000000000000003] [startKeyOfFirstRegion=7480000000000002ff6f5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000002ff6f5f728000000000ff0000030000000000fa] [2025/04/04 13:03:19.321 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=e21dc392-0c66-5341-82f7-424a895bc139] [size=50] [kvs=2] [importedSize=50] [importedCount=2] [2025/04/04 13:03:19.323 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`test_show_job`.`t3`:0] [engineUUID=e21dc392-0c66-5341-82f7-424a895bc139] [retryCnt=0] [takeTime=39.178585ms] [] [2025/04/04 13:03:19.323 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`test_show_job`.`t3`:0] [engineUUID=e21dc392-0c66-5341-82f7-424a895bc139] [2025/04/04 13:03:19.324 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`test_show_job`.`t3`:0] [engineUUID=e21dc392-0c66-5341-82f7-424a895bc139] [takeTime=974.696µs] [] [2025/04/04 13:03:19.324 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=30081] [step=import] [engine-id=0] [2025/04/04 13:03:19.324 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`test_show_job`.`t3`:-1] [engineUUID=7c9eb6eb-07de-5197-8ee5-9111ca7fb945] [2025/04/04 13:03:19.325 +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.417756ms] [] [2025/04/04 13:03:19.325 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`test_show_job`.`t3`:-1] [engineUUID=7c9eb6eb-07de-5197-8ee5-9111ca7fb945] [retryCnt=0] [2025/04/04 13:03:19.329 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=7c9eb6eb-07de-5197-8ee5-9111ca7fb945] [2025/04/04 13:03:19.329 +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.711704ms] [] [2025/04/04 13:03:19.329 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`test_show_job`.`t3`:-1] [engineUUID=7c9eb6eb-07de-5197-8ee5-9111ca7fb945] [2025/04/04 13:03:19.330 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`test_show_job`.`t3`:-1] [engineUUID=7c9eb6eb-07de-5197-8ee5-9111ca7fb945] [takeTime=843.028µs] [] [2025/04/04 13:03:19.330 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=30081] [step=import] [subtask-id=30153] [takeTime=133.663403ms] [] [2025/04/04 13:03:19.330 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30081] [task-type=ImportInto] [server-id=:4000] [subtaskID=30153] [step=import] [takeTime=133.817216ms] [] [2025/04/04 13:03:19.376 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30081] [task-type=ImportInto] [server-id=:4000] [subtaskID=30154] [step=import] [2025/04/04 13:03:19.376 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30081] [step=import] [subtask-id=30154] [2025/04/04 13:03:19.379 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`test_show_job`.`t3`:1] [engineUUID=69537677-8c9a-533f-9f7f-fb34aa20f14c] [2025/04/04 13:03:19.383 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`test_show_job`.`t3`:-2] [engineUUID=6a110035-0122-50d7-a258-9acbba47ee50] [2025/04/04 13:03:19.383 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=623] [2025/04/04 13:03:19.527 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=623] [key=t2.csv:0] [2025/04/04 13:03:19.529 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=623] [key=t2.csv:0] [readDur=918.433µs] [encodeDur=224.199µs] [checksum="{cksum=17045318164640841348,size=50,kvs=2}"] [deliverDur=29.214µs] [type=file] [takeTime=1.464567ms] [] [2025/04/04 13:03:19.530 +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/30081/69537677-8c9a-533f-9f7f-fb34aa20f14c.sst/01cd4a4d-e2bc-4849-a3a1-323356d389bd.sst] [firstKey=74800000000000026F5F728000000000000003] [lastKey=74800000000000026F5F728000000000000004] [2025/04/04 13:03:19.530 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=30081] [step=import] [engine-id=1] [2025/04/04 13:03:19.530 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=30081] [step=import] [engine-id=1] [2025/04/04 13:03:19.530 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`test_show_job`.`t3`:1] [engineUUID=69537677-8c9a-533f-9f7f-fb34aa20f14c] [2025/04/04 13:03:19.532 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`test_show_job`.`t3`:1] [engineUUID=69537677-8c9a-533f-9f7f-fb34aa20f14c] [takeTime=2.356898ms] [] [2025/04/04 13:03:19.533 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`test_show_job`.`t3`:1] [engineUUID=69537677-8c9a-533f-9f7f-fb34aa20f14c] [retryCnt=0] [2025/04/04 13:03:19.537 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 13:03:19.559 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=69537677-8c9a-533f-9f7f-fb34aa20f14c] ["region ranges"=1] [count=2] [size=50] [2025/04/04 13:03:19.559 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 13:03:19.561 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000026f5f728000000000000003] [endOfAllRanges=74800000000000026f5f728000000000000005] [startKeyOfFirstRegion=7480000000000002ff6f5f728000000000ff0000030000000000fa] [endKeyOfLastRegion=7480000000000002ff6f5f728000000000ff0000050000000000fa] [2025/04/04 13:03:19.571 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=69537677-8c9a-533f-9f7f-fb34aa20f14c] [size=50] [kvs=2] [importedSize=50] [importedCount=2] [2025/04/04 13:03:19.573 +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.528073ms] [] [2025/04/04 13:03:19.573 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`test_show_job`.`t3`:1] [engineUUID=69537677-8c9a-533f-9f7f-fb34aa20f14c] [2025/04/04 13:03:19.574 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`test_show_job`.`t3`:1] [engineUUID=69537677-8c9a-533f-9f7f-fb34aa20f14c] [takeTime=989.907µs] [] [2025/04/04 13:03:19.574 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=30081] [step=import] [engine-id=1] [2025/04/04 13:03:19.574 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`test_show_job`.`t3`:-2] [engineUUID=6a110035-0122-50d7-a258-9acbba47ee50] [2025/04/04 13:03:19.576 +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.492435ms] [] [2025/04/04 13:03:19.576 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`test_show_job`.`t3`:-2] [engineUUID=6a110035-0122-50d7-a258-9acbba47ee50] [retryCnt=0] [2025/04/04 13:03:19.580 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=6a110035-0122-50d7-a258-9acbba47ee50] [2025/04/04 13:03:19.580 +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.639392ms] [] [2025/04/04 13:03:19.580 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`test_show_job`.`t3`:-2] [engineUUID=6a110035-0122-50d7-a258-9acbba47ee50] [2025/04/04 13:03:19.580 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`test_show_job`.`t3`:-2] [engineUUID=6a110035-0122-50d7-a258-9acbba47ee50] [takeTime=774.535µs] [] [2025/04/04 13:03:19.581 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=30081] [step=import] [subtask-id=30154] [takeTime=204.60489ms] [] [2025/04/04 13:03:19.581 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30081] [task-type=ImportInto] [server-id=:4000] [subtaskID=30154] [step=import] [takeTime=204.743251ms] [] [2025/04/04 13:03:19.677 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30081] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 13:03:19.678 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30081] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:03:19.679 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30081] [curr-step=import] [next-step=post-process] [2025/04/04 13:03:19.679 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=30081] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 13:03:19.709 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=30081] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":4}"] [2025/04/04 13:03:19.710 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30081] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 13:03:19.710 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30081] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/04 13:03:19.744 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=30081] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 13:03:19.750 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30081] [step=import] [2025/04/04 13:03:19.755 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 13:03:19.755 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 13:03:19.755 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 13:03:19.755 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 13:03:19.755 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 13:03:19.755 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 13:03:19.755 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 13:03:19.755 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:03:19.755 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-81] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:03:19.755 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:03:19.755 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:03:19.755 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 13:03:19.757 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 13:03:19.757 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:03:19.757 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:03:19.757 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:03:19.757 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30081] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=569.084782ms] [] [2025/04/04 13:03:19.758 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30081] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/04 13:03:19.766 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30081] [task-type=ImportInto] [server-id=:4000] [subtaskID=30155] [step=post-process] [2025/04/04 13:03:19.766 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=30081] [step=post-process] [subtask-id=30155] [2025/04/04 13:03:19.766 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=30081] [step=post-process] [subtask-id=30155] [2025/04/04 13:03:19.766 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=30081] [step=post-process] [subtask-id=30155] [2025/04/04 13:03:19.766 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=30081] [step=post-process] [subtask-id=30155] [takeTime=2.036µs] [] [2025/04/04 13:03:19.766 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=30081] [step=post-process] [subtask-id=30155] [groupId=-1] [size=100] [kvs=4] [checksum=10068981574061626288] [2025/04/04 13:03:19.766 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=30081] [step=post-process] [subtask-id=30155] [checksum="{cksum=10068981574061626288,size=100,kvs=4}"] [2025/04/04 13:03:19.766 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=30081] [step=post-process] [subtask-id=30155] [weight=30] [2025/04/04 13:03:19.766 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=30081] [step=post-process] [subtask-id=30155] [concurrency=15] [2025/04/04 13:03:19.768 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=623] [physicalTableID=623] [indexID=-1] [checksum=10068981574061626288] [totalKvs=4] [totalBytes=100] [2025/04/04 13:03:19.769 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 13:03:19.769 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=30081] [step=post-process] [subtask-id=30155] [local="{cksum=10068981574061626288,size=100,kvs=4}"] [2025/04/04 13:03:19.769 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=30081] [step=post-process] [subtask-id=30155] [takeTime=2.771836ms] [] [2025/04/04 13:03:19.769 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=30081] [step=post-process] [subtask-id=30155] [takeTime=2.91774ms] [] [2025/04/04 13:03:19.769 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30081] [task-type=ImportInto] [server-id=:4000] [subtaskID=30155] [step=post-process] [takeTime=3.066482ms] [] [2025/04/04 13:03:19.795 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 13:03:19.877 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30081] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 13:03:19.877 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30081] [step=post-process] [state=running] [] [2025/04/04 13:03:19.880 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=30081] [2025/04/04 13:03:19.907 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30081] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=148.421274ms] [] [2025/04/04 13:03:19.907 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30081] [type=ImportInto] [2025/04/04 13:03:19.972 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30081] [2025/04/04 13:03:19.977 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 13:03:19.977 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30081] [2025/04/04 13:03:20.000 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 13:03:20.173 +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: 1.285050086\n# Parse_time: 0.00013595\n# Compile_time: 0.000501272\n# Rewrite_time: 0.000140723\n# Optimize_time: 0.000045942\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('RvBFMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjEuMjhzLCBvcGVuOjcxM25zLCBjbG9zZTo4NTducywgbG9vcHM6MglOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('YfBMCl0KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWix0aW1lOjEuMjhzLCBvcGVuOjcxM25zLCBjbG9zZTo4NTducywgbG9vcHM6MnD///8JAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.0000187\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.57s) === NAME TestImportInto === RUN TestImportInto/TestZeroDateTime [2025/04/04 13:03:20.189 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:625, Type:drop schema, State:queueing, SchemaState:public, SchemaID:485, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:20.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:03:20.189 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:625, Type:drop schema, State:queueing, SchemaState:public, SchemaID:485, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:20.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="DROP DATABASE IF EXISTS import_into;"] [2025/04/04 13:03:20.195 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=625] [conn=2] [job="ID:625, Type:drop schema, State:queueing, SchemaState:public, SchemaID:485, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:03:20.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:20.212 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=491] [neededSchemaVersion=492] ["elapsed time"=220.731µs] [gotSchemaVersion=492] [phyTblIDs="[487,489]"] [actionTypes="[2,2]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 13:03:20.215 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=625] [version=492] [2025/04/04 13:03:20.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=492] ["take time"=7.472981ms] [job="ID:625, Type:drop schema, State:running, SchemaState:write only, SchemaID:485, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:20.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:20.227 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=625] [conn=2] [job="ID:625, Type:drop schema, State:running, SchemaState:write only, SchemaID:485, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:03:20.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:20.239 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=492] [neededSchemaVersion=493] ["elapsed time"=141.281µs] [gotSchemaVersion=493] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 13:03:20.243 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=625] [version=493] [2025/04/04 13:03:20.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=493] ["take time"=7.219433ms] [job="ID:625, Type:drop schema, State:running, SchemaState:delete only, SchemaID:485, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:03:20.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:20.253 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=625] [conn=2] [job="ID:625, Type:drop schema, State:running, SchemaState:delete only, SchemaID:485, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:03:20.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:20.259 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/04 13:03:20.270 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=493] [neededSchemaVersion=494] ["elapsed time"=138.648µs] [gotSchemaVersion=494] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/04 13:03:20.274 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=625] [version=494] [2025/04/04 13:03:20.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=494] ["take time"=7.778064ms] [job="ID:625, Type:drop schema, State:done, SchemaState:none, SchemaID:485, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:20.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:20.284 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=625] [tableIDs="[487,489]"] [comment="drop schema: table IDs"] [2025/04/04 13:03:20.289 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=625] [jobType="drop schema"] [2025/04/04 13:03:20.290 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=625] [conn=2] [job="ID:625, Type:drop schema, State:synced, SchemaState:none, SchemaID:485, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:20.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:20.306 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=625] [2025/04/04 13:03:20.307 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=494] [cur_db=test_show_job] [sql="DROP DATABASE IF EXISTS import_into;"] [user=root@%] [2025/04/04 13:03:20.319 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:627, Type:create schema, State:queueing, SchemaState:none, SchemaID:626, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:20.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE import_into;"] [2025/04/04 13:03:20.319 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:627, Type:create schema, State:queueing, SchemaState:none, SchemaID:626, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:20.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:03:20.324 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=627] [conn=2] [job="ID:627, Type:create schema, State:queueing, SchemaState:none, SchemaID:626, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:03:20.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:20.337 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=494] [neededSchemaVersion=495] ["elapsed time"=657.207µs] [gotSchemaVersion=495] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/04 13:03:20.341 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=627] [version=495] [2025/04/04 13:03:20.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=495] ["take time"=7.86334ms] [job="ID:627, Type:create schema, State:done, SchemaState:public, SchemaID:626, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:20.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:20.354 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=627] [conn=2] [job="ID:627, Type:create schema, State:synced, SchemaState:public, SchemaID:626, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-04 13:03:20.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:20.365 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=627] [2025/04/04 13:03:20.365 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=495] [cur_db=test_show_job] [sql="CREATE DATABASE import_into;"] [user=root@%] [2025/04/04 13:03:20.378 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:629, Type:create table, State:queueing, SchemaState:none, SchemaID:626, TableID:628, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:20.343 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:03:20.378 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:629, Type:create table, State:queueing, SchemaState:none, SchemaID:626, TableID:628, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:20.343 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table import_into.zero_time_table(t datetime)"] [2025/04/04 13:03:20.384 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=629] [conn=2] [job="ID:629, Type:create table, State:queueing, SchemaState:none, SchemaID:626, TableID:628, RowCount:0, ArgLen:0, start time: 2025-04-04 13:03:20.343 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:20.389 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 628, Table Name: zero_time_table)"] [2025/04/04 13:03:20.403 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=495] [neededSchemaVersion=496] ["elapsed time"=1.451233ms] [gotSchemaVersion=496] [phyTblIDs="[628]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/04 13:03:20.406 +00:00] [INFO] [cache.go:406] ["GC compact old schema version"] ["current version"=496] ["oldest version"=1] [deleted=0] [total=840] [takes=875.606µs] [2025/04/04 13:03:20.407 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=629] [version=496] [2025/04/04 13:03:20.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=496] ["take time"=8.559734ms] [job="ID:629, Type:create table, State:done, SchemaState:public, SchemaID:626, TableID:628, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:20.343 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:20.419 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=629] [conn=2] [job="ID:629, Type:create table, State:synced, SchemaState:public, SchemaID:626, TableID:628, RowCount:0, ArgLen:0, start time: 2025-04-04 13:03:20.343 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:20.430 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=629] [2025/04/04 13:03:20.430 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=496] [cur_db=test_show_job] [sql="create table import_into.zero_time_table(t datetime)"] [user=root@%] [2025/04/04 13:03:20.437 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:03:20.486 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/zero_time.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/04 13:03:20.503 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30082] [task-id=30082] [data-size=20B] [thread-cnt=8] [global-sort=false] [2025/04/04 13:03:20.518 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30082] [2025/04/04 13:03:20.518 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=30082] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/04 13:03:20.620 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30082] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 13:03:20.621 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30082] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:03:20.622 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30082] [curr-step=init] [next-step=import] [2025/04/04 13:03:20.630 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:03:20.632 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=zero_time_table] [2025/04/04 13:03:20.632 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=zero_time_table] [before=536870912000] [after=20] [2025/04/04 13:03:20.632 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=zero_time_table] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=20] [cost=61.263µs] [2025/04/04 13:03:20.633 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=zero_time_table] [takeTime=199.694µs] [] [2025/04/04 13:03:20.633 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30082] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 13:03:20.633 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30082] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/04 13:03:20.666 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30082] [type=ImportInto] [concurrency=8] [remaining-slots=44] [2025/04/04 13:03:20.686 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30082] [step=import] [2025/04/04 13:03:20.686 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:03:20.694 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 13:03:20.694 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 13:03:20.695 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 13:03:20.695 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 13:03:20.695 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 13:03:20.695 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 13:03:20.695 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 13:03:20.695 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 13:03:20.696 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 13:03:20.696 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 13:03:20.708 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 13:03:20.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/04 13:03:20.709 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=zero_time_table] [quota=374.2GB] [2025/04/04 13:03:20.710 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=30082] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 13:03:20.710 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30082] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/04 13:03:20.710 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=zero_time_table] [import-id=30082] [disk-quota=348.5GiB] [2025/04/04 13:03:20.717 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30082] [task-type=ImportInto] [server-id=:4000] [subtaskID=30156] [step=import] [2025/04/04 13:03:20.717 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30082] [step=import] [subtask-id=30156] [2025/04/04 13:03:20.721 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`zero_time_table`:0] [engineUUID=b03a8272-790c-5766-99b7-2cad67f1945e] [2025/04/04 13:03:20.724 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`zero_time_table`:-1] [engineUUID=bded5148-7505-502f-9c47-c93111ef3c71] [2025/04/04 13:03:20.724 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=628] [2025/04/04 13:03:20.727 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=30082] [mode=Import] [2025/04/04 13:03:20.745 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=30082] [2025/04/04 13:03:20.757 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=628] [key=zero_time.csv:0] [2025/04/04 13:03:20.758 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=628] [key=zero_time.csv:0] [readDur=995.69µs] [encodeDur=354.195µs] [checksum="{cksum=7293691435722186009,size=36,kvs=1}"] [deliverDur=258.205µs] [type=file] [takeTime=1.935046ms] [] [2025/04/04 13:03:20.759 +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/30082/b03a8272-790c-5766-99b7-2cad67f1945e.sst/e6b54020-eb2e-4cda-b8dc-e8d1a1667b17.sst] [firstKey=7480000000000002745F728000000000000001] [lastKey=7480000000000002745F728000000000000001] [2025/04/04 13:03:20.759 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=30082] [step=import] [engine-id=0] [2025/04/04 13:03:20.759 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=30082] [step=import] [engine-id=0] [2025/04/04 13:03:20.759 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`zero_time_table`:0] [engineUUID=b03a8272-790c-5766-99b7-2cad67f1945e] [2025/04/04 13:03:20.761 +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.860234ms] [] [2025/04/04 13:03:20.761 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`zero_time_table`:0] [engineUUID=b03a8272-790c-5766-99b7-2cad67f1945e] [retryCnt=0] [2025/04/04 13:03:20.765 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/04 13:03:20.787 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=b03a8272-790c-5766-99b7-2cad67f1945e] ["region ranges"=1] [count=1] [size=36] [2025/04/04 13:03:20.787 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/04 13:03:20.788 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000002745f728000000000000001] [endOfAllRanges=7480000000000002745f728000000000000002] [startKeyOfFirstRegion=7480000000000002ff745f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000002ff745f728000000000ff0000020000000000fa] [2025/04/04 13:03:20.799 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=b03a8272-790c-5766-99b7-2cad67f1945e] [size=36] [kvs=1] [importedSize=36] [importedCount=1] [2025/04/04 13:03:20.801 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`import_into`.`zero_time_table`:0] [engineUUID=b03a8272-790c-5766-99b7-2cad67f1945e] [retryCnt=0] [takeTime=39.291852ms] [] [2025/04/04 13:03:20.801 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`zero_time_table`:0] [engineUUID=b03a8272-790c-5766-99b7-2cad67f1945e] [2025/04/04 13:03:20.802 +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=972.875µs] [] [2025/04/04 13:03:20.802 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=30082] [step=import] [engine-id=0] [2025/04/04 13:03:20.802 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`zero_time_table`:-1] [engineUUID=bded5148-7505-502f-9c47-c93111ef3c71] [2025/04/04 13:03:20.803 +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.493317ms] [] [2025/04/04 13:03:20.803 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`zero_time_table`:-1] [engineUUID=bded5148-7505-502f-9c47-c93111ef3c71] [retryCnt=0] [2025/04/04 13:03:20.807 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=bded5148-7505-502f-9c47-c93111ef3c71] [2025/04/04 13:03:20.807 +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.486603ms] [] [2025/04/04 13:03:20.807 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`zero_time_table`:-1] [engineUUID=bded5148-7505-502f-9c47-c93111ef3c71] [2025/04/04 13:03:20.808 +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=848.705µs] [] [2025/04/04 13:03:20.808 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=30082] [step=import] [subtask-id=30156] [takeTime=90.569698ms] [] [2025/04/04 13:03:20.809 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30082] [task-type=ImportInto] [server-id=:4000] [subtaskID=30156] [step=import] [takeTime=91.4483ms] [] [2025/04/04 13:03:20.826 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30082] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/04 13:03:20.826 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30082] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:03:20.827 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30082] [curr-step=import] [next-step=post-process] [2025/04/04 13:03:20.827 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=30082] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/04 13:03:20.856 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=30082] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":1}"] [2025/04/04 13:03:20.857 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30082] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/04 13:03:20.857 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30082] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/04 13:03:20.892 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=30082] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/04 13:03:20.899 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30082] [step=import] [2025/04/04 13:03:20.902 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 13:03:20.902 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 13:03:20.902 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 13:03:20.902 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 13:03:20.902 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 13:03:20.902 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 13:03:20.902 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:03:20.902 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 13:03:20.902 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:03:20.902 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-82] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:03:20.902 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:03:20.902 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 13:03:20.904 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 13:03:20.904 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:03:20.904 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:03:20.904 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:03:20.905 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30082] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [takeTime=194.829117ms] [] [2025/04/04 13:03:20.905 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30082] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/04 13:03:20.913 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30082] [task-type=ImportInto] [server-id=:4000] [subtaskID=30157] [step=post-process] [2025/04/04 13:03:20.913 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=30082] [step=post-process] [subtask-id=30157] [2025/04/04 13:03:20.913 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=30082] [step=post-process] [subtask-id=30157] [2025/04/04 13:03:20.913 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=30082] [step=post-process] [subtask-id=30157] [2025/04/04 13:03:20.919 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=30082] [step=post-process] [subtask-id=30157] [takeTime=5.743744ms] [] [2025/04/04 13:03:20.919 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=30082] [step=post-process] [subtask-id=30157] [groupId=-1] [size=36] [kvs=1] [checksum=7293691435722186009] [2025/04/04 13:03:20.919 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=30082] [step=post-process] [subtask-id=30157] [checksum="{cksum=7293691435722186009,size=36,kvs=1}"] [2025/04/04 13:03:20.919 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=30082] [step=post-process] [subtask-id=30157] [weight=30] [2025/04/04 13:03:20.919 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=30082] [step=post-process] [subtask-id=30157] [concurrency=15] [2025/04/04 13:03:20.921 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=628] [physicalTableID=628] [indexID=-1] [checksum=7293691435722186009] [totalKvs=1] [totalBytes=36] [2025/04/04 13:03:20.921 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/04 13:03:20.921 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=30082] [step=post-process] [subtask-id=30157] [local="{cksum=7293691435722186009,size=36,kvs=1}"] [2025/04/04 13:03:20.921 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=30082] [step=post-process] [subtask-id=30157] [takeTime=8.232979ms] [] [2025/04/04 13:03:20.921 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=30082] [step=post-process] [subtask-id=30157] [takeTime=8.374904ms] [] [2025/04/04 13:03:20.921 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30082] [task-type=ImportInto] [server-id=:4000] [subtaskID=30157] [step=post-process] [takeTime=8.526555ms] [] [2025/04/04 13:03:20.948 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/04 13:03:21.026 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30082] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/04 13:03:21.026 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30082] [step=post-process] [state=running] [] [2025/04/04 13:03:21.029 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=30082] [2025/04/04 13:03:21.059 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30082] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [takeTime=153.36616ms] [] [2025/04/04 13:03:21.059 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30082] [type=ImportInto] [2025/04/04 13:03:21.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.68802533\n# Parse_time: 0.00006891\n# Compile_time: 0.000455403\n# Rewrite_time: 0.000144531\n# Optimize_time: 0.000275179\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY4Ny4zbXMsIG9wZW46NzE3bnMsIGNsb3NlOjk1MG5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY4Ny4zbXMsIG9wZW46NzE3bnMsIGNsb3NlOjk1MG5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.0000187\nIMPORT INTO `import_into`.`zero_time_table` FROM 'gs://test-load/zero_time.csv?endpoint=http://127.0.0.1:4443/storage/v1/';"] [2025/04/04 13:03:21.121 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30082] [2025/04/04 13:03:21.126 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 13:03:21.126 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30082] [2025/04/04 13:03:21.136 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:631, Type:truncate table, State:queueing, SchemaState:none, SchemaID:626, TableID:628, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:21.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/04 13:03:21.136 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:631, Type:truncate table, State:queueing, SchemaState:none, SchemaID:626, TableID:628, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:21.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table import_into.zero_time_table"] [2025/04/04 13:03:21.141 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=631] [conn=2] [job="ID:631, Type:truncate table, State:queueing, SchemaState:none, SchemaID:626, TableID:628, RowCount:0, ArgLen:0, start time: 2025-04-04 13:03:21.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:21.148 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 13:03:21.149 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 630, Table Name: zero_time_table, Old Table ID: 628, Old Table Name: zero_time_table)"] [2025/04/04 13:03:21.163 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=496] [neededSchemaVersion=497] ["elapsed time"=1.43312ms] [gotSchemaVersion=497] [phyTblIDs="[628,630]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/04 13:03:21.166 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=631] [version=497] [2025/04/04 13:03:21.168 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=497] ["take time"=8.736992ms] [job="ID:631, Type:truncate table, State:done, SchemaState:public, SchemaID:626, TableID:628, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:21.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:21.178 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=631] [tableIDs="[628]"] [comment="truncate table: table ID"] [2025/04/04 13:03:21.183 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=631] [jobType="truncate table"] [2025/04/04 13:03:21.184 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=631] [conn=2] [job="ID:631, Type:truncate table, State:synced, SchemaState:public, SchemaID:626, TableID:628, RowCount:0, ArgLen:1, start time: 2025-04-04 13:03:21.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/04 13:03:21.200 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=631] [2025/04/04 13:03:21.201 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=497] [cur_db=test_show_job] [sql="truncate table import_into.zero_time_table"] [user=root@%] [2025/04/04 13:03:21.206 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:03:21.253 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/zero_time.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/04 13:03:21.270 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30083] [task-id=30083] [data-size=20B] [thread-cnt=8] [global-sort=false] [2025/04/04 13:03:21.285 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30083] [2025/04/04 13:03:21.285 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=30083] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/04 13:03:21.387 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30083] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/04 13:03:21.388 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30083] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/04 13:03:21.389 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30083] [curr-step=init] [next-step=import] [2025/04/04 13:03:21.396 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:03:21.399 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=zero_time_table] [2025/04/04 13:03:21.399 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=zero_time_table] [before=536870912000] [after=20] [2025/04/04 13:03:21.399 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=zero_time_table] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=20] [cost=46.025µs] [2025/04/04 13:03:21.399 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=zero_time_table] [takeTime=139.53µs] [] [2025/04/04 13:03:21.399 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30083] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/04 13:03:21.399 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30083] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/04 13:03:21.437 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30083] [type=ImportInto] [concurrency=8] [remaining-slots=44] [2025/04/04 13:03:21.457 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30083] [step=import] [2025/04/04 13:03:21.458 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/04 13:03:21.465 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2379] [old-leader=] [2025/04/04 13:03:21.465 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489437817523558127] [2025/04/04 13:03:21.465 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/04 13:03:21.466 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2379] [2025/04/04 13:03:21.466 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/04 13:03:21.466 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/04 13:03:21.466 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/04 13:03:21.466 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/04 13:03:21.466 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/04 13:03:21.467 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/04 13:03:21.478 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/04 13:03:21.480 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/04 13:03:21.480 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=zero_time_table] [quota=374.2GB] [2025/04/04 13:03:21.480 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=30083] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/04 13:03:21.480 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30083] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/04 13:03:21.480 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=zero_time_table] [import-id=30083] [disk-quota=348.5GiB] [2025/04/04 13:03:21.488 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30083] [task-type=ImportInto] [server-id=:4000] [subtaskID=30158] [step=import] [2025/04/04 13:03:21.488 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30083] [step=import] [subtask-id=30158] [2025/04/04 13:03:21.491 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`zero_time_table`:0] [engineUUID=b03a8272-790c-5766-99b7-2cad67f1945e] [2025/04/04 13:03:21.494 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=30083] [mode=Import] [2025/04/04 13:03:21.495 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`zero_time_table`:-1] [engineUUID=bded5148-7505-502f-9c47-c93111ef3c71] [2025/04/04 13:03:21.495 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=630] [2025/04/04 13:03:21.515 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=30083] [2025/04/04 13:03:21.542 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=630] [key=zero_time.csv:0] [2025/04/04 13:03:21.543 +00:00] [ERROR] [chunk_process.go:334] ["process chunk failed"] [type=ImportInto] [table-id=630] [key=zero_time.csv:0] [takeTime=1.222373ms] [error="[Lightning:Restore:ErrEncodeKV]encode kv error in file zero_time.csv:0 at offset 20: [types:1292]Incorrect datetime value: '1990-01-00 00:00:00'"] [stack="github.com/pingcap/tidb/pkg/executor/importer.(*baseChunkProcessor).Process.func1\n\tpkg/executor/importer/chunk_process.go:334\ngithub.com/pingcap/tidb/pkg/executor/importer.(*baseChunkProcessor).Process\n\tpkg/executor/importer/chunk_process.go:354\ngithub.com/pingcap/tidb/pkg/executor/importer.ProcessChunkWithWriter\n\tpkg/executor/importer/engine_process.go:113\ngithub.com/pingcap/tidb/pkg/executor/importer.ProcessChunk\n\tpkg/executor/importer/engine_process.go:67\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importMinimalTaskExecutor).Run\n\tpkg/disttask/importinto/subtask_executor.go:66\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*chunkWorker).HandleTask\n\tpkg/disttask/importinto/encode_and_sort_operator.go:200\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).handleTaskWithRecover\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:149\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).runAWorker.func1\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:165\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:167"] [2025/04/04 13:03:21.543 +00:00] [ERROR] [task_executor.go:129] ["run subtask failed"] [type=ImportInto] [task-id=30083] [step=import] [subtask-id=30158] [takeTime=55.159159ms] [error="[Lightning:Restore:ErrEncodeKV]encode kv error in file zero_time.csv:0 at offset 20: [types:1292]Incorrect datetime value: '1990-01-00 00:00:00'"] [stack="github.com/pingcap/tidb/pkg/disttask/importinto.(*importStepExecutor).RunSubtask.func1\n\tpkg/disttask/importinto/task_executor.go:129\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:200\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/04 13:03:21.543 +00:00] [INFO] [task_executor.go:464] ["run subtask failed"] [task-id=30083] [task-type=ImportInto] [server-id=:4000] [subtaskID=30158] [step=import] [takeTime=55.419915ms] [error="[Lightning:Restore:ErrEncodeKV]encode kv error in file zero_time.csv:0 at offset 20: [types:1292]Incorrect datetime value: '1990-01-00 00:00:00'"] [errorVerbose="[Lightning:Restore:ErrEncodeKV]encode kv error in file zero_time.csv:0 at offset 20: [types:1292]Incorrect datetime value: '1990-01-00 00:00:00'\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/executor/importer.(*chunkEncoder).encodeLoop\n\tpkg/executor/importer/chunk_process.go:286\ngithub.com/pingcap/tidb/pkg/executor/importer.(*baseChunkProcessor).Process.func3\n\tpkg/executor/importer/chunk_process.go:346\ngithub.com/pingcap/tidb/pkg/executor/importer.(*baseChunkProcessor).Process.(*ErrorGroupWithRecover).Go.func5\n\tpkg/util/wait_group_wrapper.go:260\ngolang.org/x/sync/errgroup.(*Group).Go.func1\n\texternal/org_golang_x_sync/errgroup/errgroup.go:78\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:03:21.543 +00:00] [WARN] [task_executor.go:706] ["subtask failed"] [task-id=30083] [task-type=ImportInto] [server-id=:4000] [error="[Lightning:Restore:ErrEncodeKV]encode kv error in file zero_time.csv:0 at offset 20: [types:1292]Incorrect datetime value: '1990-01-00 00:00:00'"] [errorVerbose="[Lightning:Restore:ErrEncodeKV]encode kv error in file zero_time.csv:0 at offset 20: [types:1292]Incorrect datetime value: '1990-01-00 00:00:00'\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/executor/importer.(*chunkEncoder).encodeLoop\n\tpkg/executor/importer/chunk_process.go:286\ngithub.com/pingcap/tidb/pkg/executor/importer.(*baseChunkProcessor).Process.func3\n\tpkg/executor/importer/chunk_process.go:346\ngithub.com/pingcap/tidb/pkg/executor/importer.(*baseChunkProcessor).Process.(*ErrorGroupWithRecover).Go.func5\n\tpkg/util/wait_group_wrapper.go:260\ngolang.org/x/sync/errgroup.(*Group).Go.func1\n\texternal/org_golang_x_sync/errgroup/errgroup.go:78\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:03:21.550 +00:00] [ERROR] [task_executor.go:344] ["run subtask failed"] [task-id=30083] [task-type=ImportInto] [server-id=:4000] [error="[Lightning:Restore:ErrEncodeKV]encode kv error in file zero_time.csv:0 at offset 20: [types:1292]Incorrect datetime value: '1990-01-00 00:00:00'"] [errorVerbose="[Lightning:Restore:ErrEncodeKV]encode kv error in file zero_time.csv:0 at offset 20: [types:1292]Incorrect datetime value: '1990-01-00 00:00:00'\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/executor/importer.(*chunkEncoder).encodeLoop\n\tpkg/executor/importer/chunk_process.go:286\ngithub.com/pingcap/tidb/pkg/executor/importer.(*baseChunkProcessor).Process.func3\n\tpkg/executor/importer/chunk_process.go:346\ngithub.com/pingcap/tidb/pkg/executor/importer.(*baseChunkProcessor).Process.(*ErrorGroupWithRecover).Go.func5\n\tpkg/util/wait_group_wrapper.go:260\ngolang.org/x/sync/errgroup.(*Group).Go.func1\n\texternal/org_golang_x_sync/errgroup/errgroup.go:78\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:344\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/04 13:03:21.597 +00:00] [WARN] [scheduler.go:389] ["subtasks encounter errors"] [task-id=30083] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [subtask-errs="[\"{error=\\\"[types:1292]Incorrect datetime value: '1990-01-00 00:00:00'\\\"}\"]"] [2025/04/04 13:03:21.617 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30083] [step=import] [2025/04/04 13:03:21.620 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 13:03:21.620 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 13:03:21.620 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 13:03:21.620 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 13:03:21.620 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 13:03:21.620 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 13:03:21.621 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 13:03:21.620 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-83] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:03:21.621 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:03:21.621 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:03:21.621 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:03:21.621 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 13:03:21.623 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/04 13:03:21.623 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:03:21.623 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:03:21.623 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:03:21.623 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30083] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [takeTime=142.454498ms] [] [2025/04/04 13:03:21.623 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30083] [type=ImportInto] [2025/04/04 13:03:21.693 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30083] [step=import] [state=reverting] [error="[types:1292]Incorrect datetime value: '1990-01-00 00:00:00'"] [2025/04/04 13:03:21.694 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=30083] [step=import] [mode=Normal] [2025/04/04 13:03:21.709 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=30083] [2025/04/04 13:03:21.787 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30083] [2025/04/04 13:03:21.793 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/04 13:03:21.793 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30083] [2025/04/04 13:03:21.813 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/04 13:03:21.885 +00:00] [ERROR] [handle.go:110] ["task reverted"] [task-id=30083] [error="[types:1292]Incorrect datetime value: '1990-01-00 00:00:00'"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/handle.WaitTaskDoneOrPaused\n\tpkg/disttask/framework/handle/handle.go:110\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoExec).waitTask\n\tpkg/executor/import_into.go:233\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoExec).Next\n\tpkg/executor/import_into.go:137\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*recordSet).Next\n\tpkg/executor/adapter.go:172\ngithub.com/pingcap/tidb/pkg/session.GetRows4Test\n\tpkg/session/tidb.go:343\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).QueryToErr\n\tpkg/testkit/testkit.go:304\ntests/realtikvtest/importintotest/importintotest_test.(*mockGCSSuite).TestZeroDateTime\n\ttests/realtikvtest/importintotest/import_into_test.go:1239\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690"] [2025/04/04 13:03:21.886 +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.684890389\n# Parse_time: 0.000072714\n# Compile_time: 0.000429002\n# Rewrite_time: 0.000140957\n# Optimize_time: 0.000226935\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('SvBJMAk1OV8yCTAJMAlOL0EJMAl0aW1lOjY4NC4ybXMsIG9wZW46NjU3bnMsIGNsb3NlOjEuMDLCtXMsIGxvb3BzOjEJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjgBQAFSA04vQVowdGltZTo2ODQuMm1zLCBvcGVuOjY1N25zLCBjbG9zZToxLjAywrVzLCBsb29wczoxcP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.0000187\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/04 13:03:21.898 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/04 13:03:21.898 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/04 13:03:21.898 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=dc0db76e-306f-4c67-9d23-d988f52ad40d] [] [2025/04/04 13:03:21.898 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=dc0db76e-306f-4c67-9d23-d988f52ad40d] [2025/04/04 13:03:21.898 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 13:03:21.898 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/04 13:03:21.898 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 7, tp general"] ["take time"=78.76µs] [2025/04/04 13:03:21.898 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 8, tp general"] ["take time"=49.64µs] [2025/04/04 13:03:21.898 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 9, tp general"] ["take time"=53.953µs] [2025/04/04 13:03:21.898 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 10, tp general"] ["take time"=44.329µs] [2025/04/04 13:03:21.899 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 1, tp general"] ["take time"=43.036µs] [2025/04/04 13:03:21.899 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 2, tp general"] ["take time"=45.281µs] [2025/04/04 13:03:21.899 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 3, tp general"] ["take time"=35.593µs] [2025/04/04 13:03:21.899 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 4, tp general"] ["take time"=35.201µs] [2025/04/04 13:03:21.899 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 5, tp general"] ["take time"=41.154µs] [2025/04/04 13:03:21.899 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 6, tp general"] ["take time"=30.535µs] [2025/04/04 13:03:21.899 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=dc0db76e-306f-4c67-9d23-d988f52ad40d] [2025/04/04 13:03:21.899 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=dc0db76e-306f-4c67-9d23-d988f52ad40d] [2025/04/04 13:03:21.900 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/04 13:03:21.900 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/04 13:03:21.918 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=dc0db76e-306f-4c67-9d23-d988f52ad40d] ["take time"=20.244515ms] [2025/04/04 13:03:21.918 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=dc0db76e-306f-4c67-9d23-d988f52ad40d] [2025/04/04 13:03:21.918 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/04 13:03:21.918 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/04 13:03:21.918 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/a1e0b19b-2be0-4b09-ad24-213d67c947c3] [watcherID=017d9644-ee8a-4ddc-9357-240b70f14f36] [2025/04/04 13:03:21.918 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/a1e0b19b-2be0-4b09-ad24-213d67c947c3] [2025/04/04 13:03:21.918 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=dc0db76e-306f-4c67-9d23-d988f52ad40d] [ttl-worker=task-manager] [ttl-worker=dc0db76e-306f-4c67-9d23-d988f52ad40d] [originalCount=4] [newCount=0] [2025/04/04 13:03:21.918 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 13:03:21.918 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 13:03:21.918 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 13:03:21.918 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/04 13:03:21.919 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=dc0db76e-306f-4c67-9d23-d988f52ad40d] [ttl-worker=task-manager] [ttl-worker=dc0db76e-306f-4c67-9d23-d988f52ad40d] [originalCount=4] [newCount=0] [2025/04/04 13:03:21.921 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 13:03:21.921 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 13:03:21.921 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 13:03:21.921 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/04 13:03:21.923 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=dc0db76e-306f-4c67-9d23-d988f52ad40d] [2025/04/04 13:03:21.923 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/04 13:03:21.924 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1324] [2025/04/04 13:03:21.924 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/04 13:03:21.924 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/04 13:03:21.924 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/04 13:03:21.924 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/04 13:03:21.924 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/04 13:03:21.924 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 13:03:21.924 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 13:03:21.924 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/04 13:03:21.924 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/04 13:03:21.924 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 13:03:21.924 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 13:03:21.924 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/04 13:03:21.924 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/04 13:03:21.924 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/04 13:03:21.924 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 13:03:21.924 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/04 13:03:21.924 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/04 13:03:21.924 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/04 13:03:21.924 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/04 13:03:21.924 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/04 13:03:21.924 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/04 13:03:21.924 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/04 13:03:21.924 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 13:03:21.924 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/04 13:03:21.924 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 13:03:21.924 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 13:03:21.924 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 13:03:21.924 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/04 13:03:21.924 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/04 13:03:21.924 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 13:03:21.924 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 13:03:21.924 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/04 13:03:21.924 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 13:03:21.924 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 13:03:21.924 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/04 13:03:21.924 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/04 13:03:21.925 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/04 13:03:21.924 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/04 13:03:21.924 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=d1d11baf-7994-4bb3-a37b-68047b42c462] [] [2025/04/04 13:03:21.925 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=d1d11baf-7994-4bb3-a37b-68047b42c462] [2025/04/04 13:03:21.924 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/04 13:03:21.924 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/04 13:03:21.925 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=d1d11baf-7994-4bb3-a37b-68047b42c462] [2025/04/04 13:03:21.925 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/04 13:03:21.925 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=d1d11baf-7994-4bb3-a37b-68047b42c462] [2025/04/04 13:03:21.925 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/04 13:03:21.924 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/04 13:03:21.924 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/04 13:03:21.925 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/04 13:03:21.924 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/04 13:03:21.925 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/04 13:03:21.924 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/04 13:03:21.925 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/04 13:03:21.924 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/04 13:03:21.924 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 13:03:21.925 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/04 13:03:21.925 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 13:03:21.924 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/04 13:03:21.924 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/04 13:03:21.925 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/04 13:03:21.924 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=dc0db76e-306f-4c67-9d23-d988f52ad40d] [2025/04/04 13:03:21.924 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/04 13:03:21.924 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/04 13:03:21.924 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/04 13:03:21.925 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/04 13:03:21.925 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/04 13:03:21.924 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 13:03:21.924 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 13:03:21.924 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/04 13:03:21.924 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/04 13:03:21.925 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/04 13:03:21.925 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 13:03:21.925 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/04 13:03:21.925 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/04 13:03:21.925 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/04 13:03:21.925 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=dc0db76e-306f-4c67-9d23-d988f52ad40d] [] [2025/04/04 13:03:21.925 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=dc0db76e-306f-4c67-9d23-d988f52ad40d] [2025/04/04 13:03:21.926 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/04 13:03:21.926 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=dc0db76e-306f-4c67-9d23-d988f52ad40d] [2025/04/04 13:03:21.926 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/04 13:03:21.926 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=dc0db76e-306f-4c67-9d23-d988f52ad40d] [2025/04/04 13:03:21.926 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=dc0db76e-306f-4c67-9d23-d988f52ad40d] [2025/04/04 13:03:21.926 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/04 13:03:21.926 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/04 13:03:21.926 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/bindinfo/owner] [id=dc0db76e-306f-4c67-9d23-d988f52ad40d] [] [2025/04/04 13:03:21.926 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=d1d11baf-7994-4bb3-a37b-68047b42c462] [daemon-id=LogBackup::Advancer] [2025/04/04 13:03:21.926 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/bindinfo/owner] [id=dc0db76e-306f-4c67-9d23-d988f52ad40d] [2025/04/04 13:03:21.926 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/04 13:03:21.926 +00:00] [INFO] [flush_subscriber.go:108] [Clearing.] [category="log backup flush subscriber"] [timeout=1m0s] [2025/04/04 13:03:21.926 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/04 13:03:21.926 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=dc0db76e-306f-4c67-9d23-d988f52ad40d] [error="context canceled"] [2025/04/04 13:03:21.926 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/bindinfo/owner] [id=dc0db76e-306f-4c67-9d23-d988f52ad40d] [2025/04/04 13:03:21.927 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/04 13:03:21.926 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/04 13:03:21.926 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/04 13:03:21.927 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/04 13:03:21.927 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=dc0db76e-306f-4c67-9d23-d988f52ad40d] [2025/04/04 13:03:21.927 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/04 13:03:21.927 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/04 13:03:21.927 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=dc0db76e-306f-4c67-9d23-d988f52ad40d] [error="context canceled"] [2025/04/04 13:03:21.927 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=dc0db76e-306f-4c67-9d23-d988f52ad40d] [error="context canceled"] [errorVerbose="context canceled\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:03:21.929 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/04 13:03:21.929 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/04 13:03:21.929 +00:00] [ERROR] [select_result.go:556] ["invalid cop task execution summaries length"] [expected=1] [received=0] [stack="github.com/pingcap/tidb/pkg/distsql.(*selectResult).updateCopRuntimeStats\n\tpkg/distsql/select_result.go:556\ngithub.com/pingcap/tidb/pkg/distsql.(*selectResult).Close\n\tpkg/distsql/select_result.go:611\ngithub.com/pingcap/tidb/pkg/executor.(*IndexLookUpExecutor).startIndexWorker.func1\n\tpkg/executor/distsql.go:810\ngithub.com/pingcap/tidb/pkg/executor.(*workerPool).run\n\tpkg/executor/utils.go:243"] [2025/04/04 13:03:21.930 +00:00] [ERROR] [manager.go:373] ["task manager met error"] [server-id=:4000] [error="[127.0.0.1:20160](1) context canceled"] [errorVerbose="[127.0.0.1:20160](1) context canceled\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/store/driver/error.ToTiDBErr\n\tpkg/store/driver/error/error.go:208\ngithub.com/pingcap/tidb/pkg/store/copr.(*copIteratorWorker).handleTaskOnce\n\tpkg/store/copr/coprocessor.go:1425\ngithub.com/pingcap/tidb/pkg/store/copr.(*liteCopIteratorWorker).liteSendReq\n\tpkg/store/copr/coprocessor.go:1197\ngithub.com/pingcap/tidb/pkg/store/copr.(*copIterator).Next\n\tpkg/store/copr/coprocessor.go:1112\ngithub.com/pingcap/tidb/pkg/distsql.(*selectResult).fetchResp\n\tpkg/distsql/select_result.go:317\ngithub.com/pingcap/tidb/pkg/distsql.(*selectResult).Next\n\tpkg/distsql/select_result.go:382\ngithub.com/pingcap/tidb/pkg/executor.(*indexWorker).extractTaskHandles\n\tpkg/executor/distsql.go:1142\ngithub.com/pingcap/tidb/pkg/executor.(*indexWorker).fetchHandles\n\tpkg/executor/distsql.go:1064\ngithub.com/pingcap/tidb/pkg/executor.(*IndexLookUpExecutor).startIndexWorker.func1\n\tpkg/executor/distsql.go:807\ngithub.com/pingcap/tidb/pkg/executor.(*workerPool).run\n\tpkg/executor/utils.go:243\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).logErr\n\tpkg/disttask/framework/taskexecutor/manager.go:373\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).handleTasks\n\tpkg/disttask/framework/taskexecutor/manager.go:174\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).handleTasksLoop\n\tpkg/disttask/framework/taskexecutor/manager.go:151\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:167"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).logErr\n\tpkg/disttask/framework/taskexecutor/manager.go:373\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).handleTasks\n\tpkg/disttask/framework/taskexecutor/manager.go:174\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).handleTasksLoop\n\tpkg/disttask/framework/taskexecutor/manager.go:151\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:167"] [2025/04/04 13:03:21.930 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/04 13:03:21.930 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/04 13:03:21.930 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/04 13:03:21.991 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/04 13:03:21.991 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/04 13:03:22.002 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=104.381881ms] [2025/04/04 13:03:22.004 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/04 13:03:22.004 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/04 13:03:22.005 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/04 13:03:22.005 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/04 13:03:22.005 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/04 13:03:22.005 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/04 13:03:22.005 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/04 13:03:22.005 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/04 13:03:22.005 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/04 13:03:22.005 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2379-1] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/04 13:03:22.005 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/04 13:03:22.005 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/04 13:03:22.006 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestImportInto (151.65s) === NAME PASS ================================================================================ [4,750 / 4,751] 1 / 1 tests; Testing //tests/realtikvtest/importintotest:importintotest_test; 155s remote-cache, linux-sandbox Target //tests/realtikvtest/importintotest:importintotest_test up-to-date: bazel-bin/tests/realtikvtest/importintotest/importintotest_test_/importintotest_test INFO: Elapsed time: 1119.257s, Critical Path: 1100.26s INFO: 4748 processes: 4712 remote cache hit, 12 internal, 24 linux-sandbox. INFO: Build completed successfully, 4748 total actions //tests/realtikvtest/importintotest:importintotest_test FLAKY, failed in 1 out of 2 in 901.3s Stats over 2 runs: max = 901.3s, min = 155.8s, avg = 528.6s, dev = 372.7s PASSED importintotest_test.TestImportInto (151.7s) PASSED importintotest_test.TestImportInto/TestAddIndexBySQL (0.0s) PASSED importintotest_test.TestImportInto/TestAnalyze (0.0s) PASSED importintotest_test.TestImportInto/TestBadCases (43.7s) PASSED importintotest_test.TestImportInto/TestBasicImportInto (16.9s) PASSED importintotest_test.TestImportInto/TestCancelJob (4.7s) PASSED importintotest_test.TestImportInto/TestChecksumNotMatch (3.1s) PASSED importintotest_test.TestImportInto/TestColumnsAndUserVars (0.9s) PASSED importintotest_test.TestImportInto/TestDeliverBytesRows (1.7s) PASSED importintotest_test.TestImportInto/TestDetachedLoadParquet (2.2s) PASSED importintotest_test.TestImportInto/TestDiskQuota (1.3s) PASSED importintotest_test.TestImportInto/TestGBK (3.3s) PASSED importintotest_test.TestImportInto/TestGeneratedColumnsAndTSVFile (4.5s) PASSED importintotest_test.TestImportInto/TestIgnoreNLines (3.4s) PASSED importintotest_test.TestImportInto/TestImportIntoPrivilegePositiveCase (3.4s) PASSED importintotest_test.TestImportInto/TestImportIntoWithFK (1.3s) PASSED importintotest_test.TestImportInto/TestImportMode (12.7s) PASSED importintotest_test.TestImportInto/TestInputCountMisMatchAndDefault (3.1s) PASSED importintotest_test.TestImportInto/TestInputNull (2.1s) PASSED importintotest_test.TestImportInto/TestJobFailWhenDispatchSubtask (0.9s) PASSED importintotest_test.TestImportInto/TestKillBeforeFinish (1.9s) PASSED importintotest_test.TestImportInto/TestLoadSQLDump (1.7s) PASSED importintotest_test.TestImportInto/TestMaxWriteSpeed (11.6s) PASSED importintotest_test.TestImportInto/TestMultiValueIndex (1.2s) PASSED importintotest_test.TestImportInto/TestOtherCharset (5.9s) PASSED importintotest_test.TestImportInto/TestPreCheckCDCPiTRTasks (1.6s) PASSED importintotest_test.TestImportInto/TestPreCheckTableNotEmpty (0.3s) PASSED importintotest_test.TestImportInto/TestPreCheckTotalFileSize0 (0.3s) PASSED importintotest_test.TestImportInto/TestRegisterTask (5.7s) PASSED importintotest_test.TestImportInto/TestSameBehaviourDetachedOrNot (4.1s) PASSED importintotest_test.TestImportInto/TestShowDetachedJob (2.5s) 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] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] container [Pipeline] { [Pipeline] sh + bash scripts/plugins/report_job_result.sh SUCCESS result.json http://fileserver.pingcap.net --2025-04-04 13:03:38-- 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% 66.9M=0s 2025-04-04 13:03:38 (66.9 MB/s) - ‘agent_upload_verifyci_metadata.py’ saved [4181/4181] No junit report file parse result file result.json success upload data succesfully. [Pipeline] } [Pipeline] // container [Pipeline] archiveArtifacts Archiving artifacts Recording fingerprints [Pipeline] sh + echo done + curl -F ci_check/pingcap/tidb/ghpr_check2/3788203f0117c75b114b7d79571d10692a3291ea=@done http://fileserver.pingcap.net/upload % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 410 100 139 100 271 3232 6302 --:--:-- --:--:-- --:--:-- 9534 {"msg":"success","url":"http://fileserver.pingcap.net/download/ci_check/pingcap/tidb/ghpr_check2/3788203f0117c75b114b7d79571d10692a3291ea"} [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // container [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // podTemplate [Pipeline] End of Pipeline Finished: SUCCESS